Update v200 develop branch with modularized samples from Beta

Description

Cherrypicks Beta updates to samples and then updates them further based on more recent changes to the API and a change to version number control needed for the sample viewer.

Checklist:

[x] Set target branch to main (current release) or v.next (next release)
[x] Request a reviewer
[x] Assign a reviewer
[x] Tag reviewer in comment

Merging with one approval since this is mostly cherry picking work, and will be thoroughly tested again with ongoing work before release.


Krypted master

Moving this PR to base to master so I can delete the testing branch which has already been merged.

Fair to say that this is dead.


Keyboard hide bottomsheet issue

When I was use bottomsheet with my custom view I get issue. When bottomsheet visible then I focus on the edittext unfortunately keyboard hide bottomsheet. I was write setSoftInputMode but it doesn't work. Why?
            BottomSheet.Builder(context)
                    .setTitle("Deneme")
                    .setView(R.layout.add_suspect)
                    .create()
                    .apply {
                        setOnShowListener {
                            this.window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_HIDDEN or WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN)
                        }
                        show()
                    }

@mustafakibar u got the solution? please help.

I Want the keyboard to be shown below the bottom sheet please... How?


Agree on metadata changes

We have a variety of different metadata changes coming up for Phase 2. Before we can make these changes to our json and GQL schema, let's get approval for what these fields should be called and what their structure should be.
Draft changes are here: https://docs.google.com/document/d/1zcD9OyY86gaogVZOBZPwcn0fxZ5QSFrlqXeaodJX9BI/edit#heading=h.be2fyivqz1zp

note from sprint planning meeting: Anchi is the main approver


How do I get a list of all the Authorize identifiers when Creating new certificate with advanced options using Manual DNS (Advice)

I don't think this is an issue, it's more of a lack of knowledge from me or lack of functionally from the application.
Scenario/Issue:
I am creating a new SSL cert with multiple SAN names (common + 8) and can only use manually created external DNS records for validation and have to use 3rd party supplier to create them.
When I get to the authorize identifier process, it only tells me one DNS record at a time, which is very time-consuming as I need to then send that information to my 3rd party DNS supplier, who then creates it, then I can hit next, then it gives me the next record to create.
This there a way to extract all the manual DNS records I require i one go (Authorize identifiers), so I can give the list of 9 DNS txt records to my 3rd party DNS supplier to save time?
I am using wacs.exe - version v<IP_ADDRESS>5 on Windows 10.
Cheers
James

That's an interesting scenario. Right now I can only think of a nasty workaround, which would be to set up 9 separate "dummy" renewals at the same time (in different instances of the program), to authorize the domains.
Once the domains are validated for the "dummy" renewals, the authorizations remain valid on your account for 24 hours, so then you'll be able to request the SAN certificate without having to re-validate.
In theory it is be possible to facilitate this better, but the program is currently not structured in a way that would make this easy to accomplish. Food for thought though!

Thank you, that is a great idea and good workaround.
I now have all my external DNS request sorted...


gguf samsung

Can you provide a description of the issue you're facing with the app?

no issue sorry . not used to github .
On Fri, 20 Dec 2024, 03:32 Shubham Panchal, @.***>
wrote:

Can you provide a description of the issue you're facing with the app?
—
Reply to this email directly, view it on GitHub
https://github.com/shubham0204/SmolChat-Android/issues/16#issuecomment-2556082184,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUEYCMIRQDEWCKT4ULRSQT2GNXRHAVCNFSM6AAAAABT52LRZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJWGA4DEMJYGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

my adress is not on the drop down field and free text is not allowed
causing payment failure
On Fri, 20 Dec 2024, 04:55 Jhb Fourways, @.***> wrote:

no issue sorry . not used to github .
On Fri, 20 Dec 2024, 03:32 Shubham Panchal, @.***>
wrote:

Can you provide a description of the issue you're facing with the app?
—
Reply to this email directly, view it on GitHub
https://github.com/shubham0204/SmolChat-Android/issues/16#issuecomment-2556082184,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUEYCMIRQDEWCKT4ULRSQT2GNXRHAVCNFSM6AAAAABT52LRZOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJWGA4DEMJYGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


[2|HR - Setting Page] Update Organization information #90

Updated version of issue #90 to enssure there is no error with the current main branch

Note to myself (you don't need to do anything):
This doesn't update/fetch data on/from db


[ENG-721] Read-only contributors list

Purpose
To make a component containing a read-only list of contributors for a node and a link to the node's contributors page for editing.  To be used primarily for registries submission workflow.
Summary of Changes

Add read-only-contributors-list component
Create new folder workspace in osf-components for registries components to be used outside of the registries engine
Add test

Side Effects
N/A
Feature Flags
N/A
QA Notes
This will just be a list that contains all of the contributors that the node has.  Beneath the list of names there will also be a link that will take the user to the node's contributors page so that they can have the option to edit contributors there.  The component itself will not have any functionality for editing/adding/removing contributors.
Ticket
https://openscience.atlassian.net/browse/ENG-721
Reviewer Checklist

[ ] meets requirements
[ ] easy to understand
[ ] DRY
[ ] testable and includes test(s)
[ ] changes described in CHANGELOG.md

Pull Request Test Coverage Report for Build 3214

5 of 5 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 75.616%

Totals

Change from base Build 3210:
-0.02%

Covered Lines:
6834

Relevant Lines:
7940

💛  - Coveralls


Update train_test_pairs() for stratified CV

Fixes #248.
Benchmark between dev and this PR:
using BenchmarkTools

scv = StratifiedCV(nfolds=5);
N = 10_000_000;
rows = 1:(10N);
y = (
    vcat(fill(:a, N), fill(:b, 2N), fill(:c, 3N), fill(:d, 4N))
    |> shuffle
    |> categorical
);

@btime MLJBase.train_test_pairs_old($scv, $rows, $y);
#  14.767 s (1259 allocations: 21.88 GiB)

@btime MLJBase.train_test_pairs_new($scv, $rows, $y);
#  8.020 s (146 allocations: 4.84 GiB)

Hmmm, the diffs show some of your other commits. I guess maybe if you rebase breaking on dev then those diffs will disappear?

I just noticed MLJBase.complement. I could probably be using that at the end of train_test_pairs.

Mmm. Rebased breaking onto dev. Issue may be that I prematurely bumped the version in Project.toml  (to 0.14.0). Maybe if you do that too the problem will go away?

Oh boy, here's the fun part... Messing around with git! 😁
Based on what I can see, it looks like maybe you didn't push your rebase of breaking to github? Unless I've missed a step in the git fetch/push/pull dance. Here's what I see when I look at the commit graph:

where you can see the extra commits that show up in this PR are on dev above the breaking branch.

Oh yes, sorry. 😳  I did miss some steps and the merge conflicts are gone. Will now review.


fix(karma-webpack): Override output.filename if it is a static file name

This PR contains a:

[x] bugfix
[ ] new feature
[ ] code refactor
[ ] test update
[ ] typo fix
[ ] metadata update

Motivation / Use-Case
If there are multiple tests, and the webpack configuration has a static output.filename, e.g. 'bundle.js', all entry points will be emitted to the same bundle. Karma will output errors, and karma-webpack will ultimately fail as test files will not have any corresponding output file.

@thijstriemstra: this pull request should fix your issue

thanks for the ping @matthieu-foucault, can i install and test this PR using npm?

thanks for the ping @matthieu-foucault, can I install and test this PR using npm?

Yes, using npm install webpack-contrib/karma-webpack#fix-static-output.filename

works<EMAIL_ADDRESS>doesn't work<EMAIL_ADDRESS>this PR: works!
thanks @matthieu-foucault


docs: Search ordering has worsened

Describe the bug
The doc search system has gone to pot recently, comparing the current latest and 3.3 when searching for GPIO yields very different results.
Latest: https://docs.zephyrproject.org/latest/search.html?q=gpio&check_keywords=yes&area=default
3.3: https://docs.zephyrproject.org/3.3.0/search.html?q=gpio&check_keywords=yes&area=default
The correct result, for the GPIO page, is 20th in the latest (and 3.4) results, it is 2nd in the 3.3 docs.
To Reproduce
Search
Expected behavior
The relevant (in this case GPIO) page to be near the top
Impact
Annoyance

I think there's an important point to make here:
The GPIO page title changed from GPIO to General-Purpose Input/Output (GPIO):
https://docs.zephyrproject.org/latest/hardware/peripherals/gpio.html
https://docs.zephyrproject.org/3.3.0/hardware/peripherals/gpio.html
So this is likely not a new issue.

Also, FYI https://github.com/zephyrproject-rtos/zephyr/pull/60018

So this is likely not a new issue.

+1. @nordicjm unless you are seeing other examples of regressions like this one, I think we can close this.

So this is likely not a new issue.

+1. @nordicjm unless you are seeing other examples of regressions like this one, I think we can close this.

It's an issue, I don't see why it should be closed, regardless if it's one search item or multiple.

Also, FYI #60018

Having an absolutely invasive company's search engine is not a solution to anything

So this is likely not a new issue.

+1. @nordicjm unless you are seeing other examples of regressions like this one, I think we can close this.

It's an issue, I don't see why it should be closed, regardless if it's one search item or multiple.

At least can we agree it's a dupe of #55173? :)

So this is likely not a new issue.

+1. @nordicjm unless you are seeing other examples of regressions like this one, I think we can close this.

It's an issue, I don't see why it should be closed, regardless if it's one search item or multiple.

At least can we agree it's a dupe of #55173? :)

Yes, dupe of that


SendGrid emails into updated template

Currently SendGrid emails look like this and need to be updated to match our brand colors and include a logo, as we did for the Okta emails. Also looks like there are some formatting issues with the text.

Invited Victor and Rebecca to edit these in SendGrid directly.

Went in and made some copy and button color changes to the templates, added logo. @vz3 do want to go in and have a look to be sure everything looks ok, design wise?
According to Nick C. these are the SendGrid templates we're currently using.

ACCOUNT_REQUEST
ID_VERIFICATION_FAILED
ORGANIZATION_ID_VERIFICATION_REMINDER
SIMPLE_REPORT_TEST_RESULT

@vz3 flagging for you to review and have a look at SendGrid templates. Are these good to go?

@vz3 Please let Rebecca know if these are good to go.

I’ve updated these templates to more closely match the Okta ones, they're good to go from design. @Rebecca-LM can you make sure I didn’t accidentally touch any of your content? All my changes are live.

@LGFranklin because the changes are live I think we can close this. But would still like RLM to do that last spot-check.

Will take a look soon!

@vz3 all of these look good! Closing the ticket. Made a couple tweaks to the test results one to include a note about entering in DOB correctly, and that after 5 days they have to contact their testing facility directly for the result. FYI: @emmastephenson


Fix sub-route termination

This should fix #51.
I shamelessly copied the test code from https://github.com/riot/route/issues/51#issue-128427555 (thanks, @wiz).
Instead of just returning a function that loses the object context of itself, now the stop() function directly sits on the instance.

cool thanks @chmanie

I think this still doesn't work. It seems to stop the main router as well. Can you confirm?

@cognitom could you verify this pull request please?

It seems to stop the main router as well. Can you confirm?

Just stumbled into this while registering another subroute. Apparently something somewhere else in my app was silently "fixing" this so I haven't noticed at once.

@cognitom can you merge please the pull requests so we can make a new riot release updating the router as well


deploy_nixos: add envvar to pass IdentityFile to ssh

Sometimes ssh does not recognize the right pubkey to use (there’s an
upper limit on how many are checked), so we need a way to pass it
manually to terraform.

So as input variable instead? https://learn.hashicorp.com/terraform/getting-started/variables.html

@zimbatm I added it as a variable, also to the push of the key files (which I missed before). PTAL (the commits have more description).


Add support for directory filtering

This is a really great tool!
I'm trying to use it outside of git, and apparently there's no easy way to filter out directories. There are some directories (venv for python, node_modules for js etc) which I definitely DO NOT want to diff. It's possible to implement this via reading a file (.gitignore?) or pass it in as an arg (or have it on by default). Are there any plans for this? I'm open to contributing if this sounds good and you need the extra hands 😄

This seems like a totally reasonable thing to add, I'm open to PRs here :)


Fatal error in TileOps: invalid combination

I have an RNN I adapted from the PTB example that works fine on CPU.  But when I try to run it on a GPU, it dies with:
F tensorflow/core/kernels/tile_ops.cc:131] TileOp: Invalid combination of Device, DT and NDIM: N5Eigen9GpuDeviceE, float, 0
I'm guessing this is complaining about a 0-dimensional tensor?  What's going on?

https://github.com/tensorflow/tensorflow/blob/9c3043ff3bf31a6a81810b4ce9e87ef936f1f529/tensorflow/core/kernels/tile_ops.cc#L383
Looks like it :(
@girving: is there a fix on the way or is this something more fundamental?

Tile is a nop for scalars, so we just need to copy the input to the output.  Eigen can stay broken. :)

Fix in review.

Fixed.  @bndnn: Thank you for reporting!

Thanks for the quick attention!  When can I expect the fix to hit github?  Or I'm happy to pull from googlesource.com if that'll happen faster.

We push to github/googlesource at the same time -- I'll try to upstream our commits in a few hours.

Awesome!  Thanks!


MAINT: comment out macos briefcase bundle

Description

Disable creating of macOS briefcase bundle as it is failing
Type of change

[ ] Bug-fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change
[ ] example: I check if my changes works with both PySide and PyQt backends
as there are small differences between the two Qt bindings.

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

LGTM. I'll investigate what's going on with the error later this week.

I'm merging this to make things green again, though will likely follow up with #5152 soon once we've asserted that the bundle actually looks good.


Unroll loop support for free0, free1 dimension

-support to unroll in Free0,Free1 dimension.

@ramjana Please resolve conflicts so that CI can run.  Thanks.

Inactivity.  Can reopen later.


Turrets

Description
For this feature we will be implementing turrets into the game. They will target enemies within the game world and fire projectiles at them. They will have a 'vision' radius around them and when an enemy enters a turrets vision it will turn to face the enemy and fire. For this we will use the ProximityActivationComponent. As an extension to this feature, if time permits, we will add an ammunition system which will be consumed when firing and will need refilling manually by the player. This adds more dynamic gameplay to the feature wherein players can't just set up turrets and forget about an extractor. Instead, they will be forced to go between each site to ensure their defenses are well maintained.
Examples (optional)

Part/Feature: Depending on the ticket, you will often want to provide some examples of how it would play out in the game. See next point for example...
map seed: maps can be generated from a "seed" where there may be different attributes, e.g. island, mainland, etc.

Dependencies

[x] Proximity activation component
[x] Enemy targeting system
[x] Health bar component
[x] Extractor resources
[x] Inventory system

Milestones
List of sub-features you intend to have done and in Master by the end of the sprint.

[ ] #161
[x] #148
[x] #154 (Sept 9)
[x] #163
[x] Interactions (upgrading and healing) (Sept 9)
[x] #150 (Sept 11)
[ ] #206

Completion Deadline: Sep. 13
Extras (optional)

[ ] Different turret varieties (laser, fire, etc.)
[ ] Limited ammunition. Needs filling.
[x] Ammunition crate
[ ] Scanning animations

Documentation
To be completed
Members
Rowan (@rowan-gray) (Rowan Gray)
Yuvraj (@yuvrajsingh001) (Yuvraj Singh)
Khushi (@khushijain0302) (Khushi Jain)
Raghav (@NotRaghavAggarwal) (Raghav Aggarwal)
Yugansh (@Yugansh-Uq) (Yugansh Pancholi)

Implement Ammunition System for Turrets  #206

Completed yay


YouTube: Extractor selects worse quality on specific video

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
yt-dlp selects worse video quality on specific YouTube video, perhaps because it's age restricted. In this case 137 is much better but not selected.
URL: https://www.youtube.com/watch?v=WCwhGCEsU8Q

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
`[debug] Command-line config: ['--verbose', 'WCwhGCEsU8Q', '-s']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp-nightly-builds [6f9e65374] (pip)
[debug] Python 3.11.7 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 3.0.11 19 Sep 2023)
[debug] exe versions: ffmpeg git-2024-08-19-507c2a5-ffmpeg-windows-build-helpers (fdk,setts), ffprobe git-2022-10-25-9bed814-ffmpeg-windows-build-helpers, phantomjs 2.1.1
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.07.04, mutagen-1.47.0, requests-2.32.3, sqlite3-3.43.1, urllib3-1.26.19, websockets-13.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1830 extractors
[youtube] Extracting URL: WCwhGCEsU8Q
[youtube] WCwhGCEsU8Q: Downloading webpage
[youtube] WCwhGCEsU8Q: Downloading ios player API JSON
[youtube] WCwhGCEsU8Q: This video is age-restricted; some formats may be missing without authentication. Use --cookies-from-browser or --cookies for the authentication. See  https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp  for how to manually pass cookies
[youtube] WCwhGCEsU8Q: Downloading tv embedded player API JSON
[youtube] WCwhGCEsU8Q: Downloading web creator player API JSON
[debug] [youtube] Extracting signature function js_a87a9450_108
[debug] Loading youtube-sigfuncs.js_a87a9450_108 from cache
[debug] Loading youtube-nsig.a87a9450 from cache
[debug] [youtube] Decrypted nsig glAAC6_Aond9E-5M => 3iGZRl6JW4ZbLQ
[debug] Loading youtube-nsig.a87a9450 from cache
[debug] [youtube] Decrypted nsig Qx0dBKPN6hj41m-U => jLEPtJGV-ccgig
[debug] [youtube] Extracting signature function js_a87a9450_104
[debug] Loading youtube-sigfuncs.js_a87a9450_104 from cache
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, size, br, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] WCwhGCEsU8Q: Downloading 1 format(s): 248+251`

There is no way to know for yt-dlp what video will actually "look better", as such various metrics are used to make a guess on what video will be higher quality.
This is the default sort order yt-dlp uses:
lang,quality,res,fps,hdr:12,vcodec:vp9.2,channels,acodec,size,br,asr,proto,ext,hasaud,source,id

So res has higher priority than fps, than vcodec, than size and so on.
In effect, this means that if multiple formats all have the same resolution, yt-dlp will next see if one of them has a higher frame rate, then it will compare the codec, and only later the actual size. This is done since a 128 kbps mp3 file would sound much worse than a 100 kbps opus file even though the mp3 file is larger.
yt-dlp has a preference for more modern, more efficient codecs. For the video, vp9 is rated higher than AVC, since it is generally considered more efficient.
With YouTube in particular, this can depend on video by video and even scene by scene basis.
Now taking a look at this particular example, since it is very low-quality source footage, both format 137 and 248 look very similar to me. At less than half the filesize vp9 seems like the better choice to me.
Either way, there is no silver bullet to determine the video quality in advance. If you really want to get the highest quality, you will need to download compare for yourself.

I guess you would want something like -S "res,source,fps,vcodec:-avc", but take a look at the readme and see what combination of format sorting and format selection options fits your needs https://github.com/yt-dlp/yt-dlp?tab=readme-ov-file#sorting-formats


2fa needed improvment

need white border space on dark mode for QR code
entering incorrect code leads to be a 400 error code that is not very clear
other devices will be logged out when setting up totp

The first bullet is done in my UI PR

The first bullet is done in my UI PR

awesome. thanks!

Closing this as 1. is pending on a PR and 2 and 3 have been addressed


⚠ Secret Website 3 has degraded performance

In 58577b2, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 13605 ms

Resolved: Secret Website 3 performance has improved in 99d0f1a.


be able to run multiple code blocks in a single slide

Fix the problem that is unable to run multiple code blocks in a single slide.

Thanks so much for this contribution! ❤ I'll take a look and test it out soon!

By the way, would you be anle to fix the passing tests, since right now they only work for parsing single code blocks?

By the way, would you be anle to fix the passing tests, since right now they only work for parsing single code blocks?

OK. I finish updating the test codes.

Looks great, thank you!


Issues in using y-dat instead of websocket

As described here: https://github.com/BitPhinix/slate-yjs-example/issues/88
I'm trying to use y-dat instead of websocket in this slate-yjs example, but I'm having some issues:
This is what I've done so far, but getting errors:
In https://github.com/BitPhinix/slate-yjs-example/blob/master/src/Client.tsx :
import styled from "@emotion/styled";
import React, { useEffect, useMemo, useState } from "react";
import { createEditor, Node } from "slate";
import { withHistory } from "slate-history";
import { withReact } from "slate-react";
import {
  SyncElement,
  toSharedType,
  useCursors,
  withCursor,
  withYjs,
} from "slate-yjs";
import { WebsocketProvider } from "y-websocket";
import * as Y from "yjs";

import { DatProvider } from 'y-dat'
//import * as awarenessProtocol from 'y-protocols/awareness.js'

import { Button, H4, Instance, Title } from "./Components";
import EditorFrame from "./EditorFrame";
import { withLinks } from "./plugins/link";
import randomColor from "randomcolor";

const WEBSOCKET_ENDPOINT =
  process.env.NODE_ENV === "production"
    ? "wss://demos.yjs.dev/slate-demo"
    : "ws://localhost:1234";

interface ClientProps {
  name: string;
  id: string;
  slug: string;
  removeUser: (id: any) => void;
}

const Client: React.FC<ClientProps> = ({ id, name, slug, removeUser }) => {
  const [value, setValue] = useState<Node[]>([]);
  const [isOnline, setOnlineState] = useState<boolean>(false);

  const color = useMemo(
    () =>
      randomColor({
        luminosity: "dark",
        format: "rgba",
        alpha: 1,
      }),
    []
  );

  const doc = new Y.Doc();

  const givenDatKey = Buffer.alloc(32)

  //let awareness = new awarenessProtocol.Awareness(doc)

  const [sharedType, provider] = useMemo(() => {
    const sharedType = doc.getArray<SyncElement>("content");
    //const provider = new WebsocketProvider(WEBSOCKET_ENDPOINT, slug, doc, {
      //connect: false,
    //});

    const provider = new DatProvider(givenDatKey, doc, {
      //awareness: awareness,
    })

    return [sharedType, provider];
  }, [id]);

  const editor = useMemo(() => {
    const editor = withCursor(
      withYjs(withLinks(withReact(withHistory(createEditor()))), sharedType),
      //provider.awareness
      //awareness

    );

    return editor;
  }, [sharedType, provider]);

  useEffect(() => {
    provider.on("status", ({ status }: { status: string }) => {
      setOnlineState(status === "connected");
    });

    //provider.awareness.setLocalState({
      //alphaColor: color.slice(0, -2) + "0.2)",
      //color,
      //name,
    //});

    // Super hacky way to provide a initial value from the client, if
    // you plan to use y-websocket in prod you probably should provide the
    // initial state from the server.
    provider.on("sync", (isSynced: boolean) => {
      if (isSynced && sharedType.length === 0) {
        toSharedType(sharedType, [
          { type: "paragraph", children: [{ text: "Hello world!" }] },
        ]);
      }
    });

    //provider.connect();
    return () => {
      //provider.disconnect();
    };
  }, [provider]);

  const { decorate } = useCursors(editor);

  const toggleOnline = () => {
    //isOnline ? provider.disconnect() : provider.connect();
  };

  return (
    <Instance online={isOnline}>
      <Title>
        Editor: {name}

          <Button type="button" onClick={toggleOnline}>
            Go {isOnline ? "offline" : "online"}
          </Button>
          <Button type="button" onClick={() => removeUser(id)}>
            Remove
          </Button>

      </Title>

      <EditorFrame
        editor={editor}
        value={value}
        decorate={decorate}
        onChange={(value: Node[]) => setValue(value)}
      />
    </Instance>
  );
};

export default Client;

const Head = styled(H4)`
  margin-right: auto;
`;

As you can see, I've encountered few problems in trying to use y-dat instead of websocket:

ydat doesn't have awareness:
so... how to correctly include awareness if y-dat seems to not have it?

I tried to use import * as awarenessProtocol from 'y-protocols/awareness.js' but without succeeding...

DatProvider seems to not have connect and disconnect properties:
so... how to include these properties?

Any suggestions and hints are warmly welcomed.

As you can see, I've encountered few problems in trying to use y-dat instead of websocket:

I'm sorry, but this way too much code for me to debug.

ydat doesn't have awareness:

y-dat has an awareness property, like any other provider that I created. I'm not sure what gives you the idea that y-dat doesn't have awareness?

DatProvider seems to not have connect and disconnect properties: so... how to include these properties?

You can create a PR to this repository. These methods are not implemented as they were not needed by my project.


Forward ref

This closes a gap in compatibility with upstream React. While the current Roact implementation doesn't support refs assigned to non-host components, it also doesn't provide a way for non-host components to forward refs idiomatically as described here: https://reactjs.org/docs/forwarding-refs.html
This change introduces an upstream-compatible forwardRef API and loosely adapts some of the upstream tests as well.
Checklist before submitting:

[ ] Add a test to validate that the ref isn't also provided as a member of props
[ ] Added entry to CHANGELOG.md
[x] Added/updated relevant tests
[ ] Added/updated documentation

Coverage increased (+0.06%) to 94.244% when pulling 16587b37e887df91512c464ecd61505c44cef5f4 on forwardRef into 8312f84ee96c2f4703183999d8a02e111c4668bd on master.


OPENCAST-3077 - Merge 8.x LTI code

PR merges over all the LTI code from 8.x into 14.x.

@NgoniChoga I'm not sure the modules/db/ change belongs in this PR?

@NgoniChoga I'm not sure the modules/db/ change belongs in this PR?

Hi @smarquard, that is from a revert that was required to make our branch's build pass. I believe it is also failling on master (14.x). Happy to make it a separate PR if you deem it necessary.

@NgoniChoga I'm not sure the modules/db/ change belongs in this PR?

Hi @smarquard, that is from a revert that was required to make our branch's build pass. I believe it is also failling on master (14.x). Happy to make it a separate PR if you deem it necessary.

It's cleaner probably to just push that commit to our 14.x directly and merge to this branch so it doesn't show as a diff, but it doesn't make too much difference so let's just merge and go ahead.


Export local authority links and associated data to a CSV

Add class and tests to export all links to csv.
Add rake task.
The plan is to put these on data.gov.uk and for them to be as
close to the old LDG CSVs as possible so people can still use
them.
Add a scheduled job to run the export rake task daily at 3am
There is a symlink from shared/data to public/data inside the current release on each backend box. This done in govuk-app-deployment to persist the data between releases.

We don't want to use a distributed lock on this task as we need the file to
exist on each host.
Trello card
Mobbed with @brenetic @issyl0

I'm wondering if this would be more future proof if we went for using ActiveRecord models when writing out the data to CSV rather than a big SQL query. If in future our database table structure changes, this SQL statement may have to be updated as well, which is arguably harder than dealing with (primarily the Link) Active Record objects. Just a thought though, curious what other people think.

We started by using ActiveRecord but found that it didn't work quite how we thought and ended up making a load of individual queries (which took significantly longer - ~9 minutes as opposed to ~ 10 secs for this query).
We took inspiration from Transition so assumed this was not inappropriate.

@davidbasalla We tried the ActiveRecord equivalent of this query, but it was very slow (~10 minutes) compared to the ~10 seconds the raw SQL takes (both running on integration). This raw SQL query follows Transition's lead for exporting things.

We could do a combo of both and use the ActiveRelation API to build the SQL query but still use the COPY / CSV features of Postgres to run the query and avoid instantiating all the objects that would slow it down when using AR.

Yeah, as an academic exercise it would be interesting to see if the slow performance was caused by loads of SQL queries (something which should be solvable with using .includes) or the object instantiation. As personal preference, I'd be happier with less raw SQL even with an 'acceptable' hit to performance. Let me know if you want to try what @h-lame suggested above, would be interesting to see how that works...

@davidbasalla @h-lame  Hybrid version in effect

Good stuff.  Merging.


Move project specific documentation (specs) to the project wiki

Rather than the documentation repository.

[x] Buffer spec file
[x] Neighbourhood battery

This has been done as part of https://github.com/quintel/etmoses/issues/893. Re-open if you disagree.


support tests/ with elm 0.19.0

With earlier elm versions, a separate package file is maintained for tests, which when properly configured enabled the compiler to find what it needed to compile the tests.  Under elm 0.19, test dependencies are managed in the top-level package file, so elm make will fail on the tests.  elm-test make is required in this case.
See https://github.com/elm-explorations/test/issues/64
I am unable to test on windows currently, but it works for me in the wild, and I have added tests for the new behavior.
Also I updated the tests to test behavior when elm package file is present (which is pretty much always).

Okay, I see that the CI tests do run on windows, and will have a look at fixing them.
The travis CI build failure is harder to understand.  I ran all the docker tests with run-test and they passed.  Any suggestions on how to debug that?

Easiest way is ctrl-f and look for (X):
  Starting Vader: /testplugin/test/command_callback/test_elm_make_command_callback.vader
    (1/5) [EXECUTE] should get valid executable with default params
    (2/5) [EXECUTE] should get elm-test executable for test code with elm >= 0.19
    (2/5) [EXECUTE] (X) ['elm', 'cd ''/testplugin/test/elm-test-files/newapp'' && ''elm'' make --report=json --output=/dev/null %t'] should be equal to ['/testplugin/test/elm-test-files/newapp/node_modules/.bin/elm-test', 'cd ''/testplugin/test/elm-test-files/newapp'' && ''/testplugin/test/elm-test-files/newapp/node_modules/.bin/elm-test'' make --report=json --output=/dev/null %t']
    (3/5) [EXECUTE] should get plain elm executable for test code with elm < 0.19
    (3/5) [EXECUTE] (X) ['elm', 'cd ''/testplugin/test/elm-test-files/oldapp'' && ''elm'' make --report=json --output=/dev/null %t'] should be equal to ['/testplugin/test/elm-test-files/oldapp/node_modules/.bin/elm', 'cd ''/testplugin/test/elm-test-files/oldapp'' && ''/testplugin/test/elm-test-files/oldapp/node_modules/.bin/elm'' make --report=json --output=/dev/null %t']
    (4/5) [EXECUTE] should get valid executable with 'use_global' params
    (5/5) [EXECUTE] should get valid executable with 'use_global' and 'executable' params
  Success/Total: 3/5

@RyanSquared thanks.  Finding the failed test (mine) wasn’t a problem.  What I don’t understand is why the results of the CI would differ from the results I get when I run the docker container locally, since on the face of it, the environments should be the same.  If I find more time for this, I will dig deeper.  In the meantime, it works for me, at least.

ah.  I see.

Well, this PR is ready to go.  It seems that the test failures are coming from master.

Yeah, I'll fix those. I'm not surprised if Windows tests can fail.

Cheers! :beers:

thanks!


Remove the "." and "/" (at the end of folders name) from file manage dialog (open scene, open file, ...)

Nothing harmful, just small change - remove the "." from file manager dialog.
It is not a bug, but undesired to be there: its not clickable anyway, you can't anyhow interact with it, just received from filesystem besides files/directories and not sorted out initially, and since it do nothing when you click it - no point to display it and confuse newbies.
Godot 2.1 also doesn't have it.
Same done for the "/" at end of folders name. Also useless addition, not making any useful  functional/cosmetic use.
Screenshot of Open Scene file manager: https://i.imgur.com/3oNMJN5.png

Screenshot of in-game filedialog control: https://i.imgur.com/k4lC2eq.png

Does it impact directory selection? (e.g. when selecting a folder for a new project)
Because in such case . is necessary to select the current dir.

@akien-mga I thought Godot auto-selected . for you when you hit open in those types of dialogs. Do you really need a . to select? Because I haven't been selecting . when selecting directories.

Didn't think of that. Ideally you should be able to deselect, which would mean the current directory. If that's not possible then we bring back the . to the listing.

@vnen if this became a problem, I can just implement deselecting when clicking on empty space in file manager. I suppose it will be more intuitive.

@Krakean if you can do that, it would be great.

Then how would you reselect after deselecting?
. was actually added because many users found the dialog very confusing and non-intuitive when they needed to select a folder. . being selected makes it clear that it's the current folder and not just "nothing".

You could do like some Windows dialogs do and change the "Open" button to say "Select Folder", at least in times where we are selecting a folder. Or perhaps "Select Current Folder". That would make it clear it's the current folder you're selecting, and not just nothing.

@LikeLakers2 agree with you.
@vnen no problem at all.
I will make my proposals here in the end of week, but first of all I want to finish with collapse all / expand all buttons for inspector (issue #9427)

In my opinion this should be partially reverted to bring back . in the folder selection dialogs. . as the current directory is a de facto standard, no need to change it for the sake of change.

I had some trouble with this when I create a new project.

new project
browse
create folder
open

now you select parent folder, not created one. :confused:

Yup, if we want to keep this then Create Folder should be changed not to enter the folder.

maybe, but it should select current folder if enter the folder manually.

Yeah, if you have .. selected, it uses the parent folder (which is odd to me, since why would enter a folder and then select its parent?)

and personally, I like to enter the folder when I create it.
that makes me easy to create another subfolder.
I usually make subfolder when I create a new project.

project_root_folder

godot_folder
other_resource_folders

@volzhs

now you select parent folder, not created one. 😕

@vnen

Yeah, if you have .. selected, it uses the parent folder (which is odd to me, since why would enter a folder and then select its parent?)

Its already fixed few days ago in #13252, just not merged yet. Admins are busy, seems like.


feat: Increase card number on landing

Thank you for your contribution to the KodaDot NFT gallery.
just increase the card number on landing page, make it 6 card on width > 1280 and 4 on width > 1024.
also improve the card slide step on different width
@exezbcz mr.designer if there's any suggestion please tell me lol
👇 _ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[x] Feature
[ ] Refactoring

Context

[x] Closes #5256
[ ] Requires deployment <>

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </bsx/collection>
[x] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

bruh, new thing calling me like that? :D
Let's make it 5 card on width > 1280 and 4 on width > 1024.
and if it would be possible - add breakpoint for 1540 (where currently is for the top collections) and put 6 cards there
This way you wont get 6 small cards on 13" screens

plus for the xl screens, can you edit the featured articles part? Maybe like from 1540 - 4 cards instead of 3

Thanks!

@exezbcz updated

@floyd-li yes, good!

pay 20 usd

😍 Perfect, I’ve sent the payout
💵 $20 @ 37.31 USD/KSM ~ 0.536 $KSM
🧗 EZiu1PjV2j2JHKxY6mHnFwwCRCoV27uHKQSkKXATSh1srJT
🔗 0x9982ef70cac1c1a1052bcf0c8b37ec7dd0a687acfe7138914c4aba98dc54bb3f
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Be careful

This might suggest an affiliation with Roblox

I'm not sure what you mean. The summary says it's not, but you're free to suggest alternative ways to show that this is unaffiliated with Roblox so I can avoid confusing people.


Update packages (except pipelines) and fix concrete OwnedMemory implementation tests.

Borrow the changes to CustomMemoryForTest.Release from https://github.com/dotnet/corefx/pull/27615/files#diff-8be179eaf348dead3d5526b76b185551R95
We should probably make similar changes to the one in corefx - https://github.com/dotnet/corefx/blob/master/src/System.Memory/tests/Memory/CustomMemoryForTest.cs#L91
I excluded System.IO.Pipelines from the update because it was causing Visual Studio to crash for some unknown reason:
See https://github.com/dotnet/corefxlab/pull/2150#issuecomment-371679256 for details.
cc @KrzysztofCwalina, @davidfowl, @pakrym, @stephentoub

@dotnet-bot test Innerloop Windows_NT Debug Build and Test


Activate SSE2 test on windows

Turns out AVX2 is always enabled in the source code
https://github.com/xtensor-stack/xsimd/blob/master/test/CMakeLists.txt#L92
@serge-sans-paille

thanks @cyb70289 . I now have a clean reproducer for your bug, is that okay if I cherry-pick your fix in this branch and adjust it?

Sure, no problem

All green. Thanks @cyb70289 for the hints! and cc @JohanMabille for the merge.

@cyb70289 unfortunately, I'm not able to reproduce the windows error locally (on xsimd::extract_pair) could you have a look?

yeah, note that this makes the validation pass :-) So unless the validation
itself is not correctly written...

@cyb70289 can you confirm e.g. on your code base that current implementation is correct, i.e. that the tests are well-written?

@cyb70289 can you confirm e.g. on your code base that current implementation is correct, i.e. that the tests are well-written?

I use extract_pair in my simd code. It works correctly on both x86 and arm.
So I guess maybe xsimd test is not correct. Will have a look at my side.

Looks to me this test code to generate expected result is wrong:
https://github.com/xtensor-stack/xsimd/blob/master/test/test_extract_pair.cpp#L35-L42
_mm_alignr_epi8(lhs, rhs, 1) should return (from lsb to msb) rhs[1] rhs[2] ... rhs[15] lhs[0],
but the test code expects lhs[1] lhs[2] ... lhs[15] rhs[0].
https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm_alignr_epi8&expand=302

All green! cc @JohanMabille this one costed me quite a lot of effort :-)

Congratulation on this one!


Alluxio Fuse exits with transport not connected

Alluxio Version:
Alluxio Fuse: 2.8.0-SNAPSHOT-3eabe2925d4ef0c6e6e2e3c2a6b7f94b575bcddc
Alluxio servers: 2.7.2
Describe the bug
40 Fuse training nodes launches to read data from Alluxio.
Most of the training nodes succeed, but a small amount of training nodes failed to read data from Alluxio.
Fuse pod is likely crash with error transport not connected.
alluxio-fuse-2.log
2022-02-16 11:52:57,166 DEBUG AlluxioJniFuseFileSystem - Enter: Fuse.Readdir(path=/hdfstest-global,buf=139587108868208)
2022-02-16 11:54:35,259 WARN  FileSystemMasterClient - ListStatus(path=/hdfstest-global,options=loadMetadataType: ONCE
commonOptions {
  syncIntervalMs: -1
  ttl: -1
  ttlAction: FREE
}
loadMetadataOnly: false
) exits with exception [alluxio.exception.status.UnavailableException: Failed after 1 attempts: alluxio.exception.status.UnavailableException: Keepalive failed. The connection is likely gone] in 98088 ms (>=1000ms)
2022-02-16 11:54:35,260 ERROR AlluxioJniFuseFileSystem - Failed to readdir /hdfstest-global:
alluxio.exception.status.UnavailableException: Failed after 1 attempts: alluxio.exception.status.UnavailableException: Keepalive failed. The connection is likely gone
	at alluxio.AbstractClient.retryRPCInternal(AbstractClient.java:423)
	at alluxio.AbstractClient.retryRPC(AbstractClient.java:372)
	at alluxio.client.file.RetryHandlingFileSystemMasterClient.iterateStatus(RetryHandlingFileSystemMasterClient.java:253)
	at alluxio.client.file.BaseFileSystem.lambda$iterateStatus$11(BaseFileSystem.java:299)
	at alluxio.client.file.BaseFileSystem.rpc(BaseFileSystem.java:566)
	at alluxio.client.file.BaseFileSystem.iterateStatus(BaseFileSystem.java:295)
	at alluxio.client.file.MetadataCachingBaseFileSystem.iterateStatus(MetadataCachingBaseFileSystem.java:164)
	at alluxio.client.file.FileSystem.iterateStatus(FileSystem.java:373)
	at alluxio.fuse.AlluxioJniFuseFileSystem.readdirInternal(AlluxioJniFuseFileSystem.java:342)
	at alluxio.fuse.AlluxioJniFuseFileSystem.lambda$readdir$2(AlluxioJniFuseFileSystem.java:330)
	at alluxio.fuse.AlluxioFuseUtils.call(AlluxioFuseUtils.java:305)
	at alluxio.fuse.AlluxioJniFuseFileSystem.readdir(AlluxioJniFuseFileSystem.java:330)
	at alluxio.jnifuse.AbstractFuseFileSystem.readdirCallback(AbstractFuseFileSystem.java:199)
Caused by: alluxio.exception.status.UnavailableException: Keepalive failed. The connection is likely gone
	at alluxio.exception.status.AlluxioStatusException.from(AlluxioStatusException.java:156)
	at alluxio.exception.status.AlluxioStatusException.fromStatusRuntimeException(AlluxioStatusException.java:224)
	at alluxio.AbstractClient.retryRPCInternal(AbstractClient.java:408)
	... 12 more
Caused by: io.grpc.StatusRuntimeException: UNAVAILABLE: Keepalive failed. The connection is likely gone
	at io.grpc.Status.asRuntimeException(Status.java:535)
	at io.grpc.stub.ClientCalls$BlockingResponseStream.hasNext(ClientCalls.java:648)
	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:132)
	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
	at alluxio.client.file.RetryHandlingFileSystemMasterClient.lambda$iterateStatus$16(RetryHandlingFileSystemMasterClient.java:264)
	at alluxio.AbstractClient.retryRPCInternal(AbstractClient.java:406)
	... 12 more
2022-02-16 11:54:35,264 DEBUG AlluxioJniFuseFileSystem - Exit (-5): Fuse.Readdir(path=/hdfstest-global,buf=139587108868208) in 98098 ms
2022-02-16 11:54:35,264 WARN  AlluxioJniFuseFileSystem - Fuse.Readdir(path=/hdfstest-global,buf=139587108868208) returned -5 in 98098 ms (>=10000 ms)
   unique: 346, error: -5 (Input/output error), outsize: 16

To Reproduce
Steps to reproduce the behavior (as minimally and precisely as possible)
Expected behavior
A clear and concise description of what you expected to happen.
Urgency
Describe the impact and urgency of the bug.
Are you planning to fix it
Please indicate if you are already working on a PR.
Additional context
Add any other context about the problem here.

This problem is likely because version mismatch.
Change Fuse version to 2.7.2, and this issue haven't occurred again

Next steps: Add Alluxio logs to get more information about this type of error.
Instead of letting Fuse exit without any information, we need to get more info.

read 90/100 and then crash

alluxio-fuse-17-warm.log
[alluxio-fuse-35-cold.log
alluxio-fuse-9-cold.log
](https://github.com/Alluxio/alluxio/files/8106733/alluxio-fuse-35-cold.log)

Log only occur for < 1min, but application succeed runs for 7 to 1h, majority of data read, random place occur problem.

https://github.com/Alluxio/alluxio/pull/15038

Alluxio Fuse process launched and logs normally -> logs disappear after 1 second but Alluxio Fuse process is still serving requests (application can still read normally) -> Fuse mount point transport not connected after reading more than 60% of data.
@Nizifan, can you help check the following information

/var/log/message -> may tell us whether this process is killed by the operating system
when logs disappeared but Fuse process is running as normal, can you help take a jstack of the Fuse process?

@yyongycy any other information is helpful? or any thoughts about why the above behavior will happen?

@LuQQiu according to my former experiment,  the log does not disappear when the fuse is still serving.
But when it hit transport not connected, the log just disappeared.
I may try to save the log in fuse process when crash is detected.


Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.
Atom.Object.defineProperty.get (c:\Users\lenovo\AppData\Local\atom\app-0.174.0\resources\app\src\atom.js:55:11)
<unknown> (c:\Users\lenovo\.atom\packages\laravel-facades\lib\laravel-facades.coffee:43:13)

I haven't used Atom recently, but I'll look into this and see if I can put out a fix when I have time.


Metrics shows UNDEF in total

Hello. I have trouble in stats:
when I try to get openvpn_server_connected_clients it shows data with UNDEF:
Here is Openvpn version 2 output:
CLIENT_LIST,UNDEF,XXX.XXX.XXX.XXX:60016,,,0,0,2021-08-05 21:30:28,1628188228,UNDEF,32,0,AES-128-CBC
CLIENT_LIST,UNDEF,XXX.XXX.XXX.XXX:52335,,,0,0,2021-08-05 21:30:26,1628188226,UNDEF,30,0,AES-128-CBC
CLIENT_LIST,UNDEF,XXX.XXX.XXX.XXX:45030,,,0,0,2021-08-05 21:30:47,1628188247,UNDEF,59,0,AES-128-CBC
CLIENT_LIST,UNDEF,XXX.XXX.XXX.XXX:54681,,,0,0,2021-08-05 21:31:18,1628188278,UNDEF,93,0,AES-128-CBC
CLIENT_LIST,UNDEF,XXX.XXX.XXX.XXX:48295,,,0,0,2021-08-05 21:31:14,1628188274,UNDEF,87,0,AES-128-CBC

Maybe I can filter with other variables but I think it's important.

I can count for example:
count(openvpn_server_client_received_bytes_total{common_name!="UNDEF"})by(instance)
I use it for many hosts and filtered by instance


Station commodities not always being loaded

I have found that frequently the station.commodities list is not being populated when I arrive at a new station (.g. Dock).  I hve reviewed the log file and the data is being returned by the appropriate companion/EDDN service.  However, when Iask EDDI to report on the number of commodities available at this station it frequently says 0.
I will try to create a logfile that demonstrates this (and does not have other irrelevant stuff).

Here is the EDDI log extract for my most recent docking.  As you can see, the station data is return correctly, however when I call len(thisstation.commodities) it returns 0
eddi-1.log.txt

Sometimes the companion API runs slowly, as in the log you provided where you can see that the station the commodities is returned for is not the station at which you docked.  Although EDDI could in theory keep poking the companion API until it receives the correct result this would add a significant amount of complexity due to the various combinations of player and API states, and is not something I'm planning on tackling inside EDDI.


intergrate init db in binary

we don't need to have a init db files and config, just embed the db file in binary

this could replace with #317


Optimize RPC calls

Background
We are using our hosted Alchemy RPC way too much. We are using 1M requests a day.
Linked Issues & Documentation

List of linked issues, external links, etc

Definition Of Done
RPC requests on UI are greatly reduced.
Tasks
The way it should work is:

Use cartographer for "all chains" view data (it's okay if this is slightly latent).
When we drill into a specific chain, then we can use the user's wallet RPC to run RPC calls.

@coinhippo Can you check if the UI is spamming the RPCs or if we have ability to reduce RPC calls, or if it's at SDK layer?


Describe the bug
When removing the starter recipe for Moondrop MK01 the calculator cannot find a solution.
To Reproduce
Steps to reproduce the behavior:

Go to '(https://factoriolab.github.io/list?z=eJwryDLWMjRVS.JTy0y21AIC4zy1opAoLS2nyjoqoXinQgOged51RKN4p5AMoI6yOtwo3sNES6u4jigY72SUTrRitTTDeL94x3infLVikLN9dLW03IG0lqOWgZaxWpk5AL8fciI_&v=7#step_0_recipes)'
See error

Expected behavior
The mod intends for this and most other Alien Life products to use a starter recipe and then input those items into the growth recipes. For Moondrop specifically, you make Moondrops, then turn them into seeds. The seeds then grow into Moondrop, which are again turned into seeds. This is a very cyclical process.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser Chromium
Version 104.0.5112.114

Additional context
Good luck.

In addition the Moondrop seed recipe shown is incorrect. From https://github.com/pyanodon/pyalienlife/blob/910bde2d1c4ce7a6cee027a9b83222609f59a131/prototypes/recipes/moondrop/recipes-moondrop.lua this is the numbers for Moondrop seeds:

The calculator being unable to find the solution is probably not a bug. The recipe being incorrect might be a bug, I'll look into it.

The calculator being unable to find the solution is probably not a bug. The recipe being incorrect might be a bug, I'll look into it.

That's correct. I understand it's intended behavior, but it also does not accurately reflect how a player would put together a factory for that item. This might tie in with #942 in order to have the starter items inserted into production.


fix bundle generator

fix: allow to generate multiple operators from different reconcilers
adding test to bundle extension to cover when csvmetadata is not used
chore: check that all the files are indeed generated
fix: proper file name for generated CRDs

There are at least a couple of possible issues with the current implementation but they should probably be addressed in subsequent PRs:

#313
#314


New exercise: Knapsack

I would like to implement the knapsack exercise in this track.

Go for it!


Suggestion: Update master branch and tag on each release

Could it be possible to update master branch and create a tag on each release  (e.g. use GitFlow as described in http://nvie.com/posts/a-successful-git-branching-model/ )?

Yep, had meant to do it. Will certainly do it going forward.
On 18 Jul 2015 01:02, "Dāvis Mošenkovs"<EMAIL_ADDRESS>wrote:

Could it be possible to update master branch and create a tag on each
release (e.g. use GitFlow as described in
http://nvie.com/posts/a-successful-git-branching-model/ )?
—
Reply to this email directly or view it on GitHub
https://github.com/woutervanwijk/Pi-MusicBox/issues/302.

Thanks! :smile:

Don't think we really need this to be kept open.


Socratic Seminar #26 - October 15, 2024

Please share links for the reading list here. Thank you!

https://blog.dlcmarkets.com/dlc-markets-reshaping-bitcoin-trading/
DLC prediction markets

Bitcoin core 28.0 release
https://github.com/bitcoin/bitcoin/blob/5de225f5c145368f70cb5f870933bcf9df6b92c8/doc/release-notes.md

Core vuln disclosures
https://x.com/bitcoincoreorg/status/1844295932281749848

Manonaut tweet
https://x.com/mononautical/status/1839666999879680451

Bitcoin PIPE: https://www.allocin.it/uploads/placeholder-bitcoin.pdf
And related FedCovs https://rubin.io/public/pdfs/fedcov.pdf

CoinCenter's response to Tornado Cash Dev Roman Storm's defence's denial of a motion to dismiss charges related to operating an unlicensed money service business https://www.coincenter.org/analysis-the-disappointing-denial-of-tornado-devs-motion-to-dismiss/

Bitcoin Layers framework update: https://nitter.privacydev.net/januszg_/status/1843765543943241912
https://www.bitcoinlayers.org/methodology

Strata Devnet is now live and open-source: https://www.stratabtc.org/blog/strata-devnet-is-now-live-open-source

btcd FindAndDelete bug disclosure: https://delvingbitcoin.org/t/cve-2024-38365-public-disclosure-btcd-findanddelete-bug/1184


HTTPListener and FTPListener are never used

I'm trying to handle some basic requests to download files or to list a ftp address but in both cases FakeNet replies always with the DNSServer. Why? I've tried also to force all traffic to HTTPListener or FTPListener but nothing happens (FakeNet doesn't replies to the requests).
Any advise?

Based on our email conversation, it sounds like this was a VM configuration issue (you built a new VM and then the same FakeNet-NG code worked correctly).
I am noting (in case this recurs) that you were using the latest FakeNet-NG as of 10/25 (default listener = proxy listener) on Windows with your default gateway set to x.x.x.254. Please let me know if you have any further trouble.


typings on textureCacheIds fail

I get the following error when trying to get texture cache data to check if the image has been cached:
Property 'textureCacheIds' does not exist on type 'typeof Texture'.ts(2339)

Expected Behavior
an array of image id's (in my case the filenames  of the images)
Current Behavior
typing error
Possible Solution
typings fix?
Steps to Reproduce
console.log(PIXI.Texture.textureCacheIds)
WORK AROUND
iterate over the PIXI.utils.TextureCache to check if the image exists in the cache

pixi.js version: 5.20
Browser & Version: electron 7.1.1 (chrome)
OS & Version:  mac os mojave 10.14.6

I'm not sure you're using this correctly. textureCacheIds is a property on the Texture instance. It is not static. Here's an example: https://www.pixiplayground.com/#/edit/hnws9kc5uY4eaYmuwSV4m

ok thanks .. seems i got confused between the global cache  and the one Texture instance..
documentation is lacking (in todo state)
https://pixijs.download/dev/docs/PIXI.utils.html#.TextureCache
basically I thought there was a helper method that would return an array of the all the keys i have in the static PIXI.utils.TextureCache..
Its actually very confusing:  because  PIXI.Texture has a static method :
addToCache(texture: PIXI.Texture, id: string): void;
which does add to the global cache...  but it does not offer any helper method to retrieve ids from the gloabl cache...  (the textureCacheIds is only for one Texture instance)...
I think this issue should be converted into a feature request for a getGlobalTextureCacheIds helper function... :)

i refactored the logic in my code .. now i just test to see if the texture is in the cache using
if (PIXI.utils.TextureCache["myimagefile"] ) .....
hope its clearer for other people new to texture management


Project a single point from one view to the other

Habitat-Lab and Habitat-Sim versions
Habitat-Lab: 0.1.7
Dear all,
I'm follwing the tutorial at https://aihabitat.org/docs/habitat-lab/view-transform-warp.html.
In particular, I have the camera of the agent and an observation obtained with get_observation_at, as explained in the tutorial.
I need to project one point from the agent's camera to the novel observation. To do so, I compute the intrinsics matrix using
FOV = 90
W = 512
Cx = Cy = W/2
Fx = Fy = (W/2) / np.tan(FOV / 2)
and construct the intrinsics matrix
GIven a point x,y in the original view, I extract the z value from the depth image and compute P as
P_cam0 = [(x - Cx) / Fx * z, (y - Cy) / Fy * z, z, 1]
Next, I build the transformation from cam0 to cam1 as explained in the tutorial and project P onto cam1:
P_cam1 = np.matmul(transformation, P_cam0)
Finally, I compute x_cam1, y_cam1 using the intrinsics matrix as build above
np.matmul(intrinsics_matrix, P_cam1) and divide by P_cam1[2]
Nontheless, the results I'm obtaining are not correct. Can you help me? Am I missing something?
Thanks :)

As that tutorial says, "negate depth as the camera looks along -Z", you need to negate the depth value.

Hi @gianscarpe does the answer above resolve your issue? Thanks!

Closing the issue because it has not had recent activity.


[BUG] card 进入路由时 nzNoHovering 闪现

I'm submitting a...

[x] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Support request => Please do not submit support request here

Current behavior
当路由至一个带有：
<nz-card nzNoHovering="true">
</nz-card>

产生闪现：

confirmed fix.


notifications: Group messages by (recipient, sender) for PM's.

This fixes a issue with multiple PM's being clubbed into a single
missed message email.
Fixes #6224.

Awesome, thanks for fixing this!  Nice and clean.


Update to beta 6

 Still kinks to work out, but here it is.
There is no sadness like the New Beta Workaround Sadness.

:boat:


move target logic into test cmakelist

PR Summary
Ports of call doesn't set the portability strategy in cmake. Must be set downstream. Here we fix the tests so it is set for testing purposes.

PR Checklist

[ ] Any changes to code are appropriately documented.
[ ] Code is formatted.
[ ] Install test passes.
[ ] Docs build.
[ ] If preparing for a new release, update the version in cmake.

@rbberger please re-review

@rbberger one more review please. :) I think all concerns are addressed. If you're happy with it now, please click approve.

@Yurlungur Added a small bug fix to the Spackage as well.


There may be a mistake in your paper

Have you trained the models on images generated by ADM or Latent Diff.?

thanks, there is a mistake
we trained on images generated by Latent Diff.


Disable horusec hard coded rules

What happened: I want to disable specific rules that hardcoded in internal/services/engines/leaks/rules.go
I often get annoyed with these hard-coded rules which tend to show False Positive results and I don't have the ability through Horusec configuration to change or disable them. Any suggestions?
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Horusec version (use horusec version): v2.7.1
Operating System: Ubuntu 20.04
Network plugin / Tool and version (if this is a network-related / tool bug): N/A
Others:

A few hours ago I got another idea by overwriting hard-coded rules with custom rules by using same Rule ID but it will rejected with the error message "id: duplicate rule id XX-XXXX-XX". As per check on this line internal/services/custom_rules/custom_rule.go#L152 we don't allow to overwrite the hard-coded rules.

so does Horusec allow disabling rules, I need to disable some rules because of false positives


URL::previous() fallback from session might be undesirable

Commit 9e484a0b4f34a52b68f8f55c1e6d6929593ce1a9 (and the subsequent c956a531f2668903a72f95e315f9759711af109c) introduced a fallback for URL::previous(), taken from the session, in case the referer is empty.
Considering this method is usually used in some "navigation flow", I think this might be undesirable under some circumstances.
Take the following scenario: user navigates on the site, then open a new tab without referer (bookmark, direct input, whatever). This new tab will have a "previous url" completely unrelated.
Hence, this issue to ask for your thoughts.
For the record, I personally do this:
public function previousOr($fallback)
{
    return $this->to($this->request->header('referer', $fallback));
}

Feel free to discuss on the forums and/or contact Taylor directly. Laravel's issues aren't a way to do that, sorry.

Refs this topic on stack overflow: Laravel 5 redirect()->back() doesn't work as expected.
Both answers are about disabling the "session fallback" behaviour.


feat(sort): add the ability to disable sort toggling

Adds the ability for a mat-sort-header or mat-sort instance to be disabled, preventing the user from changing the sorting direction.
Fixes #8622.

There's an open PR similar to this (#7786) but yours includes a way to disable the MatSort so let's go with that.

LGTM

apply with mat-sort-header, [disabled] = "condition to be true"
Example
<mat-header-cell *matHeaderCellDef mat-sort-header  [disabled]="!sortedColumns.includes(col)"> {{ helper.extract(labels, col) }} </mat-header-cell>


Add support for Visual Studio

MinGW build does not work too due too missing obstack.h :disappointed:

You can get obstack.h from any BSD system (maybe freebsd). Just google for it. It's probably less useful to get obstack.h from linux(glibc) because presumably that will turn all your code into GPL.
Anyway, this code is not maintained any more. Sorry. The reason is that I don't write C any more. For low level system code I use rust (And there is a similar library for rust, although it's less powerful than C version yet)

Thanks for info


Remove API_AVAILABLE(ios(12.0)) uses

The latest React Native iOS minimum is 12.4, so we don't need this. One use is in RCTTextInputUtils.h

See -> https://github.com/facebook/react-native/pull/35835 ;-)

Thanks @christophpurrer! Closing this issue since we should just pick this up in the next merge now


Repo sync for protected CLA branch

The pull request is created from master637720807125456002 to master to fix git push error for protected CLA branch

@opbld17 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Question: Revoke/Rotate Kubernetes Certificates

Hi all,
I was wondering if anyone can guide me to documentation/steps on how to rotate/revoke kubernetes certificates?
Lets say a team member who created the acs-engine cluster leaves company. He/She would have had previously access to the certs below. How do I rotate them?
"ca.crt", "ca.key", "apiserver.crt", "apiserver.key", "client.crt", "client.key", "etcdclient.key", "etcdclient.crt", "etcdserver.crt", "etcdserver.key", "etcdpeer0.crt", "etcdpeer0.key", "kubectlClient.crt", "kubectlClient.key"

Hi @ashishkulk, we don't have a feature that could do this without downtime. How much operational downtime are you able to tolerate?

@jackfrancis  Thanks for getting back to me. We can tolerate downtime of couple of hours if customers are notified beforehand.
We plan to do a Maintenance window and rebuild the whole cluster ground up and restore the pv using heptio ark. Is there a better/recommended way?
I tried to do openssl revoke certificate without success.

Creating a new cluster and migrating over workloads is definitely the preferred way to do this work. I recommend lots of process testing in a staging environment, but it will be safer than spending time trying to wrench a pre-existing cluster into the desired state given the changes you want to perform.

@jackfrancis Ah. Thanks for your recommendation. Appreciate it  :)
Out of curiousity, what would be the manual way. I was playing around on staging environment. I did openssl revoke certificate but it did not work.

I've never done it manually, so I don't have steps for you, unfortunately. :)


AQL query with Length and Filter using index with scalar and array entries [A, B[*] ] returns wrong count

My Environment

ArangoDB Version:        3.7.6, 3.7.9
Storage Engine:             RocksDB
Deployment Mode:       Single Server
Deployment Strategy:   Kubernetes
Configuration:               standard with settings to limit memory consumption
Infrastructure:               own
Operating System:        your docker container arangodb/arangodb
Total RAM in your machine:        4GB
Disks in use:       ceph
Used Package:              using docker image

Component, Query & Data
Affected feature:
AQL query using web interface
AQL query (if applicable):

return length(for c in Content filter c.contentType == 'movie' return c) // returns 40357 instead of 12K

AQL explain and/or profile (if applicable):
Execution plan:
Id   NodeType            Calls   Items   Runtime [s]   Comment
1   SingletonNode           1       1       0.00001   * ROOT
12   SubqueryStartNode       1       2       0.00001     - LET #1 = ( /* subquery begin /
11   IndexNode               1       2       0.05930       - FOR c IN Content   / hash index scan, scan only /    / with count optimization /
13   SubqueryEndNode         1       1       0.00003         - RETURN  c ) / subquery end /
8   CalculationNode         1       1       0.00002     - LET #5 = SUM(#1)   / simple expression */
9   ReturnNode              1       1       0.00002     - RETURN #5
Indexes used:
By   Name                      Type   Collection   Unique   Sparse   Selectivity   Fields                           Ranges
11   idx_1681266476083838976   hash   Content      false    false         0.03 %   [ contentType, genres[*] ]   (c.contentType == "movie")
Optimization rules applied:
Id   RuleName
1   optimize-subqueries
2   move-calculations-up-2
3   use-indexes
4   remove-filter-covered-by-index
5   remove-unnecessary-calculations-2
6   optimize-count
7   splice-subqueries
Dataset:
Size of your Dataset on disk:
~500MB
Replication Factor & Number of Shards (Cluster only):
Single instance
Steps to reproduce

Run Query on web UI, also check other queries below that return the correct results, and my comments

Problem:
for c in Content filter c.contentType == 'movie' return c._id  // returns 12K elements
return length(for c in Content filter c.contentType == 'movie' return c) // returns [40357]
let a = (for c in Content filter c.contentType == 'movie' return {_id: c._id, contentType: c.contentType})
return {a, LEN: length(a)}
// returns 12K in LEN
let a = (for c in Content filter c.contentType == 'movie' return {_id: c._id, contentType: c.contentType})
return length(a)
// returns 40K again
Comments:
it seems that it's using an index with contentType and genres[*]
IMHO, since genres is an array, if a content has two genres it will count as 2
Expected result:
should return the length of the filtered collection, not of the index...

Hi @ajscarvalho,
Thanks for reporting.

it seems that it's using an index with contentType and genres[*]
IMHO, since genres is an array, if a content has two genres it will count as 2

This observation seems to be correct. I created 100 test documents containing an array genres[] with 3 elements and the returned document count was exactly 3x the of the actual count.
Reproducible via latest version 3.7.9 with arangosh:

create test collection

db._createDocumentCollection("Content");

create index on two fields (one array field)

db.Content.ensureIndex({ type: "persistent", fields: [ "contentType", "genres[*]" ] });

insert 100 documents (genres[] contains 3 elements)

db._query(`FOR i IN 1..100 INSERT {    "contentType":"movie",    "genres":[       {          "g1":"a"       },       {          "g2":"b"       },       {          "g3":"c"       }    ] } INTO Content`);

run reported query (FILTER returns all elements since all documents have "contentType":"movie")

db._query(`return length(for c in Content filter c.contentType == 'movie' return c)`);
[object ArangoQueryCursor, count: 1, cached: false, hasMore: false]

[
  300
]

run query which returns the actual document count

db._query(`return length(Content)`);
[object ArangoQueryCursor, count: 1, cached: false, hasMore: false]

[
  100
]

As shown above, using the index contentType, genres[*], the returned document count is 300, which is the true document count times the number of elements in genres[] (100 * 3).

FWIW, the following index and query combination was not affected:
db.Content.ensureIndex({ type: "persistent", fields: [ "contentType", "genres[*].g1" ] });
db._query(`return length(for c in Content filter c.contentType == 'movie' and 'a' in c.genres[*].g1 return c)`);


turn PropertyLabel into an HTML

Why was this change made?
to make usage of the PropertyLabel component more accessible, per #2494
How was this change tested?
manual testing in browser, unit tests
Which documentation and/or configurations were updated?
n/a

This does seem to push the ball forward in terms of what #2494 is asking for.  But since I'm not the most adept with accessibility stuff, maybe someone more experienced will see an obvious problem with this implementation that makes scrapping this PR and trying a different approach preferable.  But if this PR does help, I've filed https://github.com/LD4P/sinopia_editor/issues/2683 to address the seeming shortcomings here (in which case maybe we close the original issue this addresses, in favor of the follow-on I just filed?).


thrust::system::cuda::par stream documentation incorrect

(Revised now that I've found the error)
With a cudaStream_t stream,

The documentation says to do thrust::cuda::par(stream).
The example says to use thrust::cuda::par.on(stream)

The example code works, documentation (the second code block for that method) does not compile.
The compilation error received:
/path/to/sumTest/main.cu(50): error: no instance of function template "thrust::system::cuda::detail::par_t::operator()" matches the argument list
            argument types are: (cudaStream_t)
            object type is: const thrust::system::cuda::detail::par_t

/path/to/sumTest/main.cu(47): error: no instance of overloaded function "thrust::reduce_by_key" matches the argument list
            argument types are: (<error-type>, thrust::transform_iterator<linear_index_to_row_index<int>, thrust::counting_iterator<int, thrust::use_default, thrust::use_default, thrust::use_default>, thrust::use_default, thrust::use_default>, thrust::transform_iterator<linear_index_to_row_index<int>, thrust::counting_iterator<int, thrust::use_default, thrust::use_default, thrust::use_default>, thrust::use_default, thrust::use_default>, thrust::detail::normal_iterator<thrust::device_ptr<int>>, thrust::detail::normal_iterator<thrust::device_ptr<int>>, thrust::detail::normal_iterator<thrust::device_ptr<int>>, thrust::equal_to<int>, thrust::plus<int>)

I (quickly) looked around the wiki and did not find any examples that have the same issue, the only mentions of thrust::cuda::par are here, but they aren't talking about streams.  Anyway, it might be worth somebody else taking a second look :smile:

Hmm.  After realizing it was a documentation problem, I went to make a PR and discovered that the documentation is already fixed.  Feel free to close, I'm leaving it open only to indicate that a rebuild of the docs might be helpful to prevent future confusion on this.  However, I imagine the docs are to reflect some kind of release cycle.  Maybe if possible just cherry pick the new docs for that function?

So is the issue that the docs on thrust.github.io are not up to date?

Correct, the updated docs are already in the code though:
https://github.com/thrust/thrust/blob/8e35dce3d2003f9e9f7eed8dac31be7f050c8b2d/thrust/system/cuda/execution_policy.h#L186-L187
According to the blame, this was fixed three years ago, so it shouldn't be a problem to update the docs on that aspect.  I'm just not sure if other places may have updated documentation that are not released.  That is, maybe building the docs from a specific release tag is better instead of master, since this doc fix has been available since v.1.8.2.
Quasi-related, in the same doc-string
https://github.com/thrust/thrust/blob/8e35dce3d2003f9e9f7eed8dac31be7f050c8b2d/thrust/system/cuda/execution_policy.h#L148
That doesn't compile, nor does the related cpp example
https://github.com/thrust/thrust/blob/8e35dce3d2003f9e9f7eed8dac31be7f050c8b2d/thrust/system/cpp/execution_policy.h#L140
vec is an int[], so there's no begin() or end().  Fixing those, the thrust::cuda::par or thrust::cpp::par will work.  I'm happy to PR a docs fix with some feedback.  The working examples are pretty simple:
#include <thrust/for_each.h>
#include <thrust/system/cuda/execution_policy.h>
#include <thrust/system/cpp/execution_policy.h>
#include <cstdio>
#include <thrust/device_vector.h>
#include <thrust/host_vector.h>
struct printf_functor
{
    __host__ __device__
    void operator()(int x)
    {
        printf("%d\n", x);
    }
};

int main(void) {
    thrust::host_vector<int> h_vec;
    h_vec.push_back(0); h_vec.push_back(1); h_vec.push_back(2);
    thrust::for_each(thrust::cpp::par, h_vec.begin(), h_vec.end(), printf_functor());

    thrust::device_vector<int> d_vec = h_vec;
    thrust::for_each(thrust::cuda::par, d_vec.begin(), d_vec.end(), printf_functor());

    return 0;
}

but then that would mean building the docs off master again, instead of a release tag.  I think the vec[] examples are less important than getting the docs for thrust::cuda::par.on(stream) updated though.

This probably affects the toolkit documentation too.
I'll look into this; it won't happen for the next release, because I currently have no idea how the documentation build gets done.
Tracked internally by NVBug 2062277.

Sounds good.  For the github pages site, presumably one of your colleagues knows how the original workflow was setup.  One possible workflow that worked locally:
$ git clone https://github.com/thrust/thrust.git

# required by the doxyfile to work
$ mkdir -p targets/doc

# build the doxygen documentation, outputs to targets/doc/html
$ doxygen thrust/doc/thrust.dox

# clone the github site
$ git clone https://github.com/thrust/thrust.github.com.git

# remove the old files
$ rm -rf thrust.github.com/doc/*

# add the new documentation
$ mv targets/doc/html/* thrust.github.com/doc/

# make sure you can build the site
$ sudo gem install jekyll rdiscount

# build the github site
$ cd thrust.github.com/

# output looks something like this
$ jekyll serve
Configuration file: /Users/sven/Desktop/thrust.github.com/_config.yml
       Deprecation: The 'pygments' configuration option has been renamed to 'highlighter'. Please update your config file accordingly. The allowed values are 'rouge', 'pygments' or null.
            Source: /Users/sven/Desktop/thrust.github.com
       Destination: /Users/sven/Desktop/thrust.github.com/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
                    done in 0.736 seconds.
 Auto-regeneration: enabled for '/Users/sven/Desktop/thrust.github.com'
    Server address: http://<IP_ADDRESS>:4000
  Server running... press ctrl-c to stop.

you then open localhost:4000 in a browser window to view the build.  If you aren't familiar with GitHub pages, as soon as you commit the changes under thrust.github.com/doc that should trigger a new build on the GitHub servers.

Gentle nudge on this

Generated on Mon Mar 2 2015 13:21:30 for thrust

All that needs to happen for this issue to be "officially fixed" (since the docs are already updated in code) is to trigger a re-build of the docs.

When I encountered the docs not matching my 9.2 code, I was expecting the docs to be reflecting a change in 10. Was not expecting docs from 2015 to be what's live.

github.io documentation is still incorrect. What should happen for it to be fixed? What is the place to look for up-to-date thrust documentation?
https://thrust.github.io/doc/group__execution__policies.html#ga64da56b76f487725a99818cd63662dac

If the concern is about invalidating the links on docs.nvidia.com, as long as the \group docs aren't deleted it should be OK.  See attached script find_thrust_links.py.txt to test this out (uploaded as .py.txt because GitHub doesn't let me upload .py).  Relevant output section:
********************************************************************************
* Thrust GitHub
********************************************************************************
https://github.com/thrust/thrust/blob/master/examples/arbitrary_transformation.cu
https://github.com/thrust/thrust/blob/master/examples/arbitrary_transformation.cu
https://github.com/thrust/thrust/blob/master/examples/dot_products_with_zip.cu
https://github.com/thrust/thrust/wiki/Documentation
https://github.com/thrust/thrust/wiki/Frequently-Asked-Questions
https://github.com/thrust/thrust/tree/master/examples
********************************************************************************
* Thrust GitHub Pages Site
********************************************************************************
http://thrust.github.com/
http://thrust.github.com/doc/group__transformations.html
http://thrust.github.com/doc/group__reductions.html
http://thrust.github.com/doc/group__prefixsums.html
http://thrust.github.com/doc/group__reordering.html

And a fresh local build of the docs off tag 1.9.5
(venv) sven:~/Desktop/thrust_docs/thrust/targets/doc/html ((1.9.5))> ls -al group__{transformations,reductions,prefixsums,reordering}.html
-rw-rw-r--. 1 sven sven  61K Jun 11 09:43 group__prefixsums.html
-rw-rw-r--. 1 sven sven  87K Jun 11 09:43 group__reductions.html
-rw-rw-r--. 1 sven sven 2.8K Jun 11 09:43 group__reordering.html
-rw-rw-r--. 1 sven sven 159K Jun 11 09:43 group__transformations.html

So all the links on docs.nvidia.com pointing to thrust.github.com should be valid.


live server

Type: Performance Issue
live server is not working
VS Code version: Code 1.89.1 (dc96b837cf6bb4af9cd736aa3af08cf8279f7685, 2024-05-07T05:13:33.891Z)
OS version: Windows_NT x64 10.0.22000
Modes:

Thanks for reaching VS Marketplace Team, could you please share more details about your concern to investigate better.
Regards,
VS Marketplace Team.

Since we have not received the required information, we are closing the issue. Please feel free to reopen or create a new issue if the problem still persists.
Regards,
VS Marketplace Team


Poor completion perfomance

Great plugin btw
Typescript-tools so far has been a better alternative for typescript-language-server. The completions however can be quite slow. You heve to wait for a second or two before getting completions. There's visible lag. Is there a workaround/tsserver configuration to remedy this? Or is it a known issue?
Using default config btw (lazy.nvim)
return {
  {
    "pmizio/typescript-tools.nvim",
    lazy = true,
    ft = { "typescript", "javascript", "javascriptreact", "typescriptreact" },
    dependencies = { "nvim-lua/plenary.nvim", "neovim/nvim-lspconfig" },
    opts = {},
  },
}

https://github.com/yioneko/vtsls
        settings = {
          vtsls = {
            experimental = {
              completion = {
                enableServerSideFuzzyMatch = true,
              },
            },
          },
        }

https://github.com/yioneko/vtsls
        settings = {
          vtsls = {
            experimental = {
              completion = {
                enableServerSideFuzzyMatch = true,
              },
            },
          },
        }

can you elaborate on this?

It significantly improves completion performance, as explained in the link on that post: https://github.com/yioneko/vtsls?tab=readme-ov-file#bad-performance-of-completion
tsserver could throw out plenty of completion entries, most of them are globally accessible variables, modules or namespaces. Some LSP clients have poor performance for fuzzy matching or filtering, and cause noticeable delay of completion.
vtsls.experimental.completion.enableServerSideFuzzyMatch: before returning all the completion candidates from tsserver, the server will do fuzzy matching and filter out entries with no match. This can reduce the number of invalid entries in the response.

Shouldn't this be re-opened? It was closed as "not planned" because some other plugin has a fix for it?


GUI v0.0.1

Barebones GUI made with simple HTML/CSS/JS using Bootstrap.js and Charts.js. Updated README for GUI usage. Will look into React frameworks
Signed-off-by: Kendrick Coleman<EMAIL_ADDRESS>

maybe someone can point me in the right direction of how to integrate this with mux? This way we have have an API and webserver all working on the same port. Get around the CORS issue. http://idealogylabs.com/blog/golang/2015/07/24/serving-static-files-with-golang-gorilla-mux.html


Documentation page is overloaded with low level details so that complex to see the document sections and overview the structure

It is quite difficult to follow this document and its structure because it is overloaded. Might be better to split into separate documents especially certain huge blocks of json.

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

ID: 4d674084-1d8f-b845-9781-d3a144ecfe9b
Version Independent ID: b4b5514f-1b86-5851-5e2f-ef3b592b9600
Content: Tutorial: Use GitOps with Flux v2 in Azure Arc-enabled Kubernetes or Azure Kubernetes Service (AKS) clusters - Azure Arc
Content Source: articles/azure-arc/kubernetes/tutorial-use-gitops-flux2.md
Service: azure-arc
Sub-service: azure-arc-kubernetes
GitHub Login: @JnHs
Microsoft Alias: jenhayes

@alkdese Thanks for your feedback.
Assigning to content author @JnHs  for review.

Hi @alkdese - I apologize for the long time to respond. I appreciate your taking the time to share your feedback. We are reviewing this topic to make it as helpful as possible and will take this suggestion into account. I have created a work item to track this specific suggestion. I'll close this issue now since we are tracking this separately but again, thank you for the helpful suggestion that I will keep in mind as we review and update this topic.
#please-close


Implement default values if no geo data

When using placeholders like {geoip_country_code}, especially when
logging the data, empty strings can be problematic. So if there is no
geoip data for an address substitute some unambiguous text.
Resolves #8

Thanks for you PR! Can you add test cases for this?

Test cases added.


examples: Add gradient operators and new features for C stiffness matrix

actually, can you change the name of the PR
stiffness sound weird.

actually, can you change the name of the PR stiffness sound weird.

Done!

@guaacoelho can you fix the problems Peterson notified. Please use git blame to check which commits were responsible for the lines and edit them, don't create new commits.


Implement --host to listeng on specific IP

Just like invokeai has the --host parameter to define the IP to listen on, it would be nice to add this to the invoke-training project to able to listen from all ips (such as <IP_ADDRESS>)
I have tried using --host when running it but it only listens on <IP_ADDRESS>

I added --host and --port args in https://github.com/invoke-ai/invoke-training/pull/115, so this should be possible now. Let me know if you run into issues with it.


Create masternode does not correctly identify the transaction index, it always uses 0

I ran into this today when setting up my MN. It seems like getOutputIndex returns the TransactionTableModel's index - and on first look it seems to be threaded correctly.  If I find some time I will setup a testnet to see if I can repro this.


Create automation to update all GitHub template changes

Expected Behavior
Create automation to update changes to the GitHub templates in each repo to ensure the current standards are being followed
Current Behavior
Manually checking and updating each repo

Tracking internally via Jira


Include activity-bot Updates in Contributor Dashboard

Enter your suggestions in details:
Updates posted as EOD messages through the activity-bot are not being added to the Contributor Dashboard as an event right now.

@rithviknishad  I would like to work on this issue Please assign it to me

@Indrajeety993648 feel free to take up once PRs are made for other issues assigned (#153)


Evaluation code for long-caption text-image retrieval.

Is there any plan to release the evaluation code for long-caption text-image retrieval?

We have release the evaluation code for Urban-1k in eval/retrieval/urban1k.py.

hi @beichenzbc can u give me a help how to get data/flickr/results_20130124.token file?

This is the official link https://shannon.cs.illinois.edu/DenotationGraph/data/index.html

thanks


Improve LDAP search docs

Let's improve the LDAP docs page, especially the search sections.
Specific problems the customer faced:

did not know how to build the search query string into the toml
did not know how to add the group search into the filter
customer suggested that providing some examples of complex sub-searches may have helped

When we open a pr for this we should message them on community slack to encourage them to participate in the review process.

Please note that there's some more details in the original Jira issue.


bo.X != bo.res['all']

Hi,
I noticed that bo.X does not equal bo.res['all']['parameters'] ( minus the random runs ofc).
The columns of bo.X are messed up and do not represent the initial input order. (See testcode below)
I feel that bo.X is more important than bo.res['all']['parameters'] since it shows ALL evaluated points !
from bayes_opt import BayesianOptimization
from scipy.optimize import rosen

# rosen as obj
def ro(x1, x2, x3):
    return -1*rosen([x1, x2])

# opt
bo = BayesianOptimization(ro, pbounds={'x1' : (-1.0, 5.0),
                                  'x2' : (-1.0, 5.0), 'x3' : (-1.0, 5.0)}, random_state=1)
# max
bo.maximize(1, 3, acq='poi')

# test fails !
[ro(*x) for x in bo.X] == bo.Y.tolist()

# as one can see x2 is actually bo.X[:,0], x3 is bo.X[:,2] and x3 is bo.X[:,1]
bo.X[1:]
array([[ 2.18624627,  2.86252285,  0.70825166],
       [ 4.72179023,  2.96300164,  3.01753416],
       [-0.78524179,  0.15640738,  4.37775389]])

bo.res['all']['params']
[{'x1': 0.7082516567114334, 'x2': 2.186246270050328, 'x3': 2.8625228467524133},
 {'x1': 3.017534156171836, 'x2': 4.721790227135369, 'x3': 2.963001639364344},
 {'x1': 4.377753890676444,
  'x2': -0.7852417897346731,
  'x3': 0.1564073832944104}]

i think it would be great to have the same order as the obj_func input parameters.
Thanks in advance.

Thanks for bringing it up. Organizing how results are exposed is part of the next release.

This issue was resolved in the upcoming release branch. See https://github.com/fmfn/BayesianOptimization/pull/118


Run draft-next tests on PR submission

This only make sense if PR #97 is accepted (and even then it might not be what's wanted, which is why it's a separate PR).
This leaves the general tox.ini default in place, but runs the draft-next tests for PR submissions to incorporate their coverage (e.g. for PR #93).  We could also enable the optional and format tests, I just didn't have a clear use case for that yet.

The tests will fail here because I didn't stack this on #97.

This now ought to pass.  Still an open question as to whether this is the ideal behavior or not, but it would allow PR #80 to pass the coverage check (although that PR needs rewriting as noted in its move to "draft" status, so it's not an immediate blocker anyway).


New Orleans LA Incident reports

Someone has requested help on a data project:
Submission notes
I'm trying to do a data science report on incident reports in the New Orleans metro area, possibly focused on police violence. Also would like to compare reports between Orleans and Jefferson parish, LA.
Location
Orleans Parish Sheriff's Office - LA, Jefferson Davis Parish Sheriff's Office - LA
Requirements
Incident reports
How to help
Leave a comment if you'd like to help. Do you have ideas, questions, or need any more information to get started?

These records are not accessible online. We can make a FOIA request if needed. The requestor was unresponsive.


support for graphql 14.0.0

Would be nice to have<EMAIL_ADDRESS>in the peerDependencies. As far as i tried, it's working out of the box :)

If the tests all pass, I don't see a reason not to go ahead and do this. Want to make a PR, @polco?

sure !

Fixed in https://github.com/okgrow/merge-graphql-schemas/issues/168


Django 3 and Python 3.8 Updates

Upgrades to tox and travis to run tests against Python 3.8 and Django 3.0.
Also fixes some tox checks that were failing due to the version numbers (3.5.7 and 3.6.8).
I am unable to complete an upgrade to Django until this is merged and released as setup.py pins Django to less than 3 in its install_requires.

Bump please? :)

Is there a chance somebody could merge this please? It's fine if a release is not cut yet, but ideally, I'd like to get these changes into master so that I can safely upgrade my Django installation without having to install this library from my fork. :) These are relatively small and safe changes and actually means the library can be used with the latest and greatest of both Python and Django.

Hello Guys,
can anybody merge this, please? We also can't upgrade to new Django version. It's ready (thanks @robcharlwood)

Another vote from us, please can this be merged in asap?
@AltusBarry or @cblignaut can you help? Thank you 👍

Bump from us too please!

Bump

This is the only thing holding back our upgrade to Django 3, so would be great to get merged ASAP. Thanks!

Would be great to have it merged !

any plan for merge?


DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.

const HtmlWebpackPlugin = require('html-webpack-plugin');
const path = require('path');
const utils = require('./build/utils')
module.exports = {
entry: path.resolve(__dirname, 'src/index.tsx'),
resolve: {
extensions: [".js", ".ts", ".jsx", ".tsx"],
alias: {
"@": path.join(__dirname, "src")
}
},
optimization: {
moduleIds: 'hashed' // webapck5替代 4中的 new webpack.NamedModulesPlugin(),
},
module:{
rules: [
{
test: /.(js|jsx|ts|tsx)$/,
use: ["babel-loader", "ts-loader"],
exclude: /node_modules/
},
{
test: /.scss$/,
exclude: /node_modules/,
use: [
'style-loader',
"css-loader",
"sass-loader"
]
},
{
test: /.css$/,
use: ['style-loader','css-loader']
},
{
test: /.(png|svg|jpg|gif)$/,
use: [
'file-loader'
]
}
]
},
plugins: [
// new CleanWebpackPlugin(),
// new webpack.HotModuleReplacementPlugin(),
new HtmlWebpackPlugin({
templateParameters: {
PUBLIC_URL: 'static',
title: 'react app template'
},
filename: 'index.html',
template: utils.resolve('public/index.html'),
inject: true
})
]
}
Something went wrong：
[DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
(Use node --trace-deprecation ... to show where the warning was created)

webpack-5  bug

You already opened this: https://github.com/webpack/webpack/issues/11993

Make sure you are using the next version of html-webpack-plugin (i.e. html-webpack-plugin@next) as it has support for webpack 5.

@bebraw Thank you for solving the problem!        npm i --save-dev html-webpack-plugin@next  ，that will do 。
"html-webpack-plugin": "^5.0.0-alpha.14",

@livelyPeng please do spam, answer above


New version: TextClassification v0.4.2

Registering package: TextClassification
Repository: https://github.com/sadit/TextClassification.jl
Created by: @sadit
Version: v0.4.2
Commit: 31567a8ae1389d3a2ecb09bd5527870238746774
Reviewed by: @sadit
Reference: https://github.com/sadit/TextClassification.jl/commit/31567a8ae1389d3a2ecb09bd5527870238746774#commitcomment-48138178

@sadit :point_up:
[noblock]


[BUG/Help] <如何在docker中布署CPU版本？>

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
目前提供的docker镜像是使用GPU的版本，如何在DOCKER中布署CPU版本？
Expected Behavior
No response
Steps To Reproduce
总是报错：不要在GPU下布署CPU系统
Environment
- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :
？

Anything else?
No response

Is there an existing issue for this?

[x]  I have searched the existing issues

Current Behavior
目前提供的docker镜像是使用GPU的版本，如何在DOCKER中布署CPU版本？
Expected Behavior
No response
Steps To Reproduce
总是报错：不要在GPU下布署CPU系统
Environment
- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :
？

Anything else?
No response


not working as expected? (iOS / Android)

Hey,
I was able to successfully install and run this plugin in my Ionic 1 project. I am setting AudioToggle to only be the earpiece, but it isn't working. There are no errors associated with this.
I'm using this plugin in combination with cordova-media-plugin. I am playing audio files and do not want the sound to come out of the speaker, only the earpiece. The file is playing perfectly fine.
Is anybody experiencing this issue? If so, how did you resolve this?

I have a similar problem.
Changes the speaker well but the earpiece sounds saturated / distorted.
How did you solve your problem?
Thanks!


Run tests automatically every day?

Can we find a third-party service that runs the test suite every day and sends us an email if it's broken?
In this way we can be notified if Facebook changes their API or HTML structure.

Looks like your CI tool, TravisCI, supports this: https://docs.travis-ci.com/user/cron-jobs/
It would have to be set up by somebody with access to the repository and build console.

@jwworth Thank you so much for the tip and for stopping by!
I didn't know about Travis Cron Jobs. Will look into them now. 🎀

Travis Cron Jobs are running!! Thanks @jwworth


Ctrl+Shift+Clicking on Some Pages Makes Main Page Disappear

Navigate to http://doc.qt.io/qt-5/classes.html then ctrl+shift+click on a class you've never visited in there. The main page disappears (the browser actually closes underneath). Investigate.

I am having real trouble regularly replicating this. See http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=15431&p=36097. The error is:
[0913/162255.955:FATAL:elementanimations.cpp(112)] Check failed: *base_computed_style_ == *computed_style.

Still researching...

Per https://storage.googleapis.com/chromium-find-releases-static/767.html#767e438649154d1985a803c93111e0860a29fa2f that fix was back in 59, so this is still an issue somewhere else.