Image cannot fit on the interface

I have images of higher resolution (Eg: 1500x1000 pixels) and when I try to annotate, the image does not fit on the interface. Does it mean that I have to make the dimensions of the image less or is there any other solution?

OS: Mac
**PyQt version:  5.13.0   **

Have you tried switching the view mode you're using?  Try both View->"Fit Window" and View->"Fit Width" to see if one of these fixes the problem.


Can this be modified for SCM files ?

SCM (Supreme Commander Model) files are also Y-up.
I wonder how close they are to FBX files,.. and can this code be modified to export to SCM format ?
I posted the C headers and files describing the SCM file format in this SketchUp forum thread:
Re: Request for .SCM file format

I'm not familiar with SCM at all.
But all this extension do is invoke the built-in exporter. For SCM one would have to create one from scratch.

Did you look at the header files ?*
What I am hoping is that the original guys who wrote Supreme Commander (and it's sequels,) did not invent a model format and an entire graphics library for their game engine.
Actually Wikipedia indicates that Supreme Commander games used the Moho engine.
(EDIT: Seems they actually did write their own graphics engine.)
Moho has become Anime Studio, which also says it can export FBX so they can be used with the Unity engine.
This site says Moho can use OBJ files.
http://www.lostmarble.com/moho/manual/index.html?import.html
Anyway I was hoping the files were really some standard format that just needed a bit of tweaking.


Fixes tests on master

Summary
We deprecated Utils.isMobile and replaced with getIsMobileView
selector.
Some tests failed to be updated and now fail on master.
This commit fixes that.
Release Note
NONE

@amyblais this one was missing in release-6.3. I just manually cherry-picked and pushed.

@amyblais this one was missing in release-6.3. I just manually cherry-picked and pushed.

@pablovelezvidal Thank you! cc @cpanato


[Help wanted] Multiple select field with predefined options problem

Hello,
I have a page on which I can have a non fixed number of multiselect element. Basically, the "create" version of the page, to create an entry, works flawlessly. But, the "edit" version is causing me some trouble: I assign the value found in the database on the ready() method of the page's component (in which the multiselects are).
You can see in the image below what happens:

The last one always works: it's set, and I can select new values. But for all the ones before the value are set, but they are stuck with a loading icon and I can't do anything with them. Trying to search for a new value seems to work (if I console.log the search results, they show), but they won't appear in the multiselect search box.
I can recall something like this in the doc, or in issues (was it even myself? hehe), that could help, but I can't seem to be able to find it, so... Any help welcome ! :) 🎱

Could you provide some code with the implementation? This would probably help solving this problem.
Also, 1.0 (#57) will introduce breaking changes to both searching and loading (showing spinner). It will be fully controlled from within the parent component.
See line: https://github.com/monterail/vue-multiselect/pull/57/files#diff-08af04817a34c893a1d251cf084c7fefR155, the _ajax-search.jade file and asyncFind in main.js.

Sure. Here is part of the code for the parent component that is relevant
import Multiselect from 'vue-multiselect'

Vue.component('log-edit', {
    components: {Multiselect},

    methods: {
        searchMusic: function(query) {
            this.$http.post('/music/multiselect', {
                search_query: query, // search query
            }).then((response) => {
                var index = this.form.entries.length - 1;
                this.form.entries[index].options = response.data;
            });
        },
        setMusicValue(value)  {
            var index = this.form.entries.length - 1;
            this.form.entries[index].selected = value;
        },
    },
    ready() {
        this.form.entries = this.$root.oldFormValue.entries;
    }
}

and here's the multiselect element
<multiselect
:selected.sync="form.entries[$index].selected"
:options="form.entries[$index].options"
placeholder="Search for a song title"
:multiple="false"
:show-labels="false"
:on-search-change="searchMusic"
:on-change="setMusicValue"></multiselect>

Please remove the .sync modifier if you use :on-change. That might help.
Also, in your promise resolving function, you always update the last entry:
var index = this.form.entries.length - 1; // is always the index of the last multiselect
this.form.entries[index].options = response.data;

This might be the problem why the spinner is triggered and never ends. After you type into the search box it triggers the spinner and waits for the :options to be updated. The :options only get updated in the last multiselect.
Also, do you use track-by when iterating through entries? It often causes problems with inputs.

I am having the same issue... except I am using vue-router and returning from the data() multiselect is overwriting the incoming value and setting it to null.

created () {
    if (!this.selected) {
      this.$set('value', this.multiple ? [] : null)
    } else {
      this.value = deepClone(this.selected)
    }

This might cause the issue. I will try to provide a hotfix for it soon.

@jpmurray I changed the above code in the v1.0.0 release. Let me know if this helps.

@shentao I'll be looking at it in the coming days, I've been über busy lately, haven't got a minute yet to actually read all of your replies! ;-)

Sure thing!

I tried with my issue, has the usage changed? :selected.sync="model" no longer works for me. the model is no longer bound to the multiselect.

@BakerCo Yes, the usage has changed, hence the version change to 1.0.0. Please refer to the updated documentation.

SO.
I'm sorry, I hardly had to time validate your precious imputs of the last days sooner, but here I am.
Basically, I just followed your comment over here while updating to 1.0.1 and it just works. It was probably, like you said, just a matter of what instance I was trying to update. Passing the id attribute makes it work flawlessly.
As per your other questions, even if it doesn't matter anymore because it works (👍) : I was sure I was using track-bybut it seems I don't so, here's that ;-)
Thanaks again for all of your help. I'm going to have to play with the code a bit more in the coming days, I don't expect any hicups, so I'll close the issue! ;-)

Really glad to hear that!
Let me know if there are any other issues with the new release.
Cheers!


increasing z-index on immersive nav to be higher than skeleton loaders

@Vitalii-Misechko noticed that when immersive nav (z-index: 1) is used with skeleton loaders (z-index: 1), when you scroll the page such that the skeletons are "behind" the immersive nav, whichever rendered last "wins" the z-index tie and is displayed on top:

Increasing immersive nav to z-index: 2 solves the problem. The band also uses z-index: 2 for the scrolling gradient, but as far as I can tell bands with stuff inside them that might scroll and immersive nav can't be used together. Does that sound right Stacey?

as far as I can tell bands with stuff inside them that might scroll and immersive nav can't be used together. Does that sound right Stacey?

Currently yes, we only needed it for org tabs in the main LMS navbar so we never exposed that ability to the immersive nav.  We never really discussed whether we'd want that eventually, but I feel it's unlikely.  Even if a number of our workflows keep updating to use the immersive nav, the whole point is for it to be small - I can't see us wanting to add org tabs or something else to it.  FYI @geurts in case he has heard otherwise.
Either way, we could address that when we go back to add the ability for immersive nav to include items in the nav-band slot


Feature FAF: Stabilizing the assignment finder

This is a meta-issue that summarizes the work to be done to stabilize the assignment finder. All issues for this feature are labeled with FAF.
As the assignment finder is one of the key preprocessing steps, we have to finally stabilize it and test rigorously.

[x] A much simpler approach to finding assignments without SMT: #366
[x] A manual chapter: #368
[x] A tutorial #369

Just a note on the tutorial. I don't think that a video would be a good idea, as we would have to record the video once again when we change the command options or the tool output. Text tutorials are much easier to change in this respect.

@Kukovec I guess, we can finally close this one, right?

I guess so.


Documenting proper ChiselMain replacement

So in Chisel2, the Verilog file was generated via ChiselMain. I believe rocket-chip still uses ChiselMain.run to generate Chirrtl, and then the Firrtl executable is separately run via makefile to generate Verilog. But if rocket-chip isn't our top module -- as in some DSP stuff I'm starting to work on, what exactly is supposed to be the standardized way to do this in Chisel3, now that ChiselMain.run is supposed to be deprecated?

As far as I can tell, the new Chisel3 TesterDriver does go through the process of generating verilog, as evidenced by the content of test_run_dir. If that's the case, are we just supposed to assume we have to run sbt test to generate Verilog?

Alternatively, we can do what ChiselMain.run does to generate a Chirrtl file and then use Driver.firrtlToVerilog to generate the Verilog file via the Scala ProcessBuilder. I know people have been talking about running Firrtl directly in Chisel, but the Driver.firrtlToVerilog function still requires an input file as opposed to being able to directly take in some ir.circuit.
If the latter option is supposed to become standardized, it'd be great to have that documented somewhere. Note that chisel-template doesn't have a main function anywhere, so only sbt test works and not sbt run.
I basically added something like:
object test {
  import java.io._
  import scala.sys.process._

  def firrtlToVerilog(prefix: String, dir: File): ProcessBuilder = {
    Process(
      Seq("./firrtl",
          "-i", s"$prefix.fir",
          "-o", s"$prefix.v",
          "-X", "verilog"),
      dir)
  }

  def main(args: Array[String]): Unit = {
    val gen = () => new GCD
    val circuit = Driver.elaborate(gen)
    Driver.parseArgs(args)
    val output_fir_file = new File(Driver.targetDir + "/" + circuit.name + ".fir")
    Driver.dumpFirrtl(circuit, Option(output_fir_file))
    val firrtl_dir = new File(Driver.targetDir + "/" + "dsp-framework/firrtl/utils/bin/")
    val genV = firrtlToVerilog(Driver.targetDir + "/" +circuit.name,firrtl_dir)
    genV.run()
  }
}

To the end of examples/GCD.scala in chisel-template to generate verilog with sbt run.
Two things to note:
I had to dig around to find out that firrtlToVerilog existed + generated a ProcessBuilder. I had to dig around more to find out that firrtl would only be run if I did genV.run()... I think that should really be documented.
The other thing is, I'm not sure why I needed ./firrtl instead of just firrtl in the Process... so I just made my own firrtlToVerilog in the test obj...

Another alternative, and likely the one people actually plan to use:
After a *.fir file has been dumped:
    val lines = scala.io.Source.fromFile(Driver.targetDir + "/" + circuit.name + ".fir").mkString
    val annotationMap = firrtl.Annotations.AnnotationMap(Nil)
    val writer = new java.io.StringWriter
    val compiler = new firrtl.VerilogCompiler()
    compiler.compile(firrtl.Parser.parse(lines), annotationMap, writer)

And then print writer contents to file.
The main issue with this is still that I need to print the Chirrtl to an intermediate file before using in Firrtl. Otherwise, I get:
found   : chisel3.internal.firrtl.Circuit
[error]  required: firrtl.ir.Circuit
Is there some kind of helper function in Firrtl that I'm not aware of that casts chisel3.internal.firrtl.Circuit to firrt.ir.Circuit?

Anyways, I'm more or less ok with all of the above or none of the above, but would like to know what people actually want to standardize...

@shunshou I have added an entry to the chisel3 FAQ at I just want some verilog, What do I do?
There is also a stackoverflow answer for this at How to generator verilog from a chisel module
If this is not what you meant or it needs enhancement or better SEO please let me know

How about more specific questions:
How do I generate Verilog in a directory of choice X?
How do I pass in annotations for a FIRRTL pass aka replseqmem? Or other
more general but useful annotations
On Thursday, January 12, 2017, Chick Markley<EMAIL_ADDRESS>wrote:

@shunshou https://github.com/shunshou I have added an entry to the
chisel3 FAQ at I just want some verilog, What do I do?
<#m_1797454400633158541_get-me-verilog>
There is also a stackoverflow answer for this at How to generator verilog
from a chisel module
http://stackoverflow.com/questions/40470153/is-there-a-simple-example-of-how-to-generate-verilog-from-chisel3-module
If this is not what you meant or it needs enhancement or better SEO please
let me know
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ucb-bar/chisel3/issues/309#issuecomment-272246787,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGTTFmYNBi8ophZ-GQxtlGL6AmTRCGvaks5rRnTsgaJpZM4KMX6t
.

@shunshou I added the answer to the first question to the how do I just get verilog faq entry
In general annotations get added because they are generated in the modules using an API determined by the library writer.  As the latest DspTools does in order to move verilog to output directory when using verilator.  There is more writeup on Annotations in the short users quide to using chisel under Annotations.  The replseqmem I don't understand, but I believe that we now have all the machinery to make replseqmem passed as an annotation and I believe this is the way @azidar and @jackkoenig want it to be.  If it isn't right yet let's put it on the hacking to do list

I think it works. Thanks!


Edited pattern attributes does not survive across feed versioning

Observed behavior
When a new version is created from a snapshot all patterns are recreated from trips, so all modified pattern attributes (e.g. pattern name) are lost.
Expected behavior
If I change the pattern name in the editor I expect that, creating a new version, the pattern name is still there as written by me.
Steps to reproduce the problem

select a route in the editor
modify the name of a pattern
make a snapshot
publish the snapshot as a new version
find the route in the manager
there is no pattern with the modified name (all patterns are recreated)

Any special notes on configuration used
none
Version of datatools-ui and datatools-server if applicable (exact commit hash or branch name)
last commit in dev branch for both server and ui

Unfortunately, the pattern object is not a part of the GTFS specification. As a rule, we generally try not to export editor-specific tables or fields into output GTFS.


Correction of assert in case a 32bits architecture is used

There is an assert that checks the size of a type against the pointer size. This does not work on 32 bits architectures as the pointers are smaller, but the other types are not reduced acordingly.

Could you please rebase and drop these merge commits?

Ok, I close this pull request and ask for a new one with a rebased version and using SIZEOF_POINTER.


Duplicates in Cretan Violence Dataset

Hello,
There are two of every place in the Cretan Violence dataset: https://whgazetteer.org/datasets/39/places
Can we delete the duplicates?
Best,
Jesse

As far as I could see in the database, you had a set of 61 places created 28 Aug 2023, and another set of 61 created 17 Dec 2023.The latter set is not reviewed or indexed, and I suspect it was the result of some data manipulation during the switch to v3 which might have affected other datasets too. Erk.
Fortunately, only the first set had been added to any Place Collection (no.133), so I've gone ahead and wiped the other set (using the Django Admin interface).


How could this affect the performance?

Hi,
I'm training the model with "Llama2" as the frozen LLM, I was wondering how exactly this part of the code could affect the model training and performance? or actually what is the purpose of this?
meaning going thorough if condition or the else part

Would really appreciate the help
Best

The purpose of this code is because most of these models don't have pad tokens (and training assumes the existence of pad tokens for batching purposes). If your model has padding tokens, you shouldn't need to deal with this. It shouldn't affect performance.
BTW, you might want to take note of the following detail if you are using LLaMA:

Another detail you might want to check is that I think LLaMA-2 does not do weight tying (OPT does), so you will need to unfreeze the lm_head too if you are training with LLaMA. Otherwise I think the new [IMG] embeddings will not be meaningful. This will also cost you more GPU memory however, since you need to keep the optimization states of more parameters.

Thanks for the explanation.
Ahh Okay very good point, didn't know that, so then I guess it means actually the training configuration needs to be updated as well to accommodate the newly unfrozen parameters?

Right, you'd probably have to add some lines here to zero out the non-IMG parts of the lm_head.

yeah makes sense, and how would you suggest the best to unfreeze the lm_head?

just out of curiosity, I did not know about the weight tying in Llama2 before and managed to train the model once with 'meta-llama/Llama-2-7b-chat-hf' but it was still generating the images properly and seemed to be working fine, is there a possibility that it does not affect the training that much?

That's interesting! It could be possible, I guess, if the [IMG] embedding is being trained on both sides (like the OPT version). This will probably change the behavior of the LLaMA text generation ability, and I'm not too sure how that interaction would ensure.

how would you suggest the best to unfreeze the lm_head

Probably something like:
for param in self.lm.lm_head.parameters():
    param.requires_grad = True

in the model init.

Thanks a lot, and I think zeroing out non-IMG parts of lm-head using the same masking approach would do the job?

The purpose of this code is because most of these models don't have pad tokens (and training assumes the existence of pad tokens for batching purposes). If your model has padding tokens, you shouldn't need to deal with this. It shouldn't affect performance.

Also, regarding padding tokens, as long as the tokenizer padding token and end of sequence token are the same (e.g. tokenizer.pad_token, tokenizer.eos_token: </s> </s>) the problem of the model not having a padding token has been taken care of?
I think the reason that you used another if statement to either assign the token itself or the token id instead is due to specifics of mentioned model in your code ['EleutherAI/gpt-j-6B']?

I checked the param_count.txt output from the training that I have done on Llama2 13b and Llama2 7b and it seems the lm_head weights are being trained:
13b:

7b:

Yeah, that should work I think! If you're planning to follow the same training procedure as the paper (besides swapping OPT for LLaMA), you'd also want to zero out the [IMG] gradients like we did.


update comment of PlaceholderValue::values

after we updated the schema in #246, we forgot to update the comment here.

issue: https://github.com/milvus-io/milvus/issues/29419

/lgtm
/approve


Grotesque Guardians Textures and Lights

This adds textures and lights to most things in the Grotesque Guardians boss fight

Falling rocks shadow:
https://github.com/user-attachments/assets/39e75092-0bad-4d6e-b7c4-e9cfb7ae7b54
https://github.com/user-attachments/assets/601ac77f-7a8e-4fd1-bf75-458362f8e3e8
Misc:
https://github.com/user-attachments/assets/b7882f9d-e049-4988-8ae0-ff5864de8857
https://github.com/user-attachments/assets/fb4d82c7-01b0-490f-b727-466df85737d7
https://github.com/user-attachments/assets/44cc2d87-5145-42c1-9e95-f595f68f431a
Pretty difficult to get decent before and after shots, I'd reccomend checking the boss out in game but it does require a gargoyle task.

Duplicate textures found:
Replacing ID 51632 from 'Hunter Guild Big Tree' with 'Hunter Guild Big Tree with Leaves'. The first-mentioned override should be removed.
Replacing ID 7882 from 'Grotesque Guardians' with 'Grotesque Guardians Dusk and Dawn Npc'. The first-mentioned override should be removed.
Replacing ID 7851 from 'Grotesque Guardians' with 'Grotesque Guardians Dusk and Dawn Npc'. The first-mentioned override should be removed.
Replacing ID 7883 from 'Grotesque Guardians' with 'Grotesque Guardians Dusk and Dawn Npc'. The first-mentioned override should be removed.
Replacing ID 7852 from 'Grotesque Guardians' with 'Grotesque Guardians Dusk and Dawn Npc'. The first-mentioned override should be removed.
Replacing ID 7884 from 'Grotesque Guardians' with 'Grotesque Guardians Dusk and Dawn Npc'. The first-mentioned override should be removed.
Replacing ID 7853 from 'Grotesque Guardians' with 'Grotesque Guardians Dusk and Dawn Npc'. The first-mentioned override should be removed.
Replacing ID 7885 from 'Grotesque Guardians' with 'Grotesque Guardians Dusk and Dawn Npc'. The first-mentioned override should be removed.
Replacing ID 7854 from 'Grotesque Guardians' with 'Grotesque Guardians Dusk and Dawn Npc'. The first-mentioned override should be removed.
Replacing ID 7886 from 'Grotesque Guardians' with 'Grotesque Guardians Dusk and Dawn Npc'. The first-mentioned override should be removed.
Replacing ID 7855 from 'Grotesque Guardians' with 'Grotesque Guardians Dusk and Dawn Npc'. The first-mentioned override should be removed.
Replacing ID 7887 from 'Grotesque Guardians' with 'Grotesque Guardians Dusk and Dawn Npc'. The first-mentioned override should be removed.
Replacing ID 7888 from 'Grotesque Guardians' with 'Grotesque Guardians Dusk and Dawn Npc'. The first-mentioned override should be removed.
Replacing ID 7889 from 'Grotesque Guardians' with 'Grotesque Guardians Dusk and Dawn Npc'. The first-mentioned override should be removed.

The offending lines are 17055-17067 have some matching npcIds on lines 22708-22722
IDs are 7851-55 & 7882-89
If you remove the entire object definition from lines 17050-17069 Grotesque Guardians
and add
    "hideVanillaShadows": true,
    "retainVanillaShadowsInPvm": true,

under your definition of Grotesque Guardians Dusk and Dawn Npc that should resolve it and put in on par with Master :)

Your stairs also conflict with my stairs merged in master; I compared the two and mine has more details; but it is a bigger perf hit; They are otherwise the same.
Master:
{
    "description": "Morytania Slayer Tower roof entrance - Dynamic",
    "baseMaterial": "STONE_NORMALED",
    "uvType": "BOX",
    "uvOrientation": 343,
    "uvScale": 0.8,
    "flatNormals": true,
    "colorOverrides": [
      {
        "description": "Mossy substance",
        "colors": "h == 21",
        "baseMaterial": "LEAF_VEINS"
      }
    ],
    "objectIds": [
      31672,
      31673
    ]
  },

PR:
{
  "description": "Grotesque Guardians Exit Stairs",
  "baseMaterial": "STONE_NORMALED",
  "objectIds": [
    31673,
    31674
  ],
  "uvType": "BOX",
  "uvScale": 0.75
},

I am using a slightly larger texture; and filtering out the moss. Because of that and the model being dynamic; it is thus more taxing on the system.


Minor install instruction fixes

What are your changes?
What type of changes does your doc introduce?

[x] Bug fix
[ ] New feature

What is the urgency level of this change?

[ ] Blocker
[x] High
[ ] Medium

I have completed these items:

[x] I have tested all commands and code snippets.
[ ] I have built locally and tested for broken links and formatting.
[x] I have made this change for all affected versions (e.g. 1.7, 1.8, and 1.9).
[x] My doc follows the style guide: https://github.com/dcos/dcos-docs#contributing.

Ping @emanic @sascala @joel-hamill for reviewing pull request changes.
If you included a comment with your commit, it appears here:

@jgarcia-mesosphere the convention in our docs (currently) is to prefix commands with the $. This is pretty common in technical doc (e.g. https://docs.docker.com/compose/gettingstarted/).

Other than comment around $releasever this LGTM

@joel-hamill did you maybe mean @jsancio?

@joel-hamill Done. I still don't think we should add $ but okay. I can think of two reason why removing $ is nice. 1) easy to copy and paste. 2) the user doesn't type $, it is printed by their terminal.

@lingmann Did you mean ".... $"? What comment around $releasever?

sorry @jsancio my comment was stuck in a pending review... see above.

Also FWIW I agree with Jose that our convention of $ prefix for commands is not ideal for the reasons he stated. Would love to re-evaluate this convention at some point.


Windows10 installation fixes ver2

There seems to be a rebase problem with this PR (there are 32 commits here, and 52 files changed), can you maybe send a new PR with the fixes? Thanks!


updated individual_experiment_dashboard

Here I updated the dashboard for analysing individual sandbox experiments to the current implementation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 28 (0.0%)  changed or added relevant lines in 1 file are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.4%) to 63.802%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

combine1d/sandbox/individual_experiment_dashboard.py
0
28
0.0%

Files with Coverage Reduction
New Missed Lines
%

combine1d/sandbox/individual_experiment_dashboard.py
3
0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.4%

Covered Lines:
2027

Relevant Lines:
3177

💛  - Coveralls

I also calculated now a bias in the statistics and added a possibility to define glacier-specific settings when doing many sandbox experiments at once.


Windows 10 Home: Installation presumably changes Value for Users WindowsMetrics

After installation in VSCode on Windows 10 Home (Version 22H2) the REG_DWORD Value for the AppliedDPI for Users Desktop presumably got changed. Had to manually set back the DPI in the Registry.

thanks for the report! i've reviewed the extension code and can confirm that the extension shouldn't interact with any windows registry settings or DPI configurations. the extension only creates a status bar item with icons and monitors text changes to update those icons.
could you verify if this DPI change occurs consistently when installing/uninstalling the extension specifically? it might be helpful to also test if this happens with a fresh vscode installation without the extension to determine if it's a vscode related issue rather than specific to the extension.
let me know if the issue persists or if you notice any specific patterns that could help identify the cause.


This line should be fixed.

https://github.com/torayeff/fanucpy/blob/1a2141af4abaceac82b93738e815982b9bda228f/src/fanuc-driver/mappdk_comm.kl#L40

fixed


[ES] Add example for handling of duplicates in list substraction

#642

LGTM! Thanks for the contribution @jonahoffline :) Hopefully we'll see you more around here!

@ybur-yug no problem, you're welcome! You will definitely see me around here more. Beautiful project 👌

Thanks @doomspork for that one I just hang out here and browse dank memes


feat: add replacement for tempy

Not sure what Node version to put this at. fs.mkdtemp itself goes back to Node v5, but fs.rmdir(..., {recursive: true} is Node 12.x and up, and it now gives you a big deprecation message telling you to use fs.rm instead, which is Node 14.x and up.
It shouldn't be too much of a problem, however, since tempy is also Node 14.x and up.

was going to suggest this belongs in  the native manifest rather than preferred, but i think the fact you need extra code rather than replacing a single expression probably means you're right here
since at least mkdtemp is available pretty much everywhere, think we're all good 👍


TypeError: the 'package' argument is required to perform a relative import for '.odrive_can.srv'

ros2 service call /odrive_axis0/request_axis_state /odrive_can/srv/AxisState "{axis_requested_state: 1}"
Traceback (most recent call last):
  File "/opt/ros/iron/bin/ros2", line 33, in <module>
    sys.exit(load_entry_point('ros2cli==0.25.4', 'console_scripts', 'ros2')())
  File "/opt/ros/iron/lib/python3.10/site-packages/ros2cli/cli.py", line 91, in main
    rc = extension.main(parser=parser, args=args)
  File "/opt/ros/iron/lib/python3.10/site-packages/ros2service/command/service.py", line 41, in main
    return extension.main(args=args)
  File "/opt/ros/iron/lib/python3.10/site-packages/ros2service/verb/call.py", line 58, in main
    return requester(
  File "/opt/ros/iron/lib/python3.10/site-packages/ros2service/verb/call.py", line 69, in requester
    module = importlib.import_module('.'.join(parts[:-1]))
  File "/usr/lib/python3.10/importlib/__init__.py", line 121, in import_module
    raise TypeError(msg.format(name))
TypeError: the 'package' argument is required to perform a relative import for '.odrive_can.srv'

I was able to launch node, so package is built and setup.bash is sourced. ros2 topic echo and other command are also working correctly.

# ros2 service list -t
/odrive_axis0/can_node/describe_parameters [rcl_interfaces/srv/DescribeParameters]
/odrive_axis0/can_node/get_parameter_types [rcl_interfaces/srv/GetParameterTypes]
/odrive_axis0/can_node/get_parameters [rcl_interfaces/srv/GetParameters]
/odrive_axis0/can_node/get_type_description [type_description_interfaces/srv/GetTypeDescription]
/odrive_axis0/can_node/list_parameters [rcl_interfaces/srv/ListParameters]
/odrive_axis0/can_node/set_parameters [rcl_interfaces/srv/SetParameters]
/odrive_axis0/can_node/set_parameters_atomically [rcl_interfaces/srv/SetParametersAtomically]
/odrive_axis0/request_axis_state [odrive_can/srv/AxisState]

mb will be useful

Seeing the same error when trying to make a service call.

same here, hoping that @samuelsadok can shed some light

Hey guys, I think I can help.  I checked the command you used against my notes:
ros2 service call /odrive_axis0/request_axis_state /odrive_can/srv/AxisState "{axis_requested_state: 1}" <-- yours
ros2 service call /odrive_axis0/request_axis_state odrive_can/srv/AxisState "{axis_requested_state: 1}" <-- my notes
The only difference is the leading "/" on the odrive_can/srv/AxisState.  I confirmed that you're command produces the same error on my setup, but it works without the "/"

Nice find @JesseDarr! The docs need be updated to remove the forward slash.

Whoops don't know how that slash got in there but I could confirm that the proposed fix works. Thanks for the pointer! I just updated the docs.


'Split Editor' Command Does Nothing In Diff View

VSCode Version: 1.12
OS Version: Mac OS 10.11.6

Steps to Reproduce

Open diff view of a files with a single editor group open
Run the Split Editor Command

Bug
Nothing happens

Yes, at some point we decided that we do not want split support for diff editors.


Close res.Body

Not close res.Body will resulting in goroutine leak.

Thanks @AllenzhLi!

Updated.

@AllenzhLi thank you very much for your contribution.


Search filters get squashed on small viewport sizes

I can't seem to reproduce this anymore, so I'll close this out


Sets consensus.nStakeMinDepth to 100 for testnet

No need for this change any more after the change in master branch.

No need for this change any more after the change in master branch.


chore(deps): Bump alloy 14ed25d

Motivation
The latest version is required at https://github.com/foundry-rs/foundry/pull/8098.
According to the update, fixed some codes based on the following changes on the alloy side.

https://github.com/alloy-rs/alloy/pull/840
https://github.com/alloy-rs/alloy/pull/848

Solution

@mattsse Thanks for the review!
It appears that the execution of cast rpc --rpc-url wss://eth-mainnet.alchemyapi.io/v2/jQqqfTOQN_7A6gQEjzRYpVwXzxEBN9aj eth_chainId in the integration tests fails, but I don't have any idea why that occurs. Could you give me some advice If you have any ideas on how to solve this?

blocked by https://github.com/alloy-rs/alloy/issues/874


Change some status arrows in transaction with public offline addresses

Change please arrow in statuses "sending to own address (public offline)" and "sent to own address (public offline)"
the arrow should be the same as in simple offline transaction

Change please arrow in status "failed (public offline)"
the arrow should be the same as in simple offline transaction

Checked


Avoid include http query parameters in downloaded (http) artifact's filename

Describe the Enhancement
This request is in the context of Paketo's apache-tomcat buildpack.
We are trying to use a presigned S3 url to download tomcat external configurations, setting the url as the value for the environment variable BP_TOMCAT_EXT_CONF_URI. Internally the buildpack calls libpak. DependencyCache's Artifact function.
This function sets the name of the downloaded artifact based on the value returned by the filepath.Base(uri) function call.
However, if we use an http uri with query parameters this call will try to set the filename with the query parameters included.
In our case, the S3 presigned url we are using has very long query parameter values, and when libpak tries to save the downloaded file with these parameters included in the filename, it runs into file name too long error.
Possible Solution
We can parse the uri using net/url's Parse function and then get the clean uri without the query parameters using the Path property. We can also put checks to ensure this is done only for http/https URIs.
Motivation
This would add support for presigned S3 urls to the Tomcat buildpack to provide external configurations.
We already have a PR drafted, let us know if we can mark it ready for review.

This sounds reasonable. I see your PR, when that's ready let us know.

Thanks @dmikusa for checking the PR.
I've marked it as Ready for Review now.


CLI - Scallop

Put Scallop specific code in its own component and make the default version more generic

I can take a look at this.

i would recommend doing those:

create a dummy project using today's set up
test --help
look at the log which described the used commands
access arguments from the application using the snippet of code below (the object Arguments)
test passing a wrong command line
try to access it in https://github.com/leobenkel/ZparkIO/blob/95de593a5463486b18f7196e225f18f2d0a070dd/Library/src/main/scala/com/leobenkel/zparkio/Services/SparkModule.scala#L31 to add a spark.option(...)
then, try removing scallop from build.sbt and from https://github.com/leobenkel/ZparkIO/blob/95de593a5463486b18f7196e225f18f2d0a070dd/Library/src/main/scala/com/leobenkel/zparkio/Services/CommandLineArguments.scala#L18
replace what breaks by un-implmented methods in the trait
create a new module with scallop to cut and paste the previous implementation into this isolated module
go back to your dummy project and add the zparkio library as well as the zparkio-scallop library. it should work the same way
copy your dummy project and try to make it work with an other config library.

How to use CommandLine today:
class Arguments(override val args: Seq[String])
    extends ScallopConf(args) with CommandLineArguments.Service {
...
}

object Arguments {
  type ArgumentEnv = CommandLineArguments.CommandLineArguments[Arguments]

  def apply(): ZIO[ArgumentEnv, Throwable, Arguments] =
    CommandLineArguments.apply[Arguments]()

  def apply[A](f: Arguments => A): ZIO[ArgumentEnv, Throwable, A] =
    CommandLineArguments.get[Arguments].map(_.apply(f))
}

which allow to do :
for {
   path <- Arguments(_.readPath)
   ds <- readUserFrom(path)
} yield ds


feat: armada - support to set chart_groups when armada apply

What is the purpose of this pull request?:
can override list type of values
What issue does this pull request address?: Fixes #
#175
Notes for reviewers to consider:
Specific reviewers for pull request:

hey daeseong! i think att went to a gerrithub model now, to keep things similar to openstack. try submitting a ps to: https://review.gerrithub.io/#/q/project:att-comdev/armada

Hi Brandon, Thank for letting him know about gerrithub. I have heard about att changing to gerrithub model, but was totally forgot about it. @gardlt can you guide us here?

As Brandon stated, we do not accept pull requests through github at this time.  Please use gerrithub at the link provided above.
Closing this PR as invalid.


Validation - Update jenkinsfile from master -> release/v2.6

updating all Jenkinsfiles to use release/v2.6 instead of master

LGTM :shipit:


Add Event Tracking for New User to 'All Web Site Data' GA Property

We've got an event on our Pulumi Production GA property called 'New User' which looks to be accurately tracking new signups.
Could we please fire this same event on our 'All Web Site Data' GA property so that I can track signups across domains? This would really help with overall attribution.

I've add another Repeater destination for the Service's backend events. It is now pumping those events, including New User in to the All Web Site Data property. Closing.


slurm_test04_parallel_batchJob fails regularly in docker environment

This test is the only slurm specific parallel job submitted through batch. It seems to be failing with the error: "invalid job credentials". This may be caused by the fact that the different 'nodes' in the cluster are all on the same system and try to read the credentials at the same time. For a live test using DAS-5 the test passes.

On this test I tend to get the following error:  expected:<4> but was:<2>
What the test does it run a simple command:
 '/bin/echo Hello World!'

It submits this command to 2 nodes with 2 processes per node:
 description.setNodeCount(2);
 description.setProcessesPerNode(2);

The expected result is 4 time the 'Hello World!' string in the stdout.
The problem seems to be that setNodeCount does not seem to work. The second one, setProcessesPerNode, does work. I've tested this by creating these variants:
 description.setNodeCount(1);
 description.setProcessesPerNode(2);

(gives two outputs as expected)
 description.setNodeCount(2);
 description.setProcessesPerNode(1);

(gives one output which is wrong)
Not sure if this is a bug in the slurm adaptor or our docker container we use for testing...

Running this test job directly on the docker image:
 srun -N 2 -n 2 /bin/echo 'Hello'

gives me:
srun: error: Task launch for 7.0 failed on node node-2: Invalid job credential
srun: error: Application launch failed: Invalid job credential
Like Ben mentioned above. However running this:
srun -N 1 -n 2 -w node-2 /bin/echo 'Hello'
runs fine (also with node-3, etc), showing that the individual 'slurm nodes' all work, we just cannot use two at the same time....

In the slurm documentation at:
https://computing.llnl.gov/linux/slurm/faq.html#multi_slurm

there is a chapter '14. Can slurm emulate a larger cluster?' which states that you can emulate a larger cluster by running multiple 'slurm nodes' on one machine (what we are doing):
"In slurm.conf define the desired node names (arbitrary names used only by SLURM) as NodeName along with the actual address of the physical node in NodeHostname. Multiple NodeName values can be mapped to a single NodeHostname. Note that each NodeName on a single physical node needs to be configured to use a different port number. You will also want to use the "%n" symbol in slurmd related path options in slurm.conf. "
However, I think we are skipping the last bit about the "%n" symbol. In our /etc/slurm-llnl/slurm.conf I see this:
#SlurmdPidFile=/var/run/slurmd.pid
SlurmdPort=6818
SlurmdSpoolDir=/tmp/slurmd

No "%n" there ?

Inside the nlesc/xenon-slurm docker container running echo sleep 30 | srun -N4 t gives:
srun: error: Task launch for 3.0 failed on node node-1: Invalid job credential
srun: error: Task launch for 3.0 failed on node node-2: Invalid job credential
srun: error: Task launch for 3.0 failed on node node-3: Invalid job credential
srun: error: Application launch failed: Invalid job credential
srun: Job step aborted: Waiting up to 2 seconds for job step to finish.
slurmd[node-0]: *** STEP 3.0 KILLED AT 2015-11-16T08:42:44 WITH SIGNAL 9 ***
srun: error: node-0: task 0: Killed
srun: error: Timed out waiting for job step to complete

Yup. This is caused by the fact that all slurm instances on the docker image share the same files in /tmp. Should be fixed by adding the "%n" in the right place in the conf files in /etc

Docker container fixed in #327, please merge PR

Parallel slurm test now succeed see https://travis-ci.org/NLeSC/Xenon/jobs/91364311

Great!
One slurm bug down one to go.... (but ... didn't we have 3 when we started ?)

Yeah there were even more than three. I've also seen test 30, 34, and 37 fail from time to time, but this could have been because of previous errors of course. Now that test04 is working I'll check the other tests again.


Cannot view the input files in the process details in the UI

Steps to Replicate

Upload a spreadsheet with sequencing file and analysis file linking
View the submission in the UI
Go to Processes tab
Find the process and expand the row details of that process

Actual Behavior:
Could not view the input sequencing file. It seems like the input files are missing.
Expected Behaviour:
UI should show the input files
e.g.
Process has input sequencing files
https://api.ingest.archive.data.humancellatlas.org/processes/search/findByUuid?uuid=da317018-1b0b-4e4f-b508-2c1c7d049507
Submission link in the Ingest UI: https://contribute.data.humancellatlas.org/submissions/detail?uuid=e6dca5ce-60b2-4087-97bd-fb32b20db01a&project=dc1a41f6-9e09-42a6-959e-3be23db6da56

reported by @idazucchi

Duplicate of ebi-ait/dcp-ingest-central#673


masked_multihead_attention_kernel  of size_per_head is 32  is faster than masked_multihead_attention_kernel  of size_per_head is 64

Description
gpt2 and size_per_head*head==1024,  input token num is 1792 output token num is 2048
layer.  size_per_head is 32.    size_per_head is 64
12	550ms	                630ms
24	980ms	                1130ms
48	1900ms	                2200ms

Reproduced Steps
dddd

top_p=1 ; p value for top p sampling
temperature=1.0 ; Use for sampling
repetition_penalty=2.0 ; Use for sampling
len_penalty=0.0
beam_search_diversity_rate=0.0
data_type=fp16
sparse=0
model_name=self_defined
; model_name=megatron_345M
; model_name=megatron_6.7B
; model_name=gpt_175B
; model_name=self_defined
; model_dir=./models/megatron-models/c-model/6.7b/
model_dir=models/openai-gpt-models/c-model/124m/1-gpu/
shared_contexts_ratio=1.0
[request]
request_batch_size=1   ; determine by the request
request_output_len=256   ; determine by the request
return_log_probs=false  ; return the output log probs and cumulative log probs.
context_log_probs=false ; include input contexts in the cumulative log probability computation.
[gpt_124M]
head_num=12
size_per_head=64
vocab_size=50257
decoder_layers=12
[gpt_175B]
head_num=96
size_per_head=128
vocab_size=51200
decoder_layers=96
[self_defined]
head_num=16
size_per_head=64
vocab_size=30000
decoder_layers=12
[megatron_345M]
head_num=16
size_per_head=64
vocab_size=51200
decoder_layers=20
#rotary_dim=32
[megatron_6.7B]
head_num=32
size_per_head=128
vocab_size=51200
decoder_layers=32

If you mean that under the constraint size_per_head * head_num = 1024, the latencies of size_per_head 32 and 64 are little different, this is an expected behavior because their gemm shape of attention are different.

Only the masked_multihead_attention_kernel. and other kernel, 64 is faster than 32 .

For other kernels, if you keep size_per_head * head_num = 1024, they should be same.
For MHA, this is an expected result.

Close this bug because it is inactivated. Feel free to re-open this bug if you still have any problem.


[REQUEST] Add stop download option.

Is your feature request related to a problem? Please describe.
This is cool
Describe the solution you'd like
add this bro, cool
Describe alternatives you've considered
No response
Additional context
No response

cxf

What do you mean? You can pause and cancel downloads


Writing a CASE statement in Custom SQL Lab with Filter Box

Hi,
I am trying to write a Custom SQL CASE statement in SQL Lab in Apache Superset. The table I am using is the result of a Custom Query.
How do I go about it?

@mukund14 the Custom SQL in a metric should only correspond to one aggregation function, not the entire query. I suspect the following should work in your use case:
AVG(CASE WHEN l1_bacteria_name IN ('Firmicutes', 'Bacteroidetes') THEN value ELSE NULL END)

Hey How do I go about a custom metric that requires me to AVF when a certain selection is chosen on the filter and SUM otherwise
e.g CASE WHEN columnA = "Price" THEN SUM(columnA) ELSE AVG(columnA) end

AVG*


[Enhancement] Allow setting gasPrice

Looks like currently remix doesn't support setting gasPrice and it is very helpful.
Thanks

Sorry this was posted in wrong repo.


[WIP] mkdocs: default plugins string[] to object[]

Hey, I just made a Pull Request!
I made modifications to the default plugins implementation in the codebase. Previously, we were using a simple array of strings to represent default plugins. However, I have now updated it to use an array of objects instead. Each object contains detailed configuration options for the corresponding plugin. This adjustment makes it more convenient for us to configure plugins and introduces flexibility for adding extra features when needed.
Importantly, I've kept the overall system architecture largely unchanged, ensuring that everything continues to function as it did before. No significant architectural changes have been introduced to maintain a smooth transition and to minimise disruptions. This change simplifies the configuration process while setting the stage for future improvements.
Closes #20610
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[x] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

it's unclear to me where the config is actually applied to the plugin it self

Agreed. And, from memory, I don't think the mkdocs/TechDocs plugin accepts anything other than a string array either for defaultPlugins.


Gamepad is detected , but button presses are not.

Hi I have a Kodi system (XBMCbuntu)
I installed retroach and that works fine, including the gamepad, but when I start emulationstation something goes wrong.
It sees the connected logitech dual action gamepad , but I can't seem to detect any button presses to configure it.
I have installed it on my laptop, and it works fine, but for some reason it doesn't on my media center pc.
Any hint on where to check for a solution ?
Regards,
Jerry

this isn't emulationstation

open your config.txt and add: max_usb_current=1 this could fix the gamepad. you can also download retropie 4.0.2 as this one seems to have less issues with controllers.

I'm not running this on a Raspberry. It's a media pc running ubuntu.
So I'm afraid I don't have the config.txt file. The strange thing is that the gamepad is detected by the system, it looks like it's only emulationstation that does not detect the buttons. The gamepad itself is detected , as it comes up with the gamepad detected screen , and asks to hold a button to configure it...

edit the config.txt

From: B4MB4M<EMAIL_ADDRESS>Sent: Tuesday, January 24, 2017 6:58 AM
To: Aloshi/EmulationStation
Cc: EDL144; Comment
Subject: Re: [Aloshi/EmulationStation] Gamepad is detected , but button presses are not. (#648)
I'm not running this on a Raspberry. It's a media pc running ubuntu.
So I'm afraid I don't have the config.txt file. The strange thing is that the gamepad is detected by the system, it looks like it's only emulationstation that does not detect the buttons. The gamepad itself is detected , as it comes up with the gamepad detected screen , and asks to hold a button to configure it...

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/Aloshi/EmulationStation/issues/648#issuecomment-274866104, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYFOgyxksBjR5T7aUQ8KIskgE2848uJCks5rVi2ggaJpZM4LqF4w.


Pyt8n missing module platformdirs

Please check that pip install command is correct
I get this trace when trying to use t8n.
Traceback (most recent call last):
  File "/pyt8n/venv/bin/ethereum-spec-evm", line 5, in <module>
    from ethereum_spec_tools.evm_tools import main
  File "/pyt8n/src/ethereum_spec_tools/evm_tools/__init__.py", line 13, in <module>
    from .daemon import Daemon, daemon_arguments
  File "/pyt8n/src/ethereum_spec_tools/evm_tools/daemon.py", line 16, in <module>
    from platformdirs import user_runtime_dir
ModuleNotFoundError: No module named 'platformdirs'

You'll need to add the feature test when installing the package.
If you already have it checked out locally, something like:
pip install -e .[test]

Just pip install . won't do?

The important part is the [test]. If you don't want an editable install, this'll work:
pip install .[test]

t8n and related tools are optional, and need additional dependencies to work.


Add more MediaTypes for byte[] responses;

Since byte arrays will be supported, let's add some common media types used with them;

Great, thanks.


Fast float plugin clamps values to [0,1]

Hello!
My use case is that I want to transform any input image with an embedded ICC profile into linear sRGB values, preserving any negative values and any values greater than one. I have encountered a case where this works with the core LCMS (I get values outside of [0,1] which preserve the chromaticity the way that I need) but where the fast float plugin clamps the values to [0,1], which isn't correct for what I need.
I have attached a source image and target profile. The source image sets every 8 bit channel to either 0 or 255 (i.e. bars of RGB and CYM) and the embedded profile sets the primaries to P3. The target profile should be sRGB but linear, which means that, for example, the red bar should end up with a red channel greater than 1 and the green and blue channels should be slightly less than 0.
When using LCMS I am converting the input data to 32-bit floating point myself and then calling:
cmsCreateTransform(sourceProfile, TYPE_RGB_FLT, targetProfile, TYPE_RGB_FLT, INTENT_ABSOLUTE_COLORIMETRIC, cmsFLAGS_HIGHRESPRECALC)
The problem seems to be in MatShaperFloat():
(cmsFloat32Number)rout = flerp(p->Shaper2R, l1);
(cmsFloat32Number)gout = flerp(p->Shaper2G, l2);
(cmsFloat32Number)bout = flerp(p->Shaper2B, l3);
Where flerp() is clamping to [0,1].
As I said before, I get the values that I want when I don't use the fast float plugin. I have also found other images that do give me values outside of [0,1] using the same target profile (in one case that I checked FloatCLUTEval() gets called, which doesn't seem to do the same [0,1] clamping).
Is there any way to get the results I want with the problematic attached image and the fast float plugin?
(The attached example image is something that I generated, but I need to be able to support any images from external sources that I don't have control over. I could change the target profile since I generate that, but I would prefer to be able to just specify the simple linear primaries to change rather than specifying a LUT.)
Thank you!
ICCProfileAndImage.zip

Auto-closed by github. The commit is b3144b8018a26df755b46a02583ff6ea466f532c


[Pytorch Upstream] Triton 3.0 can not handle device capability from Pytorch upstreamed XPU runtime.

torch.xpu.get_device_capability result with a dict, eg. {'max_work_group_size': 1024, 'max_num_sub_groups': 64, 'sub_group_sizes': [16, 32]}. But Triton(llvm-target) expects a “Int“ https://github.com/intel/intel-xpu-backend-for-triton/blob/b127c84121e03eee058827012c50aab27c232077/third_party/intel/backend/compiler.py#L70
This blocking inductor use the most import Triton API "compile".
Maybe Triton team should quickly workout a solution with Inductor team ( @EikanWang)

I think that torch.xpu.get_device_capability should return a int like torch.cuda.get_device_capability. Example:

FYI @LiyangLingIntel , this should be related to https://github.com/intel/intel-xpu-backend-for-triton/issues/427.

On second thoughts the concept of a device_capability make sense for CUDA but doesn't translate to Intel or AMD.
We could follow a similar approach as AMD and use clGetPlatformInfo to query the name of the patform:
size_t param_value_size;
clGetPlatformInfo(platform , CL_PLATFORM_NAME, 0, NULL, &param_value_size);
char* param_value = (char*)malloc( sizeof(char) * param_value_size);
clGetPlatformInfo(platform , CL_PLATFORM_NAME, param_value_size, param_value, NULL );

The idea is that param_value would contain the name of the target GPU, and that name should uniquely identify the type of GPU we are targeting.

@EikanWang  do you have any suggestion?

@etiotto , thanks for the suggestion. PyTorch XPU runtime is on the top of SYCL runtime. We had a discussion for #427 . The conclusion is that PyTorch will provide the SYCL device information to Triton. All the SYCL device information comes from SYCL spec - SYCL device_information_descriptors.

@EikanWang I understand. I am not sure what field we can use to identify the architecture of the target GPU. I'm thinking that info::device::vendor_id or info::device::name would provide that information.

@EikanWang I understand. I am not sure what field we can use to identify the architecture of the target GPU. I'm thinking that info::device::vendor_id or info::device::name would provide that information.

I put an example here https://github.com/intel/intel-xpu-backend-for-triton/pull/637#issuecomment-1983837813, which shows how the SYCL device information passed from PyTorch would look like. Include device_name, vendor, driver_version and other properties.
@etiotto Please take a look, we need to decide if these are enough for Triton XPU backend.

I added a comment. I think the planned changes are sufficient.

As discussed in [PoC] Accept device_properties dictionary as Triton compile target tuple second part #637, there should be no problem on how to handle device capability.
PyTorch passes device properties in python dictionary as the target second part according to SYCL device_information_descriptors, Triton parses the contents into configurations.
@EikanWang Can you please give us the IPEX commit when this change is ready, so we can merge this PoC and resolve this issue.

IPEX has landed the device properties changes in https://github.com/intel/intel-extension-for-pytorch/commit/17c0d7123a1c4a4eceb03045f1b6b4608fe87c29
Current device properties dictionary is a subset of SYCL device_information_descriptors, including Triton-necessary fields(device_name, vendor, driver_version, etc.). This is for quick merge of PyTorch upstreaming PRs.
PyTorch team will submit pull requests by steps to cover the full list of SYCL device_information_descriptors.


Build vignettes failed when installing from github

Hi,
When installing from github:
source("http://bioconductor.org/biocLite.R")
useDevel()
biocLite("BiocUpgrade")
library(devtools)
install_github("tengfei/sevenbridges", build_vignettes=TRUE,
  repos=BiocInstaller::biocinstallRepos(),
  dependencies=TRUE, type = "source")

I get an error:
Quitting from lines 155-183 (bioc-workflow.Rmd)
Error: processing vignette 'bioc-workflow.Rmd' failed with diagnostics:
invalid assignment for reference class field 'token', should be from class "character" or a subclass (was class "NULL")
Execution halted

It is a tiny issue - pull request that fixes it is #1
p.s. great work btw.

Hi @duxan thanks a lot for your feedback, actually before I see this issue this afternoon, I fixed some other problem together today and pushed to bioconductor svn. Usually after that, I do a git svn rebase to sync to here. I think I fixed the problem for building vigenettes problems. The release date is in April, hopefully the installation will be easier for R users later (biocLite() will work for both released and devel branch)


fch2qchem not support for SA-SF-DFT calculation

fch2qchem script only generate a 53.0 file that seems not enough for SA-SF-DFT calculation.
Here's an example for SA-SF-DFT calculation,
$molecule
0 3
C      -0.12264859     0.00599759    -0.75931820
C      -0.13393227     0.05086047     0.75572332
O       1.29017598     0.03740604    -0.91156021
O       1.12879647    -0.57344495     0.94545004
H      -0.54539878    -0.92543383    -1.16182063
H      -0.91791476    -0.55372886     1.23567184
H      -0.13429527     1.07605238     1.15229831
H      -0.56478278     0.88229116    -1.25644448
$end
$rem
unrestricted false
jobtype sp
max_scf_cycles 500
scf_algorithm gdm
thresh 14
sym_ignore true
basis   aug-cc-pvdz
exchange bhhlyp
cis_n_roots 10
sasf_rpa 1
cis_triplets false
$end

53.0 file is enough/sufficient, and the SA-SF-DFT calculation can be run successfully.
The most difficult part in the example you provided is how to obtain a converged and stable triplet RODFT wave function. If a unstable RODFT wave function is used in the subsequent SA-SF-TDDFT calculation, a large negative excitation energy will be observed (very similar to the negative excitation energy obtained in a singlet unstable RDFT based conventional TDDFT calculation).
If we use the following keywords to perform the ROBHandHLYP/aug-cc-pVDZ calculation using Gaussian,
%chk=test.chk
%mem=32GB
%nprocshared=16
#p ROBHandHLYP/aug-cc-pVDZ nosymm int=nobasistransform

title

0 3
[omitted]

We'll probably obtain E(ROBHandHLYP) = -228.760185 a.u. which is not a stable RODFT wave function (which can be checked using PySCF, we will not go into details here). One can try different initial SCF guesses or different keywords in Gaussian and see if a lower RODFT energy could be obtained. However, here I want to introduce a more robust approach: use PySCF to check the wave function stabiloity and perform the RODFT calculation. Assuming we have performed the ROBHandHLYP/aug-cc-pVDZ calculation using Gaussian, i.e. we have the file test.fch, running the following command
bas_fch2py test.fch -dft

will generate a PySCF input script test.py. We need to do some modifications and export stable RODFT MOs, see the modified file here
test.zip
Now we obtain the file test_stab.fch. Run fch2qchem test_stab.fch. Open the file test_stab.in and modify keywords as
$rem
unrestricted false
exchange bhhlyp
cis_n_roots 3
sasf_rpa 1
xc_grid<PHONE_NUMBER>90
basis gen
scf_guess read
scf_convergence 8
thresh 12
purecart 1111
sym_ignore true
mem_total 32000
$end

Note that do not delete the generated basis set data, and do not use the built-in basis set of Q-Chem, just use the basis set data generated by fch2qchem. cis_triplets false is useless since it seems that currently only singlet is implemented in SA-SF-DFT in Q-Chem. Submit the Q-Chem job, e.g.
qchem -np 1 -nt 16 test_stab.in test_stab.out test_stab

Here I use 16 CPU cores and 32GB memory. The RODFT SCF would be converged in ~20 cycles, while the electronic energy is almost unchanged (theoretically, it should be converged in < 3cycles, this means the default SCF algorithm in Q-Chem could be improved). Then the SA-SF-DFT calculation would be accomplished successfully. The SA-SF-DFT result will be like
 ---------------------------------------------------
         SA-SF-RPA Excitation Energies
 ---------------------------------------------------
 Excited state   1: excitation energy (eV) =   -0.2469
    Total energy for state   1:   -228.797021574878
    Singlet
    D( 14) --> S(  1) amplitude =  0.6595
    D( 15) --> S(  2) amplitude = -0.3907
    S(  2) --> S(  1) amplitude = -0.5917
 Excited state   2: excitation energy (eV) =    0.2245
    Total energy for state   2:   -228.779699954089
    Singlet
    D( 11) --> S(  1) amplitude = -0.1922
    D( 14) --> S(  2) amplitude =  0.5466
    D( 15) --> S(  1) amplitude = -0.6835
    S(  1) --> S(  1) amplitude =  0.2695
    S(  2) --> S(  2) amplitude = -0.2695
 Excited state   3: excitation energy (eV) =    1.2482
    Total energy for state   3:   -228.742078296575
    Singlet
    D( 14) --> S(  1) amplitude =  0.6369
    D( 15) --> S(  2) amplitude = -0.3046
    S(  1) --> S(  2) amplitude =  0.5184
    S(  2) --> S(  1) amplitude =  0.4455
 ---------------------------------------------------

Here a small negative excitation energy -0.2469 eV is allowed in spin-flip methods. This energy difference can be viewed as the S0-T1 gap, which also means that the lowest singlet is energetically lower than the lowest triplet (which is represented by the RODFT). By the way, all Q-Chem calculations are performed using Q-Chem 5.0.1. Feel free to ask more questions (if you have).

Can this procedure ( and also MRSF-TDDFT, X-TDDFT, maybe) be automized in autosr?

This procedure will be implemented in the autodft utility in 2024, which would take into considerations all spin-flip methods, double-hybrid functionals, and some modern hybrid functionals which are not supported in Gaussian. autosr would probably keep focusing on automatic calculations of post-HF wave function methods. Hope we can accomplish this work in the first half year of 2024.

This procedure will be implemented in the autodft utility in 2024, which would take into considerations all spin-flip methods, double-hybrid functionals, and some modern hybrid functionals which are not supported in Gaussian. autosr would probably keep focusing on automatic calculations of post-HF wave function methods. Hope we can accomplish this work in the first half year of 2024.

Great!


MODULE_NOT_FOUND] ModuleLoadError Plugin

Summary
I just installed sfdx to check if the stuff I did in @oclif/core was working, and then I started seeing these error messages, even when just running sf --version or sf --help

I repeated the above steps 2 times and got the same result in both.
Steps To Reproduce

install nvm v0.39.3
install node v18.18.0 with nvm
in a new terminal session, run which sfdx. If the result is ~/.nvm/versions/node/v18.18.0/bin/sfdx, then do 4, else jump to 5
run npm uninstall @salesforce/cli -g or any other command to uninstall everything related to sfdx. You just want to make sure you no longer sees ~/.nvm/versions/node/v18.18.0/bin/sfdx when running which sfdx or which sf
run npm install @salesforce/cli -g as described here
run sf --version and verify that the error messages appear

Since in step 5 I got no error, and I did an instalattion from scratch, I believe sf package is probably missing dependencies.
Expected result
no MODULE_NOT_FOUND] ModuleLoadError Plugin should appear when running sf/sfdx commands
Actual result
multiple MODULE_NOT_FOUND] ModuleLoadError Plugin error messages appear, no matter which sf/sfdx command I use
System Information

shell: zsh
os info: Darwin 149877447b5f 23.4.0 Darwin Kernel Version 23.4.0: Tue Feb 13 23:56:07 PST 2024; root:xnu-10063.101.14~5/RELEASE_ARM64_T8103 arm64

{
  "architecture": "darwin-arm64",
  "cliVersion"<EMAIL_ADDRESS>  "nodeVersion": "node-v18.18.0",
  "osVersion": "Darwin 23.4.0",
  "rootPath": "/Users/allanoricil/.nvm/versions/node/v18.18.0/lib/node_modules/@salesforce/cli",
  "shell": "zsh",
  "pluginVersions": [
    "@oclif/plugin-autocomplete 3.0.9 (core)",
    "@oclif/plugin-commands 3.1.4 (core)",
    "@oclif/plugin-help 6.0.13 (core)",
    "@oclif/plugin-not-found 3.0.11 (core)",
    "@oclif/plugin-plugins 4.2.5 (core)",
    "@oclif/plugin-search 1.0.16 (core)",
    "@oclif/plugin-update 4.1.13 (core)",
    "@oclif/plugin-version 2.0.12 (core)",
    "@oclif/plugin-warn-if-update-available 3.0.12 (core)",
    "@oclif/plugin-which 3.1.0 (core)",
    "@salesforce/cli 2.30.8 (core)",
    "apex 3.0.25 (core)",
    "auth 2.8.20 (link) /Users/allanoricil/plugin-auth",
    "data 3.1.1 (core)",
    "deploy-retrieve 3.2.16 (core)",
    "info 3.0.27 (core)",
    "limits 3.1.10 (core)",
    "marketplace 1.0.25 (core)",
    "org 3.3.14 (core)",
    "packaging 2.1.10 (core)",
    "schema 3.1.3 (core)",
    "settings 2.0.27 (core)",
    "sobject 1.1.13 (core)",
    "source 3.1.15 (core)",
    "telemetry 3.1.13 (core)",
    "templates 56.0.16 (core)",
    "trust 3.3.10 (core)",
    "user 3.2.11 (core)"
  ]
}

Additional information
node, npm and nvm versions

after displaying these error messages, commands echo the expected output

@iowillhoit seems similar
https://github.com/forcedotcom/cli/issues/2609

@AllanOricil Based on the error message, it looks like plugin-auth is linked to your local (based on the Users/allanoricil/plugin-auth file path). Since it's complaining about missing dependencies, the solution might just be to ensure the deps for plugin-auth are installed using yarn install

@mdonnalley oh I forgot to unlink that dependency. I thought npm would unlink it automatically when uninstallIng a package.  Thanks for seeing that 😅


OAuth Flow

This is the flow of the workflow in relation to authentication. If when a user logs in to auth the app and get an oath token it's required they either auth or cancel. If they do neither the webserver continues to run until 30 seconds has parsed where it will stop itself. It would be nice to come up with a more elegant solution.
graph TB
    A(gh...) -->C(We have a saved Github access_token?)
    C -->|Yes| D(All good, start showing results)
    C -->|No| E(Show > login options)
    E --> F(> login)
    E --> G(> login access_token)
    F --> H(Visit Auth screen on Github)
    G --> I(Save access token)
    H --> K(Start Server)
    H --> J(Authorize Workflow)
    K --> L(http://localhost:2820)
    J --> M(Github redirects to a tiny service that handles OAuth handshake and <br>then redirects to http://localhost:2820 with auth token)
    M --> N(Has 30 seconds taken place since authentication page opened?)
    N -->|Yes| Q(Server stopped)
    Q --> R(404 shown and access_token not saved)
    R --> A
    N -->|No| O(Save access_token)
    O --> P(Stop Server)

[TODO] This needs updating after finding this:
https://www.alfredapp.com/help/workflows/triggers/external/
Which means I know longer need to start my own server to handle the OAuth response and I can just use a url handler to get straight to the workflow.


trying to mitigate the "timeout no output" fail

using travis_wait to send a console message every minute to avoid timeout

I have bigger faith in #224


Remove data source from dataflow in Power BI Service

Hi,
I, by mistake, added a test-environment data source to one of my dataflows and now I cannot remove it. The fact that the test-environment datasource is still in the dataflows stops me from scheduling updates since for my dataset I no longer accept updated credentials.
Please support on this.

Thanks for your comment, @makri36.
This looks like a support request or product question rather than documentation feedback.
You might find a solution in the Power BI Community. If not, try our support page.


Fix missing headers leading to #include failing when pulling in hardware_irq and pico_bootrom

As suggested by @kilograham (in https://github.com/raspberrypi/pico-sdk/issues/1929#issuecomment-2364746391), add pico_runtime_init as well as pico_runtime and boot_picobin_headers to the CMakeLists.txts defining hardware_irq and pico_bootrom_headers.
While the issue initially was reported only for hardware_irq missing pico_runtime_init, the same issue affect the other mentionned.
Fixes #1929

/usr/lib/gcc/arm-none-eabi/12.2.1/../../../arm-none-eabi/bin/ld: cannot find -lboot_bootrom_headers: No such file or directory
I used your changes and  could remove error in compilation but at the time of linking I had the same error

cannot find -lboot_bootrom_headers: No such file or directory

You'll get this if the sdk doesn't know about boot_bootrom_headers, which would indicate you're not using the latest sdk.

cannot find -lboot_bootrom_headers: No such file or directory

You'll get this if the sdk doesn't know about boot_bootrom_headers, which would indicate you're not using the latest sdk.

@peterharperuk  I am using SDK git tag 2.0.0 , look the output of git log command
`j@raspberrypi:~/pico/pico-sdk $ git log
commit 2f1d186769a7f070cd2b193d580827c8d75e3e11 (HEAD, master)
Author: jaymin patel<EMAIL_ADDRESS>Date:   Tue Nov 5 14:50:51 2024 +0000
added fixes to work with 2.0.0 from internet didn't working

commit efe2103f9b28458a1615ff096054479743ade236 (tag: 2.0.0, origin/master, origin/HEAD)
Author: graham sanderson<EMAIL_ADDRESS>Date:   Thu Aug 8 06:02:04 2024 -0500
SDK 2.0.0 release

commit 45984e276f85aa24d33aa0ab62ed1e6df96a0784
`

Have you deleted your build folder?

Have you deleted your build folder?

Yes!
What I did was setup a RaspberryPi5 with pico_setup.sh and git clone my code and trying to compile
@aabizri This is my cmakelist.txt
cmake_minimum_required(VERSION 3.15)
set(CMAKE_C_STANDARD 11)
set(CMAKE_CXX_STANDARD 17)
set(PICO_BOARD pico)
set(CMAKE_BUILD_TYPE Debug)
# Set the Pico SDK path if not already set
# set(PICO_SDK_PATH "/path/to/pico-sdk")

# Pull in Raspberry Pi Pico SDK (must be before project)
include($ENV{PICO_SDK_PATH}/pico_sdk_init.cmake)

# # Project node -----------------------------------------------------------------------------------------
# set(PROJECT_NODE node)
# project(${PROJECT_NODE} C CXX ASM)
# pico_sdk_init()

# # Include subdirectories for the node project
# add_subdirectory(sensors/SCD41)
# add_subdirectory(sensors/AS7331)
# add_subdirectory(sensors/BME688)
# add_subdirectory(sensors/ICS43434)
# add_subdirectory(sensors/ONEWIRE)
# add_subdirectory(sensors/dht)
# add_subdirectory(sensors/VEML7700)
# add_subdirectory(sensors/STHS34)
# add_subdirectory(sensors/SENSIRION)
# add_subdirectory(sensors/multiSensor)
# add_subdirectory(CAN)
# add_subdirectory(SEREEPROM)
# add_subdirectory(CMD)
# add_subdirectory(FS)
# add_subdirectory(FS/littlefs-lib)
# add_subdirectory(FS/stdinit-lib)
# add_subdirectory(WIZNET)
# add_subdirectory(SEGGER)
# add_subdirectory(MQTT_LWIP)

# add_executable(${PROJECT_NODE} main_node.cpp)

# target_include_directories(${PROJECT_NODE} PRIVATE ${CMAKE_CURRENT_LIST_DIR})

# pico_set_program_name(${PROJECT_NODE} "${PROJECT_NODE}")
# pico_set_program_version(${PROJECT_NODE} "0.1")

# pico_enable_stdio_uart(${PROJECT_NODE} 0)
# pico_enable_stdio_usb(${PROJECT_NODE} 1)

# target_link_libraries(${PROJECT_NODE} PRIVATE
# pico_stdlib
# # pico_runtime_init
# # pico_runtime_init_headers
# # pico_runtime
# # boot_picoboot_headers
# # boot_bootrom_headers
# # boot_picobin_headers
# # pico_runtime_init_headers
# hardware_rtc
# hardware_i2c
# hardware_spi
# segger
# SCD41
# AS7331
# BME680
# VEML7700
# STHS34
# MIC
# pico_one_wire
# CAN
# EEPROM
# CMD
# littlefs-lib
# stdinit-lib
# FS
# SENSIRION
# BME680
# multiSensor
# )

# pico_add_extra_outputs(${PROJECT_NODE})

# Project gateway --------------------------------------------------------------------------------------
set(PROJECT_GATEWAY gateway)
project(${PROJECT_GATEWAY} C CXX ASM)
pico_sdk_init()

set(CMAKE_C_FLAGS_DEBUG "-Og -g")      # Debugging info with some optimization
set(CMAKE_CXX_FLAGS_DEBUG "-Og -g")    # C++ Debug flags

# Include subdirectories for the node project
add_subdirectory(sensors/SCD41)
add_subdirectory(sensors/AS7331)
add_subdirectory(sensors/BME688)
add_subdirectory(sensors/ICS43434)
add_subdirectory(sensors/ONEWIRE)
add_subdirectory(sensors/dht)
add_subdirectory(sensors/VEML7700)
add_subdirectory(sensors/STHS34)
add_subdirectory(sensors/multiSensor)
add_subdirectory(CAN)
add_subdirectory(SEREEPROM)
add_subdirectory(CMD)
add_subdirectory(FS)
add_subdirectory(FS/littlefs-lib)
add_subdirectory(FS/stdinit-lib)
add_subdirectory(WIZNET)
add_subdirectory(SEGGER)
add_subdirectory(MQTT_LWIP)

add_executable(${PROJECT_GATEWAY} main_gw.cpp)

target_include_directories(${PROJECT_GATEWAY} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})

pico_set_program_name(${PROJECT_GATEWAY} "${PROJECT_GATEWAY}")
pico_set_program_version(${PROJECT_GATEWAY} "0.1")

pico_enable_stdio_uart(${PROJECT_GATEWAY} 0)
pico_enable_stdio_usb(${PROJECT_GATEWAY} 1)

target_link_libraries(${PROJECT_GATEWAY} PRIVATE
        pico_stdlib
        #pico_runtime_init
        hardware_spi
        hardware_i2c
        hardware_dma
        hardware_adc
        hardware_pio
        hardware_clocks
        pico_multicore
        CMD
        CAN
        segger
        STHS34
        AS7331
        EEPROM
        FS
        littlefs-lib
        stdinit-lib
        MIC
        dht
        TEGMQTT
        BME680
        VEML7700
        multiSensor
)

pico_add_extra_outputs(${PROJECT_GATEWAY})

I'm not able to reproduce the linking error. boot_bootrom_headers should not even be involved in linking as it's an INTERFACE library.
This looks like the CMake definition of boot_bootrom_headers is not being reached, which should not happen as rp2_common.cmake adds the relevant subdirectory in the same way as any other required for building.
Are you (@jaymin1328) calling pico_sdk_init as required ? Did you clear the CMake cache/build directory since the upgrade to 2.0.0 ? Do you have a code reproduction to share ?

@aabizri Here is the full code . I am trying to build BOTH folder
BOTH.zip

@jaymin1328 Make sure you have these two commits (the fix for this defect) in pico-sdk. Your code builds for me.
bc8ded18 (HEAD -> fix-missing-interface-links) Adjust targets being included
49a2a01c Fix compilation issues when including in hardware_irq and pico_bootrom (#1929)

@jaymin1328 Make sure you have these two commits (the fix for this defect) in pico-sdk. Your code builds for me.
bc8ded18 (HEAD -> fix-missing-interface-links) Adjust targets being included 49a2a01c Fix compilation issues when including in hardware_irq and pico_bootrom (#1929)

Thanks a lot for the help!
However, I could not see the commits in my local repo
j@raspberrypi:~/pico/pico-sdk $ git log --format="%h" | grep bc8ded18
j@raspberrypi:~/pico/pico-sdk $ git log --format="%h" | grep 49a2a01c

can you send me the links of the commits like this one ?
https://github.com/raspberrypi/pico-sdk/pull/1956/commits/29b1fa99382cd512021f3773fcf2a97a85efd226

The changes are in this PR - see the commit tab...
https://github.com/raspberrypi/pico-sdk/pull/1956/commits/29b1fa99382cd512021f3773fcf2a97a85efd226
https://github.com/raspberrypi/pico-sdk/pull/1956/commits/56efb281b00e93c718492287cdf3e063fa36fafb

The changes are in this PR - see the commit tab...
29b1fa9 56efb28

Error still persists ...
After incorporating changes mentioned in 56efb281
CMakeOutput.log
make.log
After incorporating changes mentioned in 29b1fa99
CMakeOutput.log
make.log
Also you mentioned first bc8ded18 and 49a2a01c
and now you mentioned second time 29b1fa99 and 56efb281
Are they both same things or am I seeing things wrongly ?

@kilograham Can I merge this. This build issue seems to be causing confusion.

@jaymin1328 The pull requests proposes to merge the two commits specified by @peterharperuk and that you said you incorporated. (29b1fa9 56efb28).
Without the changes in this pull request, both the master (latest 2.0.0) & develop (tip) branch of this repository are succeptible to issue #1929. Indeed, some targets (let's call them A (1)) defined by the SDK should have header-only dependencies on targets (which we'll call B (2)), but don't, leading to missing headers when compiling. This is the symptom of the issue solved by the current PR.
This doesn't happen all the time, as depending on how the downstream target C (3) configured the include directories & targets, even when A is added as a dependency, it is possible for the required targets B to have been also added as a depdency otherwise, leading to no error in compilation as the headers can then be found.
If you are hitting the issue as specified in the description of this PR and/or issue #1929, and until this is fixed upstream in develop and then released in master/2.1.0. I recommend either using the branch of the pull request (4) or applying the workarounds in issue #1929, which are essentially to target_link_libraries(C PRIVATE A B) where today you do target_link_libraries(C PRIVATE A).
(1): hardware_irq, pico_bootrom
(2): that is, other targets whose headers are required for the aforementioned targets
(3): in your posted CMakeLists.txt, that is the one producing gateway.elf
(4): on my fork, branch fix-missing-interface-links: https://github.com/aabizri/pico-sdk/tree/fix-missing-interface-links

@jaymin1328 The pull requests proposes to merge the two commits specified by @peterharperuk and that you said you incorporated. (29b1fa9 56efb28).
Without the changes in this pull request, both the master (latest 2.0.0) & develop (tip) branch of this repository are succeptible to issue #1929. Indeed, some targets (let's call them A (1)) defined by the SDK should have header-only dependencies on targets (which we'll call B (2)), but don't, leading to missing headers when compiling. This is the symptom of the issue solved by the current PR.
This doesn't happen all the time, as depending on how the downstream target C (3) configured the include directories & targets, even when A is added as a dependency, it is possible for the required targets B to have been also added as a depdency otherwise, leading to no error in compilation as the headers can then be found.
If you are hitting the issue as specified in the description of this PR and/or issue #1929, and until this is fixed upstream in develop and then released in master/2.1.0. I recommend either using the branch of the pull request (4) or applying the workarounds in issue #1929, which are essentially to target_link_libraries(C PRIVATE A B) where today you do target_link_libraries(C PRIVATE A).
(1): hardware_irq, pico_bootrom (2): that is, other targets whose headers are required for the aforementioned targets (3): in your posted CMakeLists.txt, that is the one producing gateway.elf (4): on my fork, branch fix-missing-interface-links: https://github.com/aabizri/pico-sdk/tree/fix-missing-interface-links

Thanks a lot for the detailed explanation. I will try your branch and let you know.

@kilograham Can I merge this. This build issue seems to be causing confusion.

I had glanced at this a couple of times, but change looked a bit weird and didn't dig in further, I have made a comment

superseded by #2031


Geyser-Fabric Overwrites Floodgate-Fabric Config Files

The title explains it all. Once I start the server it crashes because the Floodgate config doesn't exist and is instead a Geyser config file. I don't know if it's because of the quilt loader or due to Floodgate not working as intended.
latest.log

Duplicate of https://github.com/GeyserMC/Floodgate-Fabric/issues/7, see the workaround there

I have done that before, thrice even, but the config file is constantly overwritten and crashes.


[BUG] Deactivating an extension for users disables it for Super User

Just started using LNbits so maybe I'm not understanding the feature well.
To Reproduce
Steps to reproduce the behavior:
https://github.com/user-attachments/assets/34080f72-86f8-4b69-be56-8aa1b3ba8f5c
Expected behavior
The extension remains enabled after deactivation for users.
Desktop (please complete the following information):

LNbits version: 0.12.10
Database sqlite

I'm open to attempting to fix the bug, just need a confirmation I'm not misunderstanding something and it's indeed an issue.

Deactivate - reserved for admins, it deactivates the extension without un-installing it. This means it is deactivated for users too.
Enable - any user can enable or disable an extension for its own use.
If you want an extension to be accessible only by admins then you can

go to Server > Server (tab)
make the extension admin only


Port Scan Detection

Currently there is no way to detect port scanning attacks on Pods. The current infrastructure of both the flow exporter and aggregator do not allow for detection of such attacks, as they only focus on complete flows. The goal is to leverage the failed connection requests that occur as a result of such attacks to identify and highlight potentially malicious connection requests to the user.
In order to implement a port scan attack detector, several tasks exist:

flow-exporter will export incomplete connections, with a special flag to differentiate between complete flows
flow-aggregator will split records by connection type, and export the data to a new table incomplete_flows instead of flows
spark operator will have a job which reads the incomplete flow records, and computes a list of addresses of potential attackers
develop CLI commands for users to retrieve the list of potential attackers and filter based on more queries

After fleshing out the design more thoroughly and getting feedback from team members, I will comment a design document under this issue.

The necessary changes to Theia are changes to the spark operator, and adding CLI commands. Both changes to flow-exporter and flow-aggregator will need to be implemented in Antrea, and a separate issue and design document will need to be outlined within the Antrea repository.
Design Document
Introduction
The bulk of the logic needed to be implemented in Theia is for determining candidates for a port scan attack based on logs of incomplete or attempted connections.
Necessary Fields
The following are fields that will be stored in the logs to describe the incomplete or attempted connections:

time
sourceIP
destinationIP
destinationPort
destinationPodName
destinationPodLabel
protocol
HTTP flags

Possible Approaches to Attack Detection
There are several possible approaches to detecting the attacks themselves, with varying complexities and effectiveness.
1. SYN sent to SYN-ACK received ratio
An extremely simple method of testing for a likely attacker is by checking the logs for the ratio of SYNs sent to SYN-ACKs received. A normal IP attempting to communicate would know the port that it's trying to communicate with, and wouldn't continue to send SYN requests without corresponding acknowledgement. A number could be defined, 3 for example, that is the acceptable ratio of SYN to SYN-ACK. This approach is simple and requires little computation with the data but could be accurate for simpler port scan attacks.
2. Time interval and Port
Another simple method of testing for a likely attacker is by checking the logs for batches of connections with similar intervals between attempts with consecutive or commonly used ports being checked in succession. For example, if an attacker attempted to connect to an IP with port range 3000-3500 with 20 ms between each request, the algorithm would know through timestamps and an increasing port number that a port scan attack is likely being carried out. Even for longer intervals for slow port scan attacks, the algorithm could catch the similar intervals between port checks.
3. Dempster Shaffer Portscan Detection
This approach is by far the most complex of the 3. Dempster Shaffer evidence theory attempts to extrapolate information through taking any evidence that could affect an outcome into account. In order to do this, it defines a mass function that outlines probabilities of individual outcomes occurring and the weights of the evidence which caused those outcomes. In our case, traffic features would be used as the evidences, and would be used to evaluate the comprehensive threat. Additionally, Dempster Shaffer also gives a measure of plausibility, which can be used to determine an upper bound for a confidence interval of the result. Populating the mass function itself may require some logic from approaches 1 and 2, but I'll update this document after some more research. Additionally, Dempster Shaffer requires more resources to run, as it potentially has a O(2^n) complexity.
CLI features

top N potential attackers, rated by confidence of classification
potential for adding ingress rules blocking attacking IPs


Some issue with dotnet

Problem encountered on https://dotnet.microsoft.com/en-us/learn/dotnet/hello-world-tutorial/create
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

Installed dotnet, but still cannot run the command

I'm getting that too.  I found that there is a /etc/profile.d/dotnet.sh but it doesn't seem to get executed when making a new shell session (open Terminal window). I have no idea on what I am doing, just guessing to add the $DOTNET_ROOT as older posts have suggested having $DOTNET_ROOT set. And of course there is a usr/share/dotnet and a usr/lib/dotnet, so I don't know so I put both in figuring it if worked then I could optimize it later.
dotnet.sh:
`
DOTNET_TOOLS_PATH="$HOME/.dotnet:$HOME/.dotnet/tools"
case "$PATH" in
"$DOTNET_TOOLS_PATH" ) true ;;
* ) PATH="$PATH:$DOTNET_TOOLS_PATH" ;;
esac
[ -z "$DOTNET_ROOT" ] && export DOTNET_ROOT="/usr/share/dotnet:/usr/lib/dotnet"
DOTNET_ROOT="/usr/share/dotnet:/usr/lib/dotnet"
case "$DOTNET_ROOT" in
"$DOTNET_ROOT" ) true ;;
* ) DOTNET_ROOT="$DOTNET_ROOT:$DOTNET_ROOT" ;;
esac
[ -z "$DOTNET_BUNDLE_EXTRACT_BASE_DIR" ] && export DOTNET_BUNDLE_EXTRACT_BASE_DIR="${XDG_CACHE_HOME:-"$HOME"/.cache}/dotnet_bundle_extract"
`
when I open a new Terminal window and do "export", a list of stuff is printed, however the $DOTNET_ROOT is not in the list. Even when I do "source /etc/profile.d/dotnet.sh",  it does not add the $DOTNET_ROOT to the environment, but it does add the dotnet_tools_path to path but I get an error before that about a valid identifier:
alice@alice-VirtualBox:~$ export $PATH bash: export: /home/alice/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin::/snap/bin:/home/alice/.dotnet:/home/alice/.dotnet/tools': not a valid identifier`
I think it's complaining about '/snap/bin::', which is in /etc/profile.d/apps-bin-path.sh, but there isn't a double :: in that file, who knows where it's coming from as I checked all the environment areas: .bashrc, I don't have .bash_profile , .profile, /etc/environment, /etc/bash.bashrc

@AngieLuts it seems you installed only the "runtime". We ship two main packages for .NET, the "runtime" and the "SDK". The "runtime" is the bits necessary to run .NET apps, but not to create them. The "SDK" contains all the tools build .NET apps (and it will also install the "runtime" as part of it)
Please make sure you install the SDK and then try again.


DWLS spatial deconvolution issue

I have downloaded a PBMC 3x scRNA-seq dataset (10X platform) as a reference to run DWLS spatial deconvolution for 10X Visium dataset. The analysis requires a metasheet with cell annotations and class probability scores for each cell type which is not provided by 10X and it is not clear how to generate this.
I was wondering if anyone have run any similar deconvolution analyses for human spatial data using PBMC or other scRNA-seq dataset in the appropriate format.
Attached are two examples of formatted files from Giotto suite
brain_sc_metadata.csv
brain_sc_expression_matrix.txt.gz
Thank you.

Hi @krigia can you elaborate a bit on your question? Are you unsure how to create cell clusters for the PBMC data?

My question is how to generate the metasheet with cell annotations and class probability scores for each cell type. This file is required along with the matrix expression data file for DWLS spatial deconvolution analysis in 10X. I hope this clarifies.

Thanks for the clarification:
See the example for the mouse visium brain dataset here: https://giottosuite.readthedocs.io/en/latest/subsections/datasets/mouse_visium_brain.html#dwls-spatial-deconvolution
What you need to run spatialDWLS is a 'DWLS_matrix'.
visium_brain = runDWLSDeconv(gobject = visium_brain, sign_matrix = DWLS_matrix)
You can create that yourself or with makeSignMatrixDWLSfromMatrix, like:
DWLS_matrix<-makeSignMatrixDWLSfromMatrix(matrix =                                            as.matrix(get_expression_values(giotto_SC,values = "normalized")),                                           cell_type = pDataDT(giotto_SC)$Class,                                           sign_gene = top_markers$feats)

The matrix is a normalized expression matrix (typically log-normalized).
the cell_type is vector with cell type labels for each cell/column of the matrix you provided
the sign_gene is a vector with the marker genes (subset of rows) for the different cell types

You can get this information with any single-cell package (e.g. bioconductor, scanpy, seurat, etc) or alternatively use Giotto to cluster your single cell data. We will try to make a more detailed and simple tutorial in the future.

You should also use our newest website: https://giottosuite.readthedocs.io/en/latest/ and the issue page on our Giotto repo https://github.com/drieslab/Giotto/issues . You're currently using our old repository for the Giotto website. This repo will be deleted in the future.

Thank you. This is helpful.


Incorrect page location for Traffic Classifications

Issue in help/admin/c-traffic-management/traffic-classifications.md
This page should be under /help/admin/admin/c-traffic-variables instead?

Good point @robertsky. I will move the file and will close this issue once the change is published.

https://docs.adobe.com/content/help/en/analytics/admin/admin-tools/traffic-variables/traffic-classifications.html


Added day-life-dev to helm-charts repos

Added @redhat-cop/day-in-the-life to helm-charts repo

/lgtm


Windows sometimes has two entries for one path

I semi-regularly (every hour or so?) end up with two names for a given problem - both the real name, and the name with a \ in front of it. Clicking on the wrong name makes VS Code unhappy, since it can't find the file. I guess there is a Windows specific FilePath manipulation somewhere that is wrong? I don't have a way to reproduce, but adding/removing files to the project seems to make it more likely to trigger.

I think there is some general issue in ghcide where relative paths are used in responses. It is my understanding that the language server should always report absolute paths after discussing this with @alanz and I imagine enforcing that would fix this problem.

It seems that the \src versions only appear when I save, so something about the saving path that makes it go wrong.

I cant reproduce with lastest ghcide (saving files) but being a heisenbug maybe it is not fixed

I believe I fixed this in #952.

I believe I fixed this in #952.


fix reflection bug for hdp release

What problem does this PR solve?
Spark HDP Release may not compatible with official Release
close https://github.com/pingcap/tispark/issues/1006

/run-all-tests


community[patch]: chat message history mypy fixes (#17059)

Thank you for contributing to LangChain!

[x] PR title: "package: description"

Where "package" is whichever of langchain, community, core, experimental, etc. is being modified. Use "docs: ..."  for template changes, "infra: ..." for CI changes.
Example: "community: add foobar LLM"

[x] PR message: Delete this entire checklist and replace with

Description: a description of the change
Issue: the issue # it fixes, if applicable
Dependencies: any dependencies required for this change
Twitter handle: if your PR gets announced, and you'd like a mention, we'll gladly shout you out!

[x] Add tests and docs: If you're adding a new integration, please include

a test for the integration, preferably unit tests that do not rely on network access,
an example notebook showing its use. It lives in docs/docs/integrations directory.

[x] Lint and test: Run make format, make lint and make test from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/

Additional guidelines:

Make sure optional dependencies are imported within a function.
Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests.
Most PRs should not touch more than one package.
Changes should be backwards compatible.
If you are adding something to community, do not re-import it in langchain.

If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, hwchase17.

using @property on "messages" attribute will cause the following error by mypy.
cannot override writeable attribute with read-only property
so I add a void setter for "messages" attribute, but I'm not sure whether this is the proper solution.


Make use of the local fake teams api

ref https://github.com/zalando-incubator/postgres-operator/issues/2

👍

👍


Adding infrastructure as code

Pull Request Test Coverage Report for Build 755367392

0 of 0   changed or added relevant lines in 0 files are covered.
6 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.1%) to 91.599%

Files with Coverage Reduction
New Missed Lines
%

src/DevOpsMetrics.Core/DataAccess/TableStorage/AzureTableStorageDA.cs
6
92.22%

Totals

Change from base Build 752533661:
-0.1%

Covered Lines:
2618

Relevant Lines:
2838

💛  - Coveralls


Catalogs cannot import self-signed CA

What kind of request is this (question/bug/enhancement/feature request):
feature request
Steps to reproduce (least amount of steps as possible):
When I add catalog, there was no option to import the ca.crt file.
When I configured secure harbor, I used a self-signed CA,but I can't use it in rancher
The helm command has the --ca-file flag to import the certificate
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI):v2.4.5
Installation option (single install/HA):single

Did you try configuring the CA according to https://rancher.com/docs/rancher/v2.x/en/installation/resources/chart-options/#additional-trusted-cas?

Did you try configuring the CA according to https://rancher.com/docs/rancher/v2.x/en/installation/resources/chart-options/#additional-trusted-cas?

Thank you for your prompt reply!
The method you provide is to import other CAs when rancher is deployed in the k8s cluster.
If I just use docker to run a single-node rancher server, are there similar parameters that can be imported into other CAs?

It is documented here: https://rancher.com/docs/rancher/v2.x/en/installation/other-installation-methods/single-node-docker/advanced/#custom-ca-certificate

Is this method only applicable to 2.5.X? I just failed the test on 2.4.5, but 2.5.1 succeeded

No it won't. And it should work in 2.4 as well, let me know what the error was you were seeing on 2.4 and what exact docker run command you used.


BUG: IMPROPER ALLIGNMENT OF BOXES IN GENRES SECTION

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
I noticed that under the "Explore Different Genres" section in the Genre section seem to be more right alligned.I've tried this in both Chrome and Firefox.
Here's a screenshot of the section:

The three boxes are more right alligned making the web page look unprofessional.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

the major issue here is that boxs are big in size . u can enhance the UI of the cards and make them smaller .
eg :  u can create flip cards , like cards in authors page .
u may work on this issue and raise pr .

Okay , Thank you ,will do and update
On Fri, 1 Nov, 2024, 9:38 am Abhiruchi Sarswat, @.***>
wrote:

the major issue here is that boxs are big in size . u can enhance the UI
of the cards and make them smaller .
eg : u can create flip cards , like cards in authors page .
u may work on this issue and raise pr .
—
Reply to this email directly, view it on GitHub
https://github.com/anuragverma108/SwapReads/issues/4335#issuecomment-2451256727,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHURRQVRULB4BADA3NKKQU3Z6L5FBAVCNFSM6AAAAABQ6BIAH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJRGI2TMNZSG4
.
You are receiving this because you were assigned.Message ID:
@.***>


BSD no longer supports dig

Per:
https://www.freebsd.org/releases/10.0R/relnotes.html
'dig' is no longer in BSD-based operating systems. BIND (which provides dig) was removed and replaced with unbound.
This change was made a couple years ago, but is starting to affect more systems as they upgrade to systems that rely on unbound instead of BIND.
The replacement tool in unbound is 'drill.' But the 'host' command exists in both BIND and unbound. There's no rush on this, but it might be interesting/useful to see if host could be used in place of dig. And if not, perhaps explore whether drill support could be provided in despf.sh on systems running unbound instead of BIND.
FWIW, I run unbound on a few systems... and find it superior to BIND.

I'm running unbound on some OpenBSD (5.9) hosts, so I checked for drill, and while it is an installable package, it wasn't there by default, even though unbound is installed. (NSD is also present.) I did find the dig command and I don't see any installed packages that would have added it, but that doesn't mean it is still part of the base system. If you move to incorporate drill into the script, it may be helpful to throw an error suggesting the installation of drill if unbound is found and drill is not present.

@linkp @stevejenkins Would this work multi-platform?
I am running it on Mac at the moment:
$ host -t txt jasan.tk | cut -d\" -f2
v=spf1 ip4:<IP_ADDRESS>/23 ip4:<IP_ADDRESS>/28 ip4:<IP_ADDRESS>/21 ip4:<IP_ADDRESS>/22 ip4:<IP_ADDRESS>/19 ip4:<IP_ADDRESS>/27 ip4:<IP_ADDRESS>/16 ip4:<IP_ADDRESS>/27 ip4:<IP_ADDRESS>/24 ip4:<IP_ADDRESS>/24 include:spf1.jasan.tk ~all

@linkp @stevejenkins could you please try the code on jasan/changes and provide me with feed-back? Thanks!

I am going to merge now after it was fixed on OpenBSD.

@stevejenkins if the fix is good for this issue, please close it. Otherwise please let me know what is missing.

Closing for now. @stevejenkins feel free to re-open if needed.


What are the deep learning acceleration solutions for AMD CPUs

Thanks @gp1322719830 for reaching out.
Let me take a look and help you with the needed information.
Thank you.

Thanks @gp1322719830 for reaching out.
Let me take a look and help you with the needed information.
Thank you.

Hello, my dear, is there any progress？

Hi @gp1322719830, have gotten update on this.
On the CPU side, we have ZenDNN CPU inference accelerator library. You can get more info at: https://developer.amd.com/zendnn/ Please contact us (ZenDNN) on the email provided there for any updates / questions on ZenDNN.
Request you to not to log issues / questions against CPUs in this space.
Hope this helps.
Thank you.


Schema Registry: add support for a CSV schema technology

In support of https://github.com/snowplow/snowplow/issues/3713

Migrated to https://github.com/snowplow-incubator/iglu-server/issues/16