Unknown IPs showing up for Uplay and Steam

Describe the issue you are having

I've noticed that on Windows, most of my Steam download traffic is coming from servers that aren't my cache. I've forced my network setup to only use the DNS server running on my cache, but it seems to find some other servers.
The IP addresses I noticed a few times were:

<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>
<IP_ADDRESS>

However, reverse DNS lookup appears to show nothing for these, so I'm not quite sure where they are coming from. I'll see if lancache-dns holds dns logs.
I also noticed the same for Uplay. It was mostly coming from my cache, but occasionally, streams from some akamai servers showed up. The one I noticed was:

<IP_ADDRESS> (a23-215-100-147.deploy.static.akamaitechnologies.com)

Describe your setup?

lancachenet/lancache-dns
Are you running sniproxy

yes
DNS Configuration
docker run --restart unless-stopped --name lancache-dns --detach -p 53:53/udp -e USE_GENERIC_CACHE=true -e LANCACHE_IP=$HOST_IP lancachenet/lancache-dns:latest

Sniproxy output
Please paste the output from docker logs <sniproxy container name/id> | sed 's/.*\:443 \[//;s/\].*//' | sort | uniq -c below
<!-- If you are running sniproxy paste the output to the following command
docker logs <sniproxy container name/id> | sed 's/.*\:443 \[//;s/\].*//' | sort | uniq -c
-->
      1 cm2-lax1.cm.steampowered.com
      1 cp501-prod.do.dsp.mp.microsoft.com
      2 fe2cr.update.microsoft.com
      1 geo-prod.do.dsp.mp.microsoft.com
      1 kv501-prod.do.dsp.mp.microsoft.com
     16 nydus.battle.net
      5 slscr.update.microsoft.com
      3 sls.update.microsoft.com
      4 static3.cdn.ubi.com
      4 static8.cdn.ubi.com

Most likely video or steamed content playing in the client. Can you confirm that you are seeing that traffic on port 80?

@MathewBurnett yes, I was only looking at the ones on port 80.

The symptom is: Steam downloading at 30 MB/s, the router saying 30 MB/s being delivered to my desktop, yet only showing the cache receiving and sending 15 MB/s traffic.

Well that certainly has the smell of content

inetnum:         <IP_ADDRESS> - <IP_ADDRESS> org:             VC-2 netname:         VALVE-V4-6 status:          ASSIGNMENT source:          ARIN-GRS remarks:         **************************** remarks:         * THIS OBJECT IS MODIFIED remarks:         * Please note that all data that is generally regarded as personal remarks:         * data has been removed from this object. remarks:         * To view the original object, please query the ARIN Database at: remarks:         * http://www.arin.net/ remarks:         ****************************
RIPE record

Out of interest who is your ISP?

@MathewBurnett
Cox in Southern California. Pretty much your only option for >40 Mb around where I live.

after some manual poking about, <IP_ADDRESS> is cache11-lax1.steamcontent.com

interestingly "cache11-lax1.steamcontent.com" resolves to the cache here (i'm at the uk's largest LAN). As *.steamcontent.com is in the list. https://github.com/uklans/cache-domains/blob/5ab391af689ea575fee150587947da4bb26fbfbf/steam.txt#L23
Is your dns container up to date?

Yes, although I think I may have figured out what was going on. So, I disabled IPv6 and now all the domains appear to be resolving correctly (cache11-lax1 is in my DNS server log, etc.). I definitely haven't setup up DNS caching for IPv6, and I know my Linux box isn't using DNS over IPv6, even though it definitely is using IPv6 for other things.

I'm going to close this because of that. I'll open an issue with lancachenet about DNS on IPv6.

you might find that disabling ipv6 has down/up'd your connection and flushed your dns

I left it downloading for a bit with IPv6 off, didn't see any IPs on 80 other than my cache server. I went and turned it back on, ran /flushdns and within 30 or so seconds they started popping back up under Steam.exe.

oh, well, found this: https://github.com/lancachenet/lancache-dns/issues/24
Looks like it's a wontfix for IPv6 =/

I'm curious. Please clarify for me;
You're saying that with IPv6 turned on, with your PC using the lancache-dns image as it's DNS server, you are finding that downloads from steam are sometimes going to completely different IPv4 addresses?

@teknoman117
Following up on that. I'd argue that the issue here is not that IPv6 is turned on, but that your IPv6 DNS settings are not pointing at lancache-dns. Could you expose lancache-dns over IPv6 and use that as your IPv6 DNS server?

I've been getting a bunch of problems with ubisoft connect not using lancache and it using a184-84-165-138.deploy.static.akamaitechnologies.com and a184-84-165-138.deploy.static.akamaitechnologies.com instead, but I don't have IPv6 and IPv6 is disabled entirely on my network...


running virtual environment script when analyzing a file

Reviewing the analyzer.ts file here, I was wondering if there's a way to get it to run the virtual environment activate script before running the pydoctest command. Since I'm on a Windows machine, I was attempting to add something like the following (was updating the analyzer.js file instead, since I didn't want to try to compile this TS code right now).
if (this.configuration.pythonInterpreterPath) {

	let pythonFolderPath = this.configuration.pythonInterpreterPath.substring(0, this.configuration.pythonInterpreterPath.lastIndexOf(path.sep) + 1);
	let activateScriptPaths = ["activate", "activate.bat", "activate.fish", "activate.nu", "activate.ps1", "activate_this.py"].map(a => pythonFolderPath + a);
	let hasActivateScript = false;
	for (let path of activateScriptPaths){
		const result = yield this.executeAsync(`IF EXIST ${path} (echo TRUE) ELSE (echo FALSE)`, '.');
		if (result.trim() == "TRUE"){
			hasActivateScript = true;
			break;
		}
	}

	if (hasActivateScript) {
		let scriptActivatePath = pythonFolderPath + "activate.bat";
		command = `"${scriptActivatePath}" & pydoctest`;
	} else {
		command = `${this.configuration.pythonInterpreterPath} -m pydoctest.main`;
	}
}

For now, I was just hard-coding it to run activate.bat, but haven't thought of a way to have it detect the sort of terminal that would run the command. Wasn't sure though if VS Code had a way to tell the extension to run the activate script when you run the yield this.executeAsync(command, config.workingDirectory); command?

Not sure I fully understand.. The configuration.pythonInterpreterPath can be the path to the python executable within a virtual environment. Executing with that, should be similar to activating the environment and then running the command.
If you're using the vscode-python extension, it should already pick up the activated environment as well.
https://github.com/jepperaskdk/vscode-pydoctest/blob/a77fe25b39cbaeb6f9e0f620acadfd083bc13b2e/src/loader.ts#L51-L57
Or is there something else you need in addition?

With the current code, I'm getting the following as the result for the const result = yield this.executeAsync(command, config.workingDirectory); command in the executeGetResult method:
{
  "result": 2,
  "fail_reason": "",
  "module_results": [
    {
      "result": 2,
      "fail_reason": "Failed to load module dependant module: No module named 'wpl_api'",
      "module_path": "c:\\Users\\<USER>\\Documents\\GitHub\\Work\\WPL_API\\src\\wpl_api\\api\\WPL_API.py",
      "function_results": [],
      "class_results": []
    }
  ]
}

But using my changes, this is the first module_results object that I receive:
{
  "result": 2,
  "fail_reason": "",
  "module_path": "c:\\Users\\<USER>\\Documents\\GitHub\\Work\\WPL_API\\src\\wpl_api\\api\\WPL_API.py",
  "function_results": [
    {
      "result": 2,
      "fail_reason": "Function does not have a docstring",
      "function": "<function find_available_port at 0x000001F20135F1A0>",
      "range": {
        "start_line": 78,
        "end_line": 78,
        "start_character": 0,
        "end_character": 0
      }
    }
  ]
}

All of my code exists in wpl_api, but for now I can only assume that my code isn't getting added to the PYTHONPATH. Wasn't sure if I was doing something incorrectly, unless is there a config file of some sort that tells my virtual environment's python.exe to automatically call an activate script? I can search that right now.

Can you try if setting the path in vscode settings directly gives the same result?
https://github.com/jepperaskdk/vscode-pydoctest#extension-settings
Have you configured the vscode-python extension to use your virtual environment interpreter? It should say in the bottom-right of vscode:

Or you can change it by clicking it or ctrl+shift+p  and then search for "Python: Select interpreter" and then navigate to the virtual environment and select the python exe.


fixes #29: removed recursive parsing for lists

I removed 2 lines from the __init__.py file.
The only case I can think of that requires those lines is a json inside a string somewhere, but I'm not sure why this could be wanted behaviour. Something like this:
[test]
a = ["[1,2,3]"]

This makes it very hard to keep away json-like strings from conversion. For my use case I had to replace this code
[test]
a = ["001", "002"]

with this
[test]
a = ["\"001\"", "\"002\""]

which is not a very clean solution.

Continued in #33 with tests from #32.


Support for 2018.2

I have test deobfuscation with EazFixer and de4dot.

Some more info? What exactly is broken? I'll take a look at it tomorrow.

Also, can you upload your sample? My target either hasn't update to Eazfuscator 2018.2, or no update is needed and your sample isn't using Eazfuscator.

Yes absolutely.
Nothing really seemed to work on this sample. String encryption didn't work (but said it did), and the other features failed.
ObfuscatorTests.zip

I have just tried again, and it string encryption seemed to work. :thinking:

Yeah, it works for me too. I don't see a reason why it wouldn't work, unless the ldc.i instruction isn't directly in front of the call to the string decrypter (but that doesn't seem to be the case).
I'll be closing this then. If you have any other samples that don't work, create a new issue and upload them there.


build: link swiftCore against Shell32

We are now using Shell APIs for the command line parsing.  Ensure that we link
against the Shell32 library.  This is needed for the cross-compilation as on
Windows, the environment will set a default link against a number of libraries.
This is more precise and explicit.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please test and merge

What command-line parsing are we doing in swiftCore?

@jrose-apple the CommandLine interface requires using the Shell API to query the information.  In particular, we are using GetCommandLineW to get the information.

@swift-ci please test and merge


Impossible to craft compass turtle

Describe
Hi ! I see "compass turtle" in JEI but i'm unable to craft it with a turtle and a compass... Is it a bug or something else ? Thanks for your anwser !
Magrets
Steps to reproduce
Take a turtle, take a compass et try to craft both together or with " turtle.equipLeft()" it says "not a valid upgrade"
Multiplayer?
No
Version
1.20.1-0.7.38r
Minecraft, Forge and maybe other related mods versions
Forge  47.2.21| Minecraft 1.20.1
Screenshots or Videos
No response
Crashlog/log
No response

Press F3 + H, does your compass contains any NBT? I've heard someone said that NBT will affect

Hi, yes it contains NBT, I have attached to this mail a screenshot of the
information.
Thanks for answer !
[image: 2024-04-27_12.48.08.png]
Le ven. 26 avr. 2024 à 23:19, Kevin Z @.***> a écrit :

Press F3 + H, does your compass contains any NBT? I've heard someone said
that NBT will affect
—
Reply to this email directly, view it on GitHub
https://github.com/IntelligenceModding/AdvancedPeripherals/issues/599#issuecomment-2080131141,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BB7CCLQBJLZDZJDB652KGC3Y7LAEZAVCNFSM6AAAAABG3N52IOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQGEZTCMJUGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

No thanks, but I think this is an issue with CC:T. AP probably cannot do anything about it.

https://github.com/cc-tweaked/CC-Tweaked/issues/106

Thx for your time and you mod have a good day ! I'll follow with SquidDev
now.
Le sam. 27 avr. 2024 à 13:48, Kevin Z @.***> a écrit :

cc-tweaked/CC-Tweaked#106
https://github.com/cc-tweaked/CC-Tweaked/issues/106
—
Reply to this email directly, view it on GitHub
https://github.com/IntelligenceModding/AdvancedPeripherals/issues/599#issuecomment-2080464150,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BB7CCLRLHKV5QJSBB4ILPDLY7OF7TAVCNFSM6AAAAABG3N52IOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQGQ3DIMJVGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I found that this is hopefully can be fixed, and maybe even more features :)

Reopen until released


add new --noGVCF option

I got a little side-tracked, so there are some --verbose option on buildReferences.nf too

@szilvajuhos You can merge when the tests are over, it should be quite safe.
Sorry for getting side tracked


Package idea: article summaries

something like https://www.npmjs.com/package/summarizer modified to play nice with JATS XML or, worst case, PDF

http://smmry.com/ could also be worth a look - might be too closed, though


Server instance (of @tinyhttp/app) hangs on test since 2.0.33

Describe the bug
Like usual, I was maintaining malibu, bumping the dependencies. I ran pnpm run test, and got it hanging on me. At first I thought it's a problem with uvu, yet uvu is not updated. Then I thought it's a problem with Typescript -- since I upgraded a major version from v4 to v5. When I downgraded just Typescript from v5 to v4 (v4.9.5 exactly), it.. still hangs. I also thought it's a problem with the Node version I was using (v20), downgraded to (v18) and it still hangs.
Then, I downgraded @tinyhttp/app back to 2.0.29 from 2.2.0, and the test got passed without even hanging. I trace the version one by one, and got the hanging problem since 2.0.33.
Saw the diff between 2.0.29 and 2.2.0, didn't think there's something that's causing the issue. See the diff here.
To Reproduce
See my PR on malibu here: https://github.com/tinyhttp/malibu/pull/5
Expected behavior
It's not supposed to be hanging.
Versions

node: 18, 20
@tinyhttp/app: 2.0.33

Additional context
Add any other context about the problem here.

@aldy505 could you please write out a minimal reproduction for the hanging?

@aldy505 could you please write out a minimal reproduction for the hanging? (a code snippet)

Will do later this weekend (or the next 2 weekend)

@aldy505 any updates?

@aldy505 any updates?

@aarontravass not yet, I'm occupied with work until early January.

@aldy505 is the issue still relevant?

@aldy505 is the issue still relevant?

haven't gotten around this

Alright, finally got time.
Here's the repro: https://github.com/aldy505/tinyhttp-app-hangs-repro
It turns out I need to manually close the server instance, which is weird since on the previous tinyhttp version, I don't need to do that.
Feel free to close this issue if you guys think this is not relevant for normal people.

I'm not sure if this is related to tinyhttp and not something else tbh
I'll close it since it doesn't happen elsewhere

it might hang because host is undefined and not <IP_ADDRESS> by default


maybe move “unit test” tasks to v1.x+

My reasoning is:
I am a single person working on this project with a very limited time.
Writing and maintaining those unit tests will take time. And that time will be the time taking from the feature set that I am developing.
Instead of adding unit tests, I can make the integration test that I run before each release more robust.
As long as I am testing sentinel and the workload behavior, I will be covering most of the important test bases.

Done.


Convert repo to Tonel

Our Exercism project is referencing this githhub repo of Mocketry.
When loading I get a filename or extension is too long error
with Windows Pharo 7.0.3, https://github.com/exercism/pharo-smalltalk/issues/328
Can this repo be converted to Tonel?

PR https://github.com/dionisiydk/Mocketry/pull/15

Done in v5.0.0


Show Innodb status examples for 5.5.8 and 5.5.17

Changed all IPs, usernames, and removed SQL. The rest of output left for help with MySQL Collector Innodb status work.
#5.5.17
#130123 15:21:40 INNODB MONITOR OUTPUT
Per second averages calculated from the last 4 seconds
BACKGROUND THREAD
srv_master_thread loops: 4513 1_second, 4512 sleeps, 450 10_second, 48 background, 48 flush
srv_master_thread log flush and writes: 4541
SEMAPHORES
OS WAIT ARRAY INFO: reservation count 19791, signal count 16759
Mutex spin waits 254562, rounds 1025105, OS waits 18606
RW-shared spins 786, rounds 21423, OS waits 702
RW-excl spins 1222, rounds 15276, OS waits 316
Spin rounds per wait: 4.03 mutex, 27.26 RW-shared, 12.50 RW-excl
TRANSACTIONS
Trx id counter 1B588AD6
Purge done for trx's n:o < 1B584EEF undo n:o < 0
History list length 399
LIST OF TRANSACTIONS FOR EACH SESSION:
---TRANSACTION 0, not started
MySQL thread id 111090, OS thread handle 0x5054c940, query id 3463251 localhost user
show engine innodb status
---TRANSACTION 1B588AD5, not started
mysql tables in use 1, locked 1
MySQL thread id 110202, OS thread handle 0x505ce940, query id 3463250 <IP_ADDRESS> username
---TRANSACTION 0, not started
MySQL thread id 14, OS thread handle 0x50303940, query id 3462221 <IP_ADDRESS> another_username
FILE I/O
I/O thread 0 state: waiting for completed aio requests (insert buffer thread)
I/O thread 1 state: waiting for completed aio requests (log thread)
I/O thread 2 state: waiting for completed aio requests (read thread)
I/O thread 3 state: waiting for completed aio requests (read thread)
I/O thread 4 state: waiting for completed aio requests (read thread)
I/O thread 5 state: waiting for completed aio requests (read thread)
I/O thread 6 state: waiting for completed aio requests (read thread)
I/O thread 7 state: waiting for completed aio requests (read thread)
I/O thread 8 state: waiting for completed aio requests (read thread)
I/O thread 9 state: waiting for completed aio requests (read thread)
I/O thread 10 state: waiting for completed aio requests (write thread)
I/O thread 11 state: waiting for completed aio requests (write thread)
I/O thread 12 state: waiting for completed aio requests (write thread)
I/O thread 13 state: waiting for completed aio requests (write thread)
I/O thread 14 state: waiting for completed aio requests (write thread)
I/O thread 15 state: waiting for completed aio requests (write thread)
I/O thread 16 state: waiting for completed aio requests (write thread)
I/O thread 17 state: waiting for completed aio requests (write thread)
Pending normal aio reads: 0 [0, 0, 0, 0, 0, 0, 0, 0] , aio writes: 0 [0, 0, 0, 0, 0, 0, 0, 0] ,
ibuf aio reads: 0, log i/o's: 0, sync i/o's: 0
Pending flushes (fsync) log: 0; buffer pool: 0
2392855 OS file reads, 1052565 OS file writes, 705382 OS fsyncs
0.00 reads/s, 0 avg bytes/read, 194.45 writes/s, 130.47 fsyncs/s
INSERT BUFFER AND ADAPTIVE HASH INDEX
Ibuf: size 1, free list len 422645, seg size 422647, 265 merges
merged operations:
insert 3095, delete mark 0, delete 0
discarded operations:
insert 0, delete mark 0, delete 0
Hash table size 254996299, node heap has 3 buffer(s)
27286.43 hash searches/s, 996.25 non-hash searches/s
LOG
Log sequence number<PHONE_NUMBER>735
Log flushed up to<PHONE_NUMBER>735
Last checkpoint at<PHONE_NUMBER>923
0 pending log writes, 0 pending chkp writes
127360 log i/o's done, 9.50 log i/o's/second
BUFFER POOL AND MEMORY
Total memory allocated<PHONE_NUMBER>60; in additional pool allocated 0
Dictionary memory allocated 1123830
Buffer pool size   7864290
Free buffers       4853881
Database pages     3010406
Old database pages 1110034
Modified db pages  55841
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 150, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 2392660, created 617766, written 625463
0.00 reads/s, 199.45 creates/s, 120.97 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 3010406, unzip_LRU len: 0
I/O sum[674100]:cur[7260], unzip sum[0]:cur[0]
INDIVIDUAL BUFFER POOL INFO
---BUFFER POOL 0
Buffer pool size   131072
Free buffers       80757
Database pages     50314
Old database pages 18552
Modified db pages  1182
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 2, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 40003, created 10311, written 10469
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 50314, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 1
Buffer pool size   131071
Free buffers       80609
Database pages     50461
Old database pages 18607
Modified db pages  956
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 3, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39720, created 10741, written 10552
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 50461, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 2
Buffer pool size   131072
Free buffers       81334
Database pages     49737
Old database pages 18339
Modified db pages  893
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 3, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39652, created 10085, written 10306
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 49737, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 3
Buffer pool size   131071
Free buffers       81138
Database pages     49933
Old database pages 18412
Modified db pages  1291
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 2, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39397, created 10536, written 11244
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 49933, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 4
Buffer pool size   131072
Free buffers       80750
Database pages     50322
Old database pages 18555
Modified db pages  1298
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 2, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39858, created 10464, written 10768
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 50322, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 5
Buffer pool size   131071
Free buffers       80575
Database pages     50496
Old database pages 18620
Modified db pages  1018
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 3, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39795, created 10705, written 10423
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 50496, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 6
Buffer pool size   131072
Free buffers       81175
Database pages     49897
Old database pages 18399
Modified db pages  1019
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 3, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39605, created 10292, written 10418
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 49897, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 7
Buffer pool size   131071
Free buffers       81042
Database pages     50029
Old database pages 18447
Modified db pages  957
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 1, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39567, created 10462, written 10407
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 50029, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 8
Buffer pool size   131072
Free buffers       81185
Database pages     49887
Old database pages 18395
Modified db pages  894
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 2, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39591, created 10296, written 10407
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 49887, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 9
Buffer pool size   131071
Free buffers       80723
Database pages     50348
Old database pages 18565
Modified db pages  1019
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 3, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39963, created 10385, written 10642
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 50348, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 10
Buffer pool size   131072
Free buffers       81544
Database pages     49528
Old database pages 18262
Modified db pages  1019
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 0, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39178, created 10350, written 10279
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 49528, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 11
Buffer pool size   131071
Free buffers       81079
Database pages     49992
Old database pages 18434
Modified db pages  956
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 6, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39663, created 10329, written 10472
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 49992, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 12
Buffer pool size   131072
Free buffers       80756
Database pages     50316
Old database pages 18553
Modified db pages  901
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 2, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 40134, created 10182, written 10498
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 50316, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 13
Buffer pool size   131071
Free buffers       80470
Database pages     50601
Old database pages 18658
Modified db pages  1024
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 1, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 40031, created 10570, written 10761
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 50601, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 14
Buffer pool size   131072
Free buffers       81089
Database pages     49983
Old database pages 18430
Modified db pages  1020
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 0, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39523, created 10460, written 10301
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 49983, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 15
Buffer pool size   131071
Free buffers       81176
Database pages     49895
Old database pages 18398
Modified db pages  1002
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 1, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39484, created 10411, written 10504
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 49895, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 16
Buffer pool size   131072
Free buffers       81003
Database pages     50069
Old database pages 18462
Modified db pages  898
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 2, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 40031, created 10038, written 10401
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 50069, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 17
Buffer pool size   131071
Free buffers       80319
Database pages     50752
Old database pages 18714
Modified db pages  1020
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 1, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 40358, created 10394, written 10383
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 50752, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 18
Buffer pool size   131072
Free buffers       81565
Database pages     49507
Old database pages 18255
Modified db pages  958
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 1, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39269, created 10238, written 10317
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 49507, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 19
Buffer pool size   131071
Free buffers       81466
Database pages     49605
Old database pages 18291
Modified db pages  948
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 1, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39231, created 10374, written 10336
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 49605, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 20
Buffer pool size   131072
Free buffers       81228
Database pages     49844
Old database pages 18379
Modified db pages  798
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 6, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39708, created 10136, written 10547
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 49844, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 21
Buffer pool size   131071
Free buffers       81242
Database pages     49829
Old database pages 18373
Modified db pages  958
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 0, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39669, created 10160, written 10418
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 49829, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 22
Buffer pool size   131072
Free buffers       80842
Database pages     50230
Old database pages 18521
Modified db pages  958
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 1, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 40084, created 10150, written 10493
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 50230, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 23
Buffer pool size   131071
Free buffers       81302
Database pages     49769
Old database pages 18351
Modified db pages  858
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 0, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39653, created 10116, written 10313
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 49769, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
---BUFFER POOL 24
Buffer pool size   131072
Free buffers       81144
Database pages     49928
Old database pages 18410
Modified db pages  790
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 2, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39828, created 10100, written 10417
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
Buffer pool hit rate 1000 / 1000, young-making rate 0 / 1000 not 0 / 1000
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 49928, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
-- Buffer pool 25 through 58 deleted for brevity
---BUFFER POOL 59
Buffer pool size   131071
Free buffers       80835
Database pages     50236
Old database pages 18524
Modified db pages  954
Pending reads 0
Pending writes: LRU 0, flush list 0, single page 0
Pages made young 2, not young 0
0.00 youngs/s, 0.00 non-youngs/s
Pages read 39673, created 10563, written 10279
0.00 reads/s, 0.00 creates/s, 2.00 writes/s
No buffer pool page gets since the last printout
Pages read ahead 0.00/s, evicted without access 0.00/s, Random read ahead 0.00/s
LRU len: 50236, unzip_LRU len: 0
I/O sum[11235]:cur[121], unzip sum[0]:cur[0]
ROW OPERATIONS
0 queries inside InnoDB, 0 queries in queue
1 read views open inside InnoDB
Main thread process no. 20195, id<PHONE_NUMBER>, state: sleeping
Number of rows inserted 85385539, updated 0, deleted 0, read 0
27884.03 inserts/s, 0.00 updates/s, 0.00 deletes/s, 0.00 reads/s
END OF INNODB MONITOR OUTPUT

This repo has moved to https://github.com/python-diamond/Diamond
Please open a new ticket there if this issue is not resolved with the current code there.
Thanks!


Preset dates update

Hi there. I've seen the preset dates have not been updated in a while, so I would like to request if it can be done. It's missing dates like wave 5 realease (2020-09-13), points update (2020-01-20) and wave 6 (2020-01-31).
Best regards,
Leo.

The filter should now be up to date. Thanks for the push to update this and for including the dates in your request.
The changes are in commit bb9226693ff96c6701312f57596302d702c704d6


this.push.on("error" gives string resource id #0x0

I am trying to send notifications on Android  but on startup, apparently
 this.push.on("error", e => {             alert(e.message);             this.log("Push.Error:", e);             this.emit("error", {               type: getService() + ".cordova",               error: e.message             });           });
gives an error saying: string resource id #0x0
Platform and Version
Android 6.4.0
Plugin version
cordova plugin version | grep phonegap-plugin-push   2.1.2

I have google-service.json in  .meteor\local\cordova-build

-<platform name="android">

<resource-file target="google-services.json" src="../../../cordova-build-override/google-services.json"/>

</platform>

@aishwaryasharma96 can you run adb logcat while reproducing the problem so we can see the logs?

I'm getting the same error:
10-10 14:43:01.029 12099 12205 V Push_Plugin: execute: action=init
10-10 14:43:01.030 12099 12146 V Push_Plugin: execute: data=[{"android":{"senderID":"SNIP","icon":"smallicon","iconColor":"#00A8CA","forceShow":true},"ios":{"alert":"true","badge":"true","sound":"true","clearBadge":true}}]
10-10 14:43:01.031 12099 12146 V Push_Plugin: execute: jo={"senderID":"SNIP","icon":"smallicon","iconColor":"#00A8CA","forceShow":true}
10-10 14:43:01.032 12099 12146 E com.ma.android: Invalid ID 0x00000000.
10-10 14:43:01.032 12099 12146 E Push_Plugin: execute: Got Resources NotFoundException String resource ID #0x0

I am experiencing the exact same issue, although I am not using Meteor.  This happens both when compiling locally and via Phonegap Build.
Here is the output from adb logcat | grep Push when I compile locally:
10-15 15:59:53.547 29624 29742 V Push_Plugin: execute: action=init
10-15 15:59:53.555 29624 29699 V Push_Plugin: execute: data=[{"android":{"icon":"icon","iconColor":"#444488"},"browser":{},"ios":{"alert":true,"sound":true,"vibration":true,"badge":true,"clearBadge":true}}]
10-15 15:59:53.556 29624 29699 V Push_Plugin: execute: jo={"icon":"icon","iconColor":"#444488"}
10-15 15:59:53.556 29624 29699 E Push_Plugin: execute: Got Resources NotFoundException String resource ID #0x0

Phonegap CLI v7.1.0
phonegap-plugin-push v2.1.2
cordova android v6.4.0
Relevant config.xml details:
    <preference name="phonegap-version" value="cli-7.1.0" />
    <preference name="android-minSdkVersion" value="24" />
    <platform name="android">
        <resource-file src="google-services.json" target="google-services.json" />
    </platform>
    <engine name="android" spec="6.4.0" />
    <plugin name="phonegap-plugin-push" spec="2.1.2">
        <variable name="FCM_VERSION" value="11.0.1" />
    </plugin>

I've verified that my google-services.json file is up to date.

Okay, then this appears to be a compile time error where the Google Play Services Gradle Plugin is not being applied properly so the sender ID is not being added to the resources correctly. Can anyone check their build to see if it is reporting an error along those lines.

@macdonst thanks for the quick response.
I am not sure if this is helpful, but here is some of the output from my local build:
Updating icons at platforms/android/res
Updating splash screens at platforms/android/res
Updating resource files at platforms/android
  copy  google-services.json platforms/android/google-services.json (updated file)
Prepared android project successfully

Later in the build output:
Starting a Gradle Daemon (subsequent builds will be faster)

> Task :wrapper

BUILD SUCCESSFUL in 4s
1 actionable task: 1 executed

Command finished with error code 0: /usr/local/Cellar/gradle/4.10.2/bin/gradle -p,/Users/codyrushing/Projects/phoneapp/app/platforms/android,wrapper,-b,/Users/codyrushing/Projects/phoneapp/app/platforms/android/wrapper.gradle

Subproject Path: CordovaLib

Running command: /Users/codyrushing/Projects/phoneapp/app/platforms/android/gradlew cdvBuildDebug -b /Users/codyrushing/Projects/phoneapp/app/platforms/android/build.gradle -Dorg.gradle.daemon=true -Dorg.gradle.jvmargs=-Xmx2048m -Pandroid.useDeprecatedNdk=true

Download https://jcenter.bintray.com/com/android/tools/build/gradle/maven-metadata.xml

The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.

	at build_202efyw0s07ivrvn3fy5g3csk.run(/Users/codyrushing/Projects/phoneapp/app/platforms/android/build.gradle:143)

Configuration 'compile' in project ':' is deprecated. Use 'implementation' instead.

WARNING: The Jack toolchain is deprecated and will not run. To enable support for Java 8 language features built into the plugin, remove 'jackOptions { ... }' from your build.gradle file, and add

android.compileOptions.sourceCompatibility 1.8

android.compileOptions.targetCompatibility 1.8

Future versions of the plugin will not support usage of 'jackOptions' in build.gradle.
To learn more, go to https://d.android.com/r/tools/java-8-support-message.html

This build successfully deploys to my device, but I get the same String resource ID #0x0 error on push registration.
If you need the full log from my build, let me know.

@aishwaryasharma96 google-services.json needs to reach into .meteor/cordova-build/platforms/android.
Hi Meteor guys, I don't have all these problems (Meteor <IP_ADDRESS> and Meteor 1.8) . I build with Android Studio 3.1.4 (avoid 3.2+ when cordova-android 6.4). JDK - default of Android Studio and I think Java 1.6 would be preferable for cordova-android 6.4. Gradle 4.1 (probably 4.6 would also do it) and these in the Android level build.gradle file:
apply plugin: 'com.android.application'

buildscript {
    repositories {
        google()
        jcenter()
    }

    // Switch the Android Gradle plugin version requirement depending on the
    // installed version of Gradle. This dependency is documented at
    // http://tools.android.com/tech-docs/new-build-system/version-compatibility
    // and https://issues.apache.org/jira/browse/CB-8143
    dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'
        classpath 'com.google.gms:google-services:4.1.0'
    }
}

// Allow plugins to declare Maven dependencies via build-extras.gradle.
allprojects {
    repositories {
        google()
        jcenter()
    }
    project.ext {
        defaultBuildToolsVersion="26.1.1" //String
        defaultMinSdkVersion=21 //Integer - Minimum requirement is Android 5.0
        defaultTargetSdkVersion=26 //Integer - We ALWAYS target the latest by default
        defaultCompileSdkVersion=26 //Integer - We ALWAYS compile with the latest by default
    }
}

task wrapper(type: Wrapper) {
    gradleVersion = '4.1'
}

then
....
compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_6
        targetCompatibility JavaVersion.VERSION_1_6
    }

then
dependencies {
    implementation fileTree(dir: 'libs', include: '*.jar')
    // SUB-PROJECT DEPENDENCIES START
    implementation(project(path: "CordovaLib"))
    implementation "com.google.firebase:firebase-auth:16.0.4"
    implementation "com.google.firebase:firebase-config:16.0.1"
    // implementation "com.crashlytics.sdk.android:crashlytics:2.9.5"
    implementation "com.google.firebase:firebase-perf:16.1.2"
    implementation "com.google.android.gms:play-services-auth:16.0.1"
    implementation "com.google.android.gms:play-services-identity:16.0.0"
    // implementation "com.android.support:support-v13:27.0.2"
    implementation "me.leolin:ShortcutBadger:1.1.22@aar"
    implementation "com.google.firebase:firebase-messaging:17.3.3"
    implementation "com.squareup.okhttp3:okhttp:3.9.1"
    // implementation "com.android.support:support-v4:24.1.1+"
    implementation "com.facebook.android:facebook-android-sdk:4.37.0"
    // implementation "com.android.support:support-v13:27.1.1"
    implementation "com.android.support:appcompat-v7:26.+"
    // implementation "com.squareup.okhttp3:okhttp:3.+"
    // SUB-PROJECT DEPENDENCIES END
}

and the gradle file needs to end with this line:
apply plugin: 'com.google.gms.google-services'

which works together with 'com.google.gms:google-services:4.1.0' at the top. Everything else is the generic from Meteor android build.
I  am paulailincai on skype if anyone needs a peer (re)view.

@paulincai are you using the https://github.com/raix/push plugin? If so have you implemented the channels for android 8?

We encountered the same error and resolved it by reinstalling the plugin.
cordova plugin remove phonegap-plugin-push
cordova plugin add phonegap-plugin-push

I'm also seeing the error message, but have identified in my case that it's occurring when init is invoked. In my case, there are "no icon option" and "no iconColor option" messages just after those mentioned above in the adb logcat output. Posting this here in the hope that it will help others who come here (though I'm yet to confirm at the time of writing that those icon issues are the cause).

Resolved in the same way above:
cordova plarform remove android
cordova plugin remove phonegap-plugin-push
cordova plugin add phonegap-plugin-push
cordova platform add android

When I am using this plugin I am getting the following error.

It will be great if any one explains me what the problem might be ?

@karthik93r check logcat, but it might be an error finding GCM_DEFAULT_SENDER_ID,
probably a gradle compile error, are you using android studio?
the ide gives you alot more clarity on build errors

@da314pc Thank you for the response.Some how the plugin is not getting the GCM_DEFAULT_SENDER_ID.Is there any way we can give default sender id to the plugin in the config file.
We have tried like this :
<plugin name="phonegap-plugin-push" source="npm">
    <params>
    <param name="SENDER_ID" value="517082033657" />
    </params>
  </plugin>

@karthik93r I pretty certain this a gradle build error. Are you just building from the console?
Usually, I see issues like this not build the entire project because of some conflicting google library or other error in gradle.

@da314pc We are doing the build from the console only.Is this error can be because of Invalid google-services.json file?
Why i am asking is because push notifications are working for ios build.

@da314pc  We are doing the build from the console only.Is this error can be because of Invalid google-services.json file?
Why i am asking is because push notifications are working for ios build.

spent 4 hours and solved it.
do:
cordova plugin add cordova-android-play-services-gradle-release
cordova platform remove android
cordova plugin remove phonegap-plugin-push
cordova plugin add phonegap-plugin-push
cordova platform add android

We also have this problem, however the senderID seems to be applied properly:
07-25 12:55:36.273 20396 20520 V Push_Plugin: execute: action=init
07-25 12:55:36.274 20396 20465 V Push_Plugin: execute: data=[{"android":{"senderID":"XXXXXX"},"ios":{"vibration":true}}]
07-25 12:55:36.276 20396 20465 V Push_Plugin: execute: jo={"senderID":"870333243993"}
07-25 12:55:36.277 20396 20465 E Push_Plugin: execute: Got Resources NotFoundException String resource ID #0x0

After updating cordova-android from 7.1.1 to 8.0.0, this seems to work.

I fixed this error by adding this snippet to config.xml:
<edit-config file="res/values/strings.xml" mode="add" target="/resources">   <string name="gcm_defaultSenderId">XXX</string> </edit-config>

EDIT3: After what felt like ages of trial and error with different plugins i figured out (with a fork of this phonegap-plugin-push) that setting the version of https://www.npmjs.com/package/cordova-support-google-services to the latest one finally works. So until a new version of phonegap-plugin-push is released, we'll use our fork with the updated dependency version...

Just updated our Cordova-Android from 7.1 to 8.0.0 and had the "Got Resources NotFoundException String resource ID #0x0" error. After removing cordova-support-google-services @1.1.0 and adding<EMAIL_ADDRESS>I can confirm the error is now gone and Push Notifications work again - thank you.

EDIT3: After what felt like ages of trial and error with different plugins i figured out (with a fork of this phonegap-plugin-push) that setting the version of https://www.npmjs.com/package/cordova-support-google-services to the latest one finally works. So until a new version of phonegap-plugin-push is released, we'll use our fork with the updated dependency version...

Just updated our Cordova-Android from 7.1 to 8.0.0 and had the "Got Resources NotFoundException String resource ID #0x0" error. After removing cordova-support-google-services @1.1.0 and adding<EMAIL_ADDRESS>I can confirm the error is now gone and Push Notifications work again - thank you. phonegap-plugin-push version is 2.2.3.

We eventually switched to Capacitor 2 months ago and are really enjoying it. We no longer have the same kind of infuriating issues like we had with cordova. Feels like we have a lot more control now. Can really recommend checking it out (https://capacitor.ionicframework.com/docs/cordova/migrating-from-cordova-to-capacitor).

I have this same problem. The problem presented itself when I added appcenter's code push plugin (cordova-plugin-code-push). I noticed that:
app/src/main/res/values/strings.xml only contains
<?xml version='1.0' encoding='utf-8'?>
<resources>
    <string name="app_name">Helloworld</string>
    <string name="launcher_name">@string/app_name</string>
    <string name="activity_name">@string/launcher_name</string>
</resources>

I did find that there is a file in
app/build/generated/res/google-services/arm64/debug/values/values.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="default_web_client_id" translatable="false">XXXXXXX</string>
    <string name="firebase_database_url" translatable="false">XXXXXXX</string>
    <string name="gcm_defaultSenderId" translatable="false">XXXXXXX</string>
    <string name="google_api_key" translatable="false">XXXXXXX</string>
    <string name="google_app_id" translatable="false">XXXXXXX</string>
    <string name="google_crash_reporting_api_key" translatable="false">XXXXXXX</string>
    <string name="google_storage_bucket" translatable="false">XXXXXXX</string>
    <string name="project_id" translatable="false">XXXXXXX</string>
</resources>

If I merged these keys into the app/src/main/res/values/strings.xml with what was previously there then everybody is happy.
Any thoughts on getting the console build to just work for cordova with these constraints?

@GimpMaster
I think its becoming really hard not to build the project in Android Studio
The problem is the gcm libraries sometimes clash with the android cordova libraries
check these versions
classpath 'com.google.gms:google-services:4.1.0'
classpath 'com.google.firebase:firebase-core:11.0.1'

Thank you @da314pc .
What I did was copy off the working platform/android folder to a backup location. And then re-built with the code-push plugin. Looking through BOTH of those folders I see the following:
Working and NOT-Working
classpath 'com.google.gms:google-services:4.2.0'
classpath 'com.android.tools.build:gradle:3.+'
I did not find anywhere firebase:firebase-core even in the working scenario
However I do see this:
implementation "com.google.firebase:firebase-messaging:17.0.+"
in working and not-working scenarios.

@GimpMaster forgot to mention,
that some of the libraries you have to add
I'm pretty sure the plugin wont work  without the firebase:firebase-core library.
I think the com.google.gms:google-services is optional.

@da314pc
Ok, I tracked this down to an issue of postBuildExtras.
Both microsoft code-push and cordova-support-google-services use the ext.postBuildExtras function. The problem is only the last gradle file included in app/build.grade gets to keep the postBuildExtras function. So one will run but not the other depending on when they were included.
I found a fork of cordova-support-google-services where they went back to cdvPostBuildExtras
https://github.com/cloudscapelabs/cordova-support-google-services/blob/csl/build.gradle
Doing this solved the problem for me.

https://github.com/cloudscapelabs/cordova-support-google-services/blob/csl/build.gradle

Doing this solved the problem for me.

@da314pc
Ok, I tracked this down to an issue of postBuildExtras.
Both microsoft code-push and cordova-support-google-services use the ext.postBuildExtras function. The problem is only the last gradle file included in app/build.grade gets to keep the postBuildExtras function. So one will run but not the other depending on when they were included.
I found a fork of cordova-support-google-services where they went back to cdvPostBuildExtras
https://github.com/cloudscapelabs/cordova-support-google-services/blob/csl/build.gradle
Doing this solved the problem for me.

+1

In my case I debugged the problem and found that in PushPlugin.java the method getStringResourceByName() is called and inside it activity.getResources().getIdentifier(aString, "string", packageName);, in which GCM_DEFAULT_SENDER_ID is the value of GCM_DEFAULT_SENDER_ID: gcm_defaultSenderId, and this resource was not found (returned 0).
I solved it according to this answer https://stackoverflow.com/a/33498712/4850646, including the value of project_number (inside  project_info in google-services.json) in the file platforms/android/app/src/main/res/values/strings.xml:
<string name="gcm_defaultSenderId">PROJECT_NUMBER</string>
I don't know why this value is not being automatically defined, tough.


I have encountered the following problems with other browsers

I have encountered the following problems with other browsers. Are there any suggestions to solve this problem? Thank you。
VM148:1 You are using the in-browser Babel transformer. Be sure to precompile your scripts for production - https://babeljs.io/docs/setup/
console.warn @ VM148:1
u @ babel.min.js:24
f @ babel.min.js:1
(anonymous) @ babel.min.js:1

Yes, the code is not precompiled with Babel but transformed in the browser. You are welcome to send a pull request.

Any update on this?


Parser issue: heading removed

The parser removes heading statements if there is no empty line after the front-matter block
Example:
---
date: "2024-01-11"
description: "Hello World"
title: "Hello World"
---
## Hello World

becomes
---
date: "2024-01-11"
description: "Hallo Welt"
title: "Hallo Welt"
---
 Hallo Welt

as a workaround, insert a blank line after the front-matter block
---
date: "2024-01-11"
description: "Hello World"
title: "Hello World"
---

## Hello World

becomes
---
date: "2024-01-11"
description: "Hallo Welt"
title: "Hallo Welt"
---

## Hallo Welt

@kingdase The properly linted hugo syntax requires a blank line after finishing the frontmatter.
Will look into fixing


Not always applying border to the correct spot

What is probably happening here is the previous canvas has not bee resized.

It should be passing the correct width and height but maybe it is not in the article.coffee
  image_border:=>
    version = Data.get_asset_version()

    console.log('ver', version)
    el = document.getElementById('draw')
    ctx = el.getContext("2d")
    ctx.canvas.width  = version.width
    ctx.canvas.height = version.height
    ctx.beginPath()
    ctx.lineWidth = 2
    ctx.strokeStyle = "#000000"
    # x, y, width, height
    ctx.rect(0, 0, version.width, version.height)
    ctx.stroke()
    tmp_path = "/tmp/save-border.png"
    fs.writeFile tmp_path, el.toDataURL().replace(/^data:image\/png;base64,/, ""), 'base64', (err)->
      console.log('err',err) if err
      source = Data.active_asset().replace('file://','')
      console.log('source',source)
      ipc.send('sharp-border',project: Data.active_file(), overlay: tmp_path, source: source)

So this issue here is the tmp file, when sharp reads the image its the old one.
I also moved the canvas outside the scope of the mithril and I replace and clear the canvas so this might not be part of the solution but a good idea to do none the less.


I've found something of interest

Although the following is not formally a DMCA takedown, the E-mail threat that is listed in https://github.com/mitchellkrogza/Phishing.Database/issues/15 is close enough to being a takedown that I think it would be something you could check out and consider adding to your lists nevertheless.

Most bewilderingly of all, the takedown firm forced Mitchell Krog to take down fraudulent domains that weren't even owned by the firm's client in question... 😶

Thanks for pointing me to this. Did the (pesudo-)takedown result in any domains being owned by AXUR/Banco Safra to be removed from a blacklist? Given that, as you point out, the domains added to the whitelist are not actually owned by Safra, it wouldn't really make sense to add those domains to BarbBlock, but if they were asking for specific domains they do own to be removed, that could meet the criteria for addition.

It doesn't appear to me that the domains are actually owned by Safra, unfortunately enough. Although in my personal view, that only makes the takedown even more illegitimate.

Related: https://github.com/NanoAdblocker/NanoFilters/commit/6c23eed2d2891fce48bb7dc8182b5fe394fbed44

So in addition to the 4 domains in the takedown against Mitchell Krog, and 1 in the takedown against Nano Filters: If we presume that the same firm was also going ballistic over LATAM before, that would mean that the 6 entries with that phrase in https://github.com/mitchellkrogza/Phishing.Database/blob/master/whitelist.me/whitelist.me were also taken down by them.
That means we're up to 11 fraudulently taken-down domains thus far. I'm currently searching around for more.

I also found this:

Apparently they had a GitHub user at some point earlier this year to try to issue takedowns, which apparently went so poorly that they deleted their account and all their issue reports after filing only 3 takedowns.
After some heavy Google searching, it was apparently the two sicredi-containing entries in https://github.com/essandess/adblock2privoxy/blob/master/easylist/malwaredomains_full.txt that riled them up so much.
Otherwise I could only find them going after things that weren't even filterlists, such as https://github.com/LudovicRousseau/pcsc-tools/commit/fbacfe51028616f140d525450d788935a2974a29 and https://github.com/PeterNotenboom/SwiftCodes/commit/a71bdd4d078e37394c12e7f5a7f454a52aa00d9c.

It looks like they are just sending removal requests to repo owners, rather than DMCA takedowns sent to GitHub? If so it's annoying, but it's more of a nuisance than an abuse of the system.

Considering their use of In order to avoid a lawsuit from a federal court, please, send confirmation that this email was received along with your guarantee to comply with the requests reported above. in their default E-mail template, I for one would think it's no mere requests we're talking about here, although I am not a legal expert nor a lawyer.

Jspenguin2017 raised a good point in his thread in that some of the domains could be inactive. So I ran PyFunceble on them to see if they were still active, so now I'm down from 11-13 to 5-6 again. Namely the 4 from https://github.com/mitchellkrogza/Phishing.Database/issues/15 alongside latam-pass.website and arguably latam.com-voucher-barato.com.


Craco with SemanticUI in Docker

Is there anybody trying to use Craco + ReactJS + Docker? I'm trying to follow these instructions: https://react.semantic-ui.com/theming. Everything is ok if application is running without Docker, but when I run application with Docker, it seems like .less files are not processed and I don't see any of my less/css code on the page.

Any ideas @yohanb ?

👋
@ihevcuk do you have a dockerfile I can use as a base image to help you?
Thanks

Dockerfile looks something like this:
FROM node:10

COPY .npmrc /.npmrc
COPY yarn.lock /yarn.lock
COPY package.json /package.json

ENV NODE_PATH=/node_modules
ENV PATH=/node_modules/.bin:$PATH
ENV CHOKIDAR_USEPOLLING=true
ENV NODE_ENV=development
RUN yarn install

EXPOSE 3000
EXPOSE 35729

WORKDIR /app

CMD ["/bin/bash", "-c", "yarn start"]

@ihevcuk sorry for the late response.
Can you also provide the .npmrc, yarn.lock and package.json files?

Closing this issue since there is no activity.

@jarakkal I'm assuming the build works fine locally?  Are you using the same nodejs version?
Also, can you include the error you are getting?
Thanks

Only Docker build fails
When I run npm run build on my computer, it compiles successfully.
My computer node version is 8.17.0
Docker build error as follows:
Creating an optimized production build...
                The build failed because the process exited too early.
                This probably means the system ran out of memory or someone called
                `kill -9` on the process.

npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: `craco build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-04-29T15_44_21_615Z-debug.log```

I got it to build with docker using node version 11.4

@jarakkal great!  Happy it was a simple solution.

@yohanb I have another problem.
In my local, I can see the generated style sheets being applied to the elements.
But in the production, the style sheets although present in the headers are not being applied to the elments. The elements are just getting the user agent styles (chrome browser)


added eslint & airbnb-base standard

Don't merge just yet.

[ ] Patch npm version

Can this be merged?


Error when trying to import before export

Describe the bug
I'm trying to import my data, from .zip export file.
To Reproduce
Steps to reproduce the behavior:

Export
import -d .zip

Expected behavior
OK
Output errors
"Failure inserting Car with Id: cjqrv1hkz017k07181ax6eo3e. Cause: duplicate key value violates unique constraint "Car_pkey"\n  Detail: Key (id)=(cjqrv1hkz017k07181ax6eo3e) already exists.",
"Failure inserting Car with Id: cjr2duh8t02dk0718qmts502d. Cause: duplicate key value violates unique constraint "Car_pkey"\n  Detail: Key (id)=(cjqrv1hkz017k07181ax6eo3e) already exists.",
"Failure inserting Car with Id: cjr7voo7z03d307182gukd76u. Cause: duplicate key value violates unique constraint "Car_pkey"\n  Detail: Key (id)=(cjqrv1hkz017k07181ax6eo3e) already exists.",
"Failure inserting Car with Id: cjr7vpnv203d707189ce1xkmi. Cause: duplicate key value violates unique constraint "Car_pkey"\n  Detail: Key (id)=(cjqrv1hkz017k07181ax6eo3e) already exists.",
"Failure inserting RelayRow with Id: cjqrv1hkz017k07181ax6eo3e. Cause: duplicate key value violates unique constraint "_RelayId_pkey"\n  Detail: Key (id)=(cjqrv1hkz017k07181ax6eo3e) already exists.",
"Failure inserting RelayRow with Id: cjr2duh8t02dk0718qmts502d. Cause: duplicate key value violates unique constraint "_RelayId_pkey"\n  Detail: Key (id)=(cjqrv1hkz017k07181ax6eo3e) already exists.",
"Failure inserting RelayRow with Id: cjr7voo7z03d307182gukd76u. Cause: duplicate key value violates unique constraint "_RelayId_pkey"\n  Detail: Key (id)=(cjqrv1hkz017k07181ax6eo3e) already exists.",
"Failure inserting RelayRow with Id: cjr7vpnv203d707189ce1xkmi. Cause: duplicate key value violates unique constraint "_RelayId_pkey"\n  Detail: Key (id)=(cjqrv1hkz017k07181ax6eo3e) already exists.",
...
Versions (please complete the following information):

Connector: Postgres
Prisma Server: [e.g. 1.24.0]
prisma/1.23.2 (linux-x64) node-v8.10.0
Ubuntu 18.04.1 LTS

Hi @polRk
Looks like you are trying to import the data into the same database which would not work. Either you need to empty out that database or you need to use a new database.

Yes. You are right. But it is not convenient. Delete - restore... Maybe it would be better to update existing, remove unnecessary, create new.

Looks like this is more of a feature request now.
cc @timsuchanek


[bug] Cant open settings / main gui since reinstall of 0.58.0

Microsoft PowerToys version
0.58.0
Running as admin

[ ] Yes

Area(s) with issue?
General
Steps to reproduce
Reinstallied powertoys after I removed last version because of memory leak. New 0.58.0 version cant be opened. It runs in systray, but clicking on settings or double click on systray does nothing. No GUI opens. Closing and reopening doesnt help anything.
✔ Expected Behavior
Settings GUI opens.
❌ Actual Behavior
Nothing happens.
Other Software
No response

Also having this issue, though mine started out of nowhere (and has in the past as well, usually when an update is pending). In this instance I uninstalled and reinstalled but to no avail. I only use it for FancyZones and they are indeed still working, but I can't access the GUI to reconfigure them, nor the settings either. Also on 0.58.0.

Do you have RivaTuner? If so, please disable it or follow this.

I am also experiencing this bug, I don't have RivaTuner. PowerToys running as admin.

I am also experiencing this issue.  Setting do not open when selected from the menu.  Version 0.58.0.

Same issue 0.58.0 - no RivaTuner for me.

/dup #18015


[Feature Request]: Add text option into tools

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Toolbar with Text Icon: The toolbar includes various drawing tools and text icon for adding text.

Use Case
when user want to add text into their drawing they can allow using this tool
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[ ] I'm a SSOC'24 contributor
[X] I want to work on this issue

@heli0707 There is already a toolbar, what new you want to add?

@singodiyashubham87 @heli0707 @Stiffpixels @sanmarg @RushilJalal can u please assign me to resolve this bug?

@techieadi4703 Why have you tagged me? I'm not even a maintainer here...


Certificate parsing might be broken?

Hello,
thanks for the library -- it is very helpful. Having said this -- I am trying to reconcile it against OpenSSL and I am finding this hard.
One issue seems to be that the PEM import is broken. See the Azure Notebook here
https://ecdsa-skloesch.notebooks.azure.com/j/notebooks/FastECDSA.ipynb
In brief, the issue is the following:
This code works
keypem = """-----BEGIN EC PRIVATE KEY-----
MHQCAQEEIDAH346L7Ww1kqEPnQSVFz3Oy8maQOjIi0fX1ZD4tgjdoAcGBSuBBAAK
oUQDQgAELAcTVHlPOP9Dnv9S+LR1sN7zSiEKo7iKY/KnKV019B+w811PRdlWV/o3
1qVDG+lEGpVjj8cQiE9D//eThCgFbg==
-----END EC PRIVATE KEY-----"""
key, pubkey = fe_pem.PEMEncoder.decode_private_key(keypem)
print(keypem)
print(fe_keys.export_key(key, curve=CURVE))

This code works but gives a different result (only difference: newlines in the certificate file)
keypem = """
-----BEGIN EC PRIVATE KEY-----
MHQCAQEEIDAH346L7Ww1kqEPnQSVFz3Oy8maQOjIi0fX1ZD4tgjdoAcGBSuBBAAK
oUQDQgAELAcTVHlPOP9Dnv9S+LR1sN7zSiEKo7iKY/KnKV019B+w811PRdlWV/o3
1qVDG+lEGpVjj8cQiE9D//eThCgFbg==
-----END EC PRIVATE KEY-----
"""
key, pubkey = fe_pem.PEMEncoder.decode_private_key(keypem)
print(keypem)
print(fe_keys.export_key(key, curve=CURVE))

And finally, this code breaks (multiple new lines)
keypem = """

-----BEGIN EC PRIVATE KEY-----
MHQCAQEEIDAH346L7Ww1kqEPnQSVFz3Oy8maQOjIi0fX1ZD4tgjdoAcGBSuBBAAK
oUQDQgAELAcTVHlPOP9Dnv9S+LR1sN7zSiEKo7iKY/KnKV019B+w811PRdlWV/o3
1qVDG+lEGpVjj8cQiE9D//eThCgFbg==
-----END EC PRIVATE KEY-----

"""
key, pubkey = fe_pem.PEMEncoder.decode_private_key(keypem)
print(keypem)
print(fe_keys.export_key(key, curve=CURVE))

Thanks for catching this, verified that this is an issue and tested fix against provided inputs. Fixed in ce41af6223ec80d3384b26c0c1ee84deba21f786.

thanks


Loading qi fails (without much output after the first failure)

Unfortunately, there's not much to add other than the title:
This is SBCL 1.3.3, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* (load "~/.qi/init.lisp")
;
; compilation unit aborted
;   caught 2 fatal ERROR conditions

T

Hey @bvnierop - thanks for the report! I might need a bit more info, if possible. I just re-installed Qi on my system locally and don't get the same error, but there are a few things we can try:

Can you try adding the (load "/path/to/qi/init.lisp") to your .sbclrc file?
Although, I'm able to call load after inside the SBCL REPL, it could be a way with the order things are loaded.

You may also try using the full pathname, depending on your version of SBCL it might work better:
(merge-pathnames "/home/cody/workspace/repos/qi/init.lisp" (user-homedir-pathname))

If those both fail:

What OS are you on?
Do you have the latest Qi from master branch?
Can you try upgrading the the latest SBCL?

Also, @dunn might have some tips -- she's done some work on initializing Qi recently :)

Hi @CodyReichert , thanks for the quick reply.
After upgrading to the latest version of SBCL, I did manage to get some (read: a lot) of output. The bad news is that I don't have time to filter through it tonight. Since it's way to much to include in the post, I've put it on my public Dropbox account: https://dl.dropboxusercontent.com/u/15706998/shared/qi-output.txt.
After getting that output once, the next time around, the output is the same as in the OP, until SBCL is reinstalled again.
After putting (load "~/.qi/init.lisp") in my .sbclrc, the problem appears to almost certainly be in the dependency fad: https://dl.dropboxusercontent.com/u/15706998/shared/qi-sbclrc-output.txt
Putting the full path in .sbclrc gives the same error.

I've tested on Ubuntu 14.04 and Windows 10.
Yes
I've tested the upgrade to the latest SBCL only on Ubuntu.

Hope that helps.

Maybe I just don't know how to read SBCL's output, but I can't even see where the errors are in the logs; and the load function itself returns T, which is weird.

I had the same thought, @dunn. Looking at the info provided and I don't think the error is caused by any recent change. It must be a system or SBCL issue. Not sure yet, but I'm still looking at it to see if I can find anything.
@bvnierop -- thanks a ton for the log output, that's super helpful.

I've set up a very simple environment to help me figure out where the error comes from.
I have three files:
error.lisp: (defun hello-world (format t "hello, world")) ; we're missing an argument list
load-error.lisp: (load "error.lisp")
compile-error.lisp: (compile-file "error.lisp")
Loading error.lisp directly, obviously puts me in the debugger.
Loading load-error.lisp also puts me in the debugger.
Loading compile-error.lisp succeeds, returning T, with the relevant output being
; in: DEFUN FOO
;     (DEFUN FOO (FORMAT T "hello, world"))
; --> PROGN SB-IMPL::%DEFUN SB-IMPL::%DEFUN SB-INT:NAMED-LAMBDA
; ==>
;   #'(SB-INT:NAMED-LAMBDA FOO
;         (FORMAT T "hello, world")
;       (BLOCK FOO))
;
; caught ERROR:
;   Required argument is not a symbol: "hello, world"
;
; compilation unit finished
;   caught 1 ERROR condition

; C:/Users/bart/test/error.fasl written
; compilation finished in 0:00:00.011
T

(this is done on a Windows machine, I don't have access to my Ubuntu box from here -- I'll run the test there, too, later, to compare notes)
I've tried a few other very simple errors in error.lisp and they all have the same thing in common: caught ERROR. Searching for that, or even just error in the 8193 line log leads to no useful results, however.
This does, however, explain why (load "~/.qi/init,lisp") returns T. While compilation itself isn't quite working out, (load) doesn't check for that, and loading the file is successful.

I may have something new. When loading init.lisp from within my editor and SWANK, I get the following output:
CL-USER> (defpackage #:qi-setup
  (:use #:cl))
(in-package #:qi-setup)
 ...
WARNING: redefining QI-SETUP::QI-DIR in DEFUN
WARNING: redefining QI-SETUP::FIND-ASDF-FASL in DEFUN
WARNING: redefining QI-SETUP::ENSURE-ASDF-LOADED in DEFUN
WARNING: redefining QI-SETUP::PUSH-NEW-TO-REGISTRY in DEFUN
WARNING: redefining QI-SETUP::LOAD-USER-PACKAGES in DEFUN
;
; compilation unit aborted
;   caught 2 fatal ERROR conditions
NIL
#<CFFI:LOAD-FOREIGN-LIBRARY-ERROR "Unable to load any of the alternatives:~%   ~S" {1001EAEC23}>
QI-SETUP>

Hope that helps.

So a CFFI error means it's failing to load a non-Lisp library, right?  Could try (declaim (optimize (debug 3))) as per http://web.archive.org/web/20160815232841/http://malisper.me/2015/07/07/debugging-lisp-part-1-recompilation/ and see if you get any more output.

That didn't solve the problem. However, I went a step further and loaded every dependency by hand.
The problem is in cl-yaml, which requires libyaml to be installed.
After installing libyaml, init.lisp loads just fine, and (qi:hello) works.
The dependency on libyaml should probably be documented.

Oh, definitely!  Glad you figured it out, but sorry it was such a hassle.
I wonder if there are other undeclared dependencies.  CL+SSL relies on OpenSSL; most systems come with it, but that may be worth noting anyway.

That depends on how cross platform Qi is trying to be. Most Windows systems do not come with OpenSSL.

Good point; I'll add OpenSSL too.  @CodyReichert do you know if any other libraries have dependencies?

I spent some time on my Windows machine, and I can verify that there, too, the issues was cl-libyaml's dependency on libyaml. As predicted, cl+ssl's dependency on OpenSSL was also a problem.
Both libyaml and OpenSSL can be had on a Windows machine, though, and after installing them, init.lisp now loads correctly and (qi:hello) works.

Thanks for checking that! I went ahead and updated the README.

Awesome - nice job figuring that out!
@dunn -- that's a good question, let me take a look and see if I can think of any others.
I've mostly assumed Linux, and never tested on Windows. If it works, though, then it would be nice to keep it that way and document what needs to be done!

@CodyReichert  Thanks!
As for working on Windows. I've got (qi:hello) working, but there's a problem with actually using Qi. It likely has something to do with cl-cffi not being able to find the libyaml DLL at run time.
It doesn't appear to be a Qi issue, so I won't make an issue here. If I ever bother to solve it, I'll report back.


The incredibly poorly written javascript on your website does not inspire confidence

You have a site that is basically a business card, but it freezes the entire browser because you clearly have some fundamental lack of understanding how javascript works.
Doing this and then claiming some sort of security expert, providing a service to provide more security to smart contracts seems a bit reckless.

Hey @wade-welles, I feel your pain! I assume you're taking about https://mythx.io? You would have loved the original version which was written in Adobe Flash.
Seriously though, sorry for the bad experience. We're still in beta and lots of updates to the website are coming. I haven't heard reports of browser freezes so far, can you provide mode detailed information on what happened? Browser version, URL visited & any web console errors would be helpful.

Well, smart contract security and website performance are not necessarily related and maybe not done by the same people either ;)
Just, FYI, on Firefox, Linux and macOS everything is fine. Obviously some of the graphics use some ressources, but based on a quick profiler run nothing serious. Certainly nothing that should freeze your browser.

Closing this issue, as it is not related to mythril itself and we are unable to reproduce the issue.


Memory Issue

App crashes in production mode, but in debugger mode. In other word, it runs fine with xcode, but doesn't work with ipa file.
It has memory issue from iosrtc library.

If you are not attached with the debugger how do you know it's memory
related?
Without more details there not much the developer can do here.
I've done hundreds of calls with an app which uses this plugin and haven't
seen a single crash.
On Jun 9, 2016 04:27, "Alex"<EMAIL_ADDRESS>wrote:

App crashes in production mode, but in debugger mode. In other word, it
runs fine with xcode, but doesn't work with ipa file.
It has memory issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/eface2face/cordova-plugin-iosrtc/issues/177, or mute
the thread
https://github.com/notifications/unsubscribe/AATYGD7owPpv4OJlHynSKz6oKWRW3h_kks5qJ4g7gaJpZM4Ixmcd
.

 There is nothing we can do with so little and specific info.

this is not inaccurate issue report. this is very serious. you can try easily by exporting an ipa.

Then show us something. From what we know the leak could be anywhere in your application. Show some debug traces pointing out to a leak in this plugin.

My accurate explanation is that some other unknown plugin in your Cordova app produces such a memory issue.

It works in debugging mode. Can you get debug trace from ipa file?
Also, I have removed all the plugins but this one and tried again.
It still doesn't work.
I have uploaded the ipa to testfairy and figured out that it was memory issue.
Incident Identifier: FCEC7E74-67F6-4C56-B771-444019A82D87
CrashReporter Key:   TODO
Hardware Model:      iPhone7,2
Process:         XXXXXXXX [1639]
Path:            /var/containers/Bundle/Application/206067E5-9532-4EBB-8A8C-20B0184EB467/XXXXX.app/XXXXXXX
Identifier:      com.xxxx.tz
Version:         1.0.0 (1.1.3)
Code Type:       ARM-64
Parent Process:  ??? [1]
Date/Time:       2016-06-08 16:35:34 +0000
OS Version:      iPhone OS 9.3.2 (13F69)
Report Version:  104
Exception Type:  SIGSEGV
Exception Codes: SEGV_ACCERR at 0x12dd4058
Crashed Thread:  0
Thread 0 Crashed:
0   libobjc.A.dylib                     0x1810d9b90 0x1810c0000 + 105360
1   UIKit                               0x18715cc3c 0x186bac000 + 5966908
2   UIKit                               0x18701ec3c 0x186bac000 + 4664380
3   UIKit                               0x1874ef384 0x186bac000 + 9712516
4   UIKit                               0x187151f30 0x186bac000 + 5922608
5   UIKit                               0x186d66728 0x186bac000 + 1812264
6   UIKit                               0x186bf37a0 0x186bac000 + 292768
7   UIKit                               0x187153530 0x186bac000 + 5928240
8   UIKit                               0x186bb24d8 0x186bac000 + 25816
9   UIKit                               0x186baf254 0x186bac000 + 12884
10  UIKit                               0x186bf1610 0x186bac000 + 284176
11  UIKit                               0x186bf0c0c 0x186bac000 + 281612
12  UIKit                               0x186bc104c 0x186bac000 + 86092
13  UIKit                               0x186bbf628 0x186bac000 + 79400
14  CoreFoundation                      0x181a1909c 0x181938000 + 921756
15  CoreFoundation                      0x181a18b30 0x181938000 + 920368
16  CoreFoundation                      0x181a16830 0x181938000 + 911408
17  CoreFoundation                      0x181940c50 0x181938000 + 35920
18  GraphicsServices                    0x183228088 0x18321c000 + 49288
19  UIKit                               0x186c2a088 0x186bac000 + 516232
20  Tranzport                           0x100035380 0x100030000 + 21376
21  libdyld.dylib                       0x1814de8b8 0x1814dc000 + 10424
...
The thing is, iosrtc plugin was working with x86 architecture, and after they rebuild it for x64 architecture, the library file (.a file) size has doubled, to 76MB (which was 46MB) and it causes memory leaks.

I have uploaded the ipa to testfairy and figured out that it was memory issue.

How? Do you get a report? What does it say?

Exception Type: SIGSEGV
Exception Codes: SEGV_ACCERR at 0x12dd4058
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x1810d9b90 0x1810c0000 + 105360
1 UIKit 0x18715cc3c 0x186bac000 + 5966908
2 UIKit 0x18701ec3c 0x186bac000 + 4664380
3 UIKit 0x1874ef384 0x186bac000 + 9712516
4 UIKit 0x187151f30 0x186bac000 + 5922608
5 UIKit 0x186d66728 0x186bac000 + 1812264
6 UIKit 0x186bf37a0 0x186bac000 + 292768
7 UIKit 0x187153530 0x186bac000 + 5928240
8 UIKit 0x186bb24d8 0x186bac000 + 25816
9 UIKit 0x186baf254 0x186bac000 + 12884
10 UIKit 0x186bf1610 0x186bac000 + 284176
11 UIKit 0x186bf0c0c 0x186bac000 + 281612
12 UIKit 0x186bc104c 0x186bac000 + 86092
13 UIKit 0x186bbf628 0x186bac000 + 79400
14 CoreFoundation 0x181a1909c 0x181938000 + 921756
15 CoreFoundation 0x181a18b30 0x181938000 + 920368
16 CoreFoundation 0x181a16830 0x181938000 + 911408
17 CoreFoundation 0x181940c50 0x181938000 + 35920
18 GraphicsServices 0x183228088 0x18321c000 + 49288
19 UIKit 0x186c2a088 0x186bac000 + 516232
20 Tranzport 0x100035380 0x100030000 + 21376
21 libdyld.dylib 0x1814de8b8 0x1814dc000 + 10424

This shows a crash, not a leak. And I see no frame pointing to this plugin in there.

The thing is, iosrtc plugin was working with x86 architecture, and after they rebuild it for x64 architecture, the library file (.a file) size has doubled, to 76MB (which was 46MB) and it causes memory leaks.

This plugin has no control over the build size of your application. Moreover, x86 and x64 are only used on the simulators, not on real devices. FWIW the plugin does work on the simulator, but just audio calls since the simulator doesn't emulate a camera.

I'm talking about the library file (.a file) which you used. It was working fine when it was supporting only x86 architecture only. Your latest update for x64 architecture increased the a file size to 76MB and it causes crash.
Have you ever tried?

I don't know what you're talking about. The bundled static library has been ~70MB for over a year now: https://github.com/eface2face/cordova-plugin-iosrtc/blob/41b4ca8320ed1e4c0cea349b0645f61e5073521c/lib/libWebRTC-LATEST-Universal-Release.a
I just published an app to the store (I literally hit the button this morning), which strips the simulator architectures, and it totals to less than 30 MB, several plugins included. I see no crash. So I'm sorry, but unless you're able to produce more detailed information nobody will be able to help you.

First of all, x64 architecture is mandated for iOS apps: https://cordova.apache.org/announcements/2014/11/25/ios-64bit.html
Second, "we" did not "update" anything to x64, it was that since the first day of the plugin.

Your latest update for x64 architecture increased the a file size to 76MB and it causes crash.

And you know that such a crash is due the update for x64 because... Why do you know that?

Have you ever tried?

I won't check your app. The app is running in production for several users.
Can you show a proper debug trace pointing to the plugin when the crash happens?

@Alex--Jin, as per your private mail, you are not using  cordova-plugin-iosrtc but phonertc. The fact that both projects internally use the Google's libwebrtc does not mean that the authors of cordova-plugin-iosrtc are responsible of bugs/crashes in phonertc.
In fact, you also reported the same issue in phonertc.
So this has been a full waste of time, and I strongly ask you not to report here bugs related to other projects/libraries/software.


Chat memory not working with "Conversational Retriever QA Chain"

Discussed in https://github.com/FlowiseAI/Flowise/discussions/685

Originally posted by room3dev August  3, 2023
It working for "Conversation Chain" but not with "Conversational Retriever QA Chain" (Both for Web & API<EMAIL_ADDRESS>Conversation Chain (Working):

Conversational Retriever QA Chain (Not working):

Not sure If this a bug or I did something wrong.

Hi @room3dev, the memory for Conversational Retrieval QA Chain does not work the same as Conversation Chain.
The memory in Conversational Retrieval QA Chain is use to rephrase the user message question.
Reference:
#633


How to open custom dialog from grid

How to open custom dialog from itemlink in grid, i create dialog in web.script where dialog inherits from TemplateDialog.
Thanks

See how to about action in grid, you need to follow similar steps, creating a < a class='my-link'> element , handling click event for that class and opening your dialog with new MyProject.MyModule.MyDialog().dialogOpen()

Added sample in <IP_ADDRESS>

Hi Jaiq,
Appreciate your support.
Thanks


Separate into core, frontend, and backend engines (like Solidus)

I have been modifying a fork of this gem to separate the solidus_flexi_variants gem into core, frontend, and backend engines. It's a similar format to the solidus path. I went down this path because I wanted to use the models, business logic, and admin views but not the frontend stuff.
In fact, if a person isn't using solidus_frontend, they may not be able to get the existing solidus_flexi_variants gem to work because it depends on standard solidus/spree frontend controllers.
Are you interested in a pull request for this separation? I'll probably need some help to finish it.

Its probably a good idea.  Can you outline the changes?


Add domain iqs-blanquerna.url.edu

This corresponds to  Instituto Químico de Sarriá (Universidad Ramon Llull)

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


[Suggestion] Move WIL dependency to package manager

Currently WIL dependency is referenced via git submodules. Maybe use NuGet package instead? Also, move GSL to NuGet and then reference it will be cool, but probably it's an issue for GSL repo.
The problem is that package management is not unified and I suppose that moving all dependencies to NuGet will be easier to support

Since those are C++ dependencies and NuGet is mostly used for managed dependencies, it would make more sense to use vcpkg to get wil and gsl from.

Unfortunely, I'm not a C++ dev, so not sure about C++ package managers, but as I thought, it's not a problem

But adding another package manager is not a solution, anyway. It just will make the situation worse. What I wanted to state is that better when there is only one way of managing dependencies.

The right tool for the right job. NuGet is terrible for C++ dependency management.

So, we've discussed this with the GSL team. Because they're a headers-only library, shipping a nuget really really doesn't make any sense for them. Their official guidance was to use a submodule.
I don't think we even knew that there was a WIL nuget - looks like it's really new, so that explains why. @DHowett-MSFT /@miniksa thoughts?

I chose to vend WIL as a submodule when they open-sourced because the VS project system has only very poor support for nuget packages against C++ projects. It exists, but it's really unpleasant -- you can't have transitive dependencies living in .props files, for example, because while ItemGroup.PackageReference is a thing, it only applies to literally everything but C++.
There may be some longstanding ill will here. :smile:

I've ported wil to vcpkg so now it's possible to use it for both gsl and wil: https://github.com/microsoft/vcpkg/pull/6353

We talked to the vcpkg team yesterday about using vcpkg for things like this given that vcpkg seems to be the solution to C/C++ package management where nuget is more for managed code like C#.
We just haven't had the mental capacity to fully internalize what it would mean to get vcpkg up and going.
I believe it's probably the right solution because the vcpkg team is smart and knows this space better than we do. I'm also reticent to adding a third package manager, but I also want to do what experts say is right.

hey look, we did this in #12778


Entity mapping not working as expected for non-PK referencedColumnName in JoinColumn

Description
In an entity, I have a @ManyToOne mapping with a non-PK referencedColumnName and I'm trying to map the target entity into an entity view. Here is an attempt to simplify the setup:
@Entity
public class Cat {
    @Id
    private Long id;
    private String name;
    @ManyToOne
    @JoinColumn(referencedColumnName = "code")
    private CatFood favoriteFood;
}

@Entity
public class CatFood extends AbstractBaseEntity implements Serializable
{
    @Id
    private Long id;
    @Column(nullable = false, unique = true)
    private Long code;
    private String brand;
}

@EntityView(Cat.class)
public interface CatView
{
    @IdMapping
    Long getId();
    String getName();
    @Mapping("favoriteFood")
    CatFood getFavoriteFood();
}

        ID NAME         FAVORITEFOOD_CODE
---------- ------------ -----------------
         1 Lucy           23
         2 Tom             1
         3 Kitty

        ID BRAND        CODE
---------- ------------ ----------
         1 Whiskas           23
         2 Purina             1

Expected behavior
When the entity is queried directly, the favorite food should be loaded:
Cat cat = cbf.create(em, Cat.class).where("id").eq(2L).getSingleResult();
assertThat(cat.getFavoriteFood(), is(not(nullValue())));
assertThat(cat.getFavoriteFood().getBrand(), is("Purina"));

When the entity view is queried, the favorite food should also be loaded:
CriteriaBuilder<Cat> cb = cbf.create(em, Cat.class).where("id").eq(2L);
CriteriaBuilder<CatView> viewBuilder = evm.applySetting(EntityViewSetting.create(CatView.class), cb);
CatView catView = viewBuilder.getSingleResult();
assertThat(catView .getFavoriteFood(), is(not(nullValue())));
assertThat(catView .getFavoriteFood().getBrand(), is("Purina"));

Actual behavior
When querying the Cat entity directly, the behavior is as expected. For the catView though, getFavoriteFood() returns null.
Worse, in my original and much more complex setup the method corresponding to getFavoriteFood() in this example returns the wrong entity if the "food code" in the FK column matches another row with an "id" of the same value. Unfortunately, I couldn't reproduce this exact behavior with the simplified setup.
Environment
Version:            1.6.3
JPA-Provider:    Hibernate 5.5.7.Final
DBMS:               Oracle
Application Server: Apache Tomcat, Spring Framework

Can you try mapping this to a view again just to rule out some fundamental issue with your mapping?
Mapping("favoriteFood") CatFoodView getFavoriteFood();

You mean I should try and map the favorite food as another view instead of an entity, like this?
@EntityView(CatFood.class)
public interface CatFoodView
{
    @IdMapping
    Long getId();
    String getBrand();
}

@EntityView(Cat.class)
public interface CatView
{
    @IdMapping
    Long getId();
    String getName();
    @Mapping("favoriteFood")
    CatFoodView getFavoriteFood();
}

I just tried that and without changing anything else, catView.getFavoriteFood() now returns the expected view instance instead of null.

Not sure if it is this issue, but I think you are running into https://hibernate.atlassian.net/browse/HHH-12885 which is a pretty old Hibernate bug that we never came around to fix properly. I would recommend you to use entity views all the way anyway to avoid surprises with missing/broken equals/hashCode implementations of the JPA model classes. Blaze-Persistence Entity-Views heavily relies on equals/hashCode to be implemented properly for all attribute types within a view to be able to eliminate duplicates in certain situations. The default implementations of the generated entity view types are known to be safe, so that's not going to be a problem for you if you use entity views everywhere :)

Worse, in my original and much more complex setup the method corresponding to getFavoriteFood() in this example returns the wrong entity if the "food code" in the FK column matches another row with an "id" of the same value. Unfortunately, I couldn't reproduce this exact behavior with the simplified setup.

Nonetheless I would like to analyze and fix this issue if possible. Do you think you could share an excerpt of your real model through Slack or maybe it is using a OneToOne(mappedBy) and the issue I posted really is the reason for the null?

That Hibernate issue looks like it could be related to this, although I'm using ManyToOne here and not OneToOne.
Also, you a right of course, there are custom equals/hashCode implementations involved that I've omitted above. Blaze Persistences doesn't even allow entities without those to be mapped into entity views if I noticed correctly. I have quickly put together a minimal but complete project that includes the implementation for those methods and that reproduces the issue with the simplified data model described above. For sake of brevity, I'm using Java SE and H2 this time which doesn't seem to change the behavior:
https://github.com/cgraefe/BlazePersistenceTest
Sharing excerpts of the real model is much harder to do. It is quite extensive and complex and I would first need to find out how much of it and which parts I'd have to share in order to still reproduce the issue.
In the meantime, I will follow your advice to create and map additional entity views. While that might be preferable anyway, it still kinda feels like a work-around, though.

Thanks for the reproducer, I'll take a look this weekend.

While that might be preferable anyway, it still kinda feels like a work-around, though.

Usually, it works fine to use entities as long as the types have sane equals/hashCode implementations. There are just some edge cases related to Hibernate issues like I mentioned. Ultimately, it will be better to use entity views all the way though because you can then fully control what is fetched and how, which entities not necessarily allow in all cases.

Thanks again for your help and effort!

Ultimately, it will be better to use entity views all the way though because you can then fully control what is fetched and how, which entities not necessarily allow in all cases.

Generally, I agree! In my particular case, I am using Blaze Persistence to improve a large existing code base with some parts dating back more than 10 years. Being able to (at least temporarily) map entities into views is a nice feature that allows for a more gradual refactoring, imho.

Hey, sorry to say that, but I debugged a bit and found out that you are in fact hitting https://hibernate.atlassian.net/browse/HHH-12885 or something very similar at least. It seems the problem is that it is impossible to load a non-pk key joined association via HQL. So the best way to avoid this really is to make use of entity views all the way.
I can assure you though, that this won't be a problem with Hibernate 6.0 anymore as soon as that is out of the door. Maybe I even have time to backport some fixes to 5.x after the Hibernate 6.0 release.

Good to know, at least. Thanks for looking into this!


Should trigger information be stored into in dl0?

At the moment we write the trigger information into the /dl1/event/{subarray,telescope} groups.
However, this is really dl0 information and we do not apply any correction which would justify making it dl1.
I guess this comes from "historic" times, where we wrote "pure" dl1 files and the data model document was not yet written.
I would propose that when we solve https://github.com/cta-observatory/ctapipe/issues/2139 we also change the data writer to write this into /dl0/ instead.

Agreed. It makes more sense in DL0, and there i always a chance in the future we would want to apply some corrections, in which case there would also be a DL1 version. So it's good to separate these.
Also now that it's clear that data products can contain data from multiple data levels, it's fine to have DL0 in a file along with DL1

Same for pointing


chore(website): add option to modify array type for C# in playground

Description

Added option in the playground to select collection type.

Related issue(s)

Resolves #1180

@jonaslagoni PTAL

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4732

Relevant Lines:
4991

💛  - Coveralls

/rtm


It's possible to change the pincode without enabling it first

When you click on change if you haven't set a password yet you are prompted to enter your 4 digit pincode but it's always wrong because no pincode is set.

Hello @m1s73r
Yes that is one downside of the library for now.
Either you have to handle it properly (let's say provide only the change option only if the passcode has been set, otherwise no), or you can do a pull request and change the behaviour of the change option. As we don't have the time to handle that currently, and that we handle correctly the use-case in our situation,  we won't have the time to make the update ourselves.
Thank you in advance.
Cheers,
Olivier


Can scenery handle touch areas?

From https://github.com/phetsims/sun/issues/207 we discussed trying to generalize scenery so that it would be responsible for touch areas.  If a touch event pressed near a button, the button should be activated.  This could alleviate problems about having adjacent objects, such as checkboxes that are flush against each other.  It could also address problems that @jonathanolson described for dragging particles when one particle goes behind another but the touch area goes in front (I don't think I'm describing this last part too well).
Assigned to @jonathanolson to review my comments above and to add any details I omitted.

Above sounds good, although for sims (for now), decided to go with a fairly simple solution (ClosestDragListener in Sun) in the medium-term.