text:
How to remember the player?

I would like to remember the player to be able to send commands from the external web server.
(i.e. run HTTP and WSS servers at the same time, pass commands from HTTP to WSS)
It looks like the following steps should be followed:

OnConnection - remember the player
once a command is received from the HTTP request, identify the player, read player's details, and execute player.Exec

The question is what to store. The whole Player structure? Do I need to remember the whole structure of the player once again when he/she connects the second/third/etc. time?

What you could do is just maintain a map[playerName]*Player which is updated when a player joins and quits, then for the HTTP requests, look the player up in the map by the name and if it exists, call player.Exec.

Thanks for so prompt reply. I am trying to do something similar.
Just to experiment I try to do it with one player first -
Firstly, I save Player data to JSON file at onConnection event -
file, _ := json.MarshalIndent(player, "", " ")
_ = ioutil.WriteFile("test.json", file, 0644)

Then, once the HTTP request is received, I try to read the data -
player := mcwss.Player{}
_ = json.Unmarshal([]byte(file), &player)
player.Say("hello")

and it fails here.
(sorry, I am first time playing with Go)

Unfortunately you can't encode the player itself as JSON, as the WebSocket connection will be lost. Are your HTTP server and the WebSocket server running in separate processes or are they in the same program?

It is the same program.

In that case you should be able to just have a package level var Players = map[playerName]*Player{} (probably including a sync.Mutex, or instead a sync.Map) to which you add players in OnConnection and remove from during disconnect. Then the HTTP server can, when a request is made, look a player up with a specific player name in that map (player, ok := Players["requestedName"]) and if it finds the player, do what it needs to do with it.

My program is hosted on repl.it - the server is not always running. Believe, it will lose everything stored to Players, once the server is stopped.

That is correct, but players connected to it will be disconnected if the server shuts down anyway.

You are right. Thanks.
Is it safe to use player.Name()?

Does it always exist? Even for players without Xbox live profile?
Is it always unique?
What will happen if the same user connects from two different devices?

The player name is unique for specific worlds, but not necessarily globally if the player is not logged in. The UserId I assume is also unique for players that are logged in (empty for non-logged in players), but I can't get access to that before a first event is fired.

Thanks. First event looks ok. How can I extract the UserId + WorldId probably. Hopefully, it will be unique then.

After the first event you should be able to just do id := (*Player).UserID to get that and other data present in the properties.go

Many thanks for your help!
After further experiments, I've learned that UserId doesn't exist when the user didn't log in to XBox live. The player name (in most cases - Steve) will not work also. I will look for some other unique identifier.

repo: Sandertv/mcwss


text:
🛑 Eris - eris.co.in is down

In b3699b8, Eris - eris.co.in (https://eris.co.in) was down:

HTTP code: 503
Response time: 750 ms

Resolved: Eris - eris.co.in is back up in 2cd5d91 after 21 hours, 18 minutes.

source: gharchive/issue

repo: Sandip-XDS/upptime

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 Eris - eris.co.in is down

In b3f5c93, Eris - eris.co.in (https://eris.co.in) was down:

HTTP code: 503
Response time: 922 ms

Resolved: Eris - eris.co.in is back up in f67c655 after 8 hours, 11 minutes.


text:
🛑 Eris - eris.co.in is down

In 15ee8bd, Eris - eris.co.in (https://eris.co.in) was down:

HTTP code: 503
Response time: 1094 ms

Resolved: Eris - eris.co.in is back up in 3ff8f29 after 1 day, 2 hours, 14 minutes.


text:
"Fork on GitHub" does not work

The "Fork on GitHub" button does not work.

Fixed.

repo: SandraShklyaeva/prism-theme-builder

license_source: bigquery


text:
Deploying the Application 🌎

Deploy the entire Web App to a Global Server so that everyone can access it via a Link/URL
You may use Heroku as a platform

when will you be assigning it ? @SanjayMarreddi

Hey, Glad to see your Interest in contributing to Project.
I am waiting for your comment on ISSUE :)
Because, In Github, We cant assign unless someone comments on the ISSUE !!
Comment atleast Assign Me in the other Issue also. I will assign that as well.

okay
@SanjayMarreddi  thank you :)

Can I also work on this issue?

Can I also work on this issue?

@kritikashah20 Sure. Assigned to you, You can start working. Good Luck !

@kritikashah20 Sure. Assigned to you, You can start working. Good Luck !


text:
added a custom scrollbar matching websites theme

Closes #73
Implemented a custom scrollbar matching website's theme

@Sanskriti1102  I am one of the program managers. This needs level1 not level2. can you please check once and update the level label

source: gharchive/pull-request


text:
Scroll to top button needed

Hello @Sar-taj107,
I want to add a small scroll to the top button on the bottom right side of the page. This will be useful for many users even if the list of questions becomes long.  Would love to contribute to this change towards Hacktoberfest. Kindly assign me as I will be doing the PR.

sure @Maaz-Code
thanks for showing your interest to contribute to this repo pls start contributing & also do share this repo with your friend to contribute in HF23


text:
Fix: #75 Added the Searching Visualizer

Issue Id you have worked upon -
#75
Briefly explain your program logic -
This program, built with React and Material UI, visualizes the linear search algorithm. Users input values to search, and it highlights each element in the list, changing colors based on the search. It displays "Value found" or "Value not found" and is designed for clarity.
Screenshots(Attach 2 screenshots of your own input and output) -
Attach here
https://github.com/SarthakKeshari/calc_for_everything/assets/123640350/528a3a3f-4835-4796-a036-eb066b1e07a9

By raising this PR I affirm that -

[x] My code follows the guidelines of this project.

[x] I have performed a self-review of my own code.

[x] I have commented my code.

[x] My code gives the correct output.

[x] I affirm that I strictly follow contributing guidelines and code of conduct.

Congratulations 🎉 @maskboyAvi on your contribution.

@maskboyAvi,
Awesome job 👏. Clean code 👨💻. Good presentation 💻. Adding admin-appreciation points for taking up admin-choice question as well as doing the job so well.
Happy Contributing!! 🎉

Hey 👋, may you also encourage us by clicking the star icon on the repository main page. ⭐

authors: SarthakKeshari maskboyAvi


text:
feat(ios and android): update app icon and launch image - FA-5

Description
Add app icon on iOS and Android:
iOS

Android

Add launch image on iOS and Android:
iOS

Android

Type of Change

[x] ✨ New feature (non-breaking change which adds functionality)

I don't know why it triggered the lint error. I tried many different titles but it's still not working.

repo: Satellite-im/Uplink


text:
Movement/Collision

Add the ability to move the character around the levels.
Add collision detection so you can't walk through walls.

KJ also, whenever you accept the invite to collaborate


text:
插入附件之csv

你好sayi，请问poi-tl可以插入csv附件吗？我尝试过修改AttachmentRenderPolicy的xml模板，和NiceXWPFDocument的新增一个csv类型的XWPFRelation，虽然成功导出了，但还是无法打开插入的文件。csv的ProgID为"Excel.SheetMacroEnabled.12"，SHAPE_TYPE_ID为"_x0000_t75"
下面是我新增的XWPFRelation ：
protected static XWPFRelation CSV;
static {
          try {
                Constructor<XWPFRelation> constructor = ReflectionUtils.findConstructor(XWPFRelation.class, String.class,
			String.class, String.class, POIXMLRelation.NoArgConstructor.class,
			POIXMLRelation.PackagePartConstructor.class);
		CSV = constructor.newInstance(new Object[] { "text/csv",  POIXMLDocument.PACK_OBJECT_REL_TYPE,
				"/word/embeddings/Microsoft_Excel_Macro-Enabled_Worksheet.xlsm",
				new POIXMLRelation.NoArgConstructor() {
					@Override
					public POIXMLDocumentPart init() {
						return new XWPFDocument();
					}
				}, new POIXMLRelation.PackagePartConstructor() {

				@Override
				public POIXMLDocumentPart init(PackagePart part) throws IOException, XmlException {
					return new XWPFDocument(part.getInputStream());
				}
			} });
	} catch (Exception e) {
		logger.warn("init releation error: {}", e.getMessage());
	}
}

AttachmentRenderPolicy的修改如下：
private static final String SHAPE_TYPE_XML = "<v:shapetype id=\"" + "_x0000_t75" + "\" coordsize=\"21600,21600\" o:spt=\"75\" o:preferrelative=\"t\" "
            + "                      path=\"m@4@5l@4@11@9@11@9@5xe\" filled=\"f\" stroked=\"f\">\n"
            + "                        <v:stroke joinstyle=\"miter\"/>\n"
            + "                        <v:formulas>\n"
            + "                            <v:f eqn=\"if lineDrawn pixelLineWidth 0\"/>\n"
            + "                            <v:f eqn=\"sum @0 1 0\"/>\n"
            + "                            <v:f eqn=\"sum 0 0 @1\"/>\n"
            + "                            <v:f eqn=\"prod @2 1 2\"/>\n"
            + "                            <v:f eqn=\"prod @3 21600 pixelWidth\"/>\n"
            + "                            <v:f eqn=\"prod @3 21600 pixelHeight\"/>\n"
            + "                            <v:f eqn=\"sum @0 0 1\"/>\n"
            + "                            <v:f eqn=\"prod @6 1 2\"/>\n"
            + "                            <v:f eqn=\"prod @7 21600 pixelWidth\"/>\n"
            + "                            <v:f eqn=\"sum @8 21600 0\"/>\n"
            + "                            <v:f eqn=\"prod @7 21600 pixelHeight\"/>\n"
            + "                            <v:f eqn=\"sum @10 21600 0\"/>\n"
            + "                        </v:formulas>\n"
            + "                        <v:path o:extrusionok=\"f\" gradientshapeok=\"t\" o:connecttype=\"rect\"/>\n"
            + "                        <o:lock v:ext=\"edit\" aspectratio=\"t\"/>\n"
            + "                    </v:shapetype>\n";

.....
    String wObjectXml = "<w:object xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\""
            + "             xmlns:v=\"urn:schemas-microsoft-com:vml\""
            + "             xmlns:o=\"urn:schemas-microsoft-com:office:office\""
            + "             xmlns:r=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\""
            + "             w:dxaOrig=\"1520\" w:dyaOrig=\"960\">\n" + shapeTypeXml
            + "                    <v:shape id=\"" + shapeId + "\" type=\"#"
                                        + SHAPE_TYPE_ID + "\" alt=\"\" style=\"width:" + widthPt + "pt;height:" + heightPt
                                        + "pt;mso-width-percent:0;mso-height-percent:0;mso-width-percent:0;mso-height-percent:0\" o:ole=\"\">\n"
            + "                        <v:imagedata r:id=\"" + "rId4" + "\" o:title=\"\"/>\n"
            + "                    </v:shape>\n"
            + "                    <o:OLEObject Type=\"Embed\" ProgID=\""+ "Excel.SheetMacroEnabled.12" + "\" ShapeID=\"" + shapeId
                                        + "\" DrawAspect=\"Icon\" ObjectID=\"_1699099791\" r:id=\""+ "rId5" + "\">\n"
            + "                     <o:FieldCodes>\\s</o:FieldCodes>\n"
            + "                    </o:OLEObject>"
            + "            </w:object>";

没有试过，话说csv怎么插入进去的，我在word中好像没找到这个功能。

csv不是Microsoft的文档，应该只能这样插入
插入-对象-由文件创建

应该是OLE对象吧

可以参照xlsx插入ole对象的方式插入
XSSFWorkbook.addOlePackage
@Override
public int addOlePackage(byte[] oleData, String label, String fileName, String command)
        throws IOException {
    final XSSFRelation rel = XSSFRelation.OLEEMBEDDINGS;
    // find an unused part name
    OPCPackage opc = getPackage();
    PackagePartName pnOLE;
    int oleId;
    try {
        oleId = opc.getUnusedPartIndex(rel.getDefaultFileName());
        pnOLE = PackagingURIHelper.createPartName(rel.getFileName(oleId));
    } catch (InvalidFormatException e) {
        throw new IOException("ole object name not recognized", e);
    }

    PackagePart pp = opc.createPart( pnOLE, rel.getContentType() );

    Ole10Native ole10 = new Ole10Native(label, fileName, command, oleData);

    try (UnsynchronizedByteArrayOutputStream bos = new UnsynchronizedByteArrayOutputStream(oleData.length+500)) {
        ole10.writeOut(bos);

        try (POIFSFileSystem poifs = new POIFSFileSystem()) {
            DirectoryNode root = poifs.getRoot();
            root.createDocument(Ole10Native.OLE10_NATIVE, bos.toInputStream());
            root.setStorageClsid(ClassIDPredefined.OLE_V1_PACKAGE.getClassID());

            // TODO: generate CombObj stream

            try (OutputStream os = pp.getOutputStream()) {
                poifs.writeFilesystem(os);
            }
        }
    }

    return oleId;
}`

没有试过，话说csv怎么插入进去的，我在word中好像没找到这个功能。

你好，为何word文档中插入xlsx附件，附件打开关闭图标变小了

#1024

repo: Sayi/poi-tl


text:
Update sbt to 1.10.1

About this PR
📦 Updates org.scala-sbt:sbt from 1.10.0 to 1.10.1
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-sbt", artifactId = "sbt" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #177.


text:
Unable to Add T17+ running Braiins

Version of the custom_component
Miner:
V1.1.0
Home Assistant
Core 2024.1.5
Supervisor 2023.12.1
Operating System 11.4
Frontend 20240104.0
Braiins:
Version: 2022-06-20-0-288861e4-22.05-plus
Describe the bug
After Upgrading to the latest version I am unable to add the Antminer T17+ running Braiins.
I was able to add an S9 and an S19 without issue.

Debug log

2024-01-25 11:06:03.297 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
    resp = await request_handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 543, in _handle
    resp = await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 114, in impl
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 227, in forwarded_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 233, in auth_middleware
    return await handler(request)
           ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 31, in headers_middleware
    response = await handler(request)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 149, in handle
    result = await handler(request, **request.match_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 63, in with_admin
    return await func(self, request, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 177, in post
    return await super().post(request, flow_id)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
    result = await method(view, request, data, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 320, in async_configure
    result = await self._async_handle_step(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 416, in _async_handle_step
    result: FlowResult = await getattr(flow, method)(user_input)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/miner/config_flow.py", line 150, in async_step_login
    return await self.async_step_title()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/miner/config_flow.py", line 154, in async_step_title
    title = await self._miner.get_hostname()
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pyasic/miners/base.py", line 288, in get_hostname
    return await self._get_hostname()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pyasic/miners/backends/braiins_os.py", line 766, in _get_hostname
    grpc_miner_details = await self.web.grpc.get_miner_details()
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pyasic/web/braiins_os/grpc.py", line 400, in get_miner_details
    return await self.send_command("get_miner_details", GetMinerDetailsRequest())
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pyasic/web/braiins_os/grpc.py", line 95, in send_command
    metadata.append(("authorization", await self.auth()))
                                      ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/pyasic/web/braiins_os/grpc.py", line 119, in auth
    await self._get_auth()
  File "/usr/local/lib/python3.11/site-packages/pyasic/web/braiins_os/grpc.py", line 131, in _get_auth
    await stream.send_message(req, end=True)
  File "/usr/local/lib/python3.11/site-packages/grpclib/client.py", line 241, in send_message
    await self.send_request()
  File "/usr/local/lib/python3.11/site-packages/grpclib/client.py", line 173, in send_request
    protocol = await self._channel.__connect__()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/grpclib/client.py", line 748, in __connect__
    self._protocol = await self._create_connection()
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/grpclib/client.py", line 725, in _create_connection
    _, protocol = await self._loop.create_connection(
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1085, in create_connection
    raise exceptions[0]
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1069, in create_connection
    sock = await self._connect_sock(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 973, in _connect_sock
    await self.sock_connect(sock, address)
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 628, in sock_connect
    return await fut
           ^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 668, in _sock_connect_cb
    raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('192.168.36.43', 50051)

You need to update the S17 to the most recent possible version for it to work properly.  pyasic is too lazy to track what versions have what features, or even check what version a miner is unless you ask for it, so it just assumes that S17s and S19s have both been updated enough to use gRPC.

I have this same error on a T17 that is on the latest braiins 2023-01
I cannot add it. It was working before updating home assistant and miner.

I have this same error on a T17 that is on the latest braiins 2023-01 I cannot add it. It was working before updating home assistant and miner.

Can you send logs from setup?

You need to update the S17 to the most recent possible version for it to work properly. pyasic is too lazy to track what versions have what features, or even check what version a miner is unless you ask for it, so it just assumes that S17s and S19s have both been updated enough to use gRPC.

Silly me, should have throught to check the version. Just assumed it kept itself upto date.
Now running Version: 2024-01-15-0-e8253ec1-23.12.1-plus works for me.

You need to update the S17 to the most recent possible version for it to work properly. pyasic is too lazy to track what versions have what features, or even check what version a miner is unless you ask for it, so it just assumes that S17s and S19s have both been updated enough to use gRPC.

Silly me, should have throught to check the version. Just assumed it kept itself upto date. Now running Version: 2024-01-15-0-e8253ec1-23.12.1-plus works for me.

Where did you find that version of braiins? Their latest for T17+ is 23.01

Try https://feeds.braiins-os.com

Try https://feeds.braiins-os.com

Braiins support say not to update T17 past 23.01

I ran the update via the braiins toolbox.
Interesting about the don't update past.

I've reached out to some people on support directly, he's asking the support group, we'll get an answer here shortly.  Not sure why they wouldn't want you to update, but if toolbox is letting you then I don't see an issue.

I've reached out to some people on support directly, he's asking the support group, we'll get an answer here shortly. Not sure why they wouldn't want you to update, but if toolbox is letting you then I don't see an issue.

Apparently anything past 23.01 on the x17 models the auto tune never finishes

Genius.  I'm going to do some complaining directly to the devs, maybe eventually this fix this.

Sweet, I must have just got lucky.

Thanks for the heads up though @Chris-S44

I can see the same issue on my HA instance. I could not solve it so removed haas-miner and added again , started fresh. Still the same situation. I cannot add miner.

Antminer S19J Pro NoPic
Braiins OS+	2024-01-15-0-e8253ec1-23.12.1-plus (latest version)

Home Assistant
Core 2024.1.5
Supervisor 2023.12.1
Operating System 11.4
hass-miner 1.1.1

Logger: aiohttp.server
Source: /usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py:421
Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request
resp = await request_handler(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_app.py", line 543, in _handle
resp = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/web_middlewares.py", line 114, in impl
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 85, in security_filter_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 100, in forwarded_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 80, in ban_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 233, in auth_middleware
return await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 31, in headers_middleware
response = await handler(request)
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 149, in handle
result = await handler(request, **request.match_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 63, in with_admin
return await func(self, request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 177, in post
return await super().post(request, flow_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 72, in wrapper
result = await method(view, request, data, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 320, in async_configure
result = await self._async_handle_step(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 416, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/miner/config_flow.py", line 150, in async_step_login
return await self.async_step_title()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/miner/config_flow.py", line 154, in async_step_title
title = await self._miner.get_hostname()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyasic/miners/base.py", line 288, in get_hostname
return await self._get_hostname()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyasic/miners/backends/braiins_os.py", line 766, in _get_hostname
grpc_miner_details = await self.web.grpc.get_miner_details()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyasic/web/braiins_os/grpc.py", line 400, in get_miner_details
return await self.send_command("get_miner_details", GetMinerDetailsRequest())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyasic/web/braiins_os/grpc.py", line 95, in send_command
metadata.append(("authorization", await self.auth()))
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pyasic/web/braiins_os/grpc.py", line 119, in auth
await self._get_auth()
File "/usr/local/lib/python3.11/site-packages/pyasic/web/braiins_os/grpc.py", line 132, in _get_auth
await stream.recv_initial_metadata()
File "/usr/local/lib/python3.11/site-packages/grpclib/client.py", line 393, in recv_initial_metadata
self._raise_for_grpc_status(status, message, details)
File "/usr/local/lib/python3.11/site-packages/grpclib/client.py", line 345, in _raise_for_grpc_status
raise GRPCError(status, message, details)
grpclib.exceptions.GRPCError: (<Status.UNAUTHENTICATED: 16>, 'Bad credentials', None)

This should really be a separate issue, what you're talking about is completely unrelated.  It's a credential issue with gRPC, vs not having gRPC at all on different miners.
Regarding the actual issue, try to default password?  I have no idea how the gRPC instance syncs passwords with the main API, so it's very possible it hasn't been changed.

Also on 23.01 for my S17s. Rolled back to 1.1.0-beta for the time being.

Looks like it's fixed in the latest version of pyasic to work with X17s on braiins 23.01
https://github.com/UpstreamData/pyasic/issues/104

authors: Chris-S44 UpstreamData b-rowan dcod3d monkeyjpg schwoi

repo: Schnitzel/hass-miner


text:
Img tag "alt" attribute bug

The img tag inside of [id].tsx has an alt attribute that currently displays '{id}' on the screen

fixed in #134

repo: SchoolyB/International-Data-Matrix

license: Unlicense


text:
[WIP] Enhancement and Fixes in GPU Tsit5

Hi,
Wrt the previous discussion on speed-up issues with DiffEqGPU API with the new GPU solvers, I set to bridge the performance gap (46 µs to 10.5 ms 😱) between raw GPU solutions and using the Ensemble DiffEqGPU API. A small commit fix improved the speed by ~ 2.4 ms. (The u0 and p hcat was only needed by previous solving techniques).
Pros: It is now faster than EnsembleGPUArray and EnsembleCPUArray.
Before:
julia> @benchmark sol = solve(monteprob, GPUTsit5(), EnsembleGPUAutonomous(), trajectories = 1000,
                              adaptive = false, dt = dt)

BenchmarkTools.Trial: 386 samples with 1 evaluation.
 Range (min … max):   8.805 ms … 40.638 ms  ┊ GC (min … max): 0.00% … 23.29%
 Time  (median):     10.538 ms              ┊ GC (median):    0.00%
 Time  (mean ± σ):   12.962 ms ±  5.690 ms  ┊ GC (mean ± σ):  8.49% ± 10.88%

  ▄▂▁▄█▄▂ ▁                                    ▁
  █████████▇▇▇▇▄▇▇▇▄▄▄▆▁▅▁▁▁▁▅▄▁▅▄▁▁▁▁▁▄▆▅▁▄▅▆▇██▅▅▆▁▁▄▁▁▄▅▁▅ ▆
  8.81 ms      Histogram: log(frequency) by time      30.3 ms <

 Memory estimate: 13.86 MiB, allocs estimate: 88075.

After:
julia> @benchmark sol = solve(monteprob, GPUTsit5(), EnsembleGPUAutonomous(), trajectories = 1000,
                              adaptive = false, dt = dt)
BenchmarkTools.Trial: 497 samples with 1 evaluation.
 Range (min … max):   7.095 ms … 74.585 ms  ┊ GC (min … max): 0.00% … 24.81%
 Time  (median):      8.108 ms              ┊ GC (median):    0.00%
 Time  (mean ± σ):   10.051 ms ±  7.866 ms  ┊ GC (mean ± σ):  8.66% ±  9.01%

  ▂█▅ ▁
  ███▄█▅▁▁▁▄▁▁▁▁▁▁▁▄▁▄▁▁▁▁▁▁▄▁▁▄▁▁▁▁▁▄▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▅▄▁▄▅▁▇▇ ▆
  7.09 ms      Histogram: log(frequency) by time      43.3 ms <

 Memory estimate: 5.88 MiB, allocs estimate: 76811.

With some profiling and tracking allocations (attached in the next comment), I was able to lower these issues:

[x] remove u0 and p build from EnsembleGPUAutonomous
[ ] Search for better alternatives for building u0 and p in EnsembleGPUArray
[ ] Check for @assert necessity
[ ] Transforming GPU us arrays to CPU arrays
[ ] Possibility of building Vector{ODESolution} with better speed and lower allocations

@ChrisRackauckas, have a look.

I am not able to upload `.mem` file here, I can share it on slack, maybe.

Do we need these assertion checks here?: https://github.com/SciML/DiffEqGPU.jl/blob/master/src/DiffEqGPU.jl#L311-L312

Why does that allocate? Is there a way using Fix2 to make it not allocate?

Made a fix with Fix2. It is now reduced to 2 allocations.
Some speed-ups as well:
Before:
julia> @benchmark sol = solve(monteprob, GPUTsit5(), EnsembleGPUAutonomous(), trajectories = 1000,
                              adaptive = false, dt = dt)
BenchmarkTools.Trial: 497 samples with 1 evaluation.
 Range (min … max):   7.095 ms … 74.585 ms  ┊ GC (min … max): 0.00% … 24.81%
 Time  (median):      8.108 ms              ┊ GC (median):    0.00%
 Time  (mean ± σ):   10.051 ms ±  7.866 ms  ┊ GC (mean ± σ):  8.66% ±  9.01%

  ▂█▅ ▁
  ███▄█▅▁▁▁▄▁▁▁▁▁▁▁▄▁▄▁▁▁▁▁▁▄▁▁▄▁▁▁▁▁▄▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▅▄▁▄▅▁▇▇ ▆
  7.09 ms      Histogram: log(frequency) by time      43.3 ms <

 Memory estimate: 5.88 MiB, allocs estimate: 76811.

After:
julia> @benchmark solve(monteprob, GPUTsit5(), EnsembleGPUAutonomous(), trajectories = 1000,
                   adaptive = false, dt = 0.1f0)
BenchmarkTools.Trial: 3789 samples with 1 evaluation.
 Range (min … max):  802.894 μs … 44.251 ms  ┊ GC (min … max):  0.00% … 61.15%
 Time  (median):     875.493 μs              ┊ GC (median):     0.00%
 Time  (mean ± σ):     1.311 ms ±  2.630 ms  ┊ GC (mean ± σ):  26.85% ± 14.05%

  █▄▂▁
  ████▅▄▃▁▁▁▁▁▁▁▁▁▁▁▁▃▁▁▁▁▃▁▁▁▁▃▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▄█▇▆▄▅▁▄ █
  803 μs        Histogram: log(frequency) by time      12.7 ms <

 Memory estimate: 3.86 MiB, allocs estimate: 34400.

We are now 43x faster than EnsembleGPUArray and 14x faster than EnsembleCPUArray .
Moreover, now the current implementation supports parameter parallelism across u0 as well instead of p.

And what's the overhead vs the most direct form, and the current reason for the overhead?

And what's the overhead vs. the most direct form, and the current reason for the overhead?

The major overhead is converting back to CPU Arrays, probs creation and finally building the solution.

Is it okay to merge?

Answer the remaining question.

Cross-posted from slack:

And what’s the overhead vs. the most direct form, and the current reason for the overhead?

The reason for this overhead  (converting to CPU Arrays) is to provide users to access something like sol[i].u[j] where i,j are some indexes. It would cause scalar indexing on ts,us  which are CUArrays.
I wanted to ask whether should we leave it user to convert to CPU Arrays? I missed that thing to discuss.
The probs  creation seems to be necessary, but maybe could be pulled out of DiffEqGPU? Currently, it was done to adhere to DiffEqGPU way of handling it.  This was not coming in the previous benchmarks because ps was being built separately and passed to the vectorized_solve .
And sorry for some sloppiness which may had caused any discomfort.

no

what does cu(probs) actually do? What dispatch is that hitting?


text:
Create yaktor examples

Prune & copy from SciSpikeDSLs/library_of_examples

This issue was moved to SciSpike/yaktor-issues#11

repo: SciSpike/yaktor


text:
Add lambert azimuthal equal area coord_system

Depends on https://github.com/SciTools/iris-test-data/pull/37 and https://github.com/SciTools/cartopy/pull/619

:+1: Now it just needs a new Cartopy release...

It probably also needs an entry to the what's new.

It probably also needs an entry to the what's new.

Yes, good point. :+1:

"

@bjlittle , this is the pull request I was talking about that is now needed.

Failing because of this:
ERROR: test_365_calendar (iris.tests.unit.fileformats.pp_rules.test_convert.TestLBTIM)
but I didn't touch that area of code :confused:

That failure was fixed in #2144, targeted at the v1.10.x branch. This change needs to make its way onto master, and then you can rebase onto that to get passing tests here (or we can trust that this feature doesn't cause the failure). There is another test failure too (an error actually), not sure what that one is caused by.

I am going to add a test for the coordinate units discussed in this comment (I'm hoping that's not a controversial change), and then rebase.

@bjlittle The tests are now passing and the static method is working correctly.

Hi @lbdreyer
i'm afraid something has occurred on master such that your branch now has conflicts
please rebase and fix so we can see a plausible change with test results
are you still waiting on a cartopy release for this to be able to work properly?
mark

@marqh
I have rebased and the tests are passing again.

are you still waiting on a cartopy release for this to be able to work properly?

No, the change that this required was in the Cartopy 0.14 release

@lbdreyer Great work! Thanks :+1:

authors: ajdawson bjlittle lbdreyer marqh rhattersley

repo: SciTools/iris


text:
Tidy wrapper imports and reinstate docs for iris.analysis.interpolate.

In response to : #1982 (comment)
It seems when we deprecated the iris.analysis.interpolate functions, we also stopped building docs for them, which is unhelpful + was really not intended.
Retry of #2270, now targetting v1.12.x

Wanted for 1.12 release
@marqh ping
Can you see the sense in this ?


text:
[Question] 保存帐号的时候，能不能只保存本帐号的登录信息，而不是所有账号的登录信息

Checklist

[X] I have already read docs/Tips.md, but my question is not solved.
[X] My question was not mentioned by others, and it is not a duplicate question.

Description
现在星铁国际服有记住登录信息的功能，但是上限只有3个
使用本软件保存帐号的时候，一般是这样操作：
登录第1个帐号，退出游戏，保存
登录第2个帐号，退出本软件，退出游戏，保存
登录第3个帐号，退出本软件，退出游戏，保存
这个时候，如果你用本软件切换第3个帐号，那么游戏里会同时出现3个账号的登录信息
切换到第2个账号，游戏里有2个账号的登录信息
切换到第1个帐号，游戏里就只有第1个账号的登录信息
能不能做到在保存账号的时候只保存当前账号的登录信息，而不是所有已登录帐号的登录信息
PS：那些说没登录信息的多半都是卡在登录界面转圈圈了，之所以转圈是因为网络问题，登超时转完圈你登录信息也就没了
Starward Version
0.12.2
Windows Version
22631.3958
Log
No response
Additional Context
No response

保存账号原理是保存了HKEY_CURRENT_USER\SOFTWARE\miHoYo\对应游戏下MIHOYOSDK_ADL_PROD_CN_h3123967166这一条目的值，当你登陆过多个账户时这个对应的值也会有多个
或许你可以尝试保存第二个账户之前先把第一个账户从游戏内删除

repo: Scighost/Starward


text:
[Feature] 将记录的游戏时间转换为以秒为单位，以方便与其他游戏管理器同步游玩记录

Checklist

[X] I have already read docs/Tips.md, but my feature is not implemented.
[X] My suggested feature was not mentioned by others, and it is not a duplicate feature.

Summary
诸如Playnite等多平台游戏管理器都使用了以秒作为单位的游戏时间记录，希望starward也能加入这项功能，以方便用户将它们进行同步。同时希望增加“上月”这一统计维度。
Solution or Design
用户点击具体时间时，软件将以秒表示的时间复制到剪贴板。
例如点击“本月”行的 20h 35m，软件将以秒表示的“74100”复制到剪贴板。

补充信息：Playnite软件的游戏时间记录编辑页面

谢谢你的建议，但是我不清楚你提到的其他游戏管理器是如何记录游戏时间的，所以可能不会实现此功能。


text:
[Bug] Bilibili服的客户端在选择官服是仍然显示

Checklist

[X] My issue was not mentioned by others, and it is not a duplicate issue.

Description

如图，我只安装了B服，但是官服这边显示可以启动游戏，而且右下角账号显示 0 并且登录后如图所示

还是B服的登录页面
Reproduction Steps
我不清楚，但是我可以明确以下几点

我之前一直使用官服模式进行游玩，UID 也一直是 0
我目前的客户端是B服的官服启动器安装的，包括 4.4 版本

Expected Behavior
他应该认为没有官服无法启动才对
顺带建议：

没有下载的版本如国际版，显示 安装游戏 的同时给予 转换客户端 的快捷方式
账号添加删除功能

Screenshots
在上面已经出现了
Starward Version
0.10.7 Preview.2
Windows Version
22621.2215
Log
Starward_240202_002133.log
Starward_240202_002551.log
Starward_240202_002719.log
Starward_240202_003055.log
Starward_240202_003429.log
Starward_240202_003609.log
Starward_240202_003900.log
Starward_240202_004746.log
Additional Context
No response
更新
发现使用卸载游戏可以修复次问题，但我认为在这个问题出现后，用户很难找到解决方案。
首先我从更新记录才发现如何卸载游戏，正常人可能都不敢点击去。。。

更新（这样子再发一条醒目一点）
发现使用卸载游戏可以修复次问题，但我认为在这个问题出现后，用户很难找到解决方案。
首先我从更新记录才发现如何卸载游戏，正常人可能都不敢点击去。。。

仅安装了B服，但是官服也存在

B服和官服的差别仅有极少数文件和配置文件，如果安装了官方启动器，Starward中的B服和官服都会定位到同一路径，并且无法区分。在任意服的页面中点击修复游戏可解决。

UID 是 0

曾经登录过多个账号，UID 全部记录在注册表中，但无法识别是哪一个，只能显示 0 。
可能是上述原因，我不玩B服，不能肯定。

或许是 Starward 根本就无法识别b服 UID，反正我之前一直是这么认为的。在这台电脑，我只玩过b服的号。
还有一个小建议
对于没有下载的版本如国际版，显示 安装游戏 的同时给予 转换客户端 的快捷方式

感谢

authors: CNChestnut Scighost


text:
[Bug]: Can’t update qBittorrent from 4.4.5 to 4.5.x or reinstall

Prerequisites

[X] I have written a descriptive issue title.
[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name
qbittorrent
Expected/Current Behaviour
I should be able to upgrade qBittorrent from 4.4.5 to 4.5.x, or, failing that, remove the current version and install 4.5.x. Instead, whether I try to update it or first remove then reinstall it, I get an error about uninst.exe (see below). The same thing happens with qbittorrent@4.5.0. I’m also unable to reinstall v4.4.5 because I get hash failures over and over again; there’s a message saying SourceForge.net can cause this, but I’ve tried 10 times now without a successful download.
Steps to Reproduce
❯❯ scoop install qbittorrent
Installing 'qbittorrent' (4.5.1) [64bit] from extras bucket
Loading qbittorrent_4.5.1_x64_setup.exe from cache.
Checking hash of qbittorrent_4.5.1_x64_setup.exe ... ok.
Extracting dl.7z ... done.
Running pre_install script...
Remove-Item: Cannot find path 'C:\App\Scoop\apps\qbittorrent\4.5.1\translations\uninst.exe' because it does not exist.

❯❯ touch C:\App\Scoop\apps\qbittorrent\4.5.1\translations\uninst.exe
❯❯ scoop install qbittorrent
WARN  Purging previous failed installation of qbittorrent.
ERROR 'qbittorrent' isn't installed correctly.
Removing older version (4.5.1).
'qbittorrent' was uninstalled.
Installing 'qbittorrent' (4.5.1) [64bit] from extras bucket
Loading qbittorrent_4.5.1_x64_setup.exe from cache.
Checking hash of qbittorrent_4.5.1_x64_setup.exe ... ok.
Extracting dl.7z ... done.
Running pre_install script...
Remove-Item: Cannot find path 'C:\App\Scoop\apps\qbittorrent\4.5.1\translations\uninst.exe' because it does not exist.

 ✗ scoop install qbittorrent@4.4.5
WARN  Given version (4.4.5) does not match manifest (4.5.1)
WARN  Attempting to generate manifest for 'qbittorrent' (4.4.5)
Autoupdating qbittorrent
Searching hash for qbittorrent_4.4.5_x64_setup.exe in https://www.qbittorrent.org/download.php
Found: c196a5a9bedb926fde629a7075cbf9a0b7d36f54088d8a699dd541a4f4af5a13 using Extract Mode
Writing updated qbittorrent manifest
WARN  Purging previous failed installation of qbittorrent.
ERROR 'qbittorrent' isn't installed correctly.
Removing older version (4.4.5).
'qbittorrent' was uninstalled.
Installing 'qbittorrent' (4.4.5) [64bit]
Starting download with aria2 ...
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 6a7951|OK  |   528KiB/s|C:/App/Scoop/cache/qbittorrent#4.4.5#https_downloads.sourceforge.net_project_qbittorrent_qbittorrent-win32_qbittorrent-4.4.5_qbittorrent_4.4.5_x64_setup.exe_dl.7z
Download: Status Legend:
Download: (OK):download completed.
Checking hash of qbittorrent_4.4.5_x64_setup.exe ... ERROR Hash check failed!
App:         qbittorrent
URL:         https://downloads.sourceforge.net/project/qbittorrent/qbittorrent-win32/qbittorrent-4.4.5/qbittorrent_4.4.5_x64_setup.exe#/dl.7z
First bytes: 4D 5A 90 00 03 00 00 00
Expected:    c196a5a9bedb926fde629a7075cbf9a0b7d36f54088d8a699dd541a4f4af5a13
Actual:      efb0298fae1578033a334ba3adbe0e93ea15239d623a26ce11f230eb0af8654a
SourceForge.net is known for causing hash validation fails. Please try again before opening a ticket.

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/ScoopInstaller/Extras/issues/new?title=qbittorrent%404.5.1%3a+hash+check+failed

Possible Solution
I’m guessing this is related to #10118, but I don’t know what the solution is. I wouldn’t have expected Remove-Item -Force to fail when the file doesn’t exist.
Scoop and Buckets Version
✗ scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
79ae27c7a (HEAD -> master, origin/master, origin/HEAD) chatty: Update to version 0.23

'java' bucket:
5b107346 (HEAD -> master, origin/master, origin/HEAD) temurin17-nightly-jre: Update to version 17.0.7-2.0.202302162345

'main' bucket:
7e382b53a (HEAD -> master, origin/master, origin/HEAD) zeebe: Update to version 8.1.8

'misc' bucket:
075b9a6 (HEAD -> master, origin/master, origin/HEAD) golang: Update to version 1.20.1

'nerd-fonts' bucket:
c4b11ac (HEAD -> master, origin/master, origin/HEAD) SarasaGothic: Update to version 0.40.1

'nonportable' bucket:
a824938 (HEAD -> master, origin/master, origin/HEAD) nodejs-np: Update to version 19.6.1

'smallstep' bucket:
33f61dd (HEAD -> master, origin/master, origin/HEAD) Scoop update for step version v0.23.2

'versions' bucket:
932cdb2bf (HEAD -> master, origin/master, origin/HEAD) sharex-dev: Update to version 15.0.0.78

Scoop Config
❯❯ scoop config

aria2-warning-enabled last_update           scoop_branch scoop_repo
--------------------- -----------           ------------ ----------
                False 2023-02-17 3:39:57 PM master       https://github.com/lukesampson/scoop

PowerShell Version
❯❯ $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.2
PSEdition                      Core
GitCommitId                    7.3.2
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares
No response

You are right, the app uninstaller has been moved back to root folder.

authors: Aankhen AkariiinMKII

repo: ScoopInstaller/Extras


text:
umbrello: Update homepage

Closes #XXXX

Relates to #XXXX

[X] I have read the Contributing Guide.

/verify


text:
czkawka-gui: Update to version 6.1.0

Updated manifest to reflect for change in upstream url.

[X] I have read the Contributing Guide.

/verify

/verify

bump

authors: naciacia sMtzDczDq


text:
mumble: Update to version 1.4.230, Add mumble-server

closes #7971
NOTES:

persist is not needed for client because config is at $Env:AppData\Mumble.

Both support CLI args?

Both support CLI args?

Yes.
Some examples: (1) (2)


text:
🛑 Clavus Website (C2) is down

In 6fb5695, Clavus Website (C2) ($CLIENT2) was down:

HTTP code: 500
Response time: 1092 ms

Resolved: Clavus Website (C2) is back up in e5c1424.

repo: Scriptor-Group/status


text:
No admob prefab on unity package?

Cant find any admob script, prefab or anything about admob on unity package?

Same here, no AdMob stuff in the package. Any news on this?

They seem to be missing for me too, any news?

authors: benuto ds10 selimkaltakkiran

license: mit


text:
规避封号失败了

今天被封号了。。。。。。作者继续努力。

我也被封号了，不知道啥时候可以解封，作者大大加油啊~

一般的话一天就会解封，应该不会超过三天，要是还不解封就去找客服吧

封了我三天。。。差点以为永久封禁。。。

现在抽奖只有辣条了、

今天被封号了  蓝瘦  留个名QAQ

封个一天半天的还好接受，现在一封就是3天。。。。

小号被封号了，目前先别用抽奖了。
我现在有个新思路(笨办法)，就是检测到抽奖后，在当前页面下创建个iframe(每有一个能抽奖的直播间就创建个)，挂在抽奖的直播间。iframe里面加载子脚本，这个子脚本只负责那个直播间的抽奖，抽奖结束后，子脚本通知父脚本删除对应的iframe。
这样不确定能不能防止封号，而且也不需要短号直播间代理抽奖了，但是估计占用的系统资源会增加不少。
还有就是没时间(高考)，有人会的话可以实现一下(可以参考我怎样实现的代理抽奖)，然后发PR。

这么多天终于（？）翻车了 嘤嘤嘤

小号被封都快5天了。。。

刚刚解封。。

喷了 大佬还要高考

@SeaLoong 我写的脚本就是类似的机制，我降低了参与概率，目前用了两天，还没被封。

@yxtj 老哥你现在写的脚本情况如何，比较顺利的话能否共享一下？

@a0010028 抱歉啊朋友，为了安全，我的脚本是自用的，希望你能够理解。
不过我可以提供一个非常有效而且容易实现的思路，你可以用window.open打开一个新窗口，再模拟点击然后用window.close关闭它。你需要修改这个脚本里的2个地方，一个是更改发现新抽奖之后怎么做，另一个是添加检测新页面正在进行的抽奖发现后领取关页面。如果你能够在这套脚本里定位到第一个地方，相信其他的对你都不是难事。希望对你有帮助。

@yxtj 是我考虑不周...无意冒犯了，毕竟我还是知道信息安全的重要性
虽然我对代码只是懂一点毛皮，但大大提供的思路我会尝试一下的~

@a0010028 没有没有。是我通过猜测和分析b站直播间的工作流程，用了一些明显的技巧，为了防止b站反制，或者延缓他们反制的进度，我不想把它拿出来。不过这个思路应该没有问题。

@yxtj 我建议你把思路删了...破站要是搞个弹窗检测就烦了...
我从出小黑屋之后也降低了参与概率...
之前24hr全部参与是真的有点作死了...

@lolicon0930 谢大佬提醒

repo: SeaLoong/Bilibili-LRHH


text:
Add "drink water" message

A comrade has asked that we add a process for the bot which sends out a daily reminder around 2pm PST to drink water. This is a lovely suggestion and certainly feasible - for us this will necessitate a new _CONTACT environment variable, since our general channel is different from the scanner one.

I have this as a "posture and water check" reminder on slack every day :)

I have this as a "posture and water check" reminder on slack every day :)

I have this as a "posture and water check" reminder on slack every day :)

I have to say it's not a reminder I need because I drink water like crazy during the day but it seemed like a useful suggestion!

I have this as a "posture and water check" reminder on slack every day :)

I have to say it's not a reminder I need because I drink water like crazy during the day but it seemed like a useful suggestion!

authors: AetherUnbound JacksonMaxfield

repo: SeattleDSA/signal-scanner-bot


text:
random_test crashes clang 12

related https://github.com/Sebanisu/ToolsLibrary/issues/6, https://github.com/Sebanisu/ToolsLibrary/pull/5.
https://ci.appveyor.com/project/Sebanisu/toolslibrary/builds/38325435
I think I need to report this to the clang devs.

https://bugs.llvm.org/show_bug.cgi?id=49719

repo: Sebanisu/ToolsLibrary


text:
map 2D/3D

Is it possible to prevent switch between 2D/3D maps ?
I do not see a map.setTilt(0) method, and has not found any other ways of handling this.

https://github.com/SebastianM/angular-google-maps/issues/1581

authors: IsaacSomething Jimlars

repo: SebastianM/angular-google-maps


text:
Use forgerock platform java 17 docker image

Currently for our java micro-services (such as rs) we are building using a base image of: adoptopenjdk/openjdk14:jre-14.0.2_12
The SBAT IG is built on top of the IG docker image which uses a base image of gcr.io/forgerock-io/java-11:latest, this image is maintained by the platform team. A java-17 version is also available,
This base image is smaller than the image we currently use by ~150mb and contains additional java tools useful for diagnostics (such as jcmd and async-profiler).
The Dockerfile can be found here: https://stash.forgerock.org/projects/CLOUD/repos/platform-images/browse/docker/java-17/Dockerfile
Update our Dockerfiles to use the following base image:
gcr.io/forgerock-io/java-17:latest

This base image is only for running apps, not building them; as it doesn't include javac.
Therefore we cannot use the image for the functional-tests as we need to compile the kotlin when producing the docker image.
All of the microservices deployed to k8s can be upgraded.

Updated rs, rcs and config services to use this image.


text:
fix: avoid execption by calling parent class's constructor #434

Please verify this change will not have any unintended consequences.
My proposed change seems safe, but I can't be sure that this wasn't omitted intentionally and calling the parent's constructor won't have some unintended consequences.
Closes https://github.com/SeedSigner/seedsigner/issues/434

Tested ACK.
The sanity check that's triggering this error was just recently added and this is, indeed, the correct fix!
If we were to over omit something like that on purpose, we'd generally leave a comment in the code pointing it out and explaining why.

Found another. Can you update with the same fix for:
seed_views.SeedWordsBackupTestSuccessView

Applied same fix to SeedWordsBackupTestSuccessView and force pushed. Should be good to go now.

Also a PR tip: I don't think the explanation of the fix needs to be in the title, but a title that establishes the context better would be preferred.
Something like: "[bugfix] SeedWordsBackupTestPromptView init error"
And then in the description I tend to err on the side of overexplaining rather than relying on the Issue link to describe the problem. In fact, I'd maybe write it as:

Problem:
SeedWordsBackupTestPromptView.__init__() raises an Exception because it doesn't call its parent's super().__init__().

Closes #434

Solution:
(obv in this case)

@hax0rbana-adam I'm not seeing the update to SeedWordsBackupTestSuccessView

I messed up the first attempt at force pushing, but this time I got it right.
Thanks for the tips for the MR title & body. Is that the style that you'd like to see in the commit messages as well (same as the MR title)?

We're not terribly rigorous about commit cleanliness, so I don't have any guidance there.

Tested d7cf0c5 ACK.

Thank you! ACK and tested.

authors: hax0rbana-adam kdmukai newtonick

repo: SeedSigner/seedsigner


text:
fixes and menu workflow adjustments

add prompt for optional passphrase when entering seed for xpub and sign transaction
add Loading xPub Info beforing displaying xPub info and moving QR gen after
fix for double click after scan seed qr
changed Generate XPUB to Generate xPub (hard to tell for the generic abbreviation is for extended public key)
fixed draw menu bug when showing same menu twice
added force redraw option to draw_menu function
Updated passphrase exit/save button to be Exit (not sure about this) need help on wording and workflow
Updated Scan Seed QR scanning screen to match other screens (moved left to cancel to bottom)
fixed scan seed qr bug that returned object reference to seed words, causing invalid or empty seed words occationally

updated the menu workflow, not 100% there but much closer. I also made passphrase prompt to add/change/remove a passphrase.

Lots of relevant improvements here, good stuff.

authors: SeedSigner newtonick


text:
Creating youtubes after the fact

I have a project where I'm creating youtubes after the page loads and for some reason I'm encountering a bug where the youtube video refuses to load again after it's already been loaded once on the page.
I can't replicate it via JSFiddle, but I did find a fix for myself.  When I change https://github.com/Selz/plyr/blob/master/src/js/plyr.js#L1608 to plyr.embed = new window.YT.Player(container, { then the problem goes away.  Other examples that I see online uses the container and not the container.id.
I guess I'm wondering if the code on that line is correct or should you be referencing the full container object?

I'll take a look - thanks for letting me know

Howdy! Just coming by to confirm that I'm hitting the same issue too whenever I dynamically create & destroy youtube videos. Trying to integrate Plyr with a custom modal I'm building for a site.
The video is dynamically created when a modal is opened and then destroyed when it is closed.
I've put together a reduced test of the issue. This is roughly how I'm going about creating & destroying. I've tested with Vimeo videos and this isn't an issue.
http://codepen.io/joshuapease/pen/qaYdLR
Notice the console error after you've toggled the video twice. Seems to be coming from youtube's JS.

PS. This is "by far" the best JS video player I've used, so great.

Thanks Josh. I'll try and fix this issue as soon as I get some time (possibly today/tomorrow).

Hey @SamPotts & @MHenley! I think I may have figured out what my issue was.
I was calling plyr.setup() before I'd actually appended the DOM element to the body. So while the element did exist, it wasn't part of the actual document tree.
Must be that Youtube and/or Plyr don't like that. I did notice that Plyr controls weren't showing up on the old demo.
Here's a new codepen that seems to show everything working. Simply involved swapping the order of a single line of code.
http://codepen.io/joshuapease/pen/LRALqQ

Hey @joshuapease,
Thanks for reporting back. So is there still a bug that needs fixing or are we good?

Yeah! Seems to be working well for me.
Although I'm curious if the route I took is a good way to dynamically
create Plyr instances. Is there a better way to do that programmatically?
On Sat, Oct 22, 2016 at 6:35 PM, Sam Potts notifications@github.com wrote:

Hey @joshuapease https://github.com/joshuapease,
Thanks for reporting back. So is there still a bug that needs fixing or
are we good?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Selz/plyr/issues/377#issuecomment-255564233, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACC-zoIiOQCacMy8K9MA9fhTY8ORzB17ks5q2rnGgaJpZM4KG4JL
.

authors: MHenley SamPotts joshuapease

repo: Selz/plyr


text:
[Dimmer] - Add gradient dimmers

I just tought that having a partial dimmable elements would be really nice to presents content to user.
The idea is to provide some behiavior attributes in dimmable module to allow dirrection (or side on which we start to dimm) and dimensions (percentage and/or width if possible).
We could for exemple have an image with a 1/5 dimmer from bottom and add some text on this dimmer.
Is it possible?

Partially Dimmers are available since Fomantic-UI 2.6.4 using top dimmer, center dimmer or bottom dimmer
https://fomantic-ui.com/modules/dimmer.html#partially-dimmer

authors: cazzoo lubber-de

repo: Semantic-Org/Semantic-UI


text:
Call for Active Board Maintainers

I'm looking for individuals who would like to help manage the GitHub issues board.
This would include

Explaining the necessary components for a bug report to be considered (isolated test case, reproducible steps, as outlined in the contributing guide)
Labeling and categorizing issues
Removing stale threads
Helping keep me alerted to confirmed and urgent bugs that need patching

It's very enjoyable to build and distribute open source code, but it becomes difficult to keep up with the torrent of questions related to the project. I'm currently sitting at around 700 unread GitHub notifications which is just too much for one person to reasonably handle.
If you'd be interested in helping, and have some familiarity with the project, please feel free to reach out. jack@semantic-ui.com, or in this thread.
As a side note, I wanted to mention that I will be speaking at Stanford's ACM meetup this Wednesday for any students who happen to be around.

May I can help. I'm active at gitter and familiar with semantic-ui. BTW, a little suggestion, can you add an integration with VUE.js?

I'm new around here (been using Semantic UI for a week) but I am pretty interested in your project.
Your issue board actually looks *overwhelming for a lone solver (or even a couple people); and that makes me feel a lot of respect about your labor.
I can't (and won't) do any PR because I'm still not confident about my knowledge of your arquitecture; I'm still learning where all the ropes are (and trying not to hang myself with them), but wherever I can I will try to help solving (or at least, diagnosing) issues whenever I see something I feel it is within my knowledge (and hopefully, I will do more good that harm :sweat_smile: )

Do you have interest in creating components for official VueJS?
I would be willing to contribute to this migration.

@xDaizu Anyone can ask questioners to follow the points outlined in the Contribution.md.
No coding styles needed. And labelling issues helps alot when glancing for specific bug.
Say, you're dealing with a certrain component, than it's prudent to look for other issues around the same component (-> efficiency).
Kudos to jack!

authors: Ryuno-Ki jlukic ronaldo-systemar vinicius73 xDaizu


text:
JS: add taint step through object/array spread operators

Evaluation underway.
Intentionally does not deal with spread operators in argument lists.
Fixes https://jira.semmle.com/browse/ODASA-7670

Evaluation looks good.

repo: Semmle/ql


text:
spatiotemporal behavior detection

Hello, thank you for your work. I would like to ask you how to apply this work to the AVA dataset and do spatiotemporal behavior detection.

good Thank you for your recommendation, but I'm afraid I don't have enough GPUs to run video MAE.

Yes. My suggestion is that you can copy the UniFormer model to run it. Just like how to use MMDetection/MMsegmentation...

Oh, you mean let me pre-train the model in your work or VideoMAE, and then fine-tune my own model in the AlphAction library.

Yes. The above repo is based on AlphAction and you can reuse their hyperparameters for transformer-based models. If you want to use UniFormer or other efficient backbones, you can transfer your model code to that repo like here (you may need to add ROIPooling).

Thank you for your patience. But I still have questions for you https://github.com/MCG-NJU/VideoMAE-Action-Detection , although AlphAction is used, the pre-training models provided are based on ViT, and SlowFast is not used as the backbone network, so:

The function of AlphAction is just to detect the head, right? All models need to be based on ViT.

VideoMAE-Action-Detection/modeling_ Finetune.py, if I use other backbones, how can I conduct MAE training.

The repo is used for training an Action Detection model based on Kinetics-pretrained models.
Your original problem is how to apply UniFormer to the AVA dataset. In my opinion, you can reuse their repo, and add UniFormer model. Why do you want to conduct MAE training?

Well, because I want to apply it to my own tasks, I need to customize data sets similar to AVA format, so labeling is troublesome. I can't label data sets as large as AVA. I want to see if self-supervised learning can help. So, as you said, I can train the parameters of the backbone network based on the Kinetics data set and migrate to the downstream tasks. But MAE is based on ViT as the backbone network, and your work is also a good backbone network, So I asked you if AlphAction only plays the role of using motion detection to evaluate the MAE model, like the classifier of image segmentation network, or as you said, using the UniFormer model, and then reuse AlphAction repo.

Q: "So I asked you if AlphAction only plays the role of using motion detection to evaluate the MAE model."
A: AlphAction is a general codebase for training action detection models. It's not only used for the MAE model. You can use other models as backbones.

Ok, thank you for your patience. I see

repo: Sense-X/UniFormer


text:
NOX index stuck on 1

Hi,
I can communicate with the SGP41, get raw results (also with valid CRC) VOC like 27000-30000 raw and NOX 16000-17000 raw).
When I process them with GasIndexAlgorithm_process() I get nice VOC indexes which also alter with ventilation. I live next to a busy point in a middle sized city and the NOX index starts at 0, but always stays at 1. With a 24hr check, it is never changed.
How can we verify the algoritm?  (like with VOC i sometimes spray some ethanol in the room to check the VOC)
I made two structs:
GasIndexAlgorithmParams VocPar;
GasIndexAlgorithmParams NoxPar;
They are initialised with:
GasIndexAlgorithm_init(&VocPar, GasIndexAlgorithm_ALGORITHM_TYPE_VOC);
GasIndexAlgorithm_init(&NoxPar, GasIndexAlgorithm_ALGORITHM_TYPE_NOX);
And processed:
GasIndexAlgorithm_process(&VocPar, (int)rawticks, &VOCI);
and
GasIndexAlgorithm_process(&NoxPar, (int)rawticks, &NOXI); (in another function)
The raw value of NOX changes, isn't fixed at one specific number.
LIBRARY_VERSION_NAME "3.1.0"

The NOx and VOC algorithms both require some stable environment for initialization. An NOx value of 1 is the default average index.
There are parameters to configure the behavior. So if you don't have enough NOx in your environment to trigger an event recognized by the algorithm, it's best to play with the parameters.
Please check out the technical description for the SVM41 eval kit to get more information about the parameters, or check the interface description of the set_tuning_parameters interface.

https://github.com/Sensirion/gas-index-algorithm/blob/cae2ae2139d0e4b1877040b748c5c3dec50f5356/sensirion_gas_index_algorithm/sensirion_gas_index_algorithm.h#L251
https://sensirion.com/media/documents/FBD0A26B/61EA8BFA/Sensirion_Gas_Sensors_SEK-SVM4x_Technical_Description.pdf

Ok i will do, although it feels like the value of measuring is too much changeable between devices.
Looking at the parameters, guess only index offset and gain factor are most interesting. Running now a test with first a higher gain.
Wonder why it is that NOx starts at 1 and VOC at 100.
Gr and thx for the reply, Remy
NB: highest now was 2 instead of 1, since i wrote the message ;)

Set parameters to customize the gas index algorithm. Call this once after
GasIndexAlgorithm_init() and before optional GasIndexAlgorithm_set_states(),
if desired. Otherwise, the default values will be used.

@param params                      Pointer to the GasIndexAlgorithmParams

                               struct

@param index_offset                Gas index representing typical (average)

                               conditions. Range 1..250,

                               default 100 for VOC and 1 for NOx

@param learning_time_offset_hours  Time constant of long-term estimator for

                               offset. Past events will be forgotten

                               after about twice the learning time.

                               Range 1..1000 [hours], default 12 [hours]

@param learning_time_gain_hours    Time constant of long-term estimator for

                               gain. Past events will be forgotten

                               after about twice the learning time.

                               Range 1..1000 [hours], default 12 [hours]

                               NOTE: This value is not relevant for NOx

                               algorithm type

@param gating_max_duration_minutes Maximum duration of gating (freeze of

                               estimator during high gas index signal).

                               0 (no gating) or range 1..3000 [minutes],

                               default 180 [minutes] for VOC and

                               720 [minutes] for NOx

@param std_initial                 Initial estimate for standard deviation.

                               Lower value boosts events during initial

                               learning period, but may result in larger

                               device-to-device variations.

                               Range 10..5000, default 50

                               NOTE: This value is not relevant for NOx

                               algorithm type

@param gain_factor                 Factor used to scale applied gain value

                               when calculating gas index. Range 1..1000,

                               default 230

*/

Hi,
You can increase the gain factor to detect smaller events easier.
The index for VOC is at 100 because there are VOCs present in most indoor environment. NOx are usually no present or only in really small amount and have negative health impact if exposed to it over longer periods. Therefore small index of 1 is more accurate to describe it.
It is also expected that you don't have a high NOx index at most places and only see events that create NOx

authors: psachs remyhx

repo: Sensirion/gas-index-algorithm


text:
Saving training files

Getting error:
FileNotFoundError: [Errno 2] No such file or directory:

File "\Python\Python35\lib\site-packages\numpy\lib\npyio.py", line 492, in save
    fid = open(file, "wb")

When attempting to save to >training_data-2 or 3 etc.
should it not be creating the files?

I was being super dumb and had left the file name as /filename rather than just the filename.


text:
Option to disable click-drag for polygon and polyline modes

Add a configuration option that can disable click-and-drag functionality for polyline and/or polygons modes. Could be a single bool flag for both, separate flags, or configurable in the actual class definition.

realized this duplicates #207

repo: SenteraLLC/ulabel


text:
🛑 Unejutumaa is down

In 0cd4d75, Unejutumaa (https://unejutumaa.ee) was down:

HTTP code: 403
Response time: 672 ms

Resolved: Unejutumaa is back up in a649d5a after 21 minutes.

repo: SeoWeb/upptime


text:
🛑 MedicoVet is down

In 01ee0ab, MedicoVet (https://medicovet.eu) was down:

HTTP code: 429
Response time: 422 ms

Resolved: MedicoVet is back up in e78ad9c after 6 minutes.


text:
🛑 MedicoVet is down

In 40be560, MedicoVet (https://medicovet.eu) was down:

HTTP code: 429
Response time: 386 ms

Resolved: MedicoVet is back up in 4589d35 after 6 minutes.


text:
Update deps!

Hiya! Randomly stumbled upon this when I needed a mock-fetch module for work and this looks awesome! Thanks for the credit btw, was kinda shook when I read the README and all of the sudden my name and project pops up in the credits 😄. But yeah, like the title says it would be nice if you would update router to version 0.0.12.

Hey @eliassjogreen! Sorry I didn't see this sooner - will get this updated tonight.

kinda shook when I read the README and all of the sudden my name and project pops up in the credits

That would be pretty weird 😄 but again, thank you for your work on the router module! It's a super useful utility.
Interesting (?) anecdote: This library came about because I was in the same position as you, looking for a library that did this, and didn't find anything that looked like what I wanted. I remembered your post in the Deno discord #showcase channel about router (at the time it was at 0.0.3 I think) and realised that it was a perfect fit for this.

Do you have a GitHub repo for the router @eliassjogreen ?
And yeah, please update the deps @SeparateRecords  :)

Do you have a GitHub repo for the router @eliassjogreen ?
And yeah, please update the deps @SeparateRecords :)

No it's only on crux currently but some day it might appear on gh.

authors: SeparateRecords eliassjogreen timonson


text:
OmitPropertiesSection in appsettings is ignored

The call from the config looks like this:
MicrosoftTeamsSinkOptions microsoftTeamsSinkOptions = new MicrosoftTeamsSinkOptions(webHookUri, title, batchSizeLimit, period, formatProvider, LogEventLevel.Verbose, false, proxy);
OmitPropertiesSection is always set to false when reading the config.

I guess, this happens because the LoggerConfigurationMicrosoftTeamsExtensions class doesn't have a proper constructor that sets all properties yet?
https://github.com/SeppPenner/Serilog.Sinks.MicrosoftTeams/blob/71cd436876b9bd3cc1d7c7ab6fe781a563fbf323/src/Serilog.Sinks.MicrosoftTeams/LoggerConfigurationMicrosoftTeamsExtensions.cs#L54
If I change this line to:
var microsoftTeamsSinkOptions = new MicrosoftTeamsSinkOptions(webHookUri, title, batchSizeLimit, period, formatProvider, restrictedToMinimumLevel, omitPropertiesSection, proxy);

it should work, I would say.

Should be fixed with https://github.com/SeppPenner/Serilog.Sinks.MicrosoftTeams/commit/a21e47ee8f0c08993a7161f7d76f0198dc9f147a. A new nuget version will be available soon.

authors: SeppPenner martinAusBerlin


text:
Loop log fixes

Correct logic bug where the interval setting would be reset to 0 rather than the interval count.
Add short option form -l to getopt (handling already exists)
Documentation should show -- for log options form.

Thanks for the fixes

repo: SequentMicrosystems/SmartFan-rpi


text:
端云联调本地断点流程无法走通

Describe the bug
使用 serverless devs 进行端云联调，配置vscode 断点始终启动不起来，在启动阶段被异常终止。
Screenshots

Desktop (please complete the following information):

OS: macOS Monterey
Version: 12.2.1

Additional context
使用了serverless devs 初始化模板：start-fc-http-nodejs14

端云联调已经支持了nodejs14， 代码昨天才能合并， 预计清明节后会正式发布， dev 版本可以试用
rm -rf ~/.s/components/devsapp.cn/devsapp/fc-local-invoke@dev
rm -rf ~/.s/components/devsapp.cn/devsapp/fc-proxied-invoke@dev
export core_load_serverless_devs_component='devsapp/fc-proxied-invoke@dev;devsapp/fc-local-invoke@dev'

可以先执行三个命令， 使用本地调试和端云联调的 dev 版本， 这个是支持 nodejs14 的

端云联调已经支持了nodejs14， 代码昨天才能合并， 预计清明节后会正式发布， dev 版本可以试用
rm -rf ~/.s/components/devsapp.cn/devsapp/fc-local-invoke@dev
rm -rf ~/.s/components/devsapp.cn/devsapp/fc-proxied-invoke@dev
export core_load_serverless_devs_component='devsapp/fc-proxied-invoke@dev;devsapp/fc-local-invoke@dev'

可以先执行三个命令， 使用本地调试和端云联调的 dev 版本， 这个是支持 nodejs14 的

custom runtime 有计划支持吗

端云联调已经支持了nodejs14， 代码昨天才能合并， 预计清明节后会正式发布， dev 版本可以试用
rm -rf ~/.s/components/devsapp.cn/devsapp/fc-local-invoke@dev
rm -rf ~/.s/components/devsapp.cn/devsapp/fc-proxied-invoke@dev
export core_load_serverless_devs_component='devsapp/fc-proxied-invoke@dev;devsapp/fc-local-invoke@dev'

可以先执行三个命令， 使用本地调试和端云联调的 dev 版本， 这个是支持 nodejs14 的

custom runtime 有计划支持吗

custom runtime 目前调试是支持的， 就是断点调试还没有支持。 有计划： https://github.com/devsapp/fc/issues/697
您也可以说说您的想法， 谢谢！

问题已经解决，欢迎在 https://github.com/devsapp/fc3 提问

authors: heimanba jaylinwang rsonghuster

repo: Serverless-Devs/Serverless-Devs


text:
🛑 SLHUB | Site is down

In a9bb67f, SLHUB | Site (https://slhub.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SLHUB | Site is back up in 739cad7 after 12 minutes.


text:
Jav-544 reflector and improve metrics

持续开发中，还有很多工作，请勿合并！
欢迎大家Comment~

Don't Merge this PR because it's have a lot of work to do !
comment is wellcome~

Coverage decreased (-0.1%) to 86.85% when pulling 5027e46bf10a38ad63667bede666ad2b0499bf6c on zhengyangyong:JAV-544 into 264bb1497e78c6a2ca7e786a5df9cf999d4e020a on ServiceComb:master.

Coverage decreased (-0.4%) to 86.567% when pulling 8a3e0b5a52cb83f9f36b280de499c71015aa53e4 on zhengyangyong:JAV-544 into 264bb1497e78c6a2ca7e786a5df9cf999d4e020a on ServiceComb:master.

Coverage decreased (-0.3%) to 86.707% when pulling 19e5edc7bfa18648e84a2ebde360ce4f30861653 on zhengyangyong:JAV-544 into 264bb1497e78c6a2ca7e786a5df9cf999d4e020a on ServiceComb:master.

Coverage decreased (-0.2%) to 86.736% when pulling ae04efd1d67ba09d2f9a698c486a78147d9ecdb3 on zhengyangyong:JAV-544 into 264bb1497e78c6a2ca7e786a5df9cf999d4e020a on ServiceComb:master.

Coverage decreased (-0.2%) to 86.778% when pulling d7a0799498d728a7e4793d3a1e0ab0c3254026fb on zhengyangyong:JAV-544 into 264bb1497e78c6a2ca7e786a5df9cf999d4e020a on ServiceComb:master.

Coverage decreased (-0.2%) to 86.727% when pulling 243c5c3a6ca224fa6ab56b45848e25de39cab037 on zhengyangyong:JAV-544 into 264bb1497e78c6a2ca7e786a5df9cf999d4e020a on ServiceComb:master.

Coverage decreased (-0.2%) to 86.757% when pulling 7dfd16b19d8354410e1a14c10a1820e5f1c9117f on zhengyangyong:JAV-544 into bc32076b8a130cf1d64a1e3e2a4ef1e34827e19c on ServiceComb:master.

Coverage decreased (-0.6%) to 86.276% when pulling edcb53751578b7cfe3515ad38765f420c92427b5 on zhengyangyong:JAV-544 into bc32076b8a130cf1d64a1e3e2a4ef1e34827e19c on ServiceComb:master.

Coverage decreased (-0.7%) to 86.23% when pulling 799b62baaf088f556182470d9e413cc2c98c2582 on zhengyangyong:JAV-544 into 25cc3f37f432cad855bb5529a9dcaf352f566e06 on ServiceComb:master.

Coverage decreased (-0.5%) to 86.403% when pulling 3a1e11941865401828167e21f1989bba1dcd8cb4 on zhengyangyong:JAV-544 into 25cc3f37f432cad855bb5529a9dcaf352f566e06 on ServiceComb:master.

this PR will be separate into some small PR for better review experience
这个PR将会被拆分为更多小的PR方便Review

authors: coveralls zhengyangyong

repo: ServiceComb/ServiceComb-Java-Chassis


text:
An error occured while handling accessories: Adding Television Service

Hi,
I'm having one issue with my Sony Bravia TV KD-49x8505b and Homebridge. I have tried different Bravia plugins, also homebridge-bravia-tv, homebridge-sonybravia-platform and one from normen. All with varying success. Now, I ended up using this version (homebridge-bravia-tvos) and I get below error message.
Note: I have tried with both psk (IP control auth: normal with psk) and TV pin (IP control auth: normal), and both authorisation methods works. Simple IP control have been both on and off, making no difference. Remote start is on/enabled. Remote device is on, and homebridge-bravia-tvos is registered at remote device for my tv.
Note2: This log/error is based on the current homebridge beta version.
Load log
[4/21/2020, 1:31:39 PM] Loaded plugin: homebridge-bravia-tvos
[4/21/2020, 1:31:39 PM] Registering platform 'homebridge-bravia-tvos.BraviaOSPlatform'
[4/21/2020, 1:31:39 PM] ---
[4/21/2020, 1:31:39 PM] Plugin /usr/lib/node_modules/homebridge-bravia-tvos requires Node version of ^8.9.1 which does not satisfy the current Node version of v12.16.2. You may need to upgrade your installation of Node.
[4/21/2020, 1:31:39 PM] [BraviaOSPlatform] Initializing BraviaOSPlatform platform...
[4/21/2020, 1:31:39 PM] [BraviaOSPlatform] **************************************************************
[4/21/2020, 1:31:39 PM] [BraviaOSPlatform] BraviaOSPlatform v3.0.6 by SeydX
[4/21/2020, 1:31:39 PM] [BraviaOSPlatform] GitHub: https://github.com/SeydX/homebridge-bravia-tvos
[4/21/2020, 1:31:39 PM] [BraviaOSPlatform] Email: seyd55@outlook.de
[4/21/2020, 1:31:39 PM] [BraviaOSPlatform] **************************************************************
[4/21/2020, 1:31:39 PM] [BraviaOSPlatform] start success...[4/21/2020, 1:31:39 PM] [BraviaOSPlatform] [INFO] Adding new accessory: Sony Bravia TV
[4/21/2020, 1:31:39 PM] [BraviaOSPlatform] [INFO] Sony Bravia TV: Initalizing Bravia API with IP Control
[4/21/2020, 1:31:39 PM] [BraviaOSPlatform] [INFO] Sony Bravia TV: Cheking authentication...
[4/21/2020, 1:31:39 PM] [BraviaOSPlatform] [INFO] Sony Bravia TV: Sony Bravia TV.json refreshed with new cookie!
[4/21/2020, 1:31:44 PM] [BraviaOSPlatform] [INFO] Sony Bravia TV: Authenticated!
2020-04-21T13:31:44.644Z BraviaPlatform Sony Bravia TV: Adding Television Service
[4/21/2020, 1:31:44 PM] [BraviaOSPlatform] [ERROR] Sony Bravia TV: An error occured while handling accessories!
[4/21/2020, 1:31:44 PM] [BraviaOSPlatform] [ERROR] {}
Config.json
No difference whether it is a simple config or advanced. I first tried with the simple, and then went to the advanced to see if that would solve the issue. But, no luck.
Simple:
{
"platform": "BraviaOSPlatform",
"tvs": [
{
"name": "Sony Bravia TV",
"ip": "xxx.xxx.xxx.202",
"port": 80
],
"interval": 10
}
Advanced:
{
"platform": "BraviaOSPlatform",
"tvs": [
{
"name": "Sony Bravia TV",
"ip": "xxx.xxx.xxx.202",
"port": 80,
"cecInputs": true,
"channelInputs": [
"DVBC"
],
"channels": [
{
"channel": 1,
"source": "DVBC"
},
{
"channel": 2,
"source": "DVBC"
}
],
"apps": [
"YouTube",
"Amazon Prime Video",
"Netflix"
]
}
],
"interval": 10
}

I have also tried with the latest stable homebridge version, and here I get the following result. It seems it stalls, and no TV is added as accessory.
Load log
[4/21/2020, 2:31:54 PM] [BraviaOSPlatform] [INFO] Sony Bravia TV: Authenticated!
2020-04-21T14:31:54.711Z BraviaPlatform Sony Bravia TV: Adding Television Service
2020-04-21T14:31:54.712Z BraviaPlatform Sony Bravia TV: Adding Television Speaker Service
2020-04-21T14:31:54.713Z BraviaPlatform Sony Bravia TV: Handling inputs...
[4/21/2020, 2:31:54 PM] [BraviaOSPlatform] [INFO] Sony Bravia TV: CEC detected, checking TV state before fetching inputs...
2020-04-21T14:31:54.724Z BraviaPlatformApi [Bravia Debug]: api request 1: post /sony/system - getPowerStatus

I have the same issue (logs in debug mode):
[2020-4-28 13:59:03] [BraviaOSPlatform] [INFO] Adding new accessory: Sony Bravia
[2020-4-28 13:59:03] [BraviaOSPlatform] [INFO] Sony Bravia: Initalizing Bravia API with PSK
[2020-4-28 13:59:03] [BraviaOSPlatform] [INFO] Sony Bravia: Cheking authentication...
[2020-4-28 13:59:03] [BraviaOSPlatform] [INFO] Sony Bravia: Authenticated!
2020-04-28T11:59:03.188Z BraviaPlatform Sony Bravia: Adding Television Service
[2020-4-28 13:59:03] [BraviaOSPlatform] [ERROR] Sony Bravia: An error occured while handling accessories!
[2020-4-28 13:59:03] [BraviaOSPlatform] [ERROR] {}
Node.js - v12.16.2
Npm - v6.14.4
├─┬ homebridge-bravia-tvos@3.0.6
│ ├─┬ axios@0.18.1
│ │ ├─┬ follow-redirects@1.5.10
│ │ │ └─┬ debug@3.1.0
│ │ │   └── ms@2.0.0
│ │ └── is-buffer@2.0.4
│ ├── base-64@0.1.0
│ ├─┬ debug@4.1.1
│ │ └── ms@2.1.2
│ ├─┬ json-fs-store@1.0.1
│ │ ├── async@1.5.2
│ │ ├── graceful-fs@4.2.3
│ │ ├─┬ mkdirp@0.5.5
│ │ │ └── minimist@1.2.5 deduped
│ │ └── node-uuid@1.4.8
│ ├── tcp-ping@0.1.1
│ └─┬ wake_on_lan@1.0.0
│   └── minimist@1.2.5

I’m having this issue as well. Devices that were already added seems to work, but I removed my device and now I can’t add it back again due to this issue.

This problem just bit me too. I have been using this plug-in for months with no problem. Recently I was having other issues with Homebridge and deleted the device from config.json when I cleared out all of my Homebridge 'persist' directories. Since then I cannot add the device back using the identical config.json that worked previously. I get the
" [BraviaOSPlatform] [ERROR] Sony Bravia: An error occured while handling accessories!" error

Try v3.0.7 pls

@SeydX multiple TVs are showing again. Thanks!

authors: RMCob SeydX Veldkornet jakobjul kkulesa ryanschmidt

repo: SeydX/homebridge-bravia-tvos


text:
Possible Treaties made by enemy AIs

I'll keep this short and sweet. I have thought about this since the beginning of the game, and I can finally suggest it now that I found this wonderful forum.
I feel that a cool feature to be added would be one where enemies, whether human/AI or AI/AI, can make treaties with each other. The treaties would almost always be made if one enemy is about to die. The treaty could either be a plea, e.g. Snake is about to die so he sends a treaty, or be a form of payment, e.g. instead of Abbot killing Rat he forms a treaty with him to work together and kill Caliph. There could also be "Shows of good faith", e.g. a human player sends 2000 gold pieces with a treaty, the receiving AI could take the gold and reject the treaty or accept both. This would add a new spin to the game and make it more like historical battles.
There could also be a feature where an ally could leave one side and join another, e.g. the Caliph leaves your side because you haven't help him in any way and he joins Snake.

I'll keep this short and sweet. I have thought about this since the beginning of the game, and I can finally suggest it now that I found this wonderful forum.
I feel that a cool feature to be added would be one where enemies, whether human/AI or AI/AI, can make treaties with each other. The treaties would almost always be made if one enemy is about to die. The treaty could either be a plea, e.g. Snake is about to die so he sends a treaty, or be a form of payment, e.g. instead of Abbot killing Rat he forms a treaty with him to work together and kill Caliph. There could also be "Shows of good faith", e.g. a human player sends 2000 gold pieces with a treaty, the receiving AI could take the gold and reject the treaty or accept both. This would add a new spin to the game and make it more like historical battles.
There could also be a feature where an ally could leave one side and join another, e.g. the Caliph leaves your side because you haven't help him in any way and he joins Snake.

I'm not sure that's possible...
But the idea is definitely Amazing !

Yeah it is kinda complex but espacally the last part is for sure do able if someone is taking His/her time and has the Knowledge 👍

@Lolasik011 You are probably right, it is most likely impossible. I mainly just wanted to share the idea and see what people thought of it.

It's far from impossible, not sure what you are all talking about. There are certain points where the game  can be hooked to achieve such behaviour. It is possible to set party groups while playing, it is also possible to hook into certain functions in the game where we would check certain conditions for a treaty between AIs. The hard part comes when the player recieves a treaty, or rather, when the player wants to send a treaty. The UI should work like the Ally goods send/recieve panels, and this can be solved too.
So the only thing remaining is the Time. Who would spend days on creating such mod? As a side note, AIs have no such messages, so it'd be text based, what a bummer.

It should also be adjustable for each lord what conditions there are for leaving a treaty and / or making a new one. And what treaties they accept.
E. G. Wolf would never join the player, caliph would never join an infidel and leave any treaty if he has a crusader ally.

@ByBurton EXACTLY. I forgot to add that part. I actually made a long list of conditions for each AI but just forgot to add it. However, the more conditions the harder it becomes, especially since some of the of them might be impossible.

Although it is a really cool Idea it is nothing that I'd like to see in the patch in near furture. There are some other problems (espacally with the AI) that should be have a higher priority IMHO. 😅😁

@Starshine575 true. there are so many cools features/ bug fixes that need to be addressed first. the treaty idea was just something I thought of and wanted to see what people thought.

Yeah it is also a very cool Idea, nice you mentioned it. 😊

#197 just wanted to mention this has been thought of somewhat before.

@Krarilotus Oh, opps. I looked around for awhile and I didn't see anything about the subject but clearly I missed this one, probably because the first part was in German so I didn't bother to look at the rest.

authors: ByBurton KingCaliph Krarilotus Lolasik011 LordHansCapon Starshine575


text:
The ver 6.0 onwards game doesn't open ;-;

Describe your bug here.
Hello, I'm here to report an issue with Psych Engine version 6.0 onwards, I double-click on the game's icon but it doesn't open, what should I do in this case?
Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No, I just wanted to open the game

any errors that appear?

Nope, it just doesn't open, I double-click on it, it loads, but doesn't open

well idk, reinstall psych engine or something or just don't use 0.6 or above since nobody seems to like those versions

Tried many times, still didn't opened

it may be your system blocking it

Delete your save data. %appdata%/Roaming/ShadowMario/FNF-PsychEngine

repo: ShadowMario/FNF-PsychEngine


text:
The Null Object Thing

Describe your problem here.
i tried to load a chart from Vs Impostor V4 (pretty much has been happening a while when i tried to load other custom charts) and this just pops up:
Note.hx (line 158)
editors/ChartingState.hx (line 2683)
editors/ChartingState.hx (line 2642)
editors/ChartingState.hx (line 2156)
editors/ChartingState.hx (line 2460)
editors/ChartingState.hx (line 1561)
flixel/FlxState.hx (line 203)
flixel/FlxGame.hx (line 747)
flixel/FlxGame.hx (line 677)
flixel/FlxGame.hx (line 545)
openfl/events/EventDispatcher.hx (line 402)
openfl/display/DisplayObject.hx (line 1399)
Uncaught Error: Null Object Reference
im probably stupid but idk how to fix it and i need help lol
any kind of help would be great
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
No

something wrong with note types, maybe the chart has a note type that you haven't added yet

You don't use charts from there! The authors have put all sorts of different things there and it can't be transferred so easily! Search the Internet for alterations to the original engine. I recommend it: https://gamebanana.com/mods/422721   The man did a good job. Also used and everything is fine

authors: Grape-Boy TWgames2020 hdfhdsajd


text:
How do i change the texture of the opponent's arrows?

Describe your problem here.
I want to change the texture of the opponent's arrows, but I'm stupid.
Are you modding a build from source or with Lua?
Source
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
made a new setting.

https://github.com/ShadowMario/FNF-PsychEngine/discussions/995


text:
error 0xe24c4a05

Describe your bug here.
game crashed with this error

Command Prompt/Terminal logs (if existing)
none

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
Yes, Some Minor Playstate and discord stuff, mostly the playstate, it being adding a FlxTrail event

this is my own custom build, but even when playing on a normal build the crashes usually occur, but without the error message; this is the first time ive gotten this message

skill issue

skill issue

F


text:
is there some way to add the sound test menu from the vs sonic.exe mod?

What is your question?
im doing a fanmade vs sonic.exe mod and and i want to add the soundtest option to the menu. is it possible? and i want the soundtest menu unlocked.

Only possible through source, though I'm no source coder so I can't help you code that in

Only possible through source, though I'm no source coder so I can't help you code that in

i know. im making the mod through source. cuz there is no way to edit the source files with lua.

i know how

i know how

How, cuz I want to do something like that.


text:
how to make animated icons without source code

Describe your problem here.
so uhhhhhh im makin a mod, im stupid dumb dumb so im using the mod folder to create it, and i wondered how you would make animated icons
does anybody know how to do this (without source code)?
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
no im using the mods folder

you simply j

ok

ok

ok

you can't. i've been modding since the dawn of times and everybody knows you can't even add your own songs without using the source code.

this is psych engine though-

Yea this is psych engine. You can easily add mods. But for the animated icons, I don't know. You could try making the icons blank and make Animated Lua Sprites for the icons, but that means you have to do a bunch of tweens, figure out how to switch sprites if you're using a losing icon as well, and that's just complicated.

mods folder barely even works, i didnt even know it exists

you can't. i've been modding since the dawn of times and everybody knows you can't even add your own songs without using the source code.

You can. Sounds like you just never bothered to look up how.

mods folder barely even works, i didnt even know it exists

What it needs to do, it does. So to me it seems like you have some personal issues.

bro you're an asshole, anyways i have more experience with kade engine then psych engine so dont look up to me for fuckin answers

mods folder barely even works, i didnt even know it exists

Psych mod folder is actually pretty robust, it can do most things a mod would need to do perfectly fine. Unfortunately I don't think there is a way to have animated icons, tho i dont know all too much about controlling the hud elements so I could be wrong.

bro you're an asshole, anyways i have more experience with kade engine then psych engine so dont look up to me for fuckin answers

I'm an asshole? You are the one throwing shit around saying the engine doesn't work, when you are an imbecile who didn't bother to ask or look up why. If you've got nothing to say, then why do you comment under a post and give false info?

///
facts

bro you're an asshole, anyways i have more experience with kade engine then psych engine so dont look up to me for fuckin answers

I'm an asshole? You are the one throwing shit around saying the engine doesn't work, when you are an imbecile who didn't bother to ask or look up why. If you've got nothing to say, then why do you comment under a post and give false info?

facts

so uhh, the question?

Hide the original icons and make your own icon logic, it's too long for me to explain or even want to type it here.
I'd suggest checking PlayState.hx source code and studying how icons work to recreate it in Lua.

hey, i made a code for it, may not be the cleanest but it works
local addedVariable = 520

function onCreate()
    doTweenAlpha('iconDadFadeEventTween', 'iconP2', 0, 0.001, 'linear');
makeAnimatedLuaSprite('iconBounce', 'iconBounce', 520, 10)
    setLuaSpriteScrollFactor('iconBounce');
    addLuaSprite('iconBounce', true);
    setObjectOrder('iconBounce', 25)
    updateHitbox('iconBounce');
    setObjectCamera('iconBounce','hud');
end

function onBeatHit()
        addAnimationByPrefix('iconBounce', 'bounce', 'pico bounce idle', 24, true)
end

function onUpdate(elapsed)
function goodNoteHit(id, direction, noteType, isSustainNote)
if getProperty('health') < 2 then
removeLuaSprite('iconBounce',true)
    addedVariable = 820  - (600 * ((getProperty('health')/2)*100) *0.01)
    makeAnimatedLuaSprite('iconBounce', 'iconBounce', addedVariable, 10)
    setLuaSpriteScrollFactor('iconBounce');
    addLuaSprite('iconBounce', true);
    setObjectOrder('iconBounce', 25)
    updateHitbox('iconBounce');
    setObjectCamera('iconBounce','hud');
end
end
function noteMiss(id, direction, noteType, isSustainNote)
if getProperty('health') > 0.01 then
removeLuaSprite('iconBounce',true)
    addedVariable = 820  - (600 * ((getProperty('health')/2)*100) *0.01)
    makeAnimatedLuaSprite('iconBounce', 'iconBounce', addedVariable, 10)
    setLuaSpriteScrollFactor('iconBounce');
    addLuaSprite('iconBounce', true);
    setObjectOrder('iconBounce', 25)
    updateHitbox('iconBounce');
    setObjectCamera('iconBounce','hud');
end
end
end```` also change 'pico bounce idle' to your animation name on ur xml and change the /iconbounce to ur image, example: /funicharacterbounce

authors: Gavman69 GrateSkata PoleyMagik ShadowMario SrtHero278 acap09 drakonieyah lemonsxeed siegereal trollgeman


text:
Tweens and setProperty crash the game on death

Describe your bug here.
Really self-explanatory.
This is a script that shouldn't crash the game, but does:
function getHP()
  health = getProperty('health')
end

function onUpdate(elapsed)
  -- This is how I do it
  -- Alpha is +16
  -- X is +0
  -- Y is +8
  -- Angle is +24

  -- Opponent arrows: 0-3
  -- Player arrows: 4-7
  -- hide and show the opponents arrows
  for i=0,3 do
    -- Alpha is 0 (0 being invisible)
    setPropertyFromGroup('opponentStrums', i, 'alpha', 0.1) -- Crashes game
    noteTweenX(i, i, getPropertyFromGroup('playerStrums', i, 'x'), -1) -- Crashes game
    noteTweenY(i+8, i, getPropertyFromGroup('playerStrums', i, 'y'), -1) -- Crashes game
  end
end

function onUpdatePost(elapsed)
  for i=0,3 do
    -- Alpha is 0 (0 being invisible)
    setPropertyFromGroup('opponentStrums', i, 'alpha', 0) -- Crashes game
  end
end

function opponentNoteHit() -- health draining mechanic
	getHP()
  if health > 0.0 then
    setProperty('health', math.max(health - 0.023, 0.0001));
  end
end

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No, I have made no changes to the build

if not inGameOver then

@frantastic24 okay, how do I fix this?

Use the code I left above

@frantastic24 didn't work

It shouldn't crash the game in the first place

What does your code look like

This:
local strumShow = {}
local songPos = 0
local glitch = {}

function getHP()
  health = getProperty('health')
end

function onCreatePost()
  for i = 0,7 do
    _G['defaultStrumX' .. i] = (screenWidth / 2) + (105 * (i%4 + 1)) - (105 * 3.075)
    _G['defaultStrumY' .. i] = getPropertyFromGroup('strumLineNotes', i, 'y') + 20
    if i < 4 then
      strumShow[i] = true -- Player strum visible if true. Opponent strum visible if false
    end

    setPropertyFromGroup('strumLineNotes', i, 'x', _G['defaultStrumX' .. i])
    setPropertyFromGroup('strumLineNotes', i, 'y', _G['defaultStrumY' .. i])
  end
end

function onUpdate(elapsed)
  songPos = getSongPosition()
  -- This is how I do it
  -- Alpha is +16
  -- X is +0
  -- Y is +8
  -- Angle is +24

  -- Opponent arrows: 0-3
  -- Player arrows: 4-7
  -- hide and show the opponents arrows
  if not inGameOver then
    for i=0,3 do
      local ox, oy = glitch[i] and 20 or 2, glitch[i] and 40 or 2
      local rot = math.rad(math.random(0, 360))
      -- Alpha is 0 (0 being invisible)
      setPropertyFromGroup('opponentStrums', i, 'alpha', 0.1)
      setPropertyFromGroup('playerStrums', i, 'alpha', 1)
      noteTweenX(i, i, getPropertyFromGroup('playerStrums', i, 'x') + (math.cos(rot) * ox), -1)
      noteTweenY(i+8, i, getPropertyFromGroup('playerStrums', i, 'y') + (math.sin(rot) * oy), -1)
    end
  end
end

function onUpdatePost(elapsed)
  for i = 0,3 do
    local PlayerName = getPropertyFromGroup('playerStrums', i, 'animation.name')
    local OpponentName = getPropertyFromGroup('opponentStrums', i, 'animation.name')
    local PlayerFinished = getPropertyFromGroup('playerStrums', i, 'animation.finished')
    local OpponentFinished = getPropertyFromGroup('opponentStrums', i, 'animation.finished')
    if PlayerName == 'confirm' and not PlayerFinished then
      strumShow[i] = true
    elseif OpponentName == 'confirm' and not OpponentFinished then
      strumShow[i] = false
    else
      strumShow[i] = true
      glitch[i] = false
    end
  end

  if not inGameOver then
    for i=0,3 do
      -- Alpha is 0 (0 being invisible)
      if strumShow[i] then
        setPropertyFromGroup('playerStrums', i, 'alpha', 1)
        setPropertyFromGroup('opponentStrums', i, 'alpha', 0)
      else
        setPropertyFromGroup('playerStrums', i, 'alpha', 0)
        setPropertyFromGroup('opponentStrums', i, 'alpha', 1)
      end
    end
  end
end
function opponentNoteHit(noteIndex, noteData, noteType, isSus) -- health draining mechanic
	getHP()
  local damage = isSus and (getPropertyFromGroup('notes', noteIndex, 'hitHealth') / 6) or (getPropertyFromGroup('notes', noteIndex, 'hitHealth') / 3)
  if noteType == 'Alt Animation' then
    glitch[noteData % 4] = true
  else
    glitch[noteData % 4] = false
  end
  if not inGameOver then
    if health > 0.0 then
      setProperty('health', math.max(health - damage, 0.00001));
    end
  end
end

You will have to play this mod
Replace the need song script with my code.

... The inGameOver variable doesn't exist in source

It's in the wiki, but PlayState never sets that variable

you are supposed to include everything under the onUpdate functions inside the if statement, not just part of it
it doesn't crash anymore

@frantastic24 It did fix it, but it still shouldn't crash like this. Gameover is a substate and shouldn't affect the Tweens and Setproperties.

Thank you for the fix. Even though my script is fixed, I am going to keep this issue open because the game shouldn't crash.

I already said it's the notes but ok
You can stop mentioning me in every reply now

The same script started crashing again, even with frantastic24's fix.

Thanks for this post, I was having the same problem. @NS-Unfair maybe you also need to nest getPropertyFromGroup as well?

@manitislate Yes, I do need to nest getProperty as well. But I decided that the bug that I was having which was caused by getProperty was actually really cool, so I didn't nest that.

authors: NS-Unfair frantastic24 manitislate


text:
psych to kade

What is your question?
I'm not switching to kade but I have a few mods that I found that use kade and want to know if there is a way to port psych engine sprites to kade engine and if so how?
The reason is that I just want to try my new character sprites in the mods that I found that use kade engine.

copy and paste

ye but i cant find the folder for json files

ye but i cant find the folder for json files

Because kade doesn't have character .json files, that's what psych's character editor is for, so you have to make them yourself

Ok so do i add them to the assets folder or do i have to make a folder in the mods folder?
Also sorry if I'm just being dumb and wasting your time.

do i add them to the assets folder or do i have to make a folder in the mods folder?

if you're coding in lua, then the mods folder is the way to go.


text:
Add more unit tests for settings module

Added missed out unit tests from the setting module

Summary by CodeRabbit

Tests

Added a new test to check for errors in preference definition by raising a TypeError.

@coderabit review


text:
Can you add Vercel to the project

https://vercel.com/, is severless function holster, is free, and I will set up and make, just can make it cause I didn't make the repo lol
im gonna take a break from the project till you do :)
this is not blackmail.

do it now

you don't have to now

unless you want access to the backend :)

repo: Shadows-Peak/exponential