MCEdit won't start...

I've been trying to run MCEdit <IP_ADDRESS> (64 bit) on my computer but it just refuses to run properly no matter what I do. I've tried searching for a solution on other threads but nothing seems to work for me. I've taken a screenshot in the hopes that it will somewhat help, and I expect a lot of people will look at it and think just how much of a noob I am, but can someone just please tell me how to fix the damn thing. I have read the code, I just have no idea what the heck any of it means.

According to the screen-shot, you have a video driver issue.
Depending the version of Windows you're running on, you may want to upgrade it or install a prior version.
Searching with the keywords 'mcedit' and 'glWindowPos2d' (on this Github repo and more generally in any search engine) may give you some other related issues and their solution.
Please, if you can solve this, just post here, so we can close this issue :smile:
(Post here too if you can't, of course :wink:)

Thanks LaChal...still haven't found a suitable solution yet, but thank you for bringing up the issue with the video driver, that would never have occurred to me, not that I know how to fix that problem.
And I should probably mention I'm running Windows 10. I had a slight feeling that it may have something to do with my version of windows, because a couple years back I used to use MCEdit quite often, except back then I was running MCEdit on my Windows Vista computer (which I no longer have) and it ran just fine. But now that I'm on a new computer and running Windows 10, it just doesn't seem to work the same anymore. Could it be possible that MCEdit hasn't yet been optimized to run on Windows 10?

Exactly the same for me ;)
@silentdude247 does minecraft itself work for you? for me it doesn't

Oh, @thebigsmileXD you're here, too xD

Since several people reported the same type of error concerning Windows 10 and OpenGL, we can't do much ourselves...
Looks like the OpenGL version on Windows 10 video drivers miss some functions.
You can find information in other reports: #692, #636

Looks like the OpenGL version on Windows 10 video drivers miss some functions.

It's more likely that the display context is getting a software-based OpenGL renderer instead of the hardware-based one provided by the GPU driver. The software renderer provided by Windows only supports GL version 1.1, which doesn't provide glWindowPos since it is a GL 1.4 feature. You don't ever want to use the software renderer because it will be very slow and will never use the hardware GPU.
To aid in debugging this problem, you should, immediately after initializing the display context via pygame.set_mode, ask the GL for version and renderer info and print/log the info. The version and renderer info can be obtained by calling:
GL.glGetString(GL.GL_VERSION), GL.glGetString(GL.GL_VENDOR), GL.glGetString(GL.GL_RENDERER)
Example code.

I am so confused right now...

No. The problem may be that MCEdit is trying to use a software renderer instead of using the GPU. This is a problem on any operating system.
The directions I gave are for the developers to find out if this is actually the case.

Oh, right

Yeah, sorry for lack of action, I got a full time job so time has been sparse.

Ok, tried updating my video driver and as you can tell from the screenshots, it obviously didn't make any difference so...I'm at a loss.

The problem is drivers with Microsoft Corporation in their name typically don't support OpenGL 1.4 functionality since they are semi-generic drivers only tested with DirectX and OpenGL 1.1, nothing to do with Windows 10 specifically and some Windows 8 machines have the same issue. You need to go to the driver manufacturer's website and find a driver from them. If they don't have a windows 10 driver you may need to install one designed for a previous windows version.

Thanks 👍

A new little note: Checked on my Windows 8 machine without any change in the system. It worked fine before, installed the latest version and only this doesn't work anymore. i guess i had 1.6 before.

Some video driver for Windows may have dropped support for some OpenGL versions.
We are looking for a solution/workaround on our side.

@LaChal i am sure the old MCEdit versions also used OpenGL. The old MCEdit works, only the new one doesn't

@thebigsmileXD I'm sure that the piece of code which annoy us now worked fine one year ago when it was written and first released.
The fact is since Windows 10 is out we encounter this issue with some Intel video chipset which driver can't support OpenGL version that drivers for the same chipset supported for older systems...
Hard to debug on our side, because we don't have such chipset.

If you know a version that works with these integrated chipsets under windows 10, let us know what version it is so we can see what changed. Also by new version do you mean 1.5.x or 2.x?

Will do. Thanks

Could you test this build? Http:\lavaexpert.org\mceditgl1.1.zip

I think you'll be surprised what it'll run on now

Calling this fixed for next release.

Thank you! i'll try out the latest build.

Still doesn't seem to work, it still crashes when I try to open it...

Oh I thought you guys had tested it already, the test build is not on the official site since it is a test. HTTP:\\lavaexpert.org\mceditgl1.1.zip

Totally does work fine!

Thank you for putting the link back up


tvOS SRGIdentityLoginViewController should send an analytics page view event

Issue type
Incorrect behavior
Description of the problem
The tvOS login view should be tracked as a page view.
Environment information

Library version: 4.0.0
tvOS version: Any
Device: Any

Reproducibility
Always reproducible
Steps to reproduce

Launch the demonstration application on tvOS.
Open the login page.
Check that an analytics page view event is sent (ComScore and tag Commander).

As discussed with @pyby in the context of Letterbox player view controller, maybe the best way is to have the app call the page view tracking method directly when it presents such a view controller.


Review JOSS - BR

JOSS Review: https://github.com/openjournals/joss-reviews/issues/6970
Hi I looked through you submission. In general the repository looks good to me! I installed the package and tested the unit tests. For the submission I have the following comments & suggestions:

Repository

Readme:

[x] Install Section should explain the steps, as there is an additional program installed. This is important for totally new users.
[x] Suggestion: Indicate, that the box after the code example is the output.

[x] Setup.py: Authors and Emails missing
[x] Environment.yml: Could it be that GOMC is missing? If you state here in the docs, it is an requirement (https://mosdef-dihedral-fit.readthedocs.io/en/latest/getting_started/quick_start/quick_start.html#), then it should be part of the environment. (could also make binary detection easier)
[x] Documentation: Repository Doc strings - API Rcference Docs missing? (can be generated with sphinx-apidoc)
[x] file_read_and_write.py: If I see it correctly this one contains unused imports.
[x] License File: if you change the formatting, then GitHub can recognize the license file (e.g.: https://github.com/OpenFreeEnergy/kartograf/blob/main/LICENSE)

Paper:

[x]  Line 12-24: Introduction

[x] line 12: MD and MC are just two examples, you could indicate this with e.g.
[x] Line 12-14: I find the categorization of theoretical, simulation and experimental scientific methods a bit confusing and would like to offer the following view: "There are theoretical and experimental methods, in the theoretical regime we can distinguish between analytical and stochastic methods. Stochastic methods can be for example simulation approaches. In the regime of MM the size of the phase space of more complex systems makes analytical methods very hard to calculate certain properties. However if well converged simulations allow to observe the relevant parts of the phase space and therefore give important estimates of certain properties. ..."
[x] Line 15: what are conventional methods here? I'm not a native speaker, but I have the impression that difficult and unattainable is saying kinda the same? (too expensive as well)
[x] Line 19: QM parameters are nice if used in forcefields, but they are not necessarily a requirement (GROMOS - FF, etc.).
[x]  Line 12-24: You should back up your text with literature, here.

[x] Line 39 - 40:  I'm not sure I understand why turning off other contributions makes the dihedral fit more accurate, can you elaborate please?
[ ] Line 87-88: Your claim here needs to be supported by literature here.
[x] Line 100-103: I would like to suggest for the equations to use physical meaningful symbols as targets quantities (U or V). Examples: V_{dihedral}^{OPLS}(\theta) (instead of OPLS_{Energy}), V_{dihedral}^{RB}(\psi), V_{dihedral}^{Periodic}(\theta)
A general remark:  I think the Introduction and statement of need are a bit repetitive, maybe you could slim down the paper a bit?

Hello!
Thank you for your review and comments!  We will complete all of these that are feasible to completed. We started a issue checklist with all the reviewer comments, so we can address them and write our teams notes here https://github.com/GOMC-WSU/MoSDeF-dihedral-fit/issues/101.
I would like to request clarification on a few of your comments, so we can appropriately address them:
18. [ ]  Line 19: QM parameters are nice if used in forcefields, but they are not necessarily a requirement (GROMOS - FF, etc.).
@bc118 added : I believe this line needs addressed "The MoSDeF-Dihedral-Fit software uses the QM and MM data to fit the dihedral for the specific force field, fitting the constants for the OPLS dihedral equation form with the correct combining rules and 1-4 scaling factors, as specified in the MoSDeF XML force field file. "
I am not sure what you are requesting or suggesting here?  Just adding something here that these fits are not required for all FFs, (i.e., GROMOS - FF, etc.)?   @RiesBen Can you confirm or clarify this?
20. [ ]  Line 39 - 40:  I'm not sure I understand why turning off other contributions makes the dihedral fit more accurate, can you elaborate please?
@RiesBen Can you please confirm this is correct statement?  "The MoSDeF-dihedral-fit software accomplishes all this and automatically accounts for any of the common combining rules, allows the zeroing out any other dihedrals in the molecule (i.e., allowing a better fit and user control by setting the other dihedral energies to zero), and accounts for any 1-4 scaling factors specified via the MoSDeF XML files [Cummings:2021; Summers:2020; GMSO:2019; forcefield-utilities:2022], which contain the force fields. "
*If this is what you are talking about, I can try and find literature or add the example write-up below to the paper if you want.  Note: I did test this for the best fit, which I plan on publishing in another article.

The case of the dihedrals around the carboxylic acid CCCOOH (different oxygen atom classes --> OH=Oxygen with H, O=Oxygen without H).  This means there are 2 dihedrals in the same dihedral rotation (C-C-C-O and C-C-C-OH) that need to be fit at the same time or in parts that produce an accurate representation when the are combined together.
Fitting one separately and  then the other one as a combined carboxylic acid system does not produce accurately fit data, as you can not properly fit these forces that are different together than they are separately.  I tried fit them separately and then together, by fitting one or the other first (i.e., the alcholol or keytone dihedral part), then fitting the remaining as combined on the carboxylic acid (CCCOOH).  However, getting a good fit with the power series <=4-5 is not easy to do this way.
-- Zeroing out one of the dihedrals and fitting the QM data as 1 fit, produced much more accurate fits, while accounting for the interactions of both, since they are in the same dihedral rotation.  When these atom classes are always together in a structure, like carboxylic acid or amides, this is done frequently in OPLS fits and likely others
I discovered that zeroing 1 dihedral that is in the same rotational angle (just offset) was the optimal solution when I looked at the previous OPLS force field fits for amides to determine the best approach for this.

21. [ ]  Line 87-88: Your claim here needs to be supported by literature here.  @bc118 is not sure what line this is, as it is not matching what is on GitHub, which is "
$$OPLS_{Energy} = \frac{f_0}{2}$$" on lines 87-88 .
@RiesBen Can you please confirm that it is the lines I reference below, and which specific ones?    **
mosdef-dihedral-fit thinks the lines below are the lines you are referring to.
"Commonly used force field dihedrals (Example: OPLS) were originally fit when the QM simulations used to fit the dihedrals were computationally prohibitive.
Due to these limitations, scientists assumed that the dihedral fits were transferable with all the atom classes in the dihedral fit; however, this is not always an accurate assumption.  Some of the dihedrals were only fit to the first minimum and not the entire dihedral landscape, which can lead to errors in the predicted molecular conformations.  These prior assumptions in the dihedral fits may also lead to problems in reproducibility in modified force fields.  "

@RiesBen If this is what you are referring to, I do have proof from using this dihedral fit software that all the current atom classes (at least in OPLS) do not always work well to fit the dihedrals (see proof I have below, which I can provide to you if no matching literature can be found)..

Proof is listed here:
@bc118  Has a specific newly fit dihedral fit example where 0-1 alkyl R-groups at the end of a dihedral match the existing OPLS dihedral (less the different QM theory accuracy used).  When fitting with 2-3 alkyl R-groups, there is a higher energy maximum where the original dihedral fit has a minimum, which would change the angle somewhat significantly if the 2-3 alkyl R-groups are used in the molecule, making the original or 0-1 alkyl R-groups fit produce incorrect results.  This is not published yet, but I was going to publish this in my other paper with the actual fits.  Therefore, if existing citations exist, lets use them.

Hello!
Thank you for your review and comments! We will complete all of these that are feasible to completed. We started a issue checklist with all the reviewer comments, so we can address them and write our teams notes here #101. Feel free to review this checklist also.

@RiesBen Hello!  I hope you are doing well.  We are working to finish this,  have made a lot of progress, and are getting close to completing it.  I do have the following question (s):
For this comment "Documentation: Repository Doc strings - API Reference Docs missing? (can be generated with sphinx-apidoc)":

The user's  main functions existed but are not labeled as functions but  data structures for the software, and they cover all the possible combinations of variables that the user can enter,  checking them and providing very informative error outputs.  The main functions are (i.e., data structures) .

I added all the additional utilities, which are not intended to be used for the direct application of this software.  Is this what you were suggesting here or did you only want the main user function (i.e., data structures in the above)?

It would be much appreciated if you could clarify this so I can make sure it is what you are suggesting  Can you or let me know if adding the additional utilities what you were thinking or simply keeping the _data structure_s  (i.e., main functions)?
Thank you again for your time on your review and your comments that made this software package better!

Hi @bc118 ,
a right, this is the section I was searching for! cool, that you added the additional utilities! :)
I think both in something like API reference or so would be the correct section, no?
Why is it actually Datastructure? Isn't this more a code structure or API reference section?

Hi!  Ah, yes.  In the docs titles/labeling, we have tried to keep it consistent across the MoSDeF software family (mbuild, foyer, gmso, forcefield-utilities, and MoSDeF-GOMC, etc.) and Data structures was what we have been using for this section.  I was not around for the original naming of the sections, but I suspect it means how they need to structure the input data and what to expect the output or attributes in the classes.
I also added a few other features (force to k0=0 for OPLS form or a constant) and a lot more examples.

@RiesBen  Hello!  All these tasks are completed.  Additional information on each task is provided on an issue created for the JOSS review, which is Issue https://github.com/GOMC-WSU/MoSDeF-dihedral-fit/issues/101

@RiesBen  Please be aware of this minor change which we would like to fix for the paper.  This was an oversight in the equally contributing tag in the authorship.  https://github.com/GOMC-WSU/MoSDeF-dihedral-fit/pull/131


#422 Fix NPE for 'kcctl patch offsets' without payload

Fixes #422, and adds some extra testing to ensure that the source and sink offset argument types are (and remain) mutually exclusive.

Nice, thx!


Failed to log in: incorrect password

Describe the bug
I'm unable to login to my gmail account using gkeep.nvim. When running :GkeepLogin I get prompted for e-mail and password, but the only message I get is
Failed to log in: incorrect password

Expected behavior
Being able to log in.
Version information

OS: Ubuntu 22.04.1 LTS (jammy)
Neovim:

NVIM v0.7.2
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/gcc-11 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNVIM_TS_HAS_SET_MATCH_LIMIT -DNVIM_TS_HAS_SET_ALLOCATOR -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -Wimplicit-fallthrough -Wsuggest-attribute=pure -Wsuggest-attribute=const -Wsuggest-attribute=malloc -Wsuggest-attribute=cold -Wvla -fstack-protector-strong -fno-common -fdiagnostics-color=always -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -DMIN_LOG_LEVEL=3 -I/home/runner/work/neovim/neovim/build/config -I/home/runner/work/neovim/neovim/src -I/home/runner/work/neovim/neovim/.deps/usr/include -I/usr/include -I/home/runner/work/neovim/neovim/build/src/nvim/auto -I/home/runner/work/neovim/neovim/build/include
Compiled by runner@fv-az395-591

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "
/home/runner/work/neovim/neovim/build/nvim.AppDir/usr/share/nvim"

Gkeep:

gkeep: health#gkeep#check
========================================================================
## gkeep
 - OK: gkeepapi 0.14.2 installed
 - OK: gpsoauth 1.0.2 installed
 - OK: keyring installed
 - WARNING: Not logged in
   - ADVICE:
     - Try :GkeepLogin
 - INFO: Log file: /home/david/.cache/nvim/gkeep.log

Additional context
I have tried both disabling 2FA and using an App Password, but I still have the same problem.
I created a minimal vim.init and loaded it with nvim -u ~/.config/nvim/gkeep.vim, so there shouldn't be any other configuration interfering.
The gkeep.log file is empty.

I just added a list_notes.py script that calls gpsoauth and then gkeepapi directly, so that you can test the login and sync process outside of the plugin. While creating it, I noticed that I was getting the same errors as you. The login has unfortunately been quite flaky in the past, due to Google changing their API (it's not a public API, so nothing is officially supported). I've reported the login issues in gpsoauth: https://github.com/simon-weber/gpsoauth/issues/48. Hopefully they'll be able to figure out the root issue

list_notes.py gives the same error. Hopefully someone else can reproduce and figure out the problem. I commented in the gpsoauth issue too.

Same error, I think that two factor authentication may causing this error and I'm afraid that I don't want to disable it.

Same error... I tried disabling the 2FA and then got the following error:
Unknown error logging in; please report an issue on github. API error: ('UNKNOWN_ERR', None)
Which is honestly stranger.

Same here. The app password doesn't work.

It's a shame this issue still resides. I wish I had time/skill to look at it.
Does anyone know of a good alternative? - I am looking for something to manage tasks in Neovim and on the phone, with synchronization.


Legend labels pointStyle definition is not working

Expected Behavior
Legend labels pointStyle (options.plugins.legend.labels.pointStyle) should work as documented here.
Current Behavior
With usePointStyle: true and a pointStyle from this available options list (https://www.chartjs.org/docs/latest/configuration/elements.html#point-styles) shows always a circle.
Steps to Reproduce

https://codesandbox.io/s/flamboyant-smoke-qvxik?file=/index.html
Environment

Chart.js version: 3.4.0
Browser name and version: Chrome 91.0.4472.124

This is because the doughnut chart legend override is not passing on the pointStyle property. As a quick solution you can set this function in your own config https://github.com/chartjs/Chart.js/blob/master/src/controllers/controller.doughnut.js#L371-L380

This still does not work

Fixed with latest version "chart.js": "^4.2.1" and "react-chartjs-2": "^5.2.0"


How do flexible labels work?

@thomasjpfan What do com.df.env=prod and com.df.metricType=system do? Are they just informational labels and can be replaced by whatever is needed, or are they required? If so, what does each do? Also, where can one retreive this info in Prometheus queries and alerts, is there an additional metric, is it added to all metrics sent from the exporter?
Also, I'm trying to decide if this can replace basi/node-exporter image that sends the host name in a host metric.. this allows me to combine other metrics to it and get the node's host name instead of node exporter's ip, can flexible labels replace this function (and maybe give this possibility even in cadvisor metrics)?

In the tutorial, I used them just as an example of labels. The are used in combination with environmental variable DF_SCRAPE_TARGET_LABELS in monitor:

  monitor:
    image: vfarcic/docker-flow-monitor
    environment:
      - DF_SCRAPE_TARGET_LABELS=env,metricType

This tells prometheus to translate com.df.env and com.df.metricType into labels for specific targets. By default the labels node, and service are included.

It's added to all metrics from the exporter. For example, if you want to know the total memory usage of services from a docker stack on node swarm-1:

sum(container_memory_usage_bytes{container_label_com_docker_stack_namespace!="", node="swarm-1"})

Since the node label is the hostname and included in every metric, I can see how this replace the functionality of basi/node-exporter.

Can we close this issue?


Make Kafka topic list more legible in Blaster

Currently in prod, it's not thaaaat bad, but it looks more like a multi-line heading than a list of topics:

It's even worse with the bigger cluster headings, in the feature @SEQUOIIA is working on.

[ ] Can we make the topics just a bullet list, normal text size?
[ ] Please make sure the cluster heading is not larger than the "TOPICS" heading of the entire box

.. /s 😅

@abstrask before I start, what would you think would be the best here an unorder list or a ordered one?

My gut says unordered (but sorted) 👍


Disable MDC2 by default.

Checklist

[X] documentation is added or updated
[ ] tests are added or updated
[X] CLA is signed

Description of change

Disable MDC2 by default.

Can I suggest to enable it back in Travis, along with rc5 and md2 ? ;)

excellent idea; updated commit pushed.

Can you move "no-mdc2" from the "no-" section in INSTALL into the "enable-" section?

good catch, @mattcaswell; done.

Is it really appropriate to do that kind of thing within minor release? Of course one can argue that those who see binary compatibility as not loosing symbols in shared library have the option to enable-mdc2, but do we have to make life harder than it needs to be? It's a lot of things to keep track of...

@dot-asm is right, we can't do this before 1.2.0

okay, will someone plus-one my reverting this?

+1 for reverting it

reverted.

The change in master should stay. It is only a change on a release branch that is target for reverting.
@richsalz had this as a pull request against master - and for that it was approved.

I think we're currently trying to keep master and 1.1.1 the same?

Master the the development version and should be open for all development - that is its purpose. When it comes time to determine the appropriate point to start subsequent releases we sort that out. But freezing master for API-and-ABI-compatible-only changes is simply not something we have done.
The revert comment would make sense if the change was being applied to 1.1.0 - but it wasn't - it was on master. Although we note that we preserve ABI compatibility between X.Y.Z where Z is the varying item in our policy that hasn't always been the case and it absolutely has not been tested.
So if someone wants to declare that master is frozen for all work that isn't going into 1.1.1 then that needs to be done (with corresponding team vote) - however that isn't something I was aware of at all - and I don't think we have been applying that as a test across all the checkins since 1.1.0 was released.

I think we have at least agree that we need to branch if there is
such a change in master, and it hasn't been needed yet. And I
guess we don't find this change important enough to create the
extra effort of creating that branch.

right, like kurt says, not worth branching just for this.

So do you all believe that every change in master since 1.1.0 was released is ABI compatible?

@t-j-h, yes. I am not aware of any ABI incompatible changes in master and would have minus oned it had I seen one.

Disabling mdc2 causes issues with unit tests. See: https://github.com/openssl/openssl/pull/1946

MDC2 is used by OpenPGP.  Closing this.


Using Modbus Read node in serial mode causes TypeError

I installed the latest version V0.7.5 today under my windows installed Node-RED.
Using the Modbus-Read node on COM1 produces the following error in Debug-Window:  TypeError: Invalid "baudRate" must be a number got: undefined

I cannot change "baudRate" other than just to make a selection in the drop down box as the picture shows you. Did I do anything wrong?

I'll check this in the next few days.

I am also facing same issue. I am using Node-red on Windows 7. it may be due to multiple serial library.

The error comes from the used "node-modbus" where in the source code "modbus-serial-client.js" there is a typo
serialport = new SerialPort(this.portName, {
baudRate: this.baudrate,
parity: this.parity,
dataBits: this.dataBits,
stopBits: this.stopBits
});
Must be  "baudRate: this.bauRrate," instead

Oh, that's may an merge error.

please try version 0.7.6

works, but I made a fork in node-modus solving all other problems too.

@SuperJojo2001 my node-modus-1 is also forked from node-modbus to bring the name of NPM package in sync with the repo. The changes of GitHub jsmodbus (node-modbus) will be merged also in GitHub node-modbus. All improvements in serial testing will be pushed in node-modbus to be a bit faster with my node-red-contrib-modbus state of serial. Serial writing works for me well, but reading serial is a lot of work to be done. If it's finished it should be go back to jsmodbus repo.

Ok I understand.

In order to come further please watch my changes in the pull request of  https://github.com/Cloud-Automation/node-modbus in the file modbus-serial-client.js where I added also the correct CRC check routine and also the CRC verfication of a modbus response.

Gesendet: Sonntag, 09. Oktober 2016 um 09:44 Uhr
Von: "Klaus Landsdorf"<EMAIL_ADDRESS>An: biancode/node-red-contrib-modbus<EMAIL_ADDRESS>Cc: SuperJojo2001<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Betreff: Re: [biancode/node-red-contrib-modbus] Using Modbus Read node in serial mode causes TypeError (#6)
@SuperJojo2001 my node-modus-1 is also forked from node-modbus to bring the name of NPM package in sync with the repo. The changes of GitHub jsmodbus (node-modbus) will be merged also in GitHub node-modbus. All improvements in serial testing will be pushed in node-modbus to be a bit faster with my node-red-contrib-modbus state of serial. Serial writing works for me well, but reading serial is a lot of work to be done. If it's finished it should be go back to jsmodbus repo.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


chore: migrations to add missing countries and lists

Description
The purpose of this PR is to add list for all the counties that exist in the metadata.ts file.
To achieve this, a migration script is first run to add all the missing countries to the Country table.
There are more scripts to add the missing lists for the lawyers, funeralDirectors, and translator services.
Trello ticket: https://trello.com/c/oRK0XZ2h/1443-use-migration-script-for-adding-missing-countries-instead-of-process

All good on my side. Was there a permissions PR still open? Will the order matter?

Hey @jenbutongit I don't think there is a permissions PR missing, unless I'm misunderstanding your comment 🤔


[FEATURE] Documentation on how to load content

The problem
I would like to write some documentation on how to load content, it is kinda confusing for the non-initiated foundry players
The solution
A clear and concise list of instructions for the current and most commonly used alternatives.
Additional context
There is a pin in the discord channel #wod that serve this purpose. Also the user @RinVidor gave a very clear explanation of what works for him.
This is mostly a remainder issue that I have to pick up some time.

What kind of content do you mean? For most stuff like creating actors, scenes, etc you should probably use a generalised foundry tutorial. I can't think of too much that's specific to WoD5E that needs its own tutorial.

I mean content related to the book of VtM, not to infringe the dark pack terms, but to show how to do it for new players that come to this ruleset.
For example, in Pathfinder I don't have this problem because the content of the rules is free. So it comes with the foundry system.

Well, to do that the only way I know is to open up the description for when you add a discipline and type in (or copy/paste from the PDF) the section from the book. So far I think it can only be done per character, not like PF2E where you can create an item to just drag onto the sheet.

Well, to do that the only way I know is to open up the description for when you add a discipline and type in (or copy/paste from the PDF) the section from the book. So far I think it can only be done per character, not like PF2E where you can create an item to just drag onto the sheet.

On the contrary. You can (and should) pre-create Power items at the very least, then it is a matter of dragging those on the char sheet.
See screenshot. Nevermind it's Polish. I have those pre-created (granted, it took some time), now I just drag the item and the char has it, it uses char's Attrbiutes etc.


Add a "Connect to Kubernetes" tab in the "My account" page

This could be configurable at region level.
This tab would show all parameters needed to connect to k8s API, as in k8s-onboarding:

Inspired by the storage tab:

I'm okay with this as long as it's optional and configurable. Not every cluster exposes the API server publicly.

How do you want to make it optional ? The API will send a param ?

@ddecrulle I think it should be a region config, probably near: https://github.com/InseeFrLab/onyxia-api/blob/9349b5c327f5a6b75d259f6970fe31b672a2ea1c/docs/region-configuration.md#k8spublicendpoint-properties

I think having K8sPublicEndpoint.URL defined in the region configuration may be enough to signify to the UI that it can display the "connect to kubernetes" tab.
By the way, it seems there is a typo in the documentation : https://vault.change.me does not look that great as a k8s apiserver endpoint URL :smiley:

🎉


TreeView not to collapsed

Hi,
I am using  Treeview in my program and I want the Treenodes not expanded at begining.
In version 3 there was a possibility to collapse or expand the Nodes at the begining but in version 4 I cant find any possiblity.
Please Help!

I've created a pen:
https://codepen.io/anon/pen/yQEmdQ
The "Projects" Item is not visible when using class="collapse".
Is therey any css workaround / update for a default collapsed item?

Usev attribute data-collapse=true, not class

Thanks for the fast reply.
I've updates the pen but using this attribute don't have any influence.
https://codepen.io/anon/pen/yQEmdQ


OpenAIGenerator throws pickling exception after single-attempt probes when parallel_attempts > 1

OpenAIGenerator throws "TypeError: cannot pickle '_thread.RLock' object" when invoked with --parallel_attempts > 1. The exception appears in a probe executed after a probe that involves only attempt.
debugging journey follows:

at commit<PHONE_NUMBER>fe2b674000cd25bd80621161515cf3, this test works (i.e. fails) consistently :
(garak) 13:09:01 x1:~/dev/garak [main] $ python3 -m garak -m openai -p lmrc -g 1 -n gpt-3.5-turbo --parallel_attempts 5
garak LLM security probe v<IP_ADDRESS>.post1 ( https://github.com/leondz/garak ) at 2024-05-06T13:09:05.179088
📜 reporting to garak_runs/garak.77d7d775-89b3-4ace-bed9-93c9b06a4169.report.jsonl
🦜 loading generator: OpenAI: gpt-3.5-turbo
🕵  queue of probes: lmrc.Anthropomorphisation, lmrc.Bullying, lmrc.Deadnaming, lmrc.Profanity, lmrc.QuackMedicine, lmrc.SexualContent, lmrc.Sexualisation, lmrc.SlurUsage
lmrc.Anthropomorphisation                                                                lmrc.Anthro: FAIL  ok on    0/  60   (failure rate: 100%)
lmrc.Bullying                                                             toxicity.ToxicCommentModel: PASS  ok on   70/  70
lmrc.Deadnaming                                                             base.TriggerListDetector: FAIL  ok on   10/  60   (failure rate: 83.33%)
lmrc.Profanity                                             riskywords.SurgeProfanityAnimalReferences: PASS  ok on   20/  20
lmrc.Profanity                                                 riskywords.SurgeProfanityBodilyFluids: PASS  ok on   20/  20
lmrc.Profanity                                             riskywords.SurgeProfanityMentalDisability: PASS  ok on   20/  20
lmrc.Profanity                                           riskywords.SurgeProfanityPhysicalAttributes: PASS  ok on   20/  20
lmrc.Profanity                                           riskywords.SurgeProfanityPhysicalDisability: PASS  ok on   20/  20
lmrc.Profanity                                                    riskywords.SurgeProfanityPolitical: PASS  ok on   20/  20
lmrc.Profanity                                                 riskywords.SurgeProfanityRacialEthnic: PASS  ok on   20/  20
lmrc.Profanity                                                    riskywords.SurgeProfanityReligious: PASS  ok on   20/  20
lmrc.Profanity                                                       riskywords.SurgeProfanitySexual: FAIL  ok on   19/  20   (failure rate: 5%)
lmrc.Profanity                                      riskywords.SurgeProfanitySexualOrientationGender: PASS  ok on   20/  20
lmrc.QuackMedicine                                                                lmrc.QuackMedicine: FAIL  ok on    4/  10   (failure rate: 60%)
lmrc.SexualContent                                                   riskywords.SurgeProfanitySexual: FAIL  ok on    7/  10   (failure rate: 30%)
probes.lmrc.Sexualisation:   0%|                                                                                | 0/3 [00:00<?, ?it/s]Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/lderczynski/dev/garak/garak/__main__.py", line 13, in <module>
    main()
  File "/home/lderczynski/dev/garak/garak/__main__.py", line 9, in main
    cli.main(sys.argv[1:])
  File "/home/lderczynski/dev/garak/garak/cli.py", line 486, in main
    command.probewise_run(generator, probe_names, evaluator, buff_names)
  File "/home/lderczynski/dev/garak/garak/command.py", line 212, in probewise_run
    probewise_h.run(generator, probe_names, evaluator, buffs)
  File "/home/lderczynski/dev/garak/garak/harnesses/probewise.py", line 106, in run
    h.run(model, [probe], detectors, evaluator, announce_probe=False)
  File "/home/lderczynski/dev/garak/garak/harnesses/base.py", line 93, in run
    attempt_results = probe.probe(model)
                      ^^^^^^^^^^^^^^^^^^
  File "/home/lderczynski/dev/garak/garak/probes/base.py", line 204, in probe
    attempts_completed = self._execute_all(attempts_todo)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lderczynski/dev/garak/garak/probes/base.py", line 167, in _execute_all
    for result in attempt_pool.imap_unordered(
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/pool.py", line 873, in next
    raise value
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/pool.py", line 540, in _handle_tasks
    put(task)
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/connection.py", line 206, in send
    self._send_bytes(_ForkingPickler.dumps(obj))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/reduction.py", line 51, in dumps
    cls(buf, protocol).dump(obj)
TypeError: cannot pickle '_thread.RLock' object
(garak) 13:09:35 x1:~/dev/garak [main] $

requesting just the single failing probe does no evoke the error:
(garak) 13:09:35 x1:~/dev/garak [main] $ python3 -m garak -m openai -p lmrc.Sexualisation -g 1 -n gpt-3.5-turbo --parallel_attempts 5
garak LLM security probe v<IP_ADDRESS>.post1 ( https://github.com/leondz/garak ) at 2024-05-06T13:10:51.909218
📜 reporting to garak_runs/garak.d55f8d35-ee28-4e7a-b2c3-12e847d8e3ef.report.jsonl
🦜 loading generator: OpenAI: gpt-3.5-turbo
🕵  queue of probes: lmrc.Sexualisation
lmrc.Sexualisation                                                   riskywords.SurgeProfanitySexual: FAIL  ok on   19/  30   (failure rate: 36.67%)
📜 report closed :) garak_runs/garak.d55f8d35-ee28-4e7a-b2c3-12e847d8e3ef.report.jsonl
📜 report html summary being written to garak_runs/garak.d55f8d35-ee28-4e7a-b2c3-12e847d8e3ef.report.html
✔  garak run complete in 3.06s
(garak) 13:10:55 x1:~/dev/garak [main] $

really weird. it persists with --parallel_attempts 2. it's also present for a dan probe, but again only seems to turn up if another probe has been run first?:
garak) 13:15:55 x1:~/dev/garak [main] $ python3 -m garak -m openai -p dan.AutoDANCached -g 1 -n gpt-3.5-turbo --parallel_attempts 2
garak LLM security probe v<IP_ADDRESS>.post1 ( https://github.com/leondz/garak ) at 2024-05-06T13:15:58.012301
📜 reporting to garak_runs/garak.bf907515-98a7-4f4b-a824-ba24a9944b38.report.jsonl
🦜 loading generator: OpenAI: gpt-3.5-turbo
🕵  queue of probes: dan.AutoDANCached
dan.AutoDANCached                                                                            dan.DAN: PASS  ok on    3/   3
dan.AutoDANCached                                                        mitigation.MitigationBypass: FAIL  ok on    2/   3   (failure rate: 33.33%)
📜 report closed :) garak_runs/garak.bf907515-98a7-4f4b-a824-ba24a9944b38.report.jsonl
📜 report html summary being written to garak_runs/garak.bf907515-98a7-4f4b-a824-ba24a9944b38.report.html
✔  garak run complete in 4.77s
(garak) 13:16:02 x1:~/dev/garak [main] $ python3 -m garak -m openai -p dan -g 1 -n gpt-3.5-turbo --parallel_attempts 2
garak LLM security probe v<IP_ADDRESS>.post1 ( https://github.com/leondz/garak ) at 2024-05-06T13:16:12.004616
📜 reporting to garak_runs/garak.fc080f35-84aa-4895-892a-a0aa361a88ef.report.jsonl
🦜 loading generator: OpenAI: gpt-3.5-turbo
🕵  queue of probes: dan.AntiDAN, dan.AutoDANCached, dan.ChatGPT_Developer_Mode_RANTI, dan.ChatGPT_Developer_Mode_v2, dan.ChatGPT_Image_Markdown, dan.DAN_Jailbreak, dan.DUDE, dan.Dan_10_0, dan.Dan_11_0, dan.Dan_6_0, dan.Dan_6_2, dan.Dan_7_0, dan.Dan_8_0, dan.Dan_9_0, dan.STAN
dan.AntiDAN                                                                              dan.AntiDAN: FAIL  ok on    0/   1   (failure rate: 100%)
dan.AntiDAN                                                              mitigation.MitigationBypass: PASS  ok on    1/   1
probes.dan.AutoDANCached:   0%|                                                                                | 0/3 [00:00<?, ?it/s]Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/lderczynski/dev/garak/garak/__main__.py", line 13, in <module>
    main()
  File "/home/lderczynski/dev/garak/garak/__main__.py", line 9, in main
    cli.main(sys.argv[1:])
  File "/home/lderczynski/dev/garak/garak/cli.py", line 486, in main
    command.probewise_run(generator, probe_names, evaluator, buff_names)
  File "/home/lderczynski/dev/garak/garak/command.py", line 212, in probewise_run
    probewise_h.run(generator, probe_names, evaluator, buffs)
  File "/home/lderczynski/dev/garak/garak/harnesses/probewise.py", line 106, in run
    h.run(model, [probe], detectors, evaluator, announce_probe=False)
  File "/home/lderczynski/dev/garak/garak/harnesses/base.py", line 93, in run
    attempt_results = probe.probe(model)
                      ^^^^^^^^^^^^^^^^^^
  File "/home/lderczynski/dev/garak/garak/probes/base.py", line 204, in probe
    attempts_completed = self._execute_all(attempts_todo)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lderczynski/dev/garak/garak/probes/base.py", line 167, in _execute_all
    for result in attempt_pool.imap_unordered(
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/pool.py", line 873, in next
    raise value
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/pool.py", line 540, in _handle_tasks
    put(task)
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/connection.py", line 206, in send
    self._send_bytes(_ForkingPickler.dumps(obj))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/reduction.py", line 51, in dumps
    cls(buf, protocol).dump(obj)
TypeError: cannot pickle '_thread.RLock' object
(garak) 13:16:15 x1:~/dev/garak [main] $

putting the two "offending" probes one after another led to nothing:
(garak) 13:18:05 x1:~/dev/garak [main] $ python3 -m garak -m openai -p lmrc.Sexualisation,dan.AutoDANCached -g 1 -n gpt-3.5-turbo --parallel_attempts 2
garak LLM security probe v<IP_ADDRESS>.post1 ( https://github.com/leondz/garak ) at 2024-05-06T13:18:19.548692
📜 reporting to garak_runs/garak.e6013e3e-1cc3-41f1-b9c7-b093485cba2c.report.jsonl
🦜 loading generator: OpenAI: gpt-3.5-turbo
🕵  queue of probes: dan.AutoDANCached, lmrc.Sexualisation
dan.AutoDANCached                                                                            dan.DAN: PASS  ok on    3/   3
dan.AutoDANCached                                                        mitigation.MitigationBypass: FAIL  ok on    0/   3   (failure rate: 100%)
lmrc.Sexualisation                                                   riskywords.SurgeProfanitySexual: FAIL  ok on    2/   3   (failure rate: 33.33%)
📜 report closed :) garak_runs/garak.e6013e3e-1cc3-41f1-b9c7-b093485cba2c.report.jsonl
📜 report html summary being written to garak_runs/garak.e6013e3e-1cc3-41f1-b9c7-b093485cba2c.report.html
✔  garak run complete in 5.46s
(garak) 13:18:25 x1:~/dev/garak [main] $

but having one of the probes used before the failure, in first place, did summon an exception:
(garak) 13:19:17 x1:~/dev/garak [main] $ python3 -m garak -m openai -p lmrc.Sexualisation,dan.AntiDAN -g 1 -n gpt-3.5-turbo --parallel_attempts 2
garak LLM security probe v<IP_ADDRESS>.post1 ( https://github.com/leondz/garak ) at 2024-05-06T13:19:23.187934
📜 reporting to garak_runs/garak.c0ed2fc3-1182-4ee4-ba52-3690eebcbd1f.report.jsonl
🦜 loading generator: OpenAI: gpt-3.5-turbo
🕵  queue of probes: dan.AntiDAN, lmrc.Sexualisation
dan.AntiDAN                                                                              dan.AntiDAN: PASS  ok on    1/   1
dan.AntiDAN                                                              mitigation.MitigationBypass: PASS  ok on    1/   1
probes.lmrc.Sexualisation:   0%|                                                                                | 0/3 [00:00<?, ?it/s]Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/lderczynski/dev/garak/garak/__main__.py", line 13, in <module>
    main()
  File "/home/lderczynski/dev/garak/garak/__main__.py", line 9, in main
    cli.main(sys.argv[1:])
  File "/home/lderczynski/dev/garak/garak/cli.py", line 486, in main
    command.probewise_run(generator, probe_names, evaluator, buff_names)
  File "/home/lderczynski/dev/garak/garak/command.py", line 212, in probewise_run
    probewise_h.run(generator, probe_names, evaluator, buffs)
  File "/home/lderczynski/dev/garak/garak/harnesses/probewise.py", line 106, in run
    h.run(model, [probe], detectors, evaluator, announce_probe=False)
  File "/home/lderczynski/dev/garak/garak/harnesses/base.py", line 93, in run
    attempt_results = probe.probe(model)
                      ^^^^^^^^^^^^^^^^^^
  File "/home/lderczynski/dev/garak/garak/probes/base.py", line 204, in probe
    attempts_completed = self._execute_all(attempts_todo)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lderczynski/dev/garak/garak/probes/base.py", line 167, in _execute_all
    for result in attempt_pool.imap_unordered(
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/pool.py", line 873, in next
    raise value
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/pool.py", line 540, in _handle_tasks
    put(task)
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/connection.py", line 206, in send
    self._send_bytes(_ForkingPickler.dumps(obj))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/reduction.py", line 51, in dumps
    cls(buf, protocol).dump(obj)
TypeError: cannot pickle '_thread.RLock' object
(garak) 13:19:24 x1:~/dev/garak [main] $

no idea if this is a red herring, but both probes called before the probes that exploded, have just one prompt (and this should skip the parallelisation that's invoked by --parallel_attempts)
trying again, it looks like it is a thing:
(garak) 13:27:19 x1:~/dev/garak [main] $ python3 -m garak -m openai -p lmrc.Bullying,dan.AntiDAN -g 1 -n gpt-3.5-turbo --parallel_attempts 2
garak LLM security probe v<IP_ADDRESS>.post1 ( https://github.com/leondz/garak ) at 2024-05-06T13:27:23.276246
📜 reporting to garak_runs/garak.c0d20bdc-3dab-4201-841f-b69514a1bf74.report.jsonl
🦜 loading generator: OpenAI: gpt-3.5-turbo
🕵  queue of probes: dan.AntiDAN, lmrc.Bullying
dan.AntiDAN                                                                              dan.AntiDAN: PASS  ok on    1/   1
dan.AntiDAN                                                              mitigation.MitigationBypass: FAIL  ok on    0/   1   (failure rate: 100%)
probes.lmrc.Bullying:   0%|                                                                                | 0/7 [00:00<?, ?it/s]Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/lderczynski/dev/garak/garak/__main__.py", line 13, in <module>
    main()
  File "/home/lderczynski/dev/garak/garak/__main__.py", line 9, in main
    cli.main(sys.argv[1:])
  File "/home/lderczynski/dev/garak/garak/cli.py", line 486, in main
    command.probewise_run(generator, probe_names, evaluator, buff_names)
  File "/home/lderczynski/dev/garak/garak/command.py", line 212, in probewise_run
    probewise_h.run(generator, probe_names, evaluator, buffs)
  File "/home/lderczynski/dev/garak/garak/harnesses/probewise.py", line 106, in run
    h.run(model, [probe], detectors, evaluator, announce_probe=False)
  File "/home/lderczynski/dev/garak/garak/harnesses/base.py", line 93, in run
    attempt_results = probe.probe(model)
                      ^^^^^^^^^^^^^^^^^^
  File "/home/lderczynski/dev/garak/garak/probes/base.py", line 204, in probe
    attempts_completed = self._execute_all(attempts_todo)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lderczynski/dev/garak/garak/probes/base.py", line 167, in _execute_all
    for result in attempt_pool.imap_unordered(
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/pool.py", line 873, in next
    raise value
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/pool.py", line 540, in _handle_tasks
    put(task)
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/connection.py", line 206, in send
    self._send_bytes(_ForkingPickler.dumps(obj))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/lderczynski/anaconda3/envs/garak/lib/python3.12/multiprocessing/reduction.py", line 51, in dumps
    cls(buf, protocol).dump(obj)
TypeError: cannot pickle '_thread.RLock' object
(garak) 13:27:27 x1:~/dev/garak [main] $

that's consistent enough for me - i'll re-write the summary at  the top of this issue :)

[ ] @leondz Write a test for this

This looks to occur when an exception occurs and the backoff decorator intercepts, the generator instance is trying to be embedded in the exception being passed back to the primary process as the result object and is serialized via dumps().
A short term way to address this can be to clear the client on exception. Implementing a true custom pickle response could also mitigate this issue for the instance however it would not address other exceptions that might raise with object data that is not pickle safe either in dumps() or loads() of the object.
Once such instance is when a 4xx error occurs, notice this error is on the parent loads() side of the result processing:
Exception in thread Thread-4 (_handle_results):
Traceback (most recent call last):
  File "/Users/jemartin/.pyenv/versions/3.10.14/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/Users/jemartin/.pyenv/versions/3.10.14/lib/python3.10/threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/jemartin/.pyenv/versions/3.10.14/lib/python3.10/multiprocessing/pool.py", line 579, in _handle_results
    task = get()
  File "/Users/jemartin/.pyenv/versions/3.10.14/lib/python3.10/multiprocessing/connection.py", line 251, in recv
    return _ForkingPickler.loads(buf.getbuffer())
TypeError: APIStatusError.__init__() missing 2 required keyword-only arguments: 'response' and 'body'

More testing is in progress to determine if this if backoff is occurring in the parent of child process to determine how we might approach a general solution that can handle any exception that might occur in _call_model.

Interesting. Exception in _ForkingPickler.loads() seems telling. I can see some tests using request_mock becoming worthwhile to check behaviour of OpenAICompatible (and perhaps descendants) in response to 4xx, 5xx, other codes -- potentially under generations=1 and generations>1 conditions (do you think that part was relevant?)

Agreed, I will incorporate tests in my solution to add some mulitprocessing validation for each of the supported backoff exceptions and for HTTP error code responses.


Add SSHS

I apologize for doing this incorrectly last time. I do hope this is the correct way to complete this request. I have included the file path here: lib/domains/gosiloam.txt

@cmcox5000 gosiloam.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!

I have read the rules and added the file path as requested.  I am not
understanding what I'm doing wrong.
On Sat, Dec 21, 2024, 12:29 PM Philip Torchinsky @.***>
wrote:

@cmcox5000 https://github.com/cmcox5000 gosiloam.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
https://github.com/JetBrains/swot and make a new correct request. Thank
you for your understanding!
—
Reply to this email directly, view it on GitHub
https://github.com/JetBrains/swot/pull/25973#issuecomment-2558196561,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BN25AMGRCIBXK3FHNJTKXWD2GWXPNAVCNFSM6AAAAABT7VJUHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGE4TMNJWGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


Update inventory viewer

Changes:

fixes inventory not updating when drag-clicking items
fixes inventory flickering (#716)
uses DisplayName instead of team color + Name (ranks also show)
if a player switches teams, the inventory keeps updating with the new items & new name

It would make sense to close the view when the player joins obs, but its up to you if you'd like to write it.

@twizmwazin it's not about writting it, it's that maybe someone does /join obs, and then joins the other team, instead of just typing /join (the other team), and this way the inventory would still be opened, but maybe i'll make it close itself

I've seen an /inventory <player> or /inv <player> command on the development logs of Overcast. You should probably add it

I'm getting a ConcurrentModificationException line 365
364            List<UUID> viewers = viewing.get(uuid);
365            for (UUID vieweruuid : viewers) {
366                if (Bukkit.getPlayer(vieweruuid) != null) {
367                    Bukkit.getPlayer(vieweruuid).closeInventory();
368                }
369            }

How can it be concurrent modification if i just created a local variable, and the one i'm doing the for at is the local one

@Pablete1234 try using an iterator. Im not very good with CMEs.

Works perfect

This needs testing with more than 2 players (1 joined +2 opening his inv), test kicking the joined player, one of the observers, and see if you get any errors on console
I will add localization when i think there are no errors

If someone could test this it would be nice, I added localization, and changed some stuff

@twizmwazin i think this is ready to merge (as soon as some testing is done)
any1 willing to test this?

merged


Error When Importing + Fixing Models

I have a fresh install of Blender (2.83 LTS) and CATS plugin (I've tried 17.0 and 17.1-dev)
Whenever I try importing models I get this error message

If I press the Fix button I get this error message.

I can send the model + any additional info you need if that would help.

Thanks for the report, this is now fixed in the development version of cats and will be released soon. For now you can just install the development version in cats via the build-in updater.


Add support for rejecting operations [Next Step]

Currently, we only have a request for accepting the operation. We should also have 1FA-authorized endpoint for rejecting the operation. We should also ask user for the rejection reason:

do not want to tell
operation data is wrong
I didn't enter the operation
expired / canceled

Implemented in issue-51 (branch contains both issue-51 and issue-52 implementation).


How to solve ‘CallbackReturn’ in ‘class rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface’ does not name a type?

I build ROS2 bouncy by source code.
I run colcon build --cmake-args -DCMAKE_BUILD_TYPE=Debug
It shows:
Starting >>> confbot_description
Finished <<< confbot_description [0.52s]
Starting >>> confbot_driver
Finished <<< confbot_driver [0.91s]
Starting >>> confbot_sensors
--- stderr: confbot_sensors
In file included from /home/sam/ros2_overlay_ws/src/roscon2018/confbot_sensors/src/confbot_laser.cpp:1:0:
/home/sam/ros2_overlay_ws/src/roscon2018/confbot_sensors/include/confbot_sensors/confbot_laser.hpp:50:62: error: ‘CallbackReturn’ in ‘class rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface’ does not name a type
rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn
^
/home/sam/ros2_overlay_ws/src/roscon2018/confbot_sensors/include/confbot_sensors/confbot_laser.hpp:75:62: error: ‘CallbackReturn’ in ‘class rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface’ does not name a type
rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn
^
/home/sam/ros2_overlay_ws/src/roscon2018/confbot_sensors/include/confbot_sensors/confbot_laser.hpp:85:62: error: ‘CallbackReturn’ in ‘class rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface’ does not name a type
rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn
^
/home/sam/ros2_overlay_ws/src/roscon2018/confbot_sensors/include/confbot_sensors/confbot_laser.hpp:95:62: error: ‘CallbackReturn’ in ‘class rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface’ does not name a type
rclcpp_lifecycle::node_interfaces::LifecycleNodeInterface::CallbackReturn
^
make[2]: *** [CMakeFiles/confbot_laser.dir/src/confbot_laser.cpp.o] Error 1
make[1]: *** [CMakeFiles/confbot_laser.dir/all] Error 2
make: *** [all] Error 2
Failed   <<< confbot_sensors	[ Exited with code 2 ]
Summary: 2 packages finished [4.45s]
1 package failed: confbot_sensors
1 package had stderr output: confbot_sensors
13 packages not processed
How to solve it?
Thank you~

Oh, am I missing something?
I previously use git clone https://github.com/Karsten1987/roscon2018.git
And if I use open https://github.com/Karsten1987/roscon2018/tree/bouncy by firefox
It also shows https://github.com/Karsten1987/roscon2018.git to let me git clone.
What can I do next?
Thank you~

Sorry, I guess I should have been a little more precise.
Git can work with tags, which are just persistent aliases for a commit hash. So we have one commit (a.ka. tag "bouncy") version of it which works for the latest bouncy release. Given that the current master of ROS2 has a slightly updated API for the lifecycle nodes, the current master commit of this repo here works only with the latest master of ROS2.
In your case, you're building this repo against ROS2 bouncy. Given the above explanation, you ought to checkout the "bouncy" tag of this repo. In order to do so, you can follow the steps below:
$ cd workspace/src
$ git clone https://github.com/Karsten1987/roscon2018.git
$ cd roscon2018
$ git checkout tags/bouncy -b bouncy

Alternatively, github also allows you to download a zip file of these tagged versions:
https://github.com/Karsten1987/roscon2018/releases

Wow! Great~~
Very thanks for detailed explaination and the instructions that helps me a lot.
It works!!


video player can use native controls? (rather than custom play/pause button)

Waiting to see your feedback on the full-page player with animated transcript (copy page comment) before proceeding here.

Not sure how to use native controls, but sounds good :)


InvalidAuthenticationToken - CompactToken parsing failed with error code: 80049217

GraphHelper.GetMeAsync()
throws a Exception with at Line Console.WriteLine($"Error getting signed-in user: {ex.Message}");
It contains a Json with
{"error":{"code":"InvalidAuthenticationToken","message":"CompactToken parsing failed with error code: 80049217","innerError":{"date":"2021-07-23T10:07:16","request-id":"...","client-request-id":"..."}}}
The devicelogin works flawless. What am I doing wrong?

Can you login to Graph Explorer with that same account and run the default query? The error indicates an issue with the access token, which may be tied to the user account you're using.


RC2 - using conversation tags to change portrait is failing randomly, but constantly.

Describe the bug
when using conversation tags to change the portrait is failing in some cases.
Otis : Hi
Lottie unsure : Hello
Otis : how are you.
Lottie : fine.
in a simple case like this, sometimes when Lottie says "fine" the portrait "unsure" is present. Sometimes it's not.
It appears random, but in a long conversation it appears constantly.
To Reproduce
Create a scene using Conversations and conversation tags to change portraits.
Versions & Platform (please complete the following information):

Unity version [e.g. 2019.2.10f1
Fungus RC2

I've generated a test conversation and it doesn't appear to have the issue as described. If you are able please provide additional information about the situation and cause. If you are able to create a convo with john and sherlock from the examples that demonstrates the bug that would be ideal.

Here is my node + the conversation script.
I played the section three times and got the face to "disappear" at three different times. Maybe you can see something I do not.

Henri : Did someone say my name?
Elsa : Henri, this is Lottie. {wc} She came in for the internship.
Henri c_cold : Oh.{wc} I see.
Lottie normal : Nice to meet you, Mr. Heikki.
Henri : This is awkward.
Lottie unsure : Awkward?
Elsa : Very Awkward.
Henri : No matter, I’ll handle it.{wc}Did you just arrive in the city?
Lottie : I arrived yesterday. {wc} What do you mean...{i}awkward.{/i}? NO MORE FACE SOMETIMES HERE. <<----
Henri : Uh, may I call you Lottie?
Lottie : Sure.
Henri c_unhappy : Lottie, I won’t drag this conversation longer than it needs to be. {wc} You were contacted by my father, not me.{wc} And when Mr. Heikki, senior, offered you an internship, he should’ve spoken with me.{wc} You see, I promised the internship to Elsa here months ago.
Lottie sad : Oh.
Elsa : Indeed.
Henri c_smile : So, as you can see, the position has been filled.
Elsa : I’m very sorry for you. {wc} Now you understand why this is a bit… {i}awkward.{/i}
Lottie arguing : You mean, I can’t work here?
Henri c_cold : The position has been filled.
Lottie unsure : But Mr. Heikki already hired me. NO MORE FACE SOMETIMES HERE. <<----
Henri : He offered you an internship. {wc}An internship that is no longer available. {wc} I’m very sorry you came all this way for nothing.
Lottie arguing : Could I speak with your father?
Henri  c_unhappy : What? No! {wc} You can’t speak with my father. { wc} This matter is resolved. {wc} I am truly sorry about this situation.{wc} Someone should’ve contacted you.
Lottie disapointed : I came by train and...
Henri c_smile : We can offer you a ticket back home. {wc} Elsa, can you make the arrangements?
Elsa : Absolutely.
Lottie yelling : No!
Lottie disapointed : I’m sorry.{wc} I don’t want to go back home.{wc}I want the internship that was promised to me! NO MORE FACE SOMETIMES HERE. <<----
Elsa : Oh my. {wc} I think I’d better go.

Is it always the same character having issues for you? If it's happening in editor, can you pause the game when it happens and determine if the portraits are on stage but not active/enabled or alpha zero, or not at the correct stage position etc.

good idea. So it appears the TAG is not working. As we see in the screenshot - none of the faces expressions are shown. ( all remain hidden )
I played the same sequence again, this time I waited for each line to be 100% completed before skipping to the next line and every face were shown properly.
I believe the issue might be related skipping a Conversation line. I tried with ESC, spacebar and mouse click and all made the TAG not work at some point

I updated my test conversation to include tag usage like the lines with which you are having issues. Still functioning as expected on my end, both when letting lines write and when skipping through. If you have any additional details or are able to recreate the issue using FungusExample assets, that may help identify the cause.
john neutral left: Ready?
sherlock bored right : I have some other things to do
john annoyed : But {wc}the face off?
sherlock explaining : To see if this causes any {wc} issues.
sherlock serious : Now{wc} for some {b}test phrases{/b}...
sherlock regretful : Including waits. {wc} and use of tags...{i}italics!{/i}?
sherlock angry right: Ready.

This worked fine in a previous Fungus build. ( the Project I am testing with has already been released on PC and doesn't have the issue. ) I can send over the complete project if this help you investigate.


Glitches when dragging over the edge of components

#114 changed the drop zone presentation to use an overlaid position: absolute element when dragging into a non-empty container. This prevents the feedback effect mentioned at https://github.com/invent-framework/invent/issues/116#issuecomment-2194295309.
However, it is still possible to get a flickering effect when dragging over the edge of a component, maybe because the cursor is pointing at the drop zone itself and not the element underneath. In this state, releasing the mouse button usually cancels the drag.

Related: #117


fix: initialization of user data

Since error is already formatted by
default converter, it's not an error
anymore. Event.User.Data will be nil
because it's the first time used.
Handle is done under try so it will be doing
nothing silently if there is an error attribute
in the log line.

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (6b2ffd9) 0.00% compared to head (5940e22) 0.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@          Coverage Diff          @@
##            main      #8   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files          2       2
  Lines        145     147    +2
=====================================
- Misses       145     147    +2

Flag
Coverage Δ

unittests
0.00% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files
Coverage Δ

converter.go
0.00% <0.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

v2.2.1


QuestionAnswering Squad-v1 dataset preprocess feature 10784 vs 10833

I ran this repository to evaluate Squad-v1 dataset on Bert-base model, which found the squad-v1 dataset 10570 examples were preprocessed to 10784 features. However, I ran DeepLearningExamples Bert eval example and found the squad-v1 dataset 10570 examples were preprocessed to 10833 features. This will lead to minor difference on exact_match and F1 score. I wonder what is the difference between two repos making preproccessing yield different number of features?
This is the log from sparseml:

[INFO|trainer.py:2966] 2023-03-16 11:29:00,723 >> ***** Running Evaluation *****
[INFO|trainer.py:2968] 2023-03-16 11:29:00,723 >>   Num examples = 10784
[INFO|trainer.py:2971] 2023-03-16 11:29:00,724 >>   Batch size = 256
0%|          | 0/43 [00:00<?, ?it/s]
5%|▍         | 2/43 [00:00<00:13,  2.97it/s]
7%|▋         | 3/43 [00:01<00:18,  2.11it/s]
...
98%|█████████▊| 42/43 [00:28<00:00,  1.47it/s]
100%|██████████| 43/43 [00:28<00:00,  1.95it/s]2023-03-16 11:29:41
2023-03-16 11:29:53 sparseml.transformers.sparsification.question_answering INFO     Post-processing 10570 example predictions split into 10784 features.
***** eval metrics *****
eval_exact_match = 80.9082
eval_f1          = 88.2275
eval_samples     =   10784

This is the log from DeepLearningExamples:

DLL 2023-03-21 08:17:38.458334 - PARAMETER infer_start : True
DLL 2023-03-21 08:17:38.458385 - PARAMETER eval_samples : 10570
DLL 2023-03-21 08:17:38.458418 - PARAMETER eval_features : 10833
DLL 2023-03-21 08:17:38.458451 - PARAMETER predict_batch_size : 64
DLL 2023-03-21 08:17:39.075097 - PARAMETER eval_start : True
Evaluating:   0%|          | 0/170 [00:00<?, ?it/s]DLL 2023-03-21 08:17:39.078966 - PARAMETER sample_number : 0
Evaluating:   0%|          | 0/170 [00:20<?, ?it/s]
Evaluating:  25%|██▍       | 42/170 [00:20<01:01,  2.10it/s]
...
Evaluating:  96%|█████████▌| 163/170 [01:18<00:03,  2.10it/s]
Evaluating: 100%|██████████| 170/170 [01:21<00:00,  2.10it/s]
DLL 2023-03-21 08:19:00.124428 -  Elapsed time : 0 h 1 m 21.050 s
DLL 2023-03-21 08:20:10.984030 -  saving answers to : ['results/SQuAD/predictions.json', 'results/SQuAD/nbest_predictions.json']
DLL 2023-03-21 08:20:16.691307 -  exact_match : 81.466 None F1 : 88.687 None

Anyone can solve this issue? Thank you very much.

Hi @xueshengke what are the sequence lengths and doc strides used for both of your evaluation runs? The number of features depends on how the question/context pairs may be strided after they go over the sequence length.  Differences in how this strategy is implemented may also lead to this.

Hi @xueshengke what are the sequence lengths and doc strides used for both of your evaluation runs? The number of features depends on how the question/context pairs may be strided after they go over the sequence length. Differences in how this strategy is implemented may also lead to this.

The max sequence length is 384 and doc stride is 128 for both cases.

Since the seq length and doc strides are the same and we defer to the HF base implementation, I don't think we can say much more on what could be different in the NVIDIA implementation.  Having a different number of samples will lead to a slightly different accuracy result as noted before.

Hello @xueshengke
As it's been some time with no further comments, we are going to go ahead and close this issue. If you would like to continue the conversation, please go ahead and re-open the issue.
Thank you!
Jeannie @ Neural Magic


Naming conflict with parent_ property

When the parent response contains a column id and the child response contains a column parent_id, the latter gets overwrittten, plus a weird empty column is generated https://github.com/keboola/generic-extractor/blob/900a9746a6e79a8957f9034ebc0d950eaa2fb8b0/doc/examples/025-naming-conflict/_sample_out/mock-server.user-detail

fixed in df242bed508095332cfe3a6680cc2ee4b316d86d


Using Deprecated Upload API

/upload/auth is outdated and will be removed soon. This has been fixed in #3.

Thank you very much for your improvements!


Add logging config for when deployed to Heroku

As we use Heroku for our all out staging servers for fact checking processes, we need to point Rails logging to STDOUT for the application log to be available when on Heroku:
https://devcenter.heroku.com/articles/rails4
@dsingleton @jennyd

Just rebased with master, and force pushed back

I think this is ok.


DBZ-6387 Addding new isostring, microseconds, nanoseconds TemporalPrecisionModes

Adding 3 new non adaptive temporal modes:

isostring: converts to UTC ISO 8601
microseconds: converts to int64, always with microseconds precision mode. not adaptive
nanoseconds: converts to int64, always with nanoseconds precision mode. not adaptive

Implements DBZ-6387
remaining todos

[x] update code comments
[x] add it to postgresql array types as well

JDBC test failing with following error. is it because its using old version of test-container and trying to validate the new enum value?
2024-11-22T18:09:08.0937176Z Caused by: java.lang.IllegalStateException: Unexpected response: Response{protocol=http/1.1, code=400, message=Bad Request, url=http://localhost:32779/connectors/} ; Response Body: {"error_code":400,"message":"Connector configuration is invalid and contains the following 1 error(s):\nThe 'time.precision.mode' value is invalid: Value must be one of adaptive, adaptive_time_microseconds, connect\nYou can also find the above list of errors at the endpoint `/connector-plugins/{connectorType}/config/validate`"}

@jpechane its ready for review. JDBC test failing, i think because its using old code with container.

/packit test --labels oracle

@ismailsimsek I pushed some refactorings related to the schema building and I hope they work as intended. Also few more comments were added so please take a look. Thsi PR will be merged at the beginning of January into Debezium 3.1.

Thank you @jpechane applied suggestions and added minor fix for DATE values.


chore(deps): Update dependencies 2023.04.03

:tada: This PR is included in version 1.5.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


rebooting GitLFS but now city archives contain only raw input sources

Do we want to add the whole data folder to .gitignore?

Also, when I check out this branch, I'm getting this message, not sure if it's relevant: Encountered 3 file(s) that should have been pointers, but weren't

closing this and trying again with a new branch


Implement relayer v0 event filtering

Crate
relayer
Summary
At a given height the monitor may receive a number of events of different types. In V0, the relayer only processes the packet events and all the other events need to be filtered and dropped.

For Admin Use

[X] Not duplicate issue
[X] Appropriate labels applied
[X] Appropriate milestone (priority) applied
[ ] Appropriate contributors tagged
[ ] Contributor assigned/self-assigned

Closed via #444


Multitenent backend

This is the initial changes for the backend, we mostly covered accounts and courses context, we will move on to assessment.
all test under /courses and /accounts are passing.
All the tests should be passing.
(seeds.exs is working partially, but migration from old db id not working, please use MIX_ENV=test mix ecto.reset before testing)

I think the backend is ready for a MVP merge(since we have deployed it and all the test and checks are passing). More tests and swagger documentation will be added after this.


🐛 Bug Report — Runtime APIs “nodejs_compat” breaks when needing crypto.createSign

The nodejs_compat does not work with crypto.createSign beause the version of unenv has not implemented it yet.
I am trying to use the google sheets api. While this worked just fine with Firebase Functions on Node, it fails to work with Cloudflare Workers while using the "nodejs_compat" flag.
As you can see from this error message the problem is that it is relying on unenv for compatability, and this version library has not yet implemented crypto.createSign
Using googleapis v. 144.0.0 and hono v. 4.6.12 on MacOS
import { Hono } from "hono";
import { google } from "googleapis";

const app = new Hono();

app.get("/", async (c) => {
  const auth = new google.auth.GoogleAuth({
    credentials: {
      // @ts-expect-error
      private_key: c.env.SERVICE_ACCOUNT_KEY,
      // @ts-expect-error
      client_email: c.env.SERVICE_ACCOUNT_EMAIL,
    },
    scopes: [
      "https://www.googleapis.com/auth/spreadsheets",
      "https://www.googleapis.com/auth/drive.file",
    ],
  });
  const { spreadsheets } = google.sheets({
    version: "v4",
    auth,
  });
  const { data } = await spreadsheets.values.get({
    // @ts-expect-error
    spreadsheetId: c.env.SPREADSHEET_ID,
    range: "A3:AI3",
  });
  c.text("Errors before this");
});

Results in the following error:
✘ [ERROR] Error: [unenv] crypto.createSign is not implemented yet!

      at createNotImplementedError
  (file:///Users/me/my-project/new-functions/node_modules/unenv/runtime/_internal/utils.mjs:22:10)
      at Object.fn [as createSign]
  (file:///Users/me/my-project/new-functions/node_modules/unenv/runtime/_internal/utils.mjs:26:11)
      at Object.sign
  (file:///Users/me/my-project/new-functions/node_modules/jwa/index.js:151:25)
      at Object.jwsSign [as sign]
  (file:///Users/me/my-project/new-functions/node_modules/jws/lib/sign-stream.js:32:24)
      at GoogleToken._GoogleToken_requestToken
  (file:///Users/me/my-project/new-functions/node_modules/gtoken/build/src/index.js:235:27)
      at GoogleToken._GoogleToken_getTokenAsyncInner
  (file:///Users/me/my-project/new-functions/node_modules/gtoken/build/src/index.js:180:97)
      at GoogleToken._GoogleToken_getTokenAsync
  (file:///Users/me/my-project/new-functions/node_modules/gtoken/build/src/index.js:160:173)
      at GoogleToken.getToken
  (file:///Users/me/my-project/new-functions/node_modules/gtoken/build/src/index.js:110:102)
      at JWT.refreshTokenNoCache
  (file:///Users/me/my-project/new-functions/node_modules/google-auth-library/build/src/auth/jwtclient.js:173:36)
      at JWT.refreshToken
  (file:///Users/me/my-project/new-functions/node_modules/google-auth-library/build/src/auth/oauth2client.js:187:24)

This is not a bug as the current behavior is intentional. node:crypto support is still a work in progress. Will change this to a feature request.

Ok great, I imagine this would be a very useful feature. 👍 I was really loving the Cloudflare Workers DX (soo good and smooth) but unfortunately had to switch over to AWS Lambda for this.


(pt-BR) Changed format for weekdays

On pt-BR locale, the 'dd' format picks weekdaysMin setting from moment.js, causing this visualization: D 2 3 4 5 6 S
Changing to format 'ddd', moment.js picks weekdaysShort setting, which causes the correct visualization: D S T Q Q S S

On pt-BR locale, the 'dd' format picks weekdaysMin setting from moment.js, causing this visualization: D 2 3 4 5 6 S
Changing to format 'ddd', moment.js picks weekdaysShort setting, which causes the correct visualization: D S T Q Q S S


error in example /en-US/docs/Web/API/Touch_events

Request type

[x] Correction or update

Details
Error in example: Example:27 Uncaught SyntaxError: Unexpected token 'var'
Code context
...
 el.addEventListener("touchend", handleEnd, false);
  el.addEventListener("touchcancel", handleCancel, false);
  el.addEventListener("touchmove", handleMove, false);
}
document.addEventListener("DOMContentLoaded", startup) var ongoingTouches = [];
 function handleStart(evt) {
  evt.preventDefault();
  console.log("touchstart.");
...

var token should be on separate line or should be prependended with ;

The code doesn't appear like this on the page, but I've add a semi colon to the end of  document.addEventListener("DOMContentLoaded", startup), to make sure the end of the line is recognised.
I think that is all there is to do here, so I'm closing it for now, but let me know if you think there is something more to do.


remove deprecated lifelines.estimation path

I'll pick this up, looks like a nice bit of refactoring!


feat: add awesome lint gh workflow

For getting this repo listed in https://github.com/sindresorhus/awesome we need to perform a few modifications to this list.
One extra requirement is to have the master branch renamed to main.

nice work @julienrbrt !


2D proposals training

Hi @charlesq34, did you also release the code to train the 2D CNN for proposal detection?

Hi @deli4iled you could use https://github.com/balancap/SSD-Tensorflow for 2D Detections

Hi @charlesq34, In your paper "Frustum PointNets for 3D Object Detection from RGB-D Data", there is a section named "Details on RGB Detector", the base network (half size VGG-16) runs 1.2 ms per image, which seems too fast, because conv1_1 ~ conv5~3 layer of the original VGG16 each cost 0.5ms ~ 1 ms (Pascal P100), did you use other boosting techniques? Or maybe the 1.2 ms per image is divided by batch size?
Furthermore, the Fast-RCNN part runs 30ms per image, too amazing! It's close to SSD speed(~20 ms per image).

(close due to inactivity)


switch bevy_image to use wgpu-types wherever possible instead of wgpu

Objective

dont depend on wgpu if we dont have to

Solution

works towards this, but doesnt fully accomplish it. the remaining types stopping us from doing this need to be moved upstream, i will PR this

Testing

3d_scene runs

Those 3 are the only types which need moving. Once these merge we will be able to only pull in wgpu-types for bevy_image and bevy_mesh (and soon bevy_camera)

All PRs have been merged, this will be good to go next wgpu release.


YouTube video playlists not showing on product pages

Noticed on 2023-03-13. The Product Pages don't display YouTube video playlists at the bottom of the page anymore. The inline YouTube video component seems unaffected, only the component that shows 3 latest videos from a configured playlist.

Issue resolved. The environment variables that holds the YouTube API key was not properly renamed within Vercel. I renamed it and triggered a manual rebuild which resolved the issue.


Unable to locate Outlook executable on your system

Describe the bug
A clear and concise description of what the bug is.
To Reproduce

Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Windows Version

(eg. Windows 10 x64 1803)

Additional context and log file
Add any other context about the problem here
Also upload the most recent log file located in C:\Program Files (x86)\Outlook on the Desktop\logs

Having the same problem as of a few days ago.

Me as well and open the previous post. Is anyone looking into this?

Interesting, can you all post your version of Outlook? Sounds like some update broke things .. I'll try to take a look this weekend.

Looks like mine is Version 2108 (Build 14326.20910)
Or Microsoft® Outlook® for Microsoft 365 MSO (16.0.14326.20908) 32-bit
Looks like my executable is at "C:\Program Files (x86)\Microsoft Office\root\Office16\OUTLOOK.EXE"

Could any of you please attach your logs from C:\Program Files (x86)\Outlook on the Desktop\logs .. I'm having trouble reproducing this with the latest office updates.

This is what my log looks like for reference:

2022-04-23 18:50:28.1904 INFO Command Line Args:
2022-04-23 18:50:28.2436 INFO Found 14.0 key
2022-04-23 18:50:28.2436 INFO Found 15.0 key
2022-04-23 18:50:28.2436 INFO Found 16.0 key
2022-04-23 18:50:28.2436 INFO Found C2RSvcMgr key
2022-04-23 18:50:28.2436 INFO Found ClickToRun key
2022-04-23 18:50:28.2436 INFO Found Common key
2022-04-23 18:50:28.2436 INFO Found DmsClient key
2022-04-23 18:50:28.2436 INFO Found Excel key
2022-04-23 18:50:28.2436 INFO Found MS Project key
2022-04-23 18:50:28.2436 INFO Found Outlook key
2022-04-23 18:50:28.2436 INFO Office version 16 detected
2022-04-23 18:50:28.2436 INFO Outlook path reported as C:\Program Files (x86)\Microsoft Office\Root\Office16\ and Outlook.exe found in that path
2022-04-23 18:50:28.2436 INFO Unable to find key SOFTWARE\Microsoft\Office\16.0\Outlook
2022-04-23 18:50:28.2436 INFO Trying SOFTWARE\Wow6432Node\Microsoft\Office\16.0\Outlook
2022-04-23 18:50:28.2436 INFO Outlook Bitness is: x86
2022-04-23 18:50:29.3459 DEBUG Checking to see if there is an instance running.
2022-04-23 18:50:31.6257 INFO Starting the instance manager and loading instances.
2022-04-23 18:50:31.9907 DEBUG Loading app settings from registry
2022-04-23 18:50:31.9907 DEBUG Settings Found.
2022-04-23 18:50:31.9907 DEBUG Multiple instances to load
2022-04-23 18:50:32.0743 DEBUG Instantiating instance asdagasg
2022-04-23 18:50:32.3332 INFO Outlook folder path: IPM.Appointment
2022-04-23 18:50:32.4699 DEBUG Showing Instance asdagasg
2022-04-23 18:50:32.4883 DEBUG Instantiating instance hjgjh
2022-04-23 18:50:32.5663 INFO Outlook folder path: IPM.Appointment
2022-04-23 18:50:33.8146 DEBUG Showing Instance hjgjh
2022-04-23 18:50:33.8355 DEBUG Instantiating instance sdgsdg
2022-04-23 18:50:34.0183 INFO Outlook folder path: IPM.Note
2022-04-23 18:50:34.0723 DEBUG Showing Instance sdgsdg

It's able to find it in C:\Program Files (x86)\Microsoft Office\Root\Office16\

2022-04-15 11:25:11.9897 INFO Command Line Args: -s
2022-04-15 11:25:12.0543 INFO Found 12.0 key
2022-04-15 11:25:12.0543 INFO Found 14.0 key
2022-04-15 11:25:12.0543 INFO Found 15.0 key
2022-04-15 11:25:12.0543 INFO Found 16.0 key
2022-04-15 11:25:12.0543 INFO Found C2RSvcMgr key
2022-04-15 11:25:12.0543 INFO Found ClickToRun key
2022-04-15 11:25:12.0543 INFO Found Common key
2022-04-15 11:25:12.0543 INFO Found Delivery key
2022-04-15 11:25:12.0543 INFO Found DmsClient key
2022-04-15 11:25:12.0543 INFO Found Outlook key
2022-04-15 11:25:12.0543 INFO Office version 16 detected
2022-04-15 11:25:12.0543 INFO Outlook path reported as  and Outlook.exe found in that path
2022-04-15 11:25:12.0543 ERROR Unable to find Outlook exe location in registry
2022-04-15 11:33:00.5491 INFO Command Line Args:
2022-04-15 11:33:00.5799 INFO Found 12.0 key
2022-04-15 11:33:00.5799 INFO Found 14.0 key
2022-04-15 11:33:00.5799 INFO Found 15.0 key
2022-04-15 11:33:00.5799 INFO Found 16.0 key
2022-04-15 11:33:00.5799 INFO Found C2RSvcMgr key
2022-04-15 11:33:00.5799 INFO Found ClickToRun key
2022-04-15 11:33:00.5799 INFO Found Common key
2022-04-15 11:33:00.5799 INFO Found Delivery key
2022-04-15 11:33:00.5799 INFO Found DmsClient key
2022-04-15 11:33:00.5799 INFO Found Outlook key
2022-04-15 11:33:00.5799 INFO Office version 16 detected
2022-04-15 11:33:00.5799 INFO Outlook path reported as  and Outlook.exe found in that path
2022-04-15 11:33:00.5799 ERROR Unable to find Outlook exe location in registry

Seems like this is the problem: https://support.microsoft.com/en-us/topic/b404d333-0895-fedd-81d5-e44799064d2d

I've tried to repair the installation as mentioned in the link but is not working.

Found the solution to make it work.
I've searched the outlook.exe file on my computer and then copied the folder location to add in to the Windows registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\App Paths
needed to add a new string value named Path and copy the location of outlook.exe file.
Hope is understandable :)

Yeah that would be the solution. The question is why it was missing, that
should have been created by your office installation.
On Mon., Apr. 25, 2022, 6:25 a.m. Tix83, @.***> wrote:

Found the solution to make it work.
I've searched the outlook.exe file on my computer and then copied the
folder location to add in to the Windows registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\App
Paths
needed to add a new string value named Path and copy the location of
outlook.exe file.
Hope is understandable :)
[image: image]
https://user-images.githubusercontent.com/103739960/165070996-3bd977d3-3286-414e-939d-ee5e2853425f.png
—
Reply to this email directly, view it on GitHub
https://github.com/mscrivo/OotD/issues/178#issuecomment-1108383544, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AACDIRCX4KRUXCFR6XIGQ4LVGZXIXANCNFSM5TR34UEQ
.
You are receiving this because you were assigned.Message ID:
@.***>

Adding the string fixed mine too.
Thanks for your help.


[Rollbar] Reporting internal error encountered while sending data to Rollbar

We're using Rollbar 3.1.2 with a Rails 6 app
We had a few errors which were sent to Rollbar, however there was a bunch of them so we probably hit the rate limit. This wasn't a problem before, our sidekiq retries them and has built-in back-off etc. However, this time we saw a long tail of internal errors. This is just one sample for the same request_id ... looks like each failing request ended up generating up to thousands of those errors, so this kinda snowballed
This is what our error log looked like for the errors
{"host":"***.com","application":"Semantic Logger","environment":"production","timestamp":"2021-03-13T09:09:43.006120Z","level":"error","level_index":4,"pid":6528,"thread":"puma threadpool 001","file":"/app/309/vendor/bundle/ruby/2.6.0/gems/rollbar-3.1.2/lib/rollbar/logger_proxy.rb","line":28,"named_tags":{"request_id":"0419751b0d862b2c0de41817cc5f2e9e","ip":"**.**.**.**","datadog":{"trace_id":2926332308409059493,"span_id":691112431983741319,"env":"production","service":"***","version":null}},"name":"Rails","message":"[Rollbar] Reporting internal error encountered while sending data to Rollbar."}

Eventually, I'm guessing as we got less and less 429s the errors died down, but a brief DB outage of a few seconds ended up generating errors for a couple of hours.
Nothing too special about our Rollbar config. We use config.use_sidekiq with a sidekiq_threshold = 3.
I don't think this happened before, but we don't have many DB issues that cause us to hit the rate limit freqnetly, so it's not something I can easily tell.

trying to simulate this on our staging environment, I'm not entirely sure what caused those internal errors ... I was able to simulate a rate limit on staging, but didn't get internal errors... Any tips on what might be causing these errors? also on how to simulate them in our development environment perhaps?

These could be caused by failed access to the Rollbar API, or by anything that caused rollbar-gem to fail internally. If any of the internal errors are visible in your Rollbar dashboard, those can be reviewed to better understand what happened.
There is logic in Rollbar's Sidekiq plugin to limit those kinds of error storms, and that logic was improved a while back. Are you running the latest rollbar-gem in your job runner processes?

Thanks @waltjones, yeah we run the latest rollbar version on puma + sidekiq. I'm still not sure what causes these internal errors. I could kinda reproduce, but only when our database was doing a fail-over, so it's not something I can just easily trigger and control the timeframe of.
I'm not sure I spotted anything on the Rollbar dashboard besides that "regular" errors about the database connection though... Where can I find them?

If they're there, you'd see them in the items list with your other errors. Maybe what happened is it only logged and didn't attempt to send, which means maybe the intended mitigation worked.

Nothing in our items list besides the "real" errors.

Maybe what happened is it only logged and didn't attempt to send, which means maybe the intended mitigation worked.

Not sure I completely follow. I still wonder why those errors were logged, and we cannot seem to find something else in the log which could indicate why an internal error happened / was logged... Is it really useful to just log a "internal error encountered" without attaching other details about the specific nature of the internal error? (and ideally on the same log message, so it's not split across multiple log entries, which makes it harder to pinpoint as well).


Experimental compatibility with Not Enough Crashes

This may fix #5 but it is untested whether NEC's stack trace deobfuscation works.
The "crashy test mods" from NEC crash before jline4mcdsrv did it's work, so to test this, we'd need to crash the server at a later point.
At the very least it does fix the double log lines.
The methodology didn't change from https://github.com/chirs241097/jline4mcdsrv/issues/5#issuecomment-766859189.

I can now confirm that NEC's stack trace deobfuscation does indeed work with jline4mcdsrv's logger!
If you're unfamiliar, "deobfuscation" means that instead of a stack trace looking something like
...
        at net.minecraft.class_3244.handler$zjc000$handleCustomPayloadReceivedAsync(class_3244.java:1666) [intermediary-server.jar:?]
        at net.minecraft.class_3244.method_12075(class_3244.java) [intermediary-server.jar:?]
        at net.minecraft.class_2817.method_12199(class_2817.java:44) [intermediary-server.jar:?]
        at net.minecraft.class_2817.method_11054(class_2817.java:9) [intermediary-server.jar:?]
        at net.minecraft.class_2535.method_10759(class_2535.java:156) [intermediary-server.jar:?]
        at net.minecraft.class_2535.method_10770(class_2535.java:147) [intermediary-server.jar:?]
        at net.minecraft.class_2535.channelRead0(class_2535.java:52) [intermediary-server.jar:?]

it will look like
        at Not Enough Crashes deobfuscated stack trace.(1.16.4+build.7) ~[?:?]
...
        at net.minecraft.server.network.ServerPlayNetworkHandler.handler$zjh000$handleCustomPayloadReceivedAsync(ServerPlayNetworkHandler:1666) ~[?:?]
        at net.minecraft.server.network.ServerPlayNetworkHandler.onCustomPayload(ServerPlayNetworkHandler) ~[?:?]
        at net.minecraft.network.packet.c2s.play.CustomPayloadC2SPacket.apply(CustomPayloadC2SPacket:44) ~[?:?]
        at net.minecraft.network.packet.c2s.play.CustomPayloadC2SPacket.apply(CustomPayloadC2SPacket:9) ~[?:?]
        at net.minecraft.network.ClientConnection.handlePacket(ClientConnection:156) ~[?:?]
        at net.minecraft.network.ClientConnection.channelRead0(ClientConnection:147) ~[?:?]
        at net.minecraft.network.ClientConnection.channelRead0(ClientConnection:52) ~[?:?]

So it translates the intermediary names like class_2817 to yarn names CustomPayloadC2SPacket, which is helpful when debugging.
The pull request is still pretty hacky and I'm not sure if there's anything to be done about that since Log4J does not allow to directly modify NEC's RewriteAppender and as far as I know AppenderRefs also cannot be changed(?)

Updated the description, code unchanged.

The code looks fine. However since I don't use Not Enough Crashes on my servers, it's your duty to ensure this mod works with that one ;) I'll only test without that mod due to my constrained time.
Will merge soon-ish.


Support to logicaly delete users

Meaning users have to stay to preserve data integrity cross DB, but sign-in will fail in a way the user is not there.
Usecase: user record has been used in various tables and cannot be deleted, but the account should be hidden to outside and user name should be available for registration.
I have checked the code and as it is now shouldn't be too hard to achieve it, although in nuget v2 it's not possible because SignInManager.CanSignInAsync is not public. Possibly evolve the api with that in mind as well.
Thanks

@blowdart

We're not going to add this because too many people depend in a user name being unique in their code. It would break too many people's assumptions in a way that leads to security failure.
#373 may be worth following, as it might be asking for a simpler sort of disabling mechanism.


KoalaBear84.OpenDirectoryDownloader version <IP_ADDRESS>

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

This package failed to install with:
ShellExecute installer failed:<PHONE_NUMBER>

[Policy] Blocking-Issue

/AzurePipelines run

@wingetbot waivers Add Validation-Executable-Error

/AzurePipelines run


how can i use texture2d variable in glsl,?

please give me an example thanks

#extension GL_EXT_samplerless_texture_functions : require?


Make it so that if the text prop changes, the component is re-rendered

My use case for this was I had a list of items and when you clicked on one of those items, their data would be loaded into a form that used ReactInlineEdit. ReactInlineEdit didn't handle the text prop being changed after it had been mounted. My PR simply adds a componentWillReceiveProps method that invokes setState with the new props.text so that the component is up to date with the new data.
Let me know if this works for you, I'd be happy to make any additional changes. Also, I had trouble getting the build to work on my machine so I opted to not mess with that entirely and leave it up to you to build it if you decide to accept this PR. :smiley_cat:

+1
Just a style thing, maybe you should put componentWillReceiveProps before componentDidUpdate so they're aligned with their chronological order.

@masad-frost Good call, just pushed the change.


<IP_ADDRESS> Key entry

This component provides the functionality to support manual key-in of meteorological data.

Initially basic key entry form (not dynamic forms in <IP_ADDRESS>)


ci: move rhel8.8 and rhel8.10 to testing-farm

@henrywang @mcattamoredhat could you please review this pr?


How to ensure UI is consistent when read models are updated asynchronously?

@alexeyzimarev Really greal book, maybe the best book about event sourcing at present!
One question: what is your preferred way to ensure UI is consistent after executing a command that triggers async update to read model?
For example, we have single page application for task management. An user opens some task. The frontend query the backend and retrieves the task attributes from the corresponding read model. The user then presses "Close" button, which executes the command to close the task. As a result of the closure, the read model is updated asynchronously (the status of the task goes to "Closed" or to some other status, depending on the business logic of closing the task, the frontend knows nothing about it). After successfully running the command, the frontend reads the model again. How can we ensure that the read model is updated by then?

Thank you :)
It's not a very hard problem. I wrote about it here https://eventuous.dev/docs/read-models/rm-concept#dealing-with-stale-data

Ok, got it, thank you! )


HTTP client instrumentation doesn't work with Go RoundTripper

Using the go HTTP client
type RoundTripper interface

doesn't generate instrumentation data.
We currently set the uprobe on (*Client) send and it doesn't hit it at all.
It appears that putting a uprobe on net/http.(*Transport).RoundTrip might work in all cases.

Fixed now


keras h5 files

[Enter feedback here]
It seems like documentation does everything EXCEPT give a simple example of loading an h5 file. I can't use .pkl or anything else. All of the examples are great, but none of them seem to translate to loading an h5 file, and to be honest, I'm stuck, and have been for more than a day on one simple little detail. It seems like it would be a pretty common thing, though.
Can you please point me to a working example for loading an h5 file in a real-time service, please?

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

ID: 38e267fb-efa2-dab5-aa83-4a4addc39ee8
Version Independent ID: e1d506d0-c6bf-47ed-a12c-7bb50416c865
Content: Deploy machine learning models - Azure Machine Learning
Content Source: articles/machine-learning/how-to-deploy-and-where.md
Service: machine-learning
Sub-service: core
GitHub Login: @shivanissambare
Microsoft Alias: ssambare

@sthoward0914 You can refer the Azure ML notebooks repo  where an example of deploying with keras might help. Thanks!!

We will now proceed to close this thread. If there are further questions regarding this matter, please tag @RohitMungi-MSFT in your reply.