Fix chip-tool build on Mac not finding openssl headers

Problem
Compiling chip-tool on Mac (not using gn) does not work because it does not find the openssl headers.  This is an issue ever since ade4ad689ada096efd9fe1374dd75328ef7be9e3 started including those in CHIPDeviceController.h.
Summary of Changes
Ensure that we pass the right -I bits to our compiler.

Oh, and this is a workaround for https://github.com/project-chip/connectedhomeip/issues/2284 not being fixed yet.

@bzbarsky-apple https://github.com/project-chip/connectedhomeip/pull/2310 should address this issue. Hopefully you won't need this workaround once the PR merges.


tutorial request

Hi I am wondering if you would be interested in making a tutorial using Django framework to make a web application. Your tutorial series will be complete by having one tutorial of making an end product (webapp) in Python programming.

The Django documentation has a full tutorial already. I'm assuming you already went through it and are probably looking for another one beyond a poll application, but it is actually quite complete in terms of touching major aspects of using Django.

The Django website lists a number of resources: https://code.djangoproject.com/wiki/DjangoResources for folks. I've included the link here for visitors that may find this information useful in the future.
@edirg559 Thanks for filing the request, and I hope you enjoy the newcoder.io tutorials. As @econchick mentions, the official Django tutorial is very good at covering how to create a web application.
I'm closing this issue yet marking it "blue sky" (something that is not in the current project scope). This allows the project team to refer to it easily in future years for planning purposes.


[New Theme Request] Heimdall

Would be great to see some themes for Heimdall
Thanks in advance.

Added as bug by mistake..


SVG to PNG - Embedded Base64 images do not render

I've just upgraded to version 0.16.1 on OSX, as I was keen to test out the smart cropping functionality.
To do so, I had to uninstall the version of VIPS I found here - http://www.vips.ecs.soton.ac.uk/index.php?title=Build_on_OS_X - The installation now works, but unfortunately embedded Base64 images in .svg files will not render on output to .png (and on output to .jpeg, the area containing the Base64 image renders a black square).
Interestingly, before upgrading, and while I had the Homebrew build of VIPS installed, Base64 images did work...
Any ideas as to what might have changed, and how I can fix it to render Base64 images in .svg's again?

For the record, when installing Sharp v0.16.1 with VIPS already installed, I receive the follwoing error:
gyp: Call to 'PKG_CONFIG_PATH="/usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.11:$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig" pkg-config --libs vips-cpp' returned exit status 1 while in binding.gyp. while trying to load binding.gyp

Hello. do you happen to have a copy of what the command brew info vips said about the version of vips (and its dependencies) installed before you removed it?
My best guess would be that you were using an installation of vips with *magick as a dependency. If so, this library might have been used to decode the SVG format instead of the now-preferred librsvg.
Are you able to provide the SVG at fault, or at least a similar example that fails in a similar manner?

Here's an example of the SVG I'm using. As you can see, it's pretty simple, so I suspect this is an OSX installation problem which might well be related to - https://github.com/lovell/sharp/issues/602 - as well as - https://github.com/lovell/sharp/issues/588 - On Windows, the conversion process works, though I do suspect a problem with embeddded JPG's:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <svg    xmlns:dc="http://purl.org/dc/elements/1.1/"    xmlns:cc="http://creativecommons.org/ns#"    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"    xmlns:svg="http://www.w3.org/2000/svg"    xmlns="http://www.w3.org/2000/svg"    xmlns:xlink="http://www.w3.org/1999/xlink"    version="1.1"    id="svg2"    viewBox="0 0 220 210"    height="210"    width="220">   <defs      id="defs4" />   <metadata      id="metadata7">     <rdf:RDF>       <cc:Work          rdf:about="">         <dc:format>image/svg+xml</dc:format>         <dc:type            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />         <dc:title></dc:title>       </cc:Work>     </rdf:RDF>   </metadata>   <g      transform="translate(0,-842.36216)"      id="layer1">     <image        width="219.89999"        height="165"        preserveAspectRatio="none"        id="edit-image"        x="0"        y="843.07648"        xlink:href="data:image/jpeg;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAACXBIWXMAAAsTAAALEwEAmpwYAAABAElEQVR4nO3RQQ0AIBDAsAP/nuGNAvZoFSzZOjNnyNi/A3gZEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIjCExhsQYEmNIzAXsTALGT7m3PwAAAABJRU5ErkJggg==" />     <text        xml:space="preserve"        style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;letter-spacing:-1.52999997px;word-spacing:0px;fill:#4d4d4d;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"        x="9.5872231"        y="1036.1429"        id="text4157"><tspan          id="edit-title"          x="9.5872231"          y="1036.1429"          style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:20px;font-family:'.Al Bayan PUA';-inkscape-font-specification:'.Al Bayan PUA';fill:#4d4d4d">Hello</tspan></text>     <flowRoot        style="fill:black;stroke:none;stroke-opacity:1;stroke-width:1px;stroke-linejoin:miter;stroke-linecap:butt;fill-opacity:1;font-family:sans-serif;font-style:normal;font-weight:normal;font-size:40px;line-height:125%;letter-spacing:0px;word-spacing:0px"        id="flowRoot3344"        xml:space="preserve"><flowRegion          id="flowRegion3346"><rect            y="14.285714"            x="11.428572"            height="196.42857"            width="352.14285"            id="rect3348" /></flowRegion><flowPara          id="flowPara3350"></flowPara></flowRoot>  </g> </svg>

As for the output of brew info vips, tbf, I did have the full fat version installed at one point, but have since uninstalled *magick, and the output is as follows:
Dependencies
Build: pkg-config ✔
Required: fontconfig ✔, gettext ✔, glib ✔
Recommended: libpng ✔, jpeg ✔, orc ✔, libgsf ✔, libtiff ✔, fftw ✔, little-cms2 ✔, pango ✔, libexif ✔, gobject-introspection ✔, pygobject3 ✔, python ✔, poppler ✔, librsvg ✔, giflib ✔
Optional: openslide ✔, imagemagick ✘, graphicsmagick ✘, openexr ✔, cfitsio ✔, webp ✔, python3 ✘, libmatio ✔, mozjpeg ✘, jpeg-turbo ✔

Thank you. I also found a good example of embedded base64 PNG and JPEG images in the W3C's test suite - see https://dev.w3.org/SVG/profiles/1.2T/test/svg/struct-image-04-t.svg
As you've discovered, using a custom installation of libvips with *magick support works. There's a security gotcha here as *magick will probably go and fetch remote URLs, local files and all sorts of other things, so make sure you trust the image sources. librsvg is much more conservative in this regard.
For embedded images to work, librsvg has to be compiled with support for gdk-pixbuf, which has to be compiled with support for whichever image formats are required.
For OS X, my best guess is the pre-compiled OS X tarball is missing the gdk-pixbuf loaders.
For Linux, the pre-compiled binaries currently exclude JPEG and PNG.
I'll look at including/enabling these for the next major release.

v0.17.0 now available with pre-compiled binaries that include everything required for embedded base64 images in SVG files.


I am not able to run my code

Environment (please complete the following information):

OS (e.g., Windows 10):
Extension version (e.g., 1.2.3):

Describe the bug:

Repro steps:

Expected behavior:

Additional context:

Closing as incomplete. Please feel free to add more information if you have any and we can re-open the issue.


[DOCS] Node

Closes #13270.

Would be good to document the same thing for _physics_process and _input which behave the same.

Will update this and https://github.com/godotengine/godot-docs/pull/617 with changes for _physics_process and _input.

Should be good now, if I didn't miss anything. Added _physics_process and _input stuff, and a few of the missing methods and constants.

Fixed the things found by @TwistedTwigleg, thanks for looking over it :)


circular import

Hi!
just tried your wrapper it seems that there is circular import...
ImportError: cannot import name 'TypedDict' from partially initialized module 'typing_extensions' (most likely due to a circular import)
i'm running Python 3.12.2 on win10...
thanks

Pretty weird that the first call worked then now i'm getting the error...
Here is my setup:
-windows10
-python version and installation path: C:\Python312
-pip install jupiter-python-sdk
-pip install asyncio
-complete error stack:
C:\Temp\pyjupswapper>python swapper.py
Traceback (most recent call last):
File "C:\Temp\pyjupswapper\swapper.py", line 5, in
from solders import message
File "C:\Python312\Lib\site-packages\solders_init_.py", line 25, in
from . import system_program, sysvar
File "C:\Python312\Lib\site-packages\solders\system_program.py", line 2, in
from typing_extensions import Final, TypedDict
File "C:\Python312\Lib\site-packages\typing_extensions.py", line 5, in
import inspect
File "C:\Python312\Lib\inspect.py", line 151, in
import linecache
File "C:\Python312\Lib\linecache.py", line 11, in
import tokenize
File "C:\Python312\Lib\tokenize.py", line 35, in
from token import *
File "C:\Temp\pyjupswapper\token.py", line 6, in
from solana.rpc.async_api import AsyncClient
File "C:\Python312\Lib\site-packages\solana\rpc\async_api.py", line 64, in
from solana.rpc import types
File "C:\Python312\Lib\site-packages\solana\rpc\types.py", line 5, in
from typing_extensions import TypedDict
ImportError: cannot import name 'TypedDict' from partially initialized module 'typing_extensions' (most likely due to a circular import) (C:\Python312\Lib\site-packages\typing_extensions.py)
command: python swapper.js
content of swapper.js:
import base58
import base64
import json
from solders import message
from solders.keypair import Keypair
from solders.transaction import VersionedTransaction
from solana.rpc.types import TxOpts
from solana.rpc.async_api import AsyncClient
from solana.rpc.commitment import Processed
from jupiter_python_sdk.jupiter import Jupiter
import asyncio
private_key = Keypair.from_bytes(base58.b58decode("myKEY"))
async_client = AsyncClient("myRPC")
jupiter = Jupiter(async_client, private_key)
async def swap():
transaction_data = await jupiter.swap(
input_mint="EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
output_mint="So11111111111111111111111111111111111111112",
amount=300_000,
slippage_bps=100,
)
# Returns str: serialized transactions to execute the swap.
raw_transaction = VersionedTransaction.from_bytes(base64.b64decode(transaction_data))
signature = private_key.sign_message(message.to_bytes_versioned(raw_transaction.message))
signed_txn = VersionedTransaction.populate(raw_transaction.message, [signature])
opts = TxOpts(skip_preflight=False, preflight_commitment=Processed)
result = await async_client.send_raw_transaction(txn=bytes(signed_txn), opts=opts)
transaction_id = json.loads(result.to_json())['result']
print(f"Transaction sent: https://explorer.solana.com/tx/{transaction_id}")
if name == "main":
asyncio.run(swap())


Add layout customization support

Thanks for this app!
I wanted to have dark theme to use, so ended up implementing it :)
Here are a few examples of how it looks like:

Your profile

gamersforever1695 (a contributor here)

This is cool! 👍  let us review it further.
Thanks @zekker6!

Hi, @zekker6, I think we are near to do the all customizable thing. Can we make the following items to be more customizable via query params?

background

fill
stroke

title
stats
rating
icons

So the URL will be something like:
?username=zekker6&backgroundFill=#000&...

@LordDashMe Thanks for review, implemented this.

backgroundFill: fff

@LordDashMe Just a reminder this one needs some review and probably merge if it looks good to you

@LordDashMe Just a reminder this one needs some review and probably merge if it looks good to you

Alright! LGTM, but let us review it further. Thanks @zekker6 👍

@LordDashMe any update on this?

@LordDashMe any update on this?

Thanks for the interest with this feature PR, there are an ongoing reviews and plan to release this feature. So hold tight, it will be push to production soon. ☺


Absolute Max Pooling

def amp(self, i, t_feats, s_feats, margins):
    """
    Absolute Max Pooling for channels reduction.
    """
    b, sc, h, w = s_feats[i].shape
    _, tc, _, _ = t_feats[i].shape

    groups = tc // sc

    t = []
    m = []
    for c in range(0, tc, sc):
        if c == (tc // sc) * sc and self.shave:
            continue

        t.append(t_feats[i][:, self.guided_inds[i][c:c+sc].detach(), :, :])
        m.append(margins[:, self.guided_inds[i][c:c+sc].detach(), :, :])

    t = torch.stack(t, dim=2)
    m = torch.stack(m, dim=2)

    t = t.reshape(b, sc, groups, -1)
    m = m.reshape(1, sc, groups, -1)

    t_inds = torch.argmax(t, dim=2)

    t = t.gather(2, t_inds.unsqueeze(2))
    m = m.mean(dim=2)

    t = t.reshape(b, sc, h, w)
    m = m.reshape(1, sc, 1, 1)

for Absolute Max Pooling ,t may be abs ?
the line  t_inds = torch.argmax(t, dim=2) should change to t_inds = torch.argmax(torch.abs(t), dim=2)

Ops, my bad. You're right. I have fixed it. If you have further experimental problems, feel free to post them here. Thanks very much.


[TypeSpecValidation] Add list of specs to ignore when running "CheckAll"

Decided to implement via suppressions.yaml instead


How to test?

Epoch 500/599
train Loss: 0.0554 Acc: 0.9868
val Loss: 0.5913 Acc: 0.9611
Best val Acc: 0.968801

Epoch 550/599
train Loss: 0.0548 Acc: 0.9879
val Loss: 0.6185 Acc: 0.9603
Best val Acc: 0.968801
Training complete in 0m 18s
Best val Acc: 0.968801
how to test on ModelNet40 dataset?

ModelNet40 only have train/val set.


Blocks

He is not transferring or copying the files I deleted the file instead of transferring it and I tried more than once

Can you explain wdym?

mhmdgfu not replying so im closing this


Expose $env/static/public module to service workers

Describe the problem
#5663 adds new modules with environment variables. In some cases it's useful to be able to access those env vars in a service worker.
It only makes sense to expose public environment variables for obvious reasons, so $env/static/private and $env/dynamic/private are out.
$env/dynamic/public could potentially be useful, but I have no idea how it would work. I think 'service workers can only use public environment variables that are known at build time' is a reasonable restriction.
Describe the proposed solution
Expose $env/static/public to service workers.
Alternatives considered
No response
Importance
nice to have
Additional Information
No response

Rich, is it possible to expose dynamic vars to the service worker by sending a message to it containing the variables during the client initialization? If it happens then, it'd be guaranteed to preempt any messages sent by user code, right?

No, the service worker has to initialise before it's possible to send messages to it

I just ran into this issue while adding a check to ignore cache for requests going to our proxy, whose url is set using a static public env var
For now I could workaround with our project but would be nice to see this feature implemented for other cases where workarounds might not be possible :+1:

This is REALLY NEEDED.
Today I updated to kit 1.0.3 coming from "@sveltejs/kit": "1.0.0-next.394" and the build is not replacing these anymore:

service-worker.ts:

registerRoute(
  new NavigationRoute(createHandlerBoundToURL("/index.html"), {
    denylist: [new RegExp(import.meta.env.VITE_SOME_ENV + "/")],
  })
);

VITE_SOME_ENV is in .env file.
Why?
Is there a work-around until this issue is closed (done)?

This is REALLY NEEDED.
Today I updated to kit 1.0.3 coming from "@sveltejs/kit": "1.0.0-next.394" and the build is not replacing these anymore:

service-worker.ts:

registerRoute(
  new NavigationRoute(createHandlerBoundToURL("/index.html"), {
    denylist: [new RegExp(import.meta.env.VITE_SOME_ENV + "/")],
  })
);

VITE_SOME_ENV is in .env file.
Why?
Is there a work-around until this issue is closed (done)?
UPDATE: Wrong. This is working using the VITE_ prefix. Not the Kit's defualt one PUBLIC_.
I think I need to find a work-around for now.

@frederikhors
You are correct -- we don't touch Vite's env var handling, so that's a good escape hatch until we get this working. Keep in mind that it doesn't have the public/private protections of Kit's env vars -- don't accidentally expose secrets! 😁

I just ran into this issue as well. +1 from me.


Migrate to wiki when refined

This issue is for serving as a reminder to migrate all the conclusions we draw from here, in a refined format to the wiki in the future.

@NickSeagull now we have the content on docs and this repository is going to hold the benchmarks only.

I was thinking about putting the benchmarks in some dropdowns, what do you thing @mdibaiee ?

@NickSeagull Um, you mean dropdowns in docs and moving the HTML there? What about the source codes?
I think having benchmarks in a separate repository helps people evaluate them much more easily, they should not have to clone the docs repository to run benchmarks and see the results 🤔

That is true, @mdibaiee, I think we should just clean the repo up a bit 😄

@NickSeagull I will rewrite a simple README for the repo to point out the docs and a small guide on how to write benchmarks. :grin:


Setup CodeRabbit (uses ast-grep and AI to review PRs)

⭐ Suggestion
We are a big fan of ast-grep, and we recently started using it at CodeRabbit. We review pull requests with AI and use gpt-4 to generate ast-grep search patterns to dive deep into the codebase and search for missing changes. We are getting excellent results so far.
We recommend setting up CodeRabbit in this project (it's free for all OSS projects) and seeing AI-powered ast-grep in action!
ast-grep is powering review comments such as these - https://github.com/openreplay/openreplay/pull/1775#discussion_r1425480406

Hi @harjotgill I have enabled code rabbit but I didn't see any review coming in?
This is my dashboard. CR is detecting new pull requests and shows there are 2 reviews.

But I didn't see comment in the pull request.
https://github.com/ast-grep/ast-grep/pull/781

Also, if you don't mind adding your logo in https://github.com/ast-grep/ast-grep/issues/373, I will add a link to CodeRabbit in ast-grep's home page :)

@HerringtonDarkholme  -
Thanks for installing CodeRabbit.
These file types are filtered out by default. However , you can change the filter pattern via the UI( under repositoiry settings) or by adding a yaml - https://coderabbit.ai/docs/get-started/customize-coderabbit.
We will make a change to post a PR comment when the review is skipped because of the file path pattern.

Wow, it works like a charm. Thanks!

Wow, it works like a charm. Thanks!

Try chatting with the bot. Ask it anything about the codebase and it will generate ast-grep patterns :)

@harjotgill CodeRabbit has amazing output! Thought chains + script execution makes me feel it understands my code. Great job!

https://ast-grep.github.io/
Added via https://github.com/ast-grep/ast-grep.github.io/commit/5ff1eb81ae4998672bf775d7348ab8d5401641f8

Appreciate it. Also, thank you for the shout-out on X.


Update Add-SPDistributedCacheServiceInstance.md

add text which was lost during migration

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Add-SPDistributedCacheServiceInstance.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Setup Kanban board

[x] Create an empty repository for our group project.
[x] Follow the steps described in curriculum-tools-copy-projects in  order to copy the [TEMPLATE] React Group Project board.
[x] Open the GitHub project (Kanban board) in your our  repo.
[x] We have this categories: Setup, Fetch data, Lists render, Actions, Conditional components, Filters in kanban board
[x] We are  two people - @fatima-najafi , @Wineshuga
[x]  All cards on our Kanban board have assignees.
[x] Project link Kanban board

STATUS: APPROVED ✔ ✔
Hi @fatima-najafi and @Wineshuga,
✔ Tasks are complete  and well-assigned
Your project is complete!  There is nothing else to say other than... it's time to go ahead with the project :shipit:
Congratulations! 🎉
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the Issue thread if something is not 100% clear. And please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Split services into different go modules?

https://github.com/golang/go/wiki/Modules#faqs--multi-module-repositories

However, for both of those cases, if you are considering creating a multi-module repository for performance or download size for a large set of indirect dependencies, you are strongly encouraged to first try with a GOPROXY, which will be enabled by default in Go 1.13. Using a GOPROXY mostly equals any performance benefits or dependency download size benefits that might otherwise come from creating a multi-module repository.


Update star fusion detect to keep the "preliminary" fusion calls

STAR-fusion should produce a list of preliminary candidate that might be helpful to mine at times:
It should be stored here in the output results:
star_fusion_outdir/star-fusion.preliminary/star-fusion.fusion_candidates.preliminary

After doing some test runs and examining the results I think we should could consider saving different versions of the preliminary candidates:
Its very hard to understand sensitivity issues without these files.  They are not huge and regenerating them after they are gone is very computationally expensive.
e.g.

star-fusion.preliminary/star-fusion.fusion_candidates.preliminary
star-fusion.preliminary/star-fusion.filter.intermediates_dir/star-fusion.post_blast_and_promiscuity_filter
star-fusion.fusion_candidates.preliminary.filtered.FFPM
star-fusion.fusion_candidates.preliminary.wSpliceInfo.wAnnot
star-fusion.fusion_candidates.preliminary.wSpliceInfo.wAnnot.annot_filter.pass
star-fusion.fusion_candidates.preliminary.wSpliceInfo.wAnnot.annot_filter.pass.RTartifact.pass
star-fusion.fusion_candidates.preliminary.wSpliceInfo.wAnnot.annot_filter.pass.RTartifact.pass.minFFPM.0.1.pass

We should also store these final log files that contain useful history of how the run was done and statistics on the outcome:

Log.out
Log.final.out

We need to check if altering the FFPM filter value changes the name of that one file above?  We may want to reset this parameter but then it will complicate capturing this file as the file name will change.

I have confirmed that one of those files above changes names based on the --min_FFPM value you supply to star-fusion.
I updated to --min_FFPM=0.025 and the file name changed to:
star-fusion.fusion_candidates.preliminary.wSpliceInfo.wAnnot.annot_filter.pass.RTartifact.pass.minFFPM.0.025.pass

It seems like maybe the log files are already being saved here:
https://github.com/griffithlab/analysis-wdls/blob/main/definitions/tools/star_fusion_detect.wdl
But just not getting saved in the final immuno.wdl results perhaps?


Use hugo deploy or s3deploy for S3 deployment

Currently, deployments are done via aws s3 cp from the public folder which overwrites all files in the bucket even if they were no changes.
hugo deploy or s3deploy both address this issue by only uploading or removing the necessary files.

Resolved by 22f624a9cc11f864cfb165873245b489be80079d
Implemented hugo deploy


[DOC] DCO process

What kind of documentation improvement is needed?
Other
What is the change that is needed?
documentation similar to
https://open-policy-agent.github.io/gatekeeper/website/docs/help/#developer-certification-of-origin-dco

looks like this is already there https://project-copacetic.github.io/copacetic/website/contributing#i-didnt-sign-my-commit-now-what


3.2

Downloading

This was probably fired by mistake @RAKESHSHAH1977 ?
We didn't release anything from master yet.
Are you using JBoss VFS upstream?
Anyway there are merge conflicts that prevents it from being processed.


base target is not kept

<base target="_blank"/>
I think https://github.com/Polymer/vulcanize/issues/94 caused vulcanize to drop the base tag altogether even if it has a target attr.  It should keep the base tag with just the target attr if the target attr is present.

I didn't even know about <base target>!

This also breaks angular html5 mode.
https://docs.angularjs.org/error/$location/nobase
There is also some confusion about using something like
<base href="/'>
<link rel="manifest" href="manifest.json">

I'm not sure but I think Vulcanize seems to take everything from the root of the system. I end up with a link like this and nothing concatenated.
<link rel="manifest" href="../../../../../../.index.html/manifest.json">

With a folder structure like:
/foo
   /index.html
/bar
   /my-element.html

URL in the address bar is /foo/index.html
index.html specifies:

<base href="/foo/" target="_blank">
<link rel="import" href="../bar/my-element.html">

This works fine in Chrome/Firefox/Safari without vulcanization, but breaks during vulcanization with: Error: ENOENT, open '/foo/bar/my-element.html'
The reason for doing this in my case is that I want any path beginning with /foo/ (e.g. /foo/users/1/profile) to serve up index.html, and I then use page.js without hashbang to treat users/1/profile as a route in my SPA. Without the <base> tag, the actual base will vary with whatever the path is when index.html is served up.
Worth noting that the href attribute in <base> must be absolute - so the href in the original post is not technically valid as far as I read it.


Unexpected token c in JSON at position 0

Randomly occurs after some time when starting the bot (in this case it took a few hours/days)
Probably some error handling is required in general
FetchError: invalid json response body at https://api.twitch.tv/helix/streams?user_login=<username>&user_login=<other username>&… reason: Unexpected token c in JSON at position 0
    at /home/trojaner/Code/Web/TrojanerBot/node_modules/node-fetch/lib/index.js:272:32
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:93:5) {
  type: 'invalid-json'
}

/home/trojaner/Code/Web/TrojanerBot/node_modules/node-fetch/lib/index.js:272
                                return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));
                                                           ^
FetchError: invalid json response body at https://api.twitch.tv/helix/games? reason: Unexpected token c in JSON at position 0
    at /home/trojaner/Code/Web/TrojanerBot/node_modules/node-fetch/lib/index.js:272:32
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:93:5) {
  type: 'invalid-json'
}

This is difficult to fix since this error occurs rarely. I will continue to monitor the bug

This is difficult to fix since this error occurs rarely. I will continue to monitor the bug

Also https://github.com/TrojanerHD/TrojanerBot/commit/0f04d3ae04f0f216f3d1b2c72b9d97db3d3e4fd7 was created so the log is more verbose on branch unstable

Also https://github.com/TrojanerHD/TrojanerBot/commit/0f04d3ae04f0f216f3d1b2c72b9d97db3d3e4fd7 was created so the log is more verbose on branch unstable

Since now, this bug never occurred again. It is considered fixed until it should show up again


Add sex check

PR checklist

[x] Added sex check from bam file ngsbits sample gender
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[ ] If necessary, also make a PR on the nf-core/raredisease branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
[ ] Ensure the test suite passes (nextflow run . -profile test_one_sample,docker --outdir <OUTDIR>).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

I am currently running with the full data set to see if it works, as the test one does not contain chrX and chrysalis


W&B process failed to launch, see: wandb/debug.log

Wandb version: 0.8.1, Python 3.6, Amazon DLAMI 23 environment, local-only mode (no API key set, using local wandb logging)
Wandb is crashing with following message:

ec2-user@ip-172-31-6-116 ~]$ { python nccl_multiversion.py --internal_role=worker --internal_cmd='/home/ec2-user/anaconda3/bin/mpirun  -n 16 -N 8 -x FI_PROVIDER="efa" -x FI_OFI_RXR_RX_COPY_UNEXP=1 -x FI_OFI_RXR_RX_COPY_OOO=1 -x FI_EFA_MR_CACHE_ENABLE=1 -x FI_OFI_RXR_INLINE_MR_ENABLE=1 -x LD_LIBRARY_PATH=/home/ec2-user/nccl/nccl-2.4.6/aws-ofi-nccl/install/lib/:/home/ec2-user/nccl/nccl-2.4.6/nccl/build/lib:/usr/local/cuda-10.0/lib64:/opt/amazon/efa/lib64:/home/ec2-user/anaconda3/lib:$LD_LIBRARY_PATH -x NCCL_DEBUG=INFO -x NCCL_TREE_THRESHOLD=0 --host <IP_ADDRESS>,<IP_ADDRESS> --mca btl tcp,self --mca btl_tcp_if_exclude lo,docker0 --bind-to none --oversubscribe /home/ec2-user/nccl/nccl-2.4.6/nccl-tests/build/all_reduce_perf -b 8 -e 1024M -f 2 -g 1 -c 1 ' --internal_info=80037D7100285809000000435544415F484F4D45710158140000002F7573722F6C6F63616C2F637564612D31302E30710258080000004D50495F484F4D45710358180000002F686F6D652F6563322D757365722F616E61636F6E646133710458080000004E554D5F4750555371054B1058090000004E5045525F4E4F444571064B08580700000053495A455F4D4271074D00045806000000646F5F65666171084B0158090000006F66695F706174636871098958100000004E43434C5F56455253494F4E5F544147710A5805000000322E342E36710B580B000000464F4C4445525F524F4F54710C581E0000002F686F6D652F6563322D757365722F6E63636C2F6E63636C2D322E342E36710D58090000004E43434C5F484F4D45710E58290000002F686F6D652F6563322D757365722F6E63636C2F6E63636C2D322E342E362F6E63636C2F6275696C64710F58080000004546415F484F4D457110580F0000002F6F70742F616D617A6F6E2F6566617111752E; } > >(tee -a /tmp/ncluster/0.nccl_multiversion-kyezc/8.out) 2> >(tee -a /tmp/ncluster/0.nccl_multiversion-kyezc/8.out >&2); echo $? > /tmp/ncluster/0.nccl_multiversion-kyezc/8.status
wandb: W&B is a tool that helps track and visualize machine learning experiments
wandb: No credentials found.  Run "wandb login" to visualize your metrics
wandb: Started W&B process version 0.8.1 with PID 26257
wandb: ERROR W&B process (PID 26257) did not respond
wandb: ERROR Failed to kill wandb process, PID 26257
wandb: ERROR W&B process failed to launch, see: wandb/debug.log
Traceback (most recent call last):
  File "nccl_multiversion.py", line 281, in <module>
    main()
  File "nccl_multiversion.py", line 275, in main
    worker()
  File "nccl_multiversion.py", line 251, in worker
    wandb.init(project='nccl_multiversion', name=name)
  File "/home/ec2-user/anaconda3/lib/python3.6/site-packages/wandb/__init__.py", line 776, in init
    _init_headless(run, False)
  File "/home/ec2-user/anaconda3/lib/python3.6/site-packages/wandb/__init__.py", line 248, in _init_headless
    "W&B process failed to launch, see: {}".format(path))
wandb.run_manager.LaunchError: W&B process failed to launch, see: wandb/debug.log

Here's the debug log
2019-06-05 15:23:49,504 DEBUG   MainThread:2899 [wandb_config.py:_load_defaults():81] no defaults not found in config-defaults.yaml
2019-06-05 15:23:49,513 DEBUG   MainThread:2899 [cmd.py:execute():722] Popen(['git', 'cat-file', '--batch-check'], cwd=/Users/yaroslavvb/Dropbox/git0/aws-network-benchmarks, universal_newlines=False, shell=None)
2019-06-05 15:23:49,529 DEBUG   MainThread:2899 [cmd.py:execute():722] Popen(['git', 'rev-parse', '--show-toplevel'], cwd=/Users/yaroslavvb/Dropbox/git0/aws-network-benchmarks, universal_newlines=False, shell=None)
2019-06-05 15:23:49,560 DEBUG   MainThread:2899 [run_manager.py:__init__():452] Initialized sync for nccl_multiversion/7t5zzgq4
2019-06-05 15:23:49,566 INFO    MainThread:2899 [run_manager.py:wrap_existing_process():994] wrapping existing process 2848
2019-06-05 15:23:49,566 WARNING MainThread:2899 [io_wrap.py:register():104] SIGWINCH handler was not None: <Handlers.SIG_DFL: 0>
2019-06-05 15:23:49,571 DEBUG   MainThread:2899 [connectionpool.py:_new_conn():813] Starting new HTTPS connection (1): pypi.org:443
2019-06-05 15:23:49,739 DEBUG   MainThread:2899 [connectionpool.py:_make_request():393] https://pypi.org:443 "GET /pypi/wandb/json HTTP/1.1" 200 31736
2019-06-05 15:23:49,776 INFO    MainThread:2899 [run_manager.py:init_run():810] system metrics and metadata threads started
2019-06-05 15:23:49,776 INFO    MainThread:2899 [run_manager.py:init_run():844] upserting run before process can begin, waiting at most 10 seconds
2019-06-05 15:23:49,786 DEBUG   Thread-13 :2899 [connectionpool.py:_new_conn():813] Starting new HTTPS connection (1): api.wandb.ai:443
2019-06-05 15:23:49,977 DEBUG   Thread-13 :2899 [connectionpool.py:_make_request():393] https://api.wandb.ai:443 "POST /graphql HTTP/1.1" 200 408
2019-06-05 15:23:49,979 INFO    Thread-13 :2899 [run_manager.py:_upsert_run():908] saving patches
2019-06-05 15:23:49,980 DEBUG   Thread-13 :2899 [cmd.py:execute():722] Popen(['git', 'rev-parse', '--show-toplevel'], cwd=/Users/yaroslavvb/Dropbox/git0/aws-network-benchmarks, universal_newlines=False, shell=None)
2019-06-05 15:23:49,994 DEBUG   Thread-13 :2899 [cmd.py:execute():722] Popen(['git', 'diff', '--cached', '--abbrev=40', '--full-index', '--raw'], cwd=/Users/yaroslavvb/Dropbox/git0/aws-network-benchmarks, universal_newlines=False, shell=None)
2019-06-05 15:23:50,012 DEBUG   Thread-13 :2899 [cmd.py:execute():722] Popen(['git', 'diff', '--abbrev=40', '--full-index', '--raw'], cwd=/Users/yaroslavvb/Dropbox/git0/aws-network-benchmarks, universal_newlines=False, shell=None)
2019-06-05 15:23:50,030 DEBUG   Thread-13 :2899 [cmd.py:execute():722] Popen(['git', 'version'], cwd=/Users/yaroslavvb/Dropbox/git0/aws-network-benchmarks, universal_newlines=False, shell=None)
2019-06-05 15:23:50,073 DEBUG   Thread-13 :2899 [cmd.py:execute():722] Popen(['git', 'merge-base', 'HEAD', '567306fda7365c06b3a049f3e4ff3f7c252e84e7'], cwd=/Users/yaroslavvb/Dropbox/git0/aws-network-benchmarks, universal_newlines=False, shell=None)
2019-06-05 15:23:50,091 INFO    Thread-13 :2899 [run_manager.py:_upsert_run():910] saving pip packages
2019-06-05 15:23:50,093 INFO    Thread-13 :2899 [run_manager.py:_upsert_run():912] initializing streaming files api
2019-06-05 15:23:50,094 INFO    Thread-13 :2899 [run_manager.py:_upsert_run():919] unblocking file change observer, beginning sync with W&B servers
2019-06-05 15:23:50,094 INFO    MainThread:2899 [run_manager.py:wrap_existing_process():1011] informing user process we are ready to proceed
2019-06-05 15:23:50,095 INFO    MainThread:2899 [run_manager.py:_sync_etc():1067] entering loop for messages from user process
2019-06-05 15:23:50,103 INFO    MainThread:2899 [run_manager.py:_sync_etc():1090] received message from user process: {"exitcode": 1}
2019-06-05 15:23:50,104 INFO    MainThread:2899 [run_manager.py:_sync_etc():1171] closing log streams and sending exitcode to W&B
2019-06-05 15:23:50,104 INFO    MainThread:2899 [run_manager.py:shutdown():926] shutting down system stats and metadata service
2019-06-05 15:23:50,511 INFO    Thread-2  :2899 [run_manager.py:_on_file_created():576] file/dir created: /Users/yaroslavvb/Dropbox/git0/aws-network-benchmarks/wandb/run-20190605_222348-7t5zzgq4/wandb-metadata.json
2019-06-05 15:23:50,512 INFO    Thread-2  :2899 [run_manager.py:_on_file_created():576] file/dir created: /Users/yaroslavvb/Dropbox/git0/aws-network-benchmarks/wandb/run-20190605_222348-7t5zzgq4/diff.patch
2019-06-05 15:23:50,513 INFO    Thread-2  :2899 [run_manager.py:_on_file_created():576] file/dir created: /Users/yaroslavvb/Dropbox/git0/aws-network-benchmarks/wandb/run-20190605_222348-7t5zzgq4/wandb-events.jsonl
2019-06-05 15:23:50,513 INFO    Thread-2  :2899 [run_manager.py:_on_file_created():576] file/dir created: /Users/yaroslavvb/Dropbox/git0/aws-network-benchmarks/wandb/run-20190605_222348-7t5zzgq4/requirements.txt
2019-06-05 15:23:50,514 INFO    Thread-2  :2899 [run_manager.py:_on_file_created():576] file/dir created: /Users/yaroslavvb/Dropbox/git0/aws-network-benchmarks/wandb/run-20190605_222348-7t5zzgq4/wandb-history.jsonl
2019-06-05 15:23:50,778 INFO    MainThread:2899 [run_manager.py:shutdown():931] stopping streaming files and file change observer
2019-06-05 15:23:51,511 INFO    Thread-2  :2899 [run_manager.py:_on_file_modified():587] file/dir modified: /Users/yaroslavvb/Dropbox/git0/aws-network-benchmarks/wandb/run-20190605_222348-7t5zzgq4/wandb-metadata.json
2019-06-05 15:23:51,521 DEBUG   Thread-17 :2899 [connectionpool.py:_new_conn():813] Starting new HTTPS connection (1): api.wandb.ai:443
2019-06-05 15:23:51,521 DEBUG   Thread-16 :2899 [connectionpool.py:_new_conn():813] Starting new HTTPS connection (1): api.wandb.ai:443
2019-06-05 15:23:51,525 DEBUG   Thread-18 :2899 [connectionpool.py:_new_conn():813] Starting new HTTPS connection (1): api.wandb.ai:443
2019-06-05 15:23:51,705 DEBUG   Thread-17 :2899 [connectionpool.py:_make_request():393] https://api.wandb.ai:443 "POST /graphql HTTP/1.1" 200 772
2019-06-05 15:23:51,710 DEBUG   Thread-17 :2899 [connectionpool.py:_new_conn():813] Starting new HTTPS connection (1): storage.googleapis.com:443
2019-06-05 15:23:51,711 DEBUG   Thread-16 :2899 [connectionpool.py:_make_request():393] https://api.wandb.ai:443 "POST /graphql HTTP/1.1" 200 806
2019-06-05 15:23:51,715 DEBUG   Thread-16 :2899 [connectionpool.py:_new_conn():813] Starting new HTTPS connection (1): storage.googleapis.com:443
2019-06-05 15:23:51,717 DEBUG   Thread-18 :2899 [connectionpool.py:_make_request():393] https://api.wandb.ai:443 "POST /graphql HTTP/1.1" 200 780
2019-06-05 15:23:51,721 DEBUG   Thread-18 :2899 [connectionpool.py:_new_conn():813] Starting new HTTPS connection (1): storage.googleapis.com:443
2019-06-05 15:23:52,099 DEBUG   Thread-16 :2899 [connectionpool.py:_make_request():393] https://storage.googleapis.com:443 "PUT /wandb-production.appspot.com/yaroslavvb/nccl_multiversion/7t5zzgq4/wandb-metadata.json?Expires=1559773491&GoogleAccessId=gorilla-cloud-storage%40wandb-production.iam.gserviceaccount.com&Signature=YcBz%2F5Si%2BE9T1pJ%2FpLum5DWlaz7l79gtgck7nEaJ2bGpGTPinplW5BLyi%2BNdVLwClNk4I7DLxaaZz363D0mgeSbJb3FFGDNC%2B6Ci4f4tihQrBptXbIm3%2FDnyPazYRacJ5PcanJf6GsWoH7aEPnNsHyFm%2FJy%2FprivF8eG3R0AMnTh%2FfsywV9CLuhLnUKcwnjvcdn3Q%2BslC%2FhuK64ADvUb3R97lCy%2FdUFT2rfhDhY7vnSch6M3AFZT%2FRlvFjcgWJP2gEg%2Fhm1f7iPRW16FKpYjbTXx3MW4vdLaM%2FkD19%2BrU7lFW69bU7X3%2F1nfb4u4%2FPeW6mBjfnJLiMA6i7Et2QeKoQ%3D%3D HTTP/1.1" 200 0
2019-06-05 15:23:52,099 DEBUG   Thread-18 :2899 [connectionpool.py:_make_request():393] https://storage.googleapis.com:443 "PUT /wandb-production.appspot.com/yaroslavvb/nccl_multiversion/7t5zzgq4/requirements.txt?Expires=1559773491&GoogleAccessId=gorilla-cloud-storage%40wandb-production.iam.gserviceaccount.com&Signature=esIUFRofyDV8K4R%2FeRqfVtBLRyWysT9QvfM6nbIDMHT%2FtPaiminOAN4Xow6Be34NRhGleW2KdJjzQIyHp%2Fpsn59T8Kcfo1vjsJzVNxKgQuFQxc9sgf3yB%2B2Hoa76AfZpM9jeAkBsWXO3Td7QEF03BTUAjVkpFEIGxIGYYOwANiT3MiCZVWiWkBXdz%2BwYcmjaBQ3imTfxN2Btm0qL9%2F6vP5WiMF8CrBzK16eToecPRSK8PNFHpedzDvJjCKThVfhxlxNyHgKjPXjgTHlgBOqi9nHeUeeonnyMj2BvCYNigObfJLZIEPmuKFxk%2FYawUm8KFHDhEQflMcYjg6sSLo%2BBVw%3D%3D HTTP/1.1" 200 0
2019-06-05 15:23:52,101 DEBUG   Thread-17 :2899 [connectionpool.py:_make_request():393] https://storage.googleapis.com:443 "PUT /wandb-production.appspot.com/yaroslavvb/nccl_multiversion/7t5zzgq4/diff.patch?Expires=1559773491&GoogleAccessId=gorilla-cloud-storage%40wandb-production.iam.gserviceaccount.com&Signature=ZuTl9J8ajP8P712VQCIv%2BQPGYBgQZnE6PoumJE4W8FFJGsLfsRL%2F8t3o7I8zqDuHvK1TM0sOBnBm7o6w7cV3nrkxTkAMtLc%2Be7KdvSB78UjJHtChBkKCp4Y1BZTzJS0%2BvN%2BqSPC9M%2BBGDon02SmQ0hkmXhEO3vWCRzvDmzXFrbRlETzT9uKncU8Wgv4iXFz5H%2FTIHz5YpG5eX2yo54VgBQlKt9gg680f58bdOQV1XEYYGlX7CI0Ay0olLSBOZaKzSCWLZ0RoIVwG%2FxlqVzqZ9AKVtDfcaBmBL6EJBsu92vSRPEVGs08S9TbU%2BYv24gxzxhERquUymy30QB5wu%2Fqa2A%3D%3D HTTP/1.1" 200 0
2019-06-05 15:23:52,519 DEBUG   Thread-6  :2899 [connectionpool.py:_new_conn():813] Starting new HTTPS connection (1): api.wandb.ai:443
2019-06-05 15:23:52,718 DEBUG   Thread-6  :2899 [connectionpool.py:_make_request():393] https://api.wandb.ai:443 "POST /yaroslavvb/nccl_multiversion/7t5zzgq4/file_stream HTTP/1.1" 200 311
2019-06-05 15:23:52,804 DEBUG   Thread-6  :2899 [connectionpool.py:_make_request():393] https://api.wandb.ai:443 "POST /yaroslavvb/nccl_multiversion/7t5zzgq4/file_stream HTTP/1.1" 200 308
2019-06-05 15:23:52,805 INFO    MainThread:2899 [run_manager.py:_sync_etc():1182] process only ran for 4 seconds, not syncing files
2019-06-05 15:23:52,805 INFO    MainThread:2899 [7t5zzgq4:run_manager.py:_sync_etc():1182] process only ran for 4 seconds, not syncing files

Haven't see this since, will reopen if I see anything that could be used to debug this

I have the same issue with wandb version 0.8.6, python 3.6.9, Amazon DLAMI 23 environment.
I've tried create new conda environment and register new W&B account: everything is the same.
Here's wandb.debug.log
2019-08-02 16:07:23,736 DEBUG   MainThread:2041 [wandb_config.py:_load_defaults():84] no defaults not found in config-defaults.yaml 2019-08-02 16:07:23,737 DEBUG   MainThread:2041 [cmd.py:execute():722] Popen(['git', 'rev-parse', '--show-toplevel'], cwd=/home/ubuntu, universal_newlines=False, shell=None, istream=None) 2019-08-02 16:07:23,741 DEBUG   MainThread:2041 [cmd.py:execute():722] Popen(['git', 'rev-parse', '--show-toplevel'], cwd=/home/ubuntu, universal_newlines=False, shell=None, istream=None) 2019-08-02 16:07:23,771 DEBUG   MainThread:2041 [cmd.py:execute():722] Popen(['git', 'cat-file', '--batch-check'], cwd=/home/ubuntu, universal_newlines=False, shell=None, istream=<valid stream>) 2019-08-02 16:07:23,784 DEBUG   MainThread:2041 [cmd.py:execute():722] Popen(['git', 'rev-parse', '--show-toplevel'], cwd=/home/ubuntu, universal_newlines=False, shell=None, istream=None) 2019-08-02 16:07:23,788 DEBUG   MainThread:2041 [cmd.py:execute():722] Popen(['git', 'status', '--porcelain', '--untracked-files'], cwd=/home/ubuntu, universal_newlines=False, shell=None, istream=None)

Are you seeing a stacktrace in your terminal?  It looks like your process is dieing after 4 seconds.

FYI I am consistently seeing the same error in a distributed setting whenever I'm trying to set the id like this:
wandb.init(project="test",
               job_type='master' if rank == 0 else 'worker',
               group=args.experiment_name,
               config=args,
               id=args.run_name
               )

If I comment out the id=args.run_name, it works fine but then there's a separate id for each process. I'm running this on a (custom) docker container in Azure ML, so not easy to debug unfortunately...

The id you set has to be unique across a given project.  If you just want
to change the display name you can set name=args.run_name
On Tue, Aug 13, 2019 at 5:14 AM Heikki Arponen<EMAIL_ADDRESS>wrote:

FYI I am consistently seeing the same error in a distributed setting
whenever I'm trying to set the id like this:
wandb.init(project="test",
job_type='master' if rank == 0 else 'worker',
group=args.experiment_name,
config=args,
id=args.run_name
)
If I comment out the id=args.run_name, it works fine but then there's a
separate id for each process. I'm running this on a (custom) docker
container in Azure ML, so not easy to debug unfortunately...
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/wandb/client/issues/366?email_source=notifications&email_token=AAAAAEKQPWFEKPEEMEMYQZ3QEKQTLA5CNFSM4HVYQLIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4FO2KI#issuecomment-520809769,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAAAELJTFGQZFQZR54DEA3QEKQTLANCNFSM4HVYQLIA
.

yeah I know, I'm using a unique id... I don't think the errors are related to that?

@harpone That init call looks like you are reusing id between workers (typically need to  incorporate $RANK to make it unique). IMHO it's better to not touch the ID and instead only set run_name (logging from chief process only) or group_name (logging from all processes) . Here's how I'm setting it
https://github.com/cybertronai/imagenet18/blob/218ef7e63894c8a107eb764f27d7cd27309e960d/training/train_imagenet_nv.py#L110

Ah OK thanks @yaroslavvb, that clears it up a lot!

I'm getting this error now.
Any updates?

Are you using 0.8.25. what Os/environment?
Windows? Jupyter notebook?

For me it was the connection issue. Thanks

Experienced this issue w/ wandb==0.8.13 (was running seven experiments on GCP), fixed after upgrading to version 0.8.25.

I'm facing the same issue on version 0.8.35.
WandB works fine in jupyter. But I get this error message when I am running the same program in anaconda powershell with the same virtual environment where jupyter was working.
debug.log

Here is the traceback:
2020-05-11 18:56:36.684344: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library cudart64_101.dll wandb: Tracking run with wandb version 0.8.35 Traceback (most recent call last):   File "D:\anaconda3\envs\beat2\lib\site-packages\wandb\internal_cli.py", line 106, in <module>     main()   File "C:\anaconda3\envs\beat2\lib\site-packages\wandb\internal_cli.py", line 98, in main     headless(args)   File "C:\anaconda3\envs\beat2\lib\site-packages\wandb\internal_cli.py", line 54, in headless     util.sentry_reraise(e)   File "C:\anaconda3\envs\beat2\lib\site-packages\wandb\util.py", line 94, in sentry_reraise     six.reraise(type(exc), exc, sys.exc_info()[2])   File "C:\anaconda3\envs\beat2\lib\site-packages\six.py", line 696, in reraise     raise value   File "C:\anaconda3\envs\beat2\lib\site-packages\wandb\internal_cli.py", line 52, in headless     user_process_pid, stdout_master_fd, stderr_master_fd)   File "C:\anaconda3\envs\beat2\lib\site-packages\wandb\run_manager.py", line 1141, in wrap_existing_process     stderr_read_file = os.fdopen(stderr_read_fd, 'rb')   File "C:\anaconda3\envs\beat2\lib\os.py", line 1027, in fdopen     return io.open(fd, *args, **kwargs) OSError: [WinError 6] The handle is invalid wandb: ERROR W&B process (PID 13988) did not respond wandb: ERROR W&B process failed to launch, see: wandb\debug.log Traceback (most recent call last):   File "attempt.py", line 48, in <module>     wandb.init(project="test", name=test_name, anonymous='allow', reinit= True)   File "C:\anaconda3\envs\beat2\lib\site-packages\wandb\__init__.py", line 1107, in init     _init_headless(run)   File "C:\anaconda3\envs\beat2\lib\site-packages\wandb\__init__.py", line 306, in _init_headless     "W&B process failed to launch, see: {}".format(path)) wandb.run_manager.LaunchError: W&B process failed to launch, see: wandb\debug.log

As for @AdvancingMind I was only able to replicate through Anaconda Prompt.
It can also be bypassed through jupyter notebook
I suspect the issue to stem from how A-prompt handles http requests.

I've the same issue as @AdvancingMind with Windows, through Anaconda prompt, the wandb version==0.9.1, It did work earlier but on a different CNN model and now it gives this error.
wandb: Tracking run with wandb version 0.9.1

Traceback (most recent call last):
  File "C:\Users\hosna\anaconda3\lib\site-packages\wandb\internal_cli.py", line 106, in <module>
    main()
  File "C:\Users\hosna\anaconda3\lib\site-packages\wandb\internal_cli.py", line 98, in main
    headless(args)
  File "C:\Users\hosna\anaconda3\lib\site-packages\wandb\internal_cli.py", line 54, in headless
    util.sentry_reraise(e)
  File "C:\Users\hosna\anaconda3\lib\site-packages\wandb\util.py", line 94, in sentry_reraise
    six.reraise(type(exc), exc, sys.exc_info()[2])
  File "C:\Users\hosna\anaconda3\lib\site-packages\six.py", line 703, in reraise
    raise value
  File "C:\Users\hosna\anaconda3\lib\site-packages\wandb\internal_cli.py", line 52, in headless
    user_process_pid, stdout_master_fd, stderr_master_fd)
  File "C:\Users\hosna\anaconda3\lib\site-packages\wandb\run_manager.py", line 1140, in wrap_existing_process
    stderr_read_file = os.fdopen(stderr_read_fd, 'rb')
  File "C:\Users\hosna\anaconda3\lib\os.py", line 1029, in fdopen
    return io.open(fd, *args, **kwargs)
OSError: [WinError 6] The handle is invalid
wandb: ERROR W&B process (PID 13876) did not respond
wandb: ERROR W&B process failed to launch, see: wandb\debug.log
Traceback (most recent call last):
  File "eff.py", line 37, in <module>
    wandb.init(config=hyperparameter_defaults, project="realvsfake")
  File "C:\Users\hosna\anaconda3\lib\site-packages\wandb\__init__.py", line 1125, in init
    _init_headless(run)
  File "C:\Users\hosna\anaconda3\lib\site-packages\wandb\__init__.py", line 312, in _init_headless
    "W&B process failed to launch, see: {}".format(path))
wandb.run_manager.LaunchError: W&B process failed to launch, see: wandb\debug.log

For anyone hitting this error on windows.  Try our new Windows optimized version at: https://github.com/wandb/client-ng You can use it by running pip install wandb-ng

Oh!! thanks a lot, it works now after installing this version and without changing anything in my code. Thanks!

For anyone hitting this error on windows. Try our new Windows optimized version at: https://github.com/wandb/client-ng You can use it by running pip install wandb-ng

I was having the same issue with code that ran perfectly on Google Colab and Mac, but failed on Windows. Chris's suggestion fixed it for me. However, this version of wandb complains when specifying save dir location, or resuming parameter:
[WARNING] currently unsupported wandb.init() arg: dir
[WARNING] currently unsupported wandb.init() arg: resume
I can live without the latter, but the former is a more significant downgrade from the main wandb module. Not being able to specify a custom save location is very disruptive.

Hey @vukovicnikola does the problem still persist with the latest release of wandb ie. wandb, version 0.10.11
Due to the fact that this issue has gone stale, it would be great to know more about it and try to come up with a fix as soon as possible. :smile:
CC: @cvphelps


Old logo needs replacing

https://github.com/apache/www-site/blob/b738c046793c5120b144d38bdfc9e5b84dfd8b6b/content/foundation/donated_fb.md#L6

This may also be an obsolete page.

if you need some help then you can without heistating ask me i am always there to help you
Thanks & Regards
Deepak  Yadav

@sebbASF   can I work on this issue?

Closing this issue as it's been resolved here: https://github.com/apache/www-site/pull/157


[1.10.2 6.0.BETA3] Lamp of Growth/Warded Jar interaction errors

TESTING: When using a Lamp of Growth (LoG) with any piping with or without herba it functions as it should - working with the herba and not when without. When placing a LoG on top of a jar of herba it will use the herba as expected. Placing a LoG on an empty jar will work as expected - not at all.
ISSUE: When placing a LoG on top of an empty jar nothing happens, I click to fill the jar with herba with phials of herba and it fills and starts being used by the LoG but the lamp - while looking like it's working -
actually does nothing but use up the herba.
ISSUE#2: Stacking 2 LoG on top of each other will light them up like they are on but not work.

Did several tests and everything seems to work for me - you could have been getting bad RNG - the lamp will try to growrandom blocks near it.


Please add support for SQL formatting

Please add support for SQL formatting!

That would be a nice parity with the original DevToys. Here is our implementation for it: https://github.com/veler/DevToys/tree/main/src/dev/impl/DevToys/Helpers/SqlFormatter

@xtuer @veler Thank you for your issue and implementation!
I'll implement SQL formatter in the next update!


Differentiating Serializer Attributes Based on Controller Action

Hello,
I'm trying to use Oj::Serializer for serializing objects in my Rails application, and I'm facing an issue that I would like some guidance on.
Assume I have a Player model, and I would like to return different serialized attributes based on the controller action. More specifically, for the index action, I want to render only the first_name and last_name attributes, whereas for the show action, I also want to include the associated album object.
Currently, my serializer is defined like this:
class PlayerSerializer < Oj::Serializer
  attributes :first_name, :last_name
  has_one :album, serializer: AlbumSerializer
end

I was thinking of creating separate serializers for each action (i.e., PlayerIndexSerializer and PlayerShowSerializer), but It's really not what I want.
Thank you in advance for your help.

I found my answer in a discussion thread https://github.com/ElMassimo/oj_serializers/discussions/10#discussioncomment-5523921


[Fab] Floating action button broken in demo

FAB in documentation size demo has broken ripple effect.
https://next.material-ui.com/components/floating-action-button/#size

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Demo for v5 ripple effect broken for size example
Expected Behavior 🤔
Demo for v4
https://material-ui.com/components/floating-action-button/#floating-action-button

Steps to Reproduce 🕹
Open chrome
https://next.material-ui.com/components/floating-action-button/#size
Steps:

Open chrome
Open https://next.material-ui.com/components/floating-action-button/#size
Try to click or focus on FAB
Ripple effect is broken

Context 🔦
It would great to have working example on documentation page. I saw this couple releases ago and this issue persist, so I am raising it now.

@oliviertassinari fixed in new PR.

@rajzik Create thanks, I did the other end of the bargain: https://github.com/mui-org/material-ui/issues/28035.


Fix broken link for Threshold signatures documentation

Fix broken link for Threshold signatures documentation
This pull request corrects a broken link in the documentation for Threshold signatures by removing an double forward slash ("//") from the link URL.
Changes made:

Removed double "/" from the Threshold signatures documentation link
The corrected link now properly redirects to the intended documentation page

Before: /docs/current/references/t-ecdsa-how-it-works//
After:  /docs/current/references/t-ecdsa-how-it-works
This fix ensures that users can access the correct Threshold signatures documentation without encountering a redirect error.
Contribution Checklist:

[x] Follows the developer docs style guide.
[x] Follows the best practices and guidelines.
[ ] New documentation pages include document tags. (N/A - no new pages added)
[ ] New documentation pages include SEO keywords. (N/A - no new pages added)
[ ] New documents are in the .mdx file format to support the previous two components. (N/A - no new documents added)
[ ] New documents are registered in /sidebars.js. (N/A - no new documents added)
[ ] .github/CODEOWNERS file is updated with new documents. (N/A - no new documents added)

Dear @karangoraniya,
In order to potentially merge your code in this open-source repository and therefore proceed with your contribution, we need to have your approval on DFINITY's CLA.
If you decide to agree with it, please visit this issue and read the instructions there. Once you have signed it, re-trigger the workflow on this PR to see if your code can be merged.
— The DFINITY Foundation

This edit has been addressed in another PR: https://github.com/dfinity/portal/pull/3492

@karangoraniya Please accept the CLA so that we can merge this PR. Thanks!

@jessiemongeon1
I have accepted the CLA in the repository. Can you confirm that it is correct so that this issue doesn't happen next time?


One Step at a Time vs Combined Steps

Currently the design is to handle one RouteStep object at a time. I'm questioning this approach, and I'm wondering if the logic has to be more advanced.
Think about this example: you get a step for left, and then a step for right immediately after. There is neither much time nor much distance in between these steps. Do you really want to announce:

Make a left turn onto X
Make a right turn onto Y

or would it be more useful to combine those into a single text instruction

Make a left immediately followed by a right turn

(note: the example is simple and the same can happen with all instructions)
On the backend side we're already trying to reduce subsequent short steps when possible, e.g. Staggered Intersections: https://github.com/Project-OSRM/osrm-backend/pull/2738
But there are still tons of scenarios where a combined text instruction for multiple steps would make sense. In the backend we can't combine all instructions after all, since we're working on instruction/modifier primitives.
How do you want to handle these with this project? Is this out of scope? And if so, how would a client using this project combine text on its own?

Thinking more about this, I'm not sure if there is a 1:1 correlation between steps and text at all. We want to generate 1/ semantically meaningful text instructions based on a sequence of RouteSteps and 2/ when to announce these text instructions.
What I can think of is a design similar to a parser: given a sequence of n steps, we translate an arbitrary amount of steps to sequence of (Instruction, Timestamp) pairs. And return a sequence of m steps (where m < n and m may be zero when done) as long as there is more to translate.
toTextInstructions :: [RouteStep] -> ([(TextInstruction, Timestamp)], [RouteStep])

With this high level design you could translate e.g.
steps = [(turn left, ts0), (turn right, ts1)]

to a single
("turn left and then immediately right", ts0)

Looping @1ec5 @bsudekum in here for client experience.

The most basic approach to linking verbal prompts together would be to concatenate two full instructions with a conjunction. A client can do this today, but the result can be somewhat unwieldy: “Turn left on Maple Street, then turn right on Oak Street.” Further optimizations, such as “Turn left on Maple Street then right on Oak Street,” or “Turn left and then right to stay on Elm Street,” would be unwieldy to implement directly in the client, hence this library.
To ensure localizability, I think we’d want to be as literal as possible in the JSON. We should have strings that literally say:

Turn left[ on {way_name}] then right on {way_name}
Turn left[ on {way_name}] then right again
Turn right on {way_name} then right on {way_name}
Turn right[ on {way_name}] then right again
Turn left then right to stay on {way_name}
etc.

There will be lots of redundancy, but that’s the nature of localizability. This approach doesn’t scale to an arbitrary number of linked steps, but I don’t think any client should need to link more than two steps at a time.


Add dummy codes for different languages in submit page

This issue has already been fixed for the /ide route : http://localhost:3000/ide
But still exists in http://localhost:3000/submit/:qNo
Check this PR for the fix for the ide route : #138

Can I work on this issue?

@shrirangpdeshmukh
Yes go ahead with this one. Also I would not suggest you to pick multiple issues at once.
Pick this one, and after doing it, you can move to the other one.


refactor: Update Go version

This commit updates the Go version to the latest stable release and adds QEMU setup to the GitHub workflow. It also sets up the necessary environment variables required by GoReleaser. These changes ensure that the project is using the latest Go version and is ready for release.
Adds support for more architectures, package types, and better docker image.

Agreed about moving it. I'm actually working on exactly that right now.
I left the VersionInfo string in the version.go file so that if we ever do use it, we have the same format in all software.
People have asked for windows binaries before and it was pretty easy to add. We can remove if problematic.

Agreed about moving it. I'm actually working on exactly that right now.
I left the VersionInfo string in the version.go file so that if we ever do use it, we have the same format in all software.
People have asked for windows binaries before and it was pretty easy to add. We can remove if problematic.

I don't think adding Windows binaries should be problematic, but it was the first time seeing it so I'm interested in seeing how that turns out.
As for the VersionInfo string, that seems to me like it would make sense in a common library but I don't think we currently have one. I think we also had a discussion before about trying to avoid having something like hms-base as well.


Travis config: add elixir 1.7, otp 21, drop elixir 1.4

Summary of changes
I'll review the commits, so I mostly want to understand the "why" rather than the "what"
Checklist

[x] New functions have typespecs, changed functions were updated
[x] Same for documentation, including moduledocs
[x] Tests were added or updated to cover changes
[x] Commits were squashed into a single coherent commit

Coverage increased (+0.09%) to 69.87% when pulling eeecb8d0d8a7a6570df0d88ce946db6694f10b2c on jlgeering:travis-config into 84067f81d81d93766fbac77715792e7f5aaff29a on bitwalker:master.

1 of the travis jobs timed out, but I don't think there is anything wrong with it (and I did not find out how to re-trigger a build)

trying to re-trigger the CI build

@jlgeering Thank you for the PR! After talking with Paul, Timex will support 1.4 until 4.0, which isn't ready yet. If you would please update the PR with just the new versions and matrix update, we should be able to pull this in.


Pylance fails to recognize import in Jupyter notebook from transformers package (Symbol is unknown import symbolPylance), but successfully finds import in a pure Python file.

This has been raised as an issue on the transformers repo, but it seems to be a Pylance / VSCode issue, rather than a transformers issue, because Pylance correctly finds the input in pure Python files.
A first look suggests that this stems from the use of transformers using Lazy Modules in its importing, but I can't say this for sure.
Environment data

Language Server version: v2023.6.40
OS and version: macOS Ventura 13.4.1
Python version (& distribution if applicable, e.g. Anaconda): Miniconda Python 3.10.11

Code Snippet
If you paste the code into a pure Python file, Pylance recognizes the import fine. In a VSCode Jupyter notebook cell it fails with the error:

"AutoConfig" is unknown import symbolPylance [reportGeneralTypeIssues]

from transformers import AutoConfig
hf_config = AutoConfig.from_pretrained("gpt2")

Logs
I tried to produce logs using the recommended method, but they were too long to fit inside a github issue. Can provide any logs that would be helpful if you give me a way to narrow them down.

I'm unable to repro this. Do you have the correct environment/kernel selected in the notebook?

I tried to produce logs using the recommended method, but they were too long to fit inside a github issue. Can provide any logs that would be helpful if you give me a way to narrow them down.

You can drag the log file into the comment box as an attachment rather than copying the contents as text.

Hmmn, weird. I just tried with a fresh venv, installing just transformers and torch. Same result (and I double checked that I have the right kernel selected - see example screenshot).

Logfile attached - thanks for the tip!
debug_log.txt

That's not the full log. Can you reopen this test project and file and then provide the full log?

Ah, sorry! Just closed & reopened the project.
I see that starting line, but weirdly now a much smaller log, so unsure if this is truncated or no?
debug_log_2.txt

Can you set "python.analysis.logLevel": "Trace" and then restart? Sorry, for some reason I thought you had that set already.

Yep, it's set already - I just quit and restarted VSCode to make sure it got picked up. The logs look the same as before (pretty sure I've had that option toggled for the whole debugging process), but I've attached the new ones just in case. If there's a command I can run to verify that logLevel: Trace is being picked up, lmk and I'll run it.

debug_log_3.txt

I also encountered a similar problem in Langchain. Sometimes, after starting VSCode, it prompts that the instance variable is unknown, but sometimes it is normal

@montyevans, I was just trying to repro this again. I couldn't get it to happen in the latest Pylance build, but when I rolled back to 2023.6.40 I hit something similar in a regular .py file:

This is https://github.com/microsoft/pylance-release/issues/4531. Notice how it complains that "AutoConfig" is unknown import symbol, but the hover window also displays the doc string for AutoConfig. That's the signature of issue 4531 -- analysis is broken, but requests handled by our foreground thread (ex. hover) work. Was that what you were seeing also?
I'm curious to know if you can still reproduce this issue on the latest pre-release build of Pylance -- 2023.7.31

No, it doesn't repro in 2023.7.30 (the version that my laptop's VSCode at some point auto-updated to).
Guess the #4531 fix was exactly it - thanks!


It stops at "Convex functions ready!"

It stops at "Convex functions ready!"
I have successfully run the backend, but it got stuck at this statement again, and such issues occur frequently.
And convex shows error SearchFlusher died TextCompactor died VectorCompactor died

After reinstalling, I tested it and it seems that there will be problems when using Ctrl C to stop converx

Now I have known how to successfully run the backend and restart the code. But my frontend still can't work as your pic. BTW, how can I record the messages locally. When I run the code locally, I have no dashboard.

Now I have known how to successfully run the backend and restart the code. But my frontend still can't work as your pic. BTW, how can I record the messages locally. When I run the code locally, I have no dashboard.


Can't exclude packages using -P or any other option

When I run the following command: nixpkgs-review rev --build-args '-j 6' -P ungoogled-chromium -P chromium -P chromiumBeta -P chromiumDev --skip-package-regex 'google-chrome.*' -P burpsuite -P Sharedown -P puppeteer-cli -P reveal-md -P fast-cli HEAD
nixpkgs-review (2.6.4) will still try to build chromium. How can I properly skip packages?

Do you have a PR for this for testing?

Yes, try #156850

You misstyped sharedown. You need to least the attr name, not pname or something else. It could also be that you are building chromium because of some webkit or so which also contains chromium.
I think the problem is that we are no searching in dependency trees. It could maybe be possible when overlaying everything and adding a new meta attribute which we later could filter out. But we didn't code that yet so until then the system is very naive and only filters literal package names and regexes of them.

I've found that nixpkgs-review completely disregards any skips when in rev mode. pr mode works fine.


Cluster with MupX gives random 404s. Doesn't seem to work with Mupx?

I recently switched to MupX for deploys (reason: better security), but ever since my Cluster fails randomly to load meteor.js, gives a 404 error
GET https://our.postjar.com/a64bd6752cad2338dae6daa9716a453d3ee61fe6.js?meteor_js_resource=true > 404
Refresh the browser, it sometimes gives 404, sometimes not. It's really random.
In the server logs is not that much going on, sometimes I see a Cluster: web proxy error:  Connection droped.
Now I did some debugging:

I deployed 3 servers using Mupx, without the Cluster packages installed. All 3 servers work fine, no 404s at all.
I installed the cluster package, no changes to mup.json, deployed again with Mupx. Immediately I get random 404s on all 3 servers.

So this is even without any balancers configured. When I deployed with Mup I didn't have those issues.
So does Cluster actually work with MupX?

Just curious, Do you have your Cluster DB configured? Do all the 3 servers connect to a central Cluster DB? and have the same name ? I am trying to see if the issue I had is some how related to yours? https://github.com/meteorhacks/cluster/issues/102

Damn you really opened my eyes!! I had tons of stale entries in my Cluster DB, because I moved to a set of new Digital Ocean instances, because I deployed with MupX instead of Mup.
Now that I those entries, Cluster works again like a charm again.
So yes, all 3 servers connect to a single central cluster DB. I hope this is of any use to your issue?

@satyavh I am glad that it helped to resolve your issue. Mine, I think it has more to do with names of the microservices being the same in Cluster DB. If I had to guess, Load balancer functionality is looking at the Names instead of endpoint hash or some unique identifier. @arunoda needs to look at it :)


Doesn't understand Capslock bound to Escape

As a Vim user I mapped my Capslock to Escape in Gnome. This program didn't pick that up and every time I pressed Escape (My "Capslock") it shows Capslock and then all my keystrokes become uppercase. This might be a bit hard to implement because (if I understand it correctly) this reads directly from the input devices, so if it's too hard a toggle button for this configuration would be nice too.

@DuckDuckWhale https://github.com/rvaiya/keyd works on Wayland at least. I am pressing caps lock here using the supplied default script:

[ids]

*

[main]

# Maps capslock to escape when pressed and control when held.
capslock = overload(control, esc)


How to get actual current location

Hello,
I am not getting my actual current location by default it's taking the network or may be server  provider current location which is far from 5-7 K.M from my actual location.
can you guide me how to fetch exact current location on autocomplete.

If you are trying to fetch current location from the laptop then there is a chance that the location will not be accurate as browsers are trying to locate the location via IP address since there is no GPS inside a laptop. For better result use a mobile phone. Nothing can be done from our end.


fix: return types of *trtrs routines

There are still mismatches of function signatures for the f2c'ed lapack sources.
This PR fixes those mismatches for the trtrs routine family.

Thanks - looks like I even got confused at some point in the past and edited the TRTRS prototypes away from their canonical definition to match the type of their reimplementations in OpenBLAS

I'm not sure what to do about the apple android CI build, looks like some toolchain file is missing on the build agent.
https://github.com/OpenMathLib/OpenBLAS/pull/4953/checks?check_run_id=31998029185


Port number Confusion

First off thank you for making this as you have saved me a lot of headache with Lemmy's original documentation.
Sorry for the simple question. I have followed the documentation and I have deployed Lemmy-Easy-Deply on my raspberry pi with no errors. But I am confused about which port I should be typing in my address bar to actually access the site from my browser?

If you haven't changed the port in config.env, then it will just be port 80/443. You should not have to specify a port, you simply go to your domain as specified in LEMMY_HOSTNAME
If you do not have a domain, it's more tricky. Of course, you won't be able to federate or reach your instance online without one. You can still use it locally without a domain, but you'll have to set CADDY_DISABLE_TLS to true, and change LEMMY_HOSTNAME to whatever host you want to use Lemmy on.
There are a few notes about CORS errors that I could ramble on about... or you can give me a few more details about your use case, and I can give you more specific help :)

Thank you for the quick response. Yes I will give you more detail. I do not have a domain name yet. I have just been using my raspberry pi's public ip to ssh  from my computer to test the server out in my LAN. I set LEMMY_HOSTNAME to my pi's public ip.
I will try what you suggested.

Sounds good. Just a few warnings:

Once you start using it, if you want to transition to a domain name later, you won't be able to, as your Lemmy instance's hostname/private keys will be calculated against that IP address.
You may need to also set LEMMY_TLS_ENABLED to false
There was a quirk of Lemmy that could cause JSON errors in the UI when it's being used like this. That was fixed already and will be available in 0.18.1, but you might encounter that issue the way you're trying to use it.
Since federation requires HTTPS, and you can't use that without a domain, you will not be able to federate with other instances. This means you'll be limited to only posts made on your instance.

If you ever feel like you want to start over so you can set a hostname, you can delete your Docker volumes like this:
./deploy.sh --shutdown
docker volume rm lemmy-easy-deploy_caddy_config                                           docker volume rm lemmy-easy-deploy_caddy_data                                             docker volume rm lemmy-easy-deploy_pictrs_data                                            docker volume rm lemmy-easy-deploy_postgres_data

Just don't forget to change the settings in config.env back!

Thank you for the warnings and being very informative.
I have made the changes in config.env. But when I try to connect to the server in my browser (firefox) I get:
SSL_ERROR_INTERNAL_ERROR_ALERT
I checked firewall, port 80 is open. So my port is fine. I have cleared my browser's cache. I am currently troubleshooting this issue. Do you know what it could be?

Did you set CADDY_DISABLE_TLS to true? You'll have to do that as well.

Yes I did.

Hmmm... Caddy should only be trying to use SSL if you've set those options and regenerated the config with ./deploy.sh -f. You can confirm this if you run cat ./live/caddy/Caddyfile. You should see http://{$LEMMY_HOSTNAME} in that last block.
If that doesn't work, unfortunately I do not have any advice to offer besides getting a domain name, as that is the primary use case for this. Apologies!

Turns out last time I ./deploy.sh I forgot -f. (Facepalm). I cleared my browser's cache and I was able to reach my server via browser. So far things are working fine. Thank you for your patience and all the tips you gave me!

Perfect! Happy to have helped :)

Sorry to reopen this again but I thought it appropriate since the issue is a continuation from your advice. So after testing from my LAN server with much joy and success,  I decided it was time to acquire a domain name. Cleaned my live directory, changed hostname to domain name and changed the settings back in config.env. Then I did ./deploy.sh -f. Watched it deploy successfully. I cleared my browser's cache. Entered the new domain name in my browser. And Somehow I have got this error again:
SSL_ERROR_INTERNAL_ERROR_ALERT
Maybe it is another silly mistake on my end haha. But I am trying to figure out why this is.

Did you delete the original volumes as well? I assume yes, because I have a warning in the script if you have not.
You can post your diagnostic information (./deploy.sh -d) and I can take a look, but I can tell you that Firefox (although my preferred and favorite browser) is pretty unreliable with cache changes, especially with HTTPS. I usually have to do my testing in Chrome just because of this.
Can you try again in an incognito window in Chrome or Firefox?
If it's still happening, post your diagnostic info and we can go from there 👍

Yes I deleted the original volumes. I also just tried incognito mode on firefox but that did not work.
Here are my settings and directory permissions from ./deploy.sh -d.
`
==== Settings ====
CLOUDFLARE: No
CADDY_DISABLE_TLS: false
CADDY_HTTP_PORT: 80
CADDY_HTTPS_PORT: 443
LEMMY_TLS_ENABLED: true
ENABLE_EMAIL: false
SMTP_PORT: 25
ENABLE_POSTFIX: false
POSTGRES_POOL_SIZE: 5
==== Generated Files ====
Deploy Version: 0.18.1;0.18.1
total 36K
drwxr-xr-x 2 1000 1000 4.0K Jul  7 15:16 caddy
-rw-r--r-- 1 1000 1000   27 Jul  7 15:52 caddy.env
-rw-r--r-- 1 1000 1000 1.7K Jul  7 15:52 docker-compose.yml
-rw-r--r-- 1 1000 1000   50 Jul  7 15:16 lemmy.env
-rw-r--r-- 1 1000 1000  467 Jul  7 15:52 lemmy.hjson
-rw-r--r-- 1 1000 1000   49 Jul  7 15:16 pictrs.env
-rw-r--r-- 1 1000 1000   31 Jul  7 15:52 postfix.env
-rw-r--r-- 1 1000 1000   51 Jul  7 15:16 postgres.env
-rw-r--r-- 1 1000 1000   14 Jul  7 15:53 version
`
I don't really see what could be wrong. Though I just acquired and setup the domain. But I don't think DNS propagation would effect SSL.

May I see the rest of the output? Those hashes under "Integrity" do not contain sensitive information, just the hashes for the files. They are safe to post.
Are you behind any proxies, especially the Cloudflare proxy?
This might be a Firefox-specific issue that involves a domain very quickly changing its HTTPS support status: https://support.mozilla.org/en-US/questions/1130471

For the time being, can you please try Chrome instead to rule this out?

Ok thank you. I wasn't sure if the hashes contained sensitive information. Here is the entire output. I tried Safari and Microsoft Edge on other devices and I also got the same warning of the connection not being secure. I feel like this should rule the browser being a problem. But I could install chrome just for the heck of it. No I am not behind Cloudflare or any other proxy.
==== Docker Information ====
Detected runtime: docker (Docker version 24.0.2, build cb74dfc)
Detected compose: docker compose (Docker Compose version v2.18.1)
   Runtime state: OK

==== System Information ====
      OS: Linux
  KERNEL: 6.1.21-v7+ (armv7l)
HOSTNAME: OK
   SHELL: bash
  MEMORY:
               total        used        free      shared  buff/cache   available
Mem:           921Mi       177Mi       183Mi        14Mi       561Mi       675Mi
Swap:           99Mi       1.0Mi        98Mi

DISTRO:
----------------------------
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_CODENAME=bullseye
----------------------------

==== Lemmy-Easy-Deploy Information ====
Version: 1.2.7

IMAGE     CREATED   STATUS

Integrity:
    0dcb79d994394bd204f7034ce2bd58838d9d1187262463c95d3abb70a1d6d421  ./deploy.sh
    1e9b0c0988998dcc33cb0fbfdb0e1679229424e724f898b797380adc7d102446  ./templates/Caddy-Dockerfile.template
    c1202e70662dd2228da36a35a0f38ec8fc81bec8964d7315d02e8671a58dd7d7  ./templates/Caddyfile.template
    2537678c7971df36c1ed95f4228d3cfcb15bb4a28a60d939eaf8dd75b5d64a36  ./templates/cloudflare.snip
    c9cb4c5fee12930e17798a02ae1bd12e2dc69e149a394c24511bc9d4e6b776d4  ./templates/compose-email.snip
    c494a610bcb4cd1cfc0a4fe4fb0f6d437b2a84a0ad1625daee240e6dd6f1c910  ./templates/compose-email-volumes.snip
    d9928baea61975bd432e1a4a7439c04468547c9b42e2bb483c6f18d9438665eb  ./templates/docker-compose.yml.template
    1c202b1b6e87c65b2fcda6035c9fe3f8631d76662907ffd38f24b14686e30647  ./templates/lemmy-email.snip
    c834cdce9eaf77f38155b404724fdfe66845575386ee516987452aa715642a6f  ./templates/lemmy.hjson.template

Custom Files:
*** No custom files ***

==== Settings ====
        CLOUDFLARE: No
 CADDY_DISABLE_TLS: false
   CADDY_HTTP_PORT: 80
  CADDY_HTTPS_PORT: 443
 LEMMY_TLS_ENABLED: true
      ENABLE_EMAIL: false
         SMTP_PORT: 25
    ENABLE_POSTFIX: false
POSTGRES_POOL_SIZE: 5

==== Generated Files ====
Deploy Version: 0.18.1;0.18.1

total 36K
drwxr-xr-x 2 1000 1000 4.0K Jul  7 15:16 caddy
-rw-r--r-- 1 1000 1000   27 Jul  7 15:52 caddy.env
-rw-r--r-- 1 1000 1000 1.7K Jul  7 15:52 docker-compose.yml
-rw-r--r-- 1 1000 1000   50 Jul  7 15:16 lemmy.env
-rw-r--r-- 1 1000 1000  467 Jul  7 15:52 lemmy.hjson
-rw-r--r-- 1 1000 1000   49 Jul  7 15:16 pictrs.env
-rw-r--r-- 1 1000 1000   31 Jul  7 15:52 postfix.env
-rw-r--r-- 1 1000 1000   51 Jul  7 15:16 postgres.env
-rw-r--r-- 1 1000 1000   14 Jul  7 15:53 version

Ok so the internal error was due to a router issue. Now everything is working fine and smoothly. Thank you again!


Make README more colorful

Add languages to the README.md file to make it more colorful.

Thanks - looks good


ANI medoids should be flagged

A metadata entry is_ani_medoid should be defined, similar to is_type.

This request makes database updates unnecessarily cumbersome, and most use cases can easily be covered by either the gsp medoids list or the implementation of #77. I'm cancelling this.


ARROW-1611 Do not read bitmap when length is zero, add internal::Bitm…

Do not read or write bitmap when length is zero, add internal::BitMapWriter

Note for future reference it's not necessary to open a new PR, you can edit the title by hitting the "Edit" button in the top right.
This has some compiler warnings:
In file included from /home/travis/build/apache/arrow/cpp/src/arrow/buffer.h:29:0,
                 from /home/travis/build/apache/arrow/cpp/src/arrow/buffer.cc:18:
/home/travis/build/apache/arrow/cpp/src/arrow/util/bit-util.h: In member function ‘void arrow::internal::BitmapWriter::Set()’:
/home/travis/build/apache/arrow/cpp/src/arrow/util/bit-util.h:108:30: error: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
   void Set() { current_byte_ |= (1 << bit_offset_); }
                              ^
/home/travis/build/apache/arrow/cpp/src/arrow/util/bit-util.h: In member function ‘void arrow::internal::BitmapWriter::Clear()’:
/home/travis/build/apache/arrow/cpp/src/arrow/util/bit-util.h:110:32: error: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
   void Clear() { current_byte_ &= ~(1 << bit_offset_); }
                                ^
cc1plus: all warnings being treated as errors
[28/137] Building CXX object CMakeFiles/arrow_objlib.dir/src/arrow/array.cc.o
FAILED: CMakeFiles/arrow_objlib.dir/src/arrow/array.cc.o
/usr/bin/ccache /usr/lib/ccache/g++-4.9  -DARROW_EXTRA_ERROR_CONTEXT -DARROW_NO_DEPRECATED_API -DARROW_WITH_BROTLI -DARROW_WITH_LZ4 -DARROW_WITH_SNAPPY -DARROW_WITH_ZLIB -DARROW_WITH_ZSTD -isystem /home/travis/build/apache/arrow/cpp-toolchain/include -isystem googletest_ep-prefix/src/googletest_ep/include -isystem gbenchmark_ep/src/gbenchmark_ep-install/include -isystem /home/travis/build/apache/arrow/cpp/thirdparty/hadoop/include -I/home/travis/build/apache/arrow/cpp/src -ggdb -O0 -Wall -std=c++11 -msse3 -Wconversion -Wno-sign-conversion -Werror -g -fPIC   -std=gnu++11 -MD -MT CMakeFiles/arrow_objlib.dir/src/arrow/array.cc.o -MF CMakeFiles/arrow_objlib.dir/src/arrow/array.cc.o.d -o CMakeFiles/arrow_objlib.dir/src/arrow/array.cc.o -c /home/travis/build/apache/arrow/cpp/src/arrow/array.cc
In file included from /home/travis/build/apache/arrow/cpp/src/arrow/buffer.h:29:0,
                 from /home/travis/build/apache/arrow/cpp/src/arrow/array.h:27,
                 from /home/travis/build/apache/arrow/cpp/src/arrow/array.cc:18:
/home/travis/build/apache/arrow/cpp/src/arrow/util/bit-util.h: In member function ‘void arrow::internal::BitmapWriter::Set()’:
/home/travis/build/apache/arrow/cpp/src/arrow/util/bit-util.h:108:30: error: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
   void Set() { current_byte_ |= (1 << bit_offset_); }
                              ^
/home/travis/build/apache/arrow/cpp/src/arrow/util/bit-util.h: In member function ‘void arrow::internal::BitmapWriter::Clear()’:
/home/travis/build/apache/arrow/cpp/src/arrow/util/bit-util.h:110:32: error: conversion to ‘uint8_t {aka unsigned char}’ from ‘int’ may alter its value [-Werror=conversion]
   void Clear() { current_byte_ &= ~(1 << bit_offset_); }
                                ^
cc1plus: all warnings being treated as errors

You might want to use the appropriate bitmasks from https://github.com/apache/arrow/blob/master/cpp/src/arrow/util/bit-util.h#L152

Feel free also to make me a collaborator on your fork

I addressed these points in https://github.com/apache/arrow/pull/1137 to unblock the 0.7.1 release candidate. I will merge once the build is green there
I may wait a few hours for https://github.com/apache/arrow/pull/1137 to possibly get done before cutting the RC

Updated pull request branch. I was tracking down the cause of the build failure; I'll open a separate issue for what I found.


[Tabs] Provide selected prop on tabs children to ease integration with router and similar

I am having trouble finding an elegant solution for marking a tab as selected if the tabs are 'router managed' rather than through onChange(). The main issue is that the selected tab can be set on the wrapping tabs component only and not on the actual child tabs.
To provide some context, a common DRY approach for setting up location-aware navigations (i.e. navigation items that apply some styling when selected) with React Router looks as follows:
class NavList extends React.Component {
  render() {
    return (
      <List>
        <ListItemLink to="/one" primary="One"/>
        <ListItemLink to="/two" primary="Two"/>
        <ListItemLink to="/three" primary="Three"/>
      </List>
    );
  };
}

const ListItemLink = ({to, primary, ...other}) => (
  <Route path={to} children={({match}) => (
    <ListItem button component={Link} to={to} {...other}>
      <ListItemText primary={primary} classes={{text: match ? classes.active : ''}}/>
    </ListItem>
  )}/>
);

Here, the list item is wrapped by a Route component that tries to match the current location against its path prop and adjusts the props of the list item accordingly.
I would love to achieve the same thing with tabs but do not how. Hence, my thought of adding a selected prop to the Tab component:
class NavTabs extends React.Component {
  render() {
    return (
      <Tabs>
        <TabLink to="/one" label="One"/>
        <TabLink to="/two" label="Two"/>
        <TabLink to="/three" label="Three"/>
      </Tabs>
    );
  };
}

const TabLink = ({to, label, ...other}) => (
  <Route path={to} children={({match}) => (
    <Tab label={label} value={to} component={Link} to={to} selected={match} {...other}>
  )}/>
);

I realize that it is cleaner to have the selection state in the Tabs component but as explained, I have yet to figure out a way to handle this common case.
Ideas? Thoughts?

I like the idea but I fear it will require too much effort to support it. I think that we will be better off keeping thing simple. Let us know if you find a way to handle the issue with react-router.

@oliviertassinari That is too bad. The dirty workaround I use for now is to set value of Tabs to be the current location pathname:
class NavTabs extends React.Component {
  const {location} = this.props;

  render() {
    return (
      <Tabs value={location.pathname}>
        <TabLink to="/one" label="One"/>
        <TabLink to="/two" label="Two"/>
        <TabLink to="/three" label="Three"/>
      </Tabs>
    );
  };
}

const TabLink = ({to, label, ...other}) => (
  <Route path={to} children={({match}) => (
    <Tab label={label} value={to} component={Link} to={to} {...other}>
  )}/>
);

This makes the crucial assumption that location.pathname always corresponds to one of the values defined in the tabs. I.e. the location when the tabs are being rendered has to be /one, /two or /three exactly, otherwise the Tabs component will raise a the value provided ... is invalid error.
This also means that tabs can only be used on the lowest level of a hierarchical navigation. E.g. you could not have a tab point to /customers and then have that tab marked active when displaying a child component/path /customers/123.

I came up with a pretty nice solution whereby I wrap Tabs in a HOC that accepts an array of selectors (essentially React Router path matchers), with each selector pointing to a tab index (or tab value) that should be selected in case the selector matches the current location. See https://gist.github.com/jschwertfeger/85c16c99f1abe7be5fe956046148647e

@jschwertfeger Thanks for sharing 👍 . I have been implementing something similar for the router of Next.js


add DeepExtreme dataset

We add the deep extreme dataset.
An important change is the landcover mask: it have been moved from metric and loss to the data: it avoid redundancies + mistakes since the landcover mask is dataset specific.
The en22, en23 and en21x have been updated too, it will work even with legacy configs. We tested with en23 too. I coudn't test for en21x, the path for the dataset seems to not be the right one, or I didn't which config file to use, but it should work as well. In particular for en21x, I fix few lines in the dataset, which is unexpected, please check if the current version is well the last up to date and everything work! :)

Awesome!
Will review asap! :)


exception safety

I think the noexcept in
https://github.com/mapbox/variant/blob/master/variant.hpp#L235
can't be guaranteed unless the copy constructor for T is noexcept.

This is not an issue any more in the current code.


Switch rendering engine

Webview currently doesnt't support file urls anymore. At least not in the latest version on windows. Therefore, nimview will need to switch the used library to something else, supporting file urls.
The current candidate is https://github.com/tauri-apps/wry but this is unfortunately a rust library. So it would be required to build some Nim / C Wrapper first.
There might also be other libraries that can be used:
https://github.com/Elanis/web-to-desktop-framework-comparison
Requirements:

support Windows, MacOS and Linux
lightweight
support calling Javascript from Backend
doesn't require sockets - uses file urls

I had a first look at tauri  1.0 - and to be honest - it looks really good and advanced. It has a app creater helper, packager, auto refresh after code change and auto-update features. It also still looks lightweight.
It think nimview cannot compete with tauri and I can't find something bad in tauri that would make it worth to switch to something else.
Currently, I would probably recommend tauri  for new applications.
And to have some nim or C code to call from the backend, it might still be possible to just write a rust application that calls nim via FFI https://stackoverflow.com/questions/59879692/how-to-call-a-nim-function-from-rust-through-c-ffi

@marcomq
Please don't abandon nimview. It is simple, practical, and comfy.
Unfortunately this concern about ie11 is true because the date for its final death is 2029. It's a long way off, but it's uncomfortable to program something knowing that it already has an exact date to stop working.


Add documentation for voms-importer in the IAM deployment page

See issue https://github.com/indigo-iam/iam-website/issues/28 in https://github.com/indigo-iam/iam-website

Improved doc, added john doe as user and changed info for user certificates and other user information


Initial drop of generated types

Applicable Issues
N/A; initial drop of code
Description of the Change
This is intended to be a first usable attempt at a Go SDK for Eiffel events. It covers the events from the Lyon edition.
The principle chosen is to have one Go struct per major version of each event. This means that v3.0.0 of some event received over the wire might be deserialized into a struct that supports up to v3.3.0. That version defines additional fields, which will obviously be empty. Similarly, if you instantiate the V3 struct for that event type you need to be careful about which struct fields you set if you don't intend to use the most recent version within that major version.
Non-exhaustive list of missing features:

Factory function for each struct that populates basic required      fields like meta.type, meta.version, meta.id, and meta.time.
JSON serialization that (optionally) includes validation.
Subpackages for all Eiffel editions that define type aliases      that point to concrete structs with major versions matching      the contents of the edition.

The structs and other types are generated based on the schemas. For that reason the Eiffel protocol repository is included as a Git submodule.
Alternate Designs
None.
Benefits
Better Eiffel experience for gophers.
Possible Drawbacks
None.
Sign-off

Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I    have the right to submit it under the open source license    indicated in the file; or
(b) The contribution is based upon previous work that, to the best    of my knowledge, is covered under an appropriate open source    license and I have the right under that license to submit that    work with modifications, whether created in whole or in part    by me, under the same open source license (unless I am    permitted to submit under a different license), as indicated    in the file; or
(c) The contribution was provided directly to me by some other    person who certified (a), (b) or (c) and I have not modified    it.
(d) I understand and agree that this project and the contribution    are public and that a record of the contribution (including all    personal information I submit with it, including my sign-off) is    maintained indefinitely and may be redistributed consistent with    this project or the open source license(s) involved.
Signed-off-by: Magnus Bäck<EMAIL_ADDRESS>

The Github actions will run when the workflows exist in the repository. If you had done your changes on "magnusbaeck:master" then they would've run there. Or if you don't restrict the workflow to "master", then it will run on all branches on your fork as well

Okay, so if the workflow exists in the first place it'll run for subsequent PRs? IOW, it's really only a problem when introducing new workflows?
Anyway, I pushed to magnusbaeck:master and the workflow ran (initially with an error that I've since fixed).
For your reviewing pleasure I'll try the GitHub way of pushing extra commits on the PR branch instead of amending, but this requires some extra care when merging to avoid a garbage commits message in the squashed commit.


Cannot parse type 19 from file

Hi @stephenegriffin ,
I used MrMapi in a few scripts to parse the ACL table dumped into a file:
C:\Temp\MrMAPI.exe -P 19 -Input C:\Temp\Perm1.tmp
The content of the Perm1.tmp is the Binary  converted to Hex value from the extended property [Microsoft.Exchange.WebServices.Data.FolderSchema]::Permissions. When I run MrMapi it returns NULL.
Any thoughts?
Ciao,
Ingo

Perhaps you saved the file as Unicode instead of ascii?

Thank you,
Gina Hern

On May 9, 2018, at 9:07 AM, Stephen Griffin<EMAIL_ADDRESS>wrote:
Perhaps you saved the file as Unicode instead of ascii?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@stephenegriffin I used ascii. What kind of input is allowed?

Try using the Hex Editor in MFCMAPI to test your data out. But basically, it should be an even number of hex digits. I do allow for whitespace and a few common punctuation characters (like dot or dash) which show up commonly.

Hi @stephenegriffin ,
I used MFCMAPI and compared the values: They are equal. Therefore I copied from MFCMAPI the HEX value and saved this into a file, but there is still no output.
Ciao,
Ingo
"08000300000000000100048.....CC3A822967EFD180300" | Out-File -FilePath C:\Temp\Perm2.txt -Encoding Ascii -Force
C:\Temp>MrMAPI.exe -p 19 -i c:\Temp\Perm2.txt -v
Mode = 4
ulOptions = 0x00050200
ulTypeNum = 0xFFFFFFFF
lpszInput = c:\Temp\Perm2.txt
Loading AddIns
ReadStringFromRegistry(AddInExclusionList)
ReadStringFromRegistry(AddInInclusionList)
Current dir = "C:\Temp"
File spec = "C:\Temp*.dll"
Examining "acctinfo.dll"
Loading default arrays
Found 0x00000F5C built in prop tags.
Found 0x00000023 built in prop types.
Found 0x00000044 built in guids.
Found 0x00000330 built in named ids.
Found 0x000005E2 built in flags.
Found 0x0000008B built in Smart View parsers.
Found 0x00000021 built in Smart View parser types.
Done loading AddIns
CBinaryParser::Init cbBin = 0x00000000 = 0
Unloading AddIns
Done unloading AddIns

I see the bug - thanks

@stephenegriffin thanks for the fast fix!
Ciao,
Ingo


Import SElinux module

Feature Request
Environment
I run on AWS but I don't think it matter
Desired Feature
Be able to import custom SELinux module with ignition. This is usually done by running the command semodule -i /path/to/module. Files can be compile module or cil modules
Other Information
This must be done after the filesystem is loaded.
Some OS comes with SElinux enabled by default, I think it would be nice to have more feature related to selinux

Thanks @bgilbert