text:
DelayedOperationHandler & Emit

Hey Lusito,
I have some issues when i try to use your ECS engine.

Thanks for your job anyways ;)

@StanFrag: What TypeScript compiler are you using? I'm not sure if the Angular compiler is up to date with the latest typescript.
I'm also a bit confused about the output, as the line numbers clearly don't match the shown snippets.
Good thing tho is, that the code at the mentioned line numbers match up with the error messages. I think it should be possible to fix those for you.

I have added possible fixes in the respective development branches:
https://github.com/Lusito/typed-ecstasy/tree/develop
https://github.com/Lusito/typed-signals/tree/develop
If you could try hot patching them to see if it works, that would be nice.
I will publish a new version once I know all compiler errors are fixed (I have a feeling there will be more)
Thanks!

authors: Lusito StanFrag

repo: Lusito/typed-ecstasy


text:
shadow color is inconsistent using bidirectional and path

Under same settings and same light,
Path:

Bidi:

Cycles:

Prorender

Please, always post the scene to reproduce the problem. It can be attached to the post (https://help.github.com/articles/file-attachments-on-issues-and-pull-requests).

test light.zip

The scene has 2 light sources: a point light and a constantinfinite light. PATHCPU and BIDIRCPU produce exactly the same output when using only the point light or the constantinfinite light. There is a problem only when using both.
This seems to suggest a bug in PDF light strategy. Checking.

tried latest patched version, still darker than bidi's

Yes, I have not yet finished =)

Ok, I should have now fixed the problem.
PATHCPU:

BIDIRCPU:

Ok, now, I should have fixed all cases.

yeah, great! I'll close this one.

source: gharchive/issue

repo: LuxCoreRender/LuxCore

license_type: permissive

license_source: github-api


text:
🛑 Official（泠泫凝的异次元空间-主页） is down

In fbe5eb3, Official（泠泫凝的异次元空间-主页） (https://lxnchan.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Official（泠泫凝的异次元空间-主页） is back up in 09158ae after 18 minutes.

repo: LxnChan/status

license: MIT


text:
🛑 115Wiki is down

In 7c82a66, 115Wiki (https://115.anavi.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 115Wiki is back up in aced94f after 6 minutes.


text:
🛑 Official（泠泫凝的异次元空间-主页） is down

In 221d226, Official（泠泫凝的异次元空间-主页） (https://lxnchan.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Official（泠泫凝的异次元空间-主页） is back up in dfff30a after 17 minutes.


text:
Progress bar drag range issue

The progress bar won't be able to drag to the real position of the song's begin and end position when listening to VIP songs.

Still no idea about this issue, help wanted I think.


text:
[Bug Fix] : Fixes #340 - Support Center Contact number not visible (helpline-num-fix)

Helpline number color was set to white earlier, making it difficult to read as it merged with the background color

Helpline number has now been changed to black, so that it can be easier to read
Motivation and Context
Fixes UI imperfections
How Has This Been Tested?
Tested on localhost
Screenshots (if appropriate):
Previously :-

Post Bug fix:-
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

@ansh-h-mehta Can you also provide the post bug fix screenshot?

@MAVRICK-1 Can you please checkout #361

@sanket95droid  deployment issue is going on. Missed it #361 both are same . Will fix it by today

source: gharchive/pull-request


text:
Show more meta data on popups and link back to solr doc

Need to show more data on popups to analyze individual bubble.

"title" : "Title of doc fetched as configured",
"descr" : "Short description fetched as per configuration"
"url" : "Link to html/image"
"solr_url" : "Link to solr_doc"

LOVE

@smadha

Closing. More progress update on #55

authors: chrismattmann smadha

repo: MBoustani/GeoParser

license_source: bigquery


text:
motion represention is generated/saved in .json file.

I have same questions,After i took a earnest look at your code .how is the JSON file generated.i would appreciate your reply.

Hi @mengjiac! Please use generate_img_diff.py or generate_feature_diff.py to generate the JSON file of motion represention.

We have mentioned the checkpoint here.

嗨@mengjiac！请使用generate_img_diff.py或generate_feature_diff.py生成运动表示的 JSON 文件。

Hello, I am also having trouble generating json files. I don't know how to change the path in the code, can I communicate with you, look forward to a reply

我有同样的问题，在我认真看了你的代码.如何生成JSON文件之后，我将不胜感激你的回复。

您好，我也在关注这篇文章，也在复现，可以加个好友交流吗 期待回复

你好 请问你复现完了吗 想问问generate_featrue_diff得到的一维向量归一化后选帧的时候又要归一化一次吗

我有同样的问题，在我认真看了你的代码.如何生成JSON文件之后，我将不胜感激你的回复。

您好，我也在关注这篇文章，也在复现，可以加个好友交流吗 期待回复

你好 请问你复现完了吗 想问问generate_featrue_diff得到的一维向量归一化后选帧的时候又要归一化一次吗

我有同样的问题，在我认真看了你的代码.如何生成JSON文件之后，我将不胜感激你的回复。

您好，我也在关注这篇文章，也在复现，可以加个好友交流吗 期待回复

您好，我现在也在关注这篇文章，可以加个好友交流下吗

authors: mengjiac yztongzhan zyx-cv zzzhhh1031

repo: MCG-NJU/MGSampler


text:
[Cosmetics] separate "Run/Stop on Jenkins" by splitter

Action
I click on "Stop On Jenkins"
Expected
Logs are shown
Actual
"Stop On Jenkins" is executed
I can see my future self clicking this accidentally.
Suggestion: Move "Stop on Jenkins" to the last position, separated by a splitter

Thanks for Feedback
Sounds great to move the action.
But the description says that it is expected to showq logs if you click on "Stop on Jenkins". I think this is just a typo isn't?

It was a joke :)

released with 0.13.18

authors: MCMicS jacekgajek

repo: MCMicS/jenkins-control-plugin


text:
Can't compile without warnings

Using Atom with platform IO.
What SoftwareSerial library needs to be installed?
Keep getting compile errors.

Hey Joppy. Thanks for contacting me. I also noticed your Youtube comment on my channel :)
I fixed the problem with the missing SoftwareSerial dependency. Hope that helps.
Best regards
René

Hey René,
Thanks for the help! compiling is working so that's great. Config true webinterface and connecting to mqtt (home assistant) is working. But the json payload is not compleet:
{"version":"1.0.0","system":{"deviceId":"ccf95b","freeHeap":235316},"network":{"wifiRssi":-50,"wifiQuality":100,"wifiSsid":"secretssid","ip":"192.168.1.18"},"co2":{"isPreheating":false,"isReady":false}}
Can you enlight me?
Best regards
jeroen

isReady is not true. But display is working and showing co2 ppm

Hey Joopy. Happy new year :)
I'm in trouble at end of the year like everyone. But today I found time to fix the error: I removed the caches for sensor values and read the values live on generating the JSON result. So it should be correct.
Hope that helps. Happy coding & best regards :)
René

I tested the original isReady value from the MZ library. But dosn't understand when it's TRUE. It's always FALSE. But the sensor value and isPreheating works :)

in v1.1.3 I removed the isReady field from JSON. So it's only important to check isPreheating field (while TRUE the sensor value is still 0) :)

in v1.1.3 I removed the isReady field from JSON. So it's only important to check isPreheating field (while TRUE the sensor value is still 0) :)

Yes it's working correctly now.

authors: MCeddy joopy


text:
CORE deposit 404 error

Date first reported: 7/27/2022
Site: Humanities Commons
Area: CORE
Deposit link: https://hcommons.org/deposits/item/hc:47235/
Description:
A user contacted us with this message: I wanted to download the report ‘The Cost to Publish TOME Monographs: A Preliminary Report’ at https://hcommons.org/deposits/item/hc:47235/, but there seems to be a problem with the document: if I hit either the ‘Download’ or the ‘View in browser’ button, I get an error message ‘404 page not found’.

Reported by another user. I investigated and it looks like this might be having an impact on all CORE deposits.
Here is the second one reported: https://hcommons.org/deposits/item/hc:33651/

It looks like a server update was what caused this. The update has been reverted back and the library will continue testing before running the update again. Deposits are back to normal. The library team will continue to look into this in their test environment.

repo: MESH-Research/commons


text:
hypoelastic examples cases fix

Hypoelastic test cases wouldn't run because case_dir was removed from the code

Not sure why this failed. Based on the case it failed on, it might have to do with #151? @lee-hyeoksu

#151 involved creating new golden files. maybe that's the problem you're experiencing @wilfonba ?

It fails when doing the silo check for NaNs

I am trying to replicate the NaN on my local MFC, but the NaN seems not appear on the test.
Could you let me know how Test Suite (ubuntu-latest, --no-debug, false) and Test Suite (ubuntu-latest, --no-debug, true, source /opt/intel/oneapi/setvars.sh) are different? Simply the former does not check for NaNs?

I believe --no-debug, true, source /opt/intel/oneapi/setvars.sh) use Intel compilers. It must be compiler related since the GNU and NVHPC tests work fine. @anshgupta1234 added intel compilers before these cases were added, but it's still weird that they all passed when the PR was merged.

I see @wilfonba . I don't know much about compiler specific coding stuff, but I believe #151 did not include something dependent on specific compilers. Is there any part where I have to consider compilers other than common/m_compile_specific.f90?

Yeah, I don't know much about what that file does. What's weird is that the cases were fine for your PR, and this PR did nothing but change two example case files, and it's suddenly not fine. It doesn't make much sense. Maybe @henryleberre has an idea if @anshgupta1234 is busy?

It's failed on the CI for my other pull request, on this case or a similar one, several times, but only with the Intel compilers.

I see, then it would be not the case.

@lee-hyeoksu @wilfonba I just reran the CIs, but it looks like this is an actual problem and possibly has to do with Intel compilers. @lee-hyeoksu can you try loading the latest Intel compilers on Bridges2 or some other computer and then making sure it passes the tests?

This is now passing @wilfonba. I am not sure what the issue was.

No idea. Maybe an issue with whatever hardware/software GitHub is using for CI.

I am currently setting up my access to Bridges2. I believe I will be able to test on it in a few days. The CI now passed but anyway I will test this on Bridges2 and I will let you know if there are issues.

@lee-hyeoksu I re-ran the CI on the PR I merged from you on viscous + bubbles last week, and it actually failed at the Intel CPU test on your case: https://github.com/MFlowCode/MFC/actions/runs/5020414923 . I'm wondering if this is sporadic bug reproducible on a non-GitHub machine with Intel compilers. Since it is only happening for your PR, I suspect it has something to do with the code you added there.

I tested on Bridges using intel 2021.3.0 compilers. I got NaN error on test 55533234 (2D -> bc=-1) and 6FC6A809 (3D -> bc=-1) as attached (the screenshot is for test 55533234). For 6FC6A809, the NaN also appeared in time step 50 of 51.

So, I believe there is something incompatible between MFC and intel compilers. Actually when I compile MFC, there were a lot of warnings for silo and hdf5. Could these warnings be related to these kinds of errors?

That error is thrown on step 51 when MFC tries to save a binary file (or whatever it is). This occurs before any silo or hdf5 routines are called, I believe, so this would have to be something wrong with MFC + Intel compilers. Do the serial output files in D/ have NaNs?

Interesting. @lee-hyeoksu what happens if you use an openmpi-intel module? IntelMPI and OpenMPI are different, so this might help triangulate the problem.

@wilfonba I checked the serial outputs in D/ but actually they don't have NaNs. Also @sbryngelson I tried openmpi/4.0.2-intel20.4 but still NaNs occur.

I tried to figure out what happens in test 555332334 and I found that the NaNs actually occur at the first time step when populating buffers in s_populate_conservative_variables_buffers in m_rhs.fpp.
In this subroutine, global parameters bc_s%beg and bc_s%end are used for s-direction (s = x, y, or z) to populate buffers based on BCs. However, in the subroutine, the values for these parameters are 0, although they should be some negative integers. So the subroutine does not assign appropriate values to q_cons_qp in buffer regions, which leads to NaNs.
Indeed, bc_x, bc_y and bc_z are 0 at several other subroutines only outside m_start_up.fpp where we read inputs from case.py. But since s_populate_grid_variables_buffers is located in m_start_up.fpp, there was no problem on populating buffer grids. Also, buff_size behaves well as a global parameter. I think this is why we don't get segmentation fault but get NaNs.
Still I am not sure why this happens for intel compilers, so I keep looking into this issue but I just wanted to share. Any suggestions would be appreciated!

I can't get any of the Intel compilers to work on Bridges2... any ideas anyone? @henryleberre @anshgupta1234

I tried intel compiler with optimization level O0 (no optimization) by adding a line of code add_compile_options(-O0) in CMakeLists.txt (https://github.com/MFlowCode/MFC/blob/master/CMakeLists.txt#L107). This change makes all tests pass on Bridges2. Default optimization level for intel compiler is O2. So, I think there is some problems with intel compiler optimization.

@lee-hyeoksu Thanks, this is helpful to know. I have moved discussion of this problem to an issue: https://github.com/MFlowCode/MFC/issues/156 . I may create a separate issue if intelmpi modules create a different problem.

authors: lee-hyeoksu sbryngelson wilfonba

repo: MFlowCode/MFC


text:
"allowNull: false" property not working in a one-to-many relationship

Model A definition:
const { DataTypes } = require("Sequelize");

Foo.hasMany(Bar);
Bar.belongsTo(Foo, {
  allowNull: false
});

The migration that gets generated is:
{
    fn: "addColumn",
    params: [
      "Bar",
      "FooId",
      {
        type: Sequelize.INTEGER,
        field: "FooId",
        onUpdate: "CASCADE",
        onDelete: "SET NULL",
        references: { model: "Foo", key: "id" },
        allowNull: true,               //This should have been set false. But is true instead
      },
      { transaction },
    ],
  }

My Bad. The allowNull property should go in a foreignKey object.
As per sequelize-cli documentation

the foreignKey option accepts a string or an object. When receiving an object, this object will be used as the definition for the column just like it would do in a standard sequelize.define call. Therefore, specifying options such as type, allowNull, defaultValue, etc, just work.

Updating the Bar definition to the below definition solves the problem.
Bar.belongsTo(Foo, {
  foreignKey: {
    allowNull: false
  }
});

repo: MRVMV/sequelize-mig


text:
parser is too whitespace sensitive

Use of string.split(" ")[x] to reference parts of the message leads to the commands being sensitive to the number of spaces between parameters which is difficult to spot on screen.
So, using . as space here for clarity: "!tip..@username..5" fails as the username is parsed as a space.
better to use regex as shown here: https://blog.abelotech.com/posts/split-string-into-tokens-javascript/

My apologies, I think I have the wrong project, there is definitely a tip bot on discord exhibiting this behavior and I thought ( after a too brief scan of code ) that line 162 of bot.js was the cause. If msg.content already arrives tokenised with single spaces between words then that line ( and others like it such as 19 ... 24 in dogeTipper.js )  won't be a problem but if it's the raw text that the user typed then it may bite on occasion.

well for the member it jsut grabs msg.mentions.first() and whatever the next word is the amount o think it skips spaces and null values so no matter how many spaces the second value in the array should be the number

authors: MSFTserver Zedsquared

repo: MSFTserver/TipBot


text:
Documentation: lwesp is mentioneed instead of lwgsm

Get started documentation mentions (and links) to the lwesp project instead of lwgsm.

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

authors: CLAassistant straend

repo: MaJerle/lwgsm


text:
brew formula needs to have bottles

The command brew tap madbomber/brews is working with an install like brew install --build-from-source justprep
Greg was able to get bottles setup in his formula.  I'm guessing that it had something to do with a github workflow action.

There is a significant amount of hand updating of the Formula that has to be done.  I;m thinking that a lot of this can be automated... if it isn't already and I just don't understand.
I could really use some help in this area.

repo: MadBomber/justprep


text:
Error when removing combatants from initiative list

When clicking the skip button on the GM console to remove someone from the initiative list, the mapper client throws an error stating "key '6' is not known in dictionary" from ::gmaclock::set_initiative_slots

Fixed in 4.3.3

repo: MadScienceZone/gma-mapper


text:
Switching Postgres database into seperate environment's Railway-hosted database for rtapp.tk

<!--
start: 2021-05-20T12:50:00.000Z
end: 2021-05-21T13:30:00.000Z
expectedDown: public-link-shortener-powered-by-thedevs-network-kutt
-->

Update: The maintenance window has been extended by one more day to ensure everything is fine. We may start over again and manually import all the data.

Update: Importing of DB data from old Postgres instance is finished. Actually, we'll use this time to move our infrastructure for the sortlink service to Railway for us to proxy it behind Cloudflare's network.
We'll move the configuration first to Railway, then we'll automate the process of deployment process from development (may changed to staging probably) to production through the Pull app. Then configure the root DNS record for rtapp.tk to the Railway one (we don't need to worry about DNS spec violations because Cloudflare will handle it through CNAME flattening). And finally nuke the instance from Divio.
There are still some issues such as default domain and emails is undefined across the UI. (Hard-coding isn't fun), so we have implemented some console.log chaos in an meanwhile.

Update: Our Kutt instance will be come back online within the next few hours, as we configure deployment triggers in Railway, among other things.

Update: The migration process has been finished and everything is fine.

repo: MadeByThePinsHub/are-we-down


text:
How to speed up Family Finding with process_kmer_to_graph.py?

Dear Cogent developer,
Thanks for  Cogent which makes recontruct the contig for each gene possible.
Recently I have test Cogent with my isoseq data. But when I use  process_kmer_to_graph.py to do the 'Family Finding', it really spends too much time and memory.  I have tracked my  process_kmer_to_graph.py process and found that it only took one cpu. So I wonder if there any way to speed up the 'Family Finding' with multiple cpus?
Many thanks for your reply!

Hi,
I am aware of this issue and working on an alternative way to identify gene families. I hope to release it in a week or two. I'll post to this issue and update the repo when it's ready!
Thanks,
--Liz

@Magdoll  Thanks a lot！Look forward to your new version of the release！

Hi @52teth ,
Cogent version 2.0 has just been pushed to GitHub.
You will need to install the new version and additionally, follow instructions here for installing minimap and Cupcake.
Afterwards, you can follow the tutorial on family finding for big datasets.
This is still experimental, so please let me know how it goes.
Thanks,
--Liz

@Magdoll  Thanks a lot! I  will try it with my Isoseq data!

repo: Magdoll/Cogent


text:
🛑 Nitter (nitter.net) is down

In a597b93, Nitter (nitter.net) (https://nitter.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nitter (nitter.net) is back up in 3072b39.

repo: Magic-Services/upptime


text:
🛑 Nitter (nitter.net) is down

In 0e0f5c6, Nitter (nitter.net) (https://nitter.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nitter (nitter.net) is back up in aff9aa2.


text:
🛑 Libreddit (libreddit.spike.codes) is down

In 984450c, Libreddit (libreddit.spike.codes) (https://libreddit.spike.codes) was down:

HTTP code: 502
Response time: 24439 ms

Resolved: Libreddit (libreddit.spike.codes) is back up in e396057 after 37 minutes.


text:
Investigate the neutral bounty target faction

In L&L, Corporate Espionage:

L&L bounties need to be updated to use new faction.

repo: MagicLibStarsector/MagicLib


text:
Request only required information instead of all

Hopefully this solves the problem with arm64 (reported in PR #3337).

node@raspberrypi:/opt/magic_mirror$ npm start

> magicmirror@2.27.0-develop start
> DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js

[07.01.2024 22:36.05.347] [LOG]   Starting MagicMirror: v2.27.0-develop
[07.01.2024 22:36.05.375] [LOG]   Loading config ...
[07.01.2024 22:36.05.379] [DEBUG] config template file not exists, no envsubst
[07.01.2024 22:36.05.853] [ERROR] Whoops! There was an uncaught exception...
[07.01.2024 22:36.05.856] [ERROR] Error: write EFAULT
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at WriteStream._writeGeneric (node:net:931:11)
    at WriteStream._write (node:net:943:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at WriteStream.write (node:internal/streams/writable:337:10)
    at execSync (node:child_process:981:20)
    at node:electron/js2c/asar_bundle:2:12708
    at getFQDN (/opt/magic_mirror/node_modules/systeminformation/lib/osinfo.js:171:22)
    at /opt/magic_mirror/node_modules/systeminformation/lib/osinfo.js:219:15
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
  errno: -14,
  code: 'EFAULT',
  syscall: 'write'
}
[07.01.2024 22:36.05.858] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[07.01.2024 22:36.05.859] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues
[07.01.2024 22:36.05.862] [LOG]   Loading module helpers ...
[07.01.2024 22:36.05.865] [LOG]   No helper found for module: alert.
[07.01.2024 22:36.05.884] [LOG]   Initializing new module helper ...
[07.01.2024 22:36.05.886] [LOG]   Module helper loaded: updatenotification
[07.01.2024 22:36.05.899] [LOG]   No helper found for module: clock.
[07.01.2024 22:36.06.106] [LOG]   Initializing new module helper ...
[07.01.2024 22:36.06.107] [LOG]   Module helper loaded: calendar
[07.01.2024 22:36.06.109] [LOG]   No helper found for module: compliments.
[07.01.2024 22:36.06.111] [LOG]   No helper found for module: weather.
[07.01.2024 22:36.06.314] [LOG]   Initializing new module helper ...
[07.01.2024 22:36.06.315] [LOG]   Module helper loaded: newsfeed
[07.01.2024 22:36.06.316] [LOG]   All module helpers loaded.
[07.01.2024 22:36.06.334] [LOG]   Starting server on port 8080 ...
[07.01.2024 22:36.06.340] [WARN]  You're using a full whitelist configuration to allow for all IPs
[07.01.2024 22:36.06.359] [LOG]   Server started ...
[07.01.2024 22:36.06.361] [LOG]   Connecting socket for: updatenotification
[07.01.2024 22:36.06.362] [LOG]   Starting module helper: updatenotification
[07.01.2024 22:36.06.363] [LOG]   Connecting socket for: calendar
[07.01.2024 22:36.06.365] [LOG]   Starting node helper for: calendar
[07.01.2024 22:36.06.366] [LOG]   Connecting socket for: newsfeed
[07.01.2024 22:36.06.367] [LOG]   Starting node helper for: newsfeed
[07.01.2024 22:36.06.368] [LOG]   Sockets connected & modules started ...
[07.01.2024 22:36.06.717] [ERROR] Whoops! There was an uncaught exception...
[07.01.2024 22:36.06.719] [ERROR] Error: write EFAULT
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at WriteStream._writeGeneric (node:net:931:11)
    at WriteStream._write (node:net:943:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at WriteStream.write (node:internal/streams/writable:337:10)
    at execSync (node:child_process:981:20)
    at node:electron/js2c/asar_bundle:2:12708
    at Object.getCodepage (/opt/magic_mirror/node_modules/systeminformation/lib/util.js:562:24)
    at /opt/magic_mirror/node_modules/systeminformation/lib/osinfo.js:256:34
    at ChildProcess.exithandler (node:child_process:438:5)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:514:28) {
  errno: -14,
  code: 'EFAULT',
  syscall: 'write'
}
[07.01.2024 22:36.06.722] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[07.01.2024 22:36.06.723] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues
[07.01.2024 22:36.06.796] [ERROR] Whoops! There was an uncaught exception...
[07.01.2024 22:36.06.798] [ERROR] Error: write EFAULT
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at WriteStream._writeGeneric (node:net:931:11)
    at WriteStream._write (node:net:943:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at WriteStream.write (node:internal/streams/writable:337:10)
    at execSync (node:child_process:981:20)
    at node:electron/js2c/asar_bundle:2:12708
    at /opt/magic_mirror/node_modules/systeminformation/lib/system.js:64:21
    at ChildProcess.exithandler (node:child_process:422:7)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:514:28)
    at Pipe.<anonymous> (node:net:323:12) {
  errno: -14,
  code: 'EFAULT',
  syscall: 'write'
}
[07.01.2024 22:36.06.799] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[07.01.2024 22:36.06.800] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MagicMirrorOrg/MagicMirror/issues
[07.01.2024 22:36.06.813] [LOG]   Launching application.
[07.01.2024 22:36.07.184] [INFO]  System information:
### SYSTEM:   manufacturer: ; model: Docker Container; raspberry: undefined; virtual: false
### OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 5.15.76-v8+
### VERSIONS: electron: 27.2.1; used node: 18.17.1; installed node: 21.5.0; npm: 10.2.4; pm2:
### OTHER:    timeZone: Europe/Berlin; ELECTRON_ENABLE_GPU: undefined
[07.01.2024 22:36.08.945] [LOG]   Create new calendarfetcher for url: https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics - Interval: 604800000
[07.01.2024 22:36.09.111] [LOG]   Create new newsfetcher for url: https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
[07.01.2024 22:36.09.118] [INFO]  updatenotification: Updater Class Loaded!
[07.01.2024 22:36.09.120] [INFO]  updatenotification: Checking PM2 using...
[07.01.2024 22:36.09.122] [INFO]  Checking git for module: MagicMirror
[07.01.2024 22:36.09.160] [INFO]  updatenotification: You are not using pm2
[07.01.2024 22:36.09.886] [INFO]  Newsfeed-Fetcher: Broadcasting 25 items.
[07.01.2024 22:36.10.008] [INFO]  Calendar-Fetcher: Broadcasting 12 events from https://ics.calendarlabs.com/76/mm3137/US_Holidays.ics.

node_modules/systeminformation/lib/osinfo.js:219:15
node_modules/systeminformation/lib/util.js:562:24
node_modules/systeminformation/lib/system.js:64:21

I need to get my Rasperry Pi up and running again. Apparently testing on a Debian laptop is not enough....

Except for manufacturer and raspberry, all the information is there. Can you remove them from the query?

I'll try to test on my odroid and Jetson nano

Except for manufacturer and raspberry, all the information is there. Can you remove them from the query?

see https://github.com/MagicMirrorOrg/MagicMirror/pull/3337#issuecomment-1880188013

I got this on odroid (arm7)
### SYSTEM:   manufacturer: ; model: SAMSUNG EXYNOS (FLATTENED DEVICE TREE); raspberry: undefined; virtual: false
### OS:       platform: linux; distro: Ubuntu; release: 22.04.3 LTS; arch: arm; kernel: 6.1.61-16
### VERSIONS: electron: 27.2.0; used node: 18.17.1; installed node: 18.19.0; npm: 10.2.3; pm2:
### OTHER:    timeZone: America/Chicago; ELECTRON_ENABLE_GPU: undefined

got this for /proc/cpuinfo
processor	: 0
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 84.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 3

processor	: 1
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 84.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 3

processor	: 2
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 84.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 3

processor	: 3
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 84.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xc07
CPU revision	: 3

processor	: 4
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 120.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x2
CPU part	: 0xc0f
CPU revision	: 3

processor	: 5
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 120.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x2
CPU part	: 0xc0f
CPU revision	: 3

processor	: 6
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 120.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x2
CPU part	: 0xc0f
CPU revision	: 3

processor	: 7
model name	: ARMv7 Processor rev 3 (v7l)
BogoMIPS	: 120.00
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x2
CPU part	: 0xc0f
CPU revision	: 3

Hardware	: Samsung Exynos (Flattened Device Tree)
Revision	: 0000
Serial		: 0000000000000000

authors: KristjanESPERANTO khassel sdetweil

repo: MagicMirrorOrg/MagicMirror


text:
Flyout close button icon is incorrect when setting flow direction right to left

Hello, when I use flyout in a Right-to-left window, the close button's icon keeps its direction like Left-to-right mode. It's should change. Just look at this a simple code:
<UserControl FlowDirection="RightToLeft">
    <Controls:Flyout IsOpen="True"/>
</UserControl>
Left to right

Right to left

I know I can use my custom header to fix it, but I think it's a bug, so I report it, thnx

This will be fixed and available in 1.5.0

license: mit


text:
数据分析

数据分析过程第一次挺快的，为啥之后就特别慢？特别长时间也没出来

服务器的带宽和性能很有限，经常出现一些不可预料的结果。如果想获得比较好的体验，最好是在本地运行程序。

repo: Maicius/QQZoneMood


text:
Add yarn build to getting started

yarn build is needed before setting up the daemon

Rebased on master

repo: MainframeHQ/js-mainframe


text:
NoChatReports plugin seems to break the color in nicknames

Describe the bug
Using the NoChatReports plugin will make it so the colour function of HexNicks will not work properly. This makes the colour of your chat text the same colour as your nickname.
To Reproduce
Steps to reproduce the behavior:

Install NoChatReports and HexNicks
Set your nickname and colour
Type something in chat

Expected behavior
Only the colour of the Nickname should change.
Screenshots

Software (please complete the following information):

Server Implementation: Paper
Minecraft Version: 1.20.1
Java Version: 17
Plugin Version: 3.1.1

Additional context
Don't think I have anything else to add.

Don't use NoChatReports, use FreedomChat instead.

repo: MajekDev/HexNicks


text:
Create CNAME

https://github.com/js-org/dns.js.org/pull/455

@indus Thanks!  However, I use generator to build gh-pages then I don't want to fix gh-pages branch directly.
I have already added CNAME in master when I opened js-org/dns.js.org#455. I'll sync both master and gh-pages as soon.

Ok? https://github.com/MakeNowJust/h.js/blob/a02cac228bb66098604bcdbe0dd758a9501d9921/CNAME

authors: MakeNowJust indus


text:
เปิด Sample code เเล้วเกิด Bug Edit code ไม่ได้

ใช้ version ใหม่แทนนะครับ

authors: Apiphoom comdet

repo: MakerAsia/KBProIDE


text:
What keycaps are in the picture on the README?

I'm sorry this is not a real issue-- I'm just enchanted with the keycaps shown in the picture. What keycaps are these?
Thanks!

Hi
The keycaps used in the photo are sold below.
https://yushakobo.jp/shop/pg1350cap-blank/

Thanks!

authors: MakotoKurauchi damouse

repo: MakotoKurauchi/helix


text:
🛑 Open Weather API is down

In eede814, Open Weather API (https://api.openweathermap.org/data/2.5/uvi?appid=$API_OPEN_WEATHER&lat=52.370216&lon=4.895168) was down:

HTTP code: 504
Response time: 828 ms

Resolved: Open Weather API is back up in 3bd36cc after 12 minutes.

repo: MamonakuCommittee/status


text:
problem with dlnacast

Hello,
I'm trying to get dlnacast working but I'm getting these errors.
dlnacast --listRenderer
osmc@osmc:~$ dlnacast --listRenderer
events.js:142
throw er; // Unhandled 'error' event
^
TypeError: Cannot read property 'root' of undefined
at /usr/lib/node_modules/dlnacast/node_modules/renderer-finder/src/RendererFinder.js:42:22
at Parser. (/usr/lib/node_modules/dlnacast/node_modules/xml2js/lib/xml2js.js:487:18)
at emitOne (events.js:78:13)
at Parser.emit (events.js:170:7)
at Object.onerror (/usr/lib/node_modules/dlnacast/node_modules/xml2js/lib/xml2js.js:308:26)
at emit (/usr/lib/node_modules/dlnacast/node_modules/sax/lib/sax.js:639:35)
at error (/usr/lib/node_modules/dlnacast/node_modules/sax/lib/sax.js:668:5)
at strictFail (/usr/lib/node_modules/dlnacast/node_modules/sax/lib/sax.js:692:7)
at closeTag (/usr/lib/node_modules/dlnacast/node_modules/sax/lib/sax.js:885:9)
at Object.write (/usr/lib/node_modules/dlnacast/node_modules/sax/lib/sax.js:1436:13)
and dlnacast --address ipaddress /path/to/file
osmc@osmc:~$ dlnacast --address 192.168.2.86 /home/osmc/test/test4.mp4
_http_client.js:27
throw new Error('Unable to determine the domain name');
^
Error: Unable to determine the domain name
at new ClientRequest (_http_client.js:27:13)
at Object.exports.request (http.js:32:10)
at Object.exports.get (http.js:36:21)
at fetch (/usr/lib/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/index.js:549:18)
at MediaRendererClient.DeviceClient.getDeviceDescription (/usr/lib/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/index.js:44:3)
at MediaRendererClient.DeviceClient.getServiceDescription (/usr/lib/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/index.js:58:8)
at MediaRendererClient.DeviceClient.callAction (/usr/lib/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/node_modules/upnp-device-client/index.js:88:8)
at MediaRendererClient.load (/usr/lib/node_modules/dlnacast/node_modules/upnp-mediarenderer-client/index.js:119:8)
at runDLNA (/usr/lib/node_modules/dlnacast/index.js:123:13)
at /usr/lib/node_modules/dlnacast/index.js:111:11
My node.js version is 5.2.0 and version of npm is 3.5.2
Any idea where should be the problem?
Thanks!

I just release a new version with a correct error handling.
This maybe don't fix the error, because the error was when trying to catch an error.
I will close this issue and if anything comes up, create a new one.

authors: ManRueda pastynko

repo: ManRueda/renderer-finder


text:
EC2 provision with Floating IP isn't associated after provision in cfme

When I do provisioning of ec2 instance and associate floating IP in provision dialog then I dont' see that floating IP after successful provision associated to instance. In AWS console it's shown correctly and associated.
In CFME I have to do manual refresh to see it associated.
I think that Floating IP association is executed right after provision so it should be autorefreshed after floating IP is associated.

@juliancheal can you look at this one?  The first comment says that it shows up correctly in AWS console after provisioning, so provisioning should be working.  Could be inventory related.

@mmojzis do you mean we are missing a catching of the event, that would refresh it? I believe we do. Not sure if @durandom worked on the NetworkManager event catcher. Otherwise, the event should be caught under a CloudManager. We definitely miss the default automate refresh hooks for network events.

Yes, that's precisely what I mean.

Not sure if @durandom worked on the NetworkManager event catcher.

nope, did not touch this.
But AWSConfig is emitting events and we just schedule a refresh.
@mmojzis could you change level_aws to debug and see if there are events logged in aws.log right after provisioning ?

@durandom right, then it can be all defined in the CloudManager event catcher, until we separate them.

I tried to reproduce it again and now I can see associating address like a minute after creating Instance, so I think it wasn't working before because of AWS was throttling...
Closing it then.

@mmojzis there can be a timing issue, when it reacts only on VM creation event, not IP association. But before it refreshes, it can fetch also the IP, if it's already there.

Ahhh, okay I will retest it later again.
EC2 acts really differently for me today...Sometimes it doesn't even autorefresh VM creation...Will try it later and then reopen it if I will be able to reproduce it.

@mmojzis best to check the events in event stream and then align it with evm.log times of refreshes

authors: Ladas blomquisg durandom mmojzis

repo: ManageIQ/manageiq


text:
[DARGA] Backports PR 11003 to darga: Hide VMs in tree

Overview
This squashes and backports the following two commits to the darga
branch:
40c88201d2dc76d755ae559445e60ab70b2891b5
8352bfac405a33a3ea3e8fc08420d35f6a1b02c0

40c88201d2dc76d755ae559445e60ab70b2891b5
Original Commit Message
Tree views - skip bringing back vms in tree

Summary
Given the user setting is enabled to do so (currently no UI provided to do so), this will allow for hiding VMs (leaf nodes) in trees, preventing a lot of records from being displayed.  If the VMs are needed, the parent folder can be selected, and the specific VM can be selected from a paginated list from there.
8352bfac405a33a3ea3e8fc08420d35f6a1b02c0
Original Commit Message
Filter relationship rels before fetching them

Works well for tree nodes, not so good for middle nodes

Summary
Adds some (smaller) performance benefits to trees regardless if VMs are hidden or not.
Metrics
A big thing to be aware of is that there are some savings (with little risk) when just applying the changes from the second commit:
Darga Base
/vm_infra/explorer
|      ms | queries | query (ms) |     rows |
|    ---: |    ---: |       ---: |     ---: |
|   28632 |     310 |       1897 |   166470 |
|   14952 |     294 |       1866 |    84368 |
|   15652 |     294 |       1879 |    84368 |

Note:  https://github.com/ManageIQ/manageiq/pull/13163 is also applied with these next two sets of numbers
Without Hiding VMs
/vm_infra/explorer
|      ms | queries | query (ms) |     rows |
|    ---: |    ---: |       ---: |     ---: |
|   20234 |     368 |       4029 |   106002 |
|   12911 |     287 |       2867 |    54166 |
|   10965 |     266 |       2179 |    54139 |

But when you change the line:
display_vms = true if display_vms.nil?

to:
display_vms = false if display_vms.nil?

You see "master-like" improvements.
With Hiding VMs
/vm_infra/explorer
|     ms | queries | query (ms) |    rows |
|   ---: |    ---: |       ---: |    ---: |
|   4650 |     379 |       1578 |   19552 |
|   2246 |     266 |        284 |   10909 |
|   2028 |     266 |        226 |   10909 |

Pros/Cons and other notes

#11003 is a prerequisite to https://github.com/ManageIQ/manageiq/pull/11387
https://github.com/ManageIQ/manageiq/pull/11387 was built on top of this PR, and does far more sweeping changes to the trees in general and adds a UI for setting the User setting for hiding VMs.  This also defaults that setting to "hide VMs", which wasn't the case in #11003, which is originally why we didn't see as big of an improvement.
https://github.com/ManageIQ/manageiq/pull/11387 also is built on top of https://github.com/ManageIQ/manageiq/pull/10767 , which ripped out dynatree for the patternfly equivalent.  There is a lot in 11387 that isn't relevant for darga.
There are some bugs when #11387 is applied that didn't present themselves when enabling hiding VMs by default in this #11003, and some differences/regressions with #11003 as well

#11387 Refreshing a VM show page after navigating to it will actually show the contents for the parent folder.  This would be confusing for a end user, but this is because #11387 attempts to expand the /vm_infra/explorer tree for the user for context, and only can go down to the parent folder (again, because we are hiding VMs)
#11003 in contrast (when VMs are hidden) will not expand the tree at all.  Also, I (@NickLaMuro) personally don't know how doing that would be accomplished in dynatree, and attempting to do so when attempting to backporting #11387 was tricky.

Both #11387 and #11003 (with the vms hidden) change default behaviour of the tree, and if the user is not expecting it, could be confusing.  But the performance gains are significant, so that might outweigh confusion.

Links

https://bugzilla.redhat.com/show_bug.cgi?id=1405452

Note: #13163 is also applied with these next two sets of numbers
Without Hiding VMs

@NickLaMuro sorry, do you know what the numbers are for this PR alone, in other words:
before: darga + 13163
after: darga + 13163 + 13177

@jrafanie yeah sure, I can get some numbers.  Give me a few to do it.

While this change does improve performance, given the existing performance has been acceptable (hot fix not required) I agree with @jrafanie the risk incurred by back porting it not worth the gains.

authors: NickLaMuro dmetzger57 jrafanie


text:
Update gettext_i18n_rails_js to 1.3.0

This version supports extracting gettext strings from both .js and .jsx files (needed for v2v).

@miq-bot add_label gaprindashvili/no, internationalization
So.. sounds like a good idea :)
But: running rake gettext:find gives me manageiq.pot with:

master: 42836 lines, 1.3M
this pr: 2561 lines, 68K

authors: himdel mzazrivec


text:
fix rake issue

on second start appears error:
...
server started
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
.../gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
and DB migration is not executed

Backported to petrosian in commit 5864bb68cb25975e3266f0b7388a52d156ba309b.
commit 5864bb68cb25975e3266f0b7388a52d156ba309b
Author: Brandon Dunne <brandondunne@hotmail.com>
Date:   Thu Mar 23 14:31:09 2023 -0400

    Merge pull request #22422 from klim-iv/master

    fix rake issue

    (cherry picked from commit 697e0dae40868fd92bba6a55daebf00957e133db)

authors: Fryguy klim-iv


text:
[WIP] Fix catalog nil workflow exceptions

For catalog requests, an exception is thrown when the workflow is nil
It is rare but happens.
While, this just masks the error, it is the same behavior that happened
before introducing this refactoring and seems to be working fine.
(@edit || @options)[:wf] is nil for:
app/controllers/application_controller/miq_request_methods.rb:524:in tag_symbol_for_workflow' app/controllers/application_controller/miq_request_methods.rb:761:in prov_set_show_vars'
app/controllers/catalog_controller.rb:1682:in get_node_info' app/controllers/catalog_controller.rb:1770:in replace_right_cell'
app/controllers/catalog_controller.rb:312:in `tree_select'
fixes #3323
/cc @gmcculloug didn't see this PR from you. putting in there to have the conversation

@dclarizio We were seeing the tag_symbol_for_workflow method called from the controllers many times for service_templates that have workflows but before the workflow object is loaded causing a NoMethodError for nil to be raised.
This change is just dealing with the nil workflow and returning the most common key value as the callers are expecting a key back.  We could merge this to resolve the reported issue, but it might be worth having someone look into why we are making these calls without having the workflow object loaded.

to clarify. this is not WIP - but rather in discussions.

@kbrock, i looked into the lines of code in question and found that back in 5.3.z codebase instead of @edit/@options, options[:wf] was being used to determine the tag symbol, pasting the code snippet from 5.3.z codebase, this code was refactored by @brandondunne in commit SHA: 54f269d0faa0613e2562271549a1bc0fd69aac42
fld = options[:wf].kind_of?(MiqHostProvisionWorkflow) ? "tag_ids" : "vm_tags"
@options["#{fld}".to_sym] = Array.new if @options["#{fld}".to_sym].nil?   #Initialize if came back nil from record
build_tags_tree(options[:wf],@options["#{fld}".to_sym],false) if @miq_request.resource_type != "VmMigrateRequest"

Thanks @h-kataria
The original code did not properly calculate fld:
fld = options[:wf].kind_of?(MiqHostProvisionWorkflow) ? "tag_ids" : "vm_tags"

I changed the code to ask the workflow for the proper value for fld:
options[:wf].tag_symbol_for_workflow

It turns out, the workflow can sometimes be nil. Instead of hiding this error, we now throw an exception.
The original code blown out to show the error:
if options[:wf].nil? # eat a nil workflow (in original code but not new code)
  fld = "vm_tags"
else # the more obvious portion of the original code
  if options[:wf].kind_of?(MiqHostProvisionWorkflow)
    fld="tag_ids"
  else
    fld="vm_tags"
  end
end

We are wondering, why is the workflow nil? Do we want to get to the bottom of it? Is it ok and we should just gloss over this error? (We used to gloss over the error. Maybe that is good enough)
@gmcculloug is hoping we can get to the bottom of it rather than just hiding the error again. Personally, after spending too much time on this bug, I'm happy to hide it until the next time we refactor the workflow code.

@kbrock notice that prior code was using wf from the local variable options that was just created few lines above and @options is being set to @miq_request.get_options that does not have a workflow object, it just has all the field values of all dialogs in the request. Maybe wf object should be passed in by all callers of tag_symbol_for_workflow. But i think we can go with what you have now until next round of refactoring, I verified the fix in UI seems to be working fine.

authors: gmcculloug h-kataria kbrock


text:
Refactor session timezone for userid

pulled out of #3793

simplify get_timezone_for_userid
fix bug where "UTC" came back instead of system default
set_user_timezone now calls get_timezone_for_userd with current_user

/cc @chessbyte
/cc thanks @matthewd

@chessbyte  The trick is to look at get_timezone_for_userid when user = nil:
def get_timezone_for_userid(user = nil)
  user = User.find_by_userid(user) if user.kind_of?(String)
  tz = user && user.settings.fetch_path(:display, :timezone).presence
  tz || MiqServer.my_server.get_config("vmdb").config.fetch_path(:server, :timezone) || "UTC"
end

# user = nil :
def get_timezone_for_userid(nil)
  # skip
  tz = nil
  nil || MiqServer.my_server.get_config("vmdb").config.fetch_path(:server, :timezone) || "UTC"
end

get_timezone_for_userid(nil)
# ==>
MiqServer.my_server.get_config("vmdb").config.fetch_path(:server, :timezone) || "UTC"`

Knowing that, lets look at set_user_time_zone:
# one:
def set_user_time_zone
  @tz = if session[:userid].present? || params[:user_name].present?
          get_timezone_for_userid(session[:userid] || params[:user_name])
        else
          MiqServer.my_server.get_config("vmdb").config.fetch_path(:server, :timezone)
        end
  @tz ||= 'UTC'
  session[:user_tz] = Time.zone = @tz
end

# two:
def set_user_time_zone
  @tz = if session[:userid].present? || params[:user_name].present?
          get_timezone_for_userid(session[:userid] || params[:user_name])
        else
          get_timezone_for_userid(nil) ## here
        end
  @tz ||= 'UTC'
  session[:user_tz] = Time.zone = @tz
end

# three:
def set_user_time_zone
  user = session[:userid] || params[:user_name] if session[:userid].present? || params[:user_name].present?
  @tz = if user
          get_timezone_for_userid(user)
        else
        n get_timezone_for_userid(nil)
        end
  session[:user_tz] = Time.zone = @tz
end

# four:
def set_user_time_zone
  user = session[:userid] || params[:user_name]
  @tz = get_timezone_for_userid(user)
  session[:user_tz] = Time.zone = @tz
end

And @matthewd some how read my mind and finished the nail into the coffin here by not passing in a userid, but rather passing in the actual user object:
def set_user_time_zone
  user = current_user || (params[:user_name].presence && User.find_by_userid(params[:user_name]))
  session[:user_tz] = Time.zone = @tz = get_timezone_for_userid(user)
end

Now the goal is to replace the 2nd caller of get_timezone_for_userid(String) with get_timezone_for_userid(user) and remove the user = User.find_by_userid(user).
I'll pull that out of #3793 as a separate PR.


text:
Add "Show full screen Report" option to report results.

https://bugzilla.redhat.com/show_bug.cgi?id=1282553
just an update to the menu definition yaml

@martinpovolny Saved Reports -> All Saved Reports -> Policy events for last week: the show full screen report button is available when no report is selected & it throws an exception when clicked.

authors: martinpovolny skateman


text:
Added the activerecord-session_store gem

As of https://github.com/rails/rails/commit/0ffe19056c8e8b2f9ae9d487b896cad2ce9387ad the session store was extracted into a gem. We need it for the session_store: sql functionality.
https://bugzilla.redhat.com/show_bug.cgi?id=1300018

@Fryguy @gtanzillo

Do we even need session_store in the database anymore?  Let's just :scissors: it.  @dclarizio ?

Also MemoryStore is probably not need either, except for maybe tests

This is still required for people looking to use load balancing.

Oh well...I tried to get a free :scissors: :D

:+1:

:+1:

Can we write a spec or something around this so we can avoid it being a problem in the future?

authors: Fryguy carbonin gtanzillo


text:
PatternFly updated to v3.6.0

https://www.pivotaltracker.com/projects/1613907/stories/123185521

@dclarizio Tested. Looks good.

:shipit:

authors: epwinchell skateman


text:
Installation script runs into an error

I must be missing something, but when running the ./run-development.sh file to install the plugin, I get an error message saying "autoreconf: not found. Is there any way around the issue, and more probably what am I not seeing...?

That script is only for when working on this code; you should be following the build instructions in the README to truly install the software.
The error message also explains the problem; you are missing some of the dependencies mentioned in the README. 🙂
This isn't an issue with the program, so I'll close this one. Feel free to ask for help under Discussions if you need further assistance.

authors: Mange NilEoe

repo: Mange/rofi-emoji


text:
get rid of CONFIG dicts

Motivation
CONFIG dicts in manim classes are hard to debug, cannot be documented, and are an all around Bad Thing.
Explanation for Changes
Basically, every key in a CONFIG dict has been converted to a __init__ argument.
Testing Status
Local pass.
Further Comments
This is WIP. @cobordism and I are going to keep working on this.
This is a second try of #648. In that PR, I tried removing some keys from Mobject and its derivatives, and left some others intact. This proved to be the wrong approach. I know understand that CONFIG should be removed from a class as well as from all its ancestors at the same time.
In #648, I made the mistake of removing some positional arguments and turning them into keyword-only arguments. I've tried my best to be more careful here.
I believe that this does not actually introduce breaking changes. But even if it does, we have to discuss what kind of breaking changes we are comfortable with introducing, because CONFIG dicts must go sooner rather than later.

Status update:
All CONFIGs and all digest_config have been removed.
All variables previously in the CONFIG dict are now keyword arguments to __init__ and are then set as object attributes.
This makes for some very large __init__ signatures and there is plenty of scope to clean this up, but the point is, this cleanup is now possible. You no longer run the risk of breaking something far away by refactoring the internals of one class.
All tests pass, all docs build - some have been rewritten themselves, specifically we removed all CONFIGs from the docstrings too.
An error message was added to Container.__init__ and Animation.__init__ if a CONFIG is present warning people to use keyword arguments instead.

I believe so. @cobordism I think we can close this, no?

authors: cobordism leotrs

repo: ManimCommunity/manim


text:
Live-Thumbnail generation when project is already open

Currently, all thumbnails are generated before the video editor opens.
I think it would be nice, when one could directly start working without the waiting time, and only dummy-tumbnails are used for the beginning, which are updated on the fly.

The problem here is that the html buffer player I'm using requires fragmented videos, which have to be created too. That actually takes longer than the thumbnail generation.
There is an alternative, the fallback loader, which doesn't require the videos to be fragmented. But you would still have to copy the videos so the advantage wouldn't be too big.
I think a big part of the problem can already be solved with a better updating system, which only updates the videos that have changed.
And what you're suggesting, asynchronous thumbnail generation and loading, is...not easy, to put it in mild words. For a luxury feature like this I don't really have the resources atm. Sorry

Hi Chris, thanks for your message!
I don't have much experience in web-dev, so my naive idea was that this could be implemented in a few minutes.
But as you already do a lot of great work here, I don't think this is something you should waste your time on.
Also, a better updater system might already reduce the loading time a lot, as you say, so I am closing this issue :)

Thanks for the motivation-boost!
But we can keep the PR open, we might reach a point at which we have the capacity or absolute necessity to implement this.
Or we find a simple way of doing it which I haven't thought of yet.


text:
Add Texas' flag

Reminded me of Chile's :)

@domspad Thank you for contributing! :smile:

authors: ManrajGrover domspad

repo: ManrajGrover/SingleDivProject


text:
Dictionaries are only supported with string keys

First of all, thanks for this great project! It saves me a lot of time and works better than AutoMapper in my use case.
I just have a small problem: Why does the DictionaryAdapter only support dictionaries with string keys? Any reason why integers or longs are not supported?
I saw a place where this is hard coded a second time, too.
If I ignore all of that and try to use a IDictionary<int,> anyway, I'll run into an exception:
Mapster.CompileException : Error while compiling
source=ParentImplementationA
destination=ParentImplementationB
type=Map
  ----> Mapster.CompileException : Error while compiling
source=System.Collections.Generic.IDictionary`2[System.Int32,BaseChild]
destination=System.Collections.Generic.IDictionary`2[System.Int32,BaseChild]
type=Map
  ----> System.ArgumentException : Incorrect number of arguments supplied for call to method 'BaseChild get_Item(Int32)'
Parameter name: property
   at Mapster.TypeAdapterConfig.CreateMapExpression(CompileArgument arg, Boolean allowNull)
   at Mapster.TypeAdapterConfig.CreateMapExpression(TypeTuple tuple, MapType mapType)
   at Mapster.TypeAdapterConfig.CreateDynamicMapExpression(TypeTuple tuple)
   at Mapster.TypeAdapterConfig.<GetDynamicMapFunction>b__63_0[TDestination](TypeTuple tuple)
   at Mapster.TypeAdapterConfig.AddToHash(Hashtable hash, TypeTuple key, Func`2 func)
   at Mapster.TypeAdapterConfig.GetDynamicMapFunction[TDestination](Type sourceType)
   at Mapster.TypeAdapter.Adapt[TDestination](Object source, TypeAdapterConfig config)
   at ...

I wrote a short test case for that:
        [Test]
        public void MapsterTest()
        {
            Mapster.TypeAdapterConfig<BaseParent, ParentImplementationB>.NewConfig();
            Mapster.TypeAdapterConfig<ParentImplementationA, ParentImplementationB>.NewConfig();

            Mapster.TypeAdapterConfig<BaseChild, ChildImplementationB>.NewConfig()
                .ConstructUsing(src => new ChildImplementationB());
            Mapster.TypeAdapterConfig<ChildImplementationA, ChildImplementationB>.NewConfig()
                .ConstructUsing(src => new ChildImplementationB());
            Mapster.TypeAdapterConfig.GlobalSettings.ForDestinationType<BaseChild>()
                .ConstructUsing(() => new ChildImplementationB());

            Mapster.TypeAdapterConfig.GlobalSettings.ForDestinationType<IDictionary<int, BaseChild>>()
                .ConstructUsing(() => new Dictionary<int, BaseChild>()); // shouldn't be required when it's handled by the DictionaryAdapter.

            var testParent = new ParentImplementationA();
            testParent.Name = "foo";
            testParent.Children.Add(new ChildImplementationA { ChildName = "bar" } );
            testParent.SomeDictionary.Add(2, new ChildImplementationA { ChildName = "in dictionary"});

            var adapted = testParent.Adapt<ParentImplementationB>();
            Assert.That(adapted, Is.TypeOf<ParentImplementationB>());
            Assert.That(adapted.Children, Has.Count.EqualTo(1));
            Assert.That(adapted.Children.First(), Is.TypeOf<ChildImplementationB>());
            Assert.That(adapted.SomeDictionary, Contains.Key(2));
            Assert.That(adapted.SomeDictionary[2], Is.TypeOf<ChildImplementationB>());
        }

    public class BaseParent
    {
        public string Name { get; set; }

        public ICollection<BaseChild> Children { get; set; } = new System.Collections.Generic.List<BaseChild>();

        public IDictionary<int, BaseChild> SomeDictionary { get; set; } = new Dictionary<int, BaseChild>();
    }

    public class BaseChild
    {
        public string ChildName { get; set; }
    }

    public class ParentImplementationA : BaseParent { }

    public class ParentImplementationB : BaseParent { }

    public class ChildImplementationA : BaseChild { }

    public class ChildImplementationB : BaseChild { }

If there's no real reason for that, I'd like to create to pull request to fix it :)

Ah, I understand... but unfortunately I can’t expose Dictionary<int,...> in my real object model. I use adapter classes which implement IDictionary but are no regular Dictionaries.
However, I got it working locally with some little tweaks in the DictionaryAdapter. Unit tests all passed, but I’ll need to check some things when I’m back at my computer.

repo: MapsterMapper/Mapster


text:
Drag image on map control

Can you add an event or something to drag a symbol while keeping the map static? Like if I have to place a symbol from one position to another on map using drag.

In the sample Mapsui.Samples.Wpf.Editing there is dragging of vertices of polygons in edit mode. This is done by setting ZoomLock. ZoomLock only works in WPF so far, so if you work on another platform this won't work.

Got it. Thank you.

Yes, ZoomLock and PanLock will be available in 2.0. It is expected in the next beta.

Will this be available for Mobile?

ZoomLock and PanLock can be used on all platforms. In 4.0.0-beta.9 this can be set like this MapControl.Map.Navigator.Limiter.PanLock. In 4.0.0-beta.10 (released the coming days) it will be MapControl.Map.Navigator.PanLock.

Thanks. I see that. But does the 'drag' works in Mobile? Like - can I drag pin/circle/polygon in a map?

repo: Mapsui/Mapsui


text:
Support Fixed Length Attribute for defining the starting column in order to omit some uninteresting columns

It would be great if one could have the ability to ignore certain columns within a data file. I have the use case quite often, that there is much more data in it, than I need (and sometimes it is even difficult to figure out, which sort of data those columns represent!). So it would be great if I could make the definition based upon the start column in combination with the length or even an end column.
I will try to give an example:
017xcJuan Perez           +004350011052002
005  Pedro Gomez          -123423006022004
001abRamiro Politti       -000000001022000
009klPablo Ramirez        +033213024112002
^^^
ID ^^
   not of interest
     ^^^^^^^^^^^^^^^^^^^^^
     Name
                          ^
                          not of interest
                           ^^^^^^^^^^^^^^^
                           phone number

So the resulting definition would look like this:
using FileHelpers;

[FixedLengthRecord()]
public class Customer2
{
    [FieldFixedLength(3)]
    public int CustId;

    // we would not need a field for the two column wide field
    //[FieldFixedLength(2)]
    //public string DontKnow;

    [FieldFixedLength(20, 6)] // <- 6 = Start column
    [FieldTrim(TrimMode.Right)]
    public string Name;

    // we would not need a field for the "+ / - " column
    //[FieldFixedLength(1)]
    //public string DontKnowEither;

    [FieldFixedLength(16)]
    [FieldStartColumn(27)] // or explicitly like this?
    public string Phone;
}

This would be a huge improvement!

Just use the FieldHidden attribute, look https://www.filehelpers.net/mustread/

authors: Lysander Tabgyn

repo: MarcosMeli/FileHelpers


text:
Test framework Student View - Displaying Test Results

First pass at cleaning up the student view for displaying test results in JSON format in reverse chronological order.
This involved

adding created_at and update_at timestamps to the test_results table
correcting the method for calculating marks earned
formatting the date and adding appropriate translations
styling the view (it was missing any CSS styling before)

Before

After

@david-yz-liu I've made the changes requested as well as split up the route for viewing the student interface from running the tests.
The rational behind this was to enable users to be redirected to the student_interface url after running a test and allow them to refresh the page without starting a new test run.

repo: MarkUsProject/Markus


text:
Student ui

Motivation and Context

The student experience on MarkUs has a variety of aspects that can be improved. This pull request will address some improvements that can be made, including the following:

Combining the display of marks spreadsheets and assignments in the landing page (since students need not appreciate the admin level differences in these evaluations.
Highlighting upcoming assessments before past assessments.

Your Changes

Description:

Changes to the list of assignments displayed on the home page for students.

Type of change (select all that apply):

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

Testing

Questions and Comments (if applicable)

Checklist

[ ] I have performed a self-review of my own code.
[x] I have fixed any Hound bot comments.
[ ] I have verified that the TravisCI tests have passed.
[ ] I have reviewed the test coverage changes reported on Coveralls.
[x] I have added tests for my changes.
[ ] I have updated the Changelog.md file.

Required documentation changes (if applicable)

@david-yz-liu Waiting for Travis and Coveralls, but I am unsure about the tests for the upcoming method in the case the method is called from the assignment model. I covered the cases where the student is in a grouping and not in a grouping, but I did not write any tests that check for specific section due dates, because the factory setup was a little confusing. Let me know if I need to do this, then I will try tomorrow.


text:
Bose QC25 center media button (play/pause) no longer working

OS:
macOS Sierra (10.12.1)
Issue Descriptions:
I used to be able to control this app (play/pause - and I think skipping worked too) with the media button on the cable of my Bose QC25. The headset broke and my replacement came with an android cable - so for some months I was unable to use the buttons at all. Today I swapped the cable with a colleague. Connecting with the apple cable and pressing the center button brought up a prompt to enable siri :/
I eventually enabled siri to get rid of the prompt, but now nothing happens when I short press the button. Long pressing brings up siri.
The headset volume buttons are working (turns OS volume up/down)
My feeling is that apple screwed you over somehow - maybe something to do with siri.
Steps to Reproduce:
Connect headset with play/pause button (Bose QC25 with apple cable) -> press button
Thanks for an awesome app. I waited for years for a working desktop player for google music .. this player works so well!

My feeling is that apple screwed you over somehow - maybe something to do with siri.

You are correct 👍 Apple does not allow third party applications to listen for headset buttons 😢

authors: MarshallOfSound lsim


text:
Scrobbling does not work while casting to a Chromecast.

OS:
Linux (Gentoo)
Issue Descriptions:
Scrobbling does not work while casting. The playing track shows up as currently playing on Last.fm but never actually scrobbles.
Scrobbling works while casting from from the web version of GPM with a scrobbling extension in Chrome.
Steps to Reproduce:

Enable Last.fm scrobbling and verify that it works properly through the app.
Start casting to a device and verify that the app can control the device audio.
Scrobbling does not work while casting even though scrobbling and casting work independently.

Scribbling issues are due to timing issues that have been fixed in master

authors: MarshallOfSound jaccarmac


text:
Cant Sign In

Hi there, when I try and sign into GPMDP (from the start screen) the screen goes blank for a second then goes back to the start screen on GPMDP. I've reinstalled it a few times which didn't help. I am signed in on chrome and on Google also so i have no clue what it is. Any solutions?

You don't mention which platform you are on, but removing your settings may fix the issue. It's possible the app is trying to direct you to a page that requires you to sign in again. If you're on windows try %localappdata% and %appdata% and remove the GPMDP_3 and 'Google Play Music Desktop Player` folders, then reinstall.

I have this too when switching users, macOS.  It asked me to sign in but the sign in button is just a loop to the same page.
I unchecked the 'load last page' setting and restarted, and it loaded the original user.  This time instead of switching to the desired user, I tried logging out first.  The screen went whie with a simple "Please Wait..." at the top left.  Nothing happened.
After a few minutes I restarted and it showed me the "sign in" screen again, but this time it actually worked.

authors: FluxThePirate jostrander tomblenz


text:
Blank white screen when opening it.

OS: Windows 10
Issue Descriptions: When I open it, the window is blank (white with a lovely orange border). This happened as part of the recent update. As soon as the updated player opened itself when done updating, it was blank. The changelog was there, just not anything else.
Steps to Reproduce: Update to latest version from previous version. Click on Google Play Music Desktop player shortcut in my start menu.

Can you try removing your settings temporarily by renaming them? %appdata%\Google Play Music Desktop Player\json_store\.settings.json rename to .settings.old.json and open the player and see if it's fixed.

I'm having the same issue on Linux Mint 18. Renaming the file /home/[username]/.config/Google Play Music Desktop Player/json_store/.settings.json doesn't appear to change anything.

White screen on linux may be a GPU issue. Have you tried launching with --disable-gpu?

--disable-gpu loads with the blank white screen as well.

Any console errors? Does ctrl + shift + g show a location dialog?

Any console errors?

How do I open the console? F12 and ctrl+shift+i don't seem to do anything in this case.

Does ctrl + shift + g show a location dialog?

Yes. ctrl+shift+l also opens the lyrics screen with the error message "No song is currently playing"

How do I open the console?

Control + Shift + G
Type in DEV_MODE and click Go
Then the standard console shortcuts from chrome should work 👍

Adding in that I just did a fresh install of v4.5.0 on Win10 and have run into the same issue so it's not necessarily an update issue.
Tried removing the settings file as suggested above with no improvement.

Interestingly, I no longer see the blank white screen. As such, I won't be able to help with continued console debugging. I don't think that I downloaded a new version or anything, so I'm puzzled as to why it would suddenly start working.

As soon as I typed at that I restarted my computer and it seems to have fixed the issue.
(Should have tried that before anything else.)

Sounds like everyone is fixed

Having the same problem, and it turned out to be a certificate error.
We have an inline web-filter that does SSL inspection.  This requires us to have a trusted root certificate for our organization.  Mine had gone walkabout, which quickly became evident when opening chrome, but GPMDP didn't show anything.  Resolving my cert issue, fixed the problem.

authors: MarshallOfSound curtisgibby gabagl jacobsturm jostrander mar-bre


text:
claude3新模型

https://www.anthropic.com/news/claude-3-haiku

#114

authors: MartialBE woodchen-ink

repo: MartialBE/one-api


text:
Bower integration

Thank you for sharing this! It's a fantastic technique that seems to solve a lot of problems.
One suggestion/request is to add to Bower.io for maintainability and integration into projects.

Thanks @dlewand691! You can install rfs with
bower install rfs

I've never used bower myself, so let me know if I've overlooked something.
But I may indeed add more documentation in the readme file about the installation with bower/npm/yarn.

@dlewand691, I've added some documentation. Can you check if everything works fine now?

Looks good! Thank you!

repo: MartijnCuppens/rfs


text:
Preferred guild setting

Added $guild set and $guild unset to store preferred Guild in database
If guild is set, other guild commands (like treasury or info) can be invoked without explicitly typing the guild name again

As a design choice, i think it would be better if preferred guild was per guild (server) instead of per user, since it will end up with a lot of users typing the same command in a server, no?
Mostly comes down to changing user to guild, and checking if ctx.guild is not None


text:
Create api with a dynamic id

Hi guys,
Can you help me create API with dynamic id?
GET:
example.com/products/12
=> my.api.com/products/12
example.com/products/14
=> my.api.com/products/14
I am using Kong 0.10.0
Thank you.

Closing as duplicate of #677

as a side not: in this case (parameter is the last part) you could set up an api with just a hostname or the path up to the parameter. That would work.

authors: Tieske coopr dzung1nguyen

repo: Mashape/kong


text:
🛑 Mirror is down

In bf979bd, Mirror (https://mirror.bettercrewl.ink/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mirror is back up in 136df67.

repo: MatadorProBr/BetterCrewLink-status


text:
🛑 OBS Overlay is down

In 88c3154, OBS Overlay (https://obs.bettercrewlink.app/) was down:

HTTP code: 500
Response time: 66 ms

Resolved: OBS Overlay is back up in 94a4c7d.


text:
JSON export

I find it quite convenient to write my source files in YAML. Nevertheless, JSON is sometimes easier to import.
I therefore added the possibility to export files as json.

Interesting. this allows you to import in YAML and export into JSON. I never really thought about this.
PS: Sorry for the long delay.

This feature has been pushed to version 0.3.14
Thanks for contributing. I added your name to the README. Hope that is ok.

authors: MathiasPaumgarten jGleitz

repo: MathiasPaumgarten/grunt-shared-config


text:
Proxy Issue?

Not sure what to put into proxy text file? Please help and provide examples!

proxyIP:port:user:password

dint work for me proxy,

Hello everyone,
I have developed an Outlook account generator that can successfully create Outlook accounts, and it also has the capability to send and receive emails.
You can find it here.

you got discord server or telegram?
On Sat, Dec 2, 2023 at 4:36 AM Chetan @.***> wrote:

Hello everyone,
I have developed an Outlook account generator that can successfully create
Outlook accounts, and it also has the capability to send and receive emails.
You can find it here
https://www.omkar.cloud/l/outlook-account-generator-github/.
—
Reply to this email directly, view it on GitHub
https://github.com/MatrixTM/OutlookGen/issues/28#issuecomment-1837103959,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGBNLSROWPO5Z57M3SZFWYLYHLZDHAVCNFSM6AAAAAAUC6OMWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGEYDGOJVHE
.
You are receiving this because you commented.Message ID:
@.***>

fix it.. thnks now i got another issue with captcha
On Mon, Dec 4, 2023 at 1:23 AM Chetan Jain @.***> wrote:

What Happened?
—
Reply to this email directly, view it on GitHub
https://github.com/MatrixTM/OutlookGen/issues/28#issuecomment-1837914859,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGBNLSR6NLZWIBMFWLLEF5LYHVT6NAVCNFSM6AAAAAAUC6OMWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXHEYTIOBVHE
.
You are receiving this because you commented.Message ID:
@.***>

it works without captcha solver. but when i add it it just give me
that error
On Thu, Dec 7, 2023 at 11:09 PM david diaz @.***> wrote:

fix it.. thnks now i got another issue with captcha
On Mon, Dec 4, 2023 at 1:23 AM Chetan Jain @.***>
wrote:

What Happened?
—
Reply to this email directly, view it on GitHub
https://github.com/MatrixTM/OutlookGen/issues/28#issuecomment-1837914859,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGBNLSR6NLZWIBMFWLLEF5LYHVT6NAVCNFSM6AAAAAAUC6OMWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXHEYTIOBVHE
.
You are receiving this because you commented.Message ID:
@.***>

repo: MatrixTM/OutlookGen


text:
firmware-util.sh: ./firmware.sh: line 8: syntax error: unexpected "("

Using username "root".
root@192.168.1.137's password:
##############################################
LibreELEC
http://libreelec.tv
##############################################
LibreELEC (community) Version: devel-20160720210643-#0720-g19b259b
LibreELEC git: 19b259b906aad7f2c24911f18b7d4734e37e7e44
kodi-tv:~ # cd; curl -L -O http://mrchromebox.tech/firmware-util.sh && bash firmware-util.sh
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   178  100   178    0     0    293      0 --:--:-- --:--:-- --:--:--   293
100   178  100   178    0     0    102      0  0:00:01  0:00:01 --:--:--     0
100   257    0   257    0     0    116      0 --:--:--  0:00:02 --:--:--   116
100  1007  100  1007    0     0    385      0  0:00:02  0:00:02 --:--:-- 10275
firmware-util.sh: ./firmware.sh: line 8: syntax error: unexpected "("
LibreELEC 8.0 test build. No problems with previous firmware update scripts.

You can't run either the Kodi E-Z Setup Script or the ChromeOS Firmware Utility Script from under Open/LibreELEC, since they don't have a full bash shell, and therefore don't support the functionality needed.
The previous "standalone firmware updater script" which did work under Open/LibreELEC is no longer supported, since it's not practical to do so given the range of devices supported now.

repo: MattDevo/scripts

license: Unlicense


text:
why did you switch from Leonids to Confetti?

is it just that Confetti has more active development (last commit in master is April 2019) over Leonids (last active in Sept 2018)?  Or was it for performance reasons?
just curious, thanks!

Confetti seems to be under more active development (which is especially important for the Android ecosystem). There isn't really a performance difference between the two since they both animate based on the current time and initial conditions.

ok thanks for the info! was just curious

authors: francisco-huge magneticflux-

repo: MatteoBattilana/WeatherView


text:
Superset with DuckDB engine parameters dialog gives error

Dear @Mause,
we have installed the superset with the current helm chart and also installed the DuckDB engine, it shows now in the Databases Connections dropdown. The superset version in the right menu is shown as "Version: 0.0.0-dev".
When we create a new DuckDB database without engine parameter but with "Allow DML" and call SQL-Lab we are able to use the connection settings when executing as DML statements and the data is delivered correctly:
install 'httpfs';
load 'httpfs';
SET s3_endpoint='argo-artifacts:9000';
SET s3_access_key_id='XXX';
SET s3_secret_access_key='XXX';
SET s3_url_style = 'path';
SET s3_use_ssl=false;
select count() from 's3://raw/.parquet';
However we don't want to provide the credentials in the SQL-Lab but would like to store them in the DuckDB Connector Advanced ENGINE PARAMETER dialog, we have tested the following parameter JSON strings but none of them seems to work:
Test1:
{ 	"engine_params": { 		 "connect_args":{ 				"preload_extensions": ["httpfs"], 				"config": { 				  "s3_endpoint": "argo-artifacts:9000", 				  "s3_access_key_id": "XXX", 				  "s3_secret_access_key": "XXX", 				  "s3_url_style": "path", 				  "s3_use_ssl": "False" 		  } 		} 	} }
Test2:
{ 	 "connect_args":{ 		"preload_extensions": ["httpfs"], 		"config": { 			  "s3_endpoint": "argo-artifacts:9000", 			  "s3_access_key_id": "XXX", 			  "s3_secret_access_key": "XXX", 			  "s3_url_style": "path", 			  "s3_use_ssl": "False" 		  } 	} }
We always get the same error:
An error occurred while fetching databases: "Connection failed, please check your connection settings"
In chrome debug we see:
PUT http://superset.mini.kube/api/v1/database/1 422 (UNPROCESSABLE ENTITY)
Response {type: 'basic', url: 'http://superset.mini.kube/api/v1/database/1'
When we remove the tag "engine_params" we get also the error:
File "/app/superset/sqllab/sql_json_executer.py", line 111, in execute superset raise SupersetErrorsException(  superset superset.exceptions.SupersetErrorsException: [SupersetError(message="'str' object does not support item assignment", error_type=<SupersetErrorType.GENERIC_DB
When looking at the core.py line 394 - 405 it looks like that "engine_params" is searched first, then "connect_args"
https://github.com/apache/superset/blob/master/superset/models/core.py
    params = extra.get("engine_params", {})
    if nullpool:
        params["poolclass"] = NullPool

    connect_args = params.get("connect_args", {})
    if self.impersonate_user:
        self.db_engine_spec.update_impersonation_config(
            connect_args, str(sqlalchemy_url), effective_username
        )

    if connect_args:
        params["connect_args"] = connect_args

In Connector Advanced ENGINE PARAMETER dialog, what is the specific connection string which need to be passed ?
Are the any restrictions in usage of double " or single ' quotes in the JSON string ?
Thank you very much!

In superset log we can find the following entries:
superset superset.exceptions.SupersetErrorsException: [SupersetError(message="'str' object does not support item assignment", error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 'GENERI │
│ superset 2022-12-09 10:22:57,995:WARNING:superset.views.base:[SupersetError(message="'str' object does not support item assignment", error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR:  │
│ superset Traceback (most recent call last):
│ superset   File "/app/superset/views/base.py", line 241, in wraps
│ superset     return f(self, *args, **kwargs)
│ superset   File "/app/superset/utils/log.py", line 265, in wrapper
│ superset     value = f(*args, **kwargs)
│ superset   File "/app/superset/views/core.py", line 2408, in sql_json
│ superset     command_result: CommandResult = command.run()
│ superset   File "/app/superset/sqllab/command.py", line 120, in run
│ superset     raise ex                                                                                │
│ superset   File "/app/superset/sqllab/command.py", line 102, in run
│ superset     status = self._run_sql_json_exec_from_scratch()
│ superset   File "/app/superset/sqllab/command.py", line 157, in _run_sql_json_exec_from_scratch
│ superset     raise ex                                                                                │
│ superset   File "/app/superset/sqllab/command.py", line 152, in _run_sql_json_exec_from_scratch
│ superset     return self._sql_json_executor.execute(
│ superset   File "/app/superset/sqllab/sql_json_executer.py", line 111, in execute
│ superset     raise SupersetErrorsException(
│ superset superset.exceptions.SupersetErrorsException: [SupersetError(message="'str' object does not support item assignment", error_type=<SupersetErrorType.GENERIC_DB_ENGINE_ERROR: 'GENERI

@Mause ok i debugged superset from dusk till down to finally found the following workaround:

Create DuckDB database with empty Engine Parameter + Activate Allow DML
Open SQLLab and fire the 2 commands: install 'httpfs'; load 'httpfs';
Go back and Edit the DuckDB database Engine Parameter and this time paste in the full string:
{ "connect_args":{ "preload_extensions": ["httpfs"], "config": { "s3_endpoint": "argo-artifacts:9000", "s3_access_key_id": "XXX", "s3_secret_access_key": "XXX", "s3_url_style": "path", "s3_use_ssl": "False" } } }
Save the DuckDB database -> Now from this point onwards the SQL Lab will always use the Engine Parameter

So finally it looks like that the "preload_extensions" should install the httpfs if it's not present during the first database setup otherwise the add database dialog will not add the DuckDB database.

@Mause can you approve https://github.com/Mause/duckdb_engine/pull/534 and take over the fix into the next release ?
conn.execute(f"INSTALL {extension}") before conn.execute(f"LOAD {extension}") otherwise the Superset dialog and advanced database properties will fail.

@Mause can you approve https://github.com/Mause/duckdb_engine/pull/536 and take over the fix into the next release ?
We would propose to introduce a new array install_extensions like the preload_extensions and then the user's can choose what to install and what to preload ?

Thanks for the research you've done here, I appreciate it.
Unfortunately it very much looks to me like the errors are a result of bad handing of the exceptions thrown by DuckDB within superset, and are ultimately not something we can fix from this side (and extend beyond a simple case of an extension not being installed)
As far as automatically installing certain extensions, I believe DuckDB now has this built in. If you have issues with that functionality, please raise it in that repo

authors: Mause sapcode


text:
EAS fails to build

I'm running into an issue where when I run eas build, it fails during the fastlane stage (but completes all other stages).
[RUN_FASTLANE] ▸ ** ARCHIVE FAILED **
[RUN_FASTLANE] ▸ The following build commands failed:
[RUN_FASTLANE] ▸ 	PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/XXX/Library/Developer/Xcode/DerivedData/Flashcards-clllbdytqmhqecconrenbozuffip/Build/Intermediates.noindex/ArchiveIntermediates/Flashcards/IntermediateBuildFilesPath/Flashcards.build/Release-iphoneos/FlashcardsShareExtension.build/Script-6A58BB9BADB14186B6CB8C8C.sh (in target 'FlashcardsShareExtension' from project 'Flashcards')
[RUN_FASTLANE] ▸ (1 failure)
[RUN_FASTLANE] ** ARCHIVE FAILED **
[RUN_FASTLANE]
[RUN_FASTLANE]
[RUN_FASTLANE] The following build commands failed:
[RUN_FASTLANE] 	PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/XXX/Library/Developer/Xcode/DerivedData/Flashcards-clllbdytqmhqecconrenbozuffip/Build/Intermediates.noindex/ArchiveIntermediates/Flashcards/IntermediateBuildFilesPath/Flashcards.build/Release-iphoneos/FlashcardsShareExtension.build/Script-6A58BB9BADB14186B6CB8C8C.sh (in target 'FlashcardsShareExtension' from project 'Flashcards')
[RUN_FASTLANE] (1 failure)
[RUN_FASTLANE] Exit status: 65
[RUN_FASTLANE]
[RUN_FASTLANE] +---------------------------------------+
[RUN_FASTLANE] |           Build environment           |
[RUN_FASTLANE] +-------------+-------------------------+
[RUN_FASTLANE] | xcode_path  | /Applications/Xcode.app |
[RUN_FASTLANE] | gym_version | 2.225.0                 |
[RUN_FASTLANE] | sdk         | iPhoneOS17.5.sdk        |
[RUN_FASTLANE] +-------------+-------------------------+
[RUN_FASTLANE]
[RUN_FASTLANE] Looks like fastlane ran into a build/archive error with your project
[RUN_FASTLANE] It's hard to tell what's causing the error, so we wrote some guides on how
[RUN_FASTLANE] to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
[RUN_FASTLANE] Before submitting an issue on GitHub, please follow the guide above and make
[RUN_FASTLANE] sure your project is set up correctly.
[RUN_FASTLANE] fastlane uses `xcodebuild` commands to generate your binary, you can see the
[RUN_FASTLANE] the full commands printed out in yellow in the above log.
[RUN_FASTLANE] Make sure to inspect the output above, as usually you'll find more error information there
[RUN_FASTLANE]
[RUN_FASTLANE] [!] Error building the application - see the log above
[RUN_FASTLANE] Error: The "Run fastlane" step failed with an unknown error. Refer to "Xcode Logs" below for additional, more detailed logs.
[CLEAN_UP_CREDENTIALS] Destroying keychain - /var/folders/n4/3zr0x0q53ms5xmrv23zdlx2w0000gn/T/eas-build-6f69fa91-9ebd-4f5c-b1bd-5cf1c293903b.keychain
[CLEAN_UP_CREDENTIALS] Removing provisioning profile
[CLEAN_UP_CREDENTIALS] Removing provisioning profile

Steps for reproduction:
npx create-expo-app@latest mobile
cd mobile
npm install expo-share-extension
npx expo customize metro.config.js
eas build --profile preview --platform ios --local

// ShareExtension.tsx
import { Text } from "react-native";

export default function ShareExtension() {
  return <Text>Hello</Text>;
}

// metro.config.js

// Learn more https://docs.expo.io/guides/customizing-metro
const { getDefaultConfig } = require("expo/metro-config");

/**
 * Add support for share.js as a recognized extension to the Metro config.
 * This allows creating an index.share.js entry point for our iOS share extension
 *
 * @param {import('expo/metro-config').MetroConfig} config
 * @returns {import('expo/metro-config').MetroConfig}
 */
function withShareExtension(config) {
  config.transformer.getTransformOptions = () => ({
    resolver: {
      sourceExts: [...config.resolver.sourceExts, "share.js"], // Add 'share.js' as a recognized extension
    },
  });
  return config;
}

module.exports = withShareExtension(getDefaultConfig(__dirname), {
  // [Web-only]: Enables CSS support in Metro.
  isCSSEnabled: true,
});

Has anyone come across similar issues? It would be great to get to the bottom of this, but if you have alternative approaches that work fine, I'm more than happy to use them as well.

Hi @MaxAst, thanks for getting back to me.
I was checking for logs in the wrong place, and when I found the correct set of logs, it reported that @react-native-community/cli dependency was missing, and when this was installed, it compiled correctly.
One command I found useful for debugging was:
EAS_LOCAL_BUILD_SKIP_CLEANUP=1 eas build --output dist/ios.ipa --profile preview --platform ios --non-interactive --local

and to find the Xcode logs, to check here:
Skipping cleanup, /var/folders/n4/3zr0x0q53ms5xmrv23zdlx2w0000gn/T/eas-build-local-nodejs/1416f815-4ee5-4dc0-af0d-304e3c4b4fd5 won't be removed.

under logs/ there should be a logfile with the relevant error.
When compiled correctly, you can find the ios.ipa file under /dist in your project folder.
Not sure if this is useful, but thought I would document my process for people in the future.

brilliant, thanks @HeroBrian389, definitely useful!e

repo: MaxAst/expo-share-extension


text:
Allow to set additional PDF export options

Extend the configuration options to support additional PDF options when export to pdf, like

Format
Landscape
Scale
...

This doesn't seems to be done, right?


text:
fixes reins charge damage

fixes #113

Yep, i did some testing and it turns out the ability "ends" before it does damage. so I added a wait and it fixed it.


text:
fixed: documentation: corrected spelling errors

corrected a series of spelling errors in the readme file and some of the other task files

Resolve conflicts

authors: PetraAG akwe-afriitech


text:
[1.1x-4.54] crash while exploring SSP

With mod installed, in SSP, went exploring and was killing villagers, then it crashed.
http://pastebin.com/PeZtSzLC
Not sure if it is Blood Magic, so posting there at https://github.com/WayofTime/BloodMagic/issues/1057.

Blood Magic has tagged their issue as code complete, so looks like it was on their side.

repo: McJty/RFToolsDimensions


text:
What is repository Include

Describe this repository

Its just start , primarily it is use for cancer diagnose

repo: MedDio/CANCER-DETECTOR


text:
Display different informations for the same JPEG image with and without IPTC

It's not a request, just a remark, as i guess your priority is video, and in a less mesure audio.
Just the fact of deleting the IPTC informations make MediaInfo identify differently the color space and the chroma subsampling.
As a side note, it recognize this uncompressed JPEG as lossy, but your "Compression" information display is perhaps based on the Huffman tables and in that case it's correct (Baseline DCT).
PROBLEM.zip

It's not a request, just a remark, as i guess your priority is video, and in a less mesure audio.

All issue are important

Just the fact of deleting the IPTC informations make MediaInfo identify differently the color space and the chroma subsampling.

Issue is that this is the only source of information.
Windows 10 displays files differently:

FFmpeg detects yuvj420p or yuvj444p depending of the file too (but decoding has same colors, weird; only chroma changes)

As a side note, it recognize this uncompressed JPEG as lossy, but your "Compression" information display is perhaps based on the Huffman tables and in that case it's correct (Baseline DCT).

Hum: is it really lossless? (uncompressed?) uncompressed does not mean lossless (it can be lossy if it is 444 cut to 420 uncompress), do you have a method proving that you can have the source file back when you decompress? Please provide source file, tool for converting to jpg, and tool for converting back from jpg to source file, so I can see it is lossless.

Note that I don't expect to see "true JPEG" being lossless: I read https://en.wikipedia.org/wiki/Lossless_JPEG and lossles JPEG is for JPEG-2000 reversible and JPEG-LS. I am curious about a lossless .jpg file (I don't know a lot, I don't say it does not exist, just that I don't know it).

To be honest it's was downloaded from Internet, as most of my tests file used for our media server.
I used ExifTool ans JPEG snoop to acceed to the images informations.

@JeromeMartinez If i believe this post they are difficult to get :

Lossless JPEG is most widely used in XA (cathlab) cine images. These are always grayscale, and exist as 8 or 10 bit images.

BTW, perhaps you will be interested by that sample ;) Though you have it already ?
Opus embedded in MPEGTS (i didn't even know about that before met this file and read that)
opus.ts.txt

@JeromeMartinez OK, finally an answer was given here:
http://stackoverflow.com/questions/38391049/libjpeg-and-lossless-jpeg
That make sens why they difficult to get, as a working library fully implementing the standard seem hard to find...

You also removed APP14 in lune72_noIPTC.jpg which signaled YUVK (or, more accurately it is named YCCK). That is why there is such a discrepancy. YCCK --> CMYK is not done. And ffmpeg is broken, just like our Chromium/Chrome. https://trac.ffmpeg.org/ticket/9085

This can be closed @JeromeMartinez. There is no bug here.
08CF21 FFEE - APPE - Application-specific marker 14 - Adobe (16 bytes)
08CF21  Header (4 bytes)
08CF21   Marker:                               65518 (0xFFEE)
08CF23   Fl - Frame header length:             14 (0x000E)
08CF25  Name:                                  Adobe
08CF2B  Version:                               100 (0x64)
08CF2C  flags0:                                16384 (0x4000)
08CF2E  flags1:                                0 (0x0000)
08CF30  transform:                             2 (0x02)

FFmpeg detects yuvj420p or yuvj444p depending of the file too

It is now seeing yuvj420p or yuva444p, interesting, that may be the bug I was looking for!

authors: JeromeMartinez Sami32 ValZapod

repo: MediaArea/MediaInfo


text:
MediaInfo_DLL_18.12_JavaScript

Hi all!
I have test the library with Edge and Firefox and it runs perfectly but with chrome I have the issue: "failed to asynchronously prepare wasm: failed to load wasm binary file at 'MediaInfoWasm.wasm'"
Could somebody help me?
Thanks.

Hi,
Do you run the test page from a local directory ?
Chrome don't allow javascript from file:// protocol.
Try from a web server.

Thanks g-maxime. I have test from my web server and I still have the same problem with Chrome and Opera.

Thanks in advance for your help.

If you don't put the HowToUse_Dll.html file and the MediaInfoWasm.wasm file into the same directory, you need to pass an locateFile function to the MediaInfoLib constructor.
E.g. if you put the .wasm file in a js/ subdirectory, change HowToUse_DLL.html:132 to this :
MediaInfoModule = MediaInfoLib({'locateFile': function(path, prefix) {return 'js/' + path; }, 'postRun': function() {
This is a very basic example, for more informations:
https://emscripten.org/docs/api_reference/module.html#Module.locateFile

Thans for your help.
Now I have this error:
MediaInfoWasm.js:19 CompileError: AsyncCompile: Wasm decoding failed: expected magic word 00 61 73 6d, found 28 66 75 6e @+0

28 66 75 6e = '(fun'
Maybe your server returned the content of MediaInfoWasm.js (or another javascript) instead of MediaInfoWasm.wasm.

Thanks again. I work in an .NET MVC5 project. I have the .cshtml in the views folder and the MediaInfoWasm.js and MediaInfoWasm.wasm in a diferent directory, in the root. I have use the locateFile function as you suggest but now I get and 404 (Not Found) error.

The path returned by locateFile must be absolute or relative to the path of the script creating the MediaInfoLib object, not the MediaInfoWasm.js file.
e.g. with those paths :
<server root>
-- html/
   -- HowToUse_Dll.html
-- js/
   -- MediaInfoWasm.js
-- data/
   -- MediaInfoWasm.wasm

the locateFile function  have to return '/data/' + path (absolute) or '../data/' + path (relative to html/HowToUse_Dll.html)

authors: Marijosemg g-maxime

repo: MediaArea/MediaInfoLib


text:
Add help-class File__UnCompressedSize_Helper

Fixed  #301

@pavel-pimenov please add a commit for fixing https://github.com/MediaArea/MediaInfoLib/issues/301#issuecomment-259914752 then I merge.

authors: JeromeMartinez pavel-pimenov