Implement GriefingData

Todo:

[x] Also block hiding in stone for silverfish if griefing is disabled.

Test plugin code:
import org.spongepowered.api.data.key.Keys;
import org.spongepowered.api.entity.Entity;
import org.spongepowered.api.entity.living.player.Player;
import org.spongepowered.api.event.Listener;
import org.spongepowered.api.event.entity.InteractEntityEvent;
import org.spongepowered.api.event.filter.cause.First;
import org.spongepowered.api.plugin.Plugin;
import org.spongepowered.api.text.Text;

@Plugin(id = "test-plugin", name = "TestPlugin", version = "DEV")
public class TestPlugin {

	@Listener
	public void onPlayerInteractWithEntity(InteractEntityEvent.Secondary event, @First Player player) {
		Entity entity = event.getTargetEntity();
		if (entity.supports(Keys.CAN_GRIEF)) {
			boolean flag = !entity.get(Keys.CAN_GRIEF).get();
			entity.offer(Keys.CAN_GRIEF, flag);
			player.sendMessage(Text.of("Toggled griefing state of " + entity.getType().getName() +
					" to " + flag));
		}
	}
}

Note:
There are much more entities (almost all living ones) that are able to grief the world, mainly through destroying crops. And in the explanation of GriefingData is it only limited to Enderman and Humanoids.

I was going to do it myself, but it was more complex than I thought. Thanks for taking over it for me :smile:

@JBYoshi Haha, no problem, there had claimed it when I looked through the list ;)

@Cybermaxke: Could you rebase and squash this?

RIP


an error in busco mode

Dear huangneng,
minibusco is a very good software. But I have some problems doing genome evaluation using busco mode.

I installed the software environment using the following command “conda create -n minibusco -c conda-forge -c bioconda minibusco”.

Everything outputs fine when using lite mode.

When using the busco mode, I encountered an error when processing the 'Target_species' operation in the python script. The error message is as follows：

....
hmmsearch execute command:
/dellfsqd2/ST_OCEAN/USER/lishuo11/01_soft/mamba/envs/minibusco/bin/hmmsearch
Traceback (most recent call last):
File "/dellfsqd2/ST_OCEAN/USER/lishuo11/01_soft/mamba/envs/minibusco/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3080, in get_loc
return self._engine.get_loc(casted_key)
File "pandas/_libs/index.pyx", line 70, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 101, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 4554, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 4562, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'Target_species'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/dellfsqd2/ST_OCEAN/USER/lishuo11/01_soft/mamba/envs/minibusco/bin/minibusco", line 10, in
sys.exit(main())
File "/dellfsqd2/ST_OCEAN/USER/lishuo11/01_soft/mamba/envs/minibusco/lib/python3.7/site-packages/minibusco.py", line 2512, in main
args.func(args)
File "/dellfsqd2/ST_OCEAN/USER/lishuo11/01_soft/mamba/envs/minibusco/lib/python3.7/site-packages/minibusco.py", line 2348, in analyze
ar.Run()
File "/dellfsqd2/ST_OCEAN/USER/lishuo11/01_soft/mamba/envs/minibusco/lib/python3.7/site-packages/minibusco.py", line 1234, in Run
self.Run_busco_mode()
File "/dellfsqd2/ST_OCEAN/USER/lishuo11/01_soft/mamba/envs/minibusco/lib/python3.7/site-packages/minibusco.py", line 1310, in Run_busco_mode
filtered_species = records_df["Target_species"].unique()
File "/dellfsqd2/ST_OCEAN/USER/lishuo11/01_soft/mamba/envs/minibusco/lib/python3.7/site-packages/pandas/core/frame.py", line 3024, in getitem
indexer = self.columns.get_loc(key)
File "/dellfsqd2/ST_OCEAN/USER/lishuo11/01_soft/mamba/envs/minibusco/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 3082, in get_loc
raise KeyError(key) from err
KeyError: 'Target_species'
Looking forward to some replies from you.
Shuoli

Hi @wq-ls, thanks for your report. Can you help me to check something in the output folder?
1. Whether there is a successful miniprot output alignment file named "miniprot_output.gff" and what is the file size? (check whether miniprot running successfully)
2. How many files in the directory of "/hmmer_output/"? (check whether hmmsearch running successfully)
3. What is the file size of "gene_marker.fasta" and "translated_protein.fasta"?

Best,
Neng

Hi Neng, thank you very much for your reply.

The database I used for testing is actinopterygii_odb10. The miniprot_output.gff file is output successfully and is 98Mb in size. I got the “miniprot.done” file.

There are 3638 files in the directory of "/hmmer_output/". I got the “hmmsearch.done” file.

The gene_marker.fasta file is 1.9 Mb.

I also tried to use the miniprot_output.gff output in lite mode for "minibusco analyze" analysis, and got the same error.  The command is “minibusco analyze -g miniprot_output.gff -o output2_dir -l actinopterygii -t 10 ”

Hi @wq-ls, thanks for your report. Can you help me to check something in the output folder?
1. Whether there is a successful miniprot output alignment file named "miniprot_output.gff" and what is the file size? (check whether miniprot running successfully)
2. How many files in the directory of "/hmmer_output/"? (check whether hmmsearch running successfully)
3. What is the file size of "gene_marker.fasta" and "translated_protein.fasta"?

Best, Neng

Hi Neng, thank you very much for your reply.

The database I used for testing is actinopterygii_odb10. The miniprot_output.gff file is output successfully and is 98Mb in size. I got the “miniprot.done” file.

There are 3638 files in the directory of "/hmmer_output/". I got the “hmmsearch.done” file.

The translated_protein.fasta file is 1.9 Mb. The gene_marker.fasta file was not output in the result directory.

Hi Neng,
Sorry, the error reported by the software is due to the problem of my software installation environment.
I reinstalled the MiniBUSCO software environment, and the busco mode successfully ran through when I tested again.
Last but not least, MiniBUSCO runs really fast!!!

Hi Neng,
Sorry, the error reported by the software is due to the problem of my software installation environment. I reinstalled the MiniBUSCO software environment, and the busco mode successfully ran through when I tested again.
Last but not least, MiniBUSCO runs really fast!!!

Sorry, can I ask how you solved this environment issue? I asked my HPC IT to install this for me but I have run into the same error message as you. It would be helpful for me to know what the problem was when I ask them to fix the installation. :)
Thanks!

Hi henni164,
I have tried 3 installation methods, and only one-click installation using conda to create a new virtual environment can work normally. All needed software and libraries come from the virtual conda environment.

Hi henni164,
I have tried 3 installation methods, and only one-click installation using conda to create a new virtual environment can work normally. All needed software and libraries come from the virtual conda environment.

Thanks wq-ls!! I will let them know and hopefully they can sort it out.


Replace progress Dailog with new material design

Reference :
Linear Progress Indicator
(Check the placement section)

Hi, I am working on this already and will create a PR once done.

@chydee any update?

I would like to work on this, please assign me.


The prompt to generate the dialogue.

Dear authors,
Could you give us some examples about how to generate the dialogues using the GPT-4 or other LLMs.
We cannot find the details about that in the paper and website.
Thank you all so much for your help.

No problem! The process is a bit involved because it's actually fairly hard to get GPT-4 to write passable dialogue.

Generate lists of scenarios, locations, authors & emotions to seed the dialogues (I didn't keep the prompts for these because I just did it in Bing & copy-pasted). See attached files.
Using the randomising seeds, generate biographies for the characters (full prompt below)
Using the generated biographies and the randomising seeds, generate the dialogue (full prompt below)

conflict_scenarios_positive.txt
emotions_seed.txt
locations_seed.txt
authors_seed.txt
conflict_scenarios_negative.txt
Prompt for generating biographies:
Here are some random emotions that you can either use for inspiration to seed the dialogue, or ignore: <EMOTIONS_SEED>
Here are some random locations that you can either use for inspiration, or ignore: <LOCATIONS_SEED>
Write detailed bios in the style of <AUTHOR_SEED>for two characters who will participate in a dialogue in the following scenario:

<SCENARIO_TEXT>
Keywords: <KEYWORDS>

Think of multidimensional characters who can span the full range of personality types (including negative). Embrace diversity. Don't give details of their appearance. Give particular attention to their personality including any quirks or minor traits. Incorporate dark personality traits or disorders or vulnerabilities or weaknesses where it fits. Do not censor or idealise the character descriptions; they should be raw and real. Describe some recent backstory. Describe their emotional state going into the discussion. They may have history or tension or chemistry, positive or negative. Make your characters nuanced. Your response should follow the format:

## Character 1 Name: ...
### Age: ...
### Occupation: ...
### Personality: ...
### Backstory: ...
### Emotional State: ...

### Character 2 Name: ...
etc.

Remember: the personality section should be fleshed out and detailed, consisting of at least 3 sentences per character. Do not write any dialogue; you are only to write the character bios.

Dialogue generation prompt:
<CHARACTER_BIOS>

Using the characters described above, write a nuanced dialogue in the style of <AUTHOR_SEED>representing a scene of conflict or tension or chemistry (positive or negative), within the following scenario:

<SCENARIO_TEXT>
Keywords: <KEYWORDS>

Be creative and explore interesting places emotionally and thematically. Freely explore dark and uncomfortable themes and embrace harsh dialogue, rudeness or foul language where it makes sense to. Write in the voice of the characters. Embrace diversity. Do not resolve the conflict within the scene. Conflict and tension are key to good dialogue. Number each line. Do not add performance notes or emotional markers like (sarcastically) or (afraid). Don't be overly wordy; keep the dialogue concise and natural.

First, you are to describe an end point to the scene which maintains the tension and leaves the scene's conflict unresolved. Then write the dialogue towards this endpoint. Format your response as follows:

[Scene endpoint]
...

[Dialogue]
1. Name: line
2. Name: line
3. ...
[end of response]

Here are some random emotions that you can either use for inspiration to seed the dialogue, or ignore: <EMOTIONS_SEED>
Here are some random locations that you can either use for inspiration, or ignore: <LOCATIONS_SEED>

Remember: Number each line. Write in the style of <AUTHOR_SEED>with a strong psychological understanding of the characters, realising they will not always be saying what they are thinking.  If you are unsure how to end the scene or you find you are repeating yourself, just write "There was a sudden knock at the door". Write with subtlety and ambiguity. Above all else, your task is to explore conflict and tension, not resolve them.

感谢您的来信，祝你生活工作愉快！


DIGITS feature to classify many does not work when you do not use fully connected layer in the network.

DIGITS feature to classify many does not work when you do not use fully connected layer in the network. it give an error like: "only integer scalar arrays can be converted to a scalar index".Can anybody help why it is like this?

I also encountered the same problem with a DenseNet-121 I trained. Any solutions?

You can try this solution https://github.com/NVIDIA/DIGITS/pull/1536, I encountered the same problem with SqueezeNet.


Fix dte init

@EricMSFT @HuanhuanSunMSFT @adamdriscoll
Fixes #152

Looks good

Looks good after the rename thing fixed


Fix a crash bug occured by removing unregistered observer

Overview
In Example.xcodeproj, we can see view of Sources/TwitterPagerTabStripViewController.swift by following flow.

Select PageTabController Types cell
Select Twitter tab

Then the viewDidLoad is called and titleView lazy stored property which is defined into Sources/TwitterPagerTabStripViewController.swift is initialized and added observer for titleView.frame.
However, we can select PageTabController Types cell and close immediately without showing view of Sources/TwitterPagerTabStripViewController.swift.
Then the viewDidLoad isn't called.
Therefore  crash is occured because remove observer for titleView.frame into deinit() in spite of didn't register observer.
My proposal is move add observer process to initializer of Sources/TwitterPagerTabStripViewController.swift.
Please check this PR when you have enough time 🙇
How to Reproduction

Xcode 7.3.1
iPhone6s Plus simulator

Select PageTabControllerTypes cell
Select Close button
Crash application with error log as below

Example[31911:509386] *** Terminating app due to uncaught exception 'NSRangeException',
reason: 'Cannot remove an observer <Example.TwitterExampleViewController 0x7fb2104d4670>
 for the key path "frame" from <UIView 0x7fb210714550> because it is not registered as an
 observer.'

Thanks for contributing and pointing out the issue. We solved it in a simpler way just by checking viewIsLoaded before removing the observer from within deinit method.


Change Value of Tilte, Description, Quote, HashTags Ect

I am stuck  on this.  How do you change values of Tilte, Description, Quote, HashTags Ect. and Make them dynamic to coincide with the changing data in the component? I am using this package to share blog posts where data is different for each post.

I figured this out. Below is my code and seems to be working fine.  Thank you for this great package.
` <social-sharing
:url="getUrl()"
:title="post.subject"
:description="post.subject"
:quote="post.subject"
:hashtags="tagsstring +'blog'"
twitter-user="Dukesnuz"
inline-template

`


Memory Leak

Hey guys,
A little while ago I mentioned in #znc about a memory leak problem I was experiencing. What was happening was that I'd start up ZNC (1.6), and about two weeks later, I'd be at my servers comfortable memory limit (gone up from 50% -> 93%) after steadily rising during its running.
I upgraded from ZNC 1.4 on the same server, which didn't have this issue at all. The only difference between the two version is that I "upgraded" from znc-push's C branch to the actively developed Python branch. This meant I needed to also compile ZNC 1.6 with modpython (which I didn't have previously). This, on one hand, makes me suspect either modpython or push as the responsible parties. However, doing a /msg *status unloadmod push; /msg *status unloadmod modpython does not reduce memory usage at all.
Having said that, I haven't tried starting ZNC with both of these disabled - only unloading them and reloading them (as two separate tests). Aside from these, the only other modules I use are "core" modules. I can provide a breakdown if need be.
As for memory usage profiling, I've run ZNC under massif for the last few days, and each of the different functions do not grow (significantly) in usage over time, except one. The details of which are listed below:

The text of the largest snapshot, nested, are as follows:
0x593F207: std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19)
0x594092F: char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19)
0x59409EB: std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&) (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19)
0x8774845: SWIG_AsPtr_std_string(_object*, CString**) (in /usr/local/lib/znc/modpython/_znc_core.so)
0x87F51B5: _wrap_CIRCNetwork_ExpandString (in /usr/local/lib/znc/modpython/_znc_core.so)
0x784A201: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0)
0x7973514: PyEval_EvalCodeEx (in /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0)
0x784A56B: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0)
0x784C943: PyEval_EvalFrameEx (in /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0)
0x7973B44: ??? (in /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0)
0x7888456: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0)
0x78B181B: ??? (in /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0)
0x7888456: PyObject_Call (in /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0)
0x7868ADF: PyObject_CallMethodObjArgs (in /usr/lib/x86_64-linux-gnu/libpython3.4m.so.1.0)
0x75227FB: CPyModule::OnChanMsg(CNick&, CChan&, CString&) (in /usr/local/lib/znc/modpython.so)
0x4BBADE: CModules::OnChanMsg(CNick&, CChan&, CString&) (in /usr/local/bin/znc)
0x47EDA8: CIRCSock::OnChanMsg(CNick&, CString const&, CString&) (in /usr/local/bin/znc)
0x48F4A1: CIRCSock::ReadLine(CString const&) (in /usr/local/bin/znc)
0x4411DE: Csock::PushBuff(char const*, unsigned long, bool) (in /usr/local/bin/znc)
0x44A50C: CSocketManager::Loop() (in /usr/local/bin/znc)
0x4483BF: CSocketManager::DynamicSelectLoop(unsigned long, unsigned long, long) (in /usr/local/bin/znc)
0x45B56E: CZNC::Loop() (in /usr/local/bin/znc)
0x430369: main (in /usr/local/bin/znc)

This, to me, certainly makes it look more Python-related, but I'd love to help track it down if I can in any way. Keep in mind, not a programmer by any means - just love the project :smile:
Just for completeness, the rest of the expanded info is below in the screenshots:

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25353357-memory-leak?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).

Thanks @stevesbrain for detailed info!
I reproduced it, with the following minimal python module:
import znc

s = "aaaaaaaaaaaaaa"
for y in range(10):
    s += s

class ptest(znc.Module):
    def OnLoad(self, args, msg):
        while True:
            self.GetNetwork().SetRealName(s)


Inquiry Regarding Preparing Data for CauseE with OpenKE Format

Hello,
I'm looking to implement CauseE for my knowledge graph project. I've already prepared my knowledge graph triple data using PyKEEN's TripleFactory and then converted it to match the OpenKE format, resulting in three files (entity2id.txt, relation2id.txt, and  train2id.txt). However, I noticed an "n-n.py" file within the benchmark data. My question is: Is it necessary to run this "n-n.py" file to utilize CauseE effectively, or is it possible to proceed with using CauseE without this step?
Thank you

Yes, running n-n.py is a must-done step if you want to create your own dataset.


Fix javadocs rpc version

This PR is ready for review.
Risk
This PR makes no API changes.
Testing Plan
Only documentation was updated
Summary

JavaDocs updated to reflect 5.0 spec version instead of 4.6
Also fix a few minor missing or misleading doc entries

CLA

[x] I have signed the CLA

Codecov Report

Merging #895 into release/4.7.0-rc1 will decrease coverage by 0.05%.
The diff coverage is n/a.

@@                   Coverage Diff                   @@
##             release/4.7.0-rc1     #895      +/-   ##
=======================================================
- Coverage                42.42%   42.36%   -0.06%
  Complexity                3706     3706
=======================================================
  Files                      433      433
  Lines                    23000    23000
  Branches                  2671     2671
=======================================================
- Hits                      9757     9745      -12
- Misses                   12605    12620      +15
+ Partials                   638      635       -3

Impacted Files
Coverage Δ
Complexity Δ

...java/com/smartdevicelink/proxy/rpc/AddSubMenu.java
100% <ø> (ø)
11 <0> (ø)
:arrow_down:

...om/smartdevicelink/proxy/rpc/enums/TurnSignal.java
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

...elink/proxy/rpc/enums/AudioStreamingIndicator.java
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

...evicelink/proxy/rpc/enums/VideoStreamingState.java
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

...in/java/com/smartdevicelink/util/AndroidTools.java
6.81% <ø> (ø)
1 <0> (ø)
:arrow_down:

.../com/smartdevicelink/proxy/rpc/GetVehicleData.java
98.92% <ø> (ø)
61 <0> (ø)
:arrow_down:

...ava/com/smartdevicelink/proxy/rpc/OnHMIStatus.java
82.75% <ø> (ø)
12 <0> (ø)
:arrow_down:

...com/smartdevicelink/proxy/rpc/OnSystemRequest.java
36.5% <ø> (ø)
25 <0> (ø)
:arrow_down:

...smartdevicelink/proxy/rpc/DisplayCapabilities.java
80.95% <ø> (ø)
20 <0> (ø)
:arrow_down:

...n/java/com/smartdevicelink/proxy/rpc/RGBColor.java
70% <ø> (ø)
10 <0> (ø)
:arrow_down:

... and 15 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 0f8e497...a94ef67. Read the comment docs.


Refactor/the node job part 5

This episode is about replacing direct date time functions access with access through date time provider. There are some minor improvements here and there as well, but just few.

ok mate that's good to go.

oh, let's wait for the builds, at least on appveyor.


[iOS][Sample App] [Focusing after input validation failure is not correct]

Platform

[ ] iOS

Details
Sample's app's content offset calculation logic needs to be re-visited after recent sample app changes.

@jwoo-msft - is this a critical bug to take? What are the repercussions of this not being fixed?

@jwoo-msft - is this a critical bug to take? What are the repercussions of this not being fixed?
this bug is due to the recent sample app changes (~ Feb). We need to fix this so we can demo the feature and help customers who may be debugging their issues by providing solid reference points.


Do not remove transfer data on usb cancel transfer

Fixes a double free in case of cancelled USB transfers.
libusb will call func_bulk_transfer_cb which removes the data.
Same for urb_isoch_transfer_cb

@Raven24 @trentasis found a few issues with USB channel and some double free conditions, which should be fixed with this pr.

Ok, I can try, but in where branch is this change, on stable is not available?

Hi, sorry I ahve found, I think taht is https://github.com/akallabeth/FreeRDP/tree/usb_cancel_fix

Hi restarted windows OS, then compiled and tried with https://github.com/akallabeth/FreeRDP/commits/usb_cancel_fix and during some second webcam device hasbeen detected on windwos, but then dissappeared... Attached logs
20200603.txt

I tested this branch with my device, but I don't know if that changes anything in my use-case - I don't think any requests are cancelled usually. But I'm always a fan of proper memory management ;)


boards: add support for QT Py RP2040

Adds support for the Adafruit QT Py RP2040.

bump!

So I was just about to open a PR for the same board when I found this PR. I pulled change and it seems to work just fine with the samples I tried out on it.
Is there any reason why USB CDC ACM is setup as the console? A lot of the RP2040 boards have a UART as the console, and this board seems to be able to do it too.
Is there anything I can do to help get this merged?

Ok. I got bored. I pulled this branch and did all the actions. If this PR doesn't get figured out, I can open a new one with everything done.

So I was just about to open a PR for the same board when I found this PR. I pulled change and it seems to work just fine with the samples I tried out on it.
Is there any reason why USB CDC ACM is setup as the console? A lot of the RP2040 boards have a UART as the console, and this board seems to be able to do it too.
@hlord2000 @soburi Is there anything I can do to help get this merged?

#I will update based on your fork in a bit. I chose USB CDC ACM for this board since it's what circuitpython etc use on xiao form factor boards, may be best to switch back.

So I was just about to open a PR for the same board when I found this PR. I pulled change and it seems to work just fine with the samples I tried out on it.
Is there any reason why USB CDC ACM is setup as the console? A lot of the RP2040 boards have a UART as the console, and this board seems to be able to do it too.
@hlord2000 @soburi Is there anything I can do to help get this merged?

#I will update based on your fork in a bit. I chose USB CDC ACM for this board since it's what circuitpython etc use on xiao form factor boards, may be best to switch back.

I have everything done. Want me to just make a new PR?

So I was just about to open a PR for the same board when I found this PR. I pulled change and it seems to work just fine with the samples I tried out on it.

Is there any reason why USB CDC ACM is setup as the console? A lot of the RP2040 boards have a UART as the console, and this board seems to be able to do it too.

@hlord2000 @soburi Is there anything I can do to help get this merged?

#I will update based on your fork in a bit. I chose USB CDC ACM for this board since it's what circuitpython etc use on xiao form factor boards, may be best to switch back.

I have everything done. Want me to just make a new PR?

Sure! Can you comment the PR link so I can check it out too? Thanks for fixing things.

So I was just about to open a PR for the same board when I found this PR. I pulled change and it seems to work just fine with the samples I tried out on it.

Is there any reason why USB CDC ACM is setup as the console? A lot of the RP2040 boards have a UART as the console, and this board seems to be able to do it too.

@hlord2000 @soburi Is there anything I can do to help get this merged?

#I will update based on your fork in a bit. I chose USB CDC ACM for this board since it's what circuitpython etc use on xiao form factor boards, may be best to switch back.

I have everything done. Want me to just make a new PR?

Sure! Can you comment the PR link so I can check it out too? Thanks for fixing things.

Take a look at #66603

Other PR merged, so this can be closed now.


Bump version

Coverage remained the same at 52.381% when pulling adb523cb8a1097a0bfb0cf41663f2f313e8b6685 on develop into 3cf8bcac711b7d3b4f6aac70556bc982c090abf1 on master.

Coverage remained the same at 52.381% when pulling adb523cb8a1097a0bfb0cf41663f2f313e8b6685 on develop into 3cf8bcac711b7d3b4f6aac70556bc982c090abf1 on master.


/v4 is already written in BaseURL.

Also, please refer to the link
The link should be the https://api.spacexdata.com/v4/cores/:id

Thanks!


Build a Virus-Total minion

Sending binaries to virus total seems like a reasonable thing to do.
The public API is documented here: https://www.virustotal.com/es/documentation/public-api/
The first scan is bound to take a long while as the minion builds a cache of "harmless files" with all the binaries found in a healthy OS, but after that it should be reasonably fast.
I wonder if there is a way to optimize this entirely by having some form of pre-check on the hashes of well known good binaries - it seems a trivial enough idea that I'm sure it must exist already - otherwise, maybe it would be an interesting project to just download all the rpms/apts and generate hashes of those binaries?
Of course, this plays very nicely with the idea of controlling the scope of goblins re the binaries they serve.

Seems like NIST has what I need in terms of list of files - this looks like a great pre-filter before feeding anything to virus total.
https://www.nist.gov/itl/ssd/software-quality-group/nsrl-download/current-rds-hash-sets

Worth mentioning also this malice plugin which has the great idea of using a Bloom filter: https://github.com/malice-plugins/nsrl


Warning in headless mode: OpenGL renderer

I use matlab in headless mode on a linux machine (e.g. matlab -nodisplay) to create eps figures.

Warning: MATLAB cannot use OpenGL for printing when started with the '-nodisplay' option.
In graphics/private/inputcheck at 143
In print at 166
In print2array at 180
In print2eps at 350
In export_fig at 586
In analyze_turns at 155

The figures however get printed correctly, I guess Matlab falls back to painters.

I'm not sure what you expect export_fig to do about this. It's a basic Matlab limitation that you cannot print OpenGL in headless mode, as you can easily test by running print directly. If you wish to avoid the warning, simply set your figure's renderer to painters before running export_fig.

This warning is issued even if I specify a different renderer. The print call using OpenGL is hard coded into print2eps. I'm not sure if it is a good idea to do that when the renderer is not available in all Matlab environments. But then again it just a warning.

You can suppress the display of this warning by issuing the following Matlab command when you start Matlab: warning('off','MATLAB:prnRenderer:opengl');. I chose not to incorporate this in export_fig itself, because this warning might actually be important to some users.

Is there a resolution?

@sambit19 - there is no (and will not be) a resolution, because this issue is already closed for 3 years, and will not be reopened because it is the expected behavior. Please read the messages in the thread above for details.
If you believe that export_fig should behave differently in a way that is physically possible (running OpenGL in headless mode is NOT), then feel free to post a followup comment, or to open a new issue.


Custom Commands Web Endpoint called twice

I'm trying to use a Web Endpoint with my Custom Commands. The guide available at https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-custom-commands-setup-web-endpoints says that I can retrieve HTTP Response by using a particular syntax:

However, I have noticed that, if I specify such a field in the "On success" tab of the "Call web endpoint" configuration dialog:

The field Message is correctly retrieved from the response of my endpoint and included in the speech response, but the web endpoint is called twice. If I remove the reference to the HTTP Response (leaving only "OK"), is it called only one time.
I have also tried creating a new Custom Commands project, but the behavior is the same.
Could someone help me with this issue?

Hi @marcominerva, thank you for reporting this! I'll let the Custom Command service team know about it right away. They or I will reply here. Darren.

@marcominerva, the Custom Command service team will take a look at this bug this week.

Thank you for your support!

@marcominerva The Custom Command service team identified the regression that caused this bug, and a fix is in code review right now. The fix is expected to be deployed in a few days.


Consider automatically encoding empty arguments in call_raw

Currently if you pass in an empty array to call_raw it won't work, you need to encode () to get it to work. Perhaps we should detect this and do the encoding for them automatically if that is the case.

For those wondering about how they would do this in the meantime, you can use a snippet like this
  // To call function `functionName` on canister at address `address` with no payment or arguments
  const nullArguments: nat8[] = [68, 73, 68, 76, 0, 0];
  const { ok, err }: Variant<{ ok: nat8[]; err: string }> = yield ic.call_raw(address, functionName, nullArguments, 0n);

Many thanks to @lastmjs for pointing the way on this!


Avatar moves on its own

this was on terra-1 for me, on one of the platforms in the building, but I've also seen it on the floor in the homeworld:
https://user-images.githubusercontent.com/1190097/192066631-ba4f3b56-35d7-49ec-b00b-416c375319e3.mp4
No interaction from me - just sat there staring at the floor. Didn't even move the mouse.

It happenns randomly for me as well.

should be fixed in production now!


Removed ListTile accentColor dependency

This PR removes the ListTile widget's accentColor dependency per https://github.com/flutter/flutter/issues/56918.
ListTile used the accentColor for title text and for leading/trailing icons, in selected:true tiles, when the ListTileTheme did not specify a selectedColor. The Color scheme's primary color is now used instead.
If the ListTileTheme doesn't specify a non-null value for selectedColor, the new default icon colors for the tile's leading and trailing widgets, and the default text color for the titles' descendant text widgets:

brightness
new  (selected:true)
old (selected: true)

light
colorScheme.primary
primaryColor

dark
colorScheme.primary
accentColor

These colors should be indistinguishable from the original version when using one of the default themes.
The text and icon colors for selected:false tiles have not changed.
Breaking change
This is a breaking change, although most apps will not notice the change from theme.primaryColor to theme.colorScheme.primary, because they are typically the same color. Apps should use the ListTileTheme's selectedColor to override the default.
import 'package:flutter/material.dart';

class Sample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ListTileTheme(
        selectedColor: Colors.orange,
        child: Container(
          padding: const EdgeInsets.all(32),
          alignment: Alignment.center,
          child: Column(
            mainAxisSize: MainAxisSize.min,
            children: <Widget>[
              ListTile(
                selected: true,
                title: Text('selected'),
                leading: Icon(Icons.android),
                trailing: Text('trailing')
              ),
              SizedBox(height: 32),
              ListTile(
                selected: false,
                title: Text('unselected'),
                leading: Icon(Icons.android),
                trailing: Icon(Icons.android),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

void main() {
  runApp(
    MaterialApp(
      theme: ThemeData.light(),
      home: Scaffold(body: Sample())
    ),
  );
}

This PR was tested against internal Google apps in cl/360280942

There was a old dependency on accentColor in a dev/test_apps/stocks. I've removed it. That should clear up the failing test.


Ledc randomly invert PWM signal output (IDFGH-10385)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
4.4.4
Operating System used.
Windows
How did you build your project?
Other (please specify in More Information)
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32 dev board (WROOM-)
Power Supply used.
USB
What is the expected behavior?
I'm working on a small Arduino library to drive DC and servo motor via ledc PWM output. To go deeper in timer management, I write it with ESP32 IDF regular syntax and structure. I've noticed that randomly, PWM output is inverted, regardless of the port use. I supposed a hardware trouble, but this problem happened with other ESP32 dev kit module.
What is the actual behavior?
During my research to fix this problem, I noticed that the Espressif ESP32 IDF have a output_invert flag_ on its ledc_channel_config_t struct. I tried to implement it on my code, but compilator return me an error at build. I'm not a c expert programmer, but I suspect a non initialization of this variable  who can cause this random problem ?
Trouble was fixed by adding a GPIO.func_out_sel_cfg[SERVO_PIN].inv_sel = 0 on my main code after PWM setup.
Steps to reproduce.
PWM setup code (cleaned for readability)

    // create timer config structure
_timers_config[_pwmTimer] = new ledc_timer_config_t;

    // seeding timer config parameters
_timers_config[_pwmTimer]->speed_mode		= LEDC_HIGH_SPEED_MODE;		// set timer mode
_timers_config[_pwmTimer]->freq_hz		= pwmFreq;			// set frequency of PWM signal
_timers_config[_pwmTimer]->timer_num		= (ledc_timer_t)_pwmTimer;	// set timer index
_timers_config[_pwmTimer]->clk_cfg		= LEDC_AUTO_CLK;		// set LEDC source clock
_timers_config[_pwmTimer]->duty_resolution	= (ledc_timer_bit_t)resBit;	// set duty resolution

    // create PWM channel config structure
ledc_channel_config = new ledc_channel_config_t;

    // seeding PWM channel config parameters
_ledc_channel_config->channel		= (ledc_channel_t)_pwmChannel;
_ledc_channel_config->duty		= 0;
_ledc_channel_config->hpoint		= 0;
_ledc_channel_config->gpio_num		= pwmPin;
_ledc_channel_config->speed_mode	= LEDC_HIGH_SPEED_MODE;
_ledc_channel_config->timer_sel		= (ledc_timer_t)_pwmTimer;
_ledc_channel_config->intr_type		= LEDC_INTR_DISABLE;
// _ledc_channel_config->output_invert	= 0;	// don't work on Arduino ESP32 IDE

    // start PWM signal on pwmPin.
ledc_channel_config(_ledc_channel_config);

    // set ledc fade service on for ledc_set_duty_and_update/ledc_set_fade_time_and_start functions
ledc_fade_func_install(0);

...
    // output duty to port
ledc_set_duty_and_update(LEDC_HIGH_SPEED_MODE, (ledc_channel_t)_pwmChannel, dutyToWrite, 0);

Debug Logs.
Error returned by compilator while output_invert struct flag is provided

error: 'struct ledc_channel_config_t' has no member named 'output_invert'
  _ledc_channel_config->output_invert = 0;
                        ^~~~~~~~~~~~~
exit status 1

More Information.
Build via Arduino IDE

@API-rep refer to this https://github.com/espressif/esp-idf/commit/48c848a895d0b9a5ffcaa3e0cd066407c0760da3
You may need to use _ledc_channel_config->flags.output_invert = true; to invert the output level.

Hello, thank you for your reply.
I've noticed this flag into the LEDC reference but, unfortunately, arduino ESP32 API don't support this flag and return an error at compilation. I first contact Aduino ESP team via the project github page to report this problem, but they  redirect me to ESP-IDF , assuming a bug on native IDF. Check this post for more information.

can you check the esp_idf_version.h and tell me what's the version of your IDF? ESP_IDF_VERSION_MAJOR, ESP_IDF_VERSION_MINOR and ESP_IDF_VERSION_PATCH


Transform the application to Progressive Web Application

🚀 Feature
1⃣ Must be fully optimized  for mobile devices.
2⃣ User will be able to install the application into their phone.
3⃣ User can work offline on the application.
This is how the installation button will pop up if you work with PWA features

You can use workbox or you can do it with plain JavaScript. Documentation PWA
Note : before making a PR , You must attach video , photos showing all those features .

Feature
Must be fully optimized for mobile devices.
User will be able to install the application into their phone.
User can work offline on the application.
This is how the installation button will pop up if you work with PWA features

You can use workbox or you can do it with plain JavaScript. Documentation PWA
Note : before making a PR , You must attach video , photos showing all those features .

working on this

Can I work on it?

Feature
Must be fully optimized for mobile devices.
User will be able to install the application into their phone.
User can work offline on the application.
This is how the installation button will pop up if you work with PWA features

You can use workbox or you can do it with plain JavaScript. Documentation PWA
Note : before making a PR , You must attach video , photos showing all those features .

working on this

make sure you make a pull request

Can I work on it?

yeah go ahead

I will make a PR soon


Windows CI doesn't exit sometimes

Even when all the tests pass, the build doesn't exit immediately and will be cancelled a few hours later (e.g. https://github.com/cubed-dev/cubed/actions/runs/11974180543/job/33384715251?pr=621).

This is happening because Lithops is not exiting properly - see https://github.com/cubed-dev/cubed/pull/635.
I've excluded the Windows from the Lithops tests in #640 so this doesn't cause failures, but I'll leave this open.


Docs?

Are there any docs available for this? Looks pretty solid but need some more info to get rolling quicky.

Hi.
There is documentation in the readme file, but other than that I am afraid there isn't much.
You're welcome to add more and I would really appreciate that.
Cheers


[Bug]: e: Daemon compilation failed: null

Platform
Android 14
Plugin
device_info_plus
Version
10.1.0
Flutter SDK
3.22.2
Steps to reproduce
got the error but my code still working tho
Code Sample
Future getDeviceInfo() async {
  deviceInfo = DeviceInfoPlugin();
  androidInfo = await deviceInfo.androidInfo;
  authModel= androidInfo.model;
  authBrand= androidInfo.brand;
}

Logs
[        ] exception: c:\Users\allas\AppData\Local\Pub\Cache\hosted\pub.dev\device_info_plus-10.1.0\android\src\main\kotlin\dev\fluttercommunity\plus\device_info\MethodCallHandlerImpl.kt:75:47: warning: '@Deprecated(...) static
field SERIAL: String!' is deprecated. Deprecated in Java.
[        ] exception:                 build["serialNumber"] = Build.SERIAL
[        ] exception:                                               ^^^^^^

Flutter Doctor
[✓] Flutter (Channel stable, 3.22.2, on Microsoft Windows [Version 10.0.22631.3810], locale en-ID)
    • Flutter version 3.22.2 on channel stable at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 761747bfc5 (4 weeks ago), 2024-06-05 22:15:13 +0200
    • Engine revision edd8546116
    • Dart version 3.4.3
    • DevTools version 2.34.3

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\allas\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.4.3)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.4.33205.214
    • Windows 10 SDK version 10.0.22000.0

[✓] Android Studio (version 2023.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)

[✓] VS Code (version 1.90.2)
    • VS Code at C:\Users\allas\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.90.0

[✓] Connected device (4 available)
    • Pixel 6a (mobile) • 29131JEGR10137 • android-arm64  • Android 14 (API 34)
    • Windows (desktop) • windows        • windows-x64    • Microsoft Windows [Version 10.0.22631.3810]
    • Chrome (web)      • chrome         • web-javascript • Google Chrome 126.0.6478.127
    • Edge (web)        • edge           • web-javascript • Microsoft Edge 126.0.2592.68

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Checklist before submitting a bug

[X] I searched issues in this repository and couldn't find such bug/problem
[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

It is not a bug, but an expected behavior. There is a conditional check for serial which throws if the app has no special permissions to retrieve this info.


Author metadata wrong with multiple authors in v0.9.0

Description
The author metadata is not set correctly in Typst version 0.9.0 when defining multiple authors.
The behavior was tested against version 0.8.0 which sets the metadata correctly.

Authors
Version 0.8.0
Version 0.9.0

1

2

3

Code for testing:

One author: #set document(author: "author 1")
Two authors: #set document(author: ("author 1", "author 2"))
Three authors: #set document(author: ("author 1", "author 2", "author 3"))

It seems as if the first author is set as a string of all authors when there is more than one author.
I also tested it with an array of only one author. This does not change the output compared to passing the string.
#set document(author: ("author 1"))

Reproduction URL
No response
Operating system
No response
Typst version

[X] I am using the latest version of Typst

I cannot reproduce this on Linux with typst 0.9.0:
$ pdfinfo t.pdf
Author:          author 1, author 2, author 3

Moreover, both the PDF metadata (/Author (author 1, author 2, author 3)) and XMP info (<dc:creator><rdf:Seq><rdf:li>author 1</rdf:li><rdf:li>author 2</rdf:li><rdf:li>author 3</rdf:li></rdf:Seq></dc:creator>) look correct.

I used the web app with either version 0.8.0 or 0.9.0 selected.
I haven‘t tested it locally yet.

I compiled the same test file locally on Windows 11 and Adobe Acrobat shows the authors in the same weird way.
I then tried pdfinfo and exiftool and they both showed the authors correctly.
$ exiftool -a -G1 test.pdf
[ExifTool]      ExifTool Version Number         : 11.88
[System]        File Name                       : test.pdf
[System]        Directory                       : .
[System]        File Size                       : 10 kB
[System]        File Modification Date/Time     : 2023:11:02 07:58:36+01:00
[System]        File Access Date/Time           : 2023:11:02 07:58:38+01:00
[System]        File Inode Change Date/Time     : 2023:11:02 07:58:37+01:00
[System]        File Permissions                : rwxrwxrwx
[File]          File Type                       : PDF
[File]          File Type Extension             : pdf
[File]          MIME Type                       : application/pdf
[PDF]           PDF Version                     : 1.7
[PDF]           Linearized                      : No
[PDF]           Page Count                      : 1
[PDF]           Language                        : en
[PDF]           Author                          : author 1, author 2
[PDF]           Creator                         : Typst 0.9.0
[PDF]           Create Date                     : 2023:11:02 06:58:36Z
[PDF]           Modify Date                     : 2023:11:02 06:58:36Z
[XMP-x]         XMP Toolkit                     : xmp-writer
[XMP-dc]        Creator                         : author 1, author 2
[XMP-dc]        Format                          : application/pdf
[XMP-dc]        Language                        : en
[XMP-xmp]       Creator Tool                    : Typst 0.9.0
[XMP-xmp]       Create Date                     : 2023:11:02 06:58:36Z
[XMP-xmp]       Modify Date                     : 2023:11:02 06:58:36Z
[XMP-xmpTPg]    N Pages                         : 1
[XMP-xmpMM]     Document ID                     : yyjhjUTMNykBkGbi2WijNg==
[XMP-xmpMM]     Instance ID                     : BImTNw9C7dIyjtepxT+IaA==
[XMP-xmpMM]     Rendition Class                 : proof
[XMP-pdf]       PDF Version                     : 1.7

It seems to be the behavior of Adobe Acrobat (which does not look right to me) rather than an issue with Typst. Sorry for the false bug report.

I assumed that Typst version 0.8.0 does not include the  XMP-dc Creator and that's why Adobe Acrobat shows the authors correctly. That assumption was wrong however as the same document compiled with Typst version 0.8.0 has [PDF] Author and XMP-dc Creator set. This leads me to believe that version 0.9.0 does things differently.
Are there any other PDF properties that store information about the authors?
This is the output of exiftool when the document is compiled with version 0.8.0:
$ exiftool -a -G1 test.pdf
[ExifTool]      ExifTool Version Number         : 11.88
[System]        File Name                       : test.pdf
[System]        Directory                       : .
[System]        File Size                       : 9.9 kB
[System]        File Modification Date/Time     : 2023:11:02 08:12:54+01:00
[System]        File Access Date/Time           : 2023:11:02 08:12:55+01:00
[System]        File Inode Change Date/Time     : 2023:11:02 08:12:55+01:00
[System]        File Permissions                : rwxrwxrwx
[File]          File Type                       : PDF
[File]          File Type Extension             : pdf
[File]          MIME Type                       : application/pdf
[PDF]           PDF Version                     : 1.7
[PDF]           Linearized                      : No
[PDF]           Page Count                      : 1
[PDF]           Language                        : en
[PDF]           Author                          : author 1, author 2
[PDF]           Creator                         : Typst
[XMP-x]         XMP Toolkit                     : xmp-writer
[XMP-dc]        Creator                         : author 1, author 2
[XMP-dc]        Format                          : application/pdf
[XMP-dc]        Language                        : en
[XMP-xmp]       Creator Tool                    : Typst
[XMP-xmpTPg]    N Pages                         : 1
[XMP-xmpMM]     Rendition Class                 : proof
[XMP-pdf]       PDF Version                     : 1.7

This looks like an Adobe Acrobat implementation behaviour.
Btw: here is a working code for reproducing:
#set document(author: ("author 1", "author 2", "author 3"))

test

Without the content like shown above, Typst will not write the Author information at all.

I've investigated a bit. The value that is written to the PDF in the end is set here:
https://github.com/typst/typst/blob/897447e8593f00971de3a966d3fb23cf2b1e0f92/crates/typst-library/src/meta/document.rs#L94
And as @gfpj said, without any content in the document, no author information is shown regardless of author count. The style chain entry for author is simply empty there.
At first, my assumption was that the style was taken out of the child itself, so when the loop is not entered it won't get those styles of the first page. But this cannot be true as styles is never written to from inside the loop, it's shadowed.
Unfortunately, that's all I found out so far, as the style.rs is rather complicated, containing a lot of very similarly named structs. @laurmaedje I think this is important for the styling rework you're working on. Maybe working on this independently is not worth it if this changes drastically in the new future.

@tingerrr I think the fact that no author metadata is written at all without content is independent from the issue with the wrong metadata.

@tingerrr I think the fact that no author metadata is written at all without content is independent from the issue with the wrong metadata.

Yes, indeed, perhaps we should open an additional issue just for that?

@tingerrr I agree, there seems to be a general issue that documents with only set rules don't produce a correct document, not that it really matters I suppose.

I agree, there seems to be a general issue that documents with only set rules don't produce a correct document, not that it really matters I suppose.

I will try to fix that when reworking the styling system. Feel free to open an issue for it.

Turns out that if the authors are given in both the document information dictionary and the XMP metadata, Acrobat takes a little bit of both.
With document information
/Author (author 1, author 2, author3)

and XMP metadata
<dc:creator>
  <rdf:Seq>
    <rdf:li>author 1</rdf:li>
    <rdf:li>author 2</rdf:li>
    <rdf:li>author 3</rdf:li>
  </rdf:Seq>
</dc:creator>

Acrobat takes the first author from the document information dictionary and the remaining authors from the XMP metadata.
To fix this for Acrobat, we could omit the remaining authors or all metadata from the document information catalog (it is optional) and only write XMP. However, not all other tools (including Apple Preview) read the XMP data. This means we do want to include all authors in the document information dictionary.
Thus, the only alternative is to fold all authors into a single <rdf:li> in the XMP metadata. This is, in fact, exactly what the PDF/A spec Part 1 section 6.7.3 has to say about the matter. It's a bit weird to not use the array (and it makes Acrobat show the author list in quotes), but there's not much we can do about that.


remove dead code - moveCard method in Lane

Hi again!
There may be a better fix for this then straight removal but I noticed that this code is unused so removing it should have no effect.
I could be mistaken so please confirm independently. My reasoning follows:

Besides the declaration, the only reference to moveCard in Lane.js is where it is passed to Card
Card refers to the default export of './Card'
Card does not declare moveCard as a propType
The only reference in this project to moveCard is in Lane.js
The only places where the moveCard prop could leak down to children of Card are:

passed down to MovableCardWrapper but this is only a styled component
passed down to the element in Card's customCard prop

Unless someone is depending on moveCard being passed to their customCard prop, removing this code should have no effect. The call chain is a bit confusing but I think that the customCard prop is equal to the children prop of the top-level  component OR a children prop in a lane's reducer data.

I will remake https://github.com/thorjarhun/react-trello/pull/1 against this repo if/when this PR is merged.

Thanks for removing references to moveCard method inside Lane. And you are right, Lane can directly use card from props instead of maintaining it as state within itself. Please submit a PR for that change too.
And thanks for all your efforts cleaning up dead code! :)


Add transaction derivation to persistence protocol, parser, and compiler.

Depends on legend-pure PR: https://github.com/finos/legend-pure/pull/536

Replaced by legend engine PR: https://github.com/finos/legend-engine/pull/664


Update 🔧-How-to-Install.md

Added a link to the Home Assistant Community add-on and custom integration.

@louislam Care to add the 'HACKTOBERFEST-ACCEPTED' label to this PR?


Improve Notifications Layout

The list of notifications is really inconsistent in the way the left column of icons/avatars are displayed. Maybe we can standardize the layout a bit by moving the avatar of the "actor" (the retweeter or liker) to the left column and then overlaying the action as a badge?
Current:

Rough Mock of New Idea:

👍 Sounds good. I would also make the avatars a bit smaller in general.

So I've been looking into doing this, and have a couple questions:
When there's more than one "actor" (ie. "TempCFO Los Angeles and 4 others followed you" in the picture) should it move the first image to the left column, and leave the others?
The "icon" on the SVG's is just transparency, which could easily make it hard to see on certain images, and if I just set a background color/border-radius (black just as an example) it ends up looking like this:

So will altering the SVG itself be necessary? I'm not very familiar with SVG's.

When there's more than one "actor" (ie. "TempCFO Los Angeles and 4 others followed you" in the picture) should it move the first image to the left column, and leave the others?

That sounds right. You could also try to "stack" them one on top of the other on the left column too.

The "icon" on the SVG's is just transparency, which could easily make it hard to see on certain images, and if I just set a background color/border-radius (black just as an example) it ends up looking like this:

I would use white instead, and clean up the dimensions/radius to make it a perfect circle, but that's about right too. The border is also a little thick, you only need 1px so if the avatar and icon are the same color there is a distinction. I don't think you'll need to alter the svg itself, just style it with CSS.

@paulmolluzzo Is there anything more to do with this issue?

@sindresorhus sorry for the late reply. Originally I wanted to see the avatars on the left side when someone liked or RT'd a tweet to match the layout of the timeline like this:

I'm not sure if that idea is supported though. The avatar shrinking was just another idea that was brought up in this thread but not the original idea.

Not worth the effort I think.


Add popup toolkit component

Changes for adding PopupView toolkit component and test case for testing the PopupView toolkit component

@gunt0001 @eri9000 please review.

@eri9000 I have addressed your comments.

@eri9000 Thanks!  @gunt0001 please review.

@gunt0001 I have addressed your comments. Please have another look.

@gunt0001 I have addressed your comments.


(WIP) Added WindowOptions type

I could do with a bit of help documenting the properties with TODOs. They seem quite obvious, but I can't find the electron equivalents.

Looks really good. @ColinEberhardt Do you want me to pull this down and add the descriptions once those comments have been addressed?

Thanks @BenLambertNcl that would be good.

@ColinEberhardt I have updated the TODOs

@ColinEberhardt I have updated the TODOs

Thanks @BenLambertNcl  - I've rebased, so once tests pass, should be good to merge.


Client looking for image file in wrong place

I can upload to server, but can't fetch the image, because of filepath issues.

I got my code from the Readme.md.
Images = new FS.Collection("images", {
  stores: [new FS.Store.FileSystem("original", {path: "~/uploads"})]
});

The server gets the file and saves it just fine. But the client is still looking for the image in website.com/cfs/files/images/hash/image.png but it just aint there. No cfs folder exists anywhere.
When I add FS.HTTP.setBaseUrl('/uploads'); to the mix, then the client is searching for the image in website.com/uploads/files/images/hash/image.png, still no good.
What am I missing?

can be connected to #567

I took the cfs-example and there is the same issue. To reproduce:

Clone and run repo
Upload image
Download image

This was my result:

I found the debug enable switch, here's what my server says about the upload (and why it refreshes)
I20150305-14:32:59.313(2)? token: eyJhdXRoVG9rZW4iOiIifQ==
I20150305-14:32:59.316(2)? HTTP PUT (update) handler received chunk:  0
I20150305-14:32:59.317(2)? GET FILERECORD: 4XLt77WuxqdhrGNvL
I20150305-14:32:59.350(2)? createWriteStream _tempstore, internal: true
I20150305-14:32:59.351(2)? createWriteStreamForFileKey _tempstore
I20150305-14:32:59.359(2)? -----------FINISH STREAM _tempstore
I20150305-14:32:59.361(2)? SA FileSystem - DONE!! fileKey: "images-4XLt77WuxqdhrGNvL-0.chunk"
I20150305-14:32:59.362(2)? -----------STORED STREAM _tempstore
I20150305-14:32:59.364(2)? -----------CLOSE STREAM _tempstore
I20150305-14:32:59.366(2)? TempStore progress: Received 1 of 1 chunks for Meet_cyberdemon.png
I20150305-14:32:59.367(2)? UPDATE: {"$set":{"uploadedAt":"2015-03-05T12:32:59.367Z"},"$unset":{"chunkCount":1,"chunkSum":1,"chunkSize":1}}
I20150305-14:32:59.369(2)? Meet_cyberdemon.png was successfully uploaded. You are seeing this informational message because you enabled debugging and you have not defined any listeners for the "uploaded" event on the images collection.
I20150305-14:32:59.375(2)? FileWorker ADDED - calling saveCopy original for 4XLt77WuxqdhrGNvL
I20150305-14:32:59.376(2)? saving to store original
I20150305-14:32:59.377(2)? createWriteStream original, internal: false
I20150305-14:32:59.378(2)? createWriteStreamForFileKey original
I20150305-14:32:59.381(2)? FS.TempStore creating read stream for 4XLt77WuxqdhrGNvL
I20150305-14:32:59.385(2)? createReadStream _tempstore
I20150305-14:32:59.386(2)? createReadStreamForFileKey _tempstore
I20150305-14:32:59.390(2)? -----------FINISH STREAM original
I20150305-14:32:59.391(2)? -----------FINISH STREAM original
I20150305-14:32:59.394(2)? SA FileSystem - DONE!! fileKey: "images-4XLt77WuxqdhrGNvL-Meet_cyberdemon.png"
I20150305-14:32:59.399(2)? -----------STORED STREAM original
I20150305-14:32:59.399(2)? -----------STORED STREAM original
I20150305-14:32:59.400(2)? SA original stored images-4XLt77WuxqdhrGNvL-Meet_cyberdemon.png
I20150305-14:32:59.400(2)? FS.File._saveChanges: original
I20150305-14:32:59.401(2)? UPDATE: {"$set":{"copies.original":{"name":"Meet_cyberdemon.png","type":"image/png","size":184608,"key":"images-4XLt77WuxqdhrGNvL-Meet_cyberdemon.png","updatedAt":"2015-03-05T12:32:59.000Z","createdAt":"2015-03-05T12:32:59.000Z"}}}
I20150305-14:32:59.402(2)? FS.File._saveChanges: _original
I20150305-14:32:59.405(2)? UPDATE: {"$set":{"original":{"name":"Meet_cyberdemon.png","updatedAt":"2015-03-05T08:48:29.000Z","size":184608,"type":"image/png"}}}
I20150305-14:32:59.408(2)? Meet_cyberdemon.png was successfully saved to the original store. You are seeing this informational message because you enabled debugging and you have not defined any listeners for the "stored" event on the images collection.
I20150305-14:32:59.408(2)? -----------CLOSE STREAM original
I20150305-14:32:59.409(2)? -----------CLOSE STREAM original
I20150305-14:32:59.420(2)? FileWorker ADDED - calling deleteChunks for 4XLt77WuxqdhrGNvL
I20150305-14:32:59.423(2)? ---SA REMOVE
=> Client modified -- refreshing

I guess the server refreshes, because the project files get updated when the app tries to add files into cfg/files. how the hell do I change this path? :)

when I run my app I get this:
I20150305-14:16:01.857(2)? FS.HTTP.unmount:
I20150305-14:16:01.859(2)? {}
I20150305-14:16:01.860(2)? Registered HTTP method URLs:
I20150305-14:16:01.860(2)? /cfs/files/:collectionName/:id/:filename
I20150305-14:16:01.860(2)? /cfs/files/:collectionName/:id
I20150305-14:16:01.860(2)? /cfs/files/:collectionName

So I'm guessing I can change this path somehow...

i found in the source, that FS.HTTP.mount() can be used to write your own mountPoints. Well, server didn't like that:
I20150305-14:52:02.278(2)? FS.HTTP.unmount:
I20150305-14:52:02.280(2)? { '~/uploads/:collectionName/:id/:filename': false,
I20150305-14:52:02.280(2)?   '~/uploads/:collectionName/:id': false,
I20150305-14:52:02.280(2)?   '~/uploads/:collectionName': false }
I20150305-14:52:02.281(2)? Registered HTTP method URLs:
I20150305-14:52:02.281(2)? /cfs/files/:collectionName/:id/:filename
I20150305-14:52:02.281(2)? /cfs/files/:collectionName/:id
I20150305-14:52:02.281(2)? /cfs/files/:collectionName

okay, problem is solved by using the code
Images = new FS.Collection("images", {
	stores: [new FS.Store.FileSystem("original", {path: "~/uploads/"})]
});

FS.HTTP.setBaseUrl('uploads');

So the path can't be in Meteors public folder and it has to be in a place where the server-user has write permissions.
So going to use GridFS instead, looks simpler to use.

I'm going to leave this issue open as the example is still broken and the documentation should say something about how this thing is really supposed to be used.

@KristerV, the URL isn't supposed to match the file path. The URL is an abstract address that the access-point package sets up and then retrieves the requested file from wherever it lives (filesystem, S3 bucket, GridFS, etc.).
I don't see any problems in your logs. It seems like the only issue is the forbidden error. Two things you can try:

If you call setBaseUrl, make sure it is in common code, otherwise server will set up the URL in one place and client will request it in another.
Make sure you have download allow/deny set up to allow downloads.

In general, filesystem SA doesn't work with most hosting providers, at least not simply, because the filesystem does not persist. It's fine for local testing, but we recommend S3 or GridFS (or create your own storage adapter) if you're deploying to a hosting provider. Some hosting providers, like Modulus, provide a special filesystem path that is a persistent "cloud drive", in which case you can use the filesystem SA and point it to that path.

oh my god download has to be allowed? how did I miss this... let me just adjust the readme a bit...

and I did get my program running. Now it's just a question of why the example isn't running.


As an end user, it should be possible to specify different naming strategies, so that Datenlokator can be used by a wider audience.

Background
Different organizations use different naming conventions:

Assert_Act_Arrange()
the "Should" naming convention
etc.

Implemented by:

#6


open_search.xml malformed

The templating seems to substitute the < in the xml version declaration with <. As a result, the search provider cannot be added in firefox.
Example: https://search.nix.gsc.io/open_search.xml
Adding the search provider fails in firefox with the cryptic error message

Firefox could not download the search plugin from:
https://search.nix.gsc.io/open_search.xml

I'm facing the same issue with open_search.xml as well. I'm working a patch to fix this.
@stanistan feel free to assign this to me.

FWIW future bug reviewers,  https://search.nix.gsc.io/open_search.xml works fine because I serve a static version of open_search.xml via nginx, instead of passing that request to Hound: https://github.com/grahamc/network/blob/master/zoidberg/default.nix#L155-L162

@sahildua2305 I can't actually assign you using github's tools (probably due to some settings), but feel free to open a PR with the fix, assign me to review.


Sample Script is Wrong

Two problems:

The provided script is a bash script, but it does not have the #!/bin/bash header to help indicate this (and it won't run without it).
The script depends on the existence of two AD resources, but doesn't bother to create them or mention that they are needed.  Those resources are: an AD group called "reader" and a role called "Owner".

Regarding that second problem, the document should explain the rationale and life-cycle of those AD resources.  For example, is the AD group created only once in the publishers space, and not needed in the customers Azure subscription?  Or is it meant to represent an AD group that must exist in the customer's AD subscription?  Is the "Owner" a managed principal, or is it something new and unique that must be created?

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

ID: 8910955a-28b4-674f-6a9b-6378664575a3
Version Independent ID: 1d4d5371-5868-7434-7440-cfe3dca8b969
Content: Create managed application definition - Azure CLI - Azure Managed Applications
Content Source: articles/azure-resource-manager/managed-applications/scripts/managed-application-define-create-cli-sample.md
Service: managed-applications
GitHub Login: @davidsmatlak
Microsoft Alias: davidsmatlak

#assign:davidsmatlak

@brentarias Thanks for the feedback. I created an internal work item to do a full review and update the article. I'll post an update when the updated content is published.

@brentarias
I've delegated this to @davidsmatlak, a content author, to review and share their valuable insights.

@davidsmatlak
I have since found another problem with the script.
This line of code:
# Get Azure Active Directory group to manage the application
groupid=$(az ad group show --group reader --query objectId --output tsv)

Should have the --query objectId replaced with --query id, as such:
# Get Azure Active Directory group to manage the application
groupid=$(az ad group show --group reader --query id --output tsv)

Otherwise it will not work.
I have FINALLY made a working managed app registration, in part by cross-referencing a different MS documentation link, which led me to the following github repo.  It had a sample that was basic enough, that it worked out for me.
General Suggestion...
I am very surprised that I have yet to locate any Microsoft example, as part of creating a "managed app definition" deployment bundle, which provides bicep files.  If MS were to include bicep files with all the examples, as well as either (1) the compiled ARM files or (2) hand-written ARM files...then it could be immensely easier to get started.
I have attempted to de-compile the supplied documentation ARM templates back into bicep files...but the results are rather sloppy, just as the de-compiler itself warns about.

The Azure CLI article was deprecated. The quickstart articles were updated and contain content about creating definitions and deploying a managed application using Azure CLI, Azure PowerShell, and Azure portal.
In the command az managedapp definition create the --package-file-uri parameter is optional because an alternative to using a .zip file, is to use the --create-ui-definition and --main-template parameters to specify a JSON string or path to the files.
Managed Applications require JSON files for createUiDefinition.json, mainTemplate.json, and the optional  viewDefinition.json. The mainTemplate could be developed in Bicep, but would need to be converted to JSON for use in a managed application definition. A Bicep template can be used to deploy a managed application definition. There's an example in the bring your own storage quickstart article.

#please-close


mitogen.core.ChannelError

I have an ansible playbook that seems to run fine on some hosts and not on others.  This morning I got the following error:
mitogen.core.ChannelError: the respondent Context has disconnected.
I'm using mitogen 0.3.4 and Ansible core 2.2.10. Python version is 3.92. I'm running from a Debian 11 host.

Wanted to create an issue for this but I just hit the same error with mitogen 0.3.7, ansible-core 2.14.14 (python version = 3.9.18)

ERROR! [task 154152] 14:29:50.303138 E mitogen: broker crashed
Traceback (most recent call last):
  File "/var/lib/ansible-staging/mitogen/mitogen/core.py", line 3758, in _do_broker_main
    self._loop_once()
  File "/var/lib/ansible-staging/mitogen/mitogen/core.py", line 3713, in _loop_once
    for side, func in self.poller.poll(timeout):
  File "/var/lib/ansible-staging/mitogen/mitogen/core.py", line 2635, in _poll
    (rfds, wfds, _), _ = io_op(select.select,
  File "/var/lib/ansible-staging/mitogen/mitogen/core.py", line 599, in io_op
    return func(*args), None
ValueError: filedescriptor out of range in select()
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: mitogen.core.ChannelError: Broker has exitted
fatal: [host.stg.domain.org]: FAILED! => {"msg": "Unexpected failure during module execution: Broker has exitted", "stdout": ""}
ERROR! [task 154153] 14:29:50.327965 E mitogen: broker crashed

@moreati : fwiw, patched 0.3.7 tag/release with https://github.com/mitogen-hq/mitogen/pull/984/files and symptom disappeared (all running fine). I'll keep testing (staging env here) and report/give feedback here

I have the same issue. I also used the mentioned patch and everything is working again.
Please merge #984


row.get() ignores columns array when filters are applied

Environment details
OS: macos 10.13.3
Node.js version: 8.10.0
npm version: 5.6.0
yarn version: 1.3.2
@google-cloud/bigtable version: master branch (0.13)
Steps to reproduce
    const columns = ['fam:col'];
    const options = {
        filter: [
            {
                column: {
                    cellLimit: 1
                }
            },
        ]
    };

    await table.row('key').get(columns); // Returns single column
    await table.row('key').get(columns, options); // Returns all columns

@moander have you tried using filter instead of filters?

@callmehiphop that is actually what I'm doing.. So bad repro code ;)

The code fix: The explicit filter the user passes in has to be "chained" with the filter that results from the columns parameter.
The usage fix: ???  I don't know how to do this now.  I'm going to have to see if it's possible.

This should work for one column:
var filter =[
    { family: 'fam },
    { column: 'col' },
    { column: { cellLimit: 1 } }
]

This should work for additional column/families
var filter =[
    { interleave: [
       [{ family: 'fam1' },{ column: 'col1' }],
       [{ family: 'fam2' },{ column: 'col2' }]
    ]},
    { column: { cellLimit: 1 } }
]


which coverage is blank on Jenkins reynolds, causing test failure

https://acdl.mit.edu/csi/view/convexengineering/job/gpfit_Push/64/
@galbramc, this is an unexpected error to say the least...if coverage had gone missing I'd be expecting more tests to fail!

Fixed. I had to add /home/jenkins/.local/bin/ to the PATH in the jenkins script.

Noted, I'll try that next time. Thanks!


Failed to fetch Vehicle Features.

Describe the issue
Today I noticed an interesting new message. No 401 or unauthorized (CLI Version: 0.17.2)
MyBMWAPIError due to HTTPStatusError: Failed to fetch Vehicle Features. Unable to get details for vehicle WBYXXAWXXXXPXXXXX - (MyBMWAPIError) HTTPStatusError: Failed to fetch Vehicle Features. MyBMWAPIError: HTTPStatusError: Failed to fetch Vehicle Features.
As a result there is no output to work with after issuing
/home/pi/.local/bin/bimmerconnected status $BIMMER_USERNAME $BIMMER_PASSWORD rest_of_world
Did I miss something here ?
Expected behavior
JSON or output of status of the car.
Which Home Assistant version are you using?
2024.12
What was the last working version of Home Assistant Core?
2024.12
What is your region?
Rest of world
MyBMW website

[X] I can still successfully login to the BMW MyBMW website and the car status is available there.
[X] I have MyBMW enabled for my vehicle.

Number of cars

[ ] I have 2 or more cars linked to the MyBMW account.
[ ] I have a Mini vehicle linked to my account.
[ ] I have a Toyota Supra vehicle linked to my account.

Output of bimmer_connected fingerprint
none

Anything in the logs that might be useful for us?
No response
Additional information
No response

Seems the same as mentioned here https://github.com/bimmerconnected/bimmer_connected/issues/705#issuecomment-2532090656

Issue resolved on BMW side.


Reduce motion hook

🚀 Feature Proposal
useReducedMotion a small hook that indicates whether a user's OS is configured to "Reduce motion" for accessibility purposes.
Motivation
Animation is awesome! But, it makes some people sick. Vestibular dysfunction, a balance disorder of the inner ear, is surprisingly common among US adults. A study from the early 2000's found that approximately 69 million Americans had vestibular dysfunction which results in vertigo, nausea, migraines and hearing loss. Many people affected by vestibular dysfunction will choose to set the "Reduce motion" setting in their OS. In macOS it's found in the accessibility settings.

Maybe this should live in user land, but it being shipped with react-spring and featuring it in the docs would encourage developers to build more accessible sites. I'm happy to publish it separately but wanted to drop it in here first to get your thoughts.
Example
Usage Example
https://lukeherrington.com/posts/springtime-in-react-town/#too-much-of-a-good-spring
Proposed Implementation
Open to suggestions here:
const useReducedMotion = () => {
  const [matches, setMatch] = React.useState(false);
  React.useEffect(() => {
    const mediaQuery = window.matchMedia('(prefers-reduced-motion: reduce)');
    setMatch(mediaQuery.matches);
    const handleChange = () => {
      setMatch(mediaQuery.matches);
    };
    mediaQuery.addEventListener('change', handleChange);
    return () => {
      mediaQuery.removeEventListener('change', handleChange);
    };
  }, []);
  return matches;
};

that was an interesting article! and yes i think such a hook would help a lot, but don't you think it should live in its own place, so that it could be of more generic use to others? i also remember that we had similar requests before (switching off animation completely for node testing etc) and i believe v9 will ship with a way to globally alter all springs system-wide @aleclarson

Hey @drcmda - I am close to releasing a hook based pacakge for this that takes care of web/native. I'll release it on NPM after I get tests running and get some example apps built in codesandbox/expo snack. I also will open a PR for a small snippet about a11y on the website in the coming weeks.
Here's the lib:
https://github.com/infiniteluke/react-reduce-motion
Thanks again for the feedback.

It's published 🎉 https://www.npmjs.com/package/react-reduce-motion
The doc site PR will be up in the next couple of days 👍🏻

I have opened https://github.com/react-spring/react-spring.io/issues/31 to discuss the documentation change.

https://github.com/react-spring/react-spring.io/pull/36 would add an a11y section to the site. posting here for visibility and review!


Add endpoints to deactivate and restore config

call deactivate on instance deletion

Fixes https://github.com/weaveworks/service/issues/1595


Concurrent docker ps reducer.

It makes the time spent transforming the container struct into a
valid api struct constant-ish rather than O(N).
Preliminary timing benchmarks:
Host information: 12 CPUs, 32GB RAM DO dropplet.
Daemon information: 38 containers.

docker ps -a (MASTER):

➜  /usr/bin/time -p sh -c "docker ps -a | wc -l"
38
real 0.12
user 0.05
sys 0.05

docker ps -a --size (MASTER):

➜  /usr/bin/time -p sh -c "docker ps -as | wc -l"
38
real 82.36
user 0.02
sys 0.03

docker ps -a (CONCURRENT_PS):

➜  /usr/bin/time -p sh -c "bundles/1.10.0-dev/binary/docker ps -a | wc -l"
38
real 0.07
user 0.04
sys 0.05

docker ps -a --size (CONCURRENT_PS):

➜  /usr/bin/time -p sh -c "bundles/1.10.0-dev/binary/docker ps -as | wc -l"
38
real 34.93
user 0.09
sys 0.05

Signed-off-by: David Calavera<EMAIL_ADDRESS>

Now that I think about it, this implementation might not be desired, because it modifies the final ordering or the list. It might need a bigger change.

Will you update this PR, or should this be closed?

@thaJeztah I'll update this PR, but I'm going to close it temporarily to avoid unnecessary reviews of this code.


Users/pspill/no cred config on prem

In "dotnet nuget push", we should detect if we are pushing to an internal on prem server.  If yes, skip credential configuration -- integrated auth must be used.

@pspill squash and merge from next time :)


Make the test timeout always command-line configurable for YAML tests.

A test's timeout was only configurable if "timeout" was set in the
YAML.  Make sure the codegen acts as if that is always set.
Also modifies zap_regen_all.py to clearly list all the things it's
planning to run to generate things up front, and adds chip-tool-darwin
to the set of things it generates.
Also adds a --dry-run option to zap_regen_all.py to just list the
targets and exit.
Problem
See above.
Change overview
Make the "timeout" config variable always be present.
Testing
Examined the new codegen.

Fast tracking testing updates.


Storyboard support

I'd like to be able to assign the tableview as an IBOutlet from a storyboard, so I can also use prototype cells for example.
A bigger problem however is that I'm not calling any of the init methods when the controller is instantiated from the storyboard, so it would be handy to be able to call tableViewWithStyle: and commonInit from within my initWithCoder: method. Or that SlackTextViewController would implement the initWithCoder: method?

Sorry to dig up old bones!
But it seems that it's still no possible to instantiate a SLKTextViewController subclass using storyboard. Since the outlets aren't connected before initWithCoder initialer, the tableViewWithStyle: will create a table view, which later gets replaced by the storyboard table view once the outlet does get connected. This proves to be an issue once the constraints are setup (slk_setupViewConstraints) since the scrollViewProxy property is initialised with the lazy created table view, rather than the outlet connected table view...


[1pt] PR: Fix merge issues from PR 225 into Dev

In today's, Dec 15, 2023, merge from PR 225 into Dev, there was some merge conflicts which were fixed on the fly.  During post merge testing, it appears some of the merging was not 100% successful and will be fixed as part of this card.
Also noticed a few other minor pathing required fixes based on other modules in today's merge.
Note: At this point in the current V2 rebuild, ras2fim.py should work up to the end of Step 4 and break on Step 5.
Changes

src

clip_dem_from_shape.py: a few minor text changes.
conflate_hecras_to_nwm.py: Correct merge issues. Some of this was due to merge conflicts that needed to be fixed by hand such as some functions disappearing. Also added a few text fixes.
ras2fim.py: Minor linting fixes, plus changing a variable path value from Step 2 to Step 3.
worker_fim_rasters.py: Minor linting fixes.

Testing

Had a small set of models and a matching new version of it's matching models catalog.csv (the one with the new model id column), then ran ras2fim.py.  It worked just fine steps 1 to 4 and crashed as Step 5 as expected.

Checklist
You may update this checklist before and/or after creating the PR. If you're unsure about any of them, please ask, we're here to help! These items are what we are going to look for before merging your code.

[x] Informative and human-readable title, using the format: [_pt] PR: <description>
[ ] Pre-commit executed and linting changes made.: Note: Some files are linted but some of the big WIP files like conflate and worker_fim_rasters are not yet fully linted (partially).
[x] Links are provided if this PR resolves an issue, or depends on another other PR
[x] If submitting a PR to the dev branch (the default branch), you have a descriptive Feature Branch name using the format: dev-<description-of-change> (e.g.: dev-revise-levee-masking)
[x] Changes are limited to a single goal (no scope creep)
[x] The feature branch you're submitting as a PR is up to date (merged) with the latest dev branch
[x] Changes adhere to PEP-8 Style Guidelines
[x] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged / future todos are captured in comments
[ ] Project documentation has been updated (CHANGELOG and/or README)
[ ] Reviewers requested

Merge Checklist (For Technical Lead use only)

[ ] Update CHANGELOG with latest version number and merge date

Rob, Looks good and running ras2fim.py runs up to step 5, as expected.
My only comment is that the results of step4 are saved in "04_hecras_terrain\errain" folder, and I think the extra subfolder of "errain" should be removed.

Ya.. that makes sense. I will take a peak at it later today. Might be part of Heidi's incoming stuff, but will ping her.


add domain radenfatah.ac.id

@

@

@grim13 Pull request merged. Thank you!

@grim13 Pull request merged. Thank you!


Define ProjMPOApply type

Description
Defines the ProjMPOApply type, as an implementation of the AbstractProjMPO interface. This is in preparation for a "fit MPO apply" code in the ITensorTDVP package, which is also tested there.
Checklist:

[X] My code follows the style guidelines of this project. Please run using JuliaFormatter; format(".") in the base directory of the repository (~/.julia/dev/ITensors) to format your code according to our style guidelines.
[X] I have performed a self-review of my own code.
[X] I have commented my code, particularly in hard-to-understand areas.
[X] I have added tests that verify the behavior of the changes I made.
[X] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[X] Any dependent changes have been merged and published in downstream modules.

Codecov Report

Merging #983 (d1e855d) into main (3ef04b0) will decrease coverage by 2.56%.
The diff coverage is 86.65%.

:exclamation: Current head d1e855d differs from pull request most recent head 1deb2ad. Consider uploading reports for the commit 1deb2ad to get more accurate results

@@            Coverage Diff             @@
##             main     #983      +/-   ##
==========================================
- Coverage   66.54%   63.98%   -2.57%
==========================================
  Files          91       98       +7
  Lines        9923     9570     -353
==========================================
- Hits         6603     6123     -480
- Misses       3320     3447     +127

Impacted Files
Coverage Δ

...nceOptimization/ContractionSequenceOptimization.jl
62.50% <ø> (ø)

src/Deprecated/autompo/opsum.jl
0.00% <ø> (ø)

src/Deprecated/autompo/opsum_to_mpo_generic.jl
0.00% <ø> (ø)

src/Deprecated/backup/autompo.jl
0.00% <ø> (ø)

src/Deprecated/backup/opsum.jl
0.00% <ø> (ø)

src/ITensorVisualizationCore/visualize_macro.jl
0.00% <ø> (ø)

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

src/argsdict/argsdict.jl
0.00% <ø> (ø)

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

src/broadcast.jl
85.36% <ø> (-1.52%)
:arrow_down:

... and 97 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@mtfishman it occurs to me maybe this would be better as an addition to the ITensorTDVP package instead? Though I guess most of the ITensorTDVP code will wind up inside ITensors.jl anyway?

Let's add it to the ITensorTDVP package for now, since the design of the type may depend on how it is used by the ITensorTDVP solver interface.

Ok sounds good - I'll do that!


fix: show tag or commit id

Hi. I like your prompt very much. Unfortunately after checking out on tag or specified commit, __vertical_component_git_branch shows no info. This change fixes it.

Thanks for the fix!


Add adoherty21's file

As a reminder, you have: created a branch, created a file and made a commit, and opened a pull request

As a reminder, you have: created a branch, created a file and made a commit, and opened a pull request

Pls


Unify Gmsh accessors

This PR does a few things related to Gmsh triangle mesh readers

Introduces read_Gmsh_2D, which reads both v2.2 and v4.1 file formats.
Deprecates readGmsh2D and readGmsh2D_v4 in favor of the above (to be removed in a future version)
Switches to read_Gmsh_2D_v2 and read_Gmsh_2D_v4 internally for clarity

FYI @masonamccallum. Let me know if you have any issues with the changes introduced here! I'll wait to merge this until I hear back from you.

FYI @masonamccallum. Let me know if you have any issues with the changes introduced here! I'll wait to merge this in case you have comments on the direction it's going in.
Since I used @deprecate, it shouldn't break any existing code until I actually remove the old readGmsh2D and readGmsh2D_v4 interfaces.

This looks great!


chore(drag): move desktop drag up so its across the entire top of app…

…, and on the sidebar and main windows

What this PR does 📖
This makes all the sidebars and content areas have the top area be draggable. Before only some of the sidebars were draggable.
https://github.com/Satellite-im/Uplink/issues/68

Which issue(s) this PR fixes 🔨

Resolve #

Special notes for reviewers 🗒
Additional comments 🎤

LGTM, I would just make sure in testing @phillsatellite it doesn't block any functionality from being clicked.


SyncBot: Could propagate edit events too

Fascinating specimen for @sqweelygig (if you hadn't seen this) : a forums user updated their initial post, but Front doesn't update the thread.
https://app.frontapp.com/open/cnv_r4ckln
https://www.flowdock.com/app/rulemotion/r-process/threads/JawDv9ILMKM_wLTRf3PmW_PyVgw

From my inbox nags
Talk to Juan about propagating edit events with SyncBot v1


Track enrollment last offered

Add computed fields in courses table tracking the evaluation_statistics.enrolled of the last time the course was offered (resolve by course codes) as well as the season and course_id of this last-enrolled date.
Planned fields:

courses.last_enrolled
courses.last_enrolled_season
courses.last_enrolled_course

Maybe also add a field to if the last enrolled info is with the same professor or not
Will it be possible for the last enrolled data to come from the evals for that course itself (if it was something from 201903 for example?)

Yep, adding a field referencing if the last enrolled info is with the same professor is a good idea.
I'm thinking of excluding the case where enrollment is for the course itself since we already provide that in computed_listing_info; the idea is this will be a fallback for when this is not available for current-season courses.


Update scroll-prover-sdk commit hash to latest commit

This PR updates the import for the scroll-proving-sdk to use the latest commit hash.

I added in a dummy address in the example.config.json in this commit:  13c7860


[Csv2ImgCmd]: Install via homebrew

What is your new feature?

Install Csv2ImgCmd executable via homebrew

maybe this solution will solve your problem click


⚠ Bofrost.de has degraded performance

In fec03bd, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1708 ms

Resolved: Bofrost.de performance has improved in 6afcc1f after 7 minutes.


Allow training without loading full dataset into memory

Summary
Currently LightGBM loads the full dataset into memory for training. Allow training without loading the (full) dataset into memory should be very useful.
Motivation
As datasets grow larger, training without loading the full dataset into memory is very necessary. See e.g., https://github.com/microsoft/LightGBM/issues/5055
Description

References
An experimental feature from XGBoost, https://xgboost.readthedocs.io/en/stable/tutorials/external_memory.html

Closed in favor of being in https://github.com/microsoft/LightGBM/issues/2302. We decided to keep all feature requests in one place.
Welcome to contribute this feature! Please re-open this issue (or post a comment if you are not a topic starter) if you are actively working on implementing this feature.


Configurable Icinga 2 Version

As I see it, the installation of Icinga 2 is drilled to the latest available version.
To bring more flexibility, the versions should be configurable.

Please don't, that is the task of a software management solution.
Otherwise, all dependent packages must be managed in the version, e.g. icinga2-common, icinga2-bin icinge2-*.

With the use of a variable in the installation, the version could install only icinga2 by default. This is already done in role-icingaweb2.
If the user needs it for something else, he could fill the variable as he wishes.
I can think of several scenarios where you have to install a certain version of the products.
From my point of view, the whole thing would make perfect sense. If that does not correspond to what the Collection wants to represent, then so be it.

You do not understand my point. If we do so, we have to handle all packages! And not only one for icinga2, one vor icingaweb2 and so on.

I think it's exactly the other way around ;)
If the roles remain true to the latest, this very thing does not have to be done. By default, only icinga2 should be specified for the latest.
If the user wants to use a different version, he simply has to adapt the packages himself and observe the dependencies.
Exactly so it is currently also within the icingaweb2 role.
icingaweb2_packages: ["icingaweb2", "icingacli", "libapache2-mod-php"]
Now if I want to install a different version, I can simply customize the packages and pin the version. And yes, then it is necessary to pin the dependencies as well. But this is then the responsibility of the user.

Ok, that mean, we need a variable like icinga2_manage_package as Boolean to manage package or not?

It wouldn't even need something like that.
The following would already be enough (I take as an example debian):
vars:
icinga2_packages: ["icinga2"]
install.yml:
- name: Install Icinga 2
  ansible.builtin.apt:
    name: "{{ item }}"
    state: present
    update_cache: True
  loop: "{{ icinga2_packages }}"

More would not be needed.
Thus, we remain true to the fact that by default the last version stable version is installed.
But if someone needs a different version, he can adjust the packages in his playbook.

I see you both having a point. I'm with @lbetz that having software management do the installation is the right way to do it. But just like @tbauriedel I see that many users only use Ansible and don't even use software management any more. And when there's a need for a specific version, they have to rely on Ansible.
My approach is usually to have have a version variable without a default. When it's set, then Ansible will install this specific if not, it will install the latest available. But it will not update by default. Offering updates via Ansible is something different, yet. And I'm not sure if I like it or not with leaning to "not".
There's a solution to that problem in https://github.com/NETWAYS/ansible-collection-elasticstack/blob/main/roles/logstash/tasks/main.yml#L54-L78 . Given, that's ugly and complicated but according to our tests it works.

@tbauriedel using a loop mean, you will have e.g. on red hat with yum a single yum/dnf exec for each package. If you use package names with versions that will fail, because icinga-2-2.13.8 will lookup for icinga2-bin, will find 2.14.0 and boom.

Good point. I forgot this.
With ansible.builtin.yum, ansible.builtin.apt and community.general.zypper you can provide a list of packages without looping trough.
In detail, it would look like this:
- name: Apt - install package icinga2
  ansible.builtin.apt:
    name: "{{ icinga2_packages }}"
    state: present

If you want, I can create a PR for this. Just let me know

Yes, please don't use a loop with package, yum or apt.


flashing problem in esptool!

I have a esp 32 dev module rev3 which i connected through usb and in esp tool i conected the board but I am am confused what file i should select for the firmware. Please tell me the firmware file name basically which file to choose to flash.

espfc_v0.2.0-RC6_esp32_0x00.bin.zip, remeber to extract and follow guide https://github.com/rtlopez/esp-fc?tab=readme-ov-file#flashing

espfc_v0.2.0-RC6_esp32_0x00.bin.zip, remeber to extract and follow guide https://github.com/rtlopez/esp-fc?tab=readme-ov-file#flashing
Thanks for the reply I am going to test it as soon as possible and I will let you know

esp32-c3 and esp32-s3 is not supported by this flasher. At the moment you need to use vscode with platformio extension.

Will the schematics be same for the esp32 s3 module as the esp32 module? Or there is a difference ?

no, pin assignment is diferrent. If you flash board, then go to the Cli and type get pin to see pin functions.

the ADC pin for esp32 is two shown in the CLI one is ADC 0 and another is ADC 1 which one to use? please help

the ADC pin for esp32 is two shown in the CLI one is ADC 0 and another is ADC 1 which one to use? please help

Try ADC 0

ADC_0 is for voltage, ADC_1 is for current. Do not confuse it with internal ADC number of esp chip. Use only pins attached to ADC1 of esp32.


Feature Request - Add multiple column sort similar to what the JS dataTables library has

Would it be possible to add sorting for multiple simultaneous columns?
something like:
sort -> sub-sort -> sub-sort .
I have a user who has requested this feature.

A number under the arrows would suffice probably. To the side may be better to avoid the header row jumping up and down in height.
DataTables library uses SHIFT, but CTRL may work. I could be wrong, but I believe SHIFT is the convention for Excel as well, and therefore more intuitive for the user.
There's an interactive demo on their front page if you want to get a feel for it.
https://www.datatables.net

I'm trying to figure out how to detect that CTRL/SHIFT is pressed while clicking on the header and the table is not in focus.
Didn't expect this :smile:

I think I'll release a version with just the multiSortEnabled parameter. Simple clicks without holding CTRL will configure the sort combination.
In a future version, if I figure out how to solve it, it could allow configuring a key holding to enable multi sort.

Excellent! Works perfectly. Thanks so much!!