Extension doesn't works on Flatpak version

OS/Platform
Debian, Ubuntu, and derivatives
Installed
Flatpak
Version
105, 106
Have you tested that this is not an upstream issue or an issue with your configuration?

[X] I have tried reproducing this issue in Chrome and it could not be reproduced there
[X] I have tried reproducing this issue in vanilla Chromium and it could not be reproduced there
[ ] I have tried reproducing this issue in ungoogled-chromium with a new and empty profile and it could not be reproduced there

Description
This proxy extension doesn't works on Flatpak version properly. Doesn't proxyfying.
How to Reproduce?

Come to Russia (you'll need a russian IP)
Install Ungoogled-Chromium via Flatpak
Install extension Обход блокировок рунета
Try to open e.g. http://hdrezka.tv/ which is bloked by russian ISPs
If extension works you will get access to this site. But it doesn't works on Ungoogled-Chromium from Flatpak.

Actual behaviour
Extension doesn't proxyfying on Ungoogled-Chromium installed via Flatpak. So blocked sites are inaccessible
Expected behaviour
When Extension works you will get access to the blocked site.
Relevant log output
No response
Additional context
Extension works properly on Ungoogled-Chromium from .deb package and from AppImage package

https://github.com/anticensority/runet-censorship-bypass/issues/158

This extension uses a proxy .pac file.
I found that:
If I try a another proxy extension, the proxying works. As long as I don't set proxying through the .pac file in the extension settings. Coonection resets each time i set the .pac file in settings.
This affects the version of Ungoogle-Chromium installed by flatpak.
I've tried another browser installed by flatpak, which is based on Firefox, and the .pac file works there.
So it looks like Ungoogle-Chromium flatpak issue.


monorepo with webpack

I'm trying to create monorepo which will contain components that are built with typescript and sass. Folder structure looks like this:

packages

components

src

Slider

Slider.ts (import 'Slider.scss')
Slider.scss

Modal

Modal.ts (import 'Modal.scss')
Modal.scss

webpack.config.js

app1

src

index.ts (import Slider from components/src/Slider/Slider)

webpack.config.js

app2

src

index.ts (import Slider from components/src/Slider/Slider)

webpack.config.js

I want to use components in app1 and app2. What I tried is building components with DllPlugin and referencing it in app1 and app2 with DllReferencePlugin, it works well for typescript files, but what about scss, images, fonts and other assets? When building app1 or app2, I want their dist folder to include all assets from components. The reason why I'm not importing directly components/src/Modal without dll plugin is that components folder may have different webpack configuration like alias for example. What's the best practice for accomplishing this?

@karaxuna please use issue template

Duplicate of https://github.com/webpack/webpack/issues/7745.
Please follow the rules.


mockito-scala-scalatest 1.17.12 (was 1.16.55)

Updates org.mockito:mockito-scala-scalatest from 1.16.55 to 1.17.12.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.mockito", artifactId = "mockito-scala-scalatest" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.mockito", artifactId = "mockito-scala-scalatest" }
}]

labels: test-library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #221.


Service Military\Mil2525CWeb map service does not have a service definition file

Without a service definition file this non-hosted service can't be published to an Ops Server. Based on the name of the service, I'm assuming this has military symbology so it was published from Pro as a non-hosted service so it will need to be manually published by people setting an Ops Server
@Dbarnes1 Will this service be a part of this Ops Server Release? If yes, are you creating the documentation and whatever else is needed to manually publish this service for this release? Thanks.

@elinz I just deleted this service and the associated portal items, so it should be gone now. The documentation I've included goes over how to publish services from Pro from scratch, as that workflow will be easier than re-pointing their data to existing services.

@Dbarnes1 Thanks. I will close this issue.


[Bug] Decode error when joining server with version 1.5 mod

It's a plain for a mobpack to find why player error on join with no client error and no server error across 40+ mods, but I manged to write a mod for debugging and found that is your mod mess up the ClientboundUpdateRecipes Packet and causing following error:

debug log:
[04:07:35] [Netty Client IO #1/INFO]: ======
[04:07:35] [Netty Client IO #1/INFO]: Res Location1:tksrwine:shaker
[04:07:35] [Netty Client IO #1/INFO]: Res Location2:tksrwine:shake_peach_what
[04:07:35] [Netty Client IO #1/INFO]: ======
[04:07:35] [Netty Client IO #1/INFO]: ======
//Mess up already, should be minecraft
[04:07:35] [Netty Client IO #1/INFO]: Res Location1:craft:crafting_shaped(immersiveengineering:crafting/turret_gun
[04:07:35] [Netty Client IO #1/INFO]: Res Location2:
[04:07:35] [Netty Client IO #1/INFO]: ======
04:07:35] [Netty Client IO #1/ERROR]: Got error when handling packet
io.netty.handler.codec.DecoderException: net.minecraft.ResourceLocationException: Non [a-z0-9/._-] character in path of location: craft:crafting_shaped(immersiveengineering:crafting/turret_gun

The problem is your mod don't match the data structure of toNetwork and fromNetwork method, read the extra 4 bytes from the bytebuf on fromNetwork , you can just write it as well to fix it:
https://github.com/AmarokIce/TskimiSeiranFruitWine/blob/9e865b1ece12dd14eb8a8a17915c951e7fb12817/src/main/java/club/someoneice/vine/common/RecipeShaker.java#L135-L151
It's no offense but I personally strongly recommend to just test your mod both Singleplayer and DedicatedServer before releasing a new version, it's easy to found such bug on development but very difficult for user and creator since it needs digging that across tens or hundreds mods, which is nightmare.

Thanks for report it! and try with 1.6


Feature Request: Hide "[user] follows" algorithmic tweets

Twitter has recently started aggressively pushing tweets from users that my mutuals follow but I don't follow, which lead me to looking for ways to remove it. I came across this extension as the most promising way to clean up my timeline, but it seems these tweets are not supported yet.
Sample tweet:

I don't know if this helps but I've also saved the HTML source of the tweet above in case it's some A/B test that's causing it to appear extra frequently for me.
userfollowstweet.txt

Thanks,  I mustn't have seen this one before.
These are detected based on the SVG icon above the tweet, so just need to add that and an option to configure it.

This is now available in v2.14.3


NAVBAR and Background

HI
I have some suggestions regarding navbar and background.

Currently, the navbar is quite small, It should be changed.It should be made a bit more long (height++). We can use icons to make it look good. It should  have a color code that depicts message visually

RED COLOR NAVBAR means you are currently not logged in
GREEN COLOR NAVBAR means you are logged in
USERNAME logo can also be used for this purpose.If logo is without tick, it means you are not logged in and if tick, means l
logged in
2)We can improve background to make it user friendly. WE can create a theme toggling button , or simply create a javascript that detects user's timezone and according to it, changes theme to light or dark,

Implementing these changes will make website look better adding to user experience.
I would like to work on there issues ( if allowed )

Hi Himanshu
Yes agreed it is looking like it is need of a styling refresh. You are absolutely allowed to work on this :)
Let me know if you need any help

Hi Himanshu
Yes agreed it is looking like it is need of a styling refresh. You are absolutely allowed to work on this :)
Let me know if you need any help

Hi Himanshu
Yes agreed it is looking like it is need of a styling refresh. You are absolutely allowed to work on this :)
Let me know if you need any help

Thank you sir, I will surely let you know.

Hi Himanshu
Yes agreed it is looking like it is need of a styling refresh. You are absolutely allowed to work on this :)
Let me know if you need any help

Thank you sir, I will surely let you know.


method translate return array instead of string

Good day. I try do following (in rails console for example) :
I18n.t("devise.sessions.new.title")
And i get that -  ["Sign In"]
In my yml file i have that:
en:
devise:
sessions:
new:
title: "Sign In"
Before I get string (don`t array) and all will be fine, why now am i get array instead of string?

Hey @largobox. The indentation on your yml wasn't preserved here, so I don't know how you were able to get an array.
I just tried it in an app which is using 0.7.0, albeit with a properly intended yaml file:
en:
  devise:
    sessions:
      new:
        title: "Sign In"

This works for me.
If you have steps to reproduce the issue, then I will re-open this issue and investigate.


Proponent related submissions dropdown

Description
PADS-272
self scope is now being checked on calling getActivityIds endpoint
hasAuthorization added to the endpoint
getActivityIds function removed from service layer and instead now using getSubmissions and filtering the data in the controller
InputText replaced with EditableDropdown in enquiry intake form for related submissions

Types of changes

New feature (non-breaking change which adds functionality)

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have checked that unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

Further comments

Project name missing, should show Activity/ confirmation ID - Project name in the drop down.
Can we also make the dropdown show when you just click on the field itself? It only shows the dropdown when you click on the arrow. Thank you!!

Project name missing, should show Activity/ confirmation ID - Project name in the drop down. Can we also make the dropdown show when you just click on the field itself? It only shows the dropdown when you click on the arrow. Thank you!!

Added project name. As it is an editable drop down the text area has to remain clickable to enter information. The arrow is the only way to open/close it here.


[2.0] Be able to install templates from Github repos

Rather than assuming NPM we'd like to be able to install generator templates from a Github repo.

maybe Pollinate?


Files inside a folder in a new project don't save when user invokes 'Save Project As'

If you create a file within a folder in a new project and perform "Save Project As" without explicitly saving the file, the file's contents will not be saved. If you create a new file in the project's root directory and save the project without explicitly saving the file, the file will save successfully.

Also tab for that new file is not clickable, if it was not closed before save action.


MXNet nightly cpu build (w/o MKLDNN) does not work with Horovod

Description
Installing Horovod with MXNet nightly CPU (w/o MKLDNN) failed. GPU build and CPU mkldnn build are both okay.
Error Message:
OSError: /usr/local/lib/python3.6/dist-packages/horovod/mxnet/mpi_lib.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN5mxnet10CopyFromToERKNS_7NDArrayEPS1_i
@TaoLv Is it also related to the change you made recently that fixed MKLDNN build?
@szha @leezu FYI

Hmm if you're using the latest nightly build, I'm afraid MKL-DNN is already enabled in it. Could please share the output of mx.runtime.Features()?

Tested with the latest nightly build and the issue was gone.


Why the software history was not kept?

Hi there,
I'm a researcher studying software evolution. As part of my current research, I'm studying the implications of open-sourcing a proprietary software, for instance, if the project succeed in attracting newcomers. bowser was in my list. However, I observed that the software history of when the software was developed as a proprietary software was not kept after the transition to Github.
Knowing that software history is indispensable for developers (e.g., developers need to refer to history several times a day), I would like to ask bowser developers the following four brief questions:

Why did you decide to not keep the software history?
Do the core developers faced any kind of problems, when trying to refer to the old history? If so, how did they solve these problems?
Do the newcomers faced any kind of problems, when trying to refer to the old history? If so, how did they solve these problems?
How does the lack of history impacted on software evolution? Does it placed any burden in understanding and evolving the software?

Thanks in advance for your collaboration,
Gustavo Pinto, PhD
http://www.gustavopinto.org

hi @stefanalund, do you have any comments?


Namespaces don't show in workload/ingress/dns for imported cluster

Rancher versions: v2.0.0-alpha17
Steps to Reproduce:

Create a imported cluster
Go to workloads
Add workload

Results:  Notice the namespace drop-down is empty.  Should have default in there.

@tfiduccia it might be happening because the cluster you import, used to be a part of rancher before. In this case Default namespace continues to be assigned to its original project/cluster. I've filed a separate ticket so we can come up with the proper cleanup steps to take before the cluster can be re-registered with rancher (https://github.com/rancher/rancher/issues/12126)
For this ticket, could you validate if the issue happens for a freshly created cluster import.

Version - 2.0 master 3/19
This is reproducible on a cluster that I just created.  The default namespace is showing up on the namespace page, but doesn't show up on Deploy Workload.

Can't reproduce, steps taken (was specifically trying to avoid UI refresh):

Go to Global view, Create cluster, Chose import, copy command, get back to Global page
Execute the command on the cluster side, wait for the cluster to appear and become active on the Global page
Go to project view under the cluster, hit workload create. Default namespace is presented in the namespaces dropdown.

May be a timing issue? And the workload.run is hit before underlying controller sets the projectId on the default namespace

Version - 2.0 master 3/19
Timing issue between project and namespace creation (very small window)

Is it fixed? Still have this issue in 2.0 master 3/28

@gitdemo-cn - I've seen this off and on, can you answer a few questions to help us track down?

What type of cluster are you using?
Do you have more than 1 cluster?
Are you in the default project or did you create a new one?


RTL config using MDX code block breaks formatting

Describe the bug
Not sure if this is intended or not, but when using RTL and MDX code blocks—the formatting within the <pre /> tag becomes jumbled.
Reproduction
I reproduced this with a very minimal install of Ladle and React, see the below StackBlitz environment:

Open StackBlitz ladle-t5xsz3.
Navigate to Docs -> Readme story.
Toggle Right to left on.
See the code block shuffle the semi-colons and parts of the string.

const greeting = 'Hello, ladle!';

becomes
;'!const greeting = 'Hello, ladle

Note: When I copy and paste with my clipboard, the code comes out proper even though it displays incorrectly.

Thank you for the awesome work!
Environment

OS: Windows 11 & Mac OS 14.2.1
Browser [Firefox, Edge, Brave]
Version @ladle/react: 4.0.2

What is the correct behavior? Should rtl not change formatting/directon of code blocks?
It seems we could just achieve that by adding
<pre dir="ltr">

to fix this.


Parsing the data from JSON

Git REST API v3 is used to get the user data from Github. After parsing the data from JSON, please append username, last 4 pull requests to the element assigned the id=result.
Any other suggestions are most welcome. :blush:

i take this

Great work @chawki27000 :blush:
However, few modifications are needed:
You separated each pull request with
<p>---------------------------------</p>

instead, you can make a card for each pull request parsed from the JSON.
Thank you for amazing work :)

Thank you @rowhitswami :)
Yes i separated each PR with p tag, I will add a stylesheet for more elegant design.


Display Feedback on admin side

Is your feature request related to a problem? Please describe.
Get feedback of different events according to their id
Describe the solution you'd like
In the event page, on clicking get feedback, redirect to the feedback page with respective event id passed to the url
Fetch the feedback from db corresponding to the respective event id

zxxz


AgreedtoTerms non-responsive when Updating User

The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.
Please confirm the following:

I have upgraded to the latest GAM release from https://git.io/gamreleases and I still have this issue.
5.06 installed
I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki

Full steps to reproduce the issue:

Select any user
Update user information and specifically the 'agreedtoterms' switch
Other switch parameters work toggling between false and true: Changepassword, GAL, Suspended etc work properly. No combination of switches work with 'agreedtoterms' and I've made sure to copy & paste the command.

Expected outcome (what are you trying to do?):
Turn the 'Has agreed to terms: False' into True
Actual outcome (what errors or bad behavior do you see instead?):
Running the line of code says updating user but subsequent user info command reveals no change.

AgreedToTerms is read only. GAM can try to update it but it's not allowed. Only the user logging in and accepting terms will toggle it.

That was my suspicion, thanks for confirmation.
Robert Moore
Support Specialist
Clackamas ESD
503-675-4076(w)
On Thu, Apr 23, 2020 at 7:51 AM Jay Lee<EMAIL_ADDRESS>wrote:

AgreedToTerms is read only. GAM can try to update it but it's not allowed.
Only the user logging in and accepting terms will toggle it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jay0lee/GAM/issues/1167#issuecomment-618440459, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APJP3RRCUE6PUUZD4M4MQXTROBIWLANCNFSM4MPDVZIQ
.


Inquiries regarding your paper on anomaly detection

Hello Yujiang!
@yujiangpu20
I have a few questions regarding how the weights obtained in your detection model can be extracted for use on a dataset of my own. Could you kindly provide guidelines on how best to do this? Your help would be much appreciated!
Looking forward to your response.
Best regards.

If you want to untilize my model on your own dataset for testing, you may follow the below steps:

extract I3D RGB features (shaped as T*1024)
generate the test.list file and rewrite the dataloader
modifiy the config.py and run infer.py

Hello again :D @yujiangpu20
Thank you so much for your assistance, we have managed to work our way through step 1 and part of step 2. But I had some questions regarding the dataloader. We looked through the following code lines in the main.py file (line 84-104)
def main(cfg):
logger = get_logger(cfg.logs_dir)
setup_seed(cfg.seed)
logger.info('Config:{}'.format(cfg.dict))
if cfg.dataset == 'ucf-crime':
train_data = UCFDataset(cfg, test_mode=False)
test_data = UCFDataset(cfg, test_mode=True)
elif cfg.dataset == 'xd-violence':
train_data = XDataset(cfg, test_mode=False)
test_data = XDataset(cfg, test_mode=True)
elif cfg.dataset == 'shanghaiTech':
train_data = SHDataset(cfg, test_mode=False)
test_data = SHDataset(cfg, test_mode=True)
else:
raise RuntimeError("Do not support this dataset!")
train_loader = DataLoader(train_data, batch_size=cfg.train_bs, shuffle=True,
num_workers=cfg.workers, pin_memory=True)
test_loader = DataLoader(test_data, batch_size=cfg.test_bs, shuffle=False,
num_workers=cfg.workers, pin_memory=True)
Is it this segment we would have to adjust? If not, could you kindly specify which part/parts? Thanks so much once again, looking forward to your response :)


mine/gate damage is not redistributed among tokens correctly

Also, ships hitting minefields don't move. they should move up to the point of collision


Update

Client
I have made a basic client It can be found here : Multi-Ogar Client
Don't be disappointed by the looks as I will be adding more features in the near future :)
(I'm already planning a new client :D)
Forum
I was wandering if anyone wanted a forum ? :D

Nice! :D

Hide Grid - Dark Theme bug
i select "HideGrid" And automatically set on white background and not on darktheme

@Fantasy-Agario Do you know the code? For BOT SMARTER only for me? i need the calculatuon :)

@NameYT Define pls :)

@Fantasy-Agario Why i cant use pellet mode :(

@Fantasy-Agario That make bots smarter!! Tricksplit Teaming Splitrunning like that farming virus

@Jhair2015 Thanks for pointing that out :)
And the client isn't fully finnished yet so its a bit buggy

@Fantasy-Agario Why i cant use pellet mode in Agar.io

What about the forums ? anyone want one :)

On my client or the Agar.io client ? @NameYT

@Fantasy-Agario Agar.io and i want FORUMS!!!!!!!!!!

This is my settings

@Fantasy-Agario Help

hmm im not familiar with the new settings , I couldn't get this to work either, try downloading the earlier version REVERT
If it doesn't work then you might have to ask @Megabyte918
And imma start work on the forums right away :P

@Fantasy-Agario Yay :) do we have login system like that ?

@NameYT
minionStartSize = 32
minionMaxStartSize = 32
disableERTP = 0
disableQ = 0
serverMinions = 15
defaultName = "Jhair"
collectPellets = 1

@Jhair2015 Thanks <3

For the forums ? @NameYT

@Fantasy-Agario Yes

@Fantasy-Agario
No problem and...
Whats is FORUMS??

@Fantasy-Agario Is forum necessary?

@Fantasy-Agario  @NameYT
What are forums? Sorry I'm not American, I'm from Latin America! :p

@Fantasy-Agario @Jhair2015 IT DOESN"t WORK PELLET MODE DOESN"t WORK

They are like mini social networks
EXAMPLE

@Jhair2015 haha it works like this http://www.minecraftforum.net/

I will make an issue that it dont work :()

And @firelightning13
A forum is not necessary but it would separate the support issues from acctual issues with the code + it would be nice to have a community surrounding this project :P

@Fantasy-Agario Why pellet mode doens't work

I'm not sure but ill try fixing it :D

@NameYT  I do get pallet mode in the last update...

@firelightning13  xD :v

@Jhair2015 Well it doens't work now :(

seems like your client doesn't support "P"

the client isn't fully finnished yet so its a bit buggy

right

I don't really think we need a forum yet

Yeh not yet , but just to take it into consideration :)

This client looks familiar.. 😢

very

play.ogarul.tk??? TRIGGERED

Its open source so yh , plus this is just a basic client for the time being :D

XD

lmao

add the skin feature

It's just the fact that Andrew made it is making me want to do what's in the image. 😄

@mastacoder XDDDD

if you can configure the skins, like to minemoore.uk.tk?

I use a completely different thing and it only works for my client
On Fri., 9 Dec. 2016 at 12:46 pm, AlexByte918<EMAIL_ADDRESS>wrote:

if you can configure the skins, like to minemoore.uk.tk?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Megabyte918/MultiOgar-Edited/issues/139#issuecomment-265932766,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASmSHFndS8c8idhLVxMUDe-NxqSsN1kJks5rGN01gaJpZM4LDcNJ
.


Questions about more complex scenarios using SeaORM and clean architecture

@bkonkle I saw that you answered "on video" to the other two issues and soon I will be able to watch and learn from the wonder you are creating.
Since you are a content creator perhaps the following question could offer you more food for thought and therefore videos! : smile:

I have a project with these models and relations:

Player

Team

Games
Coach
Doctor

MedicalSpecialty

Sponsor

This is an example, of course, but as you can see I can have on table Player a team_id column as FK (Foreign Key) for Team which has coach_id column as FK for Coach table.
In my Golang backend I'm using an ORM that allows you to (generate and) use this kind of code:
type Player struct {
  id string
  name string
  Team *Team
  //...
}

type Team struct {
  id string
  Coach *Coach
  //...
}

type Coach struct {
  id string
  //...
}

func (repo *Repo) PlayerById(id string) DomainPlayer {
  player := repo.queryById(id).withTeam().withCoach()

  // player here has TEAM and TEAM.COACH using a unique SQL query

  // and I can easily convert it:

  return ConvertPlayerToDomainPlayer(player)
}

Starting with Rust I was fascinated by SeaORM but now that I'm trying to create something more complex I have realized that I cannot do things like in Go.
I'm generating entities using sea-orm-cli from my Postgresql DB created using SeaORM Migrator (this is totally optional, you can also write the following code by yourself).
The generated entities are like this:
//! SeaORM Entity. Generated by sea-orm-codegen 0.9.3

use sea_orm::entity::prelude::*;

#[derive(Clone, Debug, PartialEq, DeriveEntityModel)]
#[sea_orm(table_name = "player")]
pub struct Model {
    #[sea_orm(primary_key, unique)]
    pub id: String,
    pub name: String,
    pub team_id: Option<String>,
}

#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {
    #[sea_orm(
        belongs_to = "super::team::Entity",
        from = "Column::TeamId",
        to = "super::team::Column::Id",
        on_update = "NoAction",
        on_delete = "NoAction"
    )]
    Team,
}

impl Related<super::team::Entity> for Entity {
    fn to() -> RelationDef {
        Relation::Team.def()
    }
}

impl ActiveModelBehavior for ActiveModel {}

And I'm using code like:
async fn player_by_id(&self, id: String) -> Result<Option<DomainPlayer>> {
    let player = match Player::find_by_id(id)
        .find_also_related(Team)
        // I would like to use here something like `with_team()` and `with_coach()` or `with_team(|team| team.with_coach())`
        .one(self.db)
        .await?
    {
        Some(o) => o,
        None => return Ok(None),
    };

    let coach = if let Some(team) = &player.1 {
        Coach::find_by_id(team.coach_id).one(self.db).await?
    } else {
        None
    };

    // Since I need to return a DomainPlayer (not a Player) here I cannot use a `Player.into()` because generated `Player` does not have `Team` field

    Ok(Some(custom_func_to_transform_player_to_domain_player(player, player.1 /*this is team*/, coach)))

    // Do you can imagine how complex is to use these functions?
}

I'd like to know what you think of this mental order.
Most likely I need to change it because the code is really ugly (as well as expensive for the many SQL queries and allocations) and inconvenient to use to scale with even more complexity.
What do you recommend?

Thank you! I do indeed love ideas for new content, so I appreciate you taking the time to put together so much detail! I've definitely struggled a bit with this aspect of SeaORM, and even went so far as to fork it to support more JOINs. I came up with some good strategies, but sometimes you'll just have to fall back to something more like raw SQL, unfortunately. I'll take some time to review this over the weekend and come up with a good approach.

I haven't found an approach I really like yet. In my own projects, I've typically been using Dataloaders to work around this. I'll optimize one relationship with find_also_related, and then batch-load any other relationships with a dataloader. This definitely isn't as efficient as JOINS, but it works. I believe this is the approach taken by their seaography library, which they mention in their "cookbook" entry about this problem.
I did, however, find another page in their cookbook that mentions using the SeaQuery builder and converting it into your entity type using FromQueryResult, which SeaORM can derive for you. I've used this method for custom joins in other projects, but next time I think I'll use SeaQuery instead. I like the API better.
I'll try to find the time soon to add an example here - maybe using a custom join to list Shows, join in Episodes, and also join in Users who have a RoleGrant for the "guest" role for each Episode related to each Show. If I can find a way to use FromQueryResult to transform that to my internal Rust structs, then we might have a way to handle most use cases.

You've described pretty much everything I've found and tried too.
I'm thinking of trying directly with https://github.com/launchbadge/sqlx.
The example you mention would be very handy also because there are only "hello world" examples around.

I also opened https://github.com/dpc/sniper/discussions/3. I suggest you to read because there is another idea to use a "Store" which is an HashMap to carry around with the data inserted and transformed only once without using Box or taking up much space on the stack using struct fields. What do you think?

Sadly, I've been at full capacity and haven't been able to come back to this. I'm working on a big Go project, and also trying to build up a Rust side-project at the same time, while also trying to extract a framework that I can use to build more side projects faster. 😅 I'm planning on coming back to this as I implement an example project in my new framework, but I just haven't had the time to do so yet. Sorry for the slow response here!


Zcash Sapling Address regexp pattern is incorrect

https://github.com/unstoppabledomains/resolution-java/blob/36a182f3a549a252ce28c961cb1d7aed93573cda/src/main/resources/com/unstoppabledomains/config/knownRecords.json#L102
Zcash Sapling addresses are 78 characters in length.
This middle regexp pattern will be shy by 1 character. only 77 characters.
I have tested this in your UD interface for adding a sapling address to a crypto domain; if a user adds a valid sapling address, the UI errors and says it is invalid address. But if you delete 1 character from a valid address, then your UD interface accepts the sapling address as valid.
The error is a bug. It appears that the regexp is missing the "1" in the middle pattern, "zs1". Adding the 1 in the pattern will extend the length of the address to 78 characters, which is correct.
So, the corrected regexp should be: "^z([a-zA-Z0-9]){94}$|^zs1([a-zA-Z0-9]){75}$|^t([a-zA-Z0-9]){34}$"
Note: this bug was found by a Ycash contributor. We review Zcash and Ycash related code, as we feel both should be widely supported.
Same issue found in resolution-go repo: https://github.com/unstoppabledomains/resolution-go/issues/20

@boyfromcave Thanks for reporting this issue and sorry for the late reply. It should be fixed by our recent updates. Thanks!


real proxy?

Hi!
Have you considered making browservice into a real http proxy?
That way we could use the native url bar in the browser. Most browsers since forever supports http proxies.

@ghost
Try WebOne. It does HTTP proxy job.
https://github.com/atauenis/webone


[BUG]: CUDA out of memory

Hi,
When training the XDXD model with pretrained weights, I run into OOM upon initiation. Although my machine only has a 2GB GPU, my input images are 500x500,3 and my batch size is very small. I do not expect to run out of memory since training/inferring from other non-solaris models has worked out for me before. With a batch size of 10, the following error pops up:

RuntimeError: CUDA out of memory. Tried to allocate 564.00 MiB (GPU 0; 2.00 GiB total capacity; 709.95 MiB already allocated; 547.37 MiB free; 34.05 MiB cached)

Decreasing the batch size to 1, Python throws:

RuntimeError: CUDA out of memory. Tried to allocate 30.00 MiB (GPU 0; 2.00 GiB total capacity; 1.15 GiB already allocated; 25.37 MiB free; 88.45 MiB cached)

Weirdly, going back up to size 8 again shows more free MiB:

RuntimeError: CUDA out of memory. Tried to allocate 226.00 MiB (GPU 0; 2.00 GiB total capacity; 1.13 GiB already allocated; 103.37 MiB free; 34.17 MiB cached)

Does this make sense in regard to my specs / is there a setting to tune more appropriately? Or could it be a bug?
Best,
(edit: enclosed .yml)
YAML.zip

My bad, the problem actually does seem to be the lack of memory of my machine. Decreasing random crop size in data aug config from 500x500 to 320x320 starts up training as expected.


Repo status?

Last commit in master branch on Jan 31, 2022
for HDRP not compatible (for some reason it is written that it is compatible - rather it just runs with a bunch of artifacts)
Main native library is not updated in this repo

Based on this, the question is - what is the status of the project?

for HDRP not compatible (for some reason it is written that it is compatible - rather it just runs with a bunch of artifacts)

Hmmmmmmm, i rewrote CustomPass and in everything works fine :
If necessary I can create a PR~

It would be awesome if you can open a pr :)
On Sun, 15 Oct 2023 at 02:58 Yuuki Wesp @.***> wrote:

for HDRP not compatible (for some reason it is written that it is
compatible - rather it just runs with a bunch of artifacts)
Hmmmmmmm, i rewrote CustomPass and in everything works fine :
If necessary I can create a PR~
—
Reply to this email directly, view it on GitHub
https://github.com/psydack/uimgui/issues/51#issuecomment-1763284850, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHK3M2SPT4RWKP5VQD653LX7N3QJANCNFSM6AAAAAA6AYAEB4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

It would be awesome if you can open a pr :)

Created, #52

Ty, merged.


Move repo to an organization

For the sake of maintainability and also to enable easier control os CI services it would be much better to move this repo to a github organization
Thoughts @TheKevJames and @coagulant ?
I asked over https://github.com/lemurheavy/coveralls-public/issues/911
If the answer is not positive, I just created an organization called, coveralls-clients
If this does not already exists we could aggregate all other clients on this org.

@coveralls-clients seems like a good idea. Less sure about moving to thcovvoeralls org itself -- that would probably be unlikely since it would look like official endorsement.

Less sure about moving to thcovvoeralls org itself -- that would probably be unlikely since it would look like official endorsement.

Yep, my guess too, but it does not hurt to ask ;-)

@coagulant would you be ok with transferring this repo over to https://github.com/coveralls-clients ?

@goanpeca I'm ok with that.

Hey @coagulant, any progress on transferring this repo?

@TheKevJames And it's done 🎉

Awesome thanks :-)

Follow-up on this is to switch over things like TravisCI. I've requested access since I don't have owner permissions, but if you (@goanpeca) could mark me as an owner of @coveralls-clients, that'd be great.

We'll also need to enable coveralls integration with this repo; I don't seem to be able to do that as a non-owner.

@TheKevJames I added you, could could you check if you have access now?

Hmm doesn't seem to have worked. Looks like I'm still listed as a member, also.

@goanpeca friendly reminder to look into these permissions


Investigate Snyk's Ability to Assist Us

We currently have a Snyk account through New Relic's enterprise license, however, it is not currently scanning files/libraries that we would find supportive to help prevent attack vectors.
Here are a few questions to guide an investigation into Snyk to determine if we should continue using this tool with our project:

Can Snyk process our *.gemspec files? Could Snyk use our Gemfile to scan the *.gemspec files?
Can Snyk help alert us when/if there's a release of the grpc gem (a dependency of newrelic-infinite_tracing) that has vulnerabilities so that we can limit our acceptable version range?
Can Snyk scan our lib directory for code that may expose our customers to security threats?

Also need our company's support person for Snyk to help us clear out the 300 existing warnings
Could set up a GitHub action to update a branch that has a Gemfile checked in and tells Snyk to only look at that branch
What tools do other gem maintainers use to protect themselves?
Snyk's Ruby support does allow you to tell it where a Gemfile lives, so we could tell it to look at Envfiles


@conda-forge-admin,please add bot automerge

[ ] I read the conda-forge documentation and could not find the solution for my problem there.

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/tangled-up-in-unicode-feedstock#6.


Squash docker images

Our previous image hierarchy was trying to keep things separate in a
defined hierarchy and use multi-stage builds. This was for a few
reasons:

It followed Docker's recommended
best practices.
It ensured that builds only had exactly the things we thought they
needed and didn't grow any weird extra dependencies.
It separated concerns, so each image was doing a single specific
thing.
It avoided monolithic architectures.
It aimed to keep images as small as possible for each transmission
over the wire.

These were all great in theory. In practice, it meant we had 20 docker
images and it was confusing to keep track of them all. The major failing
here is that Dockerfile is just really not a composable format. The only
mechanism of composability is fetching specific files from another
image, which requires enumerating all such files: not easy for installs
that scatter files across the filesystem. This meant that we ended up
repeating ourselves anyway and duplicated expensive work. Dockerfile
commands that create layers in the image also don't have explicit
dependencies. If any layer underneath it is changed, the whole cache is
invalidated. This means rebuilds are far more frequent than you'd want
for this sort of architecture. Additionally, we've ended up at a place
where things like Python and its basic modules like numpy and yaml are
needed in pretty much every build, so trying to separate them out is
much less useful.
So instead, this PR squashes things down to 12 images: a base image that
has what we need for basic builds and all the non-conflicting
dependencies and child images that add specific conflicting toolchain
things. This makes most of the images that remain bigger because they
have stuff they absolutely don't need. gradle-android actually got
smaller, which is slightly suspicious. It could just be from fewer
layers. I was going to do a oneshot, but it looks like that workflow has
never been run?

Here's a
comparison
of the old and new images and their sizes.  The only such
remaining image is "frontends" which is specialized into swiftshader and
nvidia flavors.
Tested: Triggered all the non-default builds

Ok I peeked at the history and found the cause of the size difference. The new image appears to be missing the NDK:
gcmn@ct 2021-11-01 17:23 ~/src/iree$ docker run --rm -it gcr.io/iree-oss/gradle-android@sha256:add68fd1f5d072827297634ee92b2ace296b1ae5804cf2cfdeeac1090ed72bd1
root@270b7713d42c:/# du -h -x --max-depth 1 /opt
106M    /opt/android-sdk
122M    /opt/gradle-7.1.1
906M    /opt/vulkan-sdk
1.2G    /opt
root@270b7713d42c:/# exit
(.venv)
gcmn@ct 2021-11-01 17:21 ~/src/iree$ docker run --rm -it gcr.io/iree-oss/gradle-android@sha256:d6b5e965cfd4438badae3f125302f92043a0563ec0ed73e26b614b2cb9adf573
root@e94bb998c5a1:/# du -h -x --max-depth 1 /opt
4.1G    /opt/android-sdk
122M    /opt/gradle-7.1.1
4.2G    /opt
root@e94bb998c5a1:/# du -h -x --max-depth 1 /opt/android-sdk
106M    /opt/android-sdk/cmdline-tools
2.0M    /opt/android-sdk/patcher
4.0K    /opt/android-sdk/.temp
4.0G    /opt/android-sdk/ndk
28K     /opt/android-sdk/licenses
4.1G    /opt/android-sdk

Swapped the order of accepting the license and installing the NDK, which apparently silently fails. Now we have our nice gigantic image.


add utils.go in x509 directory

A few small changes have been made to make the program clearer----> add utils.go  in x509 directory

Related to #7
陈序，你怎么看？

我觉得修改为tjfoc-gm挺合适，因为该项目下已经综合了gmtls和gmsm程序，所以新修改为tjfoc-更合适一点，有利于推广
---Original---
From: "Yuxiang<EMAIL_ADDRESS>Date: Tue, Aug 11, 2020 10:13 AM
To<EMAIL_ADDRESS>Cc: "Author"<author<EMAIL_ADDRESS>Subject: Re: [Hyperledger-TWGC/tj-gmsm] add utils.go in x509 directory (#9)
Related to #7
陈序，你怎么看？
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

我觉得修改为tjfoc-gm挺合适，因为该项目下已经综合了gmtls和gmsm程序，所以新修改为tjfoc-更合适一点，有利于推广
…
---Original--- From: "Yuxiang<EMAIL_ADDRESS>Date: Tue, Aug 11, 2020 10:13 AM To<EMAIL_ADDRESS>Cc: "Author"<author<EMAIL_ADDRESS>Subject: Re: [Hyperledger-TWGC/tj-gmsm] add utils.go in x509 directory (#9) Related to #7 陈序，你怎么看？ — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
@yzwyzwyzw1
志伟，这个回复位置错了，应该是回复到issue那边，这里是PR


Sugg: better header for output of XML-compare

Chris,
what to you think about an expanded header in the HTML file which also writes the settings of the comparison: Which criteria are ignored, which are active?

Just to refresh for me:
I'm talking about the settings in the "options":


Relax C(GlobalPhase) and CPhase validation for quantum devices

Context: Transition to the quantum device config schema 2
Description of the Change: Relax the validation procedure for C(GlobalPhase) gate of lightning.kokkos device
Benefits:

We accept kokkos device with C(GloablPhase) in operations (PythonAPI). QJITDevice calculates its operations from the toml config where it is disabled to reflect the limitations of C++ API.
We ignore CPhase gate even if it exists in schema 1 configs.

Possible Drawbacks:
Related GitHub Issues:
https://github.com/PennyLaneAI/pennylane-lightning/pull/642

This can be closed right?

~This can be closed right?~ My bad I thought this was just about the CPhase gate.

Even for CPhase, we need to remove it from tomls contained in the Catalyst repo too.

After #745 is merged and this PR is updated, one should run latest/latest/latest on this branch. I expect it to succeed. On #745 latest/latest/latest fails with the error message:
FAILED frontend/test/pytest/test_transform.py::TestBroadcastExpand::test_expansion_qnode_no_cache[lightning.kokkos-obs1-params2] - catalyst.utils.exceptions.CompileError: Gates in qml.device.operations and specification file do not match.
Gates that present only in the device: {'C(GlobalPhase)'}
Gates that present only in spec: set()

I am not asking for this to fix latest/latest/latest but merely to report what the outcome is on the channel so that we can fix it if this is not the case.

@erick-xanadu I merged this PR with the recent main and solved the conflicts. The test you mentioned should pass now.


Ability to custom the sidebar items with JSX

What problem will this feature address?
It would be really nice to be able to replace a sidebar navigation item with custom JSX. This would make the sidebar way more flexible.
I understand you can create a fully custom sidebar layout but it would be nice if that was avoidable to make maintaining the site easier over time.
My specific goal to to make a sidebar item that looks like the following:

Current I can not work out a way to do it (screenshot was created through inspect element).
My idea is that clicking anywhere but the logo will open a specific page in my documentation but by clicking the logo you can quickly jump to the external package registry. This saves the user having to click into the page and then clicking another link to get to the external page's page.
One thing to note is that given a tags can't be nested I would need complete control over rendering the sidebar element to implement this.
Describe the solution you'd like
It would be cool to have something like:
export const baseOptions: BaseLayoutProps = {
  sidebar: {
    itemComponent: (item: NavbarItemProperties) => <a ...>...</a>,
  }
};

The default implementation would match the the current element's code but the user could take full control over the JSX element if they desired. We would parse in item so that the user was able to match on specific navbar items to customise. I suspect returning undefined from this function would cause the default to render. This would allow the user to match on only specific items to modify and return undefined for the rest of them. null would be an empty item.
Describe alternatives you've considered
I tried using the pageTree.attachFile argument to loader but the node returned from it is injected inside the a tag which would be a problem for my usecase as it would mean the npm icons a tag would be inside the menu item's  a tag which is not allowed.
Additional context
No response

That is perfect. Can't believe I missed it.
Thank you for such an awesome project and the quick response!


What are differences between SOCI 3.x and 4.0?

Hi
I am newbie to the SOCI. So I have quesition:
What are differences between SOCI 3.x and 4.0?
Maybe it is obvious to library programmers, but very interesting from apps programmers point of view. Any hints and links appreciated.

Mostly bug fixes, lots of! It's impossible to tell in details before release notes are collected.


Add high level migration API support

[Who]  As a contact tracing app team
[What] We want to be able to advertise both the old API support and new API for a period of time
[Value] In order to have a smooth transition to Herald and/or a new payload format
Accepted when:-

[x] Supports advertising of old and new service
[x] Supports advertising of old and new characteristics
[ ] Allows custom implementation of old bluetooth event handling
[ ] Provides built in cut off time logic

Changed how we decided to approach this. We're now only advertising Herald Protocol based Payloads but are collecting tokens in GAEN and OpenTrace currently. We hope to add more detection in future. App developers still responsible for configuring support for each protocol in Herald, leaving them free to choose when to switch over between protocols and payloads.


Fixed the command for has

It was unclear how the command would run as we need to pass the arguments .

Currently this is not necessary if you run it from the correct place since there is this file https://github.com/redhat-developer-demos/istio-tutorial/blob/master/.hasrc


Error foreign key mariadb

Error creating foreign key mariadb, in the update select no action and dbeaver changes to restricted every time.
I'm Brazilian, I'm using goole translator to write to you, thank you for the excellent program!

In MariaDB/MySQL ref action RESTRICT = NO ACTION, they are 100% equivalents.
https://dev.mysql.com/doc/refman/5.6/en/create-table-foreign-keys.html
So it is not a bug.

Really friend you're right, thank you! =)
the mariadb link is https://mariadb.com/kb/en/constraint/


Switch all wavedrom diagrams to output svg images.

This is a workaround to fix https://github.com/riscv/riscv-cfi/issues/109 issue. For some reason wavedrom doesn't output CSR field names or any other diagram text in png format but works fine for svg format.
Also, updating riscv-cfi.pdf.

thanks.


Is there a card ID feature? (feature)

Hello, is there a feature in this package such as seeing the id (or uuid) of the card or defining the id to the card? For example, if I want to save the card to the database, I need the id

@joelwmale

I'm sorry, my mistake, there was already such a feature...

Hello again, I'm getting an error trying to get the card id and I can't get it, can you give an example?
The code I tried: CartFacade::session($sessionKey)

@joelwmale

hello @joelwmale

Hi @enessvg I'll take a look today or tomorrow to see if something is broken or if it's not documented properly.

Hi @joelwmale I'm waiting, thank you.

Hi @joelwmale What is the latest situation? I can learn how to do it and contribute.


setToast: Toast is never displayed

Bug report 🐞
Version & Environment

Version of browser: Firefox 109 but also tested in Chrome, Mac
Version of geist-ui/core: ^2.3.8

Expected Behaviour
The behavior I expect is that when I execute the following snippet, a toast will show up somewhere on the webpage:
import './App.css';
import { Button, useToasts } from '@geist-ui/core';

function App() {
  const { setToast } = useToasts()

  return (
    <Button onClick={() => setToast({ text: "Hello" })}>
      Hello</Button>
  );
}
export default App;

Actual results (or Errors)
Nothing is happening at all. When I check the inspector, the DOM is never modified. No errors are thrown either. I tried to produce a minimal reproducable example. For me Toasts do not get displayed at all. Not even in a fresh cra project.

I also encountered this problem, in nextjs.

After further investigation, I noticed that the updateToasts() inside of use-toasts.tsx does not call the callback when using the bundled esm npm version.

After migrating to Next.js, toasts are working flawlessly!
So this has to be some underlying issue, unfortunately I could not figure out how to solve it for client side react

having the same issue here. toasts won't show up in nextjs

I have a new nextjs project, and the toasts are not showing up

@Throvn  could you provide any hints on how to resolve it?

After I migrated from my CRA project, Toasts suddenly started to work. When I dug into the code I couldn't PinPoint the bug to something specific. However, if you are working on an open source project I could take a look at your code/config and try to spot potential differences.
Honestly, I think the bug is introduced in a compilation step, but this is just a gut feeling. Are you using typescript?

I still have this problem in Next.js 13


FIONREAD pipe 1 is 1

Device: Vivo
Model: X80 Pro
Security Patch:
[ro.build.version.security_patch]: [2022-08-01]
[ro.vendor.build.security_patch]: [2021-12-05]
Kernel Matches: Yes
Error Message:
whats been modified:
init_task
init_cred
_buf_ops
to vivo values
extracted kallsyms from vivo device
PD2186:/data/local/tmp $ rm -rf vivo_shrinker
PD2186:/data/local/tmp $ ./exp vivo.kallsyms
got 0xffffffc0101b219c for commit_creds
got 0xffffffc012400068 for anon_pipe_buf_ops
got 0xffffffc012aebfc0 for init_task
got 0xffffffc012b00780 for init_cred
got 0xffffffc012ebcbf0 for selinux_state
global data at 0x777e4cb000, buffer at 0x777d202000
preparing...
[] STAGE 1: defragmentation
[] STAGE 2: trigger the bug
[] STAGE 3: free the cache
[] STAGE 4: reclaim the page
FIONREAD pipe 1 is 1
failed, please retry

If the exp keeps showing this message and the kernel does not crash, it means the kernel is patched XD

If the exp keeps showing this message and the kernel does not crash, it means the kernel is patched XD

That seems very unlikely? Since this was patched in October? Maybe mediatek isn't vulnerable? Or they got it patched early?

Not quite sure, the bug was patched in Aug last year

Not quite sure, upstream patched this bug in Aug last year

Ah okay I see , I get segmentation fault when running so might be patched.


merge main to live Wednesday 10:30

Docs Build status updates of commit 05de34e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-SafeLinksPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-AtpPolicyForO365.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-SafeLinksPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Roll Flutter Engine from fe45a6608651 to fb6439918252 (12 revisions)

https://github.com/flutter/engine/compare/fe45a6608651...fb6439918252
2024-11-26<EMAIL_ADDRESS>iOS: Migrate PlatformViewsController to Objective-C (flutter/engine#56790)
2024-11-26<EMAIL_ADDRESS>Started caching HandleGLES's hash and made them immutable (flutter/engine#56800)
2024-11-26<EMAIL_ADDRESS>Reverts "[iOS] Full keyboard access scrolling (#56606)" (flutter/engine#56802)
2024-11-26<EMAIL_ADDRESS>Roll Skia from 12c8bd6ac1d9 to c1c8ff84997c (14 revisions) (flutter/engine#56801)
2024-11-25<EMAIL_ADDRESS>[Impeller] better handle allocation herustics of Android slide in page transition. (flutter/engine#56762)
2024-11-25<EMAIL_ADDRESS>iOS: Eliminate logging of non-zero origin platformviews (flutter/engine#56796)
2024-11-25<EMAIL_ADDRESS>[impeller] gles: started storing the number of handle deletions to avoid reallocation (flutter/engine#56799)
2024-11-25<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from 9o0fWa2xVhmxV6Mtn... to 50xtjbMWWrqay_7m_... (flutter/engine#56795)
2024-11-25<EMAIL_ADDRESS>Roll Dart SDK from df716eaa6ed2 to 4b49546a1dfa (1 revision) (flutter/engine#56793)
2024-11-25<EMAIL_ADDRESS>[iOS] Full keyboard access scrolling (flutter/engine#56606)
2024-11-25<EMAIL_ADDRESS>[android] remove fml_check from surface_texture_external_texture (flutter/engine#56760)
2024-11-25<EMAIL_ADDRESS>removed unused variable for skia initialization (flutter/engine#56791)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from 9o0fWa2xVhmx to 50xtjbMWWrqa
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Reason for revert: engine regression https://github.com/flutter/flutter/issues/159497


FEATURES : A more elegant and elevated OOP

Description

The OOP part of the lang has been elevated with some features addition listed below :

adding the getter and setter blocks to change behavior of a variable or attributes when they are assigned or requested
allow the use of braces to access class object for more cleaner code. This feature is added for a more cleaner and compact syntax for classes that requires numerous attributes to be changed and thus make the code shorter e.g
Vintage Style

test = new Test
test.Name = "A. Azeez"
test.Gender = "boy"
test.Age = 25

Braces Style
test = new Test { Name = "A. Azeez" Gender = "boy" Age = 25 }

Even though both style can be written in one line the second style also allow the braces to compound the current object that is been worked on and also reduce the number of character typed

Changing the behavior of operators : Now all object in simple can define a custom behavior or function for an operator such that object can be concatenated e.g

a = new TestClass { value = 30 }
b = new TestClass { value = 70 }
c = a + b
@c.Value

it throws an operator not supported on type error, but in a situation whereby the operator behavior has been defined in the class it will be effected
a = new TestClass { value = 30 }
b = new TestClass { value = 70 }
c = a + b
@c.Value //outputs 100

class TestClass

    value = 30

    block operator(operator,parameter)
        switch operator {
            case "+"
                value += parameter.value
        }
        return this

Fixes issue #(issue-link )
Type Of Change

Please delete options that are not relevant and mark the ones that are relevant.

[x] Bug Fix: Non breaking change which fixes an issue.
[x] New feature: Non breaking change which adds a new functionality ( module, enviroment etc).
[ ] Breaking change - Fixes a feature that would cause existing functionality to not work as expected.
[ ] Documentation - Module or general documentation.

Briefly Explain Why This PR Should Be Merged.
This PR should be merge to completely introduce this new OOP features to the simple
How Has This Been Tested ?

This new features has been tested by adding the following test files in the examples/basic folder

braceupclass.sim
gettersetter.sim
operators.sim

Checklist:

[x] I have created a supporting issue for this PR.
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests passed locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

I'll be reviewing this.

I havent run the examples yet but I know the results. However, can we create classes with empty variables ?

Mistakenly closed it.

very well classes can be created with empty value but it is better to initialize the variable when declare maybe to null so it will be readable such as instead of value use value = null instead.

t1 = new TestClass {value = 1 }
t2 = new TestClass {value = 9 }
t1 = t1+t2
@t1.value

class TestClass
  // Empty value
    value

    block operator(operator,parameter)
        switch operator {
            case "+"
                value += parameter.value
        }
        return this

This output 10 correctly

Okay, then this PR is going to be merged and let's start rocking the new style for class values declaration :tada:

So from the code below ....
a = new TestClass { value = 30 }
b = new TestClass { value = 70 }
c = a + b
@c.Value //outputs 100

class TestClass

    value = 30

    block operator(operator,parameter)
        switch operator {
            case "+"
                value += parameter.value
        }
        return this

This will also return 100 right ?

x = new TestClass
x.value  = 30
y = new TestClass
y.value = 70
result = x.operator(+, y) // This should result to 100 isn't it ?

x = new TestClass
x.value  = 30
y = new TestClass
y.value = 70
result = x.operator("+", y) // This result to an instance of TestClass with value of 100
@result.value //results to 100

Nice!. Dynamic OOP functions and method !.

How about Classes that have constructor ? Do they follow the new pattern .

No and Yess
No
A class having a constructor will have issue while using braces to access it children as the braces check if the Object is a class therefore calling the constructor using () before or after the braces will result to error
a = new TestClass() { value = 30 } //error
a = new TestClass { value = 30 }() //error big one

YES

Braces access not limited to initialization only.
The class object and methods can be accessed using braces at anytime in the program e.g

a = new TestClass()
a { value = 30 } //valid

The constructor can choose to return an instance of that object

a = new TestClass() { value = 30 } //error

is an error but in a situation whereby the constructor return an instance of the class it is valid. The gramer for the brace is the brace check if the previous item is a class e.g
"name" { } //invalid
new String("name") { } //valid

so this will execute successfullty
a = new TestClass() { value = 30 }

class TestClass
    ...
    block TestClass()
          return this //which is very rare and not advisable

return value just return the parameter which can be string, number or list , return this return an instance of the TestClass with all the class values
return this same as return new TestClass

returning in a Constructor is a very very very bad practice and should be avoided by all means

Well, my question looks unanswered still.
Take this block of code:
a = new TestClass() { value = 30 }

class TestClass
   __OBJECT = ""
  __OBJECT_NAME = "String"

    block TestClass(value)
          __OBJECT = value
          return __OBJECT

Normally, we'll instantiate an instance of that class like this..
test = new TestClass("Abdul")

But with this new development, it'll be void :
test = new TestClass() { value = "Abdul" }

Instead,
test = new TestClass("test") {}

Well, with this changes it's pretty nice and can be confusing :smile:


ci: enable ITQueryCountTest in CI, since the project is whitelisted for COUNT

aggregateQueryInATransactionShouldLockTheCountedDocuments is failing on kokoro:
java.lang.AssertionError: expected java.util.concurrent.ExecutionException to be thrown, but nothing was thrown
	at com.google.cloud.firestore.ITQueryCountTest.aggregateQueryInATransactionShouldLockTheCountedDocuments(ITQueryCountTest.java:238)

I need to check if this is a bug in the backend or a faulty test. This test passes against the Firestore emulator.

I've just disabled aggregateQueryInATransactionShouldLockTheCountedDocuments for now, so at least the rest of the tests can be run. I've opened https://github.com/googleapis/java-firestore/pull/1043 to investigate and re-enable it.


web: Improve Accessibility

Resources:

MDN Accessibility
A11Y Checklist
Firefox F12 Accessibility Check
NVDA Screen Reader
...

Steps:

Check: What should we do to improve a11y of our website? Can you make a checklist?
Coding.

哦，夜间模式
dark mode


[SPARK-23581][SQL] Add interpreted unsafe projection

What changes were proposed in this pull request?
We currently can only create unsafe rows using code generation. This is a problem for situations in which code generation fails. There is no fallback, and as a result we cannot execute the query.
This PR adds an interpreted version of UnsafeProjection. The implementation is modeled after InterpretedMutableProjection. It stores the expression results in a GenericInternalRow, and it then uses a conversion function to convert the GenericInternalRow into an UnsafeRow.
This PR does not implement the actual code generated to interpreted fallback logic. This will be done in a follow-up.
How was this patch tested?
I am piggybacking on exiting UnsafeProjection tests, and I have added an interpreted version for each of these.

cc @cloud-fan @mgaido91 @kiszk @maropu

Test build #88006 has started for PR 20750 at commit ead8335.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1319/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1321/
Test PASSed.

Test build #88008 has started for PR 20750 at commit 8c277f1.

sorry for the basic question, but I don't see where it is added the switch between the evaluated and the generated version. Maybe I am just missing something since I am not an expert on how Spark switches between the execution modes, but I expected that in the UnsafeProjection.create there would have been a check whether to use one or the other. Like this it looks to me that the newly added class in actually never used in the codebase, other than in the tests. Am I missing something? Thanks.

Test build #88008 has finished for PR 20750 at commit 8c277f1.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

@mgaido91 you are right. It is on purpose. I do not like to introduce these things in one big bang (this makes it hard to review and might make it hard to merge). In this PR we just introduce the InterpretedUnsafeProjection, and I (or someone else) will add the logic to fallback to interpreted mode in a follow up.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1322/
Test PASSed.

Test build #88009 has started for PR 20750 at commit 8ed0695.

Test build #88006 has finished for PR 20750 at commit ead8335.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait UnsafeProjectionCreator

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88006/
Test FAILed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1327/
Test PASSed.

Merged build finished. Test PASSed.

Test build #88017 has started for PR 20750 at commit 207933b.

Test build #88009 has finished for PR 20750 at commit 8ed0695.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88009/
Test PASSed.

Test build #88017 has finished for PR 20750 at commit 207933b.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88017/
Test PASSed.

Merged build finished. Test PASSed.

Test build #88064 has started for PR 20750 at commit dee5105.

Test build #88064 has finished for PR 20750 at commit dee5105.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait SerializerSupport

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1390/
Test PASSed.

Test build #88084 has started for PR 20750 at commit d718f9c.

Test build #88084 has finished for PR 20750 at commit d718f9c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88084/
Test PASSed.

Test build #88243 has started for PR 20750 at commit 7e96f4b.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1515/
Test PASSed.

Test build #88243 has finished for PR 20750 at commit 7e96f4b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
trait Stateful extends Nondeterministic
case class MonotonicallyIncreasingID() extends LeafExpression with Stateful
abstract class RDG extends UnaryExpression with ExpectsInputTypes with Stateful

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88243/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1536/
Test PASSed.

Test build #88270 has started for PR 20750 at commit 7e15f30.

Test build #88270 has finished for PR 20750 at commit 7e15f30.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88270/
Test PASSed.

Test build #88312 has started for PR 20750 at commit 3197d7f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1566/
Test PASSed.

Test build #88312 has finished for PR 20750 at commit 3197d7f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/88312/
Test PASSed.

thanks, merging to master!

@cloud-fan has some issue with his mac, so I will be merging :)...
Thanks for the reviews!


Any way to customize DOCKER_OPTS?

Supposing someone wanted to customize the DOCKER_OPTS to specify some insecure registries or disable Docker's management of iptables, is there a means by which that can be accomplished?

@krancour see https://coreos.com/os/docs/latest/customizing-docker.html

Nevermind... I think I see how to do this now.  Something roughly like this:
$ kube-aws render --output=artifacts/template.json

Edit the userdata in the template to include a unit like this in the cloud-config:
- name: "docker.service"
  drop-ins:
    - name: "50-insecure-registry.conf"
    content: |
      [Service]
      Environment=DOCKER_OPTS='--insecure-registry="<IP_ADDRESS>/8"'

Then:
$aws s3 cp --recursive --acl=public-read artifacts/ s3://<bucket>/

And finally use that in the aritfactURL in cluster.yaml
Although this seems a lot of work for setting a very common option.

+1 if this could be added to the template params for CloudFormation / config.yaml

+1 if this could be added to the template params for CloudFormation / config.yaml

+1.  That would be more convenient than providing custom artifacts just to address this one, fairly common concern.

+1 I'd like that feature.


crate start up script error on ubuntu 14.04.5

CrateDB version: 2.1.5
JVM version:OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3~14.04.1-b14)
OS version / environment description: ubuntu 14.04.5
Problem description:
When starting crate with
./crate -d -Cpath.conf=/crate-data/config
It will generate this error
/usr/local/crate/bin/crate: 116: /usr/local/crate/bin/crate: [[: not found
And will not read the configuration file.
Here is what inside the crate file
launch_service()
{
pidpath=$1
daemonized=$2
javaProperties=$3
if [[ $4 == "-Cpath.home=" ]]; then
props="$4"
else
props="-Cpath.home=$CRATE_HOME $4"
fi

@leomkkwan
Thanks for reporting, as a workaround until it's fixed you can change the 1st line in .../bin/crate executable from #!/bin/sh to #!/bin/bash

Thanks for the workaround.
I've changed the first line of the script to bash; however, it seems like all configuration is ignore except cluster.name
Here is my crate.yml
cluster.name: Crate
bootstrap.memory_lock : true
node.name: "ClickTrackPC4"
path.conf: /crate-data/config
path.data: /crate-data/data
path.logs: /crate-data/log
network.host: <IP_ADDRESS>
license.enterprise : false
gateway.expected_nodes: 3
gateway.recover_after_nodes: 2
discovery.zen.minimum_master_nodes: 2
discovery.zen.ping:
unicast.hosts:

<IP_ADDRESS>:4300
<IP_ADDRESS>:4300
<IP_ADDRESS>:4300

When I start the first node by
./crate -d -Cpath.conf=/crate-data/config
I will get this error
crate@813729-ClickTrack:/crate-data/config$ 2017-08-16 22:30:02,845 main ERROR Unable to create file /usr/local/crate/logs/Crate.log java.io.IOException: Could not create directory /usr/local/crate-2.1.5/logs
The node will be started, but all my configuration excpet cluster name is not load. Including the path.logs and path.data

@leomkkwan Are you sure your crate.yml file is readable by the system user owning the crate process (normally crate) and resides under /crate-data/config?

@leomkkwan the bug in the startup file has been fixed and will be available with the next hotfix release. If you still have issues feel free to reopen .

@matriv  Not sure if you close this for the "bash" script or if the config wasn't load.
"Are you sure your crate.yml file is readable by the system user owning the crate process (normally crate) and resides under /crate-data/config?"
Yes, I was upgrade from 2.0.5, so all file permission should be ok. If I rollback the 2.0.5, everything will be to normal.

@leomkkwan Could you please apply the change as shown here:
https://github.com/crate/crate/pull/6138/files
to your startup script and try again?

Yes, it fixed the original error.
but
It looks like the path.logs setting in crate.yml file is ignored. It always try to write to installation directory/logs
Real thanks for the quick fix.
Leo

@leomkkwan We'll investigate the issue with path.logs too and come back to you.

@leomkkwan meanwhile you can try to define the logs path from command line with -Cpath.logs=/path/to/logs

Sorry for the inconvenience @leomkkwan. We have fixed the problem and the next hotfix release will contain the fix. It should be out tomorrow. Here is the corresponding PR: #6165.


run OI with OLLAMA SERVER IN NETWORK

What is the issue?
i try to run OI with ollama server in another server computer in my network.and the command start OI is:
interpreter --model  ollama/llama3.1 --api_base "http://<IP_ADDRESS>:11434" --api_key "fake_key"
but i get error say cant fine ollama in my computer ,what i thought is wrong because  OI shoud find ollama in my server computer.
what should i do ?
OS
Windows
GPU
Nvidia
CPU
Intel
Ollama version
0.1.32

By default ollama binds to localhost, ie <IP_ADDRESS>.  If you want it to be available to other computers, you need to set OLLAMA_HOST=<IP_ADDRESS>:11434 in the server environment.  Also, ollama version 0.1.32 will not support llama3.1, you need to upgrade to 0.3.0 or newer.

It work well now.thank a lot.


Add stdin option to command chains

Description
Describe the change. If there is an associated issue, please include the issue link (e.g. "Closes #xxx"). For UI changes, please also include screenshots.
Added stdin field on the !command variant. Stdin is now piped into command using ChildStdin. It is still compatible with previous command variant.
Closes  #190
Known Risks
What issues could potentially go wrong with this change? Is it a breaking change? What have you done to mitigate any potential risks?
Calling command may be unsafe, but I don't think it carries any new threat.
QA
How did you test this?
Added one unit test. Probably need to add more.
Checklist

[x] Have you read CONTRIBUTING.md already?
[x] Did you update CHANGELOG.md?

Only user-facing changes belong in the changelog. Internal changes such as refactors should only be included if they'll impact users, e.g. via performance improvement.

[ ] Did you remove all TODOs?

If there are unresolved issues, please open a follow-on issue and link to it in a comment so future work can be tracked

There is still some work to do (docs and tests). I wanted to see what are your thought on this.

I have no idea for any new tests. I think it is ready to merge.

Resolved conversations. Not sure about the test name.

Looks good, you have conflicts though so I can't merge it. Could you rebase onto master please?

Never mind, I forgot I can also make edits. The conflicts where just on the changelog so I resolved and squashed.


Add Rouge theme

Hi, in my transition to porting my Linux/BSD dotfiles to Windows, I've used VSCode for a bit and found an awesome theme there:
Rouge by Josef: https://github.com/josefaidt/rouge-theme

Looks pretty nice! You'll have to give us some time though, there's plenty of themes in line.

@ema2159
Take your time, ephemeral is my new passion for now! hehe

@lxbarbosa you can thank @karetsu for Ephemeral! He did a great job both with Ephemera an Horizon.

@ema2159
I will properly hug him once I find him! hehe

Thanks!
92493e65039c7cadd17e3ba645ed10eea7c243f0


[Problem] Difference of the squares

Difference of the squares
Sum of the squares: $1^2 + 2^2 + 3^2 + ... + 10^2 = 385$
Square of the sums: $(1 + 2 + 3 + ... + 10)^2 = 55^2 = 3025$
Difference of the squares: $3025 - 385 = 2640$

For a given input n find the difference of the squares. Print out sum of the squares, square root of the sum and difference between them.

you mean square of the sum?...

you mean square of the sum?...

My bad. I updated the comment.

is this issue available for assignment ?

is this issue available for assignment ?

I received a solution in C++. If you have different approach to the problem or want to solve in another language you can.

Is it okay if I solve multiple issues and open a single pull request instead of one for each issue?

I prefer different pull requests for each problem but do whatever you want,
It doesn't matter.
On Sat, Aug 20, 2022, 7:22 PM Legoeggolas @.***> wrote:

Is it okay if I solve multiple issues and open a single pull request
instead of one for each issue?
—
Reply to this email directly, view it on GitHub
https://github.com/ademclk/callofcode/issues/27#issuecomment-1221359510,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVTBEJ3HTFYLCQSFX5EZVALV2EA5FANCNFSM562XBRBQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Style/RedundantBegin should be marked as unsafe for auto-correction

Style/RedundantBegin cop might auto-correct code incorrectly, leading to a performance issue or even a broken build. See example below:

Precondition
Given the following example class
class Test
  def initialize
    @first_run = false
  end

  def memoized
    @memoized ||= begin
      'memoized' if first_run
    end
  end

  def first_run
    # this might be an expensive operation
    fail 'already run!' if @first_run

    @first_run = true
  end
end

and the following test code:
test = Test.new
2.times { test.memoized }

Expected behavior
The code should not be auto-corrected, or maybe auto-corrected as the following:
class Test
  def initialize
    @first_run = false
  end

  def memoized
    @memoized ||= ('memoized' if first_run)
  end

  def first_run
    # this might be an expensive operation
    fail 'already run!' if @first_run

    @first_run = true
  end
end

Actual behavior
The code is auto-corrected as follows:
class Test
  def initialize
    @first_run = false
  end

  def memoized
    @memoized ||= 'memoized' if first_run
  end

  def first_run
    # this might be an expensive operation
    fail 'already run!' if @first_run

    @first_run = true
  end
end

which makes the test code raise an exception.
RuboCop version
1.12.1 (using Parser <IP_ADDRESS>, rubocop-ast 1.4.1, running on ruby 2.6.6 x86_64-linux)

Thank you for the feedback. This is an auto-correction bug, so I opened #9682 that it will be safe auto-corrected code.


$message stays undefined on subsequent submission errors

[ ] Before posting an issue, read the FAQ and search the previous issues.

Description
When using the message helper to return an error with a status code of 400 and above, the $message store is set on the first submission. On subsequent submissions, the store is cleared but it is never set to the returned message value again.
Repro here: https://www.sveltelab.dev/uvboaqr0th4q102. You can try submitting the form multiple times, and the message never reappears. Note that a 200 works fine.

Probably a duplicate of #536, read there for a workaround, or reopen if not related.


gradle  8.7 fatal bug on debian multiple atchirecture

Current Behavior
gradle 8.7 detects that the /usr/bin/jvm/openjdk- directory does not contain a java command and decides this is fatal error and that  it can not continue. gradle resists strenuous efforts, some of which require root access, to fix this problem
Expected Behavior
gradle should notice there is no java and silently bypass that directory., which contains a src.zip flie which multiple architectures can share on Debian systems.   java, javac, etc can be found in a java--openjdk- directory, for example java 1.7 tools can be found in usr/lib/jvm/java-17-openjdk-amd64 on my x86 64 systems.
A fallback method which is easy to reach and prioritises "works" over smart features would be a really useful feature. I appreciate it might not be a priority and require invasive changes in lots of places.
Suggested partial fix, which at least covers ./gradlew javaToolchains for me modulo some cosmetic issues:
---gradle-8.7-dist/src/jvm-services/org/gradle/jvm/toolchain/internal/FileBasedInstallationFactory.java      1980-02-01 00:00:00.000000000 +0000
+++ gradle-8.7/src/jvm-services/org/gradle/jvm/toolchain/internal/FileBasedInstallationFactory.java     2024-04-23 16:48:25.349948591 +0100
@@ -30,10 +30,14 @@
         if (javaCandidates == null) {
             return Collections.emptySet();
         }
+       /* On Debian, and maybe some other systems, just a directory
+        * is insufficient so check for java instead. */
+       final String java = "bin" + File.seperator + "java";
         return Stream.of(javaCandidates)
-            .filter(File::isDirectory)
+            .filter(d -> new File(d, java).isFile())
             .map(d -> new InstallationLocation(d, supplierName))
             .collect(toSet());
     }

 }

Context (optional)
I encountered this trying to build something using a current version of java, which would ideally be java 23, which uses gradle features which the debian version does not support. This only cost me a whole week of discovering gradle not only gets it wrong bit also insists on getting it wrong.
Steps to Reproduce
Try to do a grade build on a current debian multiple architecture system. The debian version has a fix for this issue but can;t be used to build gradle 8.7.
Gradle version
8.7
Build scan URL (optional)
No response
Your Environment (optional)
No response

We appreciate the effort, but we must ask for more information so that we can triage it.
We do not see an immediate root cause, and we need a minimal reproducible example for the triage. If we have a reproducer, we may be able also to suggest workarounds or ways to avoid the problem.
The ideal way to provide a reproducer is to leverage our reproducer template. You can also use Gradle Project Replicator to reproduce the structure of your project.
This issue will be closed after 7 days unless you provide more information.

This issue should be already addressed by

#22921

Probably you hit some corner case. Ideally, you can setup GitHub Action in our reproducer template to capture all the details. If it's very hard, then please provide at least a full log with stacktrace of your build failure.


Revert "Support qubits in MeasurementKey and update JSON serialization of keys"

Reverts #4123 due to issues uncovered in #4273.

Add unit test if you want

Done: added test_eval_repr to measurement_gate_test.py. All other changes in this PR are generated by reverting #4123.

Automerge cancelled: Merging is blocked (I don't understand why).


Error in deserialization

While searching and serializing the data from Star Trek: Odyssey, TVDB passed me a null SeriesId...
I have changed the series id class to accept this discrepency... Is this the correct course of action?

Its even worse than I thought... Series ID can contain alphanumerics... Checking how many instances of it I can find...
More data changes on the way... found a whole bunch of decimals in DvdEpisodeNumber and DvdSeasonNumber... checking before I change the classes, will update the tests and the classes soon...
Cheers.


Please invite me to the GitHub Community Organization

Name
bhanuteja
Discord Username (if applicable)
No response
Additional Context
to learn

to learn

@bhanuteja1901 If you have joined or want to join, you may do so. Else this issue needs to be closed.

Yeah I joined

Please close this issue then @bhanuteja1901


Read and summarize the RFCs 2813, 2812, 2811, 2810, and 1459

Before starting to implement anything for our IRC server, we should read those RFCs because they are a good reference on how the IRC protocol works and thus how we implement an IRC server. We should read them from the most recent to the less recent.
And as we read them, we should make a brief document to summarize what matters to us.
Therefore, I suggest that we create a MarckDown file at the root of the project for that purpose.
Let's call it RFCs_summary.md.

Hi there,
I wanted to mention that RFC 1459 is experimental and largely superseded by RFC 2812, so I'd suggest focusing on RFC 2812. It's the most important one in terms of messaging and message structure.
Key Points in RFC 2812:

Connection Registration (Section 3.1): Defines messages exchanged during initial connection process.
Numeric Replies (Sections 2.4): Standardized responses from the server to client commands.

I'd also recommend checking out IRC2Numerics website for comprehensive overview of IRC messages and their corresponding numeric replies.
Have fun coding your IRC server!

After encountering some limitations due to the MarckDown format, it has been decided to switch to the HTML format for the summary of the RFCs.