RefreshEventData is package private

Question
The ConfigWatch send massage to user application with spring-event-bus ,but user application can't get the event‘s data.
the configwatch:
    if (response.getValue() != null && !response.getValue().isEmpty()) {
        Long newIndex = response.getConsulIndex();

        if (newIndex != null && !newIndex.equals(currentIndex)) {
            // don't publish the same index again, don't publish the first time (-1) so index can be primed
            if (!this.consulIndexes.containsValue(newIndex) && !currentIndex.equals(-1L)) {
                RefreshEventData data = new RefreshEventData(context, currentIndex, newIndex);
                this.publisher.publishEvent(new RefreshEvent(this, data, data.toString()));
            }
            this.consulIndexes.put(context, newIndex);
        }
    }

my application lisenter
    @EventListener
    public void handle(RefreshEvent event) {
        if (this.ready.get()) {
            (RefreshEventData)event.getEvent();
        }
    }

but the RefreshEventData is a inner static class ,my application can't use it.
So,who can i handle this situation？

Hey @spencergibb what was the reason for sending this event? In Spring Cloud Consul repo I can't find any class reading the event.

It's in commons I believe

So we don't any users to operate with that event?

The event is from commons, but the data class is local to s-c-consul, but it's package private.
@dntbeSris why do you want to use that class?

I need listening the consul config changed event more nimble. Although,i can loop the refresh keys
like this :
 @EventListener()
    public void handle(RefreshEvent event) {
        if (this.ready.get()) {
            Set<String> keys = this.refresh.refresh();
            for(String key : keys){
                if(key.startsWith(MY_CONFIG_PREFIX)){
                     //to do something
                }
            }
        }
    }

but spring will handle this expression when consul config value contians symbol like '{}',and will throw exception.

I need listening the consul config changed event more nimble. Although,i
can loop the refresh keys
like this :
@EventListener()
public void handle(RefreshEvent event) {
if (this.ready.get()) {
Set keys = this.refresh.refresh();
for(String key : keys){
if(key.startsWith(MY_CONFIG_PREFIX)){
//to do something
}
}
}
}
but spring will handle this expression when consul config value contians
symbol like '{}',and will throw exception.
Spencer Gibb<EMAIL_ADDRESS>于2019年7月30日周二 上午3:45写道：

The event is from commons, but the data class is local to s-c-consul, but
it's package private.
@dntbeSris https://github.com/dntbeSris why do you want to use that
class?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/spring-cloud/spring-cloud-consul/issues/567?email_source=notifications&email_token=AD3PUXWYJFXW2FAXAXEYZHLQB5CGNA5CNFSM4HYDMET2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3BZTTY#issuecomment-516135375,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AD3PUXQIAWHMQQXZWZ5M3KTQB5CGNANCNFSM4HYDMETQ
.

Having same issue, need to check for specific key update, but RefreshEventData is package private.


[Bug] Wrong names of challenges in Profile Page

Step to reproduce:

Go to an old user profile, for example mine http://www.freecodecamp.com/aluzardo

Expected: Show all the challenges with the correct category name.
Actual: I can see some challenges with the old categories names “Bonfires, Waypoints…”

This issue could be similar than #6179

Closing as duplicate of #6179


Resolve build issues with git

stable patches should be in stable-patches dir
dev patches should be in dev-patches dir
Also resolves the issue of zopen not found, now leverages $MYDIR from the zopen scripts (perhaps we should rename MYDIR to ZOPEN_SCRIPT_DIR so that it is more clear? @MikeFultonDev ?)

Lgtm. I agrée MYDIR is a poor name. Wasn’t expecting it to be used elsewhere but makes sense to rename it.

Alternatively, we could append MYDIR to the PATH envar in zopen-build (or common.sh)


Wierd issue?

MY site was working fine. But suddenly no matter what I do, it's showing your website with your details. I deleted the examplesite, all contents, etc. All I see is my content. I even tried with incognito mode. I know it's sound very wierd, but i'm not sure where it's picking up your content. Any ideas?

Okay, it's due to this line. I add my substack though. this line causes it to use your content. Any reasons why?
Params:
#footer
embed:

Could you send the website link?

https://www.connectthoughts.com/
On Sat, Oct 24, 2020 at 10:08 AM GURU SABARISH<EMAIL_ADDRESS>wrote:

Could you send the website link?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gurusabarish/hugo-profile/issues/6#issuecomment-715928021,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACR3WBTNL3OTZ6JNU7N7JSLSMLUWBANCNFSM4S5UFTKQ
.

Just now, I pushed some code. So, please use the latest to disable social icons.
I made a config file for you please make this as yours with some customization. Change the google analytics and disqus, favicon, description, profile image, think i do content and so.
baseURL: "https://www.connectthoughts.com"
languageCode: "en-us"
title: "Connecting Thoughts"
theme: "hugo-profile"

googleanalytics: UA-xxxxxxx-xx
disqusShortname: yourdisqusname
Paginate: 8

taxonomies:
  tag: "tags"
  category: "categories"

params:
  favicon: ""
  description: ""
  copyright: "2020"

  # Navbar Menus
  customMenus:
  - name: "Blog"
    Url: "/blog"

  - name: "Course"
    Url: "/course"

  # social
  name: "Raj Pandurangan"
  github: "https://github.com/rajganeshp"
  linkedin: "https://linkedin.com/in/rajganeshp"
  twitter: "https://twitter.com/rajganeshp"
  instagram: ""

  # About
  profile_image: ""
  descripe_l1_person: "I’m a capable Presales architect who can act as the glue that links together mission critical security requirements. Articulate and effective communicator who has a history of developing products that push the limits of technology. Able to respond to the ever changing demands of clients by creating innovative high quality and defect-free security solutions that precisely meet their business needs. Strong management and methodical aptitude with an innate ability in decision-making, coordinating and synthesizing data."
  descripe_l2_person: ""
  job: "Cybersecurity Specialist "
  resume: "https://www.connectthoughts.com/about"

  # Things I do
  usedothings: true
  Things:
    - logo: fab fa-python
      title: title
      description: This is description

    - logo: fas fa-robot
      title:  title
      description: This is description

    - logo: fab fa-html5
      title: title
      description: This is description

    - logo: fab fa-html5
      title: title
      description: This is description

  #blog ( Description for seo. If you want to show description in your blog post, let's make it true)
  showdescription: true

Author:
  name: ""
  website: ""

I can create your website with all your customize looks as freelance. Contact me with<EMAIL_ADDRESS>


Linking by a variable that is fixed in one constituent model

It appears as though if two models are linked by a variable T and T is a fixed variable in one of the models, but not in the other, the composed model ignores the fixed value and allows T to be free.

Yup, this is expected behaviour.

Can it not be?

Sure! Sorry, I thought there'd been a discussion about this already.

Use case: I have a model that is importing an atmosphere model. One of my atmosphere models (tropopause) has a constant temperature, so it needs to be fixed in the parent model too. I could have a constraint T == 216*units.K (as I do for now) but that seems inelegant.

You could also just sub {T: 216} into the composed model.

There may well have been, sorry if I'm forgetting about it. I think previously we weren't aware of examples where it would be useful to go this way.

I suppose I could but that doesn't seem ideal because tropopause should always have  T = 216 so needing to substitute in whenever I use it doesn't seem like it conveys the right kind of intent.

So the problem is m = atmosphere_model1 & atmosphere_model2 where one has a fixed T?
I think that  m = atm1 & atm2; m.substitutions.update({atm2["T"]: atm2.substitutions["T"]}) is nicely unambiguous, but still annoying.

The problem is what to do in this case as well as the case where two models both have a substitution but disagree on its value; ignoring all linked substitutions at least has a nice consistency.

Nah it's aircraft_model & atmosphere_model where the atmosphere model could be troposphere or tropopause. The former has a free T, the latter has a fixed T.

(wondering: Why is T in aircraft_model? not that it's relevant)

For speed of sound --> Mach number

You're right about the consistency. Perhaps this change could go in the upcoming refactor where linking is more explicit?

(nifty!)
That could work. Also we can just default to prioritizing substitutions over free variables and raise an error if values disagree.

My vote would be for no default, because it is so easy to overlook an accidentally linked variable.

Sorry, meant to say we that we can preserve substitutions instead of enforcing free variables.

good discussion.
documentation push: We're currently lacking even a basic overview of linked models on read the docs (unless I missed it), so I always feel a bit foggy on the assumptions and requirements for linking (e.g., do the vars need the same descr? ...) As a result, I sometimes don't use linking simply because I can't remember how to use it right.
... or does this documentation need to wait for the refactor because it will change so dramatically?

The refactor will open up a lot more freedom for arguments during linking, so it would be a good time to clarify what we want to be possible.

Try now? Should install 3.4.10

shucks, still get a Could not load settings file.
also, pip has version as 3.5.0:
whoburg$ pip install gpkit
Collecting gpkit
  Downloading gpkit-<IP_ADDRESS>.tar.gz (80kB)
    100% |████████████████████████████████| 81kB 2.4MB/s
Requirement already satisfied (use --upgrade to upgrade): numpy in ./anaconda/envs/vtest2/lib/python2.7/site-packages (from gpkit)
Requirement already satisfied (use --upgrade to upgrade): scipy in ./anaconda/envs/vtest2/lib/python2.7/site-packages (from gpkit)
Building wheels for collected packages: gpkit
  Running setup.py bdist_wheel for gpkit ... done
  Stored in directory: /Users/whoburg/Library/Caches/pip/wheels/8d/e2/d8/16b11de9d9cb8b89d1a4a6c03426b385008712892408917c0f
Successfully built gpkit
Installing collected packages: gpkit
Successfully installed gpkit-<IP_ADDRESS>

Oops. Try again now...

That was an accident that I'd hoped I'd ctrl-c'd in time.

Doesn't look like it's working on https://acdl.mit.edu/csi/job/gpkit_Install/28/

hmm, now I can't get it to show me the download bar even in a new virtualenv! and still the settings error.

whoburg$ pip install gpkit
Collecting gpkit
Requirement already satisfied (use --upgrade to upgrade): scipy in /Users/whoburg/anaconda/envs/ggg/lib/python2.7/site-packages (from gpkit)
Requirement already satisfied (use --upgrade to upgrade): numpy in /Users/whoburg/anaconda/envs/ggg/lib/python2.7/site-packages (from gpkit)
Installing collected packages: gpkit
Successfully installed gpkit-<IP_ADDRESS>

It should be getting <IP_ADDRESS> by now...

let me try blasting away my pip cahce

oh boy. no more Could not load settings file error (woohoo), but the unit tests fail -- and what is eburn doing in my unittests printout!?
======================================================================
ERROR: test_trivial_sp (gpkit.tests.t_model.TestSP_mosek)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/whoburg/anaconda/envs/vtest/lib/python2.7/site-packages/gpkit/tests/t_model.py", line 225, in test_trivial_sp
    sol = m.localsolve(verbosity=0, solver=self.solver)
  File "/Users/whoburg/anaconda/envs/vtest/lib/python2.7/site-packages/gpkit/model.py", line 385, in localsolve
    *args, **kwargs)
  File "/Users/whoburg/anaconda/envs/vtest/lib/python2.7/site-packages/gpkit/model.py", line 502, in _solve
    result = solvefn(*args, **kwargs)
  File "/Users/whoburg/anaconda/envs/vtest/lib/python2.7/site-packages/gpkit/signomial_program.py", line 120, in localsolve
    result = gp.solve(solver, verbosity-1, *args, **kwargs)
  File "/Users/whoburg/anaconda/envs/vtest/lib/python2.7/site-packages/gpkit/geometric_program.py", line 135, in solve
    solverfn, solvername = _get_solver(solver)
  File "/Users/whoburg/anaconda/envs/vtest/lib/python2.7/site-packages/gpkit/geometric_program.py", line 126, in _get_solver
    from ._mosek import expopt
  File "/Users/whoburg/anaconda/envs/vtest/lib/python2.7/site-packages/gpkit/_mosek/expopt.py", line 22, in <module>
    raise ImportError("Could not load MOSEK library: "+repr(e))
ImportError: Could not load MOSEK library: ImportError('/home/eburn/.gpkit/expopt.so not found.',)

whaaaat

Yup, it did. As did the settings file, which explains why you weren't getting that error anymore.

import setuptools brings in everything. :-1:

should we revert the push to PyPI then?

It's no worse, and has other updates.

This issue is a mess, closing. @pgkirsch, for our original discussion see #563


Create a way for the user to save their settings

I'm thinking about letting users config the CLI with a dotfile. There the user will add their storage file paths and choose some other options

Issue solved


XDebug doesn't work

What steps will reproduce the problem?

Enable XDebug profiling
Set breakpoint
Run XDEBUG_TRIGGER=yes php -dxdebug.mode=debug yii serve in console
Run code where you set breakpoint

What is the expected result?
IDE catches the running at needed line
What do you get instead?
IDE doesn't catch nothing
Supposed solution
The problem is located on https://github.com/yiisoft/yii-console/blob/master/src/Command/Serve.php#L97
That command should consider arguments what was passed to original process.

Seems to be resolved now. Verified by @devanych.


FRT Runtimes latest aarch64 and start of x86_64 ones

FRT Runtimes latest aarch64 and start of x86_64 ones

Some are missing. So will re submit then


feat: Add useRouter and withRouter

Continuation of #581.

error when export
https://simple-chi.now.sh/second-page
https://simple-chi.now.sh/

Hi @foxundermoon, have you perhaps commented in the wrong place?

@isaachinman
not wrong place :)
I tested the pr.

@foxundermoon Okay, can you help us debug this and come up with a solution?

@isaachinman I am hunting an i18n solution for next.js export static website.
I found it.   https://material-ui.com/  docs   https://github.com/mui-org/material-ui/tree/master/docs
translate query to the path prefix.
I'm not very familiar yet, I'm sorry I can't help now
  exportPathMap: () => {
    const pages = findPages();
    const map = {};

    function traverse(pages2, userLanguage) {
      const prefix = userLanguage === 'en' ? '' : `/${userLanguage}`;

      pages2.forEach(page => {
        if (!page.children) {
          map[`${prefix}${page.pathname}`] = {
            page: page.pathname,
            query: {
              userLanguage,
            },
          };
          return;
        }

        traverse(page.children, userLanguage);
      });
    }

    // We want to speed-up the build of pull requests.
    if (process.env.PULL_REQUEST === 'true') {
      traverse(pages, 'en');
    } else {
      LANGUAGES_SSR.forEach(userLanguage => {
        traverse(pages, userLanguage);
      });
    }

    return map;
  },

Is there going to be any movement on this? It's become a critical need in one of my projects.
What needs debugging? Where can I start helping?

Re-iterating on this, is there anything I can do more in order to have this available in official releases? :) it's something that is impacting my team right now and we start to have those weird mix of next's useRouter and import { router } from '../lib/next-i18next'

@isaachinman would you feel more confident if this feature was enable-able behind an experimental flag? I could implement that

Hey @ortonomy and @martpie – sorry, the bulk of my work on this package has been to support serverless recently. I haven't had a chance to look at this PR in awhile now. I guess the place to start would be with a rebase against master and see what's working and what's broken. If either of you would be willing to lead the effort, that would be much appreciated.

I guess you also need to add useRouter under declare class of NextI18Next inside types.d.ts?

Yes, of course we'd need to export types.

Hi, can you clarify when the merge will be and how soon can I use it?

I will be releasing next-i18next@beta very shortly, which relies on NextJs internals for localised routing. Thus, this PR is obsolete.


fix REPL pane resizing

i'm surprised we didn't get yelled at more for this. the REPL is kinda busted at the moment — Firefox doesn't know how big the container should be, and the <SplitPane> component keeps losing track of the mouse as soon as it touches the iframe:
https://user-images.githubusercontent.com/1162160/179646274-ba71e685-985e-4e12-81b2-6afdea92eb9d.mov
This fixes both.

We did got yelled at #288 😄


Fixes CMP0048 CMake warning

This pull request get's rid of the CMP0048 warning that is thrown when the CMake minimum version is too low.

Closing this pull request as it already has been fixes in 356ec114c488c75edeaf5315633359459d37af31.


[IRGen] Add getEnumTag and injectEnumTag builtins

This adds 2 new builtins, one that calls the getEnumTag vwt function on a generic type and another that injects the given tag into some generic value. These are unsafe operations that assume the value passed in as T is an enum type.

@swift-ci please test

@swift-ci please test Linux


In power bi DeskTop, Tabular Editor cannot be opened normally

Is this still an issue using the latest version (2.16.3)?
Also, which version of Power BI Desktop are you using? Does this happen for all .pbix files or only some specific files?

这仍然是使用最新版本 (2.16.3) 的问题吗？
另外，您使用的是哪个版本的 Power BI Desktop？所有 .pbix 文件都会发生这种情况还是仅某些特定文件会发生这种情况？

I reinstalled the latest version of Tabular Editor 2.16.3, but the Tabular Editor still cannot be opened normally in the .pbix file. Note that all the .pbix files cannot be opened
This is the version of Power BI Desktop I am using: 2.97.861.0 64-bit (September 2021)
This problem has been appearing for a long time, I went to the power bi community to report this problem before, but it was not resolved

What happens if you open Tabular Editor manually, then connect to the data model using File > Open > From DB… and then locate the pbix file through the “Local instances” dropdown?

Do you have error log files? Where does he exist on the computer? I can find it on the computer and send it to you

Can you expand the "Details" button and copy the content? Thanks!

error.txt
It's a bit long

Thank you. Could you try to run Tabular Editor with administrative privileges, to see if that changes anything?

Run the program with administrator privileges on the desktop of the computer, and then use File> Open> From DB..., it still reports an error.
error 2.txt

Ok, thanks for letting me know. I will provide an updated version shortly, which I believe addresses this issue.

This problem has troubled me for a long time, so that I can't do my powerbi report more efficiently. I hope that the next update will allow me to use Tabular Editor normally. Thank you.

I just pushed version 2.16.4. Could you check to see if this resolves the issue? (Launch Tabular Editor through the External Tools ribbon in Power BI Desktop)


More flexible citation key patterns

Hi, I'm unable to port a renaming pattern from zotfile, which should look like this:
[authors3+initials | WebsiteTitle | BlogTitle]_[year]_[title]

Problems are:

the | (OR) operator does work inside a pattern
some patterns described in the doc seem not to be implemented: [authEtAl], [authors3+initials].

Zotfile has a nicely extensible syntax, so one solution would be to delegate to a [zotfile] pattern (the reverse from {%b}).

Fully untested: https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.72-circle-2804.xpi tries to pick up the Zotfile name for [zotfile].

That build returns only blanks for keys. Just a guess: isn't a @ missing in Zotero.Items.get(@item.itemID)?

Oops: https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-1.6.72-circle-2805.xpi

It gives an infinite recursion... ZotFile.wildcardTable is called wether {%b} or [zotfile] are used or not. Maybe BBT could check patterns before monkey-patching?

The patterns are not available before I monkey-patch it. Not entirely sure how it could loop because of it though -- the monkey-patching only happens on BBT init. It shouldn't matter how often wildcardTable is called, but I have no idea how the Zotfile filename formatter expects to be called or what context it expects.
I don't think I'm going to do this. Too fragile. if @jlegewie is interested, I'm willing to work with him on a PR, but as is, it's too risky.

In the meantime, I found an acceptable solution with the (undocumented?) [>0] pattern.
BTW thanks to both of you for your work!

Updated the wiki for the >0 pattern.

Actually, zotfile's syntax turns out to be a lot more manageable, especially for different document types. Would you consider an explicit preference in BBT to switch zotfile's monkey-patching on and off? A nice side-effect is that it would document the origin of that %bin zotfile -- I had a pattern with that name and it took some time to find out where it was overriden.

is %b a legitimate pattern key in zotfile? Then I shouldn't be overriding it, full-stop. I thought it was unused. In any case, I'll add the preference.
Again, if the zotfile author makes available a method I can safely call to turn an item into a string according to its patterns, I'm open to doing that.

(same goes for zotfile just calling into BBT rather than me monkey-patching it. This actually has my preference)

is %b a legitimate pattern key in zotfile?
Yes, there are user-defined wildcards.

Now [zotfile] works as expected, if not monkey-patching. Are you going to merge branche 552 into master?

I will.
I've added another safeguard -- even if the option is enabled (which it is by default so as not to disrupt existing behavior), if BBT finds that %b is already set, it won't overwrite it with the citation key.

Oups, I meant to ask about the [zotfile] feature! It was only in the build linked above, now removed, so I lost it completely with the latest release...

It is indeed gone; I couldn't get it to work reliably (the infinite recursion). If ZotFile makes available a method I can call safely, I'll be happy to bring it back.

That's too bad, because it did work as long as both cross-patterns are not (accidentally) activated simultaneously.
@jlegewie, would you consider a patch to zotfile so that it does not greedily evaluate (unused) patterns?
Otherwise, what about a safety check when setting either preference in BBT -- "please uncheck the %b option and restart before using [zotfile]"?

If we're going to work on this I'd much prefer not to have to patch in %b at all (I shouldn't have back then, but I was totally infatuated with monkey-patching at the time). It's easy and safe to get a citation key from BBT by calling Zotero.BetterBibTeX.keymanager.get(item).citekey -- I'd much prefer it if ZotFile would call that (should @jlegewie be interested) rather than me monkey-patching the behavior in, and if @jlegewie is not interested, I will most likely just deprecate the %b monkey patch now that I know it may interfere with existing behavior from ZotFile. Even with my detection it would still mean the behavior of %b is unpredictable.
BBT using the ZotFile generator would follow the same pattern. If there's a safe method I can call whenever I want given an item or an itemID, I'll happily plug that into the [zotfile] pattern.

I am generally open but a) don't have to time to look at it and b) still don't really get the details. Looks like to two different things to me. 1) not sure about the first. 2) Are you proposing that I add a wildcard to zotfile that is the bibtex key from Zotero.BetterBibTeX.keymanager.get(item).citekey?
In any case, if someone wants to send a pull request, please use the 5.0 branch.

They are indeed two different issues.
One is Zotfile calling into BBT, in case Zotfile would want access to the BBT citation key (which is what I monkey-patched in, and which I want to get rid of)
The other is BBT calling into ZotFile to get the name generated for a file so @dgerber and others could use that in constructing a citekey.
The unresolved matter is how to prevent infinite recursion in a case where the BBT pattern is [zotfile] and the zotfile pattern has something like %b. I really don't know yet how to make sure that doesn't happen.
BBT is also not 5.0-ready as of yet, so this'd be a mid-term thing anyhow.

The first thing should be super easy. I think adding a line to addFields here https://github.com/jlegewie/zotfile/blob/5.0/chrome/content/zotfile/wildcards.js#L208
should do it (of course, with some checking whether better bibtex is installed).
No idea about the second. But I am open if someone wants to get into it.
Different questions: Did you do this https://groups.google.com/forum/#!topic/zotero-dev/sO3DtOmKUxA ?

Detecting BBT is simple enough -- if Zotero.BetterBibTeX is defined, it's installed.
I tried doing 2, but that resulted in an infinite recursion -- but probably because the ZotFile pattern had %b. I don't yet have a plan for how to detect that, and until then, I'd say this feature would be too dangerous to release.
Current BBT will indeed disable itself if it detects 5.0. getting BBT ready for 5.0 will be a major overhaul or perhaps even a full rewrite, and I'm strapped for time right now, so BBT will be late to the 5.0 party.

Yeah, zotfile wildcards have become messy over time. I wish I could change them all in a more systematic way.
Can you point me to a pull request for the disabling?

I don't understand what you mean with "a pull request for the disabling", can you elaborate?

I was going to say a commit. But I already found it: https://github.com/retorquere/zotero-better-bibtex/commit/45a691dd3bd32439c2b551004d87a4ed8771d90d
Thanks!


linkify-code doesn't linkify inline links like https://x.com

Description

Extension version
24.10.28
Browser(s) used
Firefox Nightly Android
Token ⚠

[X] I set a token in the options page. I understand that some features require a token to work.

Yes we never supported inline links. Live example:

https://example.com

But it works here:
https://example.com

It's a small change, PR welcome. The main difference is that the code should avoid already-linked elements, like :

the whole code is a link https://google.com
https://github.com/refined-github/refined-github/issues/7995

and , as seen on https://github.com/refined-github/refined-github/commits/main/?after=62f91b26a6af3263a123c6c52266308af4e82328+34


bugfixes and version bump

Here are the changes needed to get packer-0.10.0 up and running on Ubuntu.

@gravyboat - any objections to merging this on in?

I don't think so. Looks like I just wasn't watching this repo and no one else hopped on it.

Thanks!


NameError: uninitialized constant Pubid

> require "pubid-core"
NameError: uninitialized constant Pubid
from /Users/andrej/.rvm/gems/ruby-3.2.0/gems/pubid-core-1.8.0/lib/pubid-core.rb:3:in `<top (required)>'

blocks this https://github.com/relaton/relaton-bsi/issues/24, this https://github.com/relaton/relaton-nist/issues/63, and this https://github.com/relaton/relaton-jis/issues/2

@mico can you please help fix this? Thanks!

@mico this issue is urgent and blocking @andrew2net .


Dev tools abstraction

Objective
Implementation of https://github.com/bevyengine/rfcs/pull/77 rfc
This rfc introduces the traits and concepts of DevTool and DevCommand as tools and commands that speed up the development process and are not normally built into the final build of a game. RFC target is create unified input for DevCommand creation and unified controls to enable/disable/configure DevTools. I have tried to implement this RFC in order to improve it. The implementation does not match the RFC text completely, as my solution takes into account both the RFC itself and comments to it that have not yet been corrected in the text.
PR and RFC aim to achieve three primary objectives and one additional goal:

Unified Method for Spawning DevCommands: Establish a consistent approach for spawning DevCommands and retrieving information about them.
Standardized Management of DevTools: Create a unified method for enabling, disabling, listing, and obtaining information about DevTools.
Maximize Reuse of Existing Functionality: Leverage existing functionality wherever possible, such as using the robust TypeRegistry instead of creating a separate DevCommandRegistry.

Additional Goal:

Lay the groundwork for a Quake-like console for Bevy or a Command Palette similar to VSCode.

Solution

DevCommand trait turned out to be as simple as possible. However, reflection gives us an incredible number of possibilities, which will be described below

pub trait DevCommand : Command + FromReflect + Reflect + Typed {
    /// The metadata of the dev command
    fn metadata() -> DevCommandMetadata {
        DevCommandMetadata {
            self_to_commands: Arc::new(|reflected_self, commands| {
                let Some(typed_self) = <Self as FromReflect>::from_reflect(reflected_self) else {
                    error!("Can not construct self from reflect");
                    return;
                };
                commands.add(typed_self);
            })
        }
    }
}

/// DevCommand implementation example
#[derive(Reflect, Default, DevCommand)]
#[reflect(DevCommand, Default)]
pub struct SetGold {
    pub gold: usize,
}
impl Command for SetGold {
    fn apply(self, world: &mut World) {
        world.insert_resource(Gold(self.gold));
    }
}

CLI Toolbox: Implemented TypedCliDeserializer and CliDeserializer for deserializing CLI inputs into Bevy commands, enabling a flexible and typed deserialization process. And I created CLIToolbox, which allow spawn commands from console. Look at dev_tools/dev_cli.rs example!
DevTool trait is simplest! It firstly focused to auto register default commands for it (like enable, disable etc)

pub trait DevTool : Reflect + FromReflect + GetTypeRegistration  {}

Added app.register_toggable_dev_tool<T: DevTool>() which will register in type registry DevTool and default commands for it
Added Toggable trait
Added default commands for DevTools Enable, Disable, SetField (allow to set one field in resource dev tool), SetTool (allow to set whole resource dev tool)
Added dev_cli example to demonstrate CLIToolbox and DevCommand, DevTool abstractions
For starting this example use cargo run --example dev_cli --features="bevy_dev_tools"
To try this demo you must print into your console while app is running
Try this:

disable fpsoverlay -- will hide fps overlay
enable fpsoverlay -- will show fps overlay
setfield fpsoverlay text_config.font_size 16 -- will change font size in fps overlay
printcommands -- will list all dev commands
setgold 100 -- will set gold amount
printgold -- will print gold amount
disable showgold -- will hide gold overlay (right top corner on screen)

Testing
I created 21 tests for CLIDeserialization. Since this is a draft designed to improve RFC and not merge, that's enough for now. If this PR reaches a finished state, everything possible will be covered in tests.

Migration Guide
No migration needed

Very interesting topic, took a very quick look at the PR!
I'm not super sold on the reflection-driver approach, but this seems to be the decision from RFC discussion. If you were to sum it up, why is Reflection preferred here?

Thank you for reviewing the PR!
The PR and RFC aim to achieve three primary objectives and one additional goal:

Unified Method for Spawning DevCommands: Establish a consistent approach for spawning DevCommands and retrieving information about them.
Standardized Management of DevTools: Create a unified method for enabling, disabling, listing, and obtaining information about DevTools.
Maximize Reuse of Existing Functionality: Leverage existing functionality wherever possible, such as using the robust TypeRegistry instead of creating a separate DevCommandRegistry.

Additional Goal:

Lay the groundwork for a Quake-like console for Bevy or a Command Palette similar to VSCode.

Reflection was preferred for several reasons:

Type Information: TypeInfo allows us to access detailed information about the fields of a DevCommand or DevTool structure, including field types and trait implementations like Default. This is crucial for dynamically building and managing these commands and tools.
Runtime Widget Construction: Reflection enables the construction of runtime widgets for spawning DevCommands or modifying DevTool fields, similar to what bevy-inspector-egui does. This dynamic capability is essential for a flexible development environment.
Documentation Access: With the .docs() method (when the documentation feature is enabled), we can retrieve comprehensive documentation for structures and their fields. This supports the creation of tooltips in the UI and detailed --help instructions for each DevCommand in the console.
Unified Deserialization: ReflectDeserialize provides a unified mechanism for constructing Reflect instances from any deserializer in an untyped manner. This is particularly advantageous at runtime, as it allows modification or construction of structures without requiring knowledge of their types. This flexibility is often not possible with other deserialization approaches.

For me these benefits make Reflection an best choice for achieving the goals.

@rewin123 What's the status? Is this still meant to be a draft?

@rewin123 What's the status? Is this still meant to be a draft?

I apologize for the long delay in replying, been on vacation.
PR in draft state, as the underlying RFC is still in draft state.


If allow both ACTION_VIDEO_CAPTURE and ACTION_IMAGE_CAPTURE cam_file_data pick mp4 always if we select photo on second time.

If allow both ACTION_VIDEO_CAPTURE and ACTION_IMAGE_CAPTURE cam_file_data pick mp4 always if we select photo on second time means cam_file_data value not updated as selection and pick from chooser

I solved it by take 2 string ref for camera file but how can i manage with single cam_file_data ref for both image and video


Stop transpiling to CJS modules before webpack bundling

Webpack bundling entry point path is already compiled by typescript and then bundled by rollup. Using typescript with existing configuration is transforming esm to cjs preventing tree shaking to occur while bundling the dependencies.

🎉 Thank you!


Add Lickilicky

Sorry cant add lickylicky cause the branch has a few conflicts with the main branch. I have already merged 2 of your PRs. I will give you the hacktoberfest label though so that your contributions can count.

Sorry cant add lickylicky cause the branch has a few conflicts with the main branch. I have already merged 2 of your PRs. I will give you the hacktoberfest label though so that your contributions can count.

No worries and thank you for adding the label! I created a new PR to add Lickilicky, can you please check and merge if it's OK ? #342


can't import puxi.js from create-react-app

I'm trying to use puxi in app created with create-react-app, but it can only work with .js extension, so here's what I did to make it work for me:
cp node_modules/puxi.js/lib/puxi.cjs node_modules/puxi.js/lib/puxi.js

then import * as PUXI from "puxi.js/lib/puxi.js".
Just to be clear solution I propose is just to rename .cjs to .js as it is in pixi.js

Possible workaround using react-app-rewired and adding an mjs rule for webpack.
npm install --save-dev react-app-rewired
Then create config-overrides.js in the project root, with:
module.exports = function override(webpackConfig) {
    webpackConfig.module.rules.push({
      test: /\.mjs$/,
      include: /node_modules/,
      type: "javascript/auto"
    });

    return webpackConfig;
  }

And change the relevant scripts in package.json:
"scripts": {
    "start": "react-app-rewired start",
    "build": "react-scripts build",
    "test": "react-scripts test",
    "eject": "react-scripts eject"
  },

There's also this sassy, yet functional webpack plugin that I'm using: https://github.com/lukeed/webpack-modules

I'm not sure why you are closing this since the issue is not solved :) but I guess at least people have two workarounds mentioned here

I renamed the files: https://github.com/pixijs/pixi-ui/tree/master/packages/core/lib
You need install 1.0.0 for the changes to take effect. Is the puxi.js bundle not depending on the 1.0.0 versions of the packages?

@SukantPal so this is what worked for me:
yarn add @puxi/core

And then importing it as
import * as PUXI from<EMAIL_ADDRESS>
So it doesn't require me to copy file anymore since it has proper .js extension, but it still fails if I try to import it with import * as PUXI from '@puxi/core'; and returns following error message:
Failed to compile.

<EMAIL_ADDRESS>Can't import the named export 'BLEND_MODES' from non EcmaScript module (only default export is available)

So this is great progress from "having to use workarounds" to "usable" :)

I think this is happening b/c your webpack configuration is importing the CJS bundles pixi.js (@pixi/* packages): https://github.com/webpack/webpack/issues/11213. webpack devs don't wanna look at it I guess.
I do want to make this easy for everyone, so let me know if there is something I'm missing.

Okay, I will try to change module build from.mjs to.es.js and see if it helps.

Okay, I will try to change module build from.mjs to.es.js and see if it helps.

This did indeed fix it for me running react-scripts 3.4.1
I changed<EMAIL_ADDRESS>to puxi-core.es.js as well as the corresponding map file and i no longer have the import error for BLEND_MODES and was able to successfully compile with TS and use the library.
Could this fix be pushed to npm?


feat: abandoned flow confirmation | uploading flow & edit flow

The type of this PR is: Feat

This PR solves CX-2755
Description

On back button press opens the confirmation modal.

Upload web
Upload Mobile
Edit Web
Edit Mobile

Waiting for Dasha to confirm the design


replace k8s mock client with k8s controller runtime envtest for subinstallation test

How to categorize this PR?

/area testing
/kind cleanup
/priority 3
What this PR does / why we need it:
This PR replaces the k8s mock client with the k8s controller runtime envtest.
Which issue(s) this PR fixes:
Fixes #416
Special notes for your reviewer:
This PR fixes also some minor issues in the code that were found during the refactoring.
Release note:

NONE

/test


Correct split-diffs.theme -> split-diffs.theme-name in README

Looking at the github config parser, "split-diffs.theme-name" is the config key.

Ah yes, thank you!


REST API connection for Joule

Hi,
I'm trying to connect to Joule - https://github.com/wbobeirne/joule-extension
I'm getting error when trying to connect to my Raspibolt via:
restlisten=<IP_ADDRESS>:8080
error:
{"error":"connection error: desc = \"transport: authentication handshake failed: x509: certificate is valid for <IP_ADDRESS>, ::1, <IP_ADDRESS>, fe80::db34:afcd:c2e2:3326, not <IP_ADDRESS>\"","code":13}
<IP_ADDRESS> is my Raspibolt's internal IP.
lnd.conf:
# RaspiBolt LND Mainnet: lnd configuration
# /home/bitcoin/.lnd/lnd.conf

[Application Options]
debuglevel=info
# debughtlc=true
maxpendingchannels=5
alias=Elkim
color=#68F442
rpclisten=<IP_ADDRESS>:10009
restlisten=<IP_ADDRESS>:8080
listen=<IP_ADDRESS>:9735

[Bitcoin]
bitcoin.active=1

# enable either testnet or mainnet
#bitcoin.testnet=1
bitcoin.mainnet=1

bitcoin.node=bitcoind

[autopilot]
autopilot.active=1
autopilot.maxchannels=5
autopilot.allocation=0.6

I even tried:
restlisten=<IP_ADDRESS>:8080
and
restlisten=<IP_ADDRESS>:8080

Any ideas? Thanks

I'll try that out myself in the coming days. The standard LND certificates are only valid for local access (<IP_ADDRESS>), not when accepting external requests. You need to create a new TLS certificat for that (similar to the one I described in the "Shango" bonus guide, but no guarantees).

Hey @Stadicus, any update on this?

I got it working by setting extraip to <IP_ADDRESS>, otherwise it failed for me too.

Just extraip=<IP_ADDRESS> not ````tlsextraip=<IP_ADDRESS>orrestlisten``` ?

I set it up, but I don't think Joule is ready for a Beginner's guide. It's only working reliably in Chrome, and I don't use that. Multiple problems in Firefox and Opera.
To enable external access to the REST API,

add the following to lnd.confrestlisten=<IP_ADDRESS>:8080
tlsextraip=<IP_ADDRESS>

delete the old TLS certificates
$ sudo rm /home/bitcoin/.lnd/tls.*
restart LND
copy the TLS certificates to the admin user
$ sudo cp /home/bitcoin/.lnd/tls.cert /home/admin/.lnd

More info here (in the "reckless" part):
https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_68_shango.md

Citing the Joule setup in FF:

Firefox has an issue where addons cannot bypass cross-origin request prevention. If you are running lnd or the Lightning App, you will be unable to connect to your node.
You will either have to setup a proxy server for your node that has CORS headers configured, or you will have to use another supported browser such as Chrome or Opera.

So a local proxy is the way to go atm, which feels like quite a hassle – and as far as I understand this issue it does not even work with the proxy atm.
Hopefully they'll switch to the gRPC API someday, as this woul eliminate the need to open up the REST API to the public. (one less thing to configure)

I set it up, but I don't think Joule is ready for a Beginner's guide

Those who are interested can also have a look at the step by step Joule setup guide by Pierre Rochard.


DeltaMerge return wrong result

Bug Report
On a customer environment, select on a table return the following error:
DeltaMerge return wrong result, current handle[8070450532252511967]version[432677394077974556]@read[56]@pos[2022] is expected >= last_handle[8070450532252560947]last_version[432677778184470534]@read[56]@pos[2021]
4. What is your TiFlash version? (Required)
all relase branch influenced

hi， is the issue fixed now？ if so which tiflash version should i use（my product tiflash version is v5.3.0）？

hi， is the issue fixed now？ if so which tiflash version should i use（my product tiflash version is v5.3.0）？

This bug has been fixed in the latest patch version, v5.3.2+, v5.4.1+, v6.1.0+, v6.5.0+. I would recommend you use the latest patch version of LTS, which is 6.1.3/6.5.0 now.


fix(analytics): cp proto definition folder

Sister change to: https://github.com/Kong/kong-distributions/pull/774

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


Find a license free questionnaire usable in ADQS vignette

VFQ-25: https://www.cdisc.org/standards/foundational/qrs/visual-functioning-questionnaire-25-interviewer-administered
See v 1.1 - 2014 (no changes in 8 years!). Has a section on copyright status. Full SDTM specs for QS and SUPPQS.

https://www.cdisc.org/standards/foundational/qrs

I believe the IIEF is license free.  You can find it here and the terms here

@koegerr as discussed the other day, see possible options above

I think this issue is related to Issue #374 ?
While I have heard of COSA (CDISC Open-Source Alliance), I don't think I have heard of CORE (CDISC Open Rules Engine) before. There was mention of it, wrt a PharmaSUG 2022 presentation having to do with QRS (Questionnaires, Ratings, and Scales) at a GSK meeting this morning. I will try to find more info.

I have been pointed towards:

https://www.cdisc.org/core
https://www.cdisc.org/standards/foundational/qrs

The PharmaSUG presentations were made by CDISC members and are not made available on the PharmaSUG website. But much of the content of the presentations can be found in the above links.
I do not know if we are still searching for a license-free questionnaire for our ADQS work in admiral but, if so, maybe COSA/CORE can give some guidance?

thanks Eric! @koegerr please can you check the above options with PCOR and let us know a decision on which to use? Can you do this before next release early Dec, as I'd like to put ADQS on the list for the March release then.

Nancy Brucken was in the questionnaires meeting last week. She is leader of the QRS subteam which develops ADaM QRS supplements. So far they have released two ADaM QRS supplements:

Generalized Anxiety Disorder-7 Version 2 (GAD-7 V2)
Geriatric Depression Scale Short Form (GDS SHORT FORM)

The documents above also include example data, which we could use in our examples.

We feel that we have enough resources for now and can close this issue.


Implementing settings UI for preferred number of tasks per day.

Summary

Adds preference logic for storing number of tasks per day, as well as if that preference is enabled.
How It Was Tested

Manual testing for now.
Screenshot/Gif

Settings Screen

Coverage: 67.023% (-3.6%) from 70.637% when pulling c438d3cecedface1e6d8b7f8e96696c7baf193e9 on TOA-119/settings_screen_ui into 6df9aa981282653b797be77b7359f7bbf4455649 on development.


Installer not accessible

Just wanted to test drive the manual installer, but URL https://github.com/wintercms/web-installer/archive/refs/heads/main.zip is showing an error -Not Found
from page https://wintercms.com/docs/setup/installation#wizard-installation

Hi, if I understood correctly the web installer will be available soon (~ next week).
You will be able to access it from https://wintercms.com/download

Ideally bug shall be closed once its fixed.
But its your space you can do anything. Or you shall remove the link from this page https://wintercms.com/docs/setup/installation#wizard-installation

Prepare a directory on your server that is empty. It can be a sub-directory, domain root or a sub-domain.
*Download the installer archive file.*
Unpack the installer archive to the prepared directory.
Grant writing permissions on the installation directory and all its subdirectories and files.
Navigate to the install.php script in your web browser.
Follow the installation instructions.

I prefer we leave this issue open until it's resolved @mjauvin, lots of people are asking

Thanks for prioritising this. Shared hosting can be a pain without it.

When to expect the installer approximately ?

@TrenchTown I don't want to commit to a date yet, but we have made substantial progress on the inner workings of the Installer and are nearly close to completion. Just a little while longer :)

@bennothommo As Web installer has been released then this may be closed.

Thanks for the reminder @arvislacis.
If anyone comes across this issue when looking for the Web installer, please see this post for more info: https://wintercms.com/blog/post/web-installer-now-available.


Arrows are different on small screens

A screen : http://i.imgur.com/HXPeHFH.png
A « cursor: pointer; » could be a good idea too.

Arrows are now aligned. Cursor adapted as well.


add ability to add own styles to left and right texts.

Thanks. You can now use these new features in version 1.0.2.


upd(insync-deb): <IP_ADDRESS>130 -> <IP_ADDRESS>350

Fails on debian stable

ubuntu and debian debs have different hashes. Should I remove the hash check or support only ubuntu?

Fails on debian stable

ubuntu and debian debs have different hashes. Should I remove the hash check or support only ubuntu?

Add cases for different hashes.

From CI:
/var/lib/dpkg/info/insync.postinst: 135: pgrep: not found
Insync installation has finished. You may now start it.

/var/lib/dpkg/info/insync.postinst: 327: sysctl: not found
dpkg: error processing package insync (--configure):
 installed insync package post-installation script subprocess returned error exit status 127

It seems the CI debian install does not have procps package installed and that make it fail.
The installation works fine in my debian bullseye vm.

Then add procps to depends

Then add procps to depends

Pacstall silently ignores depends for -deb packages

Oh, @D-Brox can you make a PR to fix that


Update sbt-typelevel-github-actions to 0.6.6

About this PR
📦 Updates org.typelevel:sbt-typelevel-github-actions from 0.6.5 to 0.6.6
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "sbt-typelevel-github-actions" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.typelevel", artifactId = "sbt-typelevel-github-actions" }
}]

labels: sbt-plugin-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #131.


Error running oozie integration test

Running https://github.com/sakserv/hadoop-mini-clusters/blob/master/hadoop-mini-clusters-oozie/src/test/java/com/github/sakserv/minicluster/impl/OozieLocalServerIntegrationTest.java
getting
java.lang.NoSuchMethodError: org.apache.hadoop.security.authentication.util.KerberosUtil.hasKerberosTicket(Ljavax/security/auth/Subject;)Z
My pom dependencies ends up looking like
 <dependencies>
        <!-- https://mvnrepository.com/artifact/org.apache.oozie/oozie-client -->
        <dependency>
            <groupId>org.apache.oozie</groupId>
            <artifactId>oozie-client</artifactId>
            <version>5.2.1</version>
            <scope>test</scope>
        </dependency>

        <!-- https://mvnrepository.com/artifact/com.github.sakserv/hadoop-mini-clusters-oozie -->
        <dependency>
            <groupId>com.github.sakserv</groupId>
            <artifactId>hadoop-mini-clusters-oozie</artifactId>
            <version>0.1.16</version>
            <scope>test</scope>
        </dependency>

        <!-- HDFS Mini Cluster -->
        <dependency>
            <groupId>com.github.sakserv</groupId>
            <artifactId>hadoop-mini-clusters-hdfs</artifactId>
            <version>0.1.16</version>
            <scope>test</scope>
        </dependency>

        <!-- MR Mini Cluster -->
        <dependency>
            <groupId>com.github.sakserv</groupId>
            <artifactId>hadoop-mini-clusters-mapreduce</artifactId>
            <version>0.1.16</version>
            <scope>test</scope>
        </dependency>
    </dependencies>

Adding below fixes this issue
  <!-- https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-auth -->
        <dependency>
            <groupId>org.apache.hadoop</groupId>
            <artifactId>hadoop-auth</artifactId>
            <version>3.3.4</version>
            <scope>test</scope>
        </dependency>

But still difficulties in setting up a test that passes. More missing from pom like
java.lang.NoClassDefFoundError: org/apache/hadoop/hdfs/server/blockmanagement/BlockInfoContiguous

and...
java.lang.NoSuchMethodError: org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.setMiniClusterMode(Z)V
I'll try again tomorrow. I'll clone the project and see how that goes. Thanks!

Was hoping to just be able to bring the dependency like in the readme example and maybe junit.

com.github.sakserv
hadoop-mini-clusters-oozie
0.1.16
test

Doesn't seem to resolve anymore against hortonworks...


Attempting fix for #46 - Preview api versions should be allowed...

if no more recent non-preview apiversions exist.  Attempted fix  of #46

+1 Approve

+1 Approve +1 Approve


Shield damage reduction for all shields

Hi
I want the 50% damage reduction to work with craftable shields instead of sword-blocking.
Also could the damage reduction be altered for arrows and melee, for example, it would be nice to have arrows do 50% less damage and melee only 33% while blocking.

So you would like to:

be able to edit the shield damage reduction separately from the sword blocking module
be able to edit the projectile damage reduction separately from the melee damage reduction

Yes, because I want shields to still be crafted as vanilla but nerfed

I know this isn't my post. So feel free to remove this comment. But i like this idea a lot and thought of something similar myself. To expand on it... would it be possible for the % of reduced damage to be adjusted by the config? So for instance damage reduction: 0.50 (as the default option)... but players can change it to 0.85.. 0.20... etc.

The config should already contain a shield damage reduction setting...

That seems to be only under the sword blocking section though. I have that disabled. I have hand switching disabled BUT shields on the whitelist so players can hold them in the standard 1.9 way and block etc.

What exactly do you mean by "which doesn't require players to have the shield item and the ''shield'' of course doesn't ever break."?

The normal 1.9 shield when used has a limited amount of uses. I guess the whole point of sword blocking isn't to implement shields but to try and resemble the sword blocking mechanic of which can't be done without using a shield? What I'm wondering is if the same %damage reduction could be used for shields. I like 1.8 spam clicking combat but with shields. BUT having a shield that doesn't absorb 100% damage would allow players who just hold it down in pvp and around mobs to still be punished by taking some damage.

Transferred to #113


Very low notes being cut off

I noticed that very low notes are being cut off. Is there a simple way to remedy this? Some canvas height that I adjust somewhere or so?
I am using the vexflow-musicxml project, which is based on this vexflow fork.
Example of the problem: second bar, 4th track.
Thanks for any pointers!

The link to the example doesn't work for me, but the bounding box for height is calculated in Vex.Flow.DocumentFormatter.prototype.getMinMeasureWidth--it's probably buggy. (Or the bounding box has the correct space above and below, but we center the staff vertically, so if there are only ledger lines below and not above, they could be cut off).


Improve CLI prompt style

Fixes https://github.com/prestosql/presto/issues/6190

Looks nice. Though green kinda conflicts which color used for string literals. Also one may argue that the prompt itself is not the most important part, and query text should be in focus.
I like the idea to have catalog/schema in prompt, but those can be long strings. Does it still look nice then?

@losipiuk ellipsis then?

@losipiuk ellipsis then?

Yeah. I think it could be fine.
The problem with changes like this, which improving aesthetics, is that it is very subjective to say if something is more or less readable. If colour is better or worse.
I will pass this one to @electrum as he did most of the CLI work.


Horizontal bars and table borders not visible.

As said in the title, the horizontal bar (***) and table borders aren't visible/are barely visible when in preview mode. I've provided an example image.
Not really much more to say.
EndeavourOS + KDE with Obsidian installed through pacman.
Image

Gotcha, will fix. Thanks for the example image.


Handle multiple parameter types (such as Map<String, String>)

For some types it can make sense to specify multiple parameter types. A prime example of this is Map, where it can be useful to specify the type of the keys and the type of the values separately. This change allows doing so, in the following form:
Map<String, Object>

Thanks. I'll check this as soon as I find time.


Further updates to typedoc script and missing docs

It is now possible to filter according to package
Fixed most issues in code
It is now exporting line and character on top of the filename
No more duplications
Fixed a small issue with overloaded functions

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/14712/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14712/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14712/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14712/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14712/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14712/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14712/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14712/merge#BCU1XR#0


Add Nvidia lapack support (cusolver backend)

Description
This PR introduces the cusolver backend. This is to provide Nvidia GPU support for lapack functions.
The backend is based on the existing cublas backend. The behaviour of the cusolver scope handle is identical to the cublas scope handle.
This has been tested with an implementation of the potrf batch, usm, and scratchpad functions.
Additional maths functions will be added in follow up PRs.
The cusolver legacy 32-bit API is used for the implementation as it has more maths operations then the new 64-bit cusolver API.
Checklist
All Submissions

[x] Do all unit tests pass locally? Attach a [log.]
[x] Have you formatted the code using clang-format?

Test Results:
test_main_lapack_ct_results.txt
test_main_lapack_rt_results.txt

Added gebrd, geqrf, getrf, getrs, and gesvd buffer and USM function implementations.
Details:

getrs_scratchpad_size returns 0 as the cusolver function does not use any scratchpad memory.
getrf and getrs have ipiv memory array of 64-bit ints. cusolver legacy API does not support 64-bit ints. So ipiv is changed to 32 bits using a SYCL kernel.
gebrd does not support m<n and throws unimplemented exception if matrix dimensions satisfy this constraint

Attached test results:
ct_results.txt
rt_results.txt

/intelci: run

@ericlars would it be possible to see the results of the check, so I can look into what is failing?

I think that all non-batch cusolver functions, which match oneMKL functions, have been added.
The full list of implemented operations is, gebrd, geqrf, getrf, getrs, gesvd, orgbr, orgqr, orgtr, ormtr, ormqr, potrf, potri, potrs, syevd, sytrd, sytrf, heevd, hegvd, hetrd, sygvd, ungbr, ungqr, ungtr, unmqr, and unmtr.
cc, @pgorlani, @hdelan
Test results are below:
test_main_lapack_ct_results.txt
test_main_lapack_rt_results.txt

@ericlars would it be possible to see the results of the check, so I can look into what is failing?

All tests passed on gpu! There are a couple failures on CPU when LLVM is used, and lots of failures outside of LAPACK domain, but they all look unrelated to this PR. I'm looking into why that is.
Thanks for the PR, it looks great!

/intelci: run

@ericlars  Is this backend already added into CI?


glew missing

Someone cloned my project and ran stack run - but still couldn't make it work. The error output is this:
nanovg           > configure
nanovg           > Configuring nanovg-<IP_ADDRESS>...
nanovg           > Cabal-simple_mPHDZzAJ_<IP_ADDRESS>_ghc-8.10.7: The pkg-config package 'glew' is
nanovg           > required but it could not be found.
nanovg           >

Since I never ran into this before, maybe you have an idea what is missing?

They need to have it installed in their system. The way to install the library for each OS is shown here

Thanks, my bad then.


wget error while loading shared libraries cannot open shared object file no such file or directory

Steps to reproduce:

Clone git repository
Open visual studio and build all
Ignore the thousands of warnings and download Windows SDK
Delete and re-clone the repository
Rebuild the solution
Ignore the thousands of warnings because Windows SDK is already installed
Right click solution and retarget
Rebuild the solution
Ignore the warnings
Read the instructions
CD into the llama.c directory using Windows Explorer
Right click and open command prompt here
type in "bash download.sh" and press enter
Hit your head against the wall because wget is not installed (wtf is wget?)
Search the internet for wget
Find wget on a pre-world world two era website
Download it
Oh wait its a linux source file without an .exe happy days
Download wget.exe from pirate infested website
Start again -> wget.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

Did I miss anything?

It seems that wget is just a download client, therefore i've bypasses wget altogether and just manually downloaded the files. It's still not working, but for a different reason. This issue can be closed and i'll open another.


Doesn't work?

This doesn't actually send a function to the AI + all the examples are outdated and incorrext.

I'll be updating him to tool calling soon.


How to use dynamic inventory from Netbox into AWX UI?

k3s version v1.29.4+k3s1 (94e29e2e)
go version go1.21.9
OS: Red Hat Enterprise Linux 8.10 (Ootpa) - Linux 4.18.0-553.el8_10.x86_64
Kubernetes/K3s:
Client Version: v1.29.4+k3s1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.4+k3s1
AWX Operator: 2.17.0
Netbox version: v3.7.3 running on RHEL8 on separate VM
Description
Hello @kurokobo, thanks for the use case 1 to mount local disk into AWX.  I am looking to understand how to properly (step by step) to integrate Netbox devices (using netbox.netbox.nb_inventory plugin) to use as dynamic inventory in AWX.
I've taken Ansible's guide to create an inventory sourcing from a project with this yml code, but kept getting these messages/warnings.  My project syncs from gitlab and I have executeable permission on all my files and they show up on the 'inventory file' drop-down menu.
This script worked great using the ansible-inventory command.
plugin: netbox.netbox.nb_inventory
api_endpoint: "netbox_url"
token: 'netbox_token'
validate_certs: False
config_context: False
group_by:

device_roles
virtual_chassis_name: True
compose:
ansible_network_os: platform.slug

AWX's sync output for the Inventories:
!
host_list declined parsing /runner/project/netbox_inventory.yml as it did not pass its verify_file() method
toml declined parsing /runner/project/netbox_inventory.yml as it did not pass its verify_file() method
[WARNING]:  * Failed to parse /runner/project/netbox_inventory.yml with script
plugin: problem running /runner/project/netbox_inventory.yml --list ([Errno 8]
Exec format error: '/runner/project/netbox_inventory.yml')
File "/usr/local/lib/python3.9/site-packages/ansible/inventory/manager.py", line 293, in parse_source
plugin.parse(self._inventory, self._loader, source, cache=cache)
File "/usr/local/lib/python3.9/site-packages/ansible/plugins/inventory/script.py", line 150, in parse
raise AnsibleParserError(to_native(e))
[WARNING]:  * Failed to parse /runner/project/netbox_inventory.yml with auto
plugin: inventory config '/runner/project/netbox_inventory.yml' specifies
unknown plugin 'netbox.netbox.nb_inventory'
File "/usr/local/lib/python3.9/site-packages/ansible/inventory/manager.py", line 293, in parse_source
plugin.parse(self._inventory, self._loader, source, cache=cache)
File "/usr/local/lib/python3.9/site-packages/ansible/plugins/inventory/auto.py", line 53, in parse
raise AnsibleParserError("inventory config '{0}' specifies unknown plugin '{1}'".format(path, plugin_name))
[WARNING]:  * Failed to parse /runner/project/netbox_inventory.yml with yaml
plugin: Plugin configuration YAML file, not YAML inventory
File "/usr/local/lib/python3.9/site-packages/ansible/inventory/manager.py", line 293, in parse_source
plugin.parse(self._inventory, self._loader, source, cache=cache)
File "/usr/local/lib/python3.9/site-packages/ansible/plugins/inventory/yaml.py", line 114, in parse
raise AnsibleParserError('Plugin configuration YAML file, not YAML inventory')
[WARNING]:  * Failed to parse /runner/project/netbox_inventory.yml with ini
plugin: Invalid host pattern '---' supplied, '---' is normally a sign this is a
YAML file.
File "/usr/local/lib/python3.9/site-packages/ansible/inventory/manager.py", line 293, in parse_source
plugin.parse(self._inventory, self._loader, source, cache=cache)
File "/usr/local/lib/python3.9/site-packages/ansible/plugins/inventory/ini.py", line 137, in parse
raise AnsibleParserError(e)
[WARNING]: Unable to parse /runner/project/netbox_inventory.yml as an inventory
source
ERROR! No inventory was parsed, please check your configuration and options.
pip3 list output:
Package            Version

ansible-core       2.17.0
ansible-pylibssh   1.2.0.post4
cachetools         5.3.3
certifi            2024.6.2
cffi               1.16.0
chardet            5.2.0
charset-normalizer 3.3.2
colorama           0.4.6
cryptography       42.0.7
distlib            0.3.8
filelock           3.14.0
idna               3.7
Jinja2             3.1.4
MarkupSafe         2.1.5
netbox-api         0.4.3
packaging          23.2
pip                23.2.1
platformdirs       4.2.2
pluggy             1.5.0
pycparser          2.22
pynetbox           7.3.3
pyproject-api      1.6.1
pytz               2024.1
PyYAML             6.0.1
requests           2.32.3
resolvelib         1.0.1
setuptools         68.2.2
tabulate           0.9.0
tox                4.15.0
urllib3            2.2.1
virtualenv         20.26.2
Installed ansible-galaxy collections inside the awx_task/web pods:
/var/lib/awx/projects/cisco/collections/ansible_collections
bash-5.1$
total 0
drwxr-xr-x 4 root root  36 Jun  4 17:36 ansible
drwxr-xr-x 2 root root  24 Jun  4 17:05 ansible.netcommon-6.1.3.info
drwxr-xr-x 2 root root  24 Jun  4 17:36 ansible.utils-4.1.0.info
drwxr-xr-x 3 root root  17 Jun  4 16:53 arista
drwxr-xr-x 2 root root  24 Jun  4 16:53 arista.eos-9.0.0.info
drwxr-xr-x 9 root root 101 Jun  4 16:52 cisco
drwxr-xr-x 2 root root  24 Jun  4 16:52 cisco.asa-5.0.1.info
drwxr-xr-x 2 root root  24 Jun  4 16:52 cisco.ios-8.0.0.info
drwxr-xr-x 2 root root  24 Jun  4 16:52 cisco.iosxr-9.0.0.info
drwxr-xr-x 2 root root  24 Jun  4 16:52 cisco.ise-2.9.1.info
drwxr-xr-x 2 root root  24 Jun  4 16:52 cisco.nxos-8.1.0.info
drwxr-xr-x 2 root root  24 Jun  4 16:52 cisco.sdwan-0.1.0.info
drwxr-xr-x 2 root root  24 Jun  4 16:52 cisco.sdwan_deployment-0.1.1.info
drwxr-xr-x 6 root root  65 Jun 12 19:34 community
drwxr-xr-x 2 root root  24 Jun  4 16:52 community.general-7.0.0.info
drwxr-xr-x 2 root root  24 Jun 12 19:34 community.general-9.0.1.info
drwxr-xr-x 2 root root  24 Jun  4 16:53 community.grafana-1.8.0.info
drwxr-xr-x 2 root root  24 Jun  4 16:53 community.network-5.0.2.info
drwxr-xr-x 2 root root  24 Jun  4 16:53 community.zabbix-2.4.0.info
drwxr-xr-x 3 root root  18 Jun  4 16:53 kubernetes
drwxr-xr-x 2 root root  24 Jun  4 16:53 kubernetes.core-4.0.0.info
drwxr-xr-x 3 root root  20 Jun 13 18:44 netbox
drwxr-xr-x 2 root root  24 Jun 13 18:44 netbox.netbox-3.19.1.info
bash-5.1$
Any help would be greatly appreciated.  Thanks again!

@vietsoulz
Hi, this is the root cause I think:

unknown plugin 'netbox.netbox.nb_inventory'

Please ensure your EE that used for inventory sync contains netbox.netbox collection.
Inventory sync is invoked in ephemeral job pod as well as standard job, so in your screen, the EE that contains netbox collection should be specified here:

@kurokobo
Thank you.  Do you have a specific guide that I can create the EE to work within your AWX deployment?  I see a lot of guides online but not sure if it has to be specific with the AWX instance from your guide.

https://github.com/kurokobo/awx-on-k3s/blob/main/builder/README.md

I recommend you to try Use Ansible collections without custom EE section first.

These are the two built-in EEs that came with your deployment.  Is there a way to modify it and update the Ansible collections?

I will try to add the netbox.netbox source under the Use Ansible Collection without custom EE to see if that resolves my issues.  I did have that file populated with all of my Cisco modules and it was working so far.
[root@pgsscvntwkawx02 collections]# cat requirements.yml
collections:

name: community.general
version: 7.0.0
source: https://galaxy.ansible.com
name: cisco.asa
version: 5.0.1
source: https://galaxy.ansible.com
name: cisco.ios
version: 8.0.0
source: https://galaxy.ansible.com
name: cisco.iosxr
version: 9.0.0
source: https://galaxy.ansible.com
name: cisco.ise
version: 2.9.1
source: https://galaxy.ansible.com
name: cisco.nxos
version: 8.1.0
source: https://galaxy.ansible.com
name: cisco.sdwan
version: 0.1.0
source: https://galaxy.ansible.com
name: cisco.sdwan_deployment
version: 0.1.1
source: https://galaxy.ansible.com
name: kubernetes.core
version: 4.0.0
source: https://galaxy.ansible.com
name: arista.eos
version: 9.0.0
source: https://galaxy.ansible.com
name: community.network
version: 5.0.2
source: https://galaxy.ansible.com
name: community.zabbix
version: 2.4.0
source: https://galaxy.ansible.com
name: community.grafana
version: 1.8.0
source: https://galaxy.ansible.com
name: ansible_netcommon
version: 6.1.2
source: https://galaxy.ansible.com

These are the two built-in EEs that came with your deployment. Is there a way to modify it and update the Ansible collections?

The built-in EEs are came from here: https://github.com/ansible/awx-ee
If you want to modify them, modify the source code and built it.

I struggled a bit to get all the modules I need and able to create a custom EE on my local AWX host.  How do I use this custom EE in AWX UI?

I got this message when attempting to run the Inventories job from the Custom EE that I created:
Receptor detail:
Error creating pod: container failed to start, ImagePullBackOff

@vietsoulz
I already provide the guide to use custom EE with your AWX with or without container registry.
Please see my guide again, its Use EE in AWX section: https://github.com/kurokobo/awx-on-k3s/tree/main/builder#use-ee-in-awx


operator-sdk 1.0 needs a way to use podman instead of docker

Bug Report
What did you do?
I am building an operator on a RHEL 8 box. There is no docker on RHEL 8, only podman. It would be good if operator-sdk also supported podman. Could be as simple as adding additional targets to the generated Makefile (podman-build, podman-push, ...).
Using an ln -s /usr/bin/podman /usr/bin/docker worked for the most part - but somehow I'm getting an invalid bundle.

Ansible

Possible Solution
Add new targets to Makefile - or add flag to operator-sdk init to generate podman instead of docker. Actually I'd remove all docker references and use image instead. :-)
Additional context
Following my lab guide:
https://github.com/redhat-cop/openshift-lab-origin/blob/master/OpenShift4/Ansible_Operator_1.0.adoc

/remove-lifecycle stale

The Makefile is yours once you've init'd your project, so you can modify the image build targets yourself.

Hi,
I'd like to reopen this. Can we add the following default make targets?
# Build the docker image
podman-build: test
        buildah bud -t ${IMG} .

# Push the docker image
podman-push:
        podman push ${IMG}

Given the close relationship between operator-sdk, OpenShift, RHEL 8 and given the absence of docker in RHEL 8 I strongly advocate that the operator-sdk and its getting started examples work from the get go with podman.

As an operator project owner, you have complete control over your Makefile and can update the default docker targets as needed. You can one-liner this with sed -i 's/docker/podman/g' Makefile.
An alternative is writing a phase 2 plugin (when they are implemented, see https://github.com/kubernetes-sigs/kubebuilder/pull/1801) to scaffold podman/buildah instead of docker, but that's still a ways off.
Btw, operator-sdk is a CNCF project that doesn't target a specific platform/os (other than Kubernetes of course).

I haven't documented it (yet), but if you do end up using podman, watch out for the manifest version it creates, I ended up using "--format=docker' to get it to build v2 manifests which are required by the opm command.


fix: support dev-2024-06

Fixes #4

patched the changes on my machine locally and confirmed that this fixes the issue. any chance of getting this merged @jtakakura ?

Thank you for your PR.


Support for empty delimiters

That's the last piece of #14. It allows to do things like this:

We already support rendering of FencedAtom with either LeftDelimiter or RightDelimiter being defined as null, so I've decided that we should construct it so when any delimiter is omitted.
Although our parser isn't null-tolerant at all, and I don't think it should be. So, parser generates symbols with a special names, and those get replaced when constructing the FencedAtom.
I've used another solution without abusing null values.
Closes #14.

@ForNeVeR, also "\left. x \right y".

@gsomix that was fixed.


No way to represent a set of tasks

I want to implement a future which can be cloned so that multiple tasks can be blocked waiting for the same external event. This doesn't seem to be possible to implement. Task doesn't implement Hash or Eq so I can't keep the set of pending tasks in a HashSet or even a Vec because there's no way to de-duplicate the tasks. If someone keeps poll()ing my future, or keeps cloning new ones, the Vec would grow indefinitely.
Could we give Task an implementation of Hash or Ord + Eq or something? Alternatively, could we add a TaskSet type for this use-case?

No, but looking at how it's implemented did. So thanks for that.
I might leave this open though since any of my suggestions would have made this easier to solve.

I’m not sure how providing a task set would help. I can’t really comment more without knowing what api you are trying to provide, but my initial impression is that using something like a TaskSet would result in a buggy impl.

@carllerche It might result in some spurious wakeups if an object that needs to be notified keeps moving between different tasks. I think it would still be more efficient (in the general case) than the allocation and duplication involved in keeping tasks in a hash map and giving every object it's own key (aka what Future::shared does). And I don't see how it could actually be buggy.

@candrew what happens if there are two clones being used on the same task and one drops? Would it not deregister all handles on that same task?

@canndrew for the original question (something like hash/eq/ord for Task) I don't think we'll be able to do that as we don't really have an underlying id and it's often quite difficult to equate two handles (as they've got trait objects and such behind the hood). In that sense I'd recommend tracking ids manually in what you're working on and use that for deduplication of task handles. Would that work for you?

I'm going to close this as I don't think that there is anything to do. Please let me know if I am wrong.


Test Driven Development

Hi there 👋!
In this PR We :
✅ Configure the linter for the project.
✅ Write a test for the Solver class.
✅ Write a test for factorial method case 1.
✅ Write all the test cases for the method factorial.
✅ Implement the factorial method based on the test cases.
✅ Create a test case for the reverse method
✅ Create a reverse method based on the test case
✅ Create test cases for fizzbuzz method
✅ Create a fizzbuzz method based on the test cases
✅ Update the README file.
✅ Refactor the fizzbuzz method.

Thank you @DammyShittu for your review.


Can't scroll down (mobile)

The scroll bar shows up but I can't scroll down. Perhaps the library that allows you to move day to day with horizontal swipes is trapping the vertical swipes.

Which device/browser?

Reproduced on iOS/ safari. Agree with your hypothesis.

Need to call this.setScrollDirection('y') to re-enable vertical scrolling

Fixed on Chrome for Android, but not working in iOS Safari.
Scroll behavior on Android could also be improved.

Improved scroll behavior in PR #160. Problems still exist in Safari.

Can I just say - this is an amazingly well done project, including the use of Google Material Design through Paper Elements. Jonathan mentioned this today in our Macaluso meeting. And yep, I repro this on iOS, both in Safari and Chrome.

The right element couldn't be found when using Shady DOM (Firefox and Safari), that has been resolved and scrolling now works better.
However, it can still be kind of balky to start scrolling - needs more investigation.

Is this still a thing? Closing this issue for now.


Linking directly to tales

For discussion:
It was decided early on that WT is itself not a repository and that persistent identifiers (e.g., DOIs) would be assigned by partner repositories.  WT does not archive published tales and any published tales must be imported prior to execution. This means that readers of an article that includes a link to a tale DOI need to navigate to repository (DataONE), understand what they are looking at, know that they need to "Open in WT", click on that and...? For comparison, CodeOcean assigns it's own DOIs -- clicking on the link resolves to the Capsule, which can be used immediately (notably this is just the usual JupyterLab interface, not a "Cloud Workstation").
This raises for me two questions:

What about tales that are not published? Is there an identifier that we can use to share links to unpublished tales that don't involve UI routes (/run, /view, /whatever)?
How can we minimize the overhead of going from DOI to running tale environment?  At some point content negotiation on the DOI was discussed. The tale description could include instructions for running?  Something better?

Clean, easy links that resolve a DOI and redirect a user back to WT would be awesome.  I don't see how it can be done without cooperation of the repository issuing the DOI, but given that it should be fairly straightforward to tell the DOI resolver how to redirect to WT.
DOIs do support multiple resolution, but of course registering those locations can only be done by the DOI issuing authority, which in this case is the repository that issues the DOI. Specifically, using the 10320/loc handle type allows the registering party to specify multiple URIs and an algorithm for how clients should choose which to use.  See <IP_ADDRESS> Resolution of Multiple URLs using the 10320/loc Handle Type.
In addition, DOIs allow multiple metadata values to be associated with a DOI name, including application specific metadata values.  We could probably leverage that as well, but browsers wouldn't really know what to do with it. Content negotiation is also possible, but right now RAs have a limited set of types they natively support. DataCite supports several content types, but I think they don't really match our needs.   And browsers don't have a common way of requesting content negotiated content anyways. So redirection via 10320/loc seems best at this time.
For 10320/loc resolution, we would ask repositories to register both their standard redirect URL and an additional URL for opening the package on WT:
<locations>
    <location id="0" href="https://arcticdata.io/catalog/view/doi:10.18739/A2QV3C39P" weight="1" />
    <location id="wt" href="https://dashboard.wholetale.org/view/doi:10.18739/A2QV3C39P" weight="0" />
</locations>

With this registered, then the DOI proxy server would resolve these URLs:

https://doi.org/10.18739/A2QV3C39P to the repository URI
https://doi.org/10.18739/A2QV3C39P?locatt=id:wt to the Whole Tale URI
https://doi.org/10.18739/A2QV3C39P?noredirect to a list of the possible URIs

This is all fairly convoluted, but what we have to work with for the DOI resolution system.


NUTCH-2654: The obsolete configuration of index writers has been removed.

In this patch, all obsolete files and properties associated with indexers have been removed.

In this PR the schema.xml file has not been deleted. I assume that this file is kept in Nutch distribution as reference of how Solr has to be configured. But I believe this file has to be removed as well, because:

Maybe this file was necessary when Nutch had only the Solr index writer out-of-the-box. But now, there are more index writers available in Nutch distribution. So, why do we have to keep this file? Why we don't have references of the configuration of other indexers available in Nutch too?
In the mail list I've seen some people a little confuse about the use of this file. Sometimes the users think that this file has to match with the schema.xml file in Solr side, when actually this file is never used by Nutch at all.
So, what do you think about it folks?

+1 for removing the outdated config from the nutch-default.xml.
I'm not so sure about the removal of the schema.xml file. Looking at our supported indexer must of them don't need a pre-defined schema (Kafka, rabbitmq, elastic-rest, elastic, etc.). For Solr, a schema is normally required (although recent versions do have a schemaless mode.  The issue boils down to how the user starts Solr.
If a Solr instance was started without schemaless mode then it will fail to index the data in which case there is no clear way of knowing which fields to add in the schema other than trial&error (or checking each enabled plugin)
If the user starts Solr with the schemaless mode, the schema is not entirely needed.
I do recognize that this file is used by a single indexer plugin which is a conditional dependency (using or not Solr). We could move the config file into the plugin directory (src/plugin/indexer-solr) and update the documentation/README making the file available on the distribution (otherwise the user will have to download it). It is possible that putting it in this new location makes it clear that it is not used by Nutch itself but provided for the Solr users.
The schema.xml file is not required but provided as a commodity/guide for Solr users.

+1
The schema.xml but it isn't removed by this PR, right? It should be kept, to make the setup of Solr easy for users. If I'm not wrong, the solrindex-mapping.xml is obsolete because a field mapping can be configured in the index-writers.xml.

I agree with @jorgelbg. We could move schema.xml from folder conf/ to src/plugin/indexer-solr. After all, this is not a configuration file of Nutch. It is only a reference/guide of how to configure a Solr core.

+1 Agreed to move the the schema.xml to the indexer-solr plugin. We just need to update the tutorial regarding this point as soon as 1.16 is released. Might be also worth a note in the CHANGES.txt


Use pip for installation

Pretty self explanatory.

changes to implement resulting from this:

topics() should not be part of transaction.py
transaction history should be a custom data struct, not just a list

Added the ability to save and reload local accounts.  For now I've removed contract address persistence as I need to think on the best way for it to work going forward.


Update default flags passed to cargo

The --workspace flag is no longer set for cargo invocations by default. Please set cargoExtraArgs = "--workspace"; to bring this behavior back
The $CARGO_PROFILE environment variable can be used to specify exactly which cargo profile is used for the invocation. By default the release profile will be used. Set CARGO_PROFILE = "something else"; in the derivation to change it, or set it to null to omit specifying a profile altogether
All cargo invocations are now automatically logged

Noted. BTW. Is there any way I can have my flakes pointing at the specific version of crane?

@dpc you can instruct a flake to use any arbitrary revision (could be a commit, or a tag, or a branch) like so:
{
  inputs.crane.url = "github:ipetkov/crane/THE_REVISION";
}

Also worth noting that if you are committing the flake.lock file (which you should be) the inputs will not change until nix flake update is run. Though specifying an exact revision in the flake.nix file will avoid accidentally updating things. Hope this helps!


specbuilder: do not limit swap if unsupported

Some machines (notably some of the default GCP machine images) do not
support limiting swap usage out of the box. This can be irritating and
prevents clean integration test runs. This change now checks to see if
the host system supports swap before trying to set it.
The system information is injected in from the top level rather than
being encapsuated inside the specbuilder package to aid testing and to
avoid coupling the specbuilder package to only being able to build RunC
specs for the machine it is currently running on.

I still want to clean this up a little. Please don't merge yet.

Ok, this is ready for review.
I'm a little sad that this pulls in a log library. I may do some further work to remove that dependency in a latter change.


Can't SVIDEO and RGB coexist?

My PCEINGINE model is TG001. Can't SVIDEO and RGB coexist? Step 4 - Solder S-Video connections. After I operated, SVIDEO could be used, but there was no RGB signal output. Later, I did not remove those resistors and directly connected the SVIDEO terminals to the corresponding solder joints. The result can coexist, that is, both It can output SVIDEO or RGB, but today when I used SVIDEO to output, the picture suddenly became dark, as if there was a lack of brightness, but the colors were still there. I wonder if it was because I did not remove the resistor?
When I tried removing any of the resistors R145, R141 or R134, there was no RGB signal output, so I had to keep these resistors.
The dark picture is SVIDEO, and the bright picture is normal AV picture.

I followed the steps again to remove those resistors, but the SVIDEO picture was still dark.

Hi,
S-video and RGB can absolutely coexist. Did you build the bonanza yourself?
If so, I would go back and make sure that proper component values were
used. What cables are you using for RGB? The sync signal from the PCE is
fairly low, so some cables might not have enough margin - I would suggest
Sync on Luma if possible.
Also, the FFC is very difficult to hand solder. I would recommend reflowing
if possible.
Zack
On Fri, Jan 12, 2024 at 9:01 AM Cyrus331 @.***> wrote:

I followed the steps again to remove those resistors, but the SVIDEO
picture was still dark.
1.jpg (view on web)
https://github.com/zaxour/TurboNanza/assets/98383215/d772b7d5-5bca-42b9-9378-f7a1eaf3536c
—
Reply to this email directly, view it on GitHub
https://github.com/zaxour/TurboNanza/issues/7#issuecomment-1889561249,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AU7A2VPSJSCE5EXFQE2AUGTYOFM35AVCNFSM6AAAAABBYKLEDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBZGU3DCMRUHE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks for the reply. Now the problem is solved when I connect the Y signal to R145. If the same effect can be achieved without removing the resistors, why were those resistors disconnected in the original design? It's because The sync signal from the PCE is
Fairly low, so some cables might not have enough margin?

I found that the svideo signal was too noisy if I tapped the signals directly, so I reimplemented the whole circuit on my board. How are you connecting your cable? If everything is going through the bonanza output, I don’t see how your TV would be pulling the signals low. The only time I’ve seen that is if using one of those adapters from AliExpress where composite video is not buffered. This causes the composite signal to be loaded down. It doesn’t happen when using a proper output device.
Zack
On Jan 13, 2024 at 21:17 -0700, Cyrus331 @.***>, wrote:

Thanks for the reply. Now the problem is solved when I connect the Y signal to R145. If the same effect can be achieved without removing the resistors, why were those resistors disconnected in the original design? It's because The sync signal from the PCE is
Fairly low, so some cables might not have enough margin?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>


renamed baseurls and modified controllers adding the populate method

added the populate method to courses.find to allow it to reflect Bootcamp information when courses are searched.

Added Populate method


Minimum modulus size

RSA is catastrophically weak with 512 bit keys, and anything less than 2048 bits is insecure. A minimum key size should be enforced. Golang has proposed to require 1024 bits minimum:
https://github.com/golang/go/issues/68762
however 2048 would be a good choice where backwards compatibility requirements are minimal

See also: #350

For testing and supporting existing implementations I don't think a blanket limit makes sense.
But maybe a default generator that limits the range would be helpful for newcomers.

Not supporting existing implementations which would require this is a benefit.
RSA 1024 and even 2048 are plenty fast for testing.
On August 9, 2024 11:00:27 PM GMT+01:00, Friedel Ziegelmayer @.***> wrote:

For testing and supporting existing implementations I don't think a blanket limit makes sense.
But maybe a default generator that limits the range would be helpful for newcomers.

Not supporting existing implementations which would require this is a benefit.

I am glad for you that this is how you can run your projects, it is not the same for all of us.

I agree with @ryancdotorg and with the rationales outlined in the Go proposal.
I also note that the rsa crate already enforces limits on key sizes, specifically RsaPublicKey::new which returns an error for any key larger than 4096 bits. This method has a trapdoor for configurability via RsaPublicKey::new_with_max_size.
An intermediate pathway would therefore be to do the same thing for minimum sizes:

Have the default pathway enforce a secure minimum size in RsaPrivateKey::new and RsaPublicKey::new, which we can increase as necessary in line with best practices.
Have a trapdoor for configurability via e.g. RsaPrivateKey::new_with_insecure_key_size, which enables reviewers to clearly identify codepaths that are insecure in production.

Then the question of whether to expose the insecure / hazmat configuration APIs at allcan be separated from the "stop people shooting themselves in the foot because they think they are getting 256-bit security" issue.

For reference, here's an example of use of 512 bit RSA that could have damaged a power grid:
https://rya.nc/vpp-hack.html
It's been known to basically worthless in terms of security for decades, let it die.

The API IMO probably should use mis-use resistance. Just like with x25519-dalek we added static_secrets opt-in to track it's use.
One way would be to split the constructor for insecure and secure constructions - the insecure constructor for given bit-lengths would be hidden behind a feature.
By having to use a feature (or cfg) to override mis-use resistance it could be potentially tracked in at least feature usage - now it is impossible to find any direct dependencies which use insecure sizes - where as using a feature it can be tracked through analysing crates.io-index that exposes the used features.

Extensive empirical evidence shows that users of cryptographic libraries are frequently not qualified to make choices on things like modulus size.
Putting broken (< 1024 bits) and weak (< 2048 bits) behind feature flags seems like a good solution, and type annotating by size is an interesting idea.
On August 15, 2024 1:01:59 PM GMT+01:00, teknalb @.***> wrote:

I strongly disagree with this restriction the library should remain as flexible as possible; modulus size is a user's choice.
As an alternative I'd suggest informing the user with a warning or something if the key size is known to be broken.

I'll +1 @str4d's suggestion that we should follow what we already do with RsaPublicKey and have checked RsaPrivateKey APIs with short, convenient names which enforce a minimum modulus, and parallel unchecked APIs with longer names that don't enforce the restriction


Failed to build on linux (gcc 4.9, gentoo)

I'm getting errors:
ctkPluginArchiveSQL_p.h:60:37: error: expected ) becfore < token
ctkPluginArchiveSQL(QSharedPointer<ctkPluginArchiveSQL> old, int generation,
and some more exceptions alike this. using Qt5, what is happening?
Thank you

What version of Qt5 are you using exactly? There could be issues with Qt5.5.

@sankhesh Qt 5.5.0, it's my system qt there. Is it hard to fix bug and I should downgrade?

@sankhesh I think it could be simply done by  adding #include <QObject>

Missing includes could indeed be a reason for your errors. I do not have a Qt5.5 build at hand. Do you mind making the necessary changes and sending a pull request?

@saschazelzer can't schedule it for now. Maybe one day


Add cache to ci; try to run jobs in parallel

Ci for monorepo can take some time. Maybe I can make it faster by using conc in linter commands and/or by creating cache configuratin

It's cheaper (in time) to run build and then link in one job because of single env setting and project building


Fix #88 - Replace Gunicorn with uWSGI

Fixes: #88

What is done
This adds a nautobot-server start command that is just a thin veneer
over pyuwsgi.run(), itself being the Python module implementation of
uWSGI.
This also adds django-webserver as a dependency which provides the
management command internals that bind to pyuwsgi. This project is maintained by one of the uWSGI contributors, so it's pretty solid.
Yes, I know, I updated the contrib files. Those are just for reference while I work on the docs.
What is not done

[ ] Revising the documentation to replace Gunicorn references w/ uWSGI
[ ] Documenting nautobot-server start

This addresses the issue with #95 by circumventing it entirely, but it does not fix the underlying issue with WHY the plugins are not being loaded correctly. That will take more time, but this will alleviate the problem for the near term by launching uWSGI from within the server utility instead of the other way around, with Gunicorn/uWSGI invoking the application.


useIframe completely fails in all mobile browsers, Safari on Mac on SauceLabs

Expected behavior
it works
Actual behavior
test disconnects.  It seems that these browsers don't work with the option unless there are further options passed into the runner for each browser.  However, there is no documentation of other options, either in karma, or anywhere on the web, so it appears that either karma needs to fix this or the documentation needs to state that it only works with chrome, IE, Edge, and firefox
Enviroment Details
saucelabs

Karma version (output of karma --version):
Relevant part of your karma.config.js file

Steps to reproduce the behaviour

client: { useIframes: false} in karma.conf.js
run any saucelabs browser test with Safari on Mac, or any mobile browser
watch it fail

Hi @cellog , have you found a solution in the meanwhile?

Yes, I wrote about it here:
“Taming Karma, SauceLabs and Internet Explorer: a journey revealed” https://medium.freecodecamp.com/taming-karma-saucelabs-and-internet-explorer-a-journey-revealed-548275ed04b4
Basically isolating the environment and doing multiple karma runs works great. So I use a window for IE tests, and iframe for the others.
via CloudMagic Email [https://cloudmagic.com/k/d/mailapp?ct=pa&cv=8.5.43&pv=5.1.1&source=email_footer_2]


Fix javadoc.

I understand that many developers like immutable lists,
but I think this change will be a great improvement
to what is really returned there.

Codecov Report

Merging #1957 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #1957   +/-   ##
=========================================
  Coverage     97.97%   97.97%
  Complexity     5126     5126
=========================================
  Files            89       89
  Lines         11578    11578
  Branches       1514     1514
=========================================
  Hits          11344    11344
  Misses          111      111
  Partials        123      123

Impacted Files
Coverage Δ
Complexity Δ

vavr/src/main/java/io/vavr/collection/List.java
99.61% <ø> (ø)
258 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Hah, good catch ;)


Use previously created MinValuableConfig instead of creating a new one each time

Reverted some buggy code from ask-nodes feature merge
Also a small fix to build.bat to fix local MSI packaging

What was the bug, and how was it resolved by reverting?

Generally I think this is the correct fix. It should also fix DEV-1175. Good catch.
Just please keep line endings for easier diffs.


Dragging widgets in gridsizer does not work when using Python 2.7

When I use wxGlade 1.0.0a8 in Python 3.7 and wxPython 4.0.3, I am able to drag widgets around.
When I switch to Python 2.7 and wxPython 2.9, widgets cannot be dragged.

To reproduce this issue:
Launch wxGlade using Python 2.7
Create a new frame
Unselect "Add Panel and Sizer".
Add a GridSizer.
Add a button.
Try to drag the button to a different square.

Please note that wxPython 2.9 is not supported. Odd minor versions indicate unstable releases.
The 2.9 series is far away from mainstream. You can see this from the download numbers at https://sourceforge.net/projects/wxpython/files/wxPython/
I wanted to try 2.8.12 and 3.0.2 with my system Python 2.7, but the .dmg packages are reported to be corrupted. Do you know a way to install? I know that some years ago I had success...

OK, I can install this one, built with a newer installer:
https://wxpython.org/Phoenix/other/wxPython3.0-osx-<IP_ADDRESS>.b20160914-cocoa-py2.7.dmg
https://discuss.wxpython.org/t/unable-to-install-wxpython-2-8-12-1/32949/2

3.0 is working, as is 2.8 on Windows. There's nothing else I can do on this unless you find a way for me to install 2.8, if this has the same problem.
You may debug this yourself.
The entry point is edit_windows.ManagedBase.on_mouse_events.

I wasn't aware that odd minor versions meant it was unstable. What is your source for this information?

When I switched to wxPython <IP_ADDRESS> the issue disappeared.

Fine.
The version numbering is documented here:  https://docs.wxwidgets.org/3.0/overview_backwardcompat.html
"A stable release of wxWidgets will have an even number for minor, e.g. 2.6.0."
Unfortunately, this is not widely known for wxPython and also e.g. PIP does not indicate that 4.1 is unstable, so people use it for production.