implement manual cspp mixer setup

Resolves #780, #796

[x] Move all mixer related files to "privacy" package
[x] Allow re-map of mixed/unmixed account in privacy setup for restored wallets
[x] Show mixer card for the wallet currently mixing

Rather than have the bottom section why not have it so. this way you conserve space.

what you're proposing here isn't clear, i need more clarity

Sorry.. the last sets of updates on the screenshot did not reflect. here you have it. Rather than have a section at the bottom, we can have it just next to the text.

Rather than have the bottom section why not have it so. this way you conserve space.

what you're proposing here isn't clear, i need more clarity

Sorry.. the last sets of updates on the screenshot did not reflect. here you have it. Rather than have a section at the bottom, we can have it just next to the text.

noted, however i just replicated the design that was done by morhymore for the mobile, i feel the design can always be improved upon, but i don't think this PR is the right space for this, as long as functionality works, and the design looks exactly like what we have on the mobile apps, then we should be good to go, and let the designs give us a refined UI at a later stage

noted, however i just replicated the design that was done by morhymore for the mobile, i feel the design can always be improved upon, but i don't think this PR is the right space for this, as long as functionality works, and the design looks exactly like what we have on the mobile apps, then we should be good to go, and let the designs give us a refined UI at a later stage

As much as i will like to concur, this is currently a new feature going into Godcr.. even if it will be enhanced in future, it is also nice we have the best we can for now. Looking at the screenshot, in a bid to optimize what we have to reduce the amount of work to be done in future, lets see how to get these changes it.
Godcr has gone way past the just functionality stage as we keep pushing for new releases.

I am also unable to import a wallet with its mixer accounts... tried it 2 times already.
The last wallet is a copy of the first wallet, which has mixer accounts and funds in it but after import, the accounts are not imported.

I am also unable to import a wallet with its mixer accounts... tried it 2 times already.
The last wallet is a copy of the first wallet, which has mixer accounts and funds in it but after import, the accounts are not imported.

Have you synced after importing?

I am also unable to import a wallet with its mixer accounts... tried it 2 times already.
The last wallet is a copy of the first wallet, which has mixer accounts and funds in it but after import, the accounts are not imported.

Have you synced after importing?

Figured that could be the challenge so i am currently syncing will update you.

So clicking this button even if privacy has not been set up for the selected wallet, opens up the manual setup, and when i selected a wallet, i get the message i cannot select same account which is understandable, however frustrating as i dont know what next to do.
originally, if mixer has not been set up, clicking the button should return a toast notification that the wallet does not have mixer set up and i should use the auto set up or hides the manual set up and only leave the auto set up.
after using the auto setup to set up the mixer, returning to the wallet page, the newly generated mixer accounts are not displayed?
I am also unable to test the manual setup as i tried importing a wallet with mixer active with mixed and unmixed accounts yet after import, the accounts where not imported along side it.

So clicking this button even if privacy has not been set up for the selected wallet, opens up the manual setup, and when i selected a wallet, i get the message i cannot select same account which is understandable, however frustrating as i dont know what next to do.
the error message is pretty clear, there could be 2 reasons why that happens

it's either it's a fresh wallet and the user only has account on it, and can't use the manual mixer until they create another account or
they have mixer enabled but have not finished syncing

either way if they are going to manual mixer then they should know what they are doing, except you're proposing changing the error message
there's no way for us to detect if the case is 1 or 2 and advise them based on it
 originally, if mixer has not been set up, clicking the button should return a toast notification that the wallet does not have mixer set up and i should use the auto set up or hides the manual set up and only leave the auto set up.
We don't control the privacy for users, users can still choose to select distinct accounts to use as mixed and unmixed account through manual setup. so we don't need to prevent users from accessing the manual mixer page at all
after using the auto setup to set up the mixer, returning to the wallet page, the newly generated mixer accounts are not displayed? i'm guessing this is a sync issue, i recall @devchoplife testing this without any issues, i also tested this without any issues
I am also unable to test the manual setup as i tried importing a wallet with mixer active with mixed and unmixed accounts yet after import, the accounts where not imported along side it.
this is a syncing issue

So interesting thing is that is i have done the manual setup on the newly imported wallet and it is successful.
issue now is that on the wallet page, the wallet names still shows up as account-1 and account-2 however on the privacy page, i see mixed and unmixed.
I have switched pages and restarted the app, and its same.


Delivery message not showing

Hi again!
Delivery message not showing in game.
https://pastebin.com/j7smNn5p
http://joxi.ru/5mdRGEZT3dzaPA
Quests 3.7.8
And i found two errors suddenly
1: https://pastebin.com/4Es1mvvV (on click on NPC if you have conversation already)
2: https://pastebin.com/H2hq72b6 (after commands reward on finish quest, for example: https://pastebin.com/sG2YnZ1k)

Thanks for the report. The command rewards issue is fixed in the 3.8.0 dev builds, available at https://ci.codemc.org/job/PikaMug/job/Quests/
Warning: The build linked above is experimental. Make sure to back up your Quests folder before attempting to use it. Alternatively, wait until the final release on Spigot.

I will wait. Thank you!


Error while fetching config

Expected Behavior
The config is expected to be fetched.
Actual Behavior
2022/03/26 10:47:04.100470 config.go:58: Failed to fetch config from "https://ra
w.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.jso
n": Get "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/m
ain/config.v0.7.json": context deadline exceeded
Steps to Reproduce the Problem

run db1000n_0.8.8_windows_amd64\db1000n.exe

Specifications

Version: 0.8.8
Platform: Windows 7 x64 on virtual machine
Subsystem:

Can you check if you can access that URL in browser or with curl? Most likely this is a connection problem (could be caused by VPN, I can point you to possible workarounds in that case)

Upgraded to v0.8.9, issue persists.
I cannot access URL from Google Chrome when VPN is turned on. But I can do it if VPN is off.
I have tried another country in VPN. Google Chrome was able to load URL after looong wait. And db1000n.exe is producing new type messages:
2022/03/26 15:33:05.237031 config.go:58: Failed to fetch config from "https://ra
w.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.jso
n": Get "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/m
ain/config.v0.7.json": dial tcp <IP_ADDRESS>:443: i/o timeout
2022/03/26 15:34:57.146432 config.go:58: Failed to fetch config from "https://ra
w.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.jso
n": Get "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/m
ain/config.v0.7.json": dial tcp: lookup raw.githubusercontent.com: no such host

Same here (using not Windows but Ubuntu):
$ docker run --rm -it --pull always ghcr.io/arriven/db1000n
latest: Pulling from arriven/db1000n
Digest: sha256:5008f4b828091afbf4d33aafa7d7aa5d8c0caecbcee8df3088c0c5d61572a5a8
Status: Image is up to date for ghcr.io/arriven/db1000n:latest
2022/03/27 10:20:43.771119 main.go:51: DB1000n [Version: v0.8.10][PID=1]
2022/03/27 10:20:43.771318 countrychecker.go:46: Checking IP address, attempt #1
2022/03/27 10:20:46.772057 countrychecker.go:98: Can't check users country. Please manually check that VPN is enabled or that you have non Ukrainian IP address.
2022/03/27 10:20:47.772378 countrychecker.go:46: Checking IP address, attempt #2
2022/03/27 10:20:50.772751 countrychecker.go:98: Can't check users country. Please manually check that VPN is enabled or that you have non Ukrainian IP address.
2022/03/27 10:20:51.772939 countrychecker.go:46: Checking IP address, attempt #3
2022/03/27 10:20:54.775135 countrychecker.go:98: Can't check users country. Please manually check that VPN is enabled or that you have non Ukrainian IP address.
2022/03/27 10:21:14.832729 config.go:58: Failed to fetch config from "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.json": Get "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.json": context deadline exceeded
2022/03/27 10:21:15.780133 config.go:135: Decrypted config
2022/03/27 10:21:15.846643 runner.go:103: New config received, applying
2022/03/27 10:21:15.846752 runner.go:114: Config is encrypted, disabling logs
2022/03/27 10:21:15.848336 runner.go:208: 24 job instances (re)started
[Error] No traffic generated. If you see this message a lot - contact admins
2022/03/27 10:22:44.780434 config.go:58: Failed to fetch config from "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.json": Get "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.json": context deadline exceeded
2022/03/27 10:22:44.800847 runner.go:121: The config has not changed. Keep calm and carry on!
[Error] No traffic generated. If you see this message a lot - contact admins
2022/03/27 10:23:44.777684 config.go:58: Failed to fetch config from "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.json": Get "https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.json": context deadline exceeded
2022/03/27 10:23:44.799319 runner.go:121: The config has not changed. Keep calm and carry on!
[Error] No traffic generated. If you see this message a lot - contact admins

I can access the URL with VPN enabled:
$ curl -I https://raw.githubusercontent.com/db1000n-coordinators/LoadTestConfig/main/config.v0.7.json
HTTP/2 200
...

@michaelKaefer you can try running the container with --network host or you can try a solution with one instance of db1000n running as updater publishing local copy of the config fetching it without vpn, but that's more complex

@tvoretsmira I'll try to write a quick command that would allow you to use a set of http proxies instead of relying on VPN but that might be less effective

A lot depends on VPN. v0.8.10 with VPN in China does not display any config fetching error.

@tvoretsmira @michaelKaefer try following this example: https://github.com/Arriven/db1000n/blob/main/examples/docker/static-docker-compose.yml
This is exactly why I added updater mode to reliably bypass this issue.

How do I use this file?

@tvoretsmira as of v0.8.12 you can use this command without VPN to use porthole-ascend-cinnamon proxylist instead:
go run main.go --proxy '{{ join (split (get_url "https://raw.githubusercontent.com/porthole-ascend-cinnamon/proxy_scraper/main/proxies.txt") "\n") "," }}' --debug
You can also replace the url with any other that would return a text file with a list of proxies but I've heard that the author of that list is happy to give it to people (see #424 )
Using VPN would be more effective as you can't run all the attacks through proxy but that's better than not being able to run any attacks at all

obviously you should use ./db1000n.exe instead of ./db1000n on windows and can use it with docker run by just appending that --proxy flag to the end of the appropriate command

Current version of docker does not seem to support Win7 x64. I had no success installing it.
I'm still able to find VPN that causes no problems. Unfortunately, those VPN are not in Russia or Belarus. You wrote that VPN is more effective than proxy. Does it remain more effective when other countries are used?

yes, in terms of effectiveness I'd put them in the following order:

VPN into "friendly" country
VPN into any country other than Ukraine
"Friendly" Proxies
Any non-Ukrainian proxies
No VPN or proxy at all (Ukrainian IP address)

there is also a problem with outdated config - when the first github's url has failed for some reason, the other 2 bitbucket's ones are not actual. The one doesn't exist any more (404 error) and the other contains old outdated targets:
warn    failed to fetch config  {"path": "https://raw.githubusercontent.com/xzyallzjx-231/iouzjla-612/main/20.json", "error": "Get "https://raw.githubusercontent.com/xzyallzjx-231/iouzjla-612/main/20.js
on": context deadline exceeded"}
warn    failed to fetch config  {"path": "https://bitbucket.org/uncork-vacant-shallow/exposable-ibuprofen/raw/main/20.json", "error": "error fetching config, code 404"}
info    loading config  {"path": "https://bitbucket.org/itarmy2022123/safjzd-dajkl-124/raw/main/20.json"}
info    the config has not changed. Keep calm and carry on!


DO NOT MERGE Tweak Money#<=> to be consistent with Money#==

Right now we have inconsistent responses around equality between == (and thus #eql?) and <=>. This can lead to surprising results.
For example:
[1] Money.new(2.0) == 2.0
=> false
[2] Money.new(2.0) <=> 2.0
=> 0

This PR makes it so that ==, eql?, and <=> behave consistently. One side-effect of this however is that <=> will return nil in more cases (as to be consistent with the old behaviour of ==), which is why there's a "major" version bump (as major as you can have with pre 1.0).

This is unsafe to merge right now without causing significant downstream issues. This kind of change will have to wait until we've formally made currency mismatches deprecated in arithmetic.


how to make pretrain model?

vits_pretrain.pt
is pretrain model only have one speaker or have mutil speaker?  will us train our dataset on the pretrained first speaker?
why pretrain model is smaller than our trained model, is there a way to convert our model to pretain model?

The code is constantly updated, and you need to use the code package from release page.
svc_export.py is for export clean&small model

好~(￣▽￣)~*


Create _ToLocaleString which is called call by ToLocaleString() -> _toLocaleString(number: 42424242, minDigits: 2, maxDigits: 2)

Not needed anymore.


Implement deployment checker

Describe the solution you would like to see happen
A check for Deployments analogous to the existing DaemonSet check would be useful to verify, that the Controller Manager loops for Deployments and ReplicaSet are still working. As most applications utilize Deployments, it is important to be sure, that this functionality is working.
How do you propose we build it?
The check could be built similar to the existing check for daemon set, but using a Deployment instead of a DaemonSet. One replica would be enough for this check, as the DaemonSet check already verifies, that pods can be scheduled on all nodes.
What is your opinion on deployment checks? Would you accept contributions for such a check?

I think this is reasonable if its implemented very similarly to the DS checker as you said.  It would be low impact and have very low resource requirements.
We'd like to test most commonly used kube features eventually and this fits into that plan.  If @integrii and @ihoegen agree, I'd say we accept this proposal.

I think this is a useful thing to test, but I am not sure it should be enabled by default.  We are already asking a lot of cluster operators with the daemonset checker and the deployment overlaps a good bit.
Be sure that you include the proper flags and environment variables in main.go so that it can be toggled like the other checks (as of recently).  The helm chart and static spec files would need an update, too...

I also am a little sad that this issue has not yet been completed.  I would have liked to fold this into a more generic test creation pattern instead of the very static one we have today.


Do nothing if outstanding balance is 0$

Otherwise, it invalidates credit card payment and does not create it back.

thanks @bryanmtl


joblib dependency as apt-get instead of pip

A recent change to setuptools has caused issues with some packages. When installing Tensile via the modified dockerfile, this causes an issue with devscripts. This change sidesteps the issue for now.
For detailed discussion see:

https://github.com/pypa/setuptools/issues/3772
https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/1991606

Note that the issue is not related to joblib itself. All other deps in the pip3 install ...  section are already installed and skipped. New deps, however, trigger devscripts and cause the issue. Changing joblib to any other (uninstalled) python packages causes the same error (e.g. pandas).

@amcamd  also should monitor

Thanks for this fix @nielenventer , it should fix SWDEV-385910


AIRSPEED SENSOR MISSING in rover mode

When using the rover, the following message comes up showing that the airspeed sensor is missing.
This does not seem necessary when using a rover airframe.
APM: PREFLIGHT FAIL: AIRSPEED SENSOR MISSING
@dagar

@gpldecha as a provisional fix, try setting CBRK_AIRSPD_CHK to 162128.

The problem is that GroundRoverPositionControl relays on the ECL_L1_Pos_Controller, which verifies for the presence of airspeed data. It is on the TODO list reformulate this same matter, as the UGV controllers came basically from the FW controllers.

An acceptable fix for now is having CBRK_AIRSPD_CHK default to 162128 for all UGV.
Slightly longer term we need commander to be aware of ugv and not just fw/mc/vtol.

Hey, this issue has been closed because the label status/STALE is set and there were no updates for 30 days. Feel free to reopen this issue if you deem it appropriate.
(This is an automated comment from GitMate.io.)

bump, issue still there.


org.apache.httpcomponents and httpclient warning

Getting this warning:
Warning:Dependency org.apache.httpcomponents:httpclient:4.0.1 is ignored for debug as it may be conflicting with the internal version provided by Android.
In case of problem, please repackage it with jarjar to change the class packages
Solved via:
compile 'com.firebase:firebase-client-android:2.3.1'
compile ('com.firebase:geofire:1.1.0'){
	exclude group: 'org.apache.httpcomponents', module: 'httpclient'
}

Does this justify a documentation change in the readme/projects?

It seems you have tied the dependency to 1.1.0. Can you check whether it still exists with 1.1.1, the current version, for which we tweaked the sub-dependencies a bit.

This is no longer a problem in 1.1.1. Thanks.

yup , same problem and solved via
compile 'com.firebase:geofire:1.1.1+'
thanks @jdimond and @ersin-ertan for sharing the problem


Android design of clicker

This is introducing a second Android application into the repo. If the other one is outdated maybe remove it. Also, IMO, we should also keep all our source in one directory the "Source" one in this case. Having the Android Files in the top directory doesn't seem like a good structure.

The thing is Vince's Android is still in master and developer so I didn't know what will happen when we merge, so until Vince's stuff is gone I avoid working in the same file as his stuff.


Couldn't find: baksmali

[*] Running backdoor-apk.sh v0.2.4a on Sat Apr  4 19:46:32 -03 2020
[!] Check your environment and configuration.  Check your environment and configuration. Couldn't find: baksmali
HELPPPP

@BotSabugogrosso
I tried your procedure but not worked.

apt search baksmali

I am having the same problem as well

try
sudo apt install smali apktool

try
sudo apt install smali apktool

it worked

try
sudo apt install smali apktool

it worked

work nimane

try
sudo apt install smali apktool

thank u，it works


🐛 [Baikal] Can't update to version 0.9.4+msmtpfix

Description
When I try to update to version 0.9.4+msmtpfix I am getting this message:

Can't install ghcr.io/alexbelgium/baikal-amd64:0.9.4+msmtpfix: 400 Client Error for http+docker://localhost/v1.43/images/create?tag=0.9.4%2Bmsmtpfix&fromImage=ghcr.io%2Falexbelgium%2Fbaikal-amd64&platform=linux%2Famd64: Bad Request ("invalid tag format")

I don't think 0.9.4+msmtpfix is an acceptable tag?
Reproduction steps
1. Go to HAOS Updates
2. Click on Update when presented with option to update to Baikal 0.9.4+msmtpfix
3. See error

Addon Logs
> Can't install ghcr.io/alexbelgium/baikal-amd64:0.9.4+msmtpfix: 400 Client Error for http+docker://localhost/v1.43/images/create?tag=0.9.4%2Bmsmtpfix&fromImage=ghcr.io%2Falexbelgium%2Fbaikal-amd64&platform=linux%2Famd64: Bad Request ("invalid tag format")

Architecture
amd64
OS
HAos

Fixed! Thanks

Are you sure it's fixed? I still have the same version available to update and it's the same error.

I think you need to bump the version so a correct version shows up.

On version -4?

You're right sorry, done


Is it possible to add DataFrame`s data to existing csv file?

First of all, thank you for this wonderful library!
In remote SFTP server I have csv file with some data. Is it possible to add DataFrame's data to this existing file? In other words, previous data inside csv file should not be overwritten. I notice that the code below recreate the file.
val df: DataFrame = Seq(
	("Alex", "2018-01-01 00:00:00", "2018-02-01 00:00:00", "OUT"),
	("Bob", "2018-02-01 00:00:00", "2018-02-05 00:00:00", "IN"),
	("Kate", "2018-02-01 00:00:00", "2018-02-05 00:00:00", "IN"),
	("Alice", "2018-02-01 00:00:00", "2018-02-05 00:00:00", "OUT"),
).toDF("FIRST_NAME", "START_DATE", "END_DATE", "STATUS")

df.write.
	format("com.springml.spark.sftp").
	option("host", "XXXX").
	option("username", "XXXX").
	option("password", "****").
	option("fileType", "csv").
	option("delimiter", ";").
	save("/PATH/test.csv")

I also tried such code. Unfortunately, both variant did not help me. I will be grateful for any help.
Variant A:
import org.apache.spark.sql.SaveMode

df.write.
    mode(SaveMode.Append).
    format("com.springml.spark.sftp").
    ...

Variant B:
df.write.
    mode("append").
    format("com.springml.spark.sftp")
    ...

@NogerbekNurzhan - This is a good feature requirement. Unfortunately we have limited time to work on it. We'll work on it when we get some time. Also if possible, add the code to support this feature and create a PR


node connects after channel creation failed because node was unconnected (race condition?)

I have logs for a failed channel creation (I can send full logs in a private message).
PEER= private key of peer (always the same peer)
in chronological order
poold:  [INF] FNDG: Batch(xxx): opening channels for 1 matched orders
poold: [INF] FNDG: Registering funding shim for Order(type=Ask, amt=x BTC, nonce=xx
lnd: [ERR] RPCS: unable to open channel to NodeKey(PEER): peer PEER is not inline
lnd: [ERR] RPCS: [/lnrpc.Lightning/OpenChannel]: peer PEER is not online
poold: [ERR] FNDG: unable to read chan open update event from node PEER, going to reject channel: rpc error: code = Unknown desc = peer  PEER is not online
lnd:  [INF] SRVR: New inbound connection from IP_OF_PEER
lnd: [INF] SRVR: Finalizing connection to PEER@IP_OF_PEER
lnd: [ERR] RPCS: [/lnrpc.Lightning/SubscribePeerEvents]: rpc error: code = Internal desc = transport: transport: the stream is done or WriteHeader was already called
It looks like channel creation would have succeeded if the connection from PEER would have come earlier.

So these are logs from both lnd and poold right? Do you have rough timestamps available? Is the node only listening over Tor? Was the other node connecting only advertising a hidden service?

The node doesn't use Tor (I disabled it rule it out as a source of problems). Yes, the logs are from poold and lnd.
Timestamps:
Everything happens in the same second (so h:m:s is identical everywhere). The error and the connection event are really close together.
h:m:s.450 poold: [INF] FNDG: Batch(xxx): opening channels for 1 matched orders
h:m:s.451 poold: [INF] FNDG: Registering funding shim for Order(type=Ask, amt=x BTC, nonce=xx
h:m:s.492 lnd: [ERR] RPCS: unable to open channel to NodeKey(PEER): peer PEER is not inline
h:m:s.492 lnd: [ERR] RPCS: [/lnrpc.Lightning/OpenChannel]: peer PEER is not online
h:m:s.492 poold: [ERR] FNDG: unable to read chan open update event from node PEER, going to reject channel: rpc error: code = Unknown desc = peer PEER is not online
h:m:s.504 lnd: [INF] SRVR: New inbound connection from IP_OF_PEER
h:m:s.505 lnd: [INF] SRVR: Finalizing connection to PEER@IP_OF_PEER
h:m:s.506 lnd: [ERR] RPCS: [/lnrpc.Lightning/SubscribePeerEvents]: rpc error: code = Internal desc = transport: transport: the stream is done or WriteHeader was already called

I assume you're on the latest version of Pool? We recently changed the timeouts for the connection process.
From the point of view of poold, your node is running Tor if the URI field of lncli getinfo shows a .onion address. In that case, we try to establish the connection from both sides (maker->taker and taker->maker), in the batch preparation stage.
So it would be interesting to see the logs from a few seconds before. Does your node try to connect out? Does that fail?

I use pool(d)  0.3.2-alpha. My node does not run Tor.
Grepping the log on de node ID of the peer (PEER) gives:

a NodeAnnouncement(node=PEER, timestamp) to other node

and then 5.5 hours later: the 'unable to open channel'

so no connection attempt was done by my node
In the meantime I have a couple of working channels from the pool, so that's great. I have gotten no more failed 'Registering funding shim', but a couple 'preparing channel funding for 1 orders' with no followup (other than a 'unable to abandon channel' when the same batch is repeated).

@rsnel You should remove your Tor address from your lnd config if you are not listening on tor anymore:
externalip=<tor-addr>
You can check that you are not advertising by doing lncli getinfo. Only your non-tor address should show up.

@halseth My tor address is not in my lnd config. lncli getinfo only lists my ipv4 and ipv6 addresses.
In the meantime I have upgraded to the new version 0.3.3-alpha. I have not seen this issue again.

@halseth My tor address is not in my lnd config. lncli getinfo only lists my ipv4 and ipv6 addresses.
In the meantime I have upgraded to the new version 0.3.3-alpha. I have not seen this issue again.

Awesome, please report the issue with more logs if you hit it again :)

Closing per https://github.com/lightninglabs/pool/issues/143#issuecomment-727903687


Package not usable with the latest Flutter version

This is what I get as soon as I import the package into a project file. This happens even with the latest dependency version.
../../../../.pub-cache/hosted/pub.dev/flutter_curl-0.1.1/lib/src/ffi.dart:12:8: Error: Field 'messageType' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of StructorUnion.   int? messageType;        ^ ../../../../.pub-cache/hosted/pub.dev/flutter_curl-0.1.1/lib/src/ffi.dart:14:27: Error: Field 'easyHandle' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of StructorUnion.   ffi.Pointer<_CURLEasy>? easyHandle;                           ^ ../../../../.pub-cache/hosted/pub.dev/flutter_curl-0.1.1/lib/src/ffi.dart:17:8: Error: Field 'result' cannot be nullable or have type 'Null', it must be int, double, Pointer, or a subtype of StructorUnion.   int? result;        ^

Pushed an update with Flutter 3.10 migration. Try flutter_curl: ^0.3.0


Move Alist.Alist 3.37.1 to AList.AList 3.37.1

Microsoft Reviewers: Open in CodeFlow

@wingetbot run


chore(deps): upgrade compiler dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-compiler-dependencies-k8s-29-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4782

Questions ?
Please refer to the Backport tool documentation


chore: moved code out of main.rs

:tada: This PR is included in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[objc] Support for Events/Callbacks/Delegates/etc

First of, awesome work with this project! It's already quite usable even at this early stage.
The one feature I'm really missing though is support for somehow calling back into native code from managed. Right now there doesn't appear to be any way to achieve this.
I tried events, c# delegates and System.Action. All of those are either ignored by objcgen or throw an error during generation.
I also tried creating an NSObject property which I planned to use as classic Cocoa delegate but this cannot be exposed to native either.
Is there any way to achieve this at the moment and if not, is it planned for the near future?
Thx again for such a useful product!

Just found a workaround by using NSNotificationCenter. Good enough for the time being.

Unlike Xamarin.iOS and Xamarin.Mac, E4K is not a runtime (nor do we plan to make it one) but only a generator.
That makes callbacks, from managed to native, tricky (if they cannot be directly generated code). This is a known issue and already tracked in #217. It's also documented in https://mono.github.io/Embeddinator-4000/Limitations.html (under Subclassing, which is a case we're not likely to ever support). Hopefully we'll have some alternative for other kinds of "managed to native" callbacks.
Right now the easiest way, as you found out, is to use XI (or XM) to get runtime support that will handle the transitions. If you have an example to share we can add it to the documentation (or/and a sample) to help other people facing the same limitation.

throw an error during generation.

It would be helpful if you can file issue on those, with test cases (e.g. signatures). We should only warn (and skip) unsupported stuff, the rest needs fixing :)

Thx for clarification! Will definitely post a sample after I get rid of the issue described in https://github.com/mono/Embeddinator-4000/issues/357.

Does anyone have an example of how to go about doing this using any of the methods mentioned in the Limitations doc? I have tried Interfaces and using NSObject, but not had much luck. Would it be better if I make a sample project with the errors I have and put it on GitHub? Thank you!

In my prototype projects I'm using NSNotifications to work around the lack of events.
You can find an example project here: https://github.com/lemonmojo/E4kBackgroundTest
By declaring interfaces and internal classes that implement those interfaces I can pass objects around between mono and objc as event args.
One caveat of this approach is that any objects you want to expose in your event args must be convertible to NSObjects. Also you don't have access to the sender of the event but that can be worked around with using some kind of user state object or an ID that is accessible on both sides.
If you give my sample project a try, make sure to edit the path to objcgen.exe in the project's settings "Custom Commands - After Build" section.

Thank you for the sample! Yes, we can use NSNotifications to work around it, I was just wondering if anyone has had any success with using Xamarin.iOS and NSObject to provide a callback, but if not, we will go down NSNotification route!

Any news on this front?
Missing support for Events/Callbacks/Delegates/etc. is one of the reasons we haven't yet fully adopted E4k. It's cumbersome to work around it using NSNotification's and in some cases just not possible (ie. if source code changes are not possible).
I've noticed that the Dubrovnik project does support events through some magical trickery. Maybe some of that can be used as a reference for implementation in E4k?
Here are some of the relevant pieces code:
https://github.com/ThesaurusSoftware/Dubrovnik/blob/b59a271a1678bb18203068ece543dac31c1846d3/Mono.mscorlib/Mono.mscorlib/Categories/System_Delegate%2Bmscorlib.m
https://github.com/ThesaurusSoftware/Dubrovnik/blob/d194e1beccd3e4d47436c4ae67d6a49fc63439e5/Framework/XCode/Categories/NSObject%2BDBManagedEvent.m
https://github.com/ThesaurusSoftware/Dubrovnik/blob/d194e1beccd3e4d47436c4ae67d6a49fc63439e5/Framework/XCode/Representations/DBManagedEvent.h
https://github.com/ThesaurusSoftware/Dubrovnik/blob/4a76d76cc868c60ad07c597f0e543afbf5f0a27e/Framework/XCode/Representations/DBManagedEvent.m
https://github.com/robert-j/Mono.Embedding/blob/master/Mono.Embedding/UniversalDelegateServices.cs

Any progress on this ?

@chamons @rolfbjarne
What is current status for "Support for Events/Callbacks/Delegates/etc #351".

As both of you can see by the lack of comments on this issue, there is no progress to report.
As this project is open source and community drive, PRs are welcome if you have interest.


Performance issue for FB and other embeds/vids

facebook video causing CLS?
This page has the only video that will play outside of www.sling.com, so testing is limited. You'll want to create a test page with a few of this same Facebook video.
https://main--sling--aemsites.aem.live/whatson/sports/college-football/rece-davis-college-gameday-interview
Pagespeed says the desktop wants a facade for the Youtube vid:

https://pagespeed.web.dev/analysis/https-main--sling--aemsites-aem-live-whatson-sports-college-football-rece-davis-college-gameday-interview/dly68xdr7d?form_factor=desktop

Not an issue any more - https://pagespeed.web.dev/analysis/https-www-sling-com-whatson-sports-college-football-rece-davis-college-gameday-interview/5f2qg71gbo?form_factor=mobile


Draw relationship lines when its value is higher than 0

Fix #24579

I think it would be better to make it a boolean, people will still be confused that setting a value to "10" makes no difference to "1" or "65536".

doesn't it break compatibility?
I think we need to add void add_bool_override(String name, bool enable) for it.

doesn't it break compatibility?

That's not a big deal for a visual editor preference.

I think we need to add void add_bool_override(String name, bool enable) for it.

 So let's go with this fix for now :)

Thanks!


deoplete-go doesn't show any options

Hello thank you for making deoplete-go! I love deoplete. Unfortunately, it doesn't seem to be adding functionality to deoplete (but maybe I have something wrong with my deoplete settings.  Multiple_cursors_before()
  if exists('*deoplete#disable')
    exe 'call deoplete#disable()'
  elseif exists(':NeoCompleteLock') == 2
    exe 'NeoCompleteLock'
  endif
endfunction

" Enable Deoplete when selecting multiple cursors ends
function!
" This is optional, but I don't like having to restart Solargraph
" every time I restart vim.
let g:LanguageClient_autoStop = 0

let g:LanguageClient_autoStart = 1
let g:LanguageClient_loggingFile = "/Users/danielburt/language_client_log.txt"
let g:LanguageClient_loggingLevel = "INFO"

nnoremap <silent> K :call LanguageClient_textDocument_hover()<cr>
" nnoremap <silent> gd :call LanguageClient_textDocument_definition()<cr>
nnoremap <silent> <F2> :call LanguageClient_textDocument_rename()<cr>

gocode is already installed?

You should check if gocode works.

Yeah, my plugins are in a separate file. Here are the related ones.
" ~~~ Language Server ~~~
" Plug 'dbakker/vim-projectroot'
Plug 'autozimu/LanguageClient-neovim', {
      \ 'branch': 'next',
      \ 'do': 'bash install.sh',
      \ }

" ~~~ Language support
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }

" Following makes go work with deoplete
Plug 'zchee/deoplete-go', { 'do': 'make'}
Plug 'mdempsky/gocode', { 'rtp': 'vim', 'do': '~/.vim/plugged/gocode/vim/symlink.sh' }

"  ~~~ auto completion ~~~
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'

If I run gocode -help in my terminal it responds with the usage.

Also here is my $GOPATH /Users/danielburt/go  and $PATH:
/Users/danielburt/apache-cassandra-3.11.2/bin:./bin:/Users/danielburt/bin:/Users/danielburt/.rbenv/bin:/Users/danielburt/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Postgres.app/Contents/Versions/9.4/bin:/usr/local/mysql/bin:/Users/danielburt/bin:/Users/danielburt/go/bin

The issue is that my actual code wasn't in the correct path. I didn't understand that all Go code repos go in the same place. Thank you for your help @Shougo!


Dropping into water/using water bucket to negate fall damage

Currently the bot isn't able to drop into water, much less use a bucket to avoid fall damage. These would be nice features. I've somewhat successfully added an idea to my code but it fails for small bodies of water when falling from very high up as the bot seems to continue moving in the air and thus not fall on the predicted block.
To fix this, I think it would be a good idea to prevent lateral movement when attempting to fall into water.
This is what I have currently: (It's terrible but works as a proof of concept)
  getLandingBlock(node, dir) {
    let blockLand = this.getBlock(node, dir.x, -2, dir.z)
    for (let i = 0; i < 100; i++) {
      if (i < this.maxDropDown - 1) {
        if (blockLand.physical || !blockLand.safe) break
        blockLand = this.getBlock(node, dir.x, -2 - i, dir.z)
      }

      let possibleBlockLand = this.getBlock(node, dir.x, -2 - i, dir.z);
      if (possibleBlockLand.liquid && possibleBlockLand.safe) {
        blockLand = possibleBlockLand;
        break;
      }

    }
    return blockLand
  }

I also had to change the if (!blockLand.physical) return checks in getMoveDropDown and getMoveDown to allow liquids. Are they even necessary if getLandingBlock returns only correct blocks anyway?
I'd make a pull request but this is nowhere near good enough yet.

This is a planned feature after the modular pathfinding framework is ready.


feat: drop support of php 7.4

https://github.com/KnpLabs/KnpMenu/issues/374
Probably more could be changed. But i tried to not introduce any BC changes.
I am not sure how to handle the --prefer-lowest failing run (indirect deprecation notices from twig 1). https://github.com/Chris53897/KnpMenu/actions/runs/4971653642/jobs/8896326293
https://symfony.com/doc/current/components/phpunit_bridge.html#direct-and-indirect-deprecations

I merged your changes, except from the static data providers, as i made a seperate PR for that. https://github.com/KnpLabs/KnpMenu/pull/377
If you want me to merge it in this PR, just let me know.
I think the php 8.1 test-run should be on symfony 6.2 as 6.1 is not maintained anymore. https://symfony.com/releases/6.1
But i just took over your changes, so it is up to you to decide.


Add comment in _config.yml

Comment has link to guide on making jekyll archives work for a site on gh-pages.

Good find! Mind updating the README as well? https://github.com/bencentra/centrarium/blob/master/README.md#archive-settings

I think that should do it. Lmk if you'd like it to be worded different/elaborated on.
Thanks

:+1: Awesome, thanks!


AddFeatures does not work

I use addFeatures to add features to a vectorSource :
xpSource.value.source.addFeatures(features)
but an error has occurred:
vue3-openlayers.es.js:40135 Uncaught TypeError: feature2.getId is not a function
    at VectorSource.addToIndex_ (vue3-openlayers.es.js:40135:25)
    at VectorSource.addFeaturesInternal (vue3-openlayers.es.js:40170:16)
    at VectorSource.addFeatures (vue3-openlayers.es.js:40155:10)

Hey @kankantian! Just for my interest: How have you solved it?

Hi, there is no attribute named 'id' , it is a joke!


ParameterInformation has duplicate label definition in spec

I'm parsing the spec to code-gen my classes from it, and noticed that it's spitting out multiple definitions for label in ParameterInformation. Looks like it's an error in the spec:

@dbaeumer

There's already a PR for this: https://github.com/Microsoft/language-server-protocol/pull/638

Ah, good spot - I checked the issues list but not PRs. No need for this then - thanks!


Fix arguments of has_many method

Problem being solved
fix this issue. https://github.com/active-hash/active_hash/issues/305
I think that merging this PR will eliminate the error that is occurring in the above issue.
Investigation
ActiveHash supports up to Rails ver5.0.
I checked Rails ver5.0 to Rails ver7.1
Then I found that the argument structure of the has_many method is almost the same.

Where has_many is defined in Rails v7.0
Where has_many is defined in Rails v6.1
Where has_many is defined in Rails v6.0
Where has_many is defined in Rails v5.2
Where has_many is defined in Rails v5.1
Where has_many is defined in Rails v5.0

Hence, I modified it to pass the same arguments as ActiveRecord#has_many.

@sontixyou Thank you for submitting this. I would like to see a test for this usage, perhaps we can take the example @issei-m providede in #305?

@flavorjones
Thanks for the reply!
I have added a test on the changes.
Could you please review them?

@kbrock We should probably ship this in a bugfix release. You OK if I go ahead and do that?

Shipped in https://github.com/active-hash/active_hash/releases/tag/v3.3.1


a2b means

what do a2b and b2a mean in dada2000?

a2b and b2a mean the conditional style translation from day-to-night and night-to-day from original video DADA-2000.

Thank you very much for your reply.


Parallel Build for Dependencies

Is your feature request related to a problem?
We have a mono-repo with a devspace listing all of our microservices as dependencies. When running devspace deploy however they get built sequentially rather than in parallel. I think it makes sense to have the deployments forced to be sequential as suggested in the docs. However, it would be helpful for speeding up our kind of deployment to have a similar behavior for the different microservices like images (which indeed are built sequentially).
Which solution do you suggest?
We would like to have an option to choose whether the builds of dependencies should occur sequentially, but by default should occur in parallel. No changes to sequential deployment needed though as the time for deployments is little anyways.
Which alternative solutions exist?
Fire devspace deploy in n different terminals at the same time where n is the number of microservices.
/kind feature

@rico-ci thanks for opening this issue! I understand the issue, however this will require quite some changes in the dependency handling, but I'll add this as a feature.

Nice! Yeah, I thought that this might be something more involved given that dependency handling is quite encapsulated per dependency. Cheers though!

Closing due to inactivity and the version used. If you are still facing this issue with our latest DevSpace version, please open a new issue.


Add Deployment resource

Changes

:gift: Add helpers for a deployment resource

Similar to #452
/kind enhancement

What is the use case for deployments?

What is the use case for deployments?

In eventing a deployment resource type is defined: https://github.com/knative/eventing/tree/main/test/rekt/resources/deployment. So the idea was to "migrate" all kubernetes native resources to the reconciler-test repo


[Feature Request] - Automatically accept files from trusted devices

I'm using LANDrop on a few of my devices.  I work using a Macbook pro, but also have access to a PC (outside of working hours).
The computers are located in different rooms (well, the macbook is obv portable so can work from any room so to so speak).
I've sometimes come across something (or remembered something I wanted to copy to my PC) when I'm working and in a different room from the PC.
It would be awesome if I was able to send files to my PC knowing that they'll be there ready when I get around to getting onto my PC.  The problem at the moment is that you have to confirm receipt which is frustrating (albeit just a minor inconvenience).  It would be good if you could add devices (or be prompted to save incoming device connection to always accept) to allow certain devices to be able to send without having to accept them - they would be automatically downloaded.

I repeat the same idea. I have downloaded the source code and I am installing Qt and libsodium for Windows, but I'm sure the auther would be much faster at this. If I am able to figure it out, my version will simply accept any file automatically, and not have a list of trusted senders. (that is more than I want to bite off right now)

i would agree to your idea that it would be verry usefull to have such feature as, i recently got a windows laptop again after working on a  macbook for over a year.
Not having the apple filesend thingy was a bit of a hassle untill i found out about landrop.
It really is an awsome app. Being able to automagically send files to another device as soon as contact is made (ie the same wifinetwork is joined) would be perfect.
However,  as a handshake is usually generated on the fly and is easily Human Checkable,  generating some kind of white-list might not be so easy as reusing a password multible times would set you up for people intercepting it and using it to send harmfull files to your devices.
So for this to work  you might need some sort of  OTP-generator on both devices to be able to still be safe from users sending (and auto accepting) files onto your computer, but especially on mobile devices OTP isn't allways the most batery friendly.
this for context.


ci: Add yamllint to CI linter job

What this PR does / why we need it:
This adds yamllint to the CI linter job and sets the maximum line
length to 140 like in kubevirt/kubevirt.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Based on #38, merge first
Release note:

None

/hold

/hold cancel

Thanks!
/lgtm

/approve


Update readmes and emojify

Hahaha. It was there since the very beginning.
On Wed, Sep 19, 2018, 6:48 PM Brent Shaffer<EMAIL_ADDRESS>wrote:

@bshaffer commented on this pull request.
In README.md
https://github.com/GoogleCloudPlatform/kotlin-samples/pull/37#discussion_r219013005
:

Cloud Platform.

+## Index
+
+|Path|Description|
+|---|---|
+|appengine|Basic examples for deploying Kotlin applications to [App Engine for Java 8][appengine].|
+|firestore|This sample demonstrates the [Google Cloud Firestore API][firestore-api].|
+|pubsub|This sample demonstrates the [Google Cloud Pub/Sub API][pubsub-api].|
+|storage|This sample demonstrates the [Google Cloud Storage API][storage-api].|
+|vision|This sample demonstrates the [Google Cloud Vision API][vision-api].|
+|emojify|Getting started with Server side Kotlin? This app demonstrates an Android frontend written in Kotlin that communicates with a Kotlin backend running on [App Engine for Java 8][appengine].|
+
+The samples use the [Google Cloud Client Library for Java][google-cloud-java].
+
Contributing changes.
Entirely new samples are not accepted. Bug fixes are welcome, either as pull
Hmm, entirely new samples are definitely accepted. How did this get in
there?
In getting-started/android-with-appengine/README.md
https://github.com/GoogleCloudPlatform/kotlin-samples/pull/37#discussion_r219013473
:

This folder contains two sub-folders:

Link
Description

-
Emojify frontend

-
Emojify backend

+
Emojify frontend

+
Emojify backend

+### Tutorial
+
+This codelab walks you through how to build and deploy Emojify.
This should be at the top of the README!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/kotlin-samples/pull/37#pullrequestreview-157081542,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AfTCARVPnumijXKzgbh3tMdMzuLL0ZWbks5ucvPtgaJpZM4WxNfn
.

We have to be sure to update the CodeLab links to point to the new directory also!
https://codelabs.developers.google.com/codelabs/cloud-kotlin-emojify/#0

Better?

IT'S PERFECT


Revise type legalization so it can handle constant buffers

The existing legalization approach with "tuples" can handle scalarizing a struct type with resource-type fields in it, but it had several big gaps. The most notable is that given a type that mixes uniform and resource fields, we can't just blindly scalarize things:
struct P {
    float4 a;
    float4 b;
    Texture2D t;
};

cbuffer C
{
    P gParam[8];
};

The existing code was completely ignoring the declaration of gParam inside C, but even if we fixed that issue, we'd get something like:
cbuffer C
{
    float4 gParam_a[8];
    float4 gParam_b[8];
};
Texture2D gParam_t[8];

In this case we've completely changed the layout of the uniform buffer, by switching from AOS to SOA.
Even if we could get the type layout logic and the IR to agree on this, it would be a surprise to users, and "principle of least surprise" should be a big deal on a project with as many moving parts as ours.
The right thing to do is to have legalization create a "stripped" version of the original type P and use that:
struct P_stripped {
    float4 a;
    float4 b;
};
cbuffer C
{
    P_stripped gParam[8];
};
Texture2D gParam_t[8];

Then at a call site, this:
foo(gParam);

becomes:
foo(gParam, gParam_t);

This is exactly how the current AST-to-AST legalization handles mixed uniform and resource types, but the way it does it involves some annoying kludges:

That pass has a notion of a "tuple" similar to our legalization, but every tuple has an optional "primary" entry for all the uniform data, plus tuple elements for the resources, and a given field may be represented on one side, the other, or both. It makes the code for handling tuples very messy.

That pass does the "stripping" of types by actually marking up the AST declarations (this is okay because it is constructing a new AST as it goes), so that when they get emitted certain fields don't actually show up. That is, we fix the problem with type P by actually modifying the user's declaration of P. That seems out of bounds for the IR.

This change fixes the problem in our IR type legalization while trying to avoid the problems of the AST-to-AST pass by using two new ideas:

We add a new case for LegalType (and LegalVal) that is a "pair" type, where a pair consists of both an "ordinary" type (for uniform data) and a "special" type (for resource data). E.g., after legalization, the type for C (which can be over-simplified to ConstantBuffer<P> for our purposes), will be a LegalType::pair where the ordinary side is ConstantBuffer<P_stripped> and the special side is a tuple containing the Texture2D field.

We add a new (and annoyingly hacky) AST-level type called FilteredTupleType which is semantically a sort of tuple type (it holds a list of elements, and the elements have their own types), but which remembers an "original type" that it was created from, and for each element remembers the field of the original type that it corresponds to. This is used to construct a type like P_stripped as an actual AST-level structural type.

The core logic for legalizing an aggregate type had to get more complicated just because of the new pair case, so there is now a TupleTypeBuilder that asists with taking an aggregate type, processing its fields, and then picking the right LegalType representation for the result.
Other smaller changes:

Made the legalization logic actually legalize PtrType<T>. E.g., if T legalizes to a tuple, we need to construct a tuple of pointer types. The same exact thing needs to be applied to arrays, and any other generic type that should "distribute over" pairs/tuples.

Made the legalization logic actually legalize ConstantBuffer<T> and similar. The basic idea there is if T maps to a pair, we wrap ConstantBuffer<...> around the ordinary side, and implicitDeref around the special side.

Removed a bunch of #ifdefed-out code from the end of ir-legalize-types.cpp. That was code from my first attempt at legalization that failed miserably (trying to do it via local changes and a work list instead of a global rewrite pass), but it had some code I wanted to reference when writing the version that actually got checked in (should have deleted the code earlier, though).

Added a bunch of cases for LegalType::none (and the LegalVal equivalent) that helped simplify the logic fo the pair case by allowing me to always dispatch to both the "ordinary" and "special" sides, even if they might not actually be present.

Renamed TupleType and TupleVal over to TuplePseudoType and TuplePseudoval to recognize the fact that we might actually need/want real tuples in the type system, to go along with these fake ones (that need to be optimized away).

The biggest doubt I have about this change is the whole FilteredTupleType thing; it seems like an obviously contrived type to add to the front-end type system that really only solves IR-level problems. A cleaner approach might have been to just add a plain old TupleType to the front-end type system (and initially I started with that), and then have yet another LegalType/LegalVal case that handles mapping from the fields of the original type to the numbered tuple elements.
I expect we'll actually want to make that change in the future (especially if we ever add true tuples to the front-end), but for right now I let myself be swayed by the desire to have these stripped/filtered types get names that explain their provenance ("where they came from") to make our output code more debuggable. The way I've done it is probably overkill, though, and we need a much more complete effort on the readability and debuggability of our output before anything like that is worth worrying about.

@csyonghe As I alluded to yesterday, the big design choice that I wanted to talk about here is how to represent the types that result when you take a mixed uniform/resource struct type and then strip/filter it to get a new aggregate type with just the uniform fields.
This change takes the approach of making a truly one-off type that represents the fact that we did this "stripping," but that can therefore retain things like field names (and hypothetically also re-use layout info) from the original type.
If we didn't care about what the output source code looked like, then the other clear option is just to have a real AST-type-system notion of a tuple type (distinct from the LegalType::tuple case which is a fake type meant to be eliminated) and use that to represent any stripped types. This option seems cleaner in the long term, but would require yet another LegalType case (to handle the mapping from field decl-refs over to tuple element indices), and then we'd have to figure out how much effort we could make on the post-IR emit logic to try to bring back usable type names.
I don't think I want the question to hold up this PR, but I wanted to make you aware of it so that you can give your input on what we want to do going forward.

Note: this change fixes #281.
Once I fix the build failure, at least. :)

The test failures here are happening because we are now emitting "temporary" names for constant buffers and global shader parameters that used to get friendly names because these tests were using the silly -no-mangle option.
I'm going to try to fix the failures, but this obviously points out that a lot of our current test cases are very brittle in the presence of the IR, because they depend on us producing output with certain textual names. This forces us to add flags that turn off the robust IR behavior (e.g., mangling names to avoid conflicts) and emit things that are more prone to accidental name clashes.
It seems like we need to expedite the shift from primary text-based output matching in our tests to something more robust. Either that or we need to use a more robust solution for checking test output (something that can weather changes to names).

So my understanding of the difference between existing FilteredTupleType and the true TupleType is that FilteredTupleType includes addittional fields to track the origin of its elements, which is only intended for generating debuggable code? In that case why can't we just create a TupleType and add necessary decorations to it?

I think what you are describing is correct, just with the change that we can't attach decorations to the tuple type, but we can build a dictionary in the IR module that maps tuple types (or maybe other types more generally) to additional information that might inform emit logic.
There are two reason we can't attach things to the tuple type objects themselves:

Any two TupleType objects with the same elements are logically the "same" type, so just attaching a decoration to one of them won't suffice, because code later on my look at a different, but logically equivalent, type object and not see your decoration.

The decoration we'd like to attach to the type is specific to the particular target, entry point, etc. that we are outputting right now, and so we'd want to be careful not to leave cruft attached to types that might affect later output for other targets or entry points.

One last option I didn't talk about above, that would also be viable: we could actually have the type legalization pass construct its own dummy AST-level struct declarations to represent the stripped types, and then use those. That would conceivably let us do the pass without any new kinds of types making life complicated, but we'd still need some logic to handle field references so that we could map fields of the original type to the fields of the new type (and we'd similarly need to create new layouts that reflect the new fields).


sync

Current coverage is 55.08%

Branch #60 has no coverage reports uploaded yet.

No diff could be generated. No reports for development found.

Uncovered Suggestions

+2.22% via ...enViewController.php#121...132
+1.85% via .../CloudController.php#24...33
+1.85% via ...enViewController.php#41...50
See 7 more...

Powered by Codecov. Updated on successful CI builds.


nuxt3.8.X + tauri : "Cannot read properties of undefined (reading 'entries')"

Environment
nuxi info :
- Operating System: `Darwin`
- Node Version:     `v18.18.2`
- Nuxt Version:     `3.8.2`
- CLI Version:      `3.10.0`
- Nitro Version:    `2.8.1`
- Package Manager<EMAIL_ADDRESS>- Builder:          `-`
- User Config:      `devtools`, `ssr`, `devServer`
- Runtime Modules:  `-`
- Build Modules:    `-`

tauri info:
✔] Environment
    - OS: Mac OS 14.1.2 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.74.0 (79e9716c9 2023-11-13)
    ✔ cargo: 1.74.0 (ecb9851af 2023-10-18)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-apple-darwin (default)
    - node: 18.18.2
    - pnpm: 8.10.5
    - yarn: 1.22.19
    - npm: 9.8.1
    - bun: 1.0.0

[-] Packages
    - tauri [RUST]: 2.0.0-alpha.18
    - tauri-build [RUST]: 2.0.0-alpha.12
    - wry [RUST]: 0.34.2
    - tao [RUST]: 0.23.0
    - tauri-cli [RUST]: 2.0.0-alpha.9
    - @tauri-apps/api : not installed!
    - @tauri-apps/cli [NPM]: 2.0.0-alpha.18

[-] App
    - build-type: bundle
    - CSP: unset
    - distDir:
    - devPath: http://localhost:1420/
    - framework: Vue.js (Nuxt)
    - bundler: Webpack

[-] iOS
    - Developer Teams: retracted

Reproduction
https://github.com/flapili/repro-nuxt3.8-tauri
Describe the bug

Additional context
I thinks it's due to how tauri handle http ( proxied via tauri.localhost/) ? also if I downgrade nuxt to 3.7.4 it work
Logs
nuxt.js?v=d306a4ef:97 [nuxt] error caught during app initialization TypeError: Cannot read properties of undefined (reading 'entries')
    at _sortRoutesMap (index.mjs?v=d306a4ef:218:16)
    at _matchRoutes (index.mjs?v=d306a4ef:200:30)
    at Object.matchAll (index.mjs?v=d306a4ef:158:25)
    at getRouteRules (manifest.js?v=d306a4ef:27:30)
    at async manifest-route-rule.js?v=d306a4ef:8:89
    at async router.js?v=d306a4ef:126:26

This is probably related to the manifest.json and a relative baseUrl.

if you need any information or extra test don't hesitate to @ me here or on the discord (same username as github), like using a particular commit ?

@flapili Can you tell me the specific solution? How to close appManifest?

@flapili Can you tell me the specific solution? How to close appManifest?
Hi,

  experimental: {
    appManifest: false,
  },

in nuxt config

I ran into this issue today. When setting appManifest to false it works but then now the routeRules defined in nuxt config is getting ignored. appManifest seems to have introduced all these issues. If it was an experimental feature, why not make in an opt-in rather than opt-out?

Sorry but I cannot repro at all but some of our users can. And interestingly only on Windows not on Mac or Linux. I gave them a new build with appManifest set to false and they are saying that it works [1]. It worked for majority of the users though. I've asked for the logs and it seems to crash almost immediately so nothing in logs. I wish I could repro this locally.
"we stabilised it". It being under experimental is what made me think that it is still experimental.
[1]


Loading removed memory slots crashes Miratope

In a window where you select polytopes from memory (e.g. the Duoprism window), removing the referenced slots from the memory will crash Miratope when that window is selected again.

i have a fix
#15


H6148 Brightness Issue

What issue do you have? Please be as thorough and explicit as possible.
I have the H6148 model of light strip and when it's at 100% in the Govee app, it shows up as 39% in the home app.
Details of your setup.

Homebridge (+ config-ui)

Which version of Homebridge/HOOBS do you have?

v1.1.7

Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known.

macOS High Sierra, Node 14.15.4

Which version of this plugin (homebridge-govee) do you have? Has the issue started since upgrading from a previous version?

v2.5.2
I literally set this up last night and it's been this way from the start.

I'm pretty sure this is a super easy fix. It appears that my model number isn't included in modelsNoScaleBrightness. So I believe if you add H6148 to it, everything should work great. Thanks for making this plugin!

Hi, I've just released v2.5.4 with the brightness fix for this model :)

Hi, I've just released v2.5.4 with the brightness fix for this model :)

Thanks for the quick response!

Thanks for the quick response!


add my name

add me name

Codecov Report

Merging #314 (c8cda4a) into master (e8618b7) will increase coverage by 2.61%.
Report is 10 commits behind head on master.
The diff coverage is n/a.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##           master     #314      +/-   ##
==========================================
+ Coverage   79.77%   82.38%   +2.61%
==========================================
  Files          62       62
  Lines        4381     4383       +2
==========================================
+ Hits         3495     3611     +116
+ Misses        886      772     -114

see 10 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


support multipart/related upload ?

I'm using this tool to debug / simulate some interaction with Google Drive API, not sure how can httpie simulate a multipart/related POST? or if I am right, this will be a new feature request, how about a user interface like this; the boundary string can be automatically generated, that doesn't matter (or allow user to specify by --boundary ???)
$ http POST https://www.googleapis.com/upload/drive/v3/files?uploadType=multipart \
  "Authorization: Bearer $access_token" \
  --part "application/json" name="My File" attr2=value2 attr3=value3 \
  --part "image/jpeg" @./path/to/a/picture.jpeg

https://developers.google.com/drive/v3/web/manage-uploads#multipart
POST /upload/drive/v3/files?uploadType=multipart HTTP/1.1
Host: www.googleapis.com
Authorization: Bearer your_auth_token
Content-Type: multipart/related; boundary=foo_bar_baz
Content-Length: number_of_bytes_in_entire_request_body

--foo_bar_baz
Content-Type: application/json; charset=UTF-8

{
  "name": "My File"
}

--foo_bar_baz
Content-Type: image/jpeg

JPEG data
--foo_bar_baz--

What about optional Content-ID for parts?
Like --part "my-id:application/json"


Properly separate Find#find into two signatures

This is a follow-up to #3867 given #6075. Thanks @froydnj and @elliottt!

Added a test and fixed the problem it identified. Can you launch your stripe (and other) tests?


cant upload my build 413 to large enteties

so when I try to build the minting dap (build for the static hosting service),it compiles it
but I always end up with chunk json that (chunk.js--->last lines say that the mintamount numbers are to large or somthing )I cant upload ,I think when I look in the visual studio some of the files from the js have 1 line and are very long I think the problem is maybe my picture or favicon I don't know  always get an 413

anyone know what could be my problem?
thanks in advance senne


Hide scrollbar-thumb when there is no content

Hey @idiotWu,
Is it possible to don't show scrollbar-thumb when there is no content? I modify a little bit the css code to keep always visible the scrollbar but the problem comes when there is no content at all. The scrollbar-track is properly showed as one expected even if there is no content but yhe scrollbar-thumb is overlaping it.
Thanks for your help!

Duplicated with issue #23


[BUG]

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[ ] My answer given in the checkbox above is a lie.

What problem did you encounter?
when trying to run blox trap, an error appears Bloxstrap cannot connect to roblox. help solve this problem thanks in advance

If anything, I have an internet connection

Get Bloxstrap's latest log file and send it here. If you're installing for the first time it'll be in %temp%, sort by newest to find it. If you're not, it'll be in %localappdata%\Bloxstrap\Logs

Can't find it "C:\Users\User\AppData
Local\Bloxstrap\Logs". Check if the name is correct and try again.  returns this error when entering %localappdata%\Bloxstrap\Logs

Have you installed Bloxstrap? Where to? If not, get it from %temp% (sort by date modified)

Issue has stale for over a month, and will be reopened if further information is given.


expand_string? interface method so plugins can decide whether or not to expand the string

This is a 🐞 bug fix.
This is a 🙋♂ feature or enhancement.

[ ] I've added tests (if it's a bug, feature or enhancement)
[ ] I've adjusted the documentation (if it's a feature or enhancement)
[x] The test suite passes (run bundle exec rspec to verify this)

Summary
Add an expand_string? interface method for plugin expanders.
Context

https://community.boltops.com/t/terraspace-aws-backend-undefined-method/790
https://github.com/boltops-tools/terraspace_plugin_aws/pull/10

How to Test
Try a ruby DSL backend.rb like so:
backend.rb
backend("s3",
  bucket:                      'terraform-state-demo-:ACCOUNT-:REGION-:ENV',
  key:                         ':REGION/:ENV/:BUILD_DIR/terraform.tfstate',
  region:                      ":REGION",
  encrypt:                     true,
  dynamodb_table:              "terraform_locks",
  acl:                         "private",
  kms_key_id:                  "arn:aws:kms:us-west-2:112233445566:key/937e938d-02f7-458c-8f9b-30846afd3bd3",
)

Version Changes
Patch

Released in v0.6.20


windows 10 service IDs not listed

When running the program on windows 10, it seems to search and connect to the toios automatically. However after connecting, it doesn't list their service UUIDs the same way it does on Mac, and when trying to send the command signals (P, M, etc) there is no response except for P which sometimes throws an error.

I've updated to latest btleplug - but I don't have a windows machine at hand. Maybe this works now.


For a 0.18.13 release

#331

Codecov Report

Merging #590 (8dd1044) into master (09b4ab4) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #590      +/-   ##
==========================================
+ Coverage   85.04%   85.06%   +0.02%
==========================================
  Files          37       37
  Lines        3162     3174      +12
==========================================
+ Hits         2689     2700      +11
- Misses        473      474       +1

Impacted Files
Coverage Δ

src/MLJBase.jl
100.00% <ø> (ø)

src/data/datasets.jl
100.00% <100.00%> (ø)

src/resampling.jl
89.70% <100.00%> (+1.12%)
:arrow_up:

src/measures/continuous.jl
97.70% <0.00%> (-2.30%)
:arrow_down:

src/measures/loss_functions_interface.jl
70.83% <0.00%> (-2.09%)
:arrow_down:

src/measures/finite.jl
96.30% <0.00%> (-0.30%)
:arrow_down:

src/composition/learning_networks/nodes.jl
69.93% <0.00%> (-0.21%)
:arrow_down:

src/univariate_finite/methods.jl
86.25% <0.00%> (-0.11%)
:arrow_down:

src/data/datasets_synthetic.jl
95.37% <0.00%> (-0.05%)
:arrow_down:

... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 09b4ab4...8dd1044. Read the comment docs.


[lit-html] lit-html has a dependecy to a @types package (should be a dev dependency)

Which package(s) are affected?
Lit Core (lit / lit-html / lit-element / reactive-element)
Description
In the package.json there seems to be a wrong dependecy:
https://github.com/lit/lit/blob/main/packages/lit-html/package.json#L281
Reproduction
look at https://github.com/lit/lit/blob/main/packages/lit-html/package.json#L281
Workaround
it's still usable
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
current
Browser/OS/Node environment
not relevant

Thank you for the report but this is intended. See https://github.com/lit/lit/issues/3308#issuecomment-1275297241


[Bug]: Product Search Results Not Relevant

Issue Checklist:

[X] No matching Open Bugs
[X] No matching Closed Bugs
[X] I've read the Contributing Guide
[X] I'm following the Code of Conduct

What happened?
Searching for class product or product does not bring up the product class in the first results. I would expect it to be the first result.

Which Browser(s) were you using?
Safari
Which Operating System(s) were you using?
macOS
Steps to produce this issue.

Select Search
Type in class product or product and observe the irrelevant results

This has been resolved in v0.3.0 which is now available at https://sfccdocs.com