Create directory index

Can you add support to serve directory which will allow viewing of all files? Files should be converted to HTML automatically but with original filename and extension.

+1 This would be super useful

I have implemented an workaround for this case, if anyone is interested:
import os
import re
import typing
import tempfile
import functools

# python -m pip install grip
# python -m pip install marko (for parsing Markdown files)
# python -m pip install dotenv (optional, for reading GitHub tokens)
import grip
import dotenv
import marko.block
import marko.parser
import marko.md_renderer

def md_to_htmlmd(fpath: str) -> marko.block.Document:
    """Convert all references to Markdown paths to HTML paths in a Markdown document.

    Suppose a Markdown file *main.md* has a link that redirects to
    *some/path/file.md*. If we convert *file.md* to HTML, changing both its
    contents and file extension, the reference on *main.md* would fail. Therefore,
    we must change this reference to *some/path/file.html* instead.

    This functions affects Markdown links (`(foo)[bar]`) and HTML links (`a` tags).

    Arguments:
    fpath -- the path of the Markdown file to be relinked
    """
    parser = marko.parser.Parser()
    with open(fpath, encoding="utf-8") as f:
        document = parser.parse(f.read())

    for node in document.children:
        match node:
            case marko.block.Paragraph():
                for child_node in node.children:
                    match child_node:
                        case marko.inline.Link():
                            url: str = child_node.dest
                            text: str = child_node.children[0].children
                            if not url.endswith(".md"):
                                continue

                            updated_url, _ = url.rsplit(".", 1)
                            updated_url = f"{updated_url}.html"
                            child_node.dest = updated_url

                        case marko.inline.InlineHTML():
                            html: str = typing.cast(str, child_node.children)

                            if not (match := re.match(r'', html)):
                                continue

                            url = match.group(1)
                            updated_url, _ = url.rsplit(".", 1)
                            updated_url = f"{updated_url}.html"
                            child_node.children = f''

    return document

Tree: typing.TypeAlias = dict[str, "Node"]
Node: typing.TypeAlias = Tree | None

# The following object
#
# data: Tree = {
#     "assets": {fname: None for fname in ("alfa", "bravo", "charlie", "delta")},
#     # Equivalent to `dict.fromkeys(("alfa", "bravo", "charlie", "delta"))`
#
#     "project": {
#         "lib": dict.fromkeys(("i", "ii", "iii", "iv")),
#         "i": dict.fromkeys(map("{:02d}".format, range(3))),
#         "ii": dict.fromkeys(map("{:02d}".format, range(3))),
#         "iii": dict.fromkeys(map("{:02d}".format, range(3))),
#         "iv": dict.fromkeys(map("{:02d}".format, range(3))),
#         "README": None,
#     },
#
#     "README": None,
# }
#
# is equivalent to the following directory structure:
#
# .
# |_ assets/
# |   |_ alfa.html
# |   |_ bravo.html
# |   |_ charlie.html
# |   |_ delta.html
# |_ project/
# |   |_ lib/
# |   |   |_ i.html
# |   |   |_ ii.html
# |   |   |_ iii.html
# |   |   |_ iv.html
# |   |_ i/
# |   |   |_ 00.html
# |   |   |_ 01.html
# |   |   |_ 02.html
# |   |_ ...
# |   |_ iv/
# |   |   |_ 00.html
# |   |   |_ 01.html
# |   |   |_ 02.html
# |   |_ README.html
# |_ README.html

def parse(dpath: str, tree: Tree, *, force: bool = False):
    """Convert a Markdown-based directory to a HTML-based directory.

    This function will

    - create a *static/* folder on the current working directory to
      include all the generated HTML files and their directory listing.
      The Markdown files are _not_ affected.

    - create a *index.html* on directories describing their contents.
      The generated layout is based on Edge's directory listing, but you
      can change it on the last lines of this function.

    - convert all Markdown files to HTML files, including their inner
      references to other Markdown files.

    Arguments:
    dpath -- a path to a directory in the system
    tree  -- the tree of contents of this directory
    force -- if False, this function will not generate a new HTML file for
             a MD file if there is already one on *static*.
    """
    fnames: list[str] = []
    for key, subtree in tree.items():
        fname: str
        if subtree is None:
            # `key` refers to a file path

            in_fpath = os.path.join(dpath, key)
            out_fpath, _ = os.path.splitext(in_fpath)

            out_fpath = os.path.join("static", f"{out_fpath}.html")
            fname = os.path.basename(out_fpath)

            if force or not os.path.isfile(out_fpath):
                document = md_to_htmlmd(in_fpath)

                # Creates a temporary file to store the new Markdown file
                # with inner Markdown references changed to HTML references
                with tempfile.NamedTemporaryFile(
                    "w+", encoding="utf-8", delete=False
                ) as out_f:
                    with marko.md_renderer.MarkdownRenderer() as renderer:
                        out_f.write(renderer.render(document))

                try:
                    os.makedirs(os.path.dirname(out_fpath))
                except FileExistsError:
                    pass

                # Customize your Grip transformation here
                grip.export(
                    title=os.path.basename(in_fpath),
                    path=out_f.name,
                    out_filename=out_fpath,
                    password=os.environ["GRIP_GITHUB_TOKEN"],
                )

                # Deletes the temporary file
                os.remove(out_f.name)

        else:
            # `key` refers to a directory path
            fname = f"{key}/"

            # Call `parse` again on that directory
            parse(os.path.join(dpath, key), subtree, force=force)

        fnames.append(fname)

    # Creates the directory link with the filenames obtained when iterating
    with open(os.path.join("static", dpath, "index.html"), "w+", encoding="utf-8") as f:
        printf = functools.partial(print, file=f)

        title = f"Index of {os.path.relpath(dpath).removesuffix('.')}\\"

        printf("<!DOCTYPE HTML>")
        printf('')
        printf("")
        printf('<meta charset="utf-8">')
        printf(f"<title>{title}</title>")
        printf("")
        printf("")
        printf(f"
{title}
")
        printf("
")
        printf("
")
        # This sorting sorts by directories first, then by name
        for fname in sorted(fnames, key=lambda v: (v[-1] != '/', v)):
            printf(f'
{fname}
')
        printf("
")
        printf("
")
        printf("")
        printf("")

def main() -> None:
    # Load environment variables from .env (optional)
    dotenv.load_dotenv()

    data: Tree = {}
    for root, dnames, fnames in os.walk("."):
        # Iterate recursively over all directories and files
        # in the current directory searching for Markdown files.
        keys = root.split(os.path.sep)
        child_data: Tree = data
        if len(keys) > 1:
            for key in root.split(os.path.sep)[1:]:
                child_data = child_data[key]

        for dname in dnames:
            child_data[dname] = {}

        for fname in fnames:
            if fname.endswith(".md"):
                child_data[fname] = None

    parse(".", data)

if __name__ == "__main__":
    main()


Fullscreen handling?

Overlay does not show up when the game (unreal engine 4) switches to fullscreen.
What am I doing wrong?
Somtetimes it seems to work (e.g. when two screens are active)
Starting the thread differently also helped, but then I got tearing in the game.
Any hints on how to do it right fullscreen?

You're doing nothing wrong. Might has something to do with window flags, so maybe check other applications which are working in fullscreen and with topmost (such as GeForce Experience Overlay).

Waited the whole year for this :((


C Parser fails on #pragma inside enum definition

Describe the bug
When trying to parse a C header where a #pragma directive is inside an enum definition, a syntax error is produced.
To Reproduce
Parse the following header file:
enum test_enum
{
  FIELD1,
#pragma endregion
  FIELD2
};

It produces the following syntax error:

If you comment out the #pragma directive the C parser succeeds:
enum test_enum
{
  FIELD1,
//#pragma endregion
  FIELD2
};

Expected behavior
A successful parse of enum definitions with intermingled #pragma directives.
Environment:

OS: Windows 7
Java Version: 12.0.1
Ghidra Version: 10.1.5
Ghidra Origin: official GitHub distro

Additional context
I'm trying to parse the WinAPI header file combaseapi.h which contains the following convoluted typedef-ed enum definition:
#pragma region Application Family

#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)

/* Flags for Synchronization API and Classes */

typedef enum tagCOWAIT_FLAGS
{
  COWAIT_DEFAULT = 0,
  COWAIT_WAITALL = 1,
  COWAIT_ALERTABLE = 2,
  COWAIT_INPUTAVAILABLE = 4,

#endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
#pragma endregion

#pragma region Desktop Family

#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)

  COWAIT_DISPATCH_CALLS = 8,
  COWAIT_DISPATCH_WINDOW_MESSAGES = 0x10,

#endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#pragma endregion

#pragma region Application Family

#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)

}COWAIT_FLAGS;

#endif // WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
#pragma endregion

As you can see the enum definition contains #if, #endif and #pragma directives mixed in. It is preprocessed into the following (empty lines removed from the result for brevity):
 #pragma region Application Family
/// #if 1 ===true
typedef enum tagCOWAIT_FLAGS
{
  COWAIT_DEFAULT = 0,
  COWAIT_WAITALL = 1,
  COWAIT_ALERTABLE = 2,
  COWAIT_INPUTAVAILABLE = 4,
/// #endif ===true
 #pragma endregion
 #pragma region Desktop Family
/// #if 1 ===true
  COWAIT_DISPATCH_CALLS = 8,
  COWAIT_DISPATCH_WINDOW_MESSAGES = 0x10,
/// #endif ===true
 #pragma endregion
 #pragma region Application Family
/// #if 1 ===true
}COWAIT_FLAGS;
/// #endif ===true
 #pragma endregion

The C parser failed on the very first #pragma endregion directive inside the definition of the COWAIT_FLAGS enum.

Thanks for reporting the issue.
There are many changes that will soon be checked in for the CParser.
The above issue should be fixed in the soon to be committed branch.

closed this as completed in https://github.com/NationalSecurityAgency/ghidra/commit/e42c1f1f3263e192d5d9042c14f1f25413931aa0


currentDate not sets the correct date, but alway 12:00 am

Any ideas on how I can fix this?

Closing all issues. The plugin was a proof of concept which others have forked and made better alternatives.


Fix json import

Reopening of #1422
In Node 18.18, the following error occurs:
npx --yes gitlab-ci-local@latest
file:///Users/username/.npm/_npx/3f18f2096def1b34/node_modules/gitlab-ci-local/src/index.js:13
import packageJson from "../package.json" with { type: "json" };
                                          ^^^^

SyntaxError: Unexpected token 'with'
    at ESMLoader.moduleStrategy (node:internal/modules/esm/translators:119:18)
    at ESMLoader.moduleProvider (node:internal/modules/esm/loader:468:14)
    at async link (node:internal/modules/esm/module_job:68:21)

Node.js v18.18.2

This PR fixes the issue by converting json imports to instead use readfilesync and JSON.parse instead, which makes it more explicit and avoids this error.
This fix allows users who may otherwise not be able to update to Node v18.20 overnight to continue using this tool.
Thanks again!

@ANGkeith You sure we wanna keep node 18 support?

hmm not really, but at least for now, does'nt seem like there is too much incompatibility.


Scene menu "Close Goto Prev. Scene" option does not work

... and should likely be dropped, it's a leftover from the days where Godot could only load one scene at a time.

I agree it should be dropped.

The option was silently removed by 007efb6 so the issue can be closed :)


Typo in MobList.en-US.txt

Under A ranks for Stormblood Erle is listed as Erie which is not one of the A ranks from SB.
Full list here, https://ffxiv.consolegameswiki.com/wiki/Elite_Marks#A_Rank

The S-Rank Chernobog from ARR is missing too.  ;)


Remove best ms2 datatype

Its bad to separate the AllFragmentSpectraType and BestFragmentSpectraType.
Therefore, I removed the best type. Now we only use a sorted list of fragment scans - first element is the best scan

Ready

Some tests are failing

Looks like a merge conflictr due to the multi charge pattern

merged with @SteffenHeu


Tabs not scroling to the correct tab after navigation

Steps to reproduce
Link to live example: https://codesandbox.io/p/sandbox/still-snow-z385rn
Steps:

Add a tabs component with more tabs then the view width can hold
scrollButtons="auto"
set the selected tab to a tab outside the view
refresh the view an see that the selected tab is only partly in view

Make sure to set browser width smaller then the tabs container.

You can here see a small green line and the tab is not in view.
With scrollButtons={true} it works
Current behavior
The selected tab is not in view.

Expected behavior
The selected tab is in view.

Context
We have dynamic tabs and device sizes, and we dont want arrows all the time, but not scrolling the selected tab into view is causing out users to be confused, would be nice if the tabs component scrolled to the selected tab
Your environment

npx @mui/envinfo
  Browser: Chrome
  System:
    OS: macOS 14.7
  Binaries:
    Node: 20.13.1 - ~/.nvm/versions/node/v20.13.1/bin/node
    npm: 10.5.2 - ~/.nvm/versions/node/v20.13.1/bin/npm
    pnpm: 9.12.2 - ~/.nvm/versions/node/v20.13.1/bin/pnpm
  Browsers:
    Chrome: 130.0.6723.70
    Edge: Not Found
    Safari: 18.0.1
  npmPackages:
    @emotion/react: 11.10.4 => 11.10.4
    @emotion/styled: 11.10.4 => 11.10.4
    @mui/icons-material: 5.16.7 => 5.16.7
    @mui/lab: 5.0.0-alpha.173 => 5.0.0-alpha.173
    @mui/material: 5.16.7 => 5.16.7
    @mui/styles: 5.16.7 => 5.16.7
    @mui/system: 5.16.7 => 5.16.7
    @mui/x-data-grid-premium: 7.20.0 => 7.20.0
    @mui/x-date-pickers: 6.20.2 => 6.20.2
    @mui/x-date-pickers-pro: 6.20.2 => 6.20.2
    @mui/x-license: 7.20.0 => 7.20.0
    @mui/x-tree-view: 7.20.0 => 7.20.0
    @types/react: 18.3.1 => 18.3.1
    react: 18.3.1 => 18.3.1
    react-dom: 18.3.0 => 18.3.0
    typescript: 4.6.4 => 4.6.4

Search keywords: tabs scroll

Have you tried locally? does it produce the same behavior?

Yes it also happens locally, its easy to reproduce


Resizing does not update the view

Hi,
this is already really nice.
However I recognized, that when I start with a small window and enlarge this, the view/output does not get updated.
Hardy

Wouldn't that be the same regardless of the method of paging?

Thanks for the issue. There is a event emitted when there is a terminal resizing. We can redraw the output once resizing is complete

I have fixed it. You can get it from the latest patch


MFA could not build wheels

When creating a new aiidalab-launch container, it seems there is an issue when trying to install the app

I did a another test, and it seems because i am using the aiidalab/full-stack:edge ,


fix ref to service

typo in name charts/modernization-api/templates/istio-ingress-virutalservice.yaml

Fixed along with a bonus fix for a resource name.


Liquidation tests

write liq test with multi collateral

todo:

[x] liq events/tests

I don't find a test where the funds sent to liquidator and/or market get the liquidation rewards and margin (I found the events, but not the actual accounting validation). Maybe I missed it or you plan to include it on other tests.

@leomassazza the test that checks that funds were sent to liquidator was there, but i added the following tests:

no market collateral is still in core.  all is sold off
check withdrawable usd has gone up by same amount.
liquidator rewards were paid out


feat: calculate salary wage structures

index.js designed using JS function
main.js designed using JS class

Hello @damyl4sure, closing this PR as part of cleanup work in preparation for our project. Just FYI.


Use ssh.Unmarshal to read request payload.

This is the same fix I made for sshfront.

Thanks! The commit message needs a DCO sign-off before we can merge.

Thanks for adding the DCO! Do you mind making the slight change I proposed?

Thanks!


challenge description and solution needs updating to align with MDN best practice

Challenge: "Basic HTML and HTML5 - Create a Set of Radio Buttons"
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/create-a-set-of-radio-buttons
Here is the relevant text in the description for this challenge:

Each of your radio buttons should be nested within its own label element. Wrapping an input element inside of a label element makes the label text clickable.

It is NOT necessary to wrap an input element inside of a label element to make the text clickable as long as there is a for field on the label that matches the id of the input. The recommendation on fCC is contrary to what is shown at MDN: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio
Same for checkboxes. This should be changed as well to match best practices shown on MDN.
It works either way so this is not necessarily an error but I think it is best to change this to go along with MDN.

@beaucarnes Hi. Since this one is for learn, do you want to close this one out and re-open it on the learn repo? I can quickly do it if you're not available.

I initially had it on learn and was told to close it out and open here. 😀
https://github.com/freeCodeCamp/learn/issues/42

@beaucarnes 😄

To clear any confusion, curriculum issues belong here, platform issues belong in the learn repo.
We will be publishing the seed files as an npm package shortly, so the seed files held in learn will no longer exist

And to further clear any confusion log any issue on any of the repositories.
We (@freeCodeCamp/moderators) will take care of moving them around as needed. There is a (chrome extention)[https://chrome.google.com/webstore/detail/zenhub-for-github/ogcgkffhplmphkaahpmffcafajaocjbd] that makes this as simple as clicking a few buttons.

@beaucarnes Would you be interested in updating this challenge real quick to bring it into line with best practices?

@beaucarnes I can take care of this. I have looked through the freecodecamp repo and learn repo but did not see where the curriculum is located at though. Must be overlooking it?


API key not saving

The API key is not saving, I've tried multiple times, but each time I attempt to paste or drag and drop an image, I get the error that I haven't set the API key. I've tried on a fresh vault with the same issue, so unlikely that it's affected by another plugin.

Hi @FootPrintStudio
I can't seem to reproduce this.  When you paste the API key in the appropriate field, you should be receiving a Notice from the app that the API key was saved and encrypted.  At this point, you should be able to exit the settings pane and attempt an upload. I've attached an example quick video below (see link).
Do you see any other messages via Notice, or if you toggle the developer console, do you see any error messages?
macOS → cmd+option+i
Windows → ctrl+shift+i
https://ibb.co/hMWYBgr

This is all I get in the console regarding the plugin.

I paste the key as instructed; however, when attempting to paste anything I get this error.

Ok I realized what was happening; however, there's still a major usability issue. When testing I wasn't pasting an image, I was pasting an image URL such as (https://www.aviationgin.com/images/aag_botanicals.jpg), 90% of the time this is how I usually add images to my vault, so it would be great if the plugin could handle that.
But, perhaps more importantly, it that the plugin seems to block the ability to paste anything if the "Paste via clipboard copy/paste?" setting is on unless it is an image. Having a the plugin parse what is an image (or image link) and not, would make this plugin very useful, unfortunately, it is otherwise a little unwieldy. Using the drag/drop feature is still valuable, but I'd love to see those UX concerns addressed.

Out of curiosity, what would be the use case for pasting an image URL instead of the image itself? The URL you provided is the image source, so what constitutes a difference in workflow where you would intuitively want to paste an image into a multimedia application (instead of the image URL)?

Haha, you know when you put it like that, I don't have a good answer, I guess I'm just a little stuck in my workflow... Fair enough, any thoughts on the second thing?

The second issue you pointed out seems like a bug. I've got some time to work on this now. I'll post an update when complete.

@FootPrintStudio
Latest update should fix the global paste issue for items that are not images.
There is also now the option to parse image source links :)
This was put together a tad hastily, so let me know if you have any other issues

Nice job! Just checked the update and it all seems to work.

Awesome.  I'll close this for now


Exclude Directory?

Is there a way to exclude a directory? For example, I've got a php application that the libraries are included under "vendors/" in the codebase and those aren't something I would want to actually check.
Thanks!

Yes, here is a working example: https://github.com/MapServer/MapServer/blob/main/.github/workflows/check-crlf.yml


can not find "AIC21-MTMC-main/datasets/detect_merge/"

I use the wrong yml, I will try again.

I have the same error when config the yml, how do you solve the problem?


what sort of connectors for thermocouple cables?

I'm wondering what you're using to connect the thermocouple wires to the PCB?  The space looks pretty tight given the components on the top side of the board.  Do you have some terminal block arrangement in mind?  Or are these intended for 2.54mm pitch pin headers, with some sort of connector body and pins on the end of the thermocouple cable?  If you're using some solution that you're happy with, I'd love to avoid inventing my own flat-tire solution.
I'm planning to replicate your project as I have need for some thermocouple sensors.  I'm planning to integrate it with the RPi Zero inside my Generac generator to measure various temperatures, including oil temperature, probably the body of the generator, motor and/or air exhaust from the enclosure of the air-cooled engine.  Obviously, some of these are beyond the 18B20 solutions.
(FYI, planning to use this in concert with genmon https://github.com/jgyates/genmon that I've had in service for about a year now..)

Given how little space there is on the Raspberry Pi Zero Hat I chose to solder the thermocouple wires directly to the PCB. This can be a bit fiddly since thermocouple wire is not that compatible with standard solder but it can be done. You can also apply a bit of rigid RTV to help with strain relief.
Looking at your application I think you should consider extending the PCB so you can add some standard 0.1" screw terminal blocks. I've done this in the past with success also.

Thanks for the suggestion.  I've ordered the board as-is from OSH Park and will probably built it as-is initially.  Maybe solder on some right-angle pin headers and crimp some corresponding female connector pins on the thermocouple wires.
I was toying with the idea of doing a board to also include an RS-232/TTL level converter, which have dangling separately at the moment.  Perhaps make it optoisolated while I'm at it.  I should have the room to do so, though a combination of making the board larger and/or leaving out the buzzer and little switching power supply component (which I'm not looking forward to soldering with my hot-air tool!)  This will give me a reason to switch over and learn KiCAD from Eagle that I've used before to spin a board.

The header/pin approach should work fine. The main thing is to keep the thermal resistance low between the MAX38150 and the cold junction.
KiCAD has improved by leaps and bounds in the last few years. I come from a PADS background and found KiCAD easy to use where Eagle just made me mad. With the support of CERN and being open source I think KiCAD will come to dominate the hobbyist PCB sector.
If that little switching power supply is too much you can leave it off and just power the board through the Raspberry Pi's USB port.

I was playing around a little bit with KiCad, and just moving the pads closer to the board edge where the silkscreen labels might just work, though I might enlarge the board a bit anyway.
I'm looking forward to learning KiCAD a bit; going to watch some of the videos over time time off next week to avoid learning it all the hard way.  Eagle.. sure seems to be fairly complete, though I don't use it more than once ever few years (if that much), so there's no muscle memory.  It also seems to be the wrong bet to place these days, and a buddy of mine has been using KiCAD for a few years for his hobby projects, so I have someone to help me get unstuck.
I'm going to give the switching power supply a shot; I ordered some Sn63/Pb37  chip quik solder paste from Mouser to see if I can successfully solder it.  I don't have any reflow oven capability, so just the hot-air tool and I figure that I need to maybe pre-heat the back of the board a little bit to get everything to flow before knocking that inductor loose on top.
Still, it would be handy to have the power supply working.  I have an external 12v/5v USB power supply that connects to the 12V battery in the generator to run the Pi Zero (and a USB WiFi dongle that has an external antenna I mount on the outside of the metal generator enclosure).  Getting rid of another loose end like that would clean things up a bit.
Thanks for the extra effort you undertook to publish and update this project; it's really appreciated.
If I do end up modifying the board and spinning my own version, I'll also publish it.  I think there may be some other people in the "genmon" community that would be interested in replicating the solution, especially if I also included an RS-232 / TTL adapter that's used to connect the MODBUS interface on the generator to the Raspberry Pi serial port.  I think having it be optically isolated would also help with some occasional problems that people have with ground loops.

Good luck with the hot air. I've been using a Black and Decker oven with a Whizoo Controller for the last few years. It makes all the surface mount stuff a no-brainer and it's why my designs are not that friendly to hand soldering.
You may already know this but the Raspberry Pi Zero W has a place to solder a u.FL connector so you can attach an external antenna to the onboard wireless controller. I have a friend that did this for his beehive monitor.
 I love the idea of somebody else picking up one of my designs and modifying it for their needs and if you publish your mods that's a great way to pay it forward!

Oh, thanks for the pointer about the u.FL connector!  That would simplify matters quite a bit and make the little project box much less crowded.  Probably for rev.2 if I spin my own board, I'll just get another Pi Zero and do the mod to it.

I forked your design, and did a major revision adding screw terminals and an RS-232 interface for a specific standby generator application.  It's also back to being a full-size Raspberry Pi board.  See https://github.com/lmamakos/RPi-pHat-Thermocouple if you'd like.  I have credited you in the README, hopefully that's OK with you.  If you're prefer me to not mention you explicitly to completely shield you from any blame, I can do that to.  Thanks very much for sharing your design.
After spinning two versions of the board and building them by hand with a hot air tool, and I'm slowing talking myself into a reflow oven..    Preheating on a hot-plate thing to 165C to soak the board and components before hitting them with the hot air tool seems to work pretty good, so long as you remember to hit all of the parts.

I think the whole point of putting projects like mine on Github is so people like you can fork it make it your own just like you did. From my point of view just a simple mention that your project is based on mine with a link is nice but event that is not required. Now that your work is also on Github somebody else can be inspired by your design and hopefully is keeps getting paid forward.
I like that transformer based digital isolator you used for the RS-232.


Tabs added to challenge list page

Features Added:

Challenge list page will now contains three tabs for navigation between ongoing,upcoming and completed challenges.
The navigation tab content also contain the total count of challenge of a particular type.
Hosted Challenges now contain list of challenges user has hosted based on the basis of category like i.e upcoming ,ongoing and past hosted challenge.

GIF of navigation Tab in Challengelist and Hosted Challenges:

Codecov Report

Merging #292 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #292      +/-   ##
==========================================
+ Coverage   50.62%   50.64%   +0.02%
==========================================
  Files          66       66
  Lines        3771     3771
  Branches      444      444
==========================================
+ Hits         1909     1910       +1
+ Misses       1767     1766       -1
  Partials       95       95

Impacted Files
Coverage Δ

...bliclists/challengelist/challengelist.component.ts
47.57% <0%> (+0.97%)
:arrow_up:

Impacted Files
Coverage Δ

...bliclists/challengelist/challengelist.component.ts
47.57% <0%> (+0.97%)
:arrow_up:

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 d3d23ca...8ac268f. Read the comment docs.

@Sanji515  Sir, please look at this feature added and if any changes is required , please let me know.

@Kajol-Kumari There's a horizontal scroll showing on the challenge list page, can you please fix (^)

@Sanji515 sir, this scroll is directly coming from base.scss file and when i tried to hide the scrollbar or make it transparent in challengelist.component.ts, it didn't work. So, in order to disable the horizontal scroll i will have to remove it from the base.scss file only but that will make the horizontal scroll disabled everywhere. I am looking for the other ways though.

@Sanji515 Can you please help me to figure out why this test has been running since 9 hours and has not completed yet!

@Sanji515 Can you please help me to figure out why this test has been running since 9 hours and has not completed yet!

Resolved! When i pushed another commit.

@Sanji515 sir i have made the required changes.Please look at it.

@Sanji515 Can you please review and test this?

@Kajol-Kumari is it possible to not do the sliding transition happening from left to right and vice versa when you click on a different tab?
We just want the updated data to show up when you click on a different tab rather than doing a slider trick here.

Codecov Report

Merging #292 into master will decrease coverage by 0.06%.
The diff coverage is 25.00%.

@@            Coverage Diff             @@
##           master     #292      +/-   ##
==========================================
- Coverage   50.62%   50.55%   -0.07%
==========================================
  Files          66       66
  Lines        3771     3784      +13
  Branches      444      444
==========================================
+ Hits         1909     1913       +4
- Misses       1767     1776       +9
  Partials       95       95

Impacted Files
Coverage Δ

...bliclists/challengelist/challengelist.component.ts
45.21% <25.00%> (-1.39%)
:arrow_down:

...e/challengesettings/challengesettings.component.ts
44.44% <0.00%> (-0.72%)
:arrow_down:

Impacted Files
Coverage Δ

...bliclists/challengelist/challengelist.component.ts
45.21% <25.00%> (-1.39%)
:arrow_down:

...e/challengesettings/challengesettings.component.ts
44.44% <0.00%> (-0.72%)
: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 d3d23ca...98f709a. Read the comment docs.

@Kajol-Kumari Please resolve the conflicts here.


openstack using OS_CACERT

FEATURE REQUEST
I tried to use kubespray to deploy kubernetes on openstack. First, I would like to thank you guys for this awesome project. It's a first time for me and after three days I have an up and running kubernetes cluster on an openstack infrastructure.
To have the right configuration of kubelet, I had to add ca-file in the cloud-config file because we use an openstack certificate. I wrote a new task in kubespray to copy the certificate on my local machine to the master and the nodes of kubernetes and I modified the jinja template.
I can do a PR of that but, since ansible playbook is really new for me, I would like to know where is the best place to add this new task in all the defined roles.

Hope you implement this FEATURE soon！ Support you.

This has already been implemented in PR https://github.com/kubernetes-incubator/kubespray/pull/2342

Fortunately this has already been implemented in PR https://github.com/kubernetes-incubator/kubespray/pull/2342


Has something happened to the Alexa Skill? (MEGH-4349)

Answers checklist.

[X] I have read the Rainmaker documentation and the issue is not addressed there.
[X] I have updated my IDF branch (release/vX.Y) to the latest version and checked that the issue is present there. This is not applicable if you are using Rainmaker with Arduino.
[X] I have searched the Rainmaker forum and issue tracker for a similar issue and not found a similar issue.

IDF / ESP32-Arduino version.
ESP-IDF v5.0.1
Operating System used.
Windows
How did you build your project?
Command line with idf.py
Development Kit.
ESP32-S3-DevKitM-1
What is the expected behavior?
Device detected in Alexa app
What is the actual behavior?
Devices are generally not discoverable in Alexa app, sometimes it discoveres one of devices from multidevice node (random).
Steps to reproduce.

compile project
run
provision device
Trying to detect device in Alexa app
...

Debug Logs.
No errors nor crasches in log monitor

More Information.
Devices are visible and usable  in Android and iOS Rainmaker app. Devices are detected also with GVA.
Some time ago (c.a. two months) devicas were dectable. I suppose that Alexa app was updated meantime, but I suspect also that You made some changes in Alexa Skill?
Trying with esp.device.lock, have mandatory params.

The problem is when You use diactric marks in esp_rmaker_device_create() in dev_name. Problematic dev_name in one device can prevent from detection other devices by Alexa app.


Error with Invoke-DbaQuery -SqlCredential when called from web app

Invoke-DbaQuery is not using the SqlCredential when called from C# web app.
$SourceUsername   = 'MYDOMAIN\myAdUserName'
$SecureIntPw      = Get-Content "C:\Scripts\Security\myAdUserName.txt" | ConvertTo-SecureString
$SourceCredential = new-object -typename System.Management.Automation.PSCredential -argumentlist $SourceUserName, $SecureIntPw
$mytest = Invoke-DbaQuery -SqlInstance $BackupInstance -Database "master" -SqlCredential $SourceCredential -Query "select suser_name()" -as SingleValue
write-output "I am currently running as:  $mytest"
When I run this code from a powershell console or ISE, it returns:  "I am currently running as: MYDOMAIN\myAdUserName"
This is what I would expect, as that is the user I defined in the code.
When I run this from a webapp (C# visual studio), it returns:  "I am currently running as: MYDOMAIN\AppPoolServerName$"
MYDOMAIN\AppPoolServerName$ is the name of the Server that the C# code was published on.
Here is the C# code calling the powershell script:
var shell = PowerShell.Create();
RunspaceConfiguration runspaceConfiguration = RunspaceConfiguration.Create();
shell.Runspace = RunspaceFactory.CreateRunspace( runspaceConfiguration );
shell.Runspace.Open();
      shell.AddCommand("c:\\scripts\\mytest.ps1", false);
      shell.AddParameter( "parm1",    TextBox_SourceInstance.Text);

      // Execute the script
      Collection<PSObject> results = shell.Invoke("Set-ExecutionPolicy Unrestricted -Scope Process");

Tested with the following code, but same results:
$server = Connect-DbaInstance -SqlInstance $BackupInstance -Databse master -SqlCredential $SourceCredential
$mytest = Invoke-DbaQuery -SqlInstance $server -Query "select suser_name()" -as SingleValue
write-output "I am currently running as:  $mytest"

This likely has to do with Kerberos delegation and double hop. I'd be interested in the solution, but C# is out of our scope and it works on PowerShell. Ultimately, however, I think this will solve your problem: https://blogs.technet.microsoft.com/askds/2008/06/13/understanding-kerberos-double-hop/

oh, also try sql auth. that is not subject to double hop issues.

Sql auth would require that I create a new user on every instance.  I'd rather not have to do that.

Also, it's marked as "done" in 1.0.  Is this issue fixed in 1.0 or is it considered a "non-issue" and needs to be solved via sql auth or kerberos double hop?

it was a troubleshooting suggestion, not an implementation suggestion. i avoid sqlauth when possible so it's basically to prove the issue is double hop and not dbatools.
as for your second request, it'll need to be solved externally unless you can prove otherwise. which i'm open to, tho I'm fairly certain this is a double hop issue.

I just tested using sql_auth, still got the same result when ran through the webapp.
So, does that prove that it's not a double hop issue?  I cant imagine it being double hop issue anyway, as it's a single hop from the server executing the powershell to the sql server.  The exact same hop as when I execute the powershell interactively.

that just may! can you issue a Get-DbaProcess -SqlInstance sqlserver -Login sqluseraccount | Select-Object -Property  * -ExcludeProperty ClientNetAddress, LastQuery and screenshot the results? Something like this:

IIS running as the app pool makes it double hop. You'll find it'll login as that other user if you change the login of the app pool and do not use dbatools creds within the command.
If you can email me<EMAIL_ADDRESS>(or attach to this issue) a super basic asp.net webapp for me to repro, I can try on my own local IIS.

Chrissy, my thought was try running a command in a runspace. That is what the C# is going to to use to execute the code, it creates a runspace to execute the PowerShell thread. So it won't be a hop but loss of context.... Just spit balling.

i was thinking that too, and even started creating the code but then i realize that we do need that extra hop. im not sure what to make run my runspace? agent, perhaps?

Agent should work since that is within another process running...I would think that would be similar to the web app.

just checking in to see if there is anything new on this?
Today, I tried to publish to my localhost with iis running.  My thinking was that since the web browser and the web server were on the same machine, there would be no "double hop".  No joy.  Still logging into the db as the machine rather than the user defined.

@mrothwell - i did not receive any sample code so didn't pursue it. i could do it in agent, but it's not as exact.

@potatoqualitee, I just sent you an email with the VS code and PS script.
In the meantime, I have been playing around with some settings and found that in IIS, I went to the app pool I'm using and changed the "identity" to use my username/password.  This seems to take care of my issue, but not really a good idea if I were to deploy this to a real IIS server and not just my PC running IIS.

Thanks - I still have not received the zip successfully.

My thinking was that since the web browser and the web server were on the same machine, there would be no "double hop".

The hop is between services. Have you explored double hop solutions like enabling kerberos delegation?

SqlToolsTest.zip

I did play around with kerberos by doing some searches.  Didn't really gain anything.  If you know of a good place to walk me through the kerberos delegation, please send it to me.

Thanks, zip worked here 💯
This tutorial looks closest to what I setup
https://support.jetglobal.com/hc/en-us/articles/115009137148-Jet-Dashboard-Builder-Configuring-Windows-IIS-Double-Hop-Settings
And this tool is recommended for troubleshooting tho I never used it. The tutorial above should be adequate tho.
https://github.com/SurajDixit/KerberosConfigMgrIIS/releases


Amend missing/incorrect information on Page Load

Event was missing and some information was wrong around when page bottom is called.

Thanks for the contribution @arobsco!


Feature Request: Opt-out of pings on a per-user basis

Would you be interested in adding a feature that would allow people to opt-out of being pinged? For example, cases in which a maintainer has already been assigned to "review" a PR or has notifications on for PR activity.
For example, with the configuration ownerNoPings: '["@hyperupcall"]', it may look like this:

I have already implemented it here, I think it would be useful to have this upstream.

I think that's reasonable, yeah!


WIP: release notes for 0.5.0

Here is a draft of the release notes for v0.5.0
Do not merge yet, as a couple of the things mentioned are still at the PR stage.  I did not yet add anything about benchmarking (#158) as I wasn't sure if it would be finalized in time.
see also the TODO list for the 0.50 release in #203

Someone sent me some feedback on a previous release announcement (which was basically a copy of the release notes), saying "that's nice, but you're not explaining what PyWavelets actually is". So a couple of lines about that right at the top could make sense.

nice comprehensive notes

Thanks for the thorough comments.  Please suggest revisions to the general description added at the top.  I have kept it pretty minimal.  Two other possiblities would be to list some of the key features or provide a link to the docs for more info.
I think the only additional new revision I made in this commit was to make Codecov a link.

Current coverage is 86.34% (diff: 100%)

Merging #206 into master will decrease coverage by <.01%

@@             master       #206   diff @@
==========================================
  Files            20         20
  Lines          2726       2725     -1
  Methods           0          0
  Messages          0          0
  Branches        250        249     -1
==========================================
- Hits           2354       2353     -1
  Misses          325        325
  Partials         47         47

Powered by Codecov. Last update 65ef1e1...21a9f63

I think would be good to finalize this and update the title from WIP to DOC.
Things are ready for a release - getting the benchmarks in would be nice, but not essential.

made minor updates to PR list and authors and then squashed down to just 2 commits
can update later with the benchmarking info in a separate PR later that makes it into this release.

In it goes then. Thank @grlee77


Inheritance between schemas?

Is your feature request related to a problem? Please describe.
This feature request is not related to a specific problem, it's just something I thought of while constructing multiple schemas that are based on related pieces of data.
Describe the solution you'd like
Currently, when I create schemas for dataframes that are transformations of one another, I have copy/pasted the common parts and modified them. For example:
schema1 = pa.DataFrameSchema({
    "col1": pa.Column(pa.Float, pa.Checks.greater_than(0),
    "col2": pa.Column(pa.Float, []),
})

schema2 = pa.DataFrameSchema({
    "col1": pa.Column(pa.Float, pa.Checks.greater_than(0),
    "col2": pa.Column(pa.Float, []),
    "log_col1": pa.Column(pa.Float, []),
})

I'm wondering if there's an easy way to do inheritance? For now, I can see the following solution:
base_columns = {
    "col1": pa.Column(pa.Float, pa.Checks.greater_than(0),
    "col2": pa.Column(pa.Float, []),
}

log_columns = {**base_columns, "log_col1": pa.Column(pa.Float, [])}

# and then pass in the base_columns/log_columns into the appropriate places

In any case, this is neither an urgent request nor a demand, since I can see an easy and Pythonic way to accomplish what I'm thinking of (which ironically only came by after trying to post here haha).

Hi @ericmjl let me know what ends up working for you. The dict of base columns and additional columns + using ** to unpack shared sets of columns is definitely one way I've done it in the past.
One interface that was added fairly recently to the Schemas API is this pattern of {verb}_column(s), where the user can create copies of some schema with some desired modification:
base_schema = pa.DataFrameSchema({
    "col1": pa.Column(pa.Float, pa.Check.greater_than(0)),
    "col2": pa.Column(pa.Float, []),
})

mod_schema = base_schema.add_columns({
    "log_col1": pa.Column(pa.Float, []),
})

This is useful if you want to use base_schema for validation as well.
mod_schema is a copy of base_schema and there's no in-place mutation going on. The other such methods are:

update_column
remove_columns
rename_columns

Oh! That's new for me! Thanks @cosmicBboy :smile: The {verb}_column interface was basically what I was looking for!

Gonna close this issue for now, @ericmjl let me know if there's any additional behavior schema-modification that would be useful.


how to specify font family in Compare view?

Hello,
I am facing some font issue to see diffs between Japanese documents.
In some project, select Japanese text document and select 'compare' will show tofu(or a box) for all the Japanese characters.
If possible I would like to add font family setting.
or if this is known-fixed issue then point/advise me to the discussion thread(s).

Atom = 1.0.9
git-control = 0.4.0

thanks,
Kazuki

upgrade to Atom = 1.1.0 made correct view.
this can be closed


Installation of temurin-17-jre fails on Ubuntu 22.04

What are you trying to do?
Installing temurin-17-jre on Ubuntu 22.04.3 on WSL 2
$ sudo apt install temurin-17-jre

Expected behaviour:
Installation succeeds
Observed behaviour:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  adoptium-ca-certificates alsa-topology-conf alsa-ucm-conf fonts-dejavu-extra java-common libasound2 libasound2-data libxi6 libxrender1 libxtst6 p11-kit p11-kit-modules x11-common
Suggested packages:
  default-jre libasound2-plugins alsa-utils
The following NEW packages will be installed:
  adoptium-ca-certificates alsa-topology-conf alsa-ucm-conf fonts-dejavu-extra java-common libasound2 libasound2-data libxi6 libxrender1 libxtst6 p11-kit p11-kit-modules temurin-17-jre x11-common
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 31.9 MB of archives.
After this operation, 153 MB of additional disk space will be used.
Do you want to continue?

Can you try again, we've manually re-uploaded those packages.

Unfortunately it still does not work. The error is the same as before.
It seems to me that apt can't deal with ${VERSION} in the url. I already tried to manually escaped the braces, but that only makes it worse, because apt then escapes the percentage sign.
I guess the best solution would be to move the deb-file to temurin-17 like it is is for architectures other then amd64 and to edit https://adoptium.jfrog.io/artifactory/deb/dists/jammy/main/binary-amd64/Packages (including the compressed versions) afterwards. Artifactory might also be able to do the last step automatically, but I am not that familiar with it.

@f-cramer Have you done an apt update? When this was fixed yesterday I verified on a failing system (one that was showing exactly the problem you describe) and a new clean system that it was now resolved for both so this shouldn't be a problem any more .

I even deleted all cached entries in /var/lib/apt/lists before running apt update.
Which debian/ ubuntu version did you use for testing? Looking at https://adoptium.jfrog.io/artifactory/deb/dists/jammy/main/binary-amd64/Packages (the one for Ubuntu 22.04) there are multiple entries for temurin-17-jre with version <IP_ADDRESS>.0+7. The first one has the familiar ${VERSION} as part of its file uri, the second one contains the right uri. Manually deleting the faulty entry solves the problem.
On another note: there are also two entries for temurin-21-jdk with version <IP_ADDRESS>.0+13 and both have ${VERSION} as part of their file uri.

@f-cramer would you mind trying this again, I've removed the errant files, and am investigating the underlying cause. I believe this should work now..

Ok, the packages are correct, but the metadata seems incorrect, I'll look into that now

@f-cramer .. ok .. once more, the package file looks correct now...

Works now (tested both Ubuntu Jammy and Debian Bullseye). Thanks for the help.


reduce code duplication by putting the common 2gig thermostat definition in a variable/constant

this is a follow up to: #372

LGTM thanks @chilicheech :)


Regression: instruction label must now be a string

Environment

Qiskit version: main
Python version:
Operating system:

What is happening?
I am witnessing a CI failure in the circuit-knitting-toolbox that very likely has something to do with the merging of #12459.  (We run CI against Qiskit main on a cron job every day.)
Here is one such error:
    def _split_barriers(circuit: QuantumCircuit):
        """Mutate an input circuit to split barriers into single qubit barriers."""
        for i, inst in enumerate(circuit):
            num_qubits = len(inst.qubits)
            if num_qubits == 1 or inst.operation.name != "barrier":
                continue
            barrier_uuid = uuid4()

            # Replace the N-qubit barrier with a single-qubit barrier
>           circuit.data[i] = CircuitInstruction(
                Barrier(1, label=barrier_uuid), qubits=[inst.qubits[0]]
            )
E           TypeError: 'UUID' object cannot be converted to 'PyString'

How can we reproduce the issue?
from uuid import uuid4
from qiskit.circuit import Barrier, CircuitInstruction

CircuitInstruction(Barrier(1, label=uuid4()), (0,))

What should happen?
It should work like before.
Any suggestions?
It is probably sufficient to call str(...) on any object before passing to Rust, and to add a test.

An instruction label should always have been a string, and certainly for Barrier it's been documented that way since 2022.

(btw, you're quite likely to see a lot more problems in the near future, including performance and memory regressions on main while we make large-scale changes to the internals. Everything should be fast and memory-efficient by the time of 1.2, but the intermediate states will very likely temporarily regress.)

An instruction label should always have been a string, and certainly for Barrier it's been documented that way since 2022.

Thanks for the reply, Jake.  We can work around this pretty easily in ckt, obviously, and this is probably something I should have noticed in code review, except I was unfamiliar with uuid4() so didn't realize it returns an object, not a string.  The reason I raised an issue here is because I suspect there is a chance this specific change may break other code in the wild, so perhaps it is worth converting the label to a str, and making a DeprectionWarning is you really don't want users to ever do it.  But it's up to you.  I am just trying to do my part to contain the fallout across the ecosystem from these fundamental changes.

Jake, it looks like if qiskit were modified as I suggest to convert the label to str, that would still have broken us, since ckt later checks isinstance(label, UUID).  So I think you have it correct right now: the code I provided should just lead to an error.  I am going to close this as "won't fix."

(Also, sorry I was in such a rush to open this issue. I wanted to do so before I forgot, but it turns out my mental model of what was happening was wrong still.)

Sorry, I dropped responding to this at the time.

I am just trying to do my part to contain the fallout across the ecosystem from these fundamental changes.

I meant to say: thank you very much for this - it is super helpful.  Sorry for being curt before.


[Files] Migrate to Devtools framework

Can one of the admins verify this patch?

/azp run python - storage - ci

/azp run python - storage - ci

@rakshith91 could you please provide a description for this change?


filetype: petalinux config files are not recognized

Problem: petalinux config files are not recognized
Solution: Recognize petalinux config files as bitbake filetypes

what is petalinux?

https://www.amd.com/en/products/software/adaptive-socs-and-fpgas/embedded-software/petalinux-sdk.html
A tool based on yocto, which use bitbake, too.


Does not load resources from com.mediatek(2.apk)

E:\Phone\Tools\apktool\Settings\res\layout\preference_header_switch_
item.xml:11: error: Error: No resource found that matches the given name (at 'st
yle' with value '@com.mediatek:style/ImageSwitch').

E:\Phone\Tools\apktool\Settings\res\layout\preference_nfc.xml:11: error: Error:
No resource found that matches the given name (at 'style' with value<EMAIL_ADDRESS>tek:style/ImageSwitch').

E:\Phone\Tools\apktool\Settings\res\layout\preference_sim_info.xml:13: error: Er
ror: No resource found that matches the given name (at 'style' with value '@com.
mediatek:style/ImageSwitch').

E:\Phone\Tools\apktool\Settings\res\layout\preference_sim_info_enabler.xml:15: e
rror: Error: No resource found that matches the given name (at 'style' with valu
e '@com.mediatek:style/ImageSwitch').

E:\Phone\Tools\apktool\Settings\res\layout\sim_widget_view.xml:5: error: Error:
No resource found that matches the given name (at 'style' with value<EMAIL_ADDRESS>tek:style/ImageSwitch').

E:\Phone\Tools\apktool\Settings\res\layout\wifi_switch_for_oobe.xml:7: error: Er
ror: No resource found that matches the given name (at 'style' with value '@com.
mediatek:style/ImageSwitch').

I have installed the mediatek-res.apk which definitely contains the
style/ImageSwitch but the apktool is unable to find it.

Problem could be that apktool is just not loading Resource table from 2.apk

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 14 Aug 2014 at 5:54

Merged into: #660

Also helped me.


Information messages may have changed since this page was generated

The text and screen shots on this page about the yellow informational bar at the top of the designer
The page indicates
Scaling on your main display is set to 200% (192 dpi). This might cause rendering problems in the designer window.
( ignoring the actual scale values - ( I can't get 200% scaling choices ), I see an updated message
Scaling on your main display is set to 125%.      Restart Visual Studio with 100% scaling      Help me decide
Looks like this page is out of date with Visual Studio?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a2f87f79-412c-6d45-9a5f-e1690a7dce12
Version Independent ID: 708a3cc0-a8eb-3b23-9d11-737d0060d730
Content: Disable DPI-awareness in Visual Studio - Visual Studio
Content Source: docs/designers/disable-dpi-awareness.md
Product: visual-studio-windows
Technology: vs-ide-designers
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@d-c-d Thanks for taking the time to write up this issue, and apologies for our delayed response.
The good news is, we've updated the screenshot on the Disable DPI-awareness to address scaling issues with Windows Forms Designer in Visual Studio page, as well as its supporting text, to reflect your feedback.
We'll close this issue now, with our additional thanks to you for helping to improve the documentation!


Support hook timeouts

From @jodh-intel on October 18, 2016 8:3
See: https://github.com/opencontainers/runtime-spec/blob/master/config.md#hooks
Copied from original issue: 01org/cc-oci-runtime#329

This was implemented with https://github.com/containers/virtcontainers/pull/92/commits/e96fb025ffef49a035997857cf4c88d40ba83ed6


Bump twig/twig from 3.8.0 to 3.14.0 in /service-front

Bumps twig/twig from 3.8.0 to 3.14.0.

Changelog
Commits

updated-dependencies:

dependency-name: twig/twig dependency-type: indirect ...

Purpose
Briefly describe the purpose of the change, and/or link to the JIRA ticket for context
Fixes LPAL-####
Approach
Explain how your code addresses the purpose of the change
Learning
Any tips and tricks, blog posts or tools which helped you. Plus anything notable you've discovered about the LPA service
Checklist

[ ] I have performed a self-review of my own code
[ ] I have updated documentation (Confluence/GitHub wiki/tech debt doc) where relevant
[ ] I have added tests to prove my work
[ ] I have added mandatory tags to terraformed resources, where possible
[ ] If I have a new OPG component dependency, I have updated the metadata.json with the repo location.
[ ] If I added a package.json or composer.json, I also made sure this is included in the script in .github/workflows/dependabot-update.yml
[ ] The product team have tested these changes

Hi @mattmachell I just approved this then realised its a dup of my PR #2115 which currently need fixing

Thanks @nickdavis2001 missed that one for some reason (likely not enough coffee).


Do you have alternative for headlessUI Switch?

Is it just  that I can swap out this usage of headlessUi ?

The closest would be the Toggle component.


Fix pose detection after suspend/session restart and right hand detection

I've gotten the A-Frame scene to work now for the left hand through multiple session starts, stops, and suspends (on Quest 2). Will look into why the right hand doesn't seem to be getting picked up next.

Alright, looks like it's working as intended now! Short summary of changes:

Since you were already using rollup, I added the serve plugin just to make development a bit quicker
Created a global function that clears the Hands Map in handy-work.js (the suspend issue was something to do with old instances of the hand still being stored there or something to that effect)
Modified the update loop in handy-work.js to correctly detect both hands by using the handedness as the key for the Map.
Minor tweaks to readme/package.json

After more testing I've found that dumpHands doesn't appear to be working in the A-Frame example, as it's expecting both hands to be present in inputSources but it's only ever getting called with either the left or right one. Will see if there's an elegant way to fix that.

Alright, what I ended up doing was making __dumpHands a window value (since it seemed like were referring to it as such on one line but not the others) and moved the hands object from handDataToFile outside the function. This way when the left hand calls it first it gets added to the object, then the right hand calls it and proceeds with the pose dumping before clearing the tempHands object.
I also added three new poses for testing; the sign of the horns, the shaka sign, and the Vulcan salute. Interestingly enough with these three new poses I'm starting to see some strange overlaps (most of what used to be left hand 'relax' now seems to be getting read as 'shaka', etc). Probably something to do with how it's detecting the poses/what the original ones were? I don't quite grasp exactly how that works yet, but hopefully this can help with testing and refining it.

This is amazing, thank you so much for doing this!

I included a weights array in the schema so that you can make some fingers less or more important. I.e. Thumbs are not important in many cases. Making a weights editor for rapid tweaking may take a while though.

We should still expose resetHands, it seems handy (pardon the pun), but I would rather not use it in the AFrame code, since the bug isn't framework specific.
Can we put the calls for it into handy-work.js, that way it will be fixed no matter what framework is used also that way we have fewer objects attached to window

Sure thing, will take a look at it later today.

Should be good to go now!

Thank you so much! I'll take a look now.

Thinking about it since various session events cause the hands to be reset perhaps it maybe best to tell the user when to trigger reset rather than doing it ourselves.

Merging, but will change the interface slightly before putting into main


Fix numpy install issue #60

Fix numpy install issue #60, following the reference found by @jcrudy  (https://github.com/pypa/pip/issues/25)

Nice! Looks good and works on my system.  I'm merging it and will close the issue.


Problem trying to install Angularfire2 in Ubuntu 18

Okay, so Im using Ionic 3 to create an app that will show and upload pictures on firebase, anyhow when I do try to install it I type:
npm install angularfire2 firebase promise-polyfill --save
And I get the following error:
`npm WARN deprecated<EMAIL_ADDRESS>AngularFire has moved, we're now @angular/fire
><EMAIL_ADDRESS>install /home/abraham/Documentos/Ionic/IonicCurso/8gag/gagy/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Pre-built binaries not installable for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v67 ABI, glibc) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error ENOENT: no such file or directory, open '/home/abraham/Documentos/Ionic/IonicCurso/1-myApp/='
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: ENOENT: no such file or directory, open '/home/abraham/Documentos/Ionic/IonicCurso/1-myApp/='
gyp ERR! stack     at Object.openSync (fs.js:451:3)
gyp ERR! stack     at Object.readFileSync (fs.js:351:35)
gyp ERR! stack     at readCAFile (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:472:15)
gyp ERR! stack     at download (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:444:22)
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/install.js:189:19
gyp ERR! stack     at /usr/local/lib/node_modules/npm/node_modules/mkdirp/index.js:48:26
gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:162:5)
gyp ERR! System Linux 4.15.0-43-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--library=static_library" "--module=/home/abraham/Documentos/Ionic/IonicCurso/8gag/gagy/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc/grpc_node.node" "--module_name=grpc_node" "--module_path=/home/abraham/Documentos/Ionic/IonicCurso/8gag/gagy/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc" "--napi_version=3" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v67"
gyp ERR! cwd /home/abraham/Documentos/Ionic/IonicCurso/8gag/gagy/node_modules/grpc
gyp ERR! node -v v11.2.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --library=static_library --module=/home/abraham/Documentos/Ionic/IonicCurso/8gag/gagy/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc/grpc_node.node --module_name=grpc_node --module_path=/home/abraham/Documentos/Ionic/IonicCurso/8gag/gagy/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v67' (1)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/home/abraham/Documentos/Ionic/IonicCurso/8gag/gagy/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:978:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
node-pre-gyp ERR! System Linux 4.15.0-43-generic
node-pre-gyp ERR! command "/usr/local/bin/node" "/home/abraham/Documentos/Ionic/IonicCurso/8gag/gagy/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-pre-gyp ERR! cwd /home/abraham/Documentos/Ionic/IonicCurso/8gag/gagy/node_modules/grpc
node-pre-gyp ERR! node -v v11.2.0
node-pre-gyp ERR! node-pre-gyp -v v0.12.0
node-pre-gyp ERR! not ok
Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --library=static_library --module=/home/abraham/Documentos/Ionic/IonicCurso/8gag/gagy/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc/grpc_node.node --module_name=grpc_node --module_path=/home/abraham/Documentos/Ionic/IonicCurso/8gag/gagy/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc --napi_version=3 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v67' (1)
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS><8 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS><8 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS><8 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS><8 but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed.  Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!


chore: add volunteer kumaratul60

Thanks for making the changes. Welcome to the community. You can join our discord here if not already.


Jammu kashmir village bouindaries

I got dub district level boundaries for jammu kasmir, but i need village level boundaries and corresponding names for that.

i also need it
i got 3 types of village boundaries all of them are different from  each other


Use lowercase for elements Age and Duration

Naming convention from https://confluence.hl7.org/display/FHIR/Guide+to+Designing+Resources

@abhidg do you mean just in the flat files/as attributes? Or rename the classes as well


⚠ PrivateHD has degraded performance

In 7908a08, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 2433 ms

Resolved: PrivateHD performance has improved in 3c924f0.


[VR] Framebuffer clobbers sign texture (GL_TEXTURE#)

Write on a sign with backquote, text appears fine, but enter VR mode with F4 and then the sign texture changes to the VR framebuffer, even after exiting VR:

The framebuffer texture is bound to unit 4, GL_TEXTURE4, and the other textures including signs in util.c (load_sign_texture GL_TEXTURE3), so why it is it overwritten?
    // Bind our texture in Texture Unit
    glActiveTexture(GL_TEXTURE4);
    glBindTexture(GL_TEXTURE_2D, texture);
    glUniform1i(vr_attrib.sampler, 4);

Even if I change to GL_TEXTURE5, still overwritten, so not sure what is going on, but for some reason only the sign texture is affected. Not the block (0) or font (1) or sky (2) textures.

From http://www.opengl-tutorial.org/intermediate-tutorials/tutorial-14-render-to-texture/:

// The framebuffer, which regroups 0, 1, or more textures, and 0 or 1 depth buffer.
GLuint FramebufferName = 0;
glGenFramebuffers(1, &FramebufferName);
glBindFramebuffer(GL_FRAMEBUFFER, FramebufferName);

Is it grouping more than 1 texture unintentionally?

The problem is the texture generation in init_vr(), it is not in the sample code because they use whatever texture is active - and in this program, the last active texture is the sign texture. Fix it by activating texture 4, for the vr scene framebuffer:
     glGenTextures(1, &texture);
+    glActiveTexture(GL_TEXTURE4);
     glBindTexture(GL_TEXTURE_2D, texture);
     glfwGetFramebufferSize(window, &width, &height);
     glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, width, height, 0, GL_RGB, GL_UNSIGNED_BYTE, 0);


Postgres Timestamp with time zone testing

Testing inserting and fetching via JDBC with Postgres TIMESTAMP and TIMESTAMP WITH TIME ZONE types both with and without a Calendar set to UTC time zone.

Now in running this my Postgres DB is using "NZ" time zone which is +12

The 3 inserted rows are all the same (inserted for local NZ timezone, UTC and LA)
unit=# select * from tztest;
        zone         |         ts          |          tstz          |         ts1         |         tstz1
---------------------+---------------------+------------------------+---------------------+------------------------
 Local               | 2016-04-07 15:33:20 | 2016-04-07 15:33:20+12 | 2016-04-07 03:33:20 | 2016-04-07 15:33:20+12
 UTC                 | 2016-04-07 15:33:20 | 2016-04-07 15:33:20+12 | 2016-04-07 03:33:20 | 2016-04-07 15:33:20+12
 America/Los_Angeles | 2016-04-07 15:33:20 | 2016-04-07 15:33:20+12 | 2016-04-07 03:33:20 | 2016-04-07 15:33:20+12
(3 rows)

ts is the same value as tstz (because ts is treated relative to the time zone of the db which is +12)

unit=# select * from tztest where ts = tstz;
        zone         |         ts          |          tstz          |         ts1         |         tstz1
---------------------+---------------------+------------------------+---------------------+------------------------
 Local               | 2016-04-07 15:33:20 | 2016-04-07 15:33:20+12 | 2016-04-07 03:33:20 | 2016-04-07 15:33:20+12
 UTC                 | 2016-04-07 15:33:20 | 2016-04-07 15:33:20+12 | 2016-04-07 03:33:20 | 2016-04-07 15:33:20+12
 America/Los_Angeles | 2016-04-07 15:33:20 | 2016-04-07 15:33:20+12 | 2016-04-07 03:33:20 | 2016-04-07 15:33:20+12
(3 rows)

Running the fetch tests ... fetch the rows with the 3 different time zones gives:
Local

 zone:Local
   ts:1460000000000,2016-04-07 15:33:20.0
 tstz:1460000000000,2016-04-07 15:33:20.0
  ts1:1460000000000,2016-04-07 15:33:20.0
tstz1:1460000000000,2016-04-07 15:33:20.0
 zone:UTC
   ts:1460000000000,2016-04-07 15:33:20.0
 tstz:1460000000000,2016-04-07 15:33:20.0
  ts1:1460000000000,2016-04-07 15:33:20.0
tstz1:1460000000000,2016-04-07 15:33:20.0
 zone:America/Los_Angeles
   ts:1460000000000,2016-04-07 15:33:20.0
 tstz:1460000000000,2016-04-07 15:33:20.0
  ts1:1460000000000,2016-04-07 15:33:20.0
tstz1:1460000000000,2016-04-07 15:33:20.0

UTC
 zone:Local
   ts:1460000000000,2016-04-07 03:33:20.0
 tstz:1460000000000,2016-04-07 03:33:20.0
  ts1:1460000000000,2016-04-07 03:33:20.0
tstz1:1460000000000,2016-04-07 03:33:20.0
 zone:UTC
   ts:1460000000000,2016-04-07 03:33:20.0
 tstz:1460000000000,2016-04-07 03:33:20.0
  ts1:1460000000000,2016-04-07 03:33:20.0
tstz1:1460000000000,2016-04-07 03:33:20.0
 zone:America/Los_Angeles
   ts:1460000000000,2016-04-07 03:33:20.0
 tstz:1460000000000,2016-04-07 03:33:20.0
  ts1:1460000000000,2016-04-07 03:33:20.0
tstz1:1460000000000,2016-04-07 03:33:20.0

LA
 zone:Local
   ts:1460000000000,2016-04-06 20:33:20.0
 tstz:1460000000000,2016-04-06 20:33:20.0
  ts1:1460000000000,2016-04-06 20:33:20.0
tstz1:1460000000000,2016-04-06 20:33:20.0
 zone:UTC
   ts:1460000000000,2016-04-06 20:33:20.0
 tstz:1460000000000,2016-04-06 20:33:20.0
  ts1:1460000000000,2016-04-06 20:33:20.0
tstz1:1460000000000,2016-04-06 20:33:20.0
 zone:America/Los_Angeles
   ts:1460000000000,2016-04-06 20:33:20.0
 tstz:1460000000000,2016-04-06 20:33:20.0
  ts1:1460000000000,2016-04-06 20:33:20.0
tstz1:1460000000000,2016-04-06 20:33:20.0

The insert code is:

  //@Ignore
  @Test
  public void rawJdbc() throws SQLException {

    insert("Local");
    insert("UTC");
    insert("America/Los_Angeles");
  }

  private void setZone(String zone) {
    TimeZone.setDefault(TimeZone.getTimeZone(zone));
  }

  private void insert(String zone) throws SQLException {

    String insert = "insert into tztest (zone, ts, tstz, ts1, tstz1) values (?,?,?,?,?)";

    if (!zone.equalsIgnoreCase("local")) {
      setZone(zone);
    }

    Transaction transaction = Ebean.beginTransaction();
    Connection connection = transaction.getConnection();
    PreparedStatement statement = connection.prepareStatement(insert);
    statement.setString(1, zone);
    statement.setTimestamp(2, nowTs);
    statement.setTimestamp(3, nowTs);
    statement.setTimestamp(4, nowTs, utcCal());
    statement.setTimestamp(5, nowTs, utcCal());
    statement.executeUpdate();

    transaction.commit();
  }

The main point being the last 2 columns take the UTC Calendar.

The fetch code also passes the UTC Calender when getting the last 2 timestamps.
  private void fetch() throws SQLException {
    Transaction transaction = Ebean.beginTransaction();
    Connection connection = transaction.getConnection();
    PreparedStatement statement = connection.prepareStatement("select * from tztest");
    ResultSet resultSet = statement.executeQuery();
    while (resultSet.next()) {
      System.out.println(" zone:"+resultSet.getString("zone"));
      System.out.println("   ts:"+tsof(resultSet.getTimestamp("ts")));
      System.out.println(" tstz:"+tsof(resultSet.getTimestamp("tstz")));
      System.out.println("  ts1:"+tsof(resultSet.getTimestamp("ts1", utcCal())));
      System.out.println("tstz1:"+tsof(resultSet.getTimestamp("tstz1", utcCal())));
    }
    System.out.println("");
    resultSet.close();
    statement.close();
    transaction.end();
  }

Ok, executing the fetches in their own single JVM run ... looks different.
LA by itself:
LA
 zone:Local
   ts:1460068400000,2016-04-07 15:33:20.0
 tstz:1460000000000,2016-04-06 20:33:20.0
  ts1:1460000000000,2016-04-06 20:33:20.0
tstz1:1460000000000,2016-04-06 20:33:20.0

So the first value does not look correct there.

UTC by itself is similarly out (This was noted by Karsten in that there is a caching of the Calendar object in the JDBC driver so when I run all 3 time zone tests in the same JVM execution the first run invalidates the following 2) ... hence running the fetch for a timezone by itself is giving me a different result.
UTC
UTC
 zone:Local
   ts:1460043200000,2016-04-07 15:33:20.0
 tstz:1460000000000,2016-04-07 03:33:20.0
  ts1:1460000000000,2016-04-07 03:33:20.0
tstz1:1460000000000,2016-04-07 03:33:20.0

And Local by itself is correct (as expected).
Local
 zone:Local
   ts:1460000000000,2016-04-07 15:33:20.0
 tstz:1460000000000,2016-04-07 15:33:20.0
  ts1:1460000000000,2016-04-07 15:33:20.0
tstz1:1460000000000,2016-04-07 15:33:20.0

SUMMARY OF ISSUE
When we insert with a JVM in one timezone (say NZ) and then fetch in a different timezone (say LA) then the time wrt epoch is different.
The time fetched using LA timezone matches when either "TIMESTAMP WITH TIME ZONE" is used or when a Calendar is passed in for both setTimestamp() and getTimestamp() to define the timezone.

INSERTS:
We run 5 different inserts (one insert per run) to avoid time zone caching.
The first 2 columns do not use calendar, the last 2 columns use calendar.
The first 3 inserts the Calendar is the system default (so, Local, LA then UTC).  The last 2 inserts are an insert for Local and LA using UTC Calendar.
This gives us 5 inserts with:
unit=# select * from tztest;
        zone         |         ts          |          tstz          |         ts1         |         tstz1
---------------------+---------------------+------------------------+---------------------+------------------------
 Local               | 2016-04-07 15:33:20 | 2016-04-07 15:33:20+12 | 2016-04-07 15:33:20 | 2016-04-07 15:33:20+12
 America/Los_Angeles | 2016-04-06 20:33:20 | 2016-04-07 15:33:20+12 | 2016-04-06 20:33:20 | 2016-04-07 15:33:20+12
 UTC                 | 2016-04-07 03:33:20 | 2016-04-07 15:33:20+12 | 2016-04-07 03:33:20 | 2016-04-07 15:33:20+12
 Local               | 2016-04-07 15:33:20 | 2016-04-07 15:33:20+12 | 2016-04-07 03:33:20 | 2016-04-07 15:33:20+12
 America/Los_Angeles | 2016-04-06 20:33:20 | 2016-04-07 15:33:20+12 | 2016-04-07 03:33:20 | 2016-04-07 15:33:20+12
(5 rows)

Notes:

The the 'with timezone' columns are always correct (regardless of the use of Calendar)
The ts1 with UTC Calendar gives us the consistent 03:33:20 time in UTC
The ts column (timestamp, no calendar) has values that match the JVM default timestamp.

Effectively means that Timestamp column with no Calendar can should only be written and read from JVM's in the same timezone.

With Postgres:

We should prefer Timestamp with time zone type
If we use Timestamp with cross time zone JVM's we should use a consistent Calendar (like UTC)

So new configuration options:
This gives the option of using a Calendar with timezone when reading/writing Timestamps via JDBC.
This can be set via system property.
// set system property
System.setProperty("ebean.dataTimeZone", "UTC")

Or via ServerConfig:
serverConfig.setDataTimeZone("UTC");

// and properties
# ebean.dataTimeZone=UTC

Add see: #663 - Change Postgres default Timestamp type to be "Timestamp with time zone"

At this point: If you are using Postgres and Timestamptz then you really don't need to set this.  If you are using MySql you really need to check/test based on your JDBC driver and it's configuration.
For Oracle note that this is not support for the type that stores/returns the timezone (Postgres and MySql don't support that, use an additional column to store the ZoneId if that is what you need to do).


🐛 biome lsp-proxy doesn't recognize biome.json

Environment information
No

What happened?
In discord server, some users faced the issue that Intellij plugin doesn't resolve biome.json.
I also confirmed that lsp-proxy command does not resolve the config file. (But, start command seems to resolve it.)
similar issue: https://github.com/xiaoxin-sky/lapce-rome/issues/1
Expected result
biome lsp-proxy should recognize biome.json like biome start.
Or, intellij plugin  should use biome start instaad of biome lsp-proxy?
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

@nissy-dev I think  biome format also doesn't resolve biome.json in the plugin.
On my end the biome lsp-proxy resolves the biome.json correctly
https://github.com/biomejs/biome/assets/78874691/8217e54b-2c4c-4646-a5fc-e21648eaf64b

I am using the biome CLI and I can confirm that lsp-proxy does not recognize the biome.json file in the path I specified through --config-path.

@victor-teles

I think biome format also doesn't resolve biome.json in the plugin.
On my end the biome lsp-proxy resolves the biome.json correctly

I'm in the same situation. Thanks for confirming correctly!
Considering about the other comments and  the situation withbiome start, It still seems there is possible that biome lsp=proxy is something wrong.

To be precise, I verified that the formatting functionality of the biome lsp does not respect the biome.json file passed by the --config-path key. I haven't tried the lint functionality, so it is possible that the biome.json file is loaded correctly, but the formatting function of lsp does not respect that config file.

This is happening with me on VSCode extension, are there any workarounds?

@thelinuxlich I suggest you open a new issue with the required information to triage your issue. Your problem might be caused by something different.

@ematipico I just discovered what's the issue, if I have a workspace with many folders, biome-lsp doesn't find the biome.json relative to the current project. If the project is the workspace, it works. But it's a bug, right?

@thelinuxlich there's an issue already open: https://github.com/biomejs/biome/issues/507


Add windows zip support for promotion artifacts

Signed-off-by: Peter Zhu<EMAIL_ADDRESS>Description
Add windows zip support for promotion artifacts
Issues Resolved
https://github.com/opensearch-project/opensearch-build/issues/2306
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #31 (9d4b5ee) into main (8c4a662) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #31   +/-   ##
=========================================
  Coverage     83.78%   83.78%
  Complexity       24       24
=========================================
  Files            62       62
  Lines           185      185
  Branches         10       10
=========================================
  Hits            155      155
  Misses           24       24
  Partials          6        6

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


Support madvise.

It might be useful to add support for POSIX madvise, and/or something like CreateFile with FILE_FLAG_SEQUENTIAL_SCAN on Windows.
Is this something within the scope of this crate? Or is this be something to be left to another crate?

On Windows, you can also do something similar to POSIX's WILLNEED using the PrefetchVirtualMemory

In some other cases the passive or infrequently-engaging maintainer(s) of this crate have suggested publishing new functionality elsewhere, in other crates.  I've included support for a subset of libc::posix_madvise in the olio crate via olio::mem::MemHandle in a concurrent-access aware fashion.  See unit tests in the source for examples wrapping an Mmap.   Benchmarks show performance win of Sequential advice proceeding sequential access.
While this is currently limited to /*nix, I would welcome a patch for Sequential advice on Windows. See https://github.com/dekellum/olio

Right, my take in the past has been that madvise should probably be provided by a separate crate.  The non-cross-platform aspects of it make it a tough API to wrap.
That being said if someone can make the case that madvise is only useful in combination with memory-mapped memory then I'm open to including it in memmap.


freeoffice: 2021.1054 -> 2024.1220; softmaker-office: 2021.1032 -> 2024.1222

Things done

softmaker: format
freeoffice: 2021.1054 -> 2024.1220
softmaker-office: 2021.1032 -> 2024.1222

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 366478

x86_64-linux

:white_check_mark: 2 packages built:

freeoffice
softmaker-office

Tested locally, seems good.


Fix bug in rebalance order price

Before submitting this PR, please make sure:

[ ] Your code builds clean without any errors or warnings
[ ] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
Fixes the following issue in the fixed grid script:
https://github.com/hummingbot/hummingbot/issues/6523
There was in error in the calculation of order price for rebalance sell orders. This is corrected now.
Tests performed by the developer:
Tips for QA testing:

Merged to development and part of release version 1.19.0


datasette.render_template(template, ...) should also accept a list of templates

https://docs.datasette.io/en/stable/internals.html#await-render-template-template-context-none-request-none
await .render_template(template, context=None, request=None)
This currently only accepts a single template. If it accepted a list of templates (where the first available template gets rendered) it could be more widely used by Datasette internally.
Spotted this while researching #1042.

It turns out it already does that:
https://github.com/simonw/datasette/blob/976e5f74aae1fa0d406df6691dc8b5feeebe8788/datasette/app.py#L710-L720
But the documentation doesn't reflect that:

template - string

The template file to be rendered, e.g. my_plugin.html. Datasette will search for this file first in the --template-dir= location, if it was specified - then in the plugin's bundled templates and finally in Datasette's set of default templates.


Official Release

It is possible to release an official version?
The minimum-stability flag as dev breaks many libraries that I am using and other software :-/
As support I use on php7 without problems and works also on php 5.6.

Any news for it?

Actually this is very boring and create many problems...
I think that I will do a fork to avoid that issue

Hi Mte90, sorry I missed that this issue was created.  Yes, it is officially released now.  I use it everyday and have not hit any issues.  I was being too conservative.  Enjoy!

You have to update the composer.json and remove the flag, in the meantime I done a fork with that fix https://github.com/Mte90/clio

Yes, forgot to change to stable.  Still getting use to composer.  Releasing the new composer.json.  Thanks for pointing this out!


Migrate to Apache HttpClient / Core 5.x

Signed-off-by: Craig Perkins<EMAIL_ADDRESS>Description
This PR contains changes related to migration to Apache HttpClient and Core 5.x from 4.x with changes that fix build failures. The security plugin needs to retain support for v4 http client for SAML because of the class SamlHTTPMetadataResolver which extends OpenSAML and OpenSAML has a dependency on v4.
CI will fail until new artifacts for common-utils are available after this PR is merged - https://github.com/opensearch-project/common-utils/pull/281
I updated build.gradle to keep opensearch and common-utils in sync, this can be changed back if needed but to get CI working for this PR it needs to reference the latest distribution build.

Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)

Enhancement
Issues Resolved
Related to https://github.com/opensearch-project/OpenSearch/issues/4256, security plugin needs to upgrade as well
Addresses: 2165
Testing
CI
Check List

[ ] New functionality includes testing
[ ] New functionality has been documented
[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #2166 (adb1100) into main (16b1676) will decrease coverage by 0.06%.
The diff coverage is 67.31%.

@@             Coverage Diff              @@
##               main    #2166      +/-   ##
============================================
- Coverage     61.12%   61.05%   -0.07%
- Complexity     3236     3259      +23
============================================
  Files           258      259       +1
  Lines         18110    18325     +215
  Branches       3224     3249      +25
============================================
+ Hits          11070    11189     +119
- Misses         5461     5540      +79
- Partials       1579     1596      +17

Impacted Files
Coverage Δ

...ic/auth/http/jwt/AbstractHTTPJwtAuthenticator.java
55.81% <ø> (ø)

...mazon/dlic/auth/http/jwt/HTTPJwtAuthenticator.java
85.71% <ø> (ø)

...amazon/dlic/util/SettingsBasedSSLConfigurator.java
62.30% <ø> (-8.01%)
:arrow_down:

...pensearch/security/auditlog/impl/AuditMessage.java
73.73% <ø> (ø)

...azon/dlic/util/SettingsBasedSSLConfiguratorV4.java
58.85% <58.85%> (ø)

.../dlic/auth/http/jwt/keybyoidc/KeySetRetriever.java
76.19% <66.66%> (-0.64%)
:arrow_down:

...opensearch/security/auditlog/sink/WebhookSink.java
76.74% <95.45%> (-0.18%)
:arrow_down:

.../dlic/auth/http/saml/SamlHTTPMetadataResolver.java
62.96% <100.00%> (ø)

...org/opensearch/security/httpclient/HttpClient.java
87.23% <100.00%> (+1.35%)
:arrow_up:

...a/org/opensearch/security/tools/SecurityAdmin.java
36.76% <100.00%> (+1.00%)
:arrow_up:

... and 5 more

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

CI is now green! :)

CI is now green! :)

@cwperks great one, I think I can close https://github.com/opensearch-project/security/pull/2172 ?

CI is now green! :)

@cwperks great one, I think I can close #2172 ?

Yes, unless this PR missed the mark on the migration somewhere. I was looking at your PR in core (https://github.com/opensearch-project/OpenSearch/pull/4459) and the migration guide provided by apache to find the right analogs in v5 to migrate to.
Please push directly on this branch with any changes you think are appropriate. I was not able to resolve the org.apache.hc.core5.http.ParseException: Invalid protocol version errors with Http 1.1 / Http2

Please push directly on this branch with any changes you think are appropriate. I was not able to resolve the org.apache.hc.core5.http.ParseException: Invalid protocol version errors with Http 1.1 / Http2

I will take a look at it, could you please add me as collabotor to your branch (I think I do not have permissions to push there), thank you.

@reta You're added as a collaborator - you should have received an invite.

There are some follow-ups but I'd rather do that with a building main - great work @cwperks

@peternied fix on the way, hold on please

@peternied all set. @cwperks great work!

Thank you for the help @reta!


ubuntu 14 => 18 in instructions

@aviweit  -- does this capture our off-list discussion on getting this to work in 18.04?

Codecov Report

Merging #4815 into master will decrease coverage by 6.59%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #4815     +/-   ##
=========================================
- Coverage   85.18%   78.59%   -6.6%
=========================================
  Files         197      197
  Lines        8843     8843
  Branches      606      606
=========================================
- Hits         7533     6950    -583
- Misses       1310     1893    +583

Impacted Files
Coverage Δ

...core/database/cosmosdb/RxObservableImplicits.scala
0% <0%> (-100%)
:arrow_down:

...enwhisk/connector/kafka/KamonMetricsReporter.scala
0% <0%> (-100%)
:arrow_down:

...e/database/cosmosdb/cache/ChangeFeedConsumer.scala
0% <0%> (-100%)
:arrow_down:

...ore/database/cosmosdb/cache/CacheInvalidator.scala
0% <0%> (-100%)
:arrow_down:

...core/database/cosmosdb/CosmosDBArtifactStore.scala
0% <0%> (-96.23%)
:arrow_down:

...sk/core/database/cosmosdb/CosmosDBViewMapper.scala
0% <0%> (-93.85%)
:arrow_down:

...tabase/cosmosdb/cache/CacheInvalidatorConfig.scala
0% <0%> (-92.31%)
:arrow_down:

...e/database/cosmosdb/cache/KafkaEventProducer.scala
0% <0%> (-77.78%)
:arrow_down:

...whisk/core/database/cosmosdb/CosmosDBSupport.scala
0% <0%> (-74.08%)
:arrow_down:

...abase/cosmosdb/CosmosDBArtifactStoreProvider.scala
7.69% <0%> (-50%)
:arrow_down:

... and 8 more

Continue to review full report at Codecov.

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

@dgrove-oss, yes, it seems to be fine from my side. I noticed you added npm, which seems to be fine.
Thanks.


swaybg: 1.1.1 -> 1.2.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/swaywm/swaybg/releases.
meta.description for swaybg is: "Wallpaper tool for Wayland compositors"
meta.homepage for swaybg is: "https://github.com/swaywm/swaybg"
meta.changelog for swaybg is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.2.0 with grep in /nix/store/c20minf9i92qigxbpv705vzx05wcfgps-swaybg-1.2.0
found 1.2.0 in filename of file in /nix/store/c20minf9i92qigxbpv705vzx05wcfgps-swaybg-1.2.0

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)

8 package rebuild(s)

First fifty rebuilds by attrpath
nwg-panel
smart-wallpaper
sway
sway-contrib.grimshot
sway-unwrapped
swaybg
waybar
wlprop

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/c20minf9i92qigxbpv705vzx05wcfgps-swaybg-1.2.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A swaybg https://github.com/r-ryantm/nixpkgs/archive/6d96212b842d7f086c7e6b009fea4cd9e4741b2a.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/c20minf9i92qigxbpv705vzx05wcfgps-swaybg-1.2.0
ls -la /nix/store/c20minf9i92qigxbpv705vzx05wcfgps-swaybg-1.2.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

8 packages built:

nwg-panel
smart-wallpaper
sway
sway-contrib.grimshot
sway-unwrapped
swaybg
waybar
wlprop

Maintainer pings
cc @primeos for testing.

@ofborg eval


[CLI] Error during data syncing

Hi,
I have been running the same code for months now, but only did I run into this problem from yesterday:
This is the log:
0% [##########################    ] 100% | ETA: 00:38:45
0% [###########################   ] 100% | ETA: 00:29:04wandb: ERROR Droppped streaming file chunk (see wandb/debug.log)
ERROR:root:dropped chunk 404 Client Error: Not Found for url: https://api.wandb.ai/files/kevinghst/SGI/frostbite_1_11-16-1/file_stream
Exception in thread FileStreamThread:
Traceback (most recent call last):
File "/ext3/miniconda3/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/ext3/miniconda3/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/ext3/miniconda3/lib/python3.9/site-packages/wandb/sdk/internal/file_stream.py", line 288, in _thread_except_body
raise e
File "/ext3/miniconda3/lib/python3.9/site-packages/wandb/sdk/internal/file_stream.py", line 282, in _thread_except_body
self._thread_body()
File "/ext3/miniconda3/lib/python3.9/site-packages/wandb/sdk/internal/file_stream.py", line 265, in _thread_body
self._handle_response(
File "/ext3/miniconda3/lib/python3.9/site-packages/wandb/sdk/internal/file_stream.py", line 295, in _handle_response
raise response
File "/ext3/miniconda3/lib/python3.9/site-packages/wandb/sdk/internal/file_stream.py", line 382, in request_with_retry
response.raise_for_status()
File "/ext3/miniconda3/lib/python3.9/site-packages/requests/models.py", line 953, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.wandb.ai/files/kevinghst/SGI/frostbite_1_11-16-1/file_stream
0% [############################  ] 100% | ETA: 00:19:22
0% [############################# ] 100% | ETA: 00:09:41wandb: 502 encountered (
Anyone has any ideas?
Thanks,
Kevin

And this is how I initiate wandb in my code:
  wandb.init(
      resume=resume,
      id=exp_name if config["group_add"] == "none" else str(randint(0,<PHONE_NUMBER>0)),
      config=config,
      project=config["wandb"]["project"],
      reinit=True,
      anonymous="allow",
      name=exp_name,
      group=group_name
  )

Hey kevinghst, can you share the debug logs for this run that are in the run directory? Also which wandb version are you using?

Hi Arman,
Actually, I reran the code today and the problem seemed to have went away. I also updated wandb to the latest version for posterity.
I am closing this for now.
Kevin


Onboarding tests filtered by language, environment(dev,pro) and weblog

Push data results to system-tests-dashboard
Description

Motivation

Reviewer checklist

[ ] If this PR modifies anything else than strictly the default scenario, then remove the run-default-scenario label
[ ] CI is green

[ ] If not, failing jobs are not related to this change (and you are 100% sure about this statement)

Workflow

⚠⚠ Create your PR as draft
Follow the style guidelines of this project (See how to easily lint the code)
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

NOTE:  By default in PR only default scenario tests will be launched. Remove the run-default-scenario label to run all scenarios (more info)

Once your PR is reviewed, you can merge it! :heart:

Do you need a review ?


Improve formatting and typography

Standardise formatting in LaTeX source and improve typography.

Rendered

Sorry, I forgot to reply. That looks good to me.