Redesign / ES new dev issues

I'll list the issues people find on the dev environment here:

ES search sorts on ID's by default (Looks like postgresql search sorts by date by default, to investigate)

No more explosssiiiioonnnnn (need to be added) (#757)

Wrong color of alternating row when the torrent is APlus, Trusted, etc.

Mobile needs a search bar

Theme defaults back when searching or changing order. (Whenever we load a new page)

Search button becomes invisible on tomorrow.

"The buttons aren't consistent widths. E.g. The "1" button is thinner than the "10" button. Which makes them crammed together and look janky." (Should probably make a fixed width for the pagination button)

Above wanted, current is bottom pic

Search puts a '*' when empty search

Search box size and font size is small

Date and time in torrent info has the time cut off due to the short column.

Need wrapping of long character comments

Icons are very hard to see on mobile using the /g/ theme.

Z-index on the mascots is blocking the menu in small width views

Edit torrent button is missing

ES search seems to have worse performance than my 4gb machine :') (Getting queries of 70 ms instead of ~9 ms)

Make /g/ Anon default theme (discuss)

Duplicated comments See https://nyaa.pantsu.cat/view/865002

Improvement to torrent view ?

Duplication of lots of torrents (Might be ES related ?) (Multiple entries in db confirmed, need to check upload verification asap)

"Invalid date" in comments

the "nyaapasu" and "explosion!" sounds are missing when you click on the mascot

You should look into alignment of Magnet icon when the torrent is missing

It takes a few seconds until absence of ES is detected:

ERRO[0409] Unable to create elasticsearch client: health check timeout: no Elasticsearch node available
ERRO[0409] Falling back to postgresql query
INFO[0409] SQL query is ::

Date is cut off on view page

The web design looked way better a few days ago. Then today happened... The layout was better than nyaa.si in terms of how information was displayed for any one specific torrent. Now it's just, I don't know...
The faceless loli vector was kind of unnecessary; now it's bigger. Honestly, I'd prefer a white background - there's just too much going on. The toggle option for day and night was a great feature. Really liked how the dark background, green outline, and purple buttons went with it, but now it's gone too. I swear, the best things are being stripped and replaced with tacky stuff. WTH is going on? I know the sites under development, but seriously, the progress seems to be backtracking. A change for pantsu/sukebei home icon should be differentiated to make it easier to tell which side we're on. Would be a bonus if the current pantsu icon was a bit more professional. You can even center the 6 jap characters to match the change in colours with the English on top.
All just suggestions. Feel free to ignore them. But honestly, I think it'd be better, since I want pantsu to overtake nyaa.si.

I preferred the old design too, but it seems everyone else agreed that we definitely needed a redesign.
I also don't know why this new design was deployed before it has been thoroughly tested...

"Show more torrents" button layout is completely broken
table column (except date) is missing border-bottom

last scrape is not being displayed as a date correctly
![bildschirmfoto_2017-05-27_11-04-12]
(https://cloud.githubusercontent.com/assets/1042418/26520093/4630baf4-42cc-11e7-8d6f-5bcb66995a5d.png)
everything is kinda too narrow IMO, the title column should be longer
search bar moves if you activate your profile dropdown
magnet/dl buttons on view page are still missing icons
markdown editor bg is white in night mode
would be nice if seeders/leechers/completed on view page was formatted as green/red/bold
profile settings page is maximum ugly, why is everything centered?
all buttons except "reset api key" on profile settings page are unstyled
everything is broken in the modpanel (because it still relies on bootstrap & jquery)

I can't agree that the old design was better in any regard. Man, especially the torrent view page. That was just gross. Which is why when I proposed a rework/redesign, most agreed.
The thing is, nobody is trying to overtake nyaasi. The whole point of having multiple sites is for decentralization, as to not have another situation like we did with the late nyaa. I'm in no way trying to be "better" than nyaasi, since tribalism is dumb, especially with something as not serious as illegal Chinese cartoons.
Also regarding professionalism; what's wrong with having fun with this project? I see no issue with adding fun things that, if you don't like, you can turn off. Possibly we could turn off the mascot by default, so you choose to opt-in rather than opt-out. I do appreciate your feedback though. More minds are always better.
Regarding all of sfan5's issues, I don't know why it was pushed to prod. Still needed a lot more rounding out. All are simple fixes though, and should be done soon :)

I can't agree that the old design was better in any regard. Man, especially the torrent view page. That was just gross. Which is why when I proposed a rework/redesign, most agreed.
The thing is, nobody is trying to overtake nyaasi. The whole point of having multiple sites is for decentralization, as to not have another situation like we did with the late nyaa. I'm in no way trying to be "better" than nyaasi, since tribalism is dumb, especially with something as not serious as illegal Chinese cartoons.
Also regarding professionalism; what's wrong with having fun with this project? I see no issue with adding fun things that, if you don't like, you can turn off. Possibly we could turn off the mascot by default, so you choose to opt-in rather than opt-out. I do appreciate your feedback though. More minds are always better.
Regarding all of sfan5's issues, I don't know why it was pushed to prod. Still needed a lot more rounding out. All are simple fixes though, and should be done soon :)

I enjoyed the thoughts you had in your reply. Continue what you're doing then. Hope to continue to see the ever-improving nyaa pantsu.

Any chance that there will be a change with the torrent files being the title of the torrent and not its hash?

@printabcx, you can ask @sfan5 about that

Uhh, that would definitely be possible, but storing torrents using their intohash makes things a lot easier.
Filename could be done by overwriting the HTTP header I guess.

@sfan5 From the perspective of a user, I think it's easier to organize themselves. Is there a way that it would be easier for both the developers and users?
@kipukun I really like the small icons like the floppy disc (save torrent file), and magnet (magnet link) and are really meaningful. Are those icons used from developer tools? They certainly not images.

@printabcx They're icons from font awesome converted into base64 images (since I don't want to use CSS). Though, I am considering making SVGs as they scale better on mobile

@kipukun They look great on the browse sections of pantsu.

@printabcx Thanks!

/settings page is pretty ugly
Mascot button loses it's translation when you click it

mod bar buttons need styling
"save changes" button moves into line below
modpanel tables are missing margins
modpanel delete buttons should be red
generally some coloring for buttons would be nice (dl/magnet -> green, edit -> yellow)
text doesn't fit in modpanel

reassign form looks ugly (elements shouldn't be centered)
reassign form textarea should have rows="20" cols="40"


using module test doesn't load the powershell class defined in 'test' if 'test.psd1' has 'FunctionToExport' or 'CmdletToExport' specified

Summary
When test.psd1 file has 'FunctionToExport' or 'CmdletToExport' specified, the module script analyzer will skip parsing the module scripts and thus no type definitions would be retrieved back. and PSModuleInfo.GetExportedTypeDefinitions doesn't handle this scenario well.
Repro
Structure of the module 'test'
PS:146> tree.com F:\tmp\test /F
F:\TMP\TEST
    test.psd1
    test.psm1

Content of 'test.psd1'
@{
ModuleVersion = '1.0'
GUID = 'e812e452-6a43-4fe7-9738-375c2fbdd577'
NestedModules = @("test.psm1")
FunctionsToExport = @('Get-Name')
CmdletsToExport = @()
VariablesToExport = '*'
AliasesToExport = @()
}

Content of 'test.psm1'
class Foo
{
    [string] $Name = "Foo"
}

function Get-Name
{
    return "Name"
}

Content of run.ps1
using module F:\tmp\test

class Bar{
    [Foo] $foo = [Foo]::new()

    [void] Print()
    {
        Write-Host ($this.foo.Name)
    }
}

Run run.ps1
.\run.ps1

Expected Behavior
Running run.ps1 should be successful.
Actual Behavior
It failed
PS:14> .\run.ps1
At F:\tmp\run.ps1:4 char:6
+     [Foo] $foo = [Foo]::new()
+      ~~~
Unable to find type [Foo].
At F:\tmp\run.ps1:4 char:19
+     [Foo] $foo = [Foo]::new()
+                   ~~~
Unable to find type [Foo].
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : TypeNotFound

Environment
PS:15> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.0-beta
PSEdition                      Core
GitCommitId                    v6.0.0-beta.2-48-g598cebf7b2f0b5bb0b0add97c6393ccfaaa792f5-dirty
OS                             Microsoft Windows 10.0.15063
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

I believe this was part of a perf optimization @lzybkr made to avoid parsing scripts.  We need a TypesToExport to continue to enforce explicit exports and maintain perf

Actually this was a design issue - the intent was to not require specifying exported types in the manifest at all because, well, it's annoying.
I didn't implement this aspect of classes, but I thought we intended to compute exported types on demand, and cache the results to avoid redundant parsing.

Was it a breaking change? Was it ported to Windows PowerShell?

@iSazonov I believe the changes being discussed happened during Windows PowerShell and ended up in PSCore6

Since it may not be obvious, let me point out that the problem only surfaces if you use the NestedModules entry to reference the *.psm1 file.
In the given scenario it would be more typical to use  the RootModule entry, however, in which case everything works as expected.

Only classes in the RootModule are supposed to be available.
This is NOT a bug. This is a design choice, or a duplicate of #2964


Contact information on interface

The interface should include some kind of contact information, if provided by project.
I think this is probably another field in definitions.csv, or better yet, put into a new description file; something like description.yaml which contains things like Title, Description, Copyright, Author and Contact information.
These fields do not really belong into definitions.csv anyway; _version does fit, though, I think. But then again, copyright is also commonly referenced on cards...

This can be provided in an optional header template. See #112


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.1 to before v5.4.128",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=9ec19493fb86d6d5fbf9286b94ff21e56ef66376",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cbb425f62df9df7abee4b3f068f7ed6ffc3561e2"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "9ec19493fb86d6d5fbf9286b94ff21e56ef66376",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "cbb425f62df9df7abee4b3f068f7ed6ffc3561e2",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "KVM: x86: Immediately reset the MMU context when the SMM flag is cleared\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.4.128 by commit cbb425f62df9df7abee4b3f068f7ed6ffc3561e2, it was introduced in version v5.1 by commit 9ec19493fb86d6d5fbf9286b94ff21e56ef66376. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1000931


Media Type

Hi,
Thanks for this great Api.
I am try to understand if media is photo, video or carouselMedia. I can see in debugger but I can not check in if statement.
My code:
 self.handler.media.by(user: .me, with: .everything, updateHandler: nil, completionHandler: {(result, page) in

        let mediaResult = try! result.get()
        mediaResult.forEach({(item) in

How can I check item.content is photo, video or carouselMedia?
if item.content == ??????{
            }
        })
    })

mediaResult is of type Array<Media>. So you can enumerate them like you did and then, through the .content accessory assess what whether they're pics, vids or albums.
mediaResult.forEach { item in
	switch item.content {
	case .picture(let picture): /* do sth */
	case .video(let video): /* do sth */
	case .alum(let album):
		album.forEach {
			switch $0 {
			case .picture(let picture): /* do sth */
			case .video(let video): /* do sth */
			default: break /* it should never be called */
			}
		}
	}
}


HIBP now requires an API key

Thanks for the hard work and great script. HIBP now requires v3 of the API and an API key:
https://www.troyhunt.com/authentication-and-the-have-i-been-pwned-api/
Any chance the script could be updated to include these?
Thanks again,
SG

Yes, an updated version of checkpwnedemails is coming soon.  Stay tuned. :)
On Mon, Aug 26, 2019, 8:15 AM Slade<EMAIL_ADDRESS>wrote:

Thanks for the hard work and great script. HIBP now requires v3 of the API
and an API key:
https://www.troyhunt.com/authentication-and-the-have-i-been-pwned-api/
Any chance the script could be updated to include these?
Thanks again,
SG
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Techno-Hwizrdry/checkpwnedemails/issues/3?email_source=notifications&email_token=ACUMWTPXBQLUKAHYIUHONA3QGPCNTA5CNFSM4IPPAS72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHLUVHQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUMWTP26SE6TZZ6WXKDOA3QGPCNTANCNFSM4IPPAS7Q
.

Hi Slade,
I would like to give you an update on my progress.  I have just verified my
email to get a HIBP API key, but I have hit a wall.  After I verfied my
email, I got the following message on the confirmation page:   "New
subscriptions to the HIBP API are temporarily disabled. This should only be
momentary, check back again soon."
I will keep checking HIBP to see if subscriptions have been re-enabled.
Once I have an API key, I will begin to make the necessary updates to
checkpwnedemails.py.
Cheers!
On Mon, Aug 26, 2019 at 10:45 AM Alexan Mardigian<EMAIL_ADDRESS>wrote:

Yes, an updated version of checkpwnedemails is coming soon.  Stay tuned. :)
On Mon, Aug 26, 2019, 8:15 AM Slade<EMAIL_ADDRESS>wrote:

Thanks for the hard work and great script. HIBP now requires v3 of the
API and an API key:
https://www.troyhunt.com/authentication-and-the-have-i-been-pwned-api/
Any chance the script could be updated to include these?
Thanks again,
SG
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Techno-Hwizrdry/checkpwnedemails/issues/3?email_source=notifications&email_token=ACUMWTPXBQLUKAHYIUHONA3QGPCNTA5CNFSM4IPPAS72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHLUVHQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUMWTP26SE6TZZ6WXKDOA3QGPCNTANCNFSM4IPPAS7Q
.

Alexan,
I do have a HIBP API key and would be happy to test things for you.
Best,
Slade G

Hi Slade,
I have just pushed my latest version of checkpwnedemails.py to my github.
It is now compatible with v3 of the HaveIBeenPwned API.  Let me know if you
have any questions, comments, or concerns.
And thank you for your patience.  :)
Cheers,
Alexan
On Thu, Aug 29, 2019 at 5:36 PM Slade<EMAIL_ADDRESS>wrote:

Alexan,
I do have a HIBP API key and would be happy to test things for you.
Best,
Slade G
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Techno-Hwizrdry/checkpwnedemails/issues/3?email_source=notifications&email_token=ACUMWTOM2UTDWNAN7UXU3OTQHA6N7A5CNFSM4IPPAS72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5P4YNA#issuecomment-526371892,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUMWTN6A2EMK4Q63XXPRLLQHA6N7ANCNFSM4IPPAS7Q
.


Plugin ideas

Useful:

[ ] Get summary for the last x hours.
[ ] Tweet from the irc channel.
[ ] Rock Paper Scissors to resolve arguments (Private message spires with the answer)
[ ] GitHub feed (issues, PRs, etc)
[ ] 3v4l API
[ ] PHP documentation
[ ] TLDR man pages
[ ] Give a nice warm friendly welcome to nicks not seen before
[ ] Replace Githubs webhook to IRC with something nicer

Games:

[ ] Play chess with people. Generate and post link to image of current state of the game.
[ ] Wargames (Like the movie).
[ ] Battleships.
[ ] Tic Tac Pro (Print in one line, random row order)
[ ] Long running quiz. Leaderboards.
[ ] Choose your own text adventure. Collaborative.

Other:

[ ] Sing a song if it's too quiet. Maybe include peoples names.
[ ] Code of Misconduct.
[ ] Different modes (e.g. Christmas mode, gumpy mode)
[ ] Imitating regular members of the channel
[ ] Randomly (rare chance) insulting someone
[ ] Liven things up if the chat room gets too dull

If you're adding to the original issue, can you write a comment with it here too? GitHub doesn't show edits apparently, not even when it's done by people other than the author xD

Didn't realize that. I added Github feed, 3v4l, PHP docs and TLDR to the "Useful" section.

Added:
Different modes (e.g. Christmas mode, gumpy mode)
Imitating regular members of the channel

Added:

Randomly (rare chance) insulting someone
Liven things up if the chat room gets too dull

Added: Give a nice warm friendly welcome to nicks not seen before

Added: Replace Githubs webhook to IRC with something nicer

Test comment

Added: Database and Chat log
Not sure how we're going to get that working, but would be nice if whose could be added as plugins, and make features available to other plugins.

That raises an important point about how (and if) we're going to enable interaction between plugins.
How can other plugins use information from the Chatlog plugin? (for example)

I wonder if a plugin could register a callback that other plugins could utilise.

Added: Statistics tracking (top posters, longest-lived lurkers, etc.)
I'm not really sure how it would work with the interaction between plugins, but it would good with a way to handle that.


'gulp serve' fails on a new setup

Configuration:

Operating system and its version: macOS 10.13.6
PDF.js version: master branch

Steps to reproduce the problem:

Follow the setup instructions up to "gulp serve"
Run "gulp serve"

What is the expected behavior?
The server starts up successfully.
What went wrong?
I see an error:
➜  pdf.js git:(master) gulp serve
[12:26:32] Using gulpfile ~/Data/personal/open-source/mozilla/pdf.js/gulpfile.js
[12:26:32] Task 'serve' is not in your gulpfile
[12:26:32] Please check the documentation for proper gulpfile formatting

I should have used gulp server instead of gulp serve.
Sorry for the trouble 🤦♂


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-25-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 3358

Questions ?
Please refer to the Backport tool documentation


Bring back typed headers support

Put this behind a feature flag although not sure if it is necessary because of headers' crate low dependency footprint.

Thanks for the PR!
I'm not yet ready to add back typed headers to reqwest, since I've not had the time to make sure the headers crate has the right API.


Implementation of Custom Events Plugin

I'm basically just attempting to implement the custom events plugin for Highcharts found here: http://www.highcharts.com/plugin-registry/single/15/Custom-Events
Anyone got a good way to handle this? Or know where I could modify the highcharts-ng code to add this functionality?
Thanks!

What happens when you use the plugin with highcharts-ng?


clse #18 create api endpoints to search for movies in the database based on their genre

Added the gener feild to the movie model
created the seach by gener service
implemented the service with search by gener

search bt gener updated


Fix: Add missing morgan dependency

yarn.lock and package.json are out of sync. This PR fixes the most significant issue that breaks v1.10.0 release because<EMAIL_ADDRESS>is missing.

npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

Thanks!


Library not found

Hello, unfortunately, after adding the dependency, the library can still not be found in my Android studio project. Since the note in README suggests that there is a newer version available, I was wondering where to find it, or else if other people managed to work around this problem. Thank you.

Same with me

same


Adding a test for ZR module firmware version streaming

Pull Request Functional Test Report for #2168 / 14a5eaf9fd136966873f776c2f98e0ceafaa441e
No tests identified for validation.
Help


Error should be thrown, not returned

@teohhanhui Thank you. Can you update the tests to match, please?

Closing as stale

Was this fixed?

No, I was waiting for you to update the tests, I can't merge it while it's failing.

Yes, I'm aware of that. Sorry that I wasn't able to work on this. But the problem is still valid.

Ok, I'll leave it open.

Closing as I no longer update this repo


"istioctl proxy-config security-inbound" to look at inbound for TLS settings

I have really been struggling verify if my PeerAuthentications are being used by my sidecar.  Are my pods mTLS DISABLE, STRICT, or PERMISSIVE.
To see them, I have been doing istioctl pc listeners <pod> | grep 15006 and looking at the output which is combinations of

"Trans: tls; App: TCP TLS; Addr: <IP_ADDRESS>/0"
"Trans: tls; Addr: <IP_ADDRESS>/0" and Addr: "<IP_ADDRESS>/0"
"App: Istio HTTP Plain"

This is too hard for users.  I propose a command istioctl proxy-config inbound or istioctl x auth.  This command would reveal the mTLS server setting for the inbound by scraping Envoy configuration similar to the other proxy-config subcommands.
If there is mTLS, it might be valuable to have the command also fetch :15000/certs and print the certificate expiration and serial number.
I propose for 1.8.x the tool just report the Envoy listener TLS configuration.
I proposed to the Networking WG that Istiod XDS fills in the metadata section of the virtualInbound listener on 15006 with metadata for the PeerAuthentication that made it.  This will allow users to look at an EnvoyConfig and know which Istio config set it. https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/listener/v3/listener.proto#config-listener-v3-listener .  Networking WG does not have time to implement this.
I propose that someone from UX and someone from @istio/wg-networking-maintainers (perhaps @GregHanson ) work together to write an RFC for 1.8 XDS listener metadata.
cc @rvennam If we roll out a simple experimental Envoy scraper in 1.8 or 1.7.2 we can get users the basic ability to tell what the mTLS server setting is.  We can also change x describe to restore mTLS info from this.

@myidpt @liminw It would be great if there was an istioctl proxy-config subcommand that would tell if Envoy was configured for Permissive, Strict Istio mTLS, plain or other and which ports were involved.  Is this something the Security Workgroup could either implement or provide guidelines for?
I have been told by my product team that customers want to know if pods are permissive or strict.  Can this be determined from Envoy's /config_dump?  How?

Design doc: https://docs.google.com/document/d/1GkdFcmfIVgfgnhpOK67cxlE_WTzQNe4u1nofCXpUahI/edit#


Add Capitalize in Pascal Article

Please link to the pull request that contains the related code snippet: https://github.com/TheRenegadeCoder/sample-programs/pull/2249

I need help on this Request
#2249 is linked to closed Issue #2248
Should I edit
the Pull Request 2249
and replace

[X] I fixed #2248

with

[X] I fixed #367

Kindly help, is that the right way to link..

No, the pull request is fine. This issue links to that pull request for reference. If you want to create the associated documentation, you'd make a pull request in this repo.


Deploy Light bridge for OP/ARB

OP/ARB support in Gateway soon to be merged:
https://github.com/bobanetwork/gateway/pull/101

Can you describe a bit more in detail what this issue is? Otherwise it doesn’t serve much purpose to open issues like this.


Camp warnings generated in HIP build

Describe the bug
Camp warnings seen when building Umpire:
In file included from /g/g0/belcher6/Umpire/tests/integration/allocator_accessibility.cpp:11:
In file included from /g/g0/belcher6/Umpire/src/umpire/Allocator.hpp:233:
In file included from /g/g0/belcher6/Umpire/src/umpire/Allocator.inl:12:
/g/g0/belcher6/Umpire/src/umpire/event/event.hpp:149:5: warning: expression result unused [-Wunused-value]
    CAMP_EXPAND(arg("arg" + std::to_string(N), as));
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/g/g0/belcher6/Umpire/src/tpl/umpire/camp/include/camp/helpers.hpp:45:3: note: expanded from macro 'CAMP_EXPAND'
  ::camp::detail::__expand_array_type { 0, ((void)(__VA_ARGS__), 0)... }
  ^                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/g/g0/belcher6/Umpire/src/umpire/event/event.hpp:156:12: note: in instantiation of function template specialization 'umpire::event::builder<>::args_impl<umpire::Allocator, unsigned long, int, 0UL, 1UL, 2UL>' requested here
    return args_impl(std::make_index_sequence<sizeof...(Ts)>(), as...);
           ^
/g/g0/belcher6/Umpire/src/umpire/ResourceManager.inl:45:10: note: in instantiation of function template specialization 'umpire::event::builder<>::args<umpire::Allocator, unsigned long, int>' requested here
        .args(args...)
         ^
/g/g0/belcher6/Umpire/src/umpire/ResourceManager.inl:39:18: note: in instantiation of function template specialization 'umpire::event::record<(lambda at /g/g0/belcher6/Umpire/src/umpire/ResourceManager.inl:39:25)>' requested here
  umpire::event::record([&](auto& event) {
                 ^
/g/g0/belcher6/Umpire/src/umpire/ResourceManager.inl:61:10: note: in instantiation of function template specialization 'umpire::ResourceManager::makeAllocator<umpire::strategy::QuickPool, umpire::Allocator, unsigned long, int>' requested here
  return makeAllocator<Strategy>(name, tracked, std::forward<Args>(args)...);
         ^
/g/g0/belcher6/Umpire/tests/integration/allocator_accessibility.cpp:160:44: note: in instantiation of function template specialization 'umpire::ResourceManager::makeAllocator<umpire::strategy::QuickPool, true, umpire::Allocator, unsigned long, int>' requested here
    m_allocator = new umpire::Allocator(rm.makeAllocator<umpire::strategy::QuickPool>(
                                           ^
1 warning generated when compiling for host.

To Reproduce
On rzvernal, my build was:
cmake -DROCM_ROOT_DIR=/opt/rocm-6.0.0 -DHIP_ROOT_DIR=/opt/rocm-6.0.0/hip -DHIP_PATH=/opt/rocm-6.0.0/llvm/bin -DENABLE_HIP=On -DENABLE_OPENMP=Off -DENABLE_CUDA=Off -DUMPIRE_ENABLE_DEVICE_ALLOCATOR=On -DCMAKE_CXX_COMPILER=/opt/rocm-6.0.0/llvm/bin/amdclang++ -DCMAKE_C_COMPILER=/opt/rocm-6.0.0/llvm/bin/amdclang -DCMAKE_CXX_FLAGS="-fgpu-rdc" -DCMAKE_HIP_ARCHITECTURES=gfx90a ../

And I saw those warnings for tests and examples built
Expected behavior
No complaints from camp.
Compilers & Libraries (please complete the following information):
rocm/6.0.0, on rzvernal using HIP... additional builds may generate these warnings too, not sure.
 I get many errors like:
In file included from /g/g0/belcher6/Umpire/src/umpire/resource/HipUnifiedMemoryResourceFactory.cpp:11:
In file included from /g/g0/belcher6/Umpire/src/umpire/resource/DefaultMemoryResource.hpp:46:
In file included from /g/g0/belcher6/Umpire/src/umpire/resource/DefaultMemoryResource.inl:13:
In file included from /g/g0/belcher6/Umpire/src/umpire/ResourceManager.hpp:17:
In file included from /g/g0/belcher6/Umpire/src/tpl/umpire/camp/include/camp/resource.hpp:27:
/g/g0/belcher6/Umpire/src/tpl/umpire/camp/include/camp/resource/hip.hpp:112:21: error: no member named 'memoryType' in 'hipPointerAttribute_t'
          switch (a.memoryType) {

One way to fix that is to replace a.memoryType with a.type in the camp/include/camp/resource/hip.hpp file, but that is not a sustainable fix. So the other idea is to update camp to either the latest in main or to the commit "2c48e52305c". I was told to try the commit first, so I did, but I also checked with main and got the same results below.
However, after updating camp, I get an error:
CMake Error at src/tpl/umpire/camp/cmake/load_blt.cmake:21 (blt_install_tpl_setups):
  Unknown CMake command "blt_install_tpl_setups".
Call Stack (most recent call first):
  src/tpl/umpire/camp/CMakeLists.txt:39 (include)

So then I go in to the BLT dir within Umpire and try to update BLT. I switch branches to develop, pull any any recent changes and recompile. However, now I see an error:
CMake Error at blt/cmake/BLTMacros.cmake:1119 (message):
  TPL targets have already been exported using blt_export_tpl_targets.

                               TPL libraries cannot be both exported and installed.
Call Stack (most recent call first):
  src/tpl/umpire/camp/cmake/load_blt.cmake:21 (blt_install_tpl_setups)
  src/tpl/umpire/camp/CMakeLists.txt:39 (include)

So then I go in to camp at src/tpl/umpire/camp/cmake/load_blt.cmake:21 comment out the call blt_install_tpl_setups(DESTINATION lib/cmake/camp) and rebuild. It works and resolves original camp error I had before.
I also tried with the latest v2023.06.0 release, but continued to get the error coming from hip.hpp described above. How should I proceed? I would like to update Umpire to the latest BLT with the commit "2c48e52305c" from camp, but I will have to make that change to comment out the call to blt_install_tpl_setups(DESTINATION lib/cmake/camp). Thoughts?

You probably need to use this branch: https://github.com/LLNL/Umpire/pull/857
I was waiting for a BLT release before merging.

You probably need to use this branch: #857
I was waiting for a BLT release before merging.

BLT release is coming, hopefully next week. Chris has done some thorough testing across the full Serac stack, but he's been in training all week.

New camp/blt releases fixed this


Adding specs and use cases

Adding use cases and specs discussed in today's meeting. This is just a first pass, we can add / remove / change as needed here or in future PRs.

@opencontainers/wg-auth-maintainers PTAL


Allow IconButton to have smaller sizes

Description
This PR adds a constraints parameter to the IconButton widget, allowing the user to apply custom box constraints to the icon button, so that the icon can be smaller than 48×48 when required.
The constraints parameter defaults to null, which uses the same constraints as before, so existing code works as usual.
Related Issues
Fixes https://github.com/flutter/flutter/issues/23619
Tests
I added the following tests:

Small icons with non-null constraints can be <48dp

Tests that an IconButton with a custom constraint can be smaller than 48×48.

Small icons with non-null constraints and custom padding can be <48dp

Similar, but with a custom padding.

Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I signed the CLA.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.

[x] No, no existing tests failed, so this is not a breaking change.

All existing tests in packages/flutter/test passed.

Great job!


Always on addition

Addition of Resources for AlwaysOn support in SQL Server

This change is

Can you merge the conflicts and send a new request?

Reviewed 24 of 24 files at r1.
Review status: all files reviewed at latest revision, 4 unresolved discussions, some commit checks failed.

xSQLServerHelper.psm1, line 315 [r1] (raw file):
Please end files with new line

DSCResources/MSFT_xSQLAOGroupEnsure/MSFT_xSQLAOGroupEnsure.psm1, line 159 [r1] (raw file):
Could you file an issue to track this work if you don't intend to do it now?

DSCResources/MSFT_xSQLAOGroupEnsure/MSFT_xSQLAOGroupEnsure.psm1, line 184 [r1] (raw file):
Could you add a comment to this effect?

Comments from Reviewable

Please resolve all merge conflicts.  For more information see GitHowTo - 30. Resolving Conflicts
Instructions to setup BC4, my favorite merge tool

Review status: all files reviewed at latest revision, 4 unresolved discussions, some commit checks failed.

Comments from Reviewable

xSQLServerHelper.psm1, line 315 [r1] (raw file):
New Line added

Comments from Reviewable

Review status: 23 of 24 files reviewed at latest revision, 4 unresolved discussions, some commit checks failed.

DSCResources/MSFT_xSQLAOGroupEnsure/MSFT_xSQLAOGroupEnsure.psm1, line 159 [r1] (raw file):
New issue added

Comments from Reviewable

Reviewed 1 of 1 files at r2, 2 of 2 files at r3, 3 of 3 files at r4.
Review status: all files reviewed at latest revision, 3 unresolved discussions.

Comments from Reviewable

Review status: all files reviewed at latest revision, 3 unresolved discussions.

DSCResources/MSFT_xSQLAOGroupEnsure/MSFT_xSQLAOGroupEnsure.psm1, line 159 [r1] (raw file):
Verified issue #51  added

Comments from Reviewable


MishaKav coverage comment added

Codecov Report

Merging #376 (9373cad) into master (ebcdb03) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

@@           Coverage Diff           @@
##           master     #376   +/-   ##
=======================================
  Coverage   94.73%   94.73%
=======================================
  Files          34       34
  Lines        3968     3968
=======================================
  Hits         3759     3759
  Misses        209      209


The XML layout sample for android on readme is right?

First I translate the kotlin code on readme sample
@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_gif_list);
        bindingViews();
    }

    private void bindingViews() {
        xml(R.layout.activity_gif_list, () -> {
            withId(R.id.loading, () -> {
                visibility(progressVisibility);
            });
        });
    }

and how I make it works
@Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_gif_list);
        bindingViews();
    }

    private void bindingViews() {
        Anvil.mount(findViewById(R.id.activity_gif_list), () -> {
            withId(R.id.loading, () -> {
                visibility(progressVisibility);
            });
        });
    }

I can fix it on readme if you approve...

So what's happening here is that your inflatimg the xml on setcontentview and then mounting it onto anvil for the bindings. Have you tried calling anvil.render()? Cause it currently has a bug with xml views however thats with building the view through anvil renderable.

@fpbitencourt Sorry, which example do you refer to?
xml() works only inside Renderables (e.g. RenderableViews or lambdas). In the first snippet you first inflate the XML layout into the activity (or fragment?), so there is no need to use xml() anymore since it does the same.
I would write it as:
protected void onCreate(Bundle b) {
  super.onCreate(b);
  setContentView(new MyView(this)); // I like to keep activities small and dumb
}

class MyView extends RenderableView {
  ...
  public void view() {
    xml(R.layout.activity_git_list, () -> { // this will inflate the layout into the MyView view group
      withId(R.id.loading, () -> { // this will update the "loading" widget inside the given XML layout
       visibility(progressVisibility);
      });
    });
  }
}


Create Great Blue Heron with Spirit Flakes from Tempoross

🚀 Feature Proposal
I figured it would be a nice addition to the use of spirit flakes, we already got the option to create spirit angler using them, why not top it off by adding the recolored version of the fishing heron pet.

added in #3214
ill look at the conflicts after work tonight

misclicked close


Add metric units and divisor for Canadian neptune water meters.

This is the config I was using for the AMR2MQTT but that one doesn't seem to be maintained and isn't supported by the energy dashboard.

id:<PHONE_NUMBER>
protocol: r900
name: AMR_WaterMeter
type: water
multiplier: 0.001
unit_of_measurement: m³
precision: 4
manufacturer: Neptune
model: E-Coder

Can you add m³ to the options and a water divisor?
Also my gas meter is SCM and I would need a divisor for that as well.

id: 40605246
protocol: scm
name: AMR_GasMeter
type: gas
multiplier: 0.01
unit_of_measurement: ft³
precision: 3
manufacturer: iTron
model: 100G

Sorry just saw the open pull request, looks like everything is covered in there.


ETCD-187: add highOverallControlPlaneIOWait alert rule

resolves https://issues.redhat.com/browse/ETCD-187
cc @wking @dgrisonnet @williamcaban @tjungblu

/retest-required

/retest-required

/retest-required


float64's that are NaN cause corrupt .xlsm file

I stumbled upon a bug. If you pass a float64 to SetCellValue() and it is NaN, it causes a corrupt .xlsm file. I simply used math.IsNaN() to check prior to SetCellValue() and that the solved problem.

Thanks for your issue. I have tested on xlsx and it works well. This lib not been tested with xlsm file currently.


Does this make ESLint more bearable?

What i mean is currently we have a webpack config with:
        {
          enforce: 'pre',
          test: /\.js$/,
          loader: 'eslint-loader',
          options: {
            formatter: require('eslint-friendly-formatter')
          },
          include: jsSrc,
          exclude: /(node_modules|bower_components|vendor)/
        },

And for example if we miss a space before some parenthesis on a function definition it will throw up
Now since prettier-standard will handle these situations does this tone down the ESLint Standard formatting errors or do they still occur?

Never mind! Maybe i should have looked before asking 😊
eslint-config-prettier
eslint-plugin-prettier
"eslintConfig": {
  "extends": [
    "standard",
    "prettier"
  ],
  "parser": "babel-eslint",
  "plugins": [
    "prettier"
  ]
},

How i used it in the config if that helps anyone :)


Responsive Grid Layout Not Working

Bug
The responsive design feature of Material Design grid is not working at all.  See this stack overflow question:
http://stackoverflow.com/questions/43001231/angular-material-2-grid-layout-not-working
What is the expected behavior?
The Material tags for Phone, Tablet, and Desktop should layout the content.
What is the current behavior?
Everything is displayed on one tiny column, for phone, tablet, and desktop.
What are the steps to reproduce?
http://plnkr.co/edit/hGjpBk?p=info
Which versions of Angular, Material, OS, browsers are affected?
Angular 2, Material 2, All Browsers, All OS
Is there anything else we should know?
No

Wrong repo altogether. There's no such grid in material2 itself.
https://github.com/angular/flex-layout

Based on your linked question I think you're looking for https://github.com/google/material-design-lite


Move DCP/1 to a different sub-domain to make way for the release of DCP/2

@NoopDog @hannes-ucsc Here's the plan for releasing DCP/2 to the public:

Continue development on DCP/2 using dev.singlecell.gi.ucsc.edu and prod.singlecell.
Add an alias for DCP/1 (data.) at v1.data.humancellatlas.org
On the DCP/2 home page add a "Click here for old version of the DCP" which links to v1.data.
On the day of DCP/2 release, redirect data.humancellatlas.org to the prod.singlecell. instance
Some months later retire DCP/1 by removing the link from the DCP/2 home page and retiring the "v1.data" sub-domain

Rationale:

It biases people to go over to the new data, too, which is what we want.
Old project URLs would still work but the user will get the DCP/2 version of the project. But that seems compatible with the DCP/1 mode of "you always see the latest version - we don't have snapshots or data releases yet".
We don't need to get a new sub-domain of humancellatlas.org assigned from the Sanger
We don't need to get teh Sanger to update the link to the DCP that's on humancellatlas.org

I'm sure we need ticket(s) to standup the Azul service in DCP/1 under "v1.data.".

On the day of DCP/2 release, redirect data.humancellatlas.org to the prod.singlecell. instance

If by redirect you mean an HTTP redirect (301 or 302) this would cause the user's browser's address bar to display prod.singlecell.gi.ucsc.edu. Is that what you want?


Getting Echo and Noice when making Calls On Loudspeaker (Android 11)

Hi @codepoetryindia
Try this guide - https://developers.connectycube.com/reactnative/videocalling?id=echo-cancelation-issue-on-some-android-devices
We use react-native-webrtc lib in 'react-native-connectycube' SDK.

That is not proper documentation. Can you Please guide how to implement that code

This isn't our documentation. The link related to react-native-webrtc issues. I tried this method but it got worse for my device (Galaxy S20). So I prefer to use common echo cancelation that included in react-native-webrtc. Make sure that you have problem with devices specified in this issue. I am able to post the code, but it will take a while because I don't have it right now.

Thanks for your reply.
But I'm struggling too much on this. Please post the code till then I will wait

Closed due to inactivity. Please create a new issue if needed.


Upgrade alpine to v3.5

I'm +1 on the change, but only after the Alpine image maintainers update latest to point to 3.5 (see https://github.com/docker-library/official-images/pull/2489#discussion_r93885746).

+1 from me. Proposed almost the same PR )

@tianon now the alpine:latest is same as alpine:3.5 :)

Congrats ))

@tianon Would you merge it? (since alpine 3.5 is "latest")

Revert incoming in #168 -- see https://github.com/docker-library/golang/pull/131#issuecomment-270677556 for more details.


Uncaught ReferenceError: editor is not defined

Steps to reproduce:

init.coffee:
atom.commands.add 'atom-text-editor', 'musing:new', -> today = new Date dd = today.getDate() mm = today.getMonth() + 1 mm = mm.toString() if mm.length == 1  mm = "0#{mm}" yyyy = today.getFullYear() atom.workspace.open("#{yyyy}-#{mm}-#{dd}.md") editor.insertText("##{yyyy}-#{mm}-#{dd}")
run Musing: New

Atom: 1.49.0 x64
Electron: 5.0.13
OS: Microsoft Windows 10 Pro
Thrown From: Atom Core
Stack Trace
Uncaught ReferenceError: editor is not defined
At C:\Users\Ezra\.atom\init.coffee:21

ReferenceError: editor is not defined
    at HTMLElement.<anonymous> (~/.atom/init.coffee:21:3)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.49.0/resources/app/static/<embedded>:11:349781)
    at Object.didConfirmSelection (~/AppData/Local/atom/app-1.49.0/resources/app/static/<embedded>:11:695062)
    at SelectListView.confirmSelection (~/AppData/Local/atom/app-1.49.0/resources/app/static/<embedded>:11:866622)
    at HTMLDivElement.core:confirm (~/AppData/Local/atom/app-1.49.0/resources/app/static/<embedded>:11:861501)
    at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.49.0/resources/app/static/<embedded>:11:349781)
    at KeymapManager.dispatchCommandEvent (~/AppData/Local/atom/app-1.49.0/resources/app/static/<embedded>:11:1242286)
    at KeymapManager.handleKeyboardEvent (~/AppData/Local/atom/app-1.49.0/resources/app/static/<embedded>:11:1238420)
    at WindowEventHandler.handleDocumentKeyEvent (~/AppData/Local/atom/app-1.49.0/resources/app/static/<embedded>:11:284830)

Commands
     -1:41.5.0 command-palette:toggle (input.hidden-input)
     -1:40.1.0 core:confirm (input.hidden-input)
     -1:40.1.0 musing:new (input.hidden-input)
     -1:17 markdown-writer:insert-new-line (input.hidden-input)
     -1:17 editor:newline (input.hidden-input)
  9x -1:11.9.0 core:backspace (input.hidden-input)
     -1:08.8.0 markdown-writer:insert-new-line (input.hidden-input)
     -1:08.8.0 editor:newline (input.hidden-input)
     -1:07.3.0 markdown-writer:insert-new-line (input.hidden-input)
     -1:07.3.0 autocomplete-plus:confirm (input.hidden-input)
  9x -1:05.8.0 core:backspace (input.hidden-input)

Non-Core Packages
atom-beautify 0.33.4
autoclose-html-plus 0.27.2
emmet 2.4.3
language-markdown 0.37.0
markclip 0.5.5
markdown-writer 2.11.10
platformio-ide-terminal 2.10.0
project-manager 3.3.8

You haven't defined editor. If you want to use the editor returned by atom.workspace.open, then you will need to add a .then call on the returned promise, with a function taking the editor as it's first parameter as the handler. E.g.,
atom.workspace.open("foo.md").then(editor => { /* editor is defined here */ });

Is there something that implied the original should work?

Is there something that implied the original should work?

I got it working after creating the issue, but the pop up with the error said it was likely a bug in atom and I should create an issue, so I did. The problem is clearly my code so the "this is likely a problem with atom" text should probably be changed.


j.tools.prefab.local.apps.atyourservice.stop() doesn't work

Installation information

jumpscale version: 9.2.0

j.tools.prefab.local.apps.atyourservice.stop() doesn't stop the running AYS server

@yveskerwyn  How did you start the ays server. Did you use j.tools.prefab.local.apps.atyourservice.start() ? or something else ?


Writing specs

@hugolpz you can start to write functional specs. For instance, in this specific project: document creation (inspiration sources for this spec: doodle, jsfiddle).

Dataset samples

Readme.md contain a relevant example and illustration of the target end result.
Jsfiddle Javascript array contains another workable datasets.

Requirements

We focus on the "main" blocks and core service:
*# Convert JSON (served by API) into UI
*# Convert editable UI into JSON
edit button
** edit via UI
** edit JSON

Excluded
See forkable.js for this.

Topbar
** User login/logout, auth, settings
** Run / render
** Save to cloud :
*** POST to mongodb
*** create new url which serves the results
** Fork
** Embed
Sider left
Sider right
Footer

Technology

Native Javascript


reserved identifier violation

I would like to point out that an identifier like “_FindCVar” does not fit to the expected naming convention of the C++ language standard.
Would you like to adjust your selection for unique names?

No.

How do you think about to avoid that this software depends on undefined behaviour?


Adds streak and points to !task command. Adds !slayer as an alias.

Resolves #13116
Example

What's a man gotta do to get this merged

I guess I don't feel too strongly either way about this (although I dislike the alias, and that the alias doesn't work when !slayer is used with no task). And also the output of the existing command can be quite long if it includes a Konar task, and this seems just like extra info that just clutters it up more.

Would you be more inclined to merge it if I changed the behavior of the alias? I'm fine with just closing the PR too if you think the extra fields aren't necessary.

I'm fine with closing it if you want since these new fields aren't even really task related. They exist independent of the task (you can have no task but also have a streak/points). But usually if I'm unsure on something I just leave it open.

Rip my beautiful PR


After build from source, Error occured "device kernel image is invalid"

I tried on V100, cuda 11.7.
after digging source code, When I change cuda version in this line, working.
https://github.com/openai/triton/blob/9e3e10c5edb4a062cf547ae73e6ebfb19aad7bdf/python/setup.py#L129
So, When I want to install triton from source, Do I need to control cuda version by editing setup.py?

@akakakakakaa Do you had this error at runtime? Do you have a small code gist to reproduce this?

@bhack I tried to install exactly as written in the README But uses pip install . instead of pip install -e .. because In my case, pip insatll -e . does not recognize hidden directory.
git clone https://github.com/openai/triton.git;
cd triton/python;
pip install cmake; # build-time dependency
pip install .

After Installing, I tried to run 06-fused-attention.py and I met error in runtime device kernel image is invalid ~

Same Problem I  met

I have encountered the same problem, how did you solve it?

I havve encountered the same problem and sovled it. The reason, for the main branch of triton, the the default version of ptxas, cuobjdump,nvdisasm in triton is cuda-12.x(which is set in triton/python/setup.py). So when you build trion for cuda-11.x, you need to set the right version of cuda bins with setting the the path of these bins in the environment.
The environment of mine is:

Driver Version: 470.141.03   CUDA Version: 11.4
torch: conda install pytorch==2.1.2 torchvision==0.16.2 torchaudio==2.1.2 pytorch-cuda=11.8 -c pytorch -c nvidia

Build triton from source as below:
export TRITON_PTXAS_PATH=/usr/local/cuda/bin/ptxas
export TRITON_CUOBJDUMP_PATH=/usr/local/cuda/bin/cuobjdump
export TRITON_NVDISASM_PATH=/usr/local/cuda/bin/nvdisasm

cd triton/python
pip install -e .

Test. python python tutorials/01-vector-add.py
The result is as below:
tensor([1.3713, 1.3076, 0.4940, ..., 0.6724, 1.2141, 0.9733], device='cuda:0') tensor([1.3713, 1.3076, 0.4940, ..., 0.6724, 1.2141, 0.9733], device='cuda:0') The maximum difference between torch and triton is 0.0 vector-add-performance: size Triton Torch 0 4096.0 11.377778 11.130435 1 8192.0 21.787235 23.813955 2 16384.0 44.521738 41.795915 3 32768.0 73.142858 72.710056 4 65536.0 127.336788 127.336788 5 131072.0 199.399583 200.620406 6 262144.0 283.296835 285.767442 7 524288.0 381.023277 371.659727 8 1048576.0 412.608613 416.101597 9 2097152.0 444.311871 449.646643 10 4194304.0 463.766462 468.393097 11 8388608.0 472.615390 479.385543 12 16777216.0 477.602370 484.554523 13 33554432.0 478.037844 484.414634 14 67108864.0 479.979873 488.623552 15 134217728.0 479.870017 489.126924
There is a short summary on how build triton from source.

Your suggestion is effective, thank you very much

meet the same question, fix by downgrade triton
pip install triton==2.1.0

it works for me https://github.com/InternLM/lmdeploy/pull/1621#issuecomment-2179818835

meet the same question, fix by downgrade triton
pip install triton==2.1.0

It works for me, although there is an pip ERROR.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
torch 2.2.1+cu118 requires triton==2.2.0; platform_system == "Linux" and platform_machine == "x86_64" and python_version < "3.12", but you have triton 2.1.0 which is incompatible.


Add image to leftHandle and rightHandle

Hello @TomThorpe , how we can add Image to leftHandle and rightHandle for both normal and highligted state.

Hi,
It's not possible at the moment, sorry. Maybe I'll add it in the future, or you could add it yourself and submit a pull request? :-)
Tom

I will do. Can you give any suggestions on how to do it.
Sent using CloudMagic [https://cloudmagic.com/k/d/mailapp?ct=pi&cv=6.1.51&pv=8.3]
On Sun, Apr 26, 2015 at 1:11 am, TomThorpe/TTRangeSlider
<EMAIL_ADDRESS>wrote:
Closed #1 [https://github.com/TomThorpe/TTRangeSlider/issues/1] .
—
Reply to this email directly or view it on GitHub
[https://github.com/TomThorpe/TTRangeSlider/issues/1#event-290056764] .[https://github.com/notifications/beacon/AA74C6k4WvQrrVxY-4R5xPFJpNdBkgxTks5oC-V0gaJpZM4EInqC.gif]

There are two properties that the handles exist in,
CALayer *leftHandle
CALayer *rightHandle

Basically you'd have to have another few properties that store a UIImage for the handles, then if this image is not nil use the image instead of drawing the circle in the handle's layers. So something like replace
self.leftHandle.cornerRadius = 8.0f;
self.leftHandle.backgroundColor = self.tintColor.CGColor;

with:
self.leftHandle.contents = self.leftHandleImage.CGImage;

The critical thing would be to make sure this is implemented well with the existing properties and doesn't break backwards compatibility though if I'd be able to merge it in here, although obviously you could fork it and do it however you like otherwise :-)

Thanks. I will try to implement.
Sent using CloudMagic [https://cloudmagic.com/k/d/mailapp?ct=pi&cv=6.1.51&pv=8.3]
On Sun, Apr 26, 2015 at 1:11 am, Tom Thorpe<EMAIL_ADDRESS>wrote:
Closed #1 [https://github.com/TomThorpe/TTRangeSlider/issues/1] .
—
Reply to this email directly or view it on GitHub
[https://github.com/TomThorpe/TTRangeSlider/issues/1#event-290056764] .[https://github.com/notifications/beacon/AA74C6k4WvQrrVxY-4R5xPFJpNdBkgxTks5oC-V0gaJpZM4EInqC.gif]

@TomThorpe , I have not forked, I am just trying to see what all I can do.  I am done with adding image for normal state, and for highlighted state I added image in "- (void)animateHandle:(CALayer*)handle withSelection:(BOOL)selected {"  function.
If their is any other better way, please let me know. Secondly I want to have two slider lines, i.e inner and outerline, so that I can have different colors. How we can do it. Any suggestions.
Regards
Ranjit.

Sounds about right. If you want to change how the line looks, just change how sliderLine is drawn in the setup part :-)

Thanks. Regarding the slider line, I meant I want two colors, one inner and one
outer as its in default UISlider.
Sent using CloudMagic [https://cloudmagic.com/k/d/mailapp?ct=pi&cv=6.1.51&pv=8.3]
On Sun, Apr 26, 2015 at 6:41 pm, TomThorpe/TTRangeSlider
<EMAIL_ADDRESS>wrote:
Sounds about right. If you want to change how the line looks, just change how sliderLine is drawn in the setup part :-)
—
Reply to this email directly or view it on GitHub
[https://github.com/TomThorpe/TTRangeSlider/issues/1#issuecomment-96377268] .[https://github.com/notifications/beacon/AA74C3XYo6P2_5O3EIWKY495ePLk6nwzks5oDNuKgaJpZM4EInqC.gif]


fix readme spelling

Coverage remained the same at 100.0% when pulling 3f589188c6fa3a333b71089be9d52ee3196e23fc on seantsb:patch-1 into 7af166ff47a11bc49bbcb2d1b827685373bdd6c8 on node-apn:master.


autocomplete for ts npm modules not updated after change this npm module

Hello @basarat!
I created ts npm module and use it in ts project.
After change npm module i need restart atom for update autocomplite in consumer-ts-file.

i need restart atom for update autocomplite in consumer-ts-file.

Probably because npm install is external to atom and we don't do any fancy directory watching. Try sync : https://github.com/TypeStrong/atom-typescript/blob/master/docs/faq.md#atom-typescript-is-complaining-about-not-finding-files-or-other-weird-errors
If that doesn't work we can discuss further :rose: Closing for now.

@basarat, sync not working.
If you change any typescript file and then try to select autocomple in consumer code - you can see autocomple is in actual state, but if changed ts npm module - autocomple will not updated

but if changed ts npm module - autocomple will not be updated

And sync doesn't fix this? Is there a .d.ts file in the npm module that should be updated but didn't get updated. Note that ts at the moment works best if the npm module has a .d.ts file generated :rose:


[migration guide] - RSS has changed

New or updated content

Adds a note to the migration guide RC section that the process for generating RSS feeds has changed.
Closes #1030

LGTM. Thanks for this @sarah11918! 🙌

I didn’t add this because Ben said this has been gone for quite a while! So not actually an RC change.

It has, and it does... but there's nothing else there. Is it bad to fudge??  It should go somewhere.

I’d say move it down into the beta section. If someone’s already on beta this would be misleading if they’re just looking for what to do to get on RC. And that way it’s there for anyone upgrading from <1 to beta/latest.

@delucis What do you think? I also removed the stuff about "We don't expect any breaking changes, but if we do, we'll put them here" as well as outdated launch date.


Results are far from the values reported in the paper

My results are far from the values reported in the paper. For example, after running the code on the BGL dataset I've gotten:
Precision: 88.93%, Recall: 79.86%, F1-measure: 84.15%
Running on HDFS, I've gotten:
Precision: 4.67%, Recall: 79.67%, F1-measure: 8.83%
What happening?  Is there anything I missed?

My results with default parameter are:
BGL 2K
TP: 57, TN: 602, FP: 86, FN: 20
Precision: 39.86%, Recall: 74.03%, F1-measure: 51.82%
HDFS
TP: 6600, TN: 0, FP: 0, FN: 4047
Precision: 100.00%, Recall: 61.99%, F1-measure: 76.54%

Sorry about that, I am checking the code. this is not the original code. this is a modified code

I got the result with custom log data as below.
Precision: 53.81%, Recall: 98.82%, F1-measure: 69.68%

I uploaded an older version of code.


Enable Sourcegraph

I want to use Sourcegraph for go-logger code search, browsing, and usage examples. Can an admin enable Sourcegraph for this repository? Just go to https://sourcegraph.com/github.com/apsdehal/go-logger. (It should only take 30 seconds.)
Thank you!

Hey, I have enabled the sourcegraph. It is building right now.
Thanks.


fix(#272): correct branch naming

Fixes #272

Current dependencies on/for this PR:

#273  👈
main

This stack of pull requests is managed by Graphite.


Write multiple layers to memory

I need to create geopackages containing several layers, to be downloaded from a web server. Ideally in such a scenario, the data should be created in memory.
But Fiona has currently the following limitations:

fiona.io.ZipMemoryFile supports multiple layers, but is for read only
fiona.io.MemoryFile allows write, but switches to 'r' mode after writing the first layer.

So, my current implementation involves creating the file in the filesystem as a workaround, which is sub optimal.
Proposal: add a "mode" attribute in fiona.io.MemoryFile.open, which would be 'a' for this use case.

Completed!


MaxreplicaCount doesn't seems to work properly with Keda Job

Report
I am sending messages to an Azure storage queue, for every message I see one job is created in K8s. So, this part it's working without any problem.
For example, if I sent 10 messages to the queue this will create 10 jobs in K8s.  I would like to have a max replica of 5 jobs at the time no matters how many messages are in the queue.
Even with setting the maxReplicaCount to 5 seems it's not happening; I have 1 job per message in the queue.
Here my YAML definition
apiVersion: keda.sh/v1alpha1
kind: ScaledJob
metadata:
  name: node-job-scaler
spec:
  jobTargetRef:
    template:
      spec:
        containers:
        - name: nodejob
          image:  acruyhxkgvwutmbk.azurecr.io/nodejob:latest
          imagePullPolicy: Always
          env:
            - name: COSMOS_ENDPOINT
              value:
            - name: COSMOS_KEY
              value:
            - name: AZURE_STORAGE_CONNECTION_STRING
              value:
        restartPolicy: Never
    parallelism: 1                            # [max number of desired pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
    completions: 1                            # [desired number of successfully finished pods](https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#controlling-parallelism)
    activeDeadlineSeconds: 600                #  Specifies the duration in seconds relative to the startTime that the job may be active before the system tries to terminate it; value must be positive integer
    backoffLimit: 1                           # Specifies the number of retries before marking this job failed. Defaults to 6
  pollingInterval: 30                         # Optional. Default: 30 seconds
  successfulJobsHistoryLimit: 5               # Optional. Default: 100. How many completed jobs should be kept.
  failedJobsHistoryLimit: 5                   # Optional. Default: 100. How many failed jobs should be kept.
  minReplicaCount: 0
  maxReplicaCount: 5                          # Optional. Default: 100
  triggers:
  - type: azure-queue
    metadata:
      queueName: job
      queueLength: '1'
      connectionFromEnv: AZURE_STORAGE_CONNECTION_STRING

Here my code in Nodejs
const FibonacciRepository = require('./Repository/FibonacciRepository');
const CalculusService = require('./Services/CalculusService');
const { v4: uuidv4 } = require('uuid');
const { QueueServiceClient } = require("@azure/storage-queue");

(async ()  => {

    const calculusService = new CalculusService();
    const fibonacciRepository = new FibonacciRepository();

    const queueName = "job";
    const connectionString = process.env.AZURE_STORAGE_CONNECTION_STRING;

    const queueServiceClient = QueueServiceClient.fromConnectionString(connectionString);

    const queueClient = queueServiceClient.getQueueClient(queueName);

    const receivedMessages = await queueClient.receiveMessages();

    if (receivedMessages.receivedMessageItems.length === 0) {
        console.log(`No message to process`);
        return;
    }

    const message = receivedMessages.receivedMessageItems[0];

    // Decode encoded base64 message
    const buff = new Buffer.from(message.messageText, 'base64');
    const text = buff.toString('utf-8');

    console.log("Dequeuing message: ", text);

    // Calculate fibonnaci sequence
    const fib = calculusService.calculateFibonacciSequence(text);

    console.log(`Fibonacci result: ${fib}`);

    const newItem = {
        id: uuidv4(),
        seq: message.messageText,
        result: fib
    };

    await fibonacciRepository.add(newItem);

    await queueClient.deleteMessage(message.messageId, message.popReceipt);

})();

class CalculusService {
    calculateFibonacciSequence(seq) {

        let i;
        let fib = [0,1];

        for (i = 2; i <= seq; i++) {
            fib[i] = fib[i - 2] + fib[i - 1];
        }

        return fib;
    }
}

module.exports = CalculusService;

const CosmosClient = require('@azure/cosmos').CosmosClient;
const Config = require('../config')();

class FibonacciRepository {

    constructor(){
        const endpoint = Config.cosmosEndpoint;
        const key = Config.cosmosKey;
        const client = new CosmosClient({ endpoint, key });

        const database = client.database(Config.cosmosDatabaseId);
        this.container = database.container(Config.cosmosContainerId);
    }

    async add(item) {
        const { resource: createdItem } = await this.container.items.create(item);
        return createdItem;
    }
}

module.exports = FibonacciRepository;

Package.json
{
  "name": "job",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "start": "node server"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@azure/cosmos": "^3.17.1",
    "@azure/storage-queue": "^12.10.0",
    "dotenv": "^16.0.3",
    "express": "^4.18.1",
    "uuid": "^9.0.0"
  }
}

Expected Behavior
I would expect even if I had 10 messages in the queue no more than 5 jobs at the time are created.
Actual Behavior
Right now, I see one Keda Job per message in the queue.  I sent 10 messages, and 10 jobs were created even with the maxReplicaCount = 5.
Steps to Reproduce the Problem

Deploy Keda
Create a job that read one message at the time from the queue and process it
Deploy the job with the YAML provided above
Send 10 messages in the queue.

Logs from KEDA operator
example

KEDA Version
2.8.1
Kubernetes Version
1.23
Platform
Microsoft Azure
Scaler Details
Azure Storage Queue
Anything else?
No response

hey
Could you share operator logs? There we can see how it's working

With doing more investigation in the log and watch on the job, I confirm the maxReplicaCount is working.


adding deps doesn't work

create function on UI with deps has no effect. function's dep field shows empty.
I can modify function to add dep(kubectl apply -f ) after creation though, and then deps shows on UI.

checking Thanks again for reporting

I've tried that and I can successfully add dependencies to a function. Which language are you working with? Note that in the case of Python you need to press "enter" before deploying the function to parse the dependencies. Could that be your issue?

you are right! that's it, hitting "enter" is the key.


Revert "haskell: add nix-specific fixes for various packages in stack…

…age"
This reverts commit 17c5ca9018619d819c48e25add78f47d7d575611.
This commit causes an evaluation error due to infinite recursion, which can be
tested by running:
$ nix-env -f . -qa \* --meta --xml --drv-path --show-trace > /dev/null

@bennofs Please submit a new pull request when you have corrected this error.

Oh sorry, I thought I tested this enough... I really need to make a script to check for these kinds of errors. I'll look into this later, THX for reverting


⚠ Bofrost.be has degraded performance

In 19a0927, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2110 ms

Resolved: Bofrost.be performance has improved in 4a6b0a0 after 54 minutes.


Error when using webpack config written in TypeScript

I want to use a webpack config written in TypeScript in my project, but I get an error message if I remove UserscriptPlugin from the configuration, then everything works.
What could be the problem?
[webpack-cli] Failed to load 'C:\***\webpack.config.ts' config
[webpack-cli] TypeError: Unknown file extension ".ts" for C:\***\webpack.config.base.ts
     at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:160:9)
     at defaultGetFormat (node:internal/modules/esm/get_format:203:36)
     at defaultLoad (node:internal/modules/esm/load:141:22)
     at async ModuleLoader.load (node:internal/modules/esm/loader:409:7)
     at async ModuleLoader.moduleProvider (node:internal/modules/esm/loader:291:45)
     at async link (node:internal/modules/esm/module_job:76:21) {
   code: 'ERR_UNKNOWN_FILE_EXTENSION'
}

If it is still an issue for you, provide a reproducible repo for me, thank you!


[Test] Add Kyuubi on k8s With Spark on k8s client deploy-mode unit test

Why are the changes needed?

Add Kyuubi on k8s With Spark on k8s client deploy-mode unit test
How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #2381 (623b356) into master (65a272f) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2381      +/-   ##
============================================
- Coverage     62.64%   62.64%   -0.01%
  Complexity       69       69
============================================
  Files           358      358
  Lines         16968    16968
  Branches       2298     2298
============================================
- Hits          10630    10629       -1
- Misses         5343     5345       +2
+ Partials        995      994       -1

Impacted Files
Coverage Δ

...rg/apache/kyuubi/engine/trino/TrinoStatement.scala
68.96% <0.00%> (-2.30%)
:arrow_down:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
96.34% <0.00%> (+0.12%)
:arrow_up:

Continue to review full report at Codecov.

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

CI test pass. If you have time, please help review this. @ulysses-you

thanks, merging to master


Internal review with Esri staff that have experience in health and safety

Review the current wire-frames with Esri staff that have experience in the Heath and Safety Industry.

is this an appropriate use of the FDA data - is this what they need?
how would users typically use this data
do the personas we have identified make sense
how would they navigate the app - is it simple and intuitive?
what additional data would be needed to add value ?

I'm not exactly sure how these comments can be turned into useful action items.

I showed the Esri Health Director the latest working prototype and obtained the following comments & feedback.

liked the overall feel of the app and how the data comes alive - rather then seeing everything as a long list of items on a spreadsheet.

comments on how to improve:

interesting way to view the data...but want to see more - any data below the state level?
need to be able filter on date, most users would really only want to see recent or current recalls.
Dr Bob probably wants to see more trends and would probably like more time series approach to the visualization..
probably important to add other data to the visualization.  For example, a simple chart that shows total population impacted would help cement the focus for end users.  A recall affecting 10 states - different impact if those ten states are the most populous ones.
this type of visualization would let end users - particularly someone like a public health worker begin to focus their limited resources.
need to change the name - GSA 18F prototype not going to resonate!  Change to something like  "Mapping FDA Food Recalls Across the Nation"

Mike - can you review the comments above and see how we can address in new wireframes

Thanks for the additional information. I believe that showing trends would be extremely useful not only to Dr. Bob but also to Mary, i.e. to see which states have had increases in recall volume over the past 3 consecutive years. I think further research needs to be taken to establish a true needs analysis so that we can settle and decide on a true user need and thus make it a requirement (user story).

Excellent - population impact added to the bottom of the recall window!!  Works great and gives real integration with external data set.  Would definitely help the user to better understand impact - well done!

Agree! PR merged.. ☺
From: Gerry Clancy<EMAIL_ADDRESS>Sent: Monday, June 29, 2015 3:47 PM
To: esridc/openfda
Cc: Michael Gaigg
Subject: Re: [openfda] Internal review with Esri staff that have experience in health and safety (#41)
Excellent - population impact added to the bottom of the recall window!! Works great and gives real integration with external data set. Would definitely help the user to better understand impact - well done!
[image]https://cloud.githubusercontent.com/assets/13022624/8420313/1513d1d0-1e8f-11e5-95f6-5a9bad0f2948.png
—
Reply to this email directly or view it on GitHubhttps://github.com/esridc/openfda/issues/41#issuecomment-116872854.

This has been completed closing the issue.


rimble ui has updated

The old rimble Ui package was throwing errors as PublicAddress was replaced by EthAddress

See comment: https://github.com/OpenZeppelin/starter-kit-tutorial/pull/75#issuecomment-621607504


Implement AsRawSocket and FromRawSocket on Windows for TcpListener, T…

…cpStream and UdpSocket
IntoRawSocket can't be easily implemented as we do reference counting
for the underlying socket and as such can't move the socket out of the
struct.

Hmm, this looks like a clone of #859, which still requires specific work to deal with Windows.

Indeed, and that one is also nicer. Let's close mine then!


Use tail instead of sed for docs build

For cross-platform compatibility (see #1096)

Last commit on #1096 has the correct tail command; feel free to drop it in whenever you next do cleanup for a release.


Create internal lib dir

Description

Moves the shipped jar files to a new internal/lib directory without version info in the filename
Moves the classpath creation logic out of the batch/bash scripts into a new LiquibaseLauncher class which now handles the additional directory.
Adds a list of all the libraries used (including version) to the output of liquibase --version

Fixes #2845
Things to be aware of

Changes the CLI launch script for linux/mac and windows
Moves the logic for building up the classpath, so need to test that the priority of locations is preserved.

Priority is: liquibase_libs beats liquibase_home/lib beats liquibase_home/internal/lib

Things to worry about

No unit tests for the launcher or script changes since they are "initializing" stuff that's hard to unit test currently
Is it correctly respecting and reporting on the jar file location priorities?

The liquibase --version command list correctly all the jar files and their location, liquibase also runs the correct jar file as the priority list Nathan provided.
Output Example:
`Libraries:

liquibase_libs/hsqldb.jar: HSQLDB 2.5.2
internal/lib/jaxb-api.jar: jaxb-api 2.3.1
lib/h2.jar: H2 Database Engine 2.1.212`

Tests Environments:
Database: h2 2
SO: Windows 10
Java: 18.0.1
Database: h2 2
SO: Ubuntu
Java: 1.8.0_312


Fix QtTesting event type attribute saving to file

Serialization of the recently added QtTesting event type attribute had two major issues: incorrect attribute name and attribute type. This pull request fixes both of them.
Since the attribute name is modified, this is not backward-compatible change. However, this should be negligible, as code has become functional only 5 days ago.

Renamed "eventType" attribute to "type". It is redundant to have "event" in the name of the element and attribute. Before: . After
Changed event type from integer magic number (0, 1) to string enum (action, check). Using magic numbers in files would make the format extremely inflexible and more difficult to interpret.

LGTM

Seems good to me too.

Thanks Andras !


Issue with DateTime Format in AOIs

Hi,
When I try to write an AOI with L5Sharp then import it, I get an error in Studio stating:
Error: Line 1250: Failed to set the 'CreatedDate' property (The parameter is incorrect.).
	RSLogix5000Content/Controller/AddOnInstructionDefinitions/AddOnInstructionDefinition[@Name="AOI_OB16_Mapping"]

The raw L5X file shows the following:
<AddOnInstructionDefinition Name="AOI_OB16_Mapping" Revision="1.1" ExecutePreScan="false" ExecutePostScan="false" ExecuteEnableInFalse="false" CreatedDate="Thu Apr 18 11:12:14 2024" CreatedBy="ProgramGenerator" EditedDate="Thu Apr 18 11:12:14 2024" EditedBy="ProgramGenerator" IsEncrypted="false" SoftwareRevision="33.0">

When I look at an L5X file that was generated with Studio, itself, the AOI header is: (notice the datetime format)
<AddOnInstructionDefinition Name="AOI_OB16_Mapping" Revision="1.1" ExecutePrescan="false" ExecutePostscan="false" ExecuteEnableInFalse="false" CreatedDate="2019-09-09T18:20:54.492Z" CreatedBy="joe.a.kelly" EditedDate="2024-03-01T18:33:47.092Z" EditedBy="joe.a.kelly" SoftwareRevision="v33.00">

Looking at the AddOnInstruction class, it looks like it's setting the DateTime string using the SetDateTime method where the format is hard-coded:
protected void SetDateTime(DateTime? value, string? format = null, [CallerMemberName] string? name = null)
{
    if (string.IsNullOrEmpty(name))
    {
        throw new ArgumentException("Name can not be null or empty", "name");
    }

    if (!value.HasValue)
    {
        Element.Attribute(name)?.Remove();
        return;
    }

    if (format == null)
    {
        format = "ddd MMM d HH:mm:ss yyyy";
    }

    string value2 = value.Value.ToString(format);
    Element.SetAttributeValue(name, value2);
}

When I correct the DateTime format, the error goes away.  Maybe this is a change from different versions of studio?  I'm using v33.

Hey,
Thanks for reporting this. I think I just overlooked the format for the AOI component. Hadn't spent a ton of time testing it to be honest.
The SetDate method was setup to take different formats from derived classes, and if not provided would default to that format found on the root content element. This is just a matter of passing in the correct format for those properties from the AddOnInstruction component. I got this fixed and will push a new version here shortly.

I fixed the date time format for AddOnInstruction with version 2.1.0. I tested imported a super basic AOI without any parameters, tags, or routines and it imported without error.


WIP: Add CUDA Support to CI

What's the status of this pull request? Seems like a good idea to have the CI check cuda...

What's the status of this pull request? Seems like a good idea to have the CI check cuda...

The problem is two-fold. For compilation, it adds a significant amount of time to the build.  We don't have many cores to work with, so building magma and Kokkos-Kernels with CUDA support is slow.
For running, GitHub's CI runners don't have GPUs. There don't seem to be options for emulating them, so we'd need machines with the proper hardware (it's oft requested, if Google searches are to be believed).
I think there are ways around these limitations, in theory, but they are quite complicated.  It's worth noting that neither trilinos nor kokkos test on GPU for their GitHub based CI.

ok, that's good information. Sounds like it's impossible then.
Does github CI have a way to let you specify a non-github machine to use for running the CI? Probably couldn't be a Sandia machine since network security issues would no doubt prevent it.
But otherwise, there may be no choice but to abandon this PR.

@ddement Should we close this PR if we're not actively working on it?

Closing because of the discussed shortcomings of our testing infrastructure.  The lack of testing on CUDA (or other GPU platforms, for that matter) is still a problem, but one what will be addressed in the future.  Recent removal of the dependency on Magma might make a CUDA build line run in a reasonable amount of time, but this has not been tested.


cmd/gofmt: weird indentation with block comments

Please answer these questions before submitting your issue. Thanks!
What did you do?
Block comments are formatted weirdly.
			/*
			* - Remove package from manifest
			*	- if the package IS NOT being used, solving should do what we want
			*	- if the package IS being used:
			*		- Desired behavior: stop and tell the user, unless --force
			*		- Actual solver behavior: ?
			 */

What did you expect to see?
Comment beginner and ender is aligned correctly even though it requires adding indentation with spaces.
			/*
			 * - Remove package from manifest
			 *	- if the package IS NOT being used, solving should do what we want
			 *	- if the package IS being used:
			 *		- Desired behavior: stop and tell the user, unless --force
			 *		- Actual solver behavior: ?
			 */

System details
go version devel +6a3c6c0 Sat Jan 14 05:57:07 2017 +0000 darwin/amd64
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/jbd"
GORACE=""
GOROOT="/Users/jbd/go"
GOTOOLDIR="/Users/jbd/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/lq/qcn67khn4_1b41_g48x3zchh005d21/T/go-build547869116=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
GOROOT/bin/go version: go version devel +6a3c6c0 Sat Jan 14 05:57:07 2017 +0000 darwin/amd64
GOROOT/bin/go tool compile -V: compile version devel +6a3c6c0 Sat Jan 14 05:57:07 2017 +0000 X:framepointer
uname -v: Darwin Kernel Version 15.6.0: Wed Nov  2 20:30:56 PDT 2016; root:xnu-3<IP_ADDRESS>.2~2/RELEASE_X86_64
ProductName:	Mac OS X
ProductVersion:	10.11.6
BuildVersion:	15G1212
lldb --version: lldb-360.1.70

/cc @griesemer

@rakyll It's very tricky to get this right. If the "line of stars" is aligned to start with, it works out most of the time. The problem is recognizing the "line of stars" as a line and not interfere when it's not. There's some support for the argument that gofmt should never touch comment internals in the first place. Fixing this requires meddling with the inside text of a /*-comment. Sometimes the heuristic will be wrong.

There's some support for the argument that gofmt should never touch comment internals in the first place.

That's exactly what I would like to see one day.

Moving this to 1.10 as it may have wider-ranging implications.


[feat] Can we store the default prefix?

Hi @mgechev , thanks for a great Codelyzer!
I would like to integrate it with my starter, so far no issue, but I found some rules value is repetitive, for example:
"directive-selector-prefix": [true, "as"],
"component-selector-prefix": [true, "as"],
"pipe-naming": [true, "camelCase", "as"],

the repetitive part is "as" one, it'd be cool if I can store the prefix default in variable like
"prefix-default": "as",
"directive-selector-prefix": [true],
"component-selector-prefix": [true],
"pipe-naming": [true, "camelCase"]

so I need to change only one part to reflect all of them, of course we can override the default one with usual way
It'd be great to have this feature
Thank you!

At the moment we're not planning to implement such feature but we can consider it in future once we catch-up with more critical functionality.
Lets close the issue for now.


[SELECT] Mui-selected class always gets applied in the first MenuItem when rendering my Select Group component

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
I'm trying to do a list dropdown where my menu items are grouped by some category. Unfortunately, the first item in the first group is always highlighted when I'm implementing grouping in the menu items. The issue is not existing in the old material UI Select component

Expected behavior 🤔
Mui-selected class should not be applied in the first item of my list
Steps to reproduce 🕹
https://codesandbox.io/s/select-group-issue-3862fj?file=/src/Demo.tsx
Context 🔦
Mui-selected class should not be applied in the first item of selection list
Your environment 🌎

`npx @mui/envinfo`
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

I haven't look into the implementation of the Select but from the behavior, it looks like a bug to me. It should not have Mui-selected if there is no selected option yet.


Ethereum Examples: updated governance links

Updated the relevant links on "Blockchain Integration/Ethereum Examples" to point to the refactored Governance example.

I forsaw these errors when editing 1.0/1.1 to point to risc0-ethereum/main.
I find these checks too constraining when wanting to make changes to the docs. In the current situation, I'd have to open a new PR to update the risc0-ethereum release-1.0 branch to include the governance example code and link to that, in order to match the versioning.
I don't personally see much value from this strict tracking of versions between the monorepo and risc0-ethereum but I am just in the process of finding out the procedure on the risc0-ethereum side of things, perhaps it makes sense to open that PR to release-1.0.

I forsaw these errors when editing 1.0/1.1 to point to risc0-ethereum/main.
I find these checks too constraining when wanting to make changes to the docs. In the current situation, I'd have to open a new PR to update the risc0-ethereum release-1.0 branch to include the governance example code and link to that, in order to match the versioning.
I don't personally see much value from this strict tracking of versions between the monorepo and risc0-ethereum nevertheless I am in the process of finding out the procedure on the risc0-ethereum side of things, perhaps it makes sense to open that PR to release-1.0 and then this would solve the current issue.

hmm i think we do probably want users to land on a stable example rather than main.
my thinking is that if we want to point to main on risc0-ethereum, we would probably also need to insist that the web3 teams makes sure the examples on main don't break as they iterate. e.g., if the upcoming version of risc0-ethereum includes a re-design on the publisher architecture, users trying out the governance demo shouldn't be impacted.
i do agree though that the friction here is pretty annoying. i've come around to thinking that this may be necessary friction in order to be able to offer high quality docs in the context of an actively changing system architecture, but i'd love to figure out how to make this feel easier...

cc @flaub

thanks for your comment @pdg744, I now understand the reasoning entirely behind this friction. The solution here is to follow the friction and point to the right release.

Waiting on this PR to be reviewed and merged: https://github.com/risc0/risc0-ethereum/pull/247. Once this is done, I will revisit this PR to point to the correct example links in release-1.0.

If we don't have an example that works against a particular stable release, then we shouldn't have a link in the docs. However, once the example is backported to that stable release and is included in CI, then I'd say it's safe to add the link.

I think in the future, we should plan to add examples as part of a release and only backport them if it's not going to take a lot of extra work. There's an ongoing maintenance cost for older versions that we might not be prepared to support.


RS-247: Optimize and solve technical issues for SEO

Stop indexing:

paginated pages (/blog/page/*)
Tags pages (/blog/tags/*)
Unused search pages (/search and /search/*)

Set UTF-8 as the default character encoding
Resolved issues related to wrong canonical links
Updated duplicated anchor texts

How to check noindex tag:

Ideally the external documentation would have a canonical link to reduct.store instead of the way around. To make sure the reduct.store gets rank and not the external doc.
I found only 4 affected pages:

https://cpp.reduct.store/en/latest/
https://py.reduct.store/en/latest/docs/quick-start
https://js.reduct.store/en/latest/docs/quick-start
https://github.com/reductstore/datasets/blob/main/examples/cats.ipynb


(ica) issue #206

Add AllowMessages as gov proposal ( ica test )

this pull request resolve ica_test workflow after AllowMessages has been removed from InitChainer in #205

 Sent MsgSubmitTx with response Err(RequestError { error: Status { code: Unknown, message: "unable to resolve type URL /gravity.v1.MsgSendToEth: tx parse error", metadata: MetadataMap { headers: {"content-type": "application/grpc", "x-cosmos-block-height": "164"} }, source: None } })
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: RequestError { error: Status { code: Unknown, message: "unable to resolve type URL /gravity.v1.MsgSendToEth: tx parse error", metadata: MetadataMap { headers: {"content-type": "application/grpc", "x-cosmos-block-height": "164"} }, source: None } }', test_runner/src/ica.rs:688:17

Note: do not merge 5c022b6 into main , It's should be fixed in deep_space Bech32WrongLength:
   let address = Address::from_bech32("gravity1kmglgwrztatk4wzsa98jr3sevtz2l82g7erhwq2ynumxlaxt3gyqh6xqch".to_string());
    println!("Address: {}", address);

Address: Err(Bech32WrongLength)

This PR has merge conflicts, so I am manually adding these changes to the ica branch.


[Runtime] Use MetadataAllocator to allocate runtime instantiated layo…

…ut strings (#66055)
5.9 cherry-pick of https://github.com/apple/swift/pull/66055
Explanation: This will create more visibility into layout string allocations when using swift-inspect.
Scope: Runtime instantiation of layout strings
Issue: rdar://109660582
Risk: Low. The feature is still experimental.
Testing: No new functionality was added, all existing tests still pass.
Reviewer: @mikeash

@swift-ci test


Fix broken links in multi-module Maven Site

Some links are broken in the Maven site, here.

Addressed with b651affac65e35e3362667172f5467192a4b8b10.


how to save image and mask in different location?

After augmenting the original data and corresponding ground truth data in parallel, how to save them inseperate folders?

Hi @Jingxin-LIU, no this currently not supported, however the filenames contain information about which are the ground truth images and so on.


README.adoc: Update readme to be in line with project scope

Pull Request Test Coverage Report for Build 21

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.816%

Totals

Change from base Build 9:
0.0%

Covered Lines:
1481

Relevant Lines:
1613

💛  - Coveralls


Is API-loadbalancer a single point of failure?

If that is the case, how we can add failovers?

@givia

Greetings @hzamani,
What we have implemented today is certainly scalable. Each worker has the limitation however of only being able to contact a single api-endpoint, irrespective of how many addresses you inform it of. This is a limitation of the kubelet codebase itself.  We've mitigated this with round-robin distribution of those requests via a load balancer.
As you've pointed out, it certainly could be a single point of failure, however, you can scale the kube-api-loadbalancer application. Each worker unit has logic in the charm to pick one at random from the presented list and will communicate with that api-loadbalancer for the duration of its lifecycle. As you add/remove loadbalancers, the kubelet units will reconfigure based on the *-departed and *-changed events respectively.
If you wish to distribute load against these load balancers from a client user perspective, I would recommend a DNS based solution, where you route to those api-loadbalancers with a PTR record, where you can weight them and additionally use health checking depending on the cloud/DNS provider. Update the client kubeconfig on your workstation with that DNS record and it should perform as expected. (You might need to add extra SANS to the LB's TLS certificate if you take this route however.)
Let me know if this successfully answers your question.

As there has been no movement on this bug for 20 days since the last interaction, I'm going to close this. If there are any further questions relating to this issue please comment here and we'll get it reopened.


usage of sintaxica as sparql editor;

@damianw27 This is great work. I created and pushed a separate branch (integrating some later changes I had made to the main code) to work on: https://github.com/william-vw/n3-editor-js/tree/pull_12
One problem is that if I copy paste a bunch of SPARQL queries (plain text, no formatting) I get the following (a bunch of whitespace on the left).

Also the layout is bunched to the left (this may also be related to my crappy HTML code):

Would it be possible to fix these issues?

Yup, I will have a look at this after I do my job duties.

I found few problems in styles. Now everything should fit fine.

@damianw27 The updated editor.js still doesn't work for the editor (nor your online editor) when programmatically setting the editor value.
This is the code you used to update the editor value (hard-coded query):
$("#code-textarea--input").val("CONSTRUCT {?x ?y ?z} WHERE {?x ?y z} .")

If you try it then the query appears, but after clicking in the editor window,  it disappears.
Also - when directly setting the query after loading the page nothing happens - if I delay this operation for two seconds, then the query does appear (but with the same "disappearing act" as before). Is there some specific onload event I should be listening for? (As I said, I already wait for the page onload event.)

In my case, the following code works just fine
`
var observer = new MutationObserver(function() {
const textarea = document.getElementById('code-textarea--input');
if (textarea !== null) {
  textarea.value = "CONSTRUCT {?x ?y ?z} WHERE {?x ?y z} .";
  observer.disconnect();
}

});
observer.observe(document, {attributes: false, childList: true, characterData: false, subtree:true});
`
Is there any way to test the app with hot reload?

@damianw27

Is there any way to test the app with hot reload?

You can clone the latest repo (sparql_to_n3 branch) and run nodemon app.js - the location defaults to localhost:3002/n3/editor/sspin3.html (version with syntaxica). Most features won't work but they're also not needed in this case.
See lines 296-300 for my efforts on updating the editor, as per the code you had previously shared (and trying the aforementioned delay).

@william-vw with usage of MutationObserver everything works fine

@damianw27 if you can show me an updated PR with functioning code then I will integrate into the editor next week


data - potential privacy issue

Hi Ali, I appreciate that you are including data in this repository in notebooks/datasets/Customer-Churn-Records.csv, to make the work completely reproducible!  However, I notice your data includes people's names and possibly sensitive information such as their credit score and estimated earnings.  I don't see a reference, so not sure if it's an open-source or simulated data set.  Would be good to add a reference or remove identifying information from the dataset, if it's data on real people...

Hi Catalina, thank you for the feedback. This dataset is open source from Kaggle. I've added a paragraph to README mentioning the source of the dataset and the link to it's page on Kaggle website. Cheers!


Vulnerabilities

We're getting reported some vulnerabilities, as visible per here
Is this already being picked up?

These are nonsense CVEs, generated by an AI bot. You should ignore them.

Thank you!

Official reference page.


Tile selector doesn't show up on Blender 4.0

The tile selector does not show up whenever I click on the Build tool or any of the ReSprytile tools
More info:

OS: Fedora Workstation 38
Running Blender 4.0
ReSprytile version: Master

I have been able to replicate the issue. Currently investigating

for those who are interested, the override withbpy.ops.sprytile.gui_win(override_context, 'INVOKE_REGION_WIN')is no longer possible when switching to 4.0  , with the change below it will run further, but then the next Problem will start
area=override_context['area']
space_data=override_context['space_data']
region=override_context['region']
with bpy.context.temp_override(area=area,space_data=space_data,region=region):
        bpy.ops.sprytile.gui_win('INVOKE_REGION_WIN')

maybe it's just a problem with my installation, but with 4.0 the bgl function are all None, so the code has to be rewritten towards gpu

Any updates?

I made a fork and created a release, there are probably still a lot of bugs, but Sprytile starts at least

Any updates on the missing Tile Selector? I am on Blender 3.6 and it also disappeared. I can't get it to show back up.

@Taron686 did a great job making it work with Blender 4.X, Merged and Closed
https://github.com/ionthedev/ReSprytile/releases/tag/1.0.2


Error with defaulted nullable navArg and import

Hello,
I have a weird issue when having a nullable navArg with a default of null combined with the import of "androidx.compose.foundation.layout.*".
When both are together, I get an "Unresolved reference: Direction" error. I do not know which specific part of ".layout" is causing the problem, but when I imported the ones I needed (Column, fillMaxSize, fillMaxWidth, requiredHeightIn, aspectRatio) separately, it worked fine.

Hey @philipk99 !
Is there a way for me to see the code? If it’s private repo, can you please try to make small reproduction repo? 🙏

Nevermind! I was able to reproduce it! Thanks, I'll take a look into this today! :)

Guys super weird issue. It seems like on Kotlin if you have multiple wildcard imports and both have a class with the same name, and you then use that name in the code, it gets confused even if (and this is the weird part) one of them is internal (and so, not accessible).
I already know the fix, just need some time. Maybe I can only do it tomorrow. Tough few days!

No need to pressure yourself :) That's an open source project after all. If someone feels really impacted by this, he/she can look into it as well as make a PR. It's not critical anyway, since you can work around it by making the param non-optional. For the time being, I can live with that :p

Yeah but I don’t like open bugs 😁

Fixed! :) Please try version 1.5.10-beta and let me know guys!

Fixed :) 👏


 no longer seems to work

Describe the issue
Even with <?rfc private="yes"?>, xml2rfc now seems to include Internet-Draft boilerplate.
Code of Conduct

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

I see that this is now done by setting <rfc ipr="none" -- not sure that this is the right way to do this (RFC 7991 has different text about that), but it seems to work with v3.
https://authors.ietf.org/en/rfcxml-vocabulary#ipr claims this is done with an empty string, which is not accepted.

I see that this is now done by setting <rfc ipr="none" -- not sure that this is the right way to do this (RFC 7991 has different text about that), but it seems to work with v3.
https://authors.ietf.org/en/rfcxml-vocabulary#ipr claims this is done with an empty string, which is not accepted.

Is this a problem with authors.ietf.org or a bug in xml2rfc? (i.e. should I fix authors.ietf.org?)

Well, first I'd like to confirm that ipr="none" is the stable replacement for  <?rfc private="yes"?>, which is a question about xml2rfc as this is not really part of the standard RFCXML vocabulary.
The result of this confirmation then should be reflected in the documentation (including authors.ietf.org).