Java Issues about MZmine 2.53 and 3.0.11.beta

Basic information

My operating system: MacOS 12.2.1
My MZmine version: MZmine 2.53 and 3.0.11.beta

What happened

After I installed MZmine 2.53 or 3.0.11.beta, I have tried to import mass data (in Thermo raw form). But unfortunately, the importing was failed and there were always such reminders/bug reports from the system.

The Java version is JDK 18.

Might this be related?
https://github.com/mzmine/mzmine3/issues/628
Are you trying to import SRM data? SRM is not supported.

Might this be related? #628
Are you trying to import SRM data? SRM is not supported.

Hi Steffen,
the data, which I have tried to import, are not SRM but normal Full Scan data.

Ok, please upload a sample file that produces the issue so we can reproduce it.

Ok, please upload a sample file that produces the issue so we can reproduce it.

Ok, please upload a sample file that produces the issue so we can reproduce it.

Ok, please upload a sample file that produces the issue so we can reproduce it.

Blank.zip

Hi Steffen,
Here is the link
https://tubcloud.tu-berlin.de/s/pDmLnm5ot8i5Aqi

Ok, please upload a sample file that produces the issue so we can reproduce it.

Hi Steffen,
Here is the link
https://tubcloud.tu-berlin.de/s/pDmLnm5ot8i5Aqi

Another thing to try is converting to mzml with MS convert from proteowizard. I personally always do it.
The java version you install does not interfere with mzmine because we ship the needed java version with mzmine.

Hi leizhon, i cannot reproduce the issue.

The file can be imported via mzML and as a .raw file.
Are you trying to import them from a network drive? Ive seen that cause issues before.

Another thing to try is converting to mzml with MS convert from proteowizard. I personally always do it.
The java version you install does not interfere with mzmine because we ship the needed java version with mzmine.

Hi Robin,
it does work now as I converted ThermoRaw data to mzML. Thanks for your help!

Hi leizhon, i cannot reproduce the issue.
The file can be imported via mzML and as a .raw file.
Are you trying to import them from a network drive? Ive seen that cause issues before.

Hi Steffen,
it does work now as I converted ThermoRaw data to mzML. Thanks for your help.
P.S. I imported the from directly from local disk not from online drive.

Hi Let, it is nice that you could import the file via mzML, but we should still try to troubleshoot why the .raw file import is not working for you. I heard other people have the same problem and we don't know what is causing it.

Hi,
I  installed MZmine 3.2.8, I have tried to import Thermo raw . But unfortunately, the importing was failed and java related error attached here.
My operating system: macOS Monterey 12.6
The Java version is JDK 19
Please suggest me on how to proceed further.

Hi Annapurna,
Have you already tried to transfer your Thermo Raw data to mzML firstly before importing your files to MZmine3? I found MZmine3 could not import the Thermo raw files in my case.

@annapurnap2007 Could you please download the thermo raw file parser from here: https://github.com/mzmine/mzmine3/blob/master/src/main/resources/vendorlib/thermo/ThermoRawFileParser.zip
Unzip it and try to run the ThermoRawFileParserMac in your Terminal app. Let me know what happens.

Hi Leizhon,
I tried to upload Thermo RAW files to MZmine3 and haven't converted files to mzML files.

Then you can try to convert the files to mzML first!

Then you can try to convert the files to mzML first!

Sure! I will try to convert RAW file to mzML and then import to mzMine3.
Thanks,
Anu

@annapurnap2007 Could you please download the thermo raw file parser from here: https://github.com/mzmine/mzmine3/blob/master/src/main/resources/vendorlib/thermo/ThermoRawFileParser.zip
Unzip it and try to run the ThermoRawFileParserMac in your Terminal app. Let me know what happens.

Tried. See the screenshot.

Last login: Mon Oct 24 11:20:20 on ttys000
/Users/Annapurnapamreedy/Downloads/ThermoRawFileParser/ThermoRawFileParserMac ; exit;
Annapurnapamreedy@M1504161794 ~ % /Users/Annapurnapamreedy/Downloads/ThermoRawFileParser/ThermoRawFileParserMac ; exit;
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.DllNotFoundException: /libmono-native-compat.dylib assembly: type: member:(null)
at (wrapper managed-to-native) Interop+Sys.LChflagsCanSetHiddenFlag()
at Interop+Sys..cctor () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
--- End of inner exception stack trace ---
at System.IO.FileSystem.FileExists (System.ReadOnlySpan1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <36514b14425c4337b446653c547aa9c3>:0    at System.IO.FileSystem.FileExists (System.ReadOnlySpan1[T] fullPath) [0x00006] in <36514b14425c4337b446653c547aa9c3>:0
at System.IO.File.Exists (System.String path) [0x00043] in <36514b14425c4337b446653c547aa9c3>:0
at log4net.Config.XmlConfigurator.InternalConfigure (log4net.Repository.ILoggerRepository repository, System.IO.FileInfo configFile) [0x0005f] in <6c4606da1d414c43ac7ec35975b65095>:0
at log4net.Config.XmlConfigurator.Configure (log4net.Repository.ILoggerRepository repository, System.IO.FileInfo configFile) [0x0000d] in <6c4606da1d414c43ac7ec35975b65095>:0
at log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile (log4net.Repository.ILoggerRepository targetRepository, System.IO.FileInfo configFile) [0x00011] in <6c4606da1d414c43ac7ec35975b65095>:0
at log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile (System.Reflection.Assembly sourceAssembly, log4net.Repository.ILoggerRepository targetRepository) [0x00108] in <6c4606da1d414c43ac7ec35975b65095>:0
at log4net.Config.XmlConfiguratorAttribute.Configure (System.Reflection.Assembly sourceAssembly, log4net.Repository.ILoggerRepository targetRepository) [0x0002a] in <6c4606da1d414c43ac7ec35975b65095>:0
at log4net.Core.DefaultRepositorySelector.ConfigureRepository (System.Reflection.Assembly assembly, log4net.Repository.ILoggerRepository repository) [0x00055] in <6c4606da1d414c43ac7ec35975b65095>:0
--- End of inner exception stack trace ---
at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <36514b14425c4337b446653c547aa9c3>:0
at System.Console..cctor () [0x0007d] in <36514b14425c4337b446653c547aa9c3>:0
--- End of inner exception stack trace ---
at ThermoRawFileParser.MainClass.ShowHelp (System.String message, Mono.Options.OptionException optionException, Mono.Options.OptionSet optionSet) [0x00010] in <7a789c83cb9d4db2bd14ef83a0b964a9>:0
at ThermoRawFileParser.MainClass.RegularParametersParsing (System.String[] args) [0x00723] in <7a789c83cb9d4db2bd14ef83a0b964a9>:0
at ThermoRawFileParser.MainClass.Main (System.String[] args) [0x00059] in <7a789c83cb9d4db2bd14ef83a0b964a9>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.DllNotFoundException: /libmono-native-compat.dylib assembly: type: member:(null)
at (wrapper managed-to-native) Interop+Sys.LChflagsCanSetHiddenFlag()
at Interop+Sys..cctor () [0x00000] in <36514b14425c4337b446653c547aa9c3>:0
--- End of inner exception stack trace ---
at System.IO.FileSystem.FileExists (System.ReadOnlySpan1[T] fullPath, System.Int32 fileType, Interop+ErrorInfo& errorInfo) [0x00007] in <36514b14425c4337b446653c547aa9c3>:0    at System.IO.FileSystem.FileExists (System.ReadOnlySpan1[T] fullPath) [0x00006] in <36514b14425c4337b446653c547aa9c3>:0
at System.IO.File.Exists (System.String path) [0x00043] in <36514b14425c4337b446653c547aa9c3>:0
at log4net.Config.XmlConfigurator.InternalConfigure (log4net.Repository.ILoggerRepository repository, System.IO.FileInfo configFile) [0x0005f] in <6c4606da1d414c43ac7ec35975b65095>:0
at log4net.Config.XmlConfigurator.Configure (log4net.Repository.ILoggerRepository repository, System.IO.FileInfo configFile) [0x0000d] in <6c4606da1d414c43ac7ec35975b65095>:0
at log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile (log4net.Repository.ILoggerRepository targetRepository, System.IO.FileInfo configFile) [0x00011] in <6c4606da1d414c43ac7ec35975b65095>:0
at log4net.Config.XmlConfiguratorAttribute.ConfigureFromFile (System.Reflection.Assembly sourceAssembly, log4net.Repository.ILoggerRepository targetRepository) [0x00108] in <6c4606da1d414c43ac7ec35975b65095>:0
at log4net.Config.XmlConfiguratorAttribute.Configure (System.Reflection.Assembly sourceAssembly, log4net.Repository.ILoggerRepository targetRepository) [0x0002a] in <6c4606da1d414c43ac7ec35975b65095>:0
at log4net.Core.DefaultRepositorySelector.ConfigureRepository (System.Reflection.Assembly assembly, log4net.Repository.ILoggerRepository repository) [0x00055] in <6c4606da1d414c43ac7ec35975b65095>:0
--- End of inner exception stack trace ---
at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00007] in <36514b14425c4337b446653c547aa9c3>:0
at System.Console..cctor () [0x0007d] in <36514b14425c4337b446653c547aa9c3>:0
--- End of inner exception stack trace ---
at ThermoRawFileParser.MainClass.ShowHelp (System.String message, Mono.Options.OptionException optionException, Mono.Options.OptionSet optionSet) [0x00010] in <7a789c83cb9d4db2bd14ef83a0b964a9>:0
at ThermoRawFileParser.MainClass.RegularParametersParsing (System.String[] args) [0x00723] in <7a789c83cb9d4db2bd14ef83a0b964a9>:0
at ThermoRawFileParser.MainClass.Main (System.String[] args) [0x00059] in <7a789c83cb9d4db2bd14ef83a0b964a9>:0
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]

Thanks, I’ll look into it.

I had similar error messages when trying to import Thermo RAW files with MZmine 3.6.0 on my Macs - a Mac Studio with an M1 chip (OS 12.6.6), as well as a much older 2013 iMac (I haven't got the OS info to hand).
This may repeat advice elsewhere in the forum, but the solution that seems to have worked for me is that the systems both needed an installation of Mono (https://www.mono-project.com/download/stable/). This is a requirement for ThermoRawFileParser, which is why I first installed Mono. MZmine now directly imports Thermo Raw files without the need for prior file conversion (a separate ThermoRawFileParser install isn't necessary).

duplicate


Disable initial admin user for Grafana resources

Is your feature request related to a problem? Please describe.
I would like to be able to disable the root user for a grafana instance made with this tool.
(If applicable)If your feature request solves a bug please provide a link to the community issue
Describe the solution you'd like
I expected to be able to do this using the API for Grafana kinds. Something like in spec.config.security.disable_initial_admin_creation set to True.
Describe alternatives you've considered
I have not considered alternatives. Are there any?
Additional context
This is where I expected to see the key for disabling the root user: https://github.com/grafana-operator/grafana-operator/blob/master/documentation/api.md#grafanaspecconfigsecurity
Existing solutions
In regular Grafana deployments you can just set this in your ini config: https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#disable_initial_admin_creation

This it nos possible, we use the admin users to manage all the dashboards etc.
We could create a service account but we would have to give it admin users access any way at least if we want to increase the number of tasks the operator should do.
So in short it's not possible.


Multiple (duplicate) DocEvents being created on Review Assignment

Look at, e.g., https://datatracker.ietf.org/doc/draft-ietf-sfc-oam-packet/history/
>>> DocEvent.objects.filter(desc='Request for Last Call review by ARTART is assigned to Barry Leiba',doc__name='draft-ietf-sfc-oam-packet')
<QuerySet [
<DocEvent: draft-ietf-sfc-oam-packet assigned review request by Barry Leiba at 2022-11-08 01:15:55+00:00>,
<DocEvent: draft-ietf-sfc-oam-packet assigned review request by Barry Leiba at 2022-11-08 01:15:55+00:00>
]>

This reflects that both a ReviewRequestDocEvent and a ReviewAssignmentDocEvent are created:
>>> DocEvent.objects.filter(desc='Request for Last Call review by ARTART is assigned to Barry Leiba', doc__name='draft-ietf-sfc-oam-packet').values_list('pk', flat=True)
<QuerySet [890515, 890514]>
>>> ReviewRequestDocEvent.objects.filter(desc='Request for Last Call review by ARTART is assigned to Barry Leiba', doc__name='draft-ietf-sfc-oam-packet').values_list('pk', flat=True)
<QuerySet [890514]>
>>> ReviewAssignmentDocEvent.objects.filter(desc='Request for Last Call review by ARTART is assigned to Barry Leiba', doc__name='draft-ietf-sfc-oam-packet').values_list('pk', flat=True)
<QuerySet [890515]>

I'm not sure what the right thing to do is here. Maybe filter events with identical descriptions out of the history?

Is having a ReviewRequestDocEvent dropped at the point that a ReviewAssignment is made the right thing to do? I suspect it isn't and it's an artifact of before we explicitly split out ReviewAssignments.

To be explicit - would any expectations be broken if we deleted the ReviewRequestDocEvents that have "is assigned" in their desc, and change the code to quit making new ones?

Looking at the history, when ReviewAssignment was added, the places where ReviewRequestDocEvent records were created for assigning and closing review requests were duplicated. This happens in a migraiton (0010_populate_review_assignments.py) as well as for new activity.
I'm not finding much that looks like it depends on there being the duplicates, so I think it'd be ok. Checked and there is always a ReviewAssignmentDocEvent with the same description within a minute of every ReviewRequestDocEvent and vice versa, with one exception:
ReviewRequestDocEvent.objects.get(doc__name='draft-ietf-sidr-slurm', time='2018-02-19 08:16:27+00').desc
'Request for Last Call review by OPSDIR is assigned to (None)'

Not sure what's up with that one.
I'm a little surprised that I had to allow for a full minute of skew to match up identical events between the two classes, but assuming that level of precision is ok, we can recreate the events we remove if it turns out they were needed.

My instinct says that one is created when a view with a form in it is first fetched, and the other when the form is submitted. When we locate the code that creates them, we'll know for sure.

That seems plausible, but as you can see in #4913, the code that generates the two types of DocEvent are (were) back-to-back in a util method. Could be there's another place they're created, but I haven't found one.
There also seem to be a few (~40) cases of ReviewAssignmentDocEvent pairs that are identical, but created ~30 seconds apart. Not sure what's going on there, but my working assumption was somebody clicked twice (perhaps due to a slow server response or other error?)


Restore cross-namespace and invalid ownerReference info to garbage collection topic

The following information was dropped in #28870 and is critical to include in the garbage collection ownerReferences topic:
{{< note >}}
 Cross-namespace owner references are disallowed by design.
 Namespaced dependents can specify cluster-scoped or namespaced owners.
 A namespaced owner **must** exist in the same namespace as the dependent.
 If it does not, the owner reference is treated as absent, and the dependent
 is subject to deletion once all owners are verified absent.

 Cluster-scoped dependents can only specify cluster-scoped owners.
 In v1.20+, if a cluster-scoped dependent specifies a namespaced kind as an owner,
 it is treated as having an unresolvable owner reference, and is not able to be garbage collected.

 In v1.20+, if the garbage collector detects an invalid cross-namespace `ownerReference`,
 or a cluster-scoped dependent with an `ownerReference` referencing a namespaced kind, a warning Event
 with a reason of `OwnerRefInvalidNamespace` and an `involvedObject` of the invalid dependent is reported.
 You can check for that kind of Event by running
 `kubectl get events -A --field-selector=reason=OwnerRefInvalidNamespace`.
 {{< /note >}}

/triage accepted
/sig api-machinery

/priority important-soon


WIP: plugin to reorder categorical component labels

Doesn't actually do anything with reordered labels yet.

Closing, this was just an experiment and I don't have time to pursue this further.


Modio tag tooltip protrudes through other UI elements

The on-hover tool tips added to the modio tags also show up when hovering over things like the 'Install Mods' button when they are aligned behind one another - small quirk but still

An issue with the underlying GUI library (egui). Not sure if there is a good way of fixing without fixing it in egui.


Add Chat Messages to DBLog Plugin

Add chat message table to DBLog
Schema includes:
Server
match
Time
Chat(teamchat/squadchat)
message
steamid
I did not create a foreign key dependence on steamuser, as I had issues when we received a chat message but had not received and created the steamuser via PLAYER_CONNECTED.

@ect0s has then been checked to make sure the tables are created properly in the DB?

@ect0s has then been checked to make sure the tables are created properly in the DB?

Yes, though I did just update the Schema.

@werewolfboy13
I've had this running for 4 days so far, no issues.
I've also deleted and recreated the DB multiple times, so as long as the SquadJS user people have configured in their DB can create the table, this should be good to merge.

@ect0s could you add the team id and squad id of the player too?
That would allow a complete recreation of the chat history.

@ect0s could you add the team id and squad id of the player too? That would allow a complete recreation of the chat history.

Sure.
Would team faction maybe matter here as well? Or the Squads Name at the time?
Just if I'm going to open and edit this PR, I'd like to nail down everything at once

The name of the squad could be useful, because it can change if a squad gets opened and closed.
The faction should be resolvable using the match. I don't think we need to duplicate the information.

@reck1610 Implemented.
Will require an alter to the table if you've already taken these changes.

Someone have the ALTER command so we can do some documentation for it?

Someone have the ALTER command so we can do some documentation for it?

The ALTER command is not needed because the changes add a new table, but won't modify the previously existing tables and the foreign keys are automatically updated by sequelize calling the .sync() method.
In case we really want to make sure, we can replace .sync() with .sync({ alter: true })
Also, I have another modification of this DBLog plugin to include tickets, that get stored at the end of each match. It would be a nice addition.


Its not working on Feather Launcher

When i right shift it opens the feather menu. But i cant change the keybind

If you are on 1.20.x, download latest version 0.9.9 and execute command ,keybinds. This should open up keybinds menu.

If you are on 1.19.x, change keybinds via Minecraft options.

ok i will try, thank you for the fast answer

Sorry, I couldn't explain. I can open the keybinds menu but there is nothing to change the keybind of clickcrystals. I know that it is opened with right shift but the button is replaced with feather settings menu

Like I said, there are a few ways to face this problem. Trust me, I get these messages on the daily.
If you are on 1.19.x:
Go to Game Menu, selection Options, go to Keybinds, then scroll down to change the ClickCrystals Open Modules Screen keybind
If you are on 1.20.x
Download the latest ClickCrystals version 0.9.9, then execute the command ,keybinds and change the custom keybinds there
The reason for these differences is because the ClickCrystals community has decided to make an entirely new keybinds system during the 1.20 update due to excessive amounts of screensharing. During this update, 1.19.x has been discontinued therefore not receiving this keybinds revamp.
So instead of whining about not being able to change the keybinds of ClickCrystals and completely disregarding my previous message:

If you are on 1.20.x, download the latest version 0.9.9 and execute the command ,keybinds. This should open up keybinds menu. If you are on 1.19.x, change keybinds via Minecraft options.

Please consider trying the options that I have listed.

bro i swear i'll make this response a copy pasta if i have to 😭

This issue is now resolved closed

i updated bruh

Join my discord server let me staff team help you I lost enough brain cells already


Quote Entities with Double Quotes

This patch ensures that we actually quote entities (prefix, table name, column name, alias) with double quotes(").
This is important since it allows to use otherwise reserved keywords like order to be used.
The tests have been adapted to reflect this change.
Closes https://github.com/elixir-sqlite/ecto_sqlite3/issues/38

Thanks for the pull request :)
Can you fix the linting errors? Then I can merge and issue a release sometime in the next day or so.

I actually specifically did not add double quotes because of the documentation in sqlite https://sqlite.org/quirks.html#double_quoted_string_literals_are_accepted

This PR won't hurt anything and I do think that sqlite will support it forever due to trying to maintain some backwards compatibility with mysql.

@warmwaffles Thanks for providing some context! If you feel like we shouldn't quote enties because of the mentioned drawbacks that's also understandable for me. Maybe as an alternative we could documented that this adapter does not quote the entities and therefore only allows keywords as names in the places where sqlite supports it out of the box.
Let me know which way you prefeer.

One solution is to have some special cases that we double quote because in sqlite's documentation they suggest using double quotes for reserved keywords.
So we'd need to have a couple matching methods like this
defp quote_entity("from"), do: [~Q("from")]
defp quote_entity("with"), do: [~Q("with")]
defp quote_entity("order"), do: [~Q("order")]
# ... etc ...
defp quote_entity(val), do: [val]

I think my interpretation of that document is different. It looks to be specifically referring to double-quoting literals as being incorrect (and via a compile time flag, opt-out), since double quoting is reserved for identifiers. I see that the Postgres adapter double quotes all identifiers by default. As such, I don't see any disadvantage, and only an advantage, to double quoting identifiers. Am I missing something?

To confirm my understanding, I loaded up the sqlite3 CLI and disabled those two options:
> .dbconfig dqs_ddl off
> .dbconfig dqs_dml off

With that done, double quoting entities still works:
> create table "foo" ("bar" text);

It just raises an error when double quoting the literal:
> insert into "foo" values ("a");
Error: no such column: a

But everything else works as expected:
> insert into "foo" values ('a');

Excellent, so let's merge this fix then. I misunderstood the misfeature.

I think my interpretation of that document is different. It looks to be specifically referring to double-quoting literals as being incorrect (and via a compile time flag, opt-out), since double quoting is reserved for identifiers. I see that the Postgres adapter double quotes all identifiers by default. As such, I don't see any disadvantage, and only an advantage, to double quoting identifiers. Am I missing something?

I think the only potential downside (the one I was thinking of when writting my previous comment) would be that it would treat wrongly spelled identifiers as literals since would always just quote them.

I would go so far as to say that having double quoted literal be disabled by default via sqlite3_db_config() at runtime might be worth adding too (in a separate PR). That way it can be re-enabled if need be by downstream users. It looks like the compile time option just sets the default value, so we could do that too, as long as we expose a way for users to re-enable it if needed (though, honestly, that may not even be needed).

I think that would actually be the best option if we feel like sqlite users don't rely on this missfeature to much.

Thanks for the work on this.


feat: add injection framework, inject favicon and duck

For the favicon injection it should probably check if the favicon exists before trying to add it. Perhaps something like this?

For the favicon injection it should probably check if the favicon exists before trying to add it. Perhaps something like this?

I dont think that makes a difference (the browser will always try to fetch a favicon, even if you dont define one), I did fix the bug that caused a 500 to be thrown when trying to request a non existing favicon tho.


Bug in tagging posts

Turns out that the ruby plugins I created won't be able to be served by Github. The idea is to generate your site locally. So if you have site folder, then you need to build that. What a hassle.
Related links:

https://stackoverflow.com/questions/20369397/jekyll-plugin-not-work-on-github
https://jekyllrb.com/docs/plugins/

Do this next week


Upgrade to gRPC Request

Hello Latest Truecaller 13 versions are using grpc, so we should library like https://github.com/fullstorydev/grpcurl to make grpc requests.
.proto files are available inside apk and by using grpc it will ensure working for future versions.

I also have the same question, how to obtain the request .proto file?

I also have the same question, how to obtain the request .proto file?


add lizard speech bubble

About the PR
Changed the speech indicator of the reptilian to ones made by @AmalgoMyte, changing from the default human sprites.
Why / Balance
Seeing as a large amount of other species have a unique speech indicator, reptilians, being different from humans, deserve their own speech indicators as well.
Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: lunarcomets and AmalgoMyte

tweak: Gave the local lizards their own speech bubbles!

your PR description is broken (i see no images too)

mg, closing until tomorrow me can fix

fixed description, added media

Do kobolds have the lizard speech bubble as well?

Do kobolds have the lizard speech bubble as well?

that they do not but they probably should

I think that the media preview is amazing..! You rock, dear.

So far, I think that it being in a dark environment is still good for the sprite as well. I think this is good, for what it is.

Two things:

The lump in the middle is kinda weird, I'd probably remove it.
The color should definitely be brighter, it doesn't stand out enough at a distance I think.

Two things:

The lump in the middle is kinda weird, I'd probably remove it.
The color should definitely be brighter, it doesn't stand out enough at a distance I think.

Thank you for the input, however I will wait for further inputs before deciding on any changes.

hes an art director

hes an art director

Noted- I'll be working on it, then.

hes an art director

Apologies for not noticing sooner. I'm not really on here much.

updated media

@Flareguy thoughts?

Looks like he better have those thoughts on master.


Generate and publish API reference pages

We have enough user-facing APIs to add a dedicated Reference section on our user website.
Python bindings
Most of our Python classes and functions have docstrings, but the files are scattered throughout our codebase and split across several module namespaces and pip packages.
We could use mkdocstrings with our new mkdocs site:

https://mkdocstrings.github.io/
https://chrieke.medium.com/documenting-a-python-package-with-code-reference-via-mkdocs-material-b4a45197f95b

https://wiki.python.org/moin/DocumentationTools has more options. Doxygen could be nice, as it supports all the languages we use.
TFLite bindings
TFLite / TFLite Java bindings can probably just link to TFLite's docs for API references, with differences highlighted on our pages.
C API
The API headers are well documented (example: iree/base/api.h) but the documentation is split across many files (example: iree/vm/api.h just exports various headers from iree/vm/). Aggregating into reference pages like https://mlir.llvm.org/docs/LangRef/ or https://mlir.llvm.org/doxygen/namespacemlir.html could be helpful.
Java bindings
Our Java bindings are experimental and incomplete at the moment. If we develop them into a larger, supported API, we could use Javadoc or Doxygen.
MLIR Dialects
We generate documentation for our MLIR dialects and publish them today at https://google.github.io/iree/Dialects. These are not user-facing (for most, but not all, definitions of "IREE user"), but it's useful to discuss them here too. Tablegen doc generation uses https://github.com/google/iree/blob/main/build_tools/cmake/iree_tablegen_doc.cmake to generate markdown files

Python API docs have been started: https://github.com/google/iree/pull/7183

MLIR Dialects
https://google.github.io/iree/Dialects - 404 - Not found

This issue was written before we migrated from our old website to our new website. The page was at that location. It doesn't exist now.

Here's an archive of what we had published for the MLIR dialects: https://github.com/openxla/iree/tree/99c6ce409783eaffb37dd46f3f4a6ef761556f99/docs/Dialects

I just discussed publishing MLIR dialect reference pages with @jpienaar .
https://github.com/openxla/iree/pull/13991 gives reference pages a clear place to go
Preview:

Ideas:

Set table of contents depth to omit "Attributes", "Operands", "Results" from the TOC: https://stackoverflow.com/questions/63828084/mkdocs-how-can-i-specify-toc-depth-for-a-single-document
Add mermaid.js diagrams to docs and render them? https://squidfunk.github.io/mkdocs-material/reference/diagrams/
Check that the pages are easy enough to view on mobile and desktop (particularly around the TOC and scrolling)
Trim the fully qualified namespaces from the C++ symbol names, e.g. hal.buffer.assert (::mlir::iree_compiler::IREE::HAL::BufferAssertOp) -> hal.buffer.assert (BufferAssertOp)
Don't publish the SimpleIO sample dialect
Add MLIR syntax highlighting (contribute to Pygments or use highlightjs-mlir?)
Add some context to the reference pages? Which dialects are (more) implementation details and which are (more) hackable/user-input dialects/ops

MLIR dialect reference pages are published now at https://openxla.github.io/iree/reference/mlir-dialects/

The Python bindings have some documentation support at https://github.com/openxla/iree/tree/main/docs/api_docs/python -> https://iree-python-api.readthedocs.io/en/latest/
That could either be updated / actively maintained as-is, or we could fold it into the main website at e.g. https://openxla.github.io/iree/reference/python/. I think it's worth testing mkdocstrings or some other integration into the main website. We might be able to keep the same styling as the rest of the website if API docs are easy enough to navigate. Read the Docs doesn't seem to be providing that much extra support (like symbol search) on top of basic pagination and page styling.

I gave mkdocstrings a try, progress at https://github.com/ScottTodd/iree/tree/docs-python-mkdocstrings
Impressions:

It's a bit awkward compared to Sphinx, though we could get it close with customization options, a few edits to our docstrings, and perhaps some some CSS

The section style options don't seem to handle line breaks in the source... a multiline comment should not spill into a second row in a table, for example
We have some Sphinx-style code blocks (.. code-block:: python, that aren't getting picked up even with the sphinx docstring style

Integration alongside the rest of our documentation on the same website, with the same theme, etc. is quite nice
Configuring a page for each of our Python modules could be a bit tedious, though there are ways to automate that, and we already have a directory of .rst files that has likely drifted from the source for readthedocs

Adding on to the previous comment, files like https://github.com/openxla/iree/blob/main/llvm-external-projects/iree-dialects/include/iree-dialects/Dialect/LinalgTransform/CMakeLists.txt will need _add_doc functions, with the logic in add_mlir_doc (looks like our LLVM_EXTERNAL_PROJECTS code doesn't use MLIR/LLVM CMake helper functions, at least for tablegen?)

I started adding the llvm-external-project/iree-dialect/ dialects/ops to the website on a branch: https://github.com/ScottTodd/iree/tree/docs-iree-dialects.
StructuredTransformOpsExt.td is a bit weird to generate a standalone page for (extensions to an existing dialect, missing some high level / summary information) so I'm not sure if it should be included:

We could add some context how the ops there extend https://mlir.llvm.org/docs/Dialects/Transform/ (either in the .td file somehow or by inserting some text into the .md file that is used by the static site generator)
fyi @ftynse @nicolasvasilache @matthias-springer (How useful would you find a page like https://openxla.github.io/iree/reference/mlir-dialects/Flow/ for the IREE transform extensions? Any suggestions for how to add context?)

I need to double check what remains in there but the idea would be to completely remove it.

It's useful to have IMO. I'm constantly checking the main transform dialect page for syntax and pre/post-conditions of the transforms I'm using. For context, it should be sufficient to link to https://mlir.llvm.org/docs/Dialects/Transform/#overview at the top of the page. There will be an overview and a description of the extension mechanism. Alternatively, split out the "documentation" part of https://github.com/llvm/llvm-project/blob/main/mlir/docs/Dialects/Transform.md into a separate .md file that will be included from Transform.md and into IREE doc somehow.

An idea for C / Python API docs (and possibly MLIR...?): we can publish versions of the docs, with a version matching each stable (or major) release. Having a separate repo like https://github.com/pytorch/pytorch.github.io/tree/site/docs would give us a good place to store generated files without bloating the main repo (and we could also pull in projects like shark-turbine into the generation if that would make sense).


updating changelog with additional changes

This PR fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
28180

Relevant Lines:
62537

💛  - Coveralls


CASMINST-5301: CMS, HMS release notes

Description

Updates to the CSM release notes based on feedback from CMS and HMS teams.
Removes differences page, as discussed in previous standup meetings.
Creates page listing all currently deprecated (but not yet removed) features

Checklist Before Merging

[X] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[X] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[X] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

Need to get my CMS and HMS comrades to review this

This should not merge without approvals from @nieuwsma , @jsollom-hpe , @dlaine-hpe, and @rsjostrand-hpe . (and @rfrost-hpe and @schooler-hpe , but they've already done so)

Waiting on the decision in the outstanding review discussion. Also still need reviews from @jsollom-hpe and @dlaine-hpe

Waiting on two things before this can merge:

A decision from @denniswalker and @nieuwsma about this discussion: https://github.com/Cray-HPE/docs-csm/pull/2431/#discussion_r966129674

Re-review by @jsollom-hpe to make sure that his comments have been adequately addressed.

Now only need re-review from @denniswalker and @jsollom-hpe to make sure that their review comments have been adequately addressed.


(BKR-668) wrlinux5 puppet-agent install support added

Adds support for both puppet-agent install methods on wrlinux-5:
install_puppet_agent_on (from yum.puppetlabs.com)
install_puppet_agent_dev_repo_on (from builds.puppetlabs.net)

ping @LuvCurves for test & review.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2082/
Test FAILed.

:open_mouth: missed yard doc tests.  It was just a copied method signature comment that didn't get refactored correctly.  Updated, amended, & pushed.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2083/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2084/
Test PASSed.

I have verified this works in the test environment like we expect.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2085/
Test PASSed.

Found issue with call "on agent, puppet('--version')". Getting 2 prepends instead of 1
"source /etc/profile; sudo ip netns exec management source /etc/profile; sudo ip netns exec management puppet --version"

@LuvCurves I've fixed the command prefix doubling.  Please test this out, and let me know if you're still seeing any issues there.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2090/
Test PASSed.

scp is failing when it's done from test runner to cisco because it appears to be doing it with the 'root' account instead of 'beaker'

@LuvCurves it's SCPing as beaker, but the files are owned by root at that time, that's why the permission failure.  I've put in a fix that will solve the issue for all SCPing to cisco hosts going forward.
For fun:
Finished in 15.19 seconds (files took 2.51 seconds to load)
1337 examples, 0 failures

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2093/
Test FAILed.

Nice work. You're correct, the file was owned by root and had permissions set to 600.  This last bit resolved my issue with the hiera acceptance test.

@puppetlabs-jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2097/
Test PASSed.

@LuvCurves things look good to me from here.  I know your testing is ongoing, so let me know here what happens as you go through that, and please give a final :+1: when your testing passes so we can get this merged.  Thanks for your help testing this!

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2107/
Test FAILed.

killed the test myself, as I had a code update for that particular fix.  Will re-kick manually

@puppetlabs-jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2113/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2114/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2119/
Test FAILed.

@puppetlabs-jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2120/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2121/
Test FAILed.

I've done some extensive testing with the latest changes and it's working great.

We've found that the failure here is unrelated to these changes, as it's failing on master & in the modules pipelines in this issue.
Since that's the case, this is ready for merge @puppetlabs/beaker!

:+1: Looks good to me!

Other than my quibble/question above, :+1:

Only thing that stands out to me is additions of /cisco/, /cisco-/, and /cisco-5/ -- is there a reason why one would be used over another, or are they all effectively equivalent?

@rick There are actually 2 Cisco platforms we need to support cisco-wrlinux-5 (aka cisco-5) and cisco-wrlinux-7 (aka cisco-7).  I don't think we actually need /cisco/ but /cisco-/ would cover both platforms.

@rick it should be that variant checks should be made against cisco itself, and platform checks should at least be against cisco-, unless the code really is specific for a version, hence cisco-5.

:+1:

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2140/
Test PASSed.


feat(DIST-691): Add storybook

Storybook runs demo of the embed library.

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

:tada: This PR is included in version @typeform/embed-v1.0.0-next.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version @typeform/embed-v1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


K3s creating world writable files and un-owned files

I installed k3s on a machine running Red Hat Enterprise Linux 7.6 and ran k3s with the following command and flags included as hardening based on CIS benchmark:
k3s server
'--no-deploy=traefik' \
'--data-dir=/app/var/lib/rancher/k3s' \
'--bind-address=<IP_ADDRESS>' \
'--node-ip=<IP_ADDRESS>' \
'--kube-apiserver-arg=bind-address=<IP_ADDRESS>' \
'--kube-apiserver-arg=insecure-port=0' \
'--kube-apiserver-arg=kubelet-https=true' \
'--kube-apiserver-arg=profiling=false' \
'--kube-apiserver-arg=enable-admission-plugins=NamespaceLifecycle' \
'--kube-apiserver-arg=audit-log-path=/var/log/apiserver/audit.log' \
'--kube-apiserver-arg=audit-log-maxage=30' \
'--kube-apiserver-arg=audit-log-maxbackup=10' \
'--kube-apiserver-arg=audit-log-maxsize=100' \
'--kube-apiserver-arg=service-account-lookup=true' \
'--kube-apiserver-arg=enable-admission-plugins=ServiceAccount,NodeRestriction' \
'--kube-apiserver-arg=tls-cipher-suites=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384' \
'--kube-apiserver-arg=tls-min-version=VersionTLS12' \
'--kube-apiserver-arg=feature-gates=AllAlpha=true' \
'--kube-scheduler-arg=profiling=false' \
'--kube-scheduler-arg=address=<IP_ADDRESS>' \
'--kube-controller-arg=terminated-pod-gc-threshold=100' \
'--kube-controller-arg=profiling=false' \
'--kube-controller-arg=use-service-account-credentials=true' \
'--kube-controller-arg=feature-gates=RotateKubeletServerCertificate=true' \
'--kube-controller-arg=address=<IP_ADDRESS>' \
'--kubelet-arg=address=<IP_ADDRESS>' \
'--kubelet-arg=anonymous-auth=false' \
'--kubelet-arg=protect-kernel-defaults=true' \
'--kubelet-arg=make-iptables-util-chains=true' \
'--kubelet-arg=event-qps=0' \
'--kubelet-arg=feature-gates=RotateKubeletServerCertificate=true' \
'--kubelet-arg=tls-cipher-suites=TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384'

With this configuration, we ran into 2 issues being highlighted by a vulnerability assessment software used to scan the server:

World writable files were found on the server and it seems to be created by k3s. Some examples of the files are as indicated below:

/app/var/lib/rancher/k3s/agent/kubelet/pods/35aea8cb-c50c-11e9-b7fe-001a4a16015d/containers/cert-manager/2482f3c5 (-rw-rw-rw-) * /app/var/lib/rancher/k3s/agent/kubelet/pods/35aea8cb-c50c-11e9-b7fe-001a4a16015d/containers/cert-manager/ef82a588 (-rw-rw-rw-) * /app/var/lib/rancher/k3s/agent/kubelet/pods/35b03f19-c50c-11e9-b7fe-001a4a16015d/containers/cainjector/0b03761c (-rw-rw-rw-) * /app/var/lib/rancher/k3s/agent/kubelet/pods/35b03f19-c50c-11e9-b7fe-001a4a16015d/containers/cainjector/381bf5a6 (-rw-rw-rw-) * /app/var/lib/rancher/k3s/agent/kubelet/pods/35b045a3-c50c-11e9-b7fe-001a4a16015d/containers/webhook/06ea836c (-rw-rw-rw-) * /app/var/lib/rancher/k3s/agent/kubelet/pods/35b045a3-c50c-11e9-b7fe-001a4a16015d/containers/webhook/d64a9167 (-rw-rw-rw-) * /app/var/lib/rancher/k3s/agent/kubelet/pods/35b04a08-c50c-11e9-b7fe-001a4a16015d/containers/init-config/b7266ad4 (-rw-rw-rw-) * /app/var/lib/rancher/k3s/agent/kubelet/pods/35b04a08-c50c-11e9-b7fe-001a4a16015d/containers/init-config/e84a3def (-rw-rw-rw-) *

Un-owned files which also seem to have been created by k3s. Some examples of the files are as indicated below:

/run/k3s/containerd/io.containerd.runtime.v1.linux/k8s.io/bfcf3f4ba445a821f5e30688d478b7584d14e30c763efce0dedf99d069f92626/rootfs/etc/shadow (-rw-r-----) * /run/k3s/containerd/io.containerd.runtime.v1.linux/k8s.io/cb1667f30d9a1a4c18e43d9bf8f1c5717e7c87a32707698cfd670e01a3476fc1/rootfs/etc/gshadow (-rw-r-----) * /run/k3s/containerd/io.containerd.runtime.v1.linux/k8s.io/cb1667f30d9a1a4c18e43d9bf8f1c5717e7c87a32707698cfd670e01a3476fc1/rootfs/run/utmp (-rw-rw-r--) * /run/k3s/containerd/io.containerd.runtime.v1.linux/k8s.io/cb1667f30d9a1a4c18e43d9bf8f1c5717e7c87a32707698cfd670e01a3476fc1/rootfs/sbin/unix_chkpwd (-rwxr-sr-x) * /run/k3s/containerd/io.containerd.runtime.v1.linux/k8s.io/cb1667f30d9a1a4c18e43d9bf8f1c5717e7c87a32707698cfd670e01a3476fc1/rootfs/usr/bin/chage (-rwxr-sr-x) * /run/k3s/containerd/io.containerd.runtime.v1.linux/k8s.io/cb1667f30d9a1a4c18e43d9bf8f1c5717e7c87a32707698cfd670e01a3476fc1/rootfs/usr/bin/expiry (-rwxr-sr-x) * /run/k3s/containerd/io.containerd.runtime.v1.linux/k8s.io/e6f1e1bc9dfcd30c6f53de96333a47e8e1b5b27f8c652dfddcc4afbcc145d724/rootfs/etc/gshadow (-rw-r-----) * /run/k3s/containerd/io.containerd.runtime.v1.linux/k8s.io/e6f1e1bc9dfcd30c6f53de96333a47e8e1b5b27f8c652dfddcc4afbcc145d724/rootfs/etc/ingress-controller/auth (drwxr-xr-x) * /run/k3s/containerd/io.containerd.runtime.v1.linux/k8s.io/e6f1e1bc9dfcd30c6f53de96333a47e8e1b5b27f8c652dfddcc4afbcc145d724/rootfs/etc/ingress-controller/ssl (drwxr-xr-x) * /run/k3s/containerd/io.containerd.runtime.v1.linux/k8s.io/e6f1e1bc9dfcd30c6f53de96333a47e8e1b5b27f8c652dfddcc4afbcc145d724/rootfs/etc/ingress-controller/ssl/default-fake-certificate.pem (-rw-r--r--) *

Is the default behaviour of k3s to create files with these permissions or is this a configuration that we can change when running the k3s command, such that the files created by it are not world writable and un-owned. Thank you.

Are the files actually world readable?
vagrant🐮k3s-1:~$ ls -al /var/lib/rancher/k3s/agent/kubelet/pods/
ls: cannot access '/var/lib/rancher/k3s/agent/kubelet/pods/': Permission denied

vagrant🐮k3s-1:~$ ls -al /run/k3s/containerd/io.containerd.runtime.v1.linux/k8s.io/
ls: cannot open directory '/run/k3s/containerd/io.containerd.runtime.v1.linux/k8s.io/': Permission denied

Seems that you are looking at ownerships and permissions of files which are in pods and likely have separate passwd and user id contexts. Unless I am misunderstanding seems like there is not an issue here, but if there is would probably be in upstream k8s or containerd.

Actually, we probably need to lock down the permissions of /run/k3s. I think /var/lib/rancher/k3s/agent is okay tho.

I actually ran into the same issue while hardening a Debian 9 system based on CIS benchmark. Any idea how and where to address this issue?

Which issue? We can change the permission of /run/k3s to 0700, but it looks like the benchmark is picking up stuff that shouldn't be a problem (re ownership & permissions).

Kubernetes has an open issue on world-writable files. It seems as if kubelet creates world-writable files (666) in kubelet/pods/<podId>/containers/<containerId>.

yes, may i know what is the status for this issue raised? I am encountering this.


Very werid error. Mod just won't work. Good luck figuring out this one.

No hands show up. The mod just doesn't work. Very strange error.
LogOutput.log

MissingMethodException suggests that Belpin's hooks are not working properly, what version of the game are you running, a fresh Steam installation?

I had the same issue.  Rift S.  Resolved it by manually starting SteamVR manually, stopping fpsVR, then running Subnautica from within Steam using the -vrmode openvr launch option.  Hope this helps.

Actually in this case it seems you were using an old version of Subnautica.
The mod only works with the most recent version of the game.
Neither experimental  or the legacy branch are supported.


Read/Write configuration (both global and per-program)

What is the desired functionality?
The offset position on both the x and y axes should be configurable as well as the desired window width and height (+ additional options in the future)
What is the current behavior?
Values are hardcoded and can only be changed in the code
What would be an ideal solution?
I'm thinking about keeping it relatively simple. I would like to have a GUI option in the end but ultimately it should probably be something like a toml or ini file. That could look like this
[Global]
offsetX=0
offsetY=0
windowWidth=2560
windowHeight=1440

[Baldurs Gate 3]
offsetX=0
offsetY=0
windowWidth=1920
windowHeight=1080

A sample config can look like this
[global]
  width = 2560
  height = 1440
  offsetX = 1280
  offsetY = 0

[managed_apps]
  [managed_apps."Hades.exe"]
    executable = "Hades.exe"
    [managed_apps."Hades.exe".dimensions]
      width = 2560
      height = 1440
      offsetX = 1280
      offsetY = 0
  [managed_apps."hollow_knight.exe"]
    executable = "hollow_knight.exe"
    [managed_apps."hollow_knight.exe".dimensions]
      width = 2560
      height = 1440
      offsetX = 1280
      offsetY = 0

This is good enough for now, but could change in the future, leading to v1.0.0


Update get jobs ordering

Update get jobs ordering to use descending updated_at.
Issue: https://github.com/optriment/optrispace-backend/issues/141.

Hi @neverbeenthisweeb,
Thank you for your help!
Can I ask you to apply to this job on our platform to get paid?
🚀  https://my.optrispace.com/jobs/2ZPoxJXuYnZZ3KQ3VBmzsA/

@gruz0 you are welcome
no need, I'm doing this PR for free
thank you for your offer


mapping Hi-C read

Hi, Dear Author,
When I map the HiC reads, I use "bwa mem -SP5 genome read1 read2". I wonder if there is an equivalent options like “-SP5” ?

Hi @yangfangyuan0102 ,
Strobealign does not implement split (i.e., supplementary) alignments yet, which I think the option -5 means in BWA-MEM, but it is on the roadmap (#13).
The other two options (-SP) should by default be enabled if you only map single-end reads, as your run command implies.

Hi @yangfangyuan0102 ,
Strobealign does not yet support split (i.e., supplementary) alignments yet, which I think the option -5 means in BWA-MEM. Split alignment support is however on the roadmap (#13).
The other two options (-SP) should by default be enabled if you only map single-end reads, as your run command implies.

Thanks, Looking forward to seeing this tools can be used for HIC alignment.


Move API calls to PHP

In the Scene, there are several places where an API call is used, where PHP could be used instead to get content from the database. Let's replace those API calls, where possible.

Where can't I do this:
figures
modals

potential refactors:

make_title -- Can use inbuilt php api (ie get_the_id or whatever) to access information instead of API fetch
load_instance_details -- same idea as before

going to modify make_title, async call to api isn't ideal so I'm going to switch to using the wp inbuilt function

going to modify make_title, async call to api isn't ideal so I'm going to switch to using the wp inbuilt function

do this by registering a new endpoint with postmeta?

done for the time being for scenes


Could be wrap the ListItem inside a Touchable components ?

Hi again,
is possible to wrap a ListItem with a Touchable components ?

@mdeprezzo ListItem has an onPress property


Error function in effects "is not a function"

There seems to be a regression, or the docs are wrong, regarding the signature of an effect-function.
When attempting to use the third parameter sent to an effect-function (documented as "error" -- a function you may call if something goes wrong), there console says:
Uncaught TypeError: error is not a function
(... assuming error is the name I gave the third parameter)
Demo: http://codepen.io/anon/pen/VPEYjj (forked from the effects-demo)

It comes from the docs. Third argument is data, fourth is the onError hook.
offtopic: I hate codepan.. how can i see the mentioned error? console shows nothing. Never like it, never will - design and all.

Yeah the only way to see the error in my codepen example is to open upp the browser dev-tools. The code-pen console seems oblivious to anything but "console.log(...)"
I used code-pen just so I could provide a working example of the bug, but I'm happy to use any other tool you may suggest.
Thanks for pointing out that the docs are out of date!

@tunnckoCore jsbin is great for actual debugging 😄

Thanks for pointing out that the docs are out of date!

@zaceno thanks, we didn't notice that.

@zaceno Thanks for reporting, gonna fix those doc-doc-docs!
For the record
const effects = {
    waitThenAdd: (model, msg, data, error) => {
        console.log(data) // => HTML event since onclick=${msg.waitThenAdd}
        msg.toggle()
        wait(1000)
          .then(msg.add)
          .then(msg.toggle)
          .then(() => {error('just a message')}) // => throws the error with the specified message
    }
}

@zaceno Fixed, see https://github.com/hyperapp/hyperapp#effects
Let me know if that looks good to you. I think we're done here, so I'll close, but feel free to reopen if you feel this is still incomplete.
/cc @tunnckoCore

Doc's are fine now, as far as I'm concerned at the moment anyway :)  Nice swift work!


[d3d9] GTA San Andreas: Broken HUD (regression)

Discovered regression with HUD when investigating #2283 with latest master and #2817
Works fine with 1.10.x branch

Software information
Grand Theft Auto: San Andreas, Very High 8xMSAA
System information

GPU: NVIDIA GeForce GTX 1660 Ti
Driver: 515.49.10
Wine version: Proton Experimental
DXVK version: v1.10.1-572-g46cb05ce and #2817

Apitrace file(s)

gta-sa.trace

Log files

d3d9.log: gta-sa_d3d9.log

Regression happened in the flat shading pr.
Works with the master commit before 4f0c217
Broken on master after flat shading was merger. Only tested 7789fd5 of the 4 commits.


samples: thrift: hello_server (this will be the pcie endpoint application)

Create a hello_server sample under samples/lib/thrift/hello_server.
See https://github.com/zephyrproject-rtos/zephyr/tree/main/samples for examples.
This will effectively be the application that we end up running for pci-edu. Note, that with DTS overlays and .conf overlays, it's possible to switch the application from e.g. a socket application to a pcie application.
Additional information is here:
https://github.com/cfriedt/pci-edu
Some notes on the gameplan (focusing mainly on PCIe):

add a drivers subdirectory (likely CMakeLists.txt / Kconfig additions too)
add a DTS subdirectory and any DTS bindings (also needs to be added to zephyr/module.yml)
create the Zephyr device driver (and devicetree overlay with an instance of the device)
provide a write() API call for the driver, which just writes out to DMA directly
provide an interrupt handler for the driver, which write(2)s to the other end of a socketpair.

The server is already using TFDServer, so at that point, it's just swapping out the file descriptor on the device

Actually thinking this change might be better in the pci-edu repository - thrift-for-zephyr should be able to stand up by itself.


After changes source for openList they don't change.

Hello! I use your library and thanks for it! But I have a trouble with changing source:
init: function (input_field, country_code) {
  autoComplt.enable(input_field.get(0), {
    hintsFetcher: function (v, openList) {
      var hints = [],
        names = [];
      $.get("/address-autocomplete?city=" + v + "&country=" + country_code, function (data) {

I change the country_code, but it didn't change...

I solved the problem by using the pull request of gansbrest.


[LiveComponent] Fix issue with onUpdated not triggered on nested array proprety

Q
A

Bug fix?
no

New feature?
yes

Issues

License
MIT

When modifying a array property the onUpdated hook is only triggered when the exact key is specified.
#[LiveProp(writable: true, onUpdated: [‘firstname’ => ‘onUpdated’, ‘lastname’ => ‘onUpdated’]]

This PR will add the ability to use wildcards within the key.
#[LiveProp(writable: true, onUpdated: [‘*’ => ‘onUpdated’]]

Or
#[LiveProp(writable: true, onUpdated: [‘values.*’ => ‘onUpdated’]]

Hi @TheDutchScorpion:  thanks for this PR.
Could you add some test here?
(especially one with something that did not work before and now would work?)

I just saw you changed a bit your PR :)
Could you update your first message with a basic case scenario, describing what you wanted todo, what did not work and what will after your PR ?
It's easier for everyone to review and understand the PR :)

Could this branch be merged?

@smnandre

I'd like to get the real use case behind this, as i don't see right now how a map can be mapped to a form (without it being a collection)
Then i'd like to see is before/after for

basic list of scalars (ints, strings)
nested arrays
free map (like this one)
collection of objects

I think we need to restrict this syntax to "*" => "method", or that does not make a lot of sense to me.
At core, this is a callback when a props is updated, triggered because the value will change. That does not feels logical to call multiple times the same function.
Other comments regarding code :)

Upon rereading my message, I realize it came across more strongly than I intended—apologies for that. Sorry as well for the delayed response, and thank you for your contribution @TheDutchScorpion and for the poke @kevinmade


UX for the selection of single- vs multi-user mode

possibly to integrate this into the onboarding scene?
in the reception area, we can have a screen with list of active rooms

Currently present in supervisor branch:
Players are only connected to the server when clicking the connect button
Players can click on a room and will be loaded into the scene that is specified for that particular room

Duplicate, separated in #154 and #155 but has relevant info.


Feature/sonar for circleci

Changelog:

there is no need in installing grpc in that image, because circle 2.0 runs build in warchantua/iroha-dev image. I installed all required dependencies there, including grpc.
removed unnecessary ubuntu image
added sonarqube and cppcheck analyzers. Reports automatically parsed and pushed to https://sonar.innoctf.com (you can be authorized via github). I own domain innoctf.com only, I hope @takemiyamakoto will create A record for sonar.soramitsu.co.jp and receive a certificate (https is mandatory!) for this domain. P.S.: you can do it via letsencrypt.

Future work:

Soon I will add valgrind analyzer for iroha-main and other binaries (+all tests). Its results will be displayed in sonarqube interface. It looks really nice there :)

Also it is possible to setup SonarLint -- linter for C++, it exists for any IDE.

login with your github account in sonar.innoctf.com
create new token in your profile
setup in ide:

server: https://sonar.innoctf.com
token: token from step 2


docs: Fix testing code examples

Description

At https://docs.litestar.dev/2/usage/testing.html, the examples after "We would then be able to rewrite our test like so:" don't follow. They contain a full-working example (production code, fixture and test case: sync and async). We had just moved the fixture to tests/conftest.py, and the production code is still in my_app/main.py, so we just need the test case in tests/test_health_check.py.
And fix some typos.

Thanks for the explanation @hugovk, makes sense.
I think the idea here was that example files should be self-contained, which is why all the code was copied into one file. Of course that doesn't make sense here given the text. I see two ways to fix this: Either stick to "one self-contained file" and remove the conftest.py or adjust the tests accordingly to use the fixtures from conftest.py.
I'm actually leaning towards option 1 slightly, because the conftest.py isn't really needed for what this example is trying to demonstrate. So the example with the fixture should just look like
import pytest

from litestar.status_codes import HTTP_200_OK
from litestar.testing import TestClient
from typing import Generator

from my_app.main import app

@pytest.fixture()
def client() -> Generator[TestClient, None, None]:
    with TestClient(app=app) as client:
        yield client

def test_health_check(client: TestClient):
    response = client.get("/health-check")
    assert response.status_code == HTTP_200_OK
    assert response.text == "healthy"

and the text be adjusted accordingly.

@guacs I think this still needs the changes discussed 👀

@guacs I think this still needs the changes discussed 👀

Oh I think I misunderstood then :P I thought the changes were fine since it showed that you can use the test client as a fixture, but now looking at it again I think you may be right.
I think you wanted to make the change so that we remove the reference to conftest.py right?

I think you wanted to make the change so that we remove the reference to conftest.py right?

That's what I thought @kedod was agreeing to here:

Option 1 sounds fine. Like you say, the main point is you can put the client in a fixture for re-use, and you can put that where you like (same file or conftest.py).

It also still has the in-line code, which we don't test.

I think you wanted to make the change so that we remove the reference to conftest.py right?

That's what I thought @kedod was agreeing to here:

Option 1 sounds fine. Like you say, the main point is you can put the client in a fixture for re-use, and you can put that where you like (same file or conftest.py).

It also still has the in-line code, which we don't test.

You're right. Also, did you mean @hugovk?


Create xrange.md

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@infiBoy, thank you for taking the time to submit this PR. I did some research about xrange and it seems that it's a Python 2 function, and has been replaced by range in Python 3. Since we're quickly approaching Python 2's end of life date, I think it's best that we close this and instead focus on Python 3. Sorry about that! But please feel free to help us improve other sections of the Guide.


Update Posts “license”

Automatically generated by Netlify CMS

👷 Deploy Preview for distracted-davinci-ed3898 processing.
🔨 Explore the source changes: 72ac01f422e96d5a780fb476e806f20a6969994b
🔍 Inspect the deploy log: https://app.netlify.com/sites/distracted-davinci-ed3898/deploys/611cdeeb7469ec000749a63d


First joof setup failed — second time success

Hi,
First time running joof setup failed, saying the ~/.joof folder didn't exist. I tried cd'ing into it, but it did exists. I therefore tried running joof setup once again, this time with success.

Machine:
Running Node v9.11.2 (through NVM) on MacOS v10.13.6

Thanks for reporting!
There's so much going on, I wonder if a better solution all-in-all would be to just provide better manual instructions?

Maybe. The Safari extension installation was a surprise for me as well, as I am a Chrome-only user, so that should be optional. A manual process would fix this as well.
I'm not fully aware of what happens behind the scene, so I'm not in a position where I can provide comprehensive feedback regarding the one or the other solution.

Safari Extensions are sort-of deprecated on their own too. They need to come with an App from the App Store now.
Browser specifics (extension, certificate) should be optional, yes.
The background service should stay in the installer.


My file

i upload this file inorder i can be allowed to use the tool from jetbrain for free because i am student

@ibrahimjacksson cbe.txt I am sorry, I have to close the request without merging, because you made a mistake in a request and did not specify any filepath. Please ensure that you are familiar with this repository rules located at the bottom of this page and make a new correct request. Thank you for your understanding!


Increment versions after patch releases for February 2023

API change check
API changes are not detected in this pull request.

lgtm! What is the latest guidance for Readme version, do we need to update it with the latest patch versions too ?

@samvaity Users don't always land on Microsoft Docs when looking for documentation on our libraries, in fact, when googling "Azure SDK for Java" our repo is the first result above MS Docs. I think it's preferable to have our READMEs point to the latest stable version of a library, as people who would want to use a beta are those who are looking for a specific new feature still in the works or those who are just playing around with the library, everyone else working on production-level code should use stable.


[Feature]: support Mistral-Large-Instruct-2407 function calling

🚀 The feature, motivation and pitch

Mistral-Large-Instruct-2407 performance is great, even Tool Use & Function Calling :  https://mistral.ai/news/mistral-large-2407/
the feature requirement is(maybe) similar as : https://github.com/vllm-project/vllm/issues/5156

Alternatives
No response
Additional context
No response

Same request! I really need vLLM to support function call API interfaces. In fact, many of the currently released LLMs already support function call capabilities. This is very important for downstream application development. Plz

if it uses the same function call format as Mistral 7B v0.3 it should be supported in #5649

@K-Mistele first of all thank you and good job on what you're doing to implement FC on vllm.
I'm using a quantized version of mistral large 2407, don't know if the template is the same but you can check it on line 6176 here https://huggingface.co/ModelCloud/Mistral-Large-Instruct-2407-gptq-4bit/blob/main/tokenizer_config.json

MistralAI highligth the compatibility between vllm and mistral-small https://huggingface.co/mistralai/Mistral-Small-Instruct-2409 but baddly there are several tickets on the fact Vllm do not implement "function calling" aka tools for Mistral-Small.
Could you confirm the statut of supporting function calling for mistral models such as small, large ?


almost all bidcos devices show update available

I agree to the following

[X] I have read the documentation right now
[X] I have read the FAQs right now
[X] I am aware of the latest release notes
[X] I am aware that an integration that was installed via HACS also needs to be updated via HACS
[X] The Backend (CCU/Homegear/...) is working as expected, devices are taught in and are controllable by its own UI.
[X] I am running the latest version of the custom_component (and Home Assistant)

The problem
all battery powered classic homematic devices show update available under settings in ha
1.66.0b3
might be related to the not updatable device change? Mostly these are optical door / window contacts
What version of HomematicIP (local) has the issue?
1.66.0b3
What was the last working version of HomematicIP (local)?
1.66.0b2
What type of installation are you running?
Home Assistant OS
What type of installation are you running for your homematic backend?
RaspberryMatic Standalone
Which version of your homematic backend are you running?
<IP_ADDRESS>40826
What hardware are you running for your system?
RPI3
Which config details do you use

[ ] TLS
[ ] callback data (see)

Which interfaces do you use?

[X] Homematic IP
[X] Homematic (Bidcos-RF)
[ ] Groups (Heating-Group)
[ ] BidCos-Wired (HM-Wired)

Diagnostics information (no logs here)
config_entry-homematicip_local-9f3e2e1bd8da4078035573cee483ccfa.json
Log file extract. Anything in the logs that might be useful for us? The log (Setting/System/Logs -> load full log) is the best source to support trouble shooting!
the only log entry I found:

This error originated from a custom integration.

Logger: hahomematic.caches.visibility
Source: custom_components/homematicip_local/control_unit.py:126
integration: Homematic(IP) Local (documentation, issues)
First occurred: 11:24:48 PM (2 occurrences)
Last logged: 11:24:48 PM

GET_UN_IGNORE_LINE_DETAILS failed: Could not add line 'VALVE_MAXIMUM_POSITION@HM-CC-RT-DN:MASTER' to un ignore cache. No ':' before '@'
ADD_LINE_TO_CACHE failed: No supported format detected for un ignore line 'VALVE_MAXIMUM_POSITION@HM-CC-RT-DN:MASTER'.

Additional information
No response

Thanks for testing a Beta version, and reporting an issue.
Your log entry is related to a wrong entry in the unignore file. Use the UI config  for unignore instead.

Oops, yes. Tests from the early days. Deleted the config file and log entries are gone.
Still having the update messages. Should I just skip them?

No wait, next version will fix it.

1.66.0b4 should fix it

Yes, Update and restart solved it. Thanks for the quick fix.


LICENSE.md and expanding CONTRIBUTING.md

Licensing is really important. Since everything is intended to be open, I suggest just using MIT, but if you have other ideas for it, please add it.
CONTRIBUTING.md is a bit vague in some points. It's clearly not strict on coding style patterns, perhaps by intention, but for maintainability, PR names should be strictly defined.
I suggest more specific rules for pull requests, so you can easily identify the type of PR and category, algorithm and language of the implementation.
I can suggest a structure for PRs, if you approve of this change, and then implement it on the markdown files.

@nimit95 @piyush6348 What do you think? :smile:

yeah happy to accept changes :)

OK, I thought about some points for each PR:
Pull Requests
We need to identify category, algorithm and language.

I suggest all new PRs need to be titled with a model, like category: algorithm (language).
Ex1: Sorting: Bubble Sort (C)
Ex2: Searching: Binary Search (Java)
This model could be extended to include implementation name.

The PR template should contain checkboxes for the definitions from CONTRIBUTION.md, so the contributor vouches that his changes follow the guidelines, which saves time on code reviews.

PRs should be single commit only. You should squash all commits into one and then submit your changes, so it's easier to handle the code history.

License

OK to insert the MIT license or you have other plans?

Yeah, all these things seem fine, can you change in readme and contribution.md and make a pull request?


internal/asm/f64: incorrect value returned by L2NormInc for zero-length vector

I am seeing failure in L2NormInc on travis, but only on macOS and only for go1.13, and not always. This has happened 3 times that I've seen. The value that's being returned is the expected value for the last test‽
--- FAIL: TestL2NormInc (0.00s)
    l2norm_test.go:70: Test 0 L2NormInc error Got: 2.236068 Expected: 0.000000

We don't run noasm-tagged tests on macOS, so this is presumably something happening in the assembly.
/cc @Kunde21

@Kunde21 is that fix ready to be sent?


yiksheng

Error message
Paste the error message in the area below:
Paste here

To Reproduce
Write a small description of what you tried to do (in GUI or the game).
Version information:

Game version [e.g. 1.19]
Maid Fiddler version [from About Maid Fiddler dialog]

Additional context
Add any other context about the problem here if there is any.

I assume this was a misclick. If you do have an issue, please fill in the information specified in the template.


Validation management core

Motivation and context

Depends on #8348

Added support for updating chunks in jobs
Added reporting for chunk update date in jobs
Added an option to change validation frames in tasks with honeypots (validation mode == gt_pool)
Added server API to view and manage current validation frame setup:

GET /api/tasks/{id}/validation_layout - allows getting validation configuration in the task
GET /api/jobs/{id}/validation_layout - allows getting validation configuration in the job (available only to the task assignee and above)
PATCH /api/tasks/{id}/validation_layout - allows exclusion of validation frames and changing real frames for honeypots in the task
PATCH /api/jobs/{id}/validation_layout - allows changing real frames for honeypots in the job (available only to the task assignee and above)

How has this been tested?

Checklist

[ ] I submit my changes into the develop branch
[ ] I have created a changelog fragment
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (see GitHub docs)
[ ] I have increased versions of npm packages if it is necessary
(cvat-canvas,
cvat-core,
cvat-data and
cvat-ui)

License

[ ] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.

Summary by CodeRabbit

New Features

Enhanced quality reports with tracking of last assignee update date.
Added new options in quality settings for better customization.
Introduced sorting method handling in the advanced configuration form.

Bug Fixes

Improved logic for calculating active and excluded frame counts in quality management.

Refactor

Updated terminology from ValidationMethod to ValidationMode across various components.
Streamlined frame data processing in the allocation table.

Chores

Removed unused properties related to frame deletion in UI components.

/check

Codecov Report
Attention: Patch coverage is 65.35289% with 378 lines in your changes missing coverage. Please review.

Project coverage is 74.12%. Comparing base (ff1849f) to head (b91d9d6).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8471      +/-   ##
===========================================
- Coverage    74.35%   74.12%   -0.23%
===========================================
  Files          394      395       +1
  Lines        42177    43034     +857
  Branches      3896     3901       +5
===========================================
+ Hits         31360    31899     +539
- Misses       10817    11135     +318

Components
Coverage Δ

cvat-ui
78.73% <40.00%> (+<0.01%)
:arrow_up:

cvat-server
70.20% <65.58%> (-0.29%)
:arrow_down:

Need to integrate tasks with honeypots with Review mode in UI. Basically, need to retrieve job validation_layout and get honeypot real frames from there.


Add check_type_forward to binary operators in basic_math

Related to #123
It is worth discussion whether we admit broadcast in binary operators in basic_math (i.e. shapes of first and second argument do not match, but their data can be computed by means of broadcast of numpy
). For now, we decided not to admit broadcast because in order to admit broadcast, we must fix backward of each operators to maintain consistency of forward and backward.
Binary operators' support of broadcast is issued as #228 .


Don't see part of calendar on mobile version...

Screenshot of problem: http://joxi.ru/V2VBBdqfx90nn2
How can make calendar on center?
disableMobile - true in my config, because working very bad with Range plugin. I need only classic calendar...
Your Environment

flatpickr version used: 4.5.0
Browser name and version: Safari 11.1
OS and version: Mac OS 10.13.4

same problem here!
i've solved/workaround it by setting the config option static: true for mobile devices.

Thank u a lot... It's better.
But i hope developer can make advanced settings for config about force position.


'ascii' codec can't encode character '\u2019' in position 217: ordinal not in range(128)

Describe the bug
I can no longer import new highlights. I run kindle2notion and I receive the 'ascii' codec error message in the title. After this the rest of the script appears to work and it lists out each title and the number of highlights that have been added. However, when I check in Notion, none of the new highlights have been added.
To Reproduce
Steps to reproduce the behaviour:

Run kindle2notion as normal: kindle2notion 'token' 'table_id' '/Volumes/Kindle/documents/My Clippings.txt'

Expected behaviour
New highlights added to existing database.
Screenshots
Notion page is found. Analyzing clippings file...
'ascii' codec can't encode character '\u2019' in position 217: ordinal not in range(128)
Found 681 notes and highlights.
......
Initiating transfer...
How to Win Friends and Influence People (Dale Carnegie)
✓ 69 notes/highlights added successfully.
......
Transfer complete... Exiting script...
Desktop (please complete the following information):

OS: macOS 13.1
Python 3.11.0 (running kindle2notion in venv)

same problems as you


Can't get python scripts to work ..

I am trying the slack python script -- but it complains that I haven't "pip install requests" .. but I HAVE installed it ... and the script runs fine from my command terminal (iterm2) etc.
The problem appears to be the minimal environment that is "setup" when we execute the scripts -- I am not sure how we execute a script with what shell, etc. but I created a simple test.sh plugin that dumps the ENV to a file .. and it's very minimal with not all the paths, etc. that are there when I launch a terminal window or a new tab, etc. in my terminal window...
This is Mac OS -- I use ZSH for the shell and oh-my-zsh .. but .. I looked in /etc/paths and there is a nice list of paths there -- but they aren't in the PATH env either...
The start of the python script is:
#!/usr/bin/env python
# coding=utf-8
#
# <bitbar.title>Slack Notification</bitbar.title>
# <bitbar.version>v1.1</bitbar.version>
# <bitbar.author>mgjo5899</bitbar.author>
# <bitbar.author.github>mgjo5899</bitbar.author.github>
# <bitbar.desc>Displays number of unread Slack messages</bitbar.desc>
# <bitbar.image>https://i.imgur.com/I3MdNmU.png</bitbar.image>
# <bitbar.dependencies>python</bitbar.dependencies>
#
# by mgjo5899
try:
	import requests
except ImportError:
	print('You need to `pip install requests`')

import json

Again, this runs just fine if I do a "./slack-msg.1m.py" .. but errors with the "You need to 'pip install requests'" when run in Bitbar ..
So obviously my "shell" environment isn't normal or correct -- but there isn't much doc on how exactly BitBar attempts to execute this stuff...
Here is the output from my little "test.sh" dumping the environment:
PATH=/usr/bin:/bin:/usr/sbin:/sbin
TMPDIR=/var/folders/2_/t69bm8252ks2086cwkvn_6ww0000gn/T/
LOGNAME=sjm
HOME=/Users/sjm
XPC_FLAGS=0x0
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.IX1O2MQMy4/Render
USER=sjm
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.iwZAJ2Nthx/Listeners
SECURITYSESSIONID=186a8
DISPLAY=/private/tmp/com.apple.launchd.Z8RSomuX7E/org.macosforge.xquartz:0
XPC_SERVICE_NAME=0
BitBar=1
SHELL=/usr/local/bin/zsh
__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0
SHLVL=1
PWD=/
OLDPWD=/

Thanks!

you can also write a shell wrapper that takes care of installing a virtualenv including dependencies, then launches the actual python script. Example: https://github.com/infothrill/bitbar-plugin-pingdom/blob/master/bitbar-pingdom.60s.sh


Actors mocks show compile errors outside actors package in VS Code

In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release
What version of Dapr?

edge: output of git describe --dirty
Expected Behavior

After cloning a clean repo to local workspace and opening it in VS Code, the repo should just compile and no errors are shown in VS Code.
Actual Behavior

MockActors and FailingActors are not recognized outside the actors package by the language service in VS Code. This is likely because the build tag unit is not set during the compilation by VS Code.
Steps to Reproduce the Problem

Clone the repo to local workspace and open it in VS Code, inspect

pkg/grpc/api_actor_test.go
pkg/grpc/api_test.go
pkg/http/api_test.go

VS Code shows ~30 build errors in those files.
Release Note

The fix will not affect runtime, no release note is needed.
RELEASE NOTE:

Although I support #5686 as a fix, I also wanted to share that it's possible to configure VS Code to automatically add tags by editing the settings.json.  https://stackoverflow.com/a/66816676/192024
Regardless of #5686, we should consider shipping a .vscode/settings.json that has these tags enabled, plus e2e, perf, and other tags we use in Dapr.


scenario manager rest apis

@phudtran, @zzengcs and @yanmo96 Please review this PR, especially for the protobuf definition for your component. I made couple of changes in each protobuf file. If you're agree the contracts, I will merge them into master first.


Changedetectionstrategy onpush displaying validation message

Hi
I am building a repeat section inside a repeat section.
Each section has 10 textbox and 3 selectbox.
The typing performance was slow, when I used a wrapper for all form elements to display the error message.
So for the repeat section, I added changedetectionstrategy as onpush.
When I click the submit button, the validation messages are not displayed
But when I click any formcontrol, the message displays.
Is there anyway I can display those messages on clicking a button.
Thank you

OnPush is the solution (https://github.com/formly-js/ngx-formly/issues/477), I've done a fix but not commited yet, I'll try to send a PR soon!
in the meantime if you can provide me a reproduction example in order to check if it can be solved without enabling OnPush.

Hi,
I checked the validation display message when setting the changedetection strategy to onpush.
but still it doesnt seems to display on submit
https://stackblitz.com/edit/angular-dtbnks?file=app%2Frepeat2.ts
Thank you

fixed in 5.0.0-beta.15

Awesome. Working. Thank you


not working

I can't proxy any website.
https://www.google.com
https://telegram.org/
https://youtube.com/
Tonutils-Proxy is not a proxy without changing your ip.
Tonutils-Proxy won't help you bypass network censorship.

Set it as http proxy, and yes, it is not for bypass, it not hides your ip, it just lets you access .ton sites


Multiple Users per Email Address

User Story:
As a user who shares an email address with another volunteer, I need the app to recognize me as a unique user so that I can get unique shift notifications.
Background:
We have multiple sites that have volunteers who share an email address.
Acceptance Criteria:

[ ] Two volunteers who share an email address can set different schedule requirements

[ ] Two volunteers who share an email address can enter different profile information (i.e., demographics, phone number, etc.)

[ ] " " "....can receive separate shift notifications based on their availability

[ ]

@benjaminwood - Can you guys add your dev estimate to this? Or if this is a no-go for the app as it's currently designed, can you help us think of another way to solve this issue? We think multiple volunteers sharing an email is going to be a recurring use case, especially given the demographics of our volunteers.

or @nvick ^

@sarahwicks the tool we use for authentication is built around a user having a unique email address. There are ways we could possibly work around it, but this will require some time to think through.


Add a walking skeleton of the app with all the boilerplate

This is for https://github.com/hypothesis/checkmate/issues/1
This is a copy of Via 3 which has been hacked down to size. It also draws some inspriation from ViaHTML, particularly around:

Pulling in an un-used CHECKMATE_BLOCKLIST_PATH config option (mostly so we have an option for the app tests - we'll need it soon enough)
Having a make run-docker

Usual stuff you'd expect by this point: make blah, and running Github Actions.
As for actual functionality:

http://localhost:9099/_status - Returns a 200
http://localhost:9099/api/url - Returns a 204

Review feedback todo:

[x] .coveragerc - Weird. I totally did this but must have deleted it somehow
[x] Singular route definition
[x] Use Pyramid objects for blank 200, 204s etc.
[x] Fix copy-pasted nonsense from Via 3 etc.
[ ] Remove fixed versions in requirements file
[ ] File a ticket to fix all these issues that exist in Via 3 / ViaHTML

Got to the bottom of no .coveragerc, it's covered by our .gitignore, so has to be force added.

.coveragerc is covered by our git ignore?? It shouldn't be


add UniversalPageStorage

What problem does this PR solve?
Issue Number: ref #6728
Problem Summary:
What is changed and how it works?

Rename DB::PageId to PageIdU64;
Make many classes like PageDirectory BlobStore a template;
Add UniversalPageStorage which receive a string type page id;

Check List
Tests

[x] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/rebuild

/rebuild

/rebuild

/rebuild

/rebuild

/merge

/run-unit-test

/rebuild

/run-integration-test

/run-unit-test


Website: add Druid version correctly

Fixes the issue you can currently see here: https://druid.staged.apache.org/docs/latest/tutorials/index.html

skipping remaining CI to backport to 0.16 for release docs


Testing: Fix problem with pyOpenSSL and HTTPpretty during testing.

Consider switching completely to python-mocket to fix problems when running tests.
A temporary (but annoying) fix is to uninstall pyOpenSSL before running tests:
pip uninstall pyOpenSSL
pytest -v
pip install pyOpenSSL

https://github.com/mindflayer/python-mocket/issues/65

I've just released mocket==2.3.0 which should fix the issues with pyOpenSSL.

Thank you for letting me know, i have recently switched over to using request_mock in combination with pytest instead. But it’s good to know that it is fixed for future cases. :)


forever gone?

I am very appreciate the forever node library. The forever is one of the greatest nodejs library.
But as the commits and pull requests show,  there are not commits and mergings for 2 years.
Does this library is still under maintaining by someone?
Does the forever gone forever?
@indexzero

+1

+1

+1

@harlentan Are there any reasons to use forever instead of pm2 these days?

@harlentan Are there any reasons to use forever instead of pm2 these days?

There is a big difference between forever and  pm2 , if you have used these two great tools.
The forever  is friendly to use in face of small embedded daemonize process in project, which is light weight.
But pm2 is focus on making a daemon project with other abundant lifecycle management design.

If you are interested in becoming a maintainer please add a ❤reaction to this comment. Time commitment is non-trivial:

10 hours per month
Regular meetings
Tedious issue triage

But hey, that's open source! Hopefully some folks out there are ready to make a sincere commitment to forever. Personally I've been letting it be "done" – that is: fits 85%+ of use cases, continues to work.
Yes there are some edge case / corner case bugs. That's inevitable for any software with a large number of features.
Yes there are feature requests. That's inevitable for any software with a large number of users.
But! It still works on latest node for it's core use case:
$ node -v
v10.3.0
$ npm i -g forever
$ git clone git@github.com:foreverjs/forever
$ cd forever
$ forever start ./test/fixtures/server.js
warn:    --minUptime not set. Defaulting to: 1000ms
warn:    --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info:    Forever processing file: test/fixtures/server.js
$ forever list
info:    Forever processes running
data:        uid  command             script                  forever pid   id logfile                          uptime
data:    [0] tQJW /usr/local/bin/node test/fixtures/server.js 36589   36600    ~/.forever/tQJW.log 0:0:0:2.378

Been considering rewriting it in Rust as a way to better learn Rust – would also enable shipping a single forever binary with zero dependencies which has a ton of utility for the devops/sysadmin space it lives in.
So ... hope to hear from some of you. I cannot stress enough the time commitment. Please be sure you can make the project a priority.

@kibertoad thanks for saying hi! Added you to the @foreverjs/core team as a way to continue the discussion. In general I am liberal with Github write access and cautious with npm publish access. This enables new contributors quickly, but avoids bad actors from publishing malicious code quickly.

I gave a longer talk on Keeping Important Code Alive back in 2015 if you're interested in more of my philosophy on OSS maintenance.

Meetings are generally an hour every other week. In the past similar projects of this size (e.g. winston) end up with 2-3 core contributors so scheduling is pretty easy. I am in Eastern Time so Europe is no problem.
On the issue triage topic, what is most useful is:

Identifying & closing duplicate issues: many issues are often straight duplicates of one another. It's important to read skim many issues before deep diving on a single one.
Closing issues that are not issues: frequently folks will open issues that should really be questions on StackOverflow (or a similar forum). These issues need to be closed; the reporter should politely be told to ask the question in another forum since it is not a bug.
Finding related "threads" / "themes" across multiple PRs & issues: there may be a feature area or feature area(s) that have a number of related issues (e.g. "Windows support", "CLI argument parsing", etc). In these cases it is useful to create new issue labels when appropriate so those feature area(s) can be looked at holistically by maintainers.

The first step is always issue triage. I have not looked at issues or PRs in quite some time so any help you can lend there would be immensely appreciated <3

@indexzero Thank you for clarification! That seems reasonable. How are meetings scheduled? When is the next one? There's quite a bit to discuss :)


Automatically build, test and publish Docker containers

on update of Dockerfile
on schedule? (weekly / monthly)?

Regarding naming and versioning ... how should we do this?
coreboot:4.19 is not really working if we build periodically ... maybe coreboot-4.19:2023-07-17 and coreboot-4.19:latest for example?
The same goes for the edk2

uefi:edk2-stable202008 -> uefi_edk2-stable202008:2023-07-17
uefi:edk2-stable202105 -> uefi_edk2-stable202105:2023-07-17
uefi:edk2-stable202111 -> uefi_edk2-stable202111:2023-07-17
uefi:edk2-stable202205 -> uefi_edk2-stable202205:2023-07-17
uefi:edk2-stable202208 -> uefi_edk2-stable202208:2023-07-17
uefi:edk2-stable202211 -> uefi_edk2-stable202211:2023-07-17
uefi:vUDK2017 -> uefi_vUDK2017:2023-07-17

Although with this ... there will be a lot of packages :/

There is a problem that less than usable uptime of nasm.us. Turns out coreboot maintains their own mirror, so it is possible to just add environment variable BUILDGCC_OPTIONS=-m into the Dockerfile:
 # Install dependencies
 ENV DEBIAN_FRONTEND=noninteractive
+ENV BUILDGCC_OPTIONS=-m

 # Install git from PPA as v2.34 cannot clone coreboot...
 RUN apt-get -y update && \

This works for the coreboot 4.19 Dockerfile, not yet sure about the others.


SPM, Pods, and Tests fixes

@ypopovych  Build fails in CI. Could you do something about it?

Fixed Xcode crashes on CI. Linux builds must work after the release of Boilerplate.


Adds support to control user creation permissions

Adds an ENV Variable to allow configuration for the create_users djoser permissions
When trying to create a self hosted solution, we discovered that the api still allowed for anyone to create a user account, by posting to the /api/v1/auth/user endpoint.
This adds the ability to change the permissions, through djoser settings, on that endpoint. I've updated the README to include a quick explanation for the ENV var, but please let me know if there is a better solution to securing that endpoint.

Thanks for this @anguspiv - we'll take a look and merge it shortly 👍


minIdLength track option isn't being passed correctly

 * Required dependencies<EMAIL_ADDRESS> * Tracking Plan Version: 3
 * Build: 1.0.0
 * Runtime: browser:javascript-ampli-v2

According to the documentation, there is a min_id_length property that can be passed to https://api2.amplitude.com/2/httpapi to allow shorter user ids. To set this, an option needs to be passed when the sdk loads (in .load()). The relevant code is here
  load(options) {
 ...

    const env = options?.environment ?? 'development';
    const apiKey = options?.client?.apiKey ?? ApiKey[env];

    if (options?.client?.instance) {
      this.amplitude = options?.client?.instance;
    } else if (apiKey) {
      this.amplitude = amplitude.createInstance();
      return this.amplitude.init(apiKey, undefined, { ...DefaultConfiguration, ...options?.client?.configuration });
    } ...
  }

The value should be passed along in the 3rd property of this.amplitude.init(), but here we are only pulling out the client.configuration property. I manually modified the line as follows and it now works correctly
return this.amplitude.init(apiKey, undefined, { ...DefaultConfiguration, ...options?.client?.configuration, minIdLength: options?.minIdLength ?? 5 });

Notes:

According to the documentation (and my testing), the property should be called minIdLength when passed through the sdk
The default value is 5, so I used a form that would maintain the default if no value was set (there are other ways to set that up).
This is the only value that can be set currently (AFAIK), but future proofing this is probably a better idea. I just wasn't sure what happens if I pass in keys that aren't expected.

Hi @ryanechternacht, thank you for choosing Amplitude and your submitting your feedback. minIdLength is a key in options?.client?.configuration so I believe you should be able to pass it like the following code sample:
ampli.load({
  client: {
    configuration: {
      minIdLength: 5,
    },
  },
});

Let me know if this solves the issue, otherwise we're happy to provide more support.

Interesting, I'll give that a shot.
Where would I find the documentation that tells me that's how it's supposed to work?

@ryanechternacht The ampli SDK you are using wraps @amplitude/analytics-browser SDK and docs can be found here: https://www.docs.developers.amplitude.com/data/sdks/typescript-browser/, and specifically for configuration here: https://www.docs.developers.amplitude.com/data/sdks/typescript-browser/#configuration

Sweet thanks. That worked.
I had not actually found the sdk docs and was using the general web call docs and trying to piece it together.
Can you add a link here to the ampli cli somewhere? maybe in ampli pull since that's the path the docs send you down.

@ryanechternacht yes, we'll consider this issue as feedback to make an update to our dev docs.


[MCW] Performance optimisation of Model_K

Executive summary:
The model is implemented in n150 with new conv-api.
Dimension: 1, 3, 128, 128
Utilization:
op -----          Utilization
Conv1 -----	     	            	             3%
Conv2 -----	        	            	            16%
Conv3 -----	                 	            14%
Conv4 -----	        	            	             8%
Conv5 -----	           	             0%

Initial FPS for Conv/Matmul ops: 4227.311
Enabling reshard_if_not_optimal and override_sharding_config resulted in FPS (conv/mat_mul ops): 4826.464
Increasing the core count of conv6 and conv7 resultes in FPS (conv/mat_mul ops): 4413.433 but utilisation decreases slightly.

Waiting for further inputs from Mohamed


[WIP] Feat/base component conclusion

All tests are passing, the components are refactored to use the renderComponent method and are working as expected. There are still some things that needs to be addressed (I added TODOs for them, will work on them tomorrow). If the decision that the renderComponent method should be used is final, maybe we should merge this PR asap and address the issues in other PR.

Closing in favor of #21 where this was merged.


Update max_bytes_for_level_base unit to bytes and remove unuseful error checker.

This refers to #612

@WyattJia please also check again
  options->max_bytes_for_level_base = config_->RocksDB.max_bytes_for_level_base * MiB;

need to remove * MiB

@WyattJia please also check again
  options->max_bytes_for_level_base = config_->RocksDB.max_bytes_for_level_base * MiB;

need to remove * MiB

@ShooterIT @tisonkun I have updated changes about unit and error config checker.Please check and review. Very thankful.

Thanks @WyattJia, merged.