Update README.ja.md

[ja]
「論理演算子とブール値」 テーブル2行目（ヘッダーを除く）おいてエスケープ処理ができておらず、論理和演算子である||がマークダウン記法のテーブルを構成するセルとして扱われていた。エスケープ\を追加し、正しく表示されることを確認した。
[en]
Boolean Operators and Boolean Values" In the second row of the table (excluding the header), escaping was not performed and the logical OR operator || was treated as a cell that constitutes a table in markdown notation. The escaping was added, and it was confirmed that the table was displayed correctly.

Ouk, let's wait and see 🙃
On Sun, 16 Apr 2023, 11:39 github-actions[bot], @.***>
wrote:

This PR has not seen any action for a while! Closing for now, but it can
be reopened at a later date.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/Web-Dev-For-Beginners/pull/1078#issuecomment-1510191681,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP7JYE6YBQMCVHIF43YEOQ3XBOV25ANCNFSM6AAAAAAU3RZAFQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


[stable/jenkins] Install configuration-as-code-plugin explicit

What this PR does / why we need it:
As we are adding more native support for the configuration-as-code plugin it makes sense to install it without magic just like any other plugin.
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #22025

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

/assign @wmcdona89

/assign @wmcdona89

/lgtm


⚠ Bofrost.be has degraded performance

In 74325d8, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1143 ms

Resolved: Bofrost.be performance has improved in 6f14bae.


How to close a DB

I am doing some memory usage testing. It looks like the memory allocated for a DB is not getting. I tried to manually drop the Database instance and Create DB in a different function and exit that function but it's still using the memory.

How did you determine that it's still using the memory?
Sent from my phone
On Mon, Sep 25, 2023, 8:51 AM Akash Gurava @.***> wrote:

I am doing some memory usage testing. It looks like the memory allocated
for a DB is not getting. I tried to manually drop the Database instance and
Create DB in a different function and exit that function but it's still
using the memory.
—
Reply to this email directly, view it on GitHub
https://github.com/cberner/redb/issues/690, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGNXQHP5TTBCVS5LPKHNZDX4GSBRANCNFSM6AAAAAA5GJ6YMM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

My activity monitor:

Profile using cargo instruments:

fn verify_redb() {
    let db = make_db();
    let data = Data::rand_many(1_000_000);

    let write_txn = db.begin_write().unwrap();
    {
        let mut table = write_txn.open_table(DATA_TABLE_DEF).unwrap();
        data.iter().enumerate().for_each(|(i, data)| {
            table
                .insert(&(i as u64), data.to_db_bytes().as_ref())
                .unwrap();
        });
    }
    write_txn.commit().unwrap();

    let read_txn = db.begin_read().unwrap();
    let table = read_txn.open_table(DATA_TABLE_DEF).unwrap();
    let read_data = table
        .iter()
        .unwrap()
        .map(|d| Data::from_db_bytes(d.unwrap().1.value()))
        .collect::<Vec<_>>();
    assert_eq!(data, read_data);
}

fn main() {
    verify_redb();

    sleep(Duration::from_secs(10));
}

That could be the page cache. Try running verify_redb() in a loop and see
if you get an OOM. That would prove that it's leaking memory.
Sent from my phone
On Wed, Sep 27, 2023, 8:34 AM Akash Gurava @.***> wrote:

My activity monitor:
[image: Screenshot 2023-09-27 at 9 01 52 PM]
https://user-images.githubusercontent.com/13036662/271034735-50016437-b383-47cc-bef2-86b8e29e4e14.png
Profile using cargo instruments:
[image: image]
https://user-images.githubusercontent.com/13036662/271034875-60078ccd-4b97-4f45-a027-8e83e06054bf.png
fn verify_redb() {
let db = make_db();
let data = Data::rand_many(1_000_000);
let write_txn = db.begin_write().unwrap();
{
    let mut table = write_txn.open_table(DATA_TABLE_DEF).unwrap();
    data.iter().enumerate().for_each(|(i, data)| {
        table
            .insert(&(i as u64), data.to_db_bytes().as_ref())
            .unwrap();
    });
}
write_txn.commit().unwrap();

let read_txn = db.begin_read().unwrap();
let table = read_txn.open_table(DATA_TABLE_DEF).unwrap();
let read_data = table
    .iter()
    .unwrap()
    .map(|d| Data::from_db_bytes(d.unwrap().1.value()))
    .collect::<Vec<_>>();
assert_eq!(data, read_data);}

fn main() {
verify_redb();
sleep(Duration::from_secs(10));}

—
Reply to this email directly, view it on GitHub
https://github.com/cberner/redb/issues/690#issuecomment-1737638208, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGNXQAGL3OHGVK6T36SGMLX4RBPTANCNFSM6AAAAAA5GJ6YMM
.
You are receiving this because you commented.Message ID:
@.***>

Seems like its cleaning up. Just not reflecting properly from activity monitor.


Separate API to *_types.go files

multiple apis are put in one single types.go file which make it hard to read. It is better that we can separate them to multiple files.

/assign @ilan-pinto


Update storage-network-security.md

It would be very helpful to CSS if the fact that Network Watcher and Traffic Analytics work through the "Trusted Microsoft Services" exception could be made clear here.
On the Network Watcher side, this FAQ section does say that Network Watcher is covered, but I didn't find any docs specifically saying that Traffic Analytics could also use the exception. I confirmed this with the Traffic Analytics team.
https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-nsg-flow-logging-overview#faq

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

#sign-off


Slow world load.

I have a world set up for Activities and the a HUB with in that world, If I use a portal that I've made to go to that portal it loads up just fine. But if I use one of the portals in the HUB to go to one of the activities in that world it takes a lot lot longer to load up that location once I spawn there.
Any reason why?

Cannot replicate using latest builds, quite a lot has changed in 3 years.


Is it possible to expose the shared data URL as JSON?

Initially I thought if it was possible to expose an API of the DB to, for example, get the views in a page (like some blogs that shows the view count). Something like this but with less complexity and features to start.
But as we have the possibility to share analytics by URL, what about exposing the URL data as JSON to be consumed like a single endpoint? Or maybe just create another colum with an autogenerated api key for a website, which would be like the "token" to be used as authorization by my website to show the view count for each blog post.

You wouldn't specifically need to go through a shared url. If you can log in as the admin or website owner, you can pull stats from the api.

I was looking for something similar a while ago for an 11ty page (an SSG).
Wrote myself a small JS helper for that, essentially talks with the database like the backend would and spits out JSON.


one peer join the room, how can he only receive all the stream, but he don't send any stream, he is the role of monitore

I am researching mediasoup system
but we have a role of monitor
so the role join the room but no stream upload, and receive all the streams of the room

Please, let's use the public mailing list for usage questions:
https://mediasoup.org/support/
Your use case has no mystery at all. Just make the monitor join the room without attaching any local MediaStream into its PeerConnection (in the browser I mean).

thank you very much


Update references to Release Managers private mailing list

ref: https://github.com/kubernetes/sig-release/issues/732
Signed-off-by: Stephen Augustus<EMAIL_ADDRESS>cc: @kubernetes/product-security-committee @kubernetes/sig-release-admins @kubernetes/release-engineering

/sig release
/area release-eng

/assign @philips @jbeda @liggitt

/lgtm
/approve


fixed issue with pagination breaking on gallery

I'm still open to suggestions for a better way to do this. It might be possible to somehow store our own index variable within the ng-repeat model but I haven't been able to find out how.

r+ but you need to change the commit message.
It should be something like fixes bug 1170628 - fixed issue with pagination breaking on gallery


fix(root-layout): sidebar independently scrollable

fix(root-layout): sidebar independently scrollable

:hammer_and_wrench: Type Of Change

[x] Fix
[ ] Feature
[ ] Refactoring
[ ] Documentation

:book: Description
Got a report that while the main content was scrollable on overflow, the sidebar was not. Added overflow y auto to the sidebar and also made the entire main content section (sidebar + content) scrollable when at mobile width, as this makes more sense than what we were doing before.
:pencil: Checklist

[x] I have reviewed my changes

:crystal_ball: Next Steps
Test in DP 2.0

Merging in what's here for now, created a ticket to rework this component with pure CSS.


Uplink: Combat Bakery Kit

About the PR

This PR ports the Combat Bakery Kit from SS13 for mimes and chefs. The disintegrating box provides one baguette sword and two throwing star croissants. The main upside is that they are stealthy, looking just like their regular counterparts. They are also edible, so you can destroy the evidence after a kill!
Baguettes can now be worn on the belt, and regular ones do one blunt damage. Mimes also start with a regular baguette in their survival kits, to make them more common. I also updated the baguette sprites to look better for the swinging animation.
I haven't touched weapons or uplink items before, so I might be way off on the balance. Please leave feedback if this is too expensive/cheap or strong/weak.
I decided against adding recipes for making more baked weapons, since secretly learning a recipe would require either adding a component to a player (bad) or would require some implant (easy to meta since it is job-locked).
Why / Balance

I think stealth syndie items are cool, and create more possibilities for creative antag-ing. I also love the idea of a syndie mime sword fighting the captain with a baguette.
Media

https://github.com/user-attachments/assets/be326a9a-8570-4623-892e-daa528cc966d
Requirements

[x] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl:

add: Added the Combat Bakery Kit to the syndicate uplink. Includes a deadly edible baguette sword and throwing star croissants for 3 TC.
tweak: Baguettes can be worn on the belt and normal ones do one blunt damage.
tweak: Mimes have a baguette instead of an MRE in their survival kits.

This is a fun idea! In the future I'm also going to make some kind of system so after eating a cake with an explosive in it, it'll automatically go off (see #31015). When I'm done I'll add it to the kit!

goncflicts

It should probably just be a normal box, I can easily imagine someone opening this for the first time and thinking it’s broken because half of the kit drops on the floor.

6 tc is kinda very veeeeeeery huge stuff.
It was good in ss13 because you could've learn receipt of making them

6 tc is kinda very veeeeeeery huge stuff. It was good in ss13 because you could've learn receipt of making them

That's very fair. I see the energy dagger is concealable and does 20 damage for 2 TC. I went ahead and reduced the cost of this one to 3 TC. If I can figure out a good way of doing the recipe in the future, then I'd bump it back up.

It should probably just be a normal box, I can easily imagine someone opening this for the first time and thinking it’s broken because half of the kit drops on the floor and they don’t notice.

I made it a disintegrating box since I was worried about it being meta'd too easily since it is job-locked to chef and mime.
Maybe in this case it could look like a plain box or a survival box? I think all other traitor items either leave no box behind or leave obvious evidence, so this would be something new.

It is a bit weird that the box opens up to reveal a 3x3 storage only to be immediately deleted afterwards. I think it's fine if it's just a normal box; it can either look like a non-specific 3x3 cardboard box (we have those) or a box that is more obvious ("combat bakery box") but can be destroyed in the recycler. Having things drop on the ground probably doesn't feel too great.

It is a bit weird that the box opens up to reveal a 3x3 storage only to be immediately deleted afterwards. I think it's fine if it's just a normal box; it can either look like a non-specific 3x3 cardboard box (we have those) or a box that is more obvious ("combat bakery box") but can be destroyed in the recycler. Having things drop on the ground probably doesn't feel too great.

That's true, having to grab stuff off of the floor isn't great. I'll switch it to a normal box.


Provide generic template value for registerConstructor function

Sorry for all the issues, I really love the library! 😅
Might be related to #8, though that was when @template was used at root.
<?php

require "vendor/autoload.php";

class FooBar {
    public function __construct(public int $id) {}
}

/**
 * @template T
 */
class Bar
{
    /**
     * @var T
     */
    public $obj;

    /**
     * @param T $obj
     */
    public function __construct($obj) {
        $this->obj = $obj;
    }
}

class Foo
{
    /**
     * @var Bar<FooBar>
     */
    public Bar $bar;
}

$mapper = (new \CuyZ\Valinor\MapperBuilder())
    ->registerConstructor(

        /**
         * @template T
         * @param class-string<T> $className
         *
         * @return Bar<T>
         */
        #[\CuyZ\Valinor\Mapper\Object\DynamicConstructor]
        function ($className, $id): Bar {
            $obj = new $className($id);
            return new Bar($obj);
        }
    )
    ->mapper();

$foo = $mapper->map(Foo::class, [
    'bar' => 2
]);

print $foo->bar->obj->id;

This is not a real-life example

Hi @eigan, I might have not understood well your issue, but the following works in Valinor:
class FooBar
{
    public function __construct(public int $id) {}
}

/**
 * @template T
 */
class Bar
{
    /**
     * @var T
     */
    public $obj;

    /**
     * @param T $obj
     */
    public function __construct($obj)
    {
        $this->obj = $obj;
    }
}

class Foo
{
    /**
     * @var Bar<FooBar>
     */
    public Bar $bar;
}

$mapper = (new \CuyZ\Valinor\MapperBuilder())->mapper();

$foo = $mapper->map(Foo::class, [
    'bar' => 2
]);

You don't have a register a "generic" constructor in this case, the library will parse and analyse @template annotations just right.

Hi @eigan, as you closed #354 I'll now close this issue. Please feel free to reopen or post a new issue if your issue persists.
Have a good day!


Graph ASCII style

Hey guys,
After installing the cointop from (go) sources, I see the graph as a bunch of ASCII rectangles, which is different from what I see on in the repo pics.  Is there a way to change it, or maybe I am missing some fonts on my side?

Thanks,
Vlad

Hi @madjestic, what OS are you on? The FAQ might offer additional help as well. Most likely it's a font issue and you'll need to change to a font that supports 'braille' dots. You can try Iosevka, DejaVu or Symbola font. If using Arch install ttf-ubraille

Hey, I am running:
$ uname -a
Linux nu 5.4.80-gentoo-r1 #5 SMP PREEMPT Mon Jan 18 11:18:39 CET 2021 x86_64 Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz GenuineIntel GNU/Linux

As you can see, I am running DejaVu Sans Mono font.  I don't think that ttf-ubraille exists for gentoo...

@madjestic thanks for the additional info. Since the terminal is urxvt then I suspect it's a configuration problem.
You can try setting URxvt.letterSpace: 1 in .Xresources or ~/.Xdefaults (source)
If that didn't work, you can try setting fallback fonts.
For example, URxvt.font: xft:DejaVu Sans:pixelsize=14,xft:Symbola,xft:Noto Emoji:minspace=False (source)
Before:

After:

~/.Xresources

@miguelmota Thanks for great tips!  Unfortunately, the fix suggestions in regards to tweaking Urxvt did not quite work or resulted in other issues, however I tried running cointop using xterm and that worked ok.  I think that is an acceptable workaround.
Thanks,
Vlad

@madjestic ah ok, I'm sure if you keep tweaking settings it'll eventually work but xterm is also a great terminal. Cheers!


Add missing namespace

multi_index_wrapper header could not find the eosio::name type.

Thank you, I noticed this PR just now. Sorry for late response.


Use "chokidar" instead of "pathwatcher" to fix install errors on Windows

When installing the "pathwatcher" package on Windows, its dependency "runas" throws weird compilation errors.

Replace "pathwatcher" with "chokidar".
Call onChange for directories on "add", "addDir", and "change" events, which is equivalent to the "change" event in pathwatcher terms.
Use fs.removeSync instead of fs.rmdirSync in tests - this fixes the tests.

Hopefully closes #21, closes #17.

Travis CI build failed because AWS currently sometimes returns 503 error when trying to download Atom from https://atom.io/download/mac. See Atom CI build script.

The build still fails but I can't reproduce those errors in my Windows environment.
Could somebody please test this on Linux/Mac?

Thanks for your contribution! I'll check tests and merge it.

As mentioned in #24, we are merging #24 instead. It also uses chokidar, so closes #21, closes #17.


how to use num_workers in ddp training?

i'm using the webdataset in ddp training. everything works fine when i set the num_workers 0. but if  num_workers > 0,the total steps of an epoch was wrong.
dat = Webdataset(url,8000,2,True)
# loader = data.DataLoader(dat(),pin_memory=True,shuffle=False,batch_size=20,num_workers=16)
loader = wds.WebLoader(dat(),pin_memory=True,shuffle=False,batch_size=20,num_workers=2)
# loader = DataLoaderX(dat(),pin_memory=True,shuffle=False,batch_size=20)
cnt = 0
for d in loader:
    cnt += 1
    print(cnt)
    # print(d[0].shape)
print(f"loader len is {cnt}")

i try three different dataloaders. the DataLoaderX is using prefetch_generator.
the dat() will return :
return wds.WebDataset(self.url,resampled=True).shuffle(1000).map(preprocess_train).with_epoch(self.len // self.world_size)

the world_size now was set to 2.
when num_workers=0, the total steps of an epoch is 8000 / 2/20=200,but if the num_workers = 16, the total steps will be 8000 / 2 / 200 * 16 = 3200
why does it happen?
could anyone give me some advice?

The long and the short of it is that you probably want to remove the with_epoch from the WebDataset and put it onto WebLoader:
data = wds.WebDataset(self.url,resampled=True).shuffle(1000).map(preprocess_train)
loader = wds.WebLoader(dat(),pin_memory=True,shuffle=False,batch_size=20,num_workers=2).with_epoch(...)

You might also want to add cross-worker shuffling, something like:
loader = wds.WebLoader(dat(),pin_memory=True,shuffle=False,batch_size=20,num_workers=2)
loader = loader.unbatched().shuffle(2000).batched(20).with_epoch(200)```


Skype dumped me

One week before Christmas, on 18 December 2017, my subscription to Skype premium service "France Unlimited mins to landlines" was cancelled with no action from my part and no prior warning. I had been subscribed without interruption for more than 9 years, since July 24th 2008.
"We are sorry to hear that you will no longer be using our subscription service. We hope you enjoyed using it.", they said in the email that I received on that day:

This sounded like I had cancelled the subscription myself, but I clearly didn't, and I was not aware of any payment error either. This was obviously a mistake. I connected to Skype dashboard, where I found no further hint, but confirmed that the subscription was gone. To make things worse, the attached phone number, which I used all over the place including in my resume for the better of the past ten years, would get into oblivion in less than a month:

I contacted Skype support. It was all normal, they said. This subscription had been discontinued and all affected users have been notified. Well, obviously not all, I answered, or I would have known. Well, now you are notified, they said. This subscription is no longer available. How is it possible? What do you propose? I asked. I am going to lose my phone number. I tried to renew the subscription or even just the phone number, but nothing works. And I can't get a new subscription for this number because it is marked as unavailable.
This is all normal, they said. You have to wait until the subscription expires. Then the phone number will become available again, and you can get a new subscription.
I don't understand, I said. How much is it going to cost to get something equivalent to what I had before?
Let me see, they said. Your Country subscription, "France Unlimited minutes to landlines", used to cost 3.54 EUR/month. If you still wish to have unlimited minutes to call landlines in France, there is a new subscription which costs 3.60 EUR/month, but does not include a Skype Number like your previous subscription did. You will have to purchase a Skype Number separately. Ok, I said.
How much is it going to cost then? I asked. I can't find the price for a Skype Number on your website. I need to select a new number and agree to conditions of use before I can get the price. But I wish to keep my existing number. Is that possible? Sure, they said. You can use any Skype Number with any subscription. Well, how much is it going to cost, then? I asked. I cannot tell you, they said. The monthly fee depends on the type of number and the location. Then you get a different discount if you subscribe for 3 months, 6 months or 12 months. That is annoying, I said. How come that I cannot see the price for a Skype Number before I accept the terms of the subscription? You just have to wait until your old subscription expires, they said. You can then renew your Skype Number and you will see the price. Make sure to subscribe for 12 months and you will get a 50% discount.
Speaking of discounts, I said, and given how my current subscription was cancelled unilaterally by Skype, I would really appreciate to get a discount on the renewal of my Skype Number over the next year, to cover the extra cost induced by the unanticipated change of subscription. That is impossible, they said. You are not leaving me much of a choice, I said. May I speak with your manager? No, that is impossible as well, they answered.

My subscription expired on January the 3rd, 2018.

My Skype Number expired on January 11th, 2018.

After it expires, Skype will reserve your Skype Number for you on your account for 90 days. This means no one else but you can purchase this particular number during this period. You can renew your Skype Number subscription from your account.
— https://support.skype.com/en/faq/FA12164/how-do-i-cancel-my-skype-number

I decided to stop using Skype to make phone calls to regular phones, and to start looking for an alternative provider for a VOIP phone number that I can publish online and share with pesky services that require one.
I did not pick any new Skype Subscription. I decided, however, to renew the Skype Number for an extra year, to give me the time to find an alternative.
Reference

How is a subscription different to a Skype Number?

Apart from the obvious, namely that Skype ended our 10-year relationship with no remorse and not a word of explanation, my decision was compounded by the fact that over the years, the Skype to Phone service saw little progress in terms of features, but greatly deteriorated in terms of user experience in the new versions of the desktop app.

Missing Skype to Phone Features
Phone
I used to provide my Skype number during signup when a phone number is required because I don't want to get bothered by robocalls or other unsolicited calls. But recently, these services started to require explicitly a mobile phone number, starting with +336 or +337 in France, while Skype only offers so-called "non-geographical (VOIP)" numbers in France, starting with +339. As such, a Skype Number is often rejected these days in signup forms that require a mobile phone number.
SMS

in France and other countries, Skype does not use the number that I configured in Caller ID. SMS messages sent with Skype appear from a generic number instead (e.g. 37208)
as a result, Skype can send SMS messages, but you cannot receive any reply, not even on a different phone

Degraded User Experience in Skype Desktop 2017
In 2017, Skype turned 14, which is 88 in dog years. Fittingly, they offered a major redesign to their desktop app, which, by stealing the codes of mobile apps in vogue at the time, in a failed attempt to appeal to a younger audience, gave it the look of an 88 year old who starts to dress like a teenager:

Icons without text. First name and initials guessed incorrectly from full display names. A total lack of contrast even using the dark theme. No hierarchy of information and barely any information displayed in the screen.
It was nearly unusable.

On January 22, 2018, I renewed my Skype Number for 12 months, to benefit from a 50% discount on the same subscription paid monthly. In spite of that discount, the 12 month subscription cost 41.04€ for a Skype Number alone, while my previous subscription included a Skype Number and unlimited minutes to landlines for 42.48€ per year (3.54€/month).
In order to get the same level of service, I would have had to go from:

Subscription
France Unlimited mins to landlines

Status
Cancelled at End of 2017

Skype Number
✓

Calls to landlines
✓

Payment
monthly

Yearly Cost
42.48€

to

Subscription
Skype Number
France Unlimited mins to landlines

Status
Available
Available

Skype Number
✓
𐄂

Calls to landlines
𐄂
✓

Payment
yearly
monthly

Yearly Cost
41.04€
43.20€

In short, I could now have the same service as before for double the price.

My Skype Number subscription expired on January 22, 2019, and I did not renew it.

You may leave your comments below.

I had Skype pull a similar scam on me. I had the Unlimited World Subscription, which included 3 phone numbers. And I had also made the mistake of loading my Skype account up with credit (from gift cards which I would buy when they were on special). So I ended up in a position where my subscription was cancelled without my consent, with enough credit on my account to cover 3 years of what I had been paying, and in a situation where buying the new products for the same level of service would have cost me 3 times what I had been paying.
Needless to say, I am just using that remiaining credit for the odd call or SMS, especially when overseas, and will also be looking to migrate all of my online telephony needs away from Skype. It's also pretty obvious that, since Microsoft bought Skype, they were only really looking to integrate the tech into what was Lync and is now Teams - they have no real interest in maintaining it as a standalone product.


Update get-started.md

add zones for bash, cmd, and powershell to "Run your application" section 4.3

I believe the changes in this PR are no longer necessary.
We are now using "generator": "Ninja" in the CMakePresets.json file, which produces consistent output in all platforms (no Debug subdirectory). And because modern cmd, like PowerShell, accepts / as a path separator; there is no actual difference between shells.

I may be doing something wrong but I can't seem to get / to work as a path separator in cmd (on windows 11).

It does work in powershell though.

I may be doing something wrong but I can't seem to get / to work as a path separator in cmd (on windows 11)

@shea-c4 you're right, it works for some commands like dir and cd but not when trying to run the executable


Re-export TypeOverrides from pg/lib/type-overrides

This will enable Clients and Pools to be created with overridden types:
import {
  Client,
  Pool,
  TypeOverrides
} from '@neondatabase/serverless';

const types = new TypeOverrides();

const client = new Client({ types });
const pool = new Pool({ types });

Hi @amitdahan.
It's entirely my fault, because I suggested we needed TypeOverrides exposed, but (since fixing an issue with the serverless driver and Prisma yesterday) I'm now not sure we do need to expose it after all.
When a Client is constructed (either directly or by a Pool instance), the TypeOverrides object is automatically created using the types option that was passed in.
See here: https://github.com/brianc/node-postgres/blob/54eb0fa216aaccd727765641e7d1cf5da2bc483d/packages/pg/lib/client.js#L38


SVG output format was added

I'll fix the travis build and then I'll do the review. For the moment, I'd say there is a lack of unittest...

OK, I've merged in master the fix on travis. Can you, please, rebase your branch on the last master?
Sorry for that.
Looks all good to me.

Thanks for the review. Sorry, I forgot to say that everything is done. Is it ready to merge?


changed person to student

Codecov Report
Base: 61.48% // Head: 61.48% // No change to project coverage :thumbsup:

Coverage data is based on head (0153ba9) compared to base (d173896).
Patch coverage: 91.89% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #276   +/-   ##
=========================================
  Coverage     61.48%   61.48%
  Complexity      822      822
=========================================
  Files           155      155
  Lines          3204     3204
  Branches        408      408
=========================================
  Hits           1970     1970
  Misses         1064     1064
  Partials        170      170

Impacted Files
Coverage Δ

...main/java/seedu/modquik/commons/core/Messages.java
0.00% <ø> (ø)

...k/logic/commands/student/ExtractEmailsCommand.java
0.00% <0.00%> (ø)

.../java/seedu/modquik/model/util/SampleDataUtil.java
9.09% <0.00%> (ø)

src/main/java/seedu/modquik/ui/MainWindow.java
0.00% <0.00%> (ø)

src/main/java/seedu/modquik/model/ModQuik.java
67.30% <83.33%> (ø)

...rc/main/java/seedu/modquik/logic/LogicManager.java
75.00% <100.00%> (ø)

...java/seedu/modquik/logic/commands/ListCommand.java
100.00% <100.00%> (ø)

...quik/logic/commands/student/AddStudentCommand.java
100.00% <100.00%> (ø)

...k/logic/commands/student/DeleteStudentCommand.java
100.00% <100.00%> (ø)

...uik/logic/commands/student/EditStudentCommand.java
91.89% <100.00%> (ø)

... and 8 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[Discussion]Documentation for the new Subscription CRD

as a follow up to #2015, does it makes sense to have a documentation reference on how to use this CRD? Probably with an example.

@anishj0shi / @yaron2 created the issue here. please take a look at https://github.com/dapr/docs/issues/782
closing this issue.

@anishj0shi: https://github.com/dapr/docs/tree/master/howto/consume-topic#declarative-subscriptions


Add rating page

Description
Add an rating us page where customers or users rate us in the form of stars. Its connected with the nav bar rate us button.
So I have to make a new navbar button and also a rate us page.
Screenshots

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[ ] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

I want to add an option at the header of the page

No need of ratings. Pls work on other good issues @daksh1210jain


How to use controllables to control functionality

Show how to use the different created controls such as levers, sliders, dials, buttons, wheels to actually control the output of something else.
Using normalized values and step values.

https://www.youtube.com/watch?v=lCsX0ehSt-U


Choosing "Application: Install Update" from command palette crashes Atom

HI,
when I choose "Application: Install update" from Atom command palette Atom crashes.
I am using Atom 1.3.2.

Hi @nvdv, can you paste the crash log from Console.app here?  Thanks!

For some reason in this case Atom does not generate error logs in Console.app.

Is there another way to collect necessary debug info?

@nvdv are you sure it's crashing, and not just freezing?  In addition, can you please try reproducing this in safe mode (atom --safe)?

It just quits when I choose "Application: Install update".
I've tried  ``atom --safe``` and behavior is the same.

I checked system.log in Console.app and found this record after crash:
May 24 21:01:46 nvmac launchservicesd[76]: SecTaskLoadEntitlements failed error=22

I just lost all my unsaved tabs due to this error!

Same here.
Atom 1.13.0
macOS 10.11.6
I had an issue opened before when I still use on Linux but it was resolved on the way. Just switched to mac then this one came up again.

Did this a few times. I had one crash with the following in Console.app:
1/25/17 2:44:22.450 PM Atom[20736]: Download completed to: file:///Users/abramowi/Library/Caches/com.github.atom.ShipIt/update.xf4OPVp/atom-mac.zip
1/25/17 2:46:27.745 PM ShipIt[20943]: Moved bundle from file:///Applications/Atom.app to file:///var/folders/vq/yxhgc35139sc9rw90497n5vr0000gn/T/com.github.atom.ShipIt.2BArlWNM/Atom.app
1/25/17 2:46:27.745 PM ShipIt[20943]: Moved bundle from file:///var/folders/vq/yxhgc35139sc9rw90497n5vr0000gn/T/com.github.atom.ShipIt.v4WcZZDK/Atom.app to file:///Applications/Atom.app
1/25/17 2:46:28.740 PM ShipIt[20943]: Couldn't remove owned bundle at location file:///var/folders/vq/yxhgc35139sc9rw90497n5vr0000gn/T/com.github.atom.ShipIt.v4WcZZDK/Atom.app, error NSError { domain: NSCocoaErrorDomain, code: 4, description: "“Atom.app” couldn’t be removed.", failureReason: "The file doesn’t exist.", underlying error: NSError { domain: NSPOSIXErrorDomain, code: 2, description: "The operation couldn’t be completed. No such file or directory" }, userInfo: {
    NSFilePath = "/var/folders/vq/yxhgc35139sc9rw90497n5vr0000gn/T/com.github.atom.ShipIt.v4WcZZDK/Atom.app";
    NSUserStringVariant =     (
        Remove
    );
} }
1/25/17 2:46:29.448 PM ShipIt[20943]: Application launched at file:///Applications/Atom.app

Several other times, it closed all my Atom windows, but the Atom app was still running with no windows. And then if I clicked Atom in the Docker, it brought up a single window and single tab with untitled in it. But if I quit and relaunch Atom, I get back the tabs I had before.

I'm experiencing this same behavior as @msabramo in 1.15.0, where the editor appears to crash then, when refocused, opens an empty editor.
I've also noticed crashpad_handler processes piling up when I reproduce this, but all the directories in /tmp/Atom Crashes are empty


Miscellaneous FAQ typos

This PR corrects some minor typos in the English and German FAQs.

@MikeMcC399 Thanks.

@dsarkar
Was there some reason for not merging this PR after you approved it?

@MikeMcC399 The reason that I hesitated is that we are migrating the content to the new FAQ. But I will merge now, and we keep track of all changes since a couple of days. Thanks again for all the effort!

@dsarkar

The reason that I hesitated is that we are migrating the content to the new FAQ. But I will merge now, and we keep track of all changes since a couple of days. Thanks again for all the effort!

It's good to know about the migration plans. I hope this work is semi-automated otherwise it will probably be quite error-prone!
I will hold back on any other PRs in that case until your migration is completed.


fix get_addr_utxo

https://github.com/lbryio/lbryum/issues/122

Fixed in https://github.com/lbryio/lbryum-server/pull/37


Updated floodplain tables with revised Census/ACS data

Community_District_Profiles_Floodplain_Tables_Final_091517.zip
Attached table includes revised corrected data for floodplain characteristics. Additional new field(s) at end is "Owner Occupied Units Cost Burdened"

New data added to DB, Owner Occupied Units Cost Burdened implemented in 4ca9854cc0c23f0d281d1ba0b4601634f4252f40
I was also able to add special handling for the "$200,000+" mhhi in Brooklyn 2


cyclic(ticdc): remove cyclic replication

What problem does this PR solve?

Issue Number: close #5849
What is changed and how it works?
remove cyclic replication
Check List
Tests

Unit test
Integration test

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Experimental feature cyclic replication is removed

/run-all-tests

/run-integration-tests
/run-kafka-integration-test

/run-integration-tests

Codecov Report

Merging #5850 (26969df) into master (b9773ac) will increase coverage by 0.1805%.
The diff coverage is 69.5692%.

Flag
Coverage Δ

cdc
62.2788% <58.2386%> (+0.3475%)
:arrow_up:

dm
51.8996% <53.0612%> (-0.0192%)
:arrow_down:

engine
62.1846% <78.6407%> (+0.5913%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
@@               Coverage Diff                @@
##             master      #5850        +/-   ##
================================================
+ Coverage   56.9653%   57.1459%   +0.1805%
================================================
  Files           681        675         -6
  Lines         79903      79752       -151
================================================
+ Hits          45517      45575        +58
+ Misses        30106      29922       -184
+ Partials       4280       4255        -25

/run-all-tests

/run-all-tests

/run-leak-test
/run-verify-test

/run-verify-test

/run-verify-test

/merge

Please make sure we don't fail the upgrade if we are already using cyclic sync, rest LGTM. Thanks!

/hold
Feel free /unhold when you think it's OK.

/run-dm-integration-test
/run-verify-test

/run-dm-integration-test

/run-dm-integration-test

/run-dm-integration-test

/run-all-tests

/run-verify-test

/run-all-tests

/run-verify-test

/run-verify-test

/run-dm-integration-test
/run-verify-test

/run-all-tests

/unhold


Let users cancel a ticket

Description
Change the "Ticket bearbeiten / stornieren" to "Ticket stornieren". Make it work!
Links/References
(Add any designs, screenshots or links that helpful to implement the feature)
Tasks

[ ] Rephrase "Ticket bearbeiten / stornieren" to "Ticket stornieren"
[ ] Send DELETE request for the ticket
[ ] Make the DELETE request work by flagging the database entry "deleted_at"

Additional Context
If there is an infection, we can't completely delete a ticket after using it. Therefore we need to flag the entries instead of fully deleting them.

Blocked by #48 - we need a deleted_at column or similar on all ticket tables.

Created new issue #81 for that.


tranfer: document ops and dev transfer

Facilitating the "how do i do X?" knowledge transfer process.
Signed-off-by: Vincent Batts<EMAIL_ADDRESS>

@vbatts git validation failed with whitespace errors.

updated

updated

LGTM.
Mrunal Lets merge this, since tests are not necessary.

LGTM, thanks for the touch ups.

LGTM


"Failed to load game data from Steam. Are you logged on the Steam Store?"

I left a previous topic regarding this issue, but it was closed despite it still occurring.
I have third party cookies enabled and this issue is still occurring. I was told that there was no one solution, but could I have some of them to debug this?

Making duplicate issues is not useful to anyone.
You can try looking at the background page of extension and seeing what requests it does and what the answer is.

I couldn't see how to get into the background page, but I did try accessing the developer tools.
I use waterfox, and it displays that it synced correctly.
https://i.imgur.com/YHZvLRl.png
"Content Security Policy: Ignoring “https://steamdb.info” within script-src: ‘strict-dynamic’ specified  (unknown)
Content Security Policy: Ignoring “https://www.google-analytics.com” within script-src: ‘strict-dynamic’ specified  (unknown)
[bugsnag] Loaded!  nihilanth.5b2c17a705cb98b162c49e434868caa4.js:1:40695
Loading failed for the

I installed chrome and the extension there worked without any issues. I think the firefox version is just broken.

Open about:debugging#/runtime/this-firefox and inspect the extension.
I just tested it in Firefox, it works fine and loads data for me.
Try disabling other extensions you have installed.

yeah I didn't see anything about the cookies being blocked. I use waterfox, so it may be incompatible.

I'm also having this issue with Waterfox.

If it works in Firefox but not in Waterfox, report it to them. We don't support that browser.

I was getting this problem on Firefox. The cause was Multi-Account Containers.
I inspected in about:debugging#/runtime/this-firefox, thanks for the pointer.
The extension makes this kind of request and the result is empty.
https://store.steampowered.com/dynamicstore/userdata/?_=<\d+>
When I put the same URL in the browser manually, the response was properly populated.
I put Steam and SteamDB in the same container and logged in only there. The extension makes the request outside of any container, and I am indeed not logged in there.
The only workaround I found was to stop using containers.

Raise an issue with Firefox to support putting addons in containers then.


chore: Generate a Windows admin password with the required complexity.

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
Changes the Windows admin password generator to create one with the complexity required by the Azure subscription policies.
Which issue(s) this PR fixes:

Requirements:

[X] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build 851361897

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

Totals

Change from base Build 840711015:
0.0%

Covered Lines:
1101

Relevant Lines:
2980

💛  - Coveralls

Pull Request Test Coverage Report for Build 851361891

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+17.4%) to 54.344%

Totals

Change from base Build 840711015:
17.4%

Covered Lines:
2208

Relevant Lines:
4063

💛  - Coveralls


[Gametest] nameTag property breaks vanilla commands in World

Describe the bug
Modifying the property nameTag from Player Class breaks the functionality of vanilla commands while loaded in the world.
To Reproduce
Steps to reproduce the behavior:

Write a script using any event. beforeChat Event would be a good test.
Get player object then modify the property nameTag of that player. Example: player.nameTag = `§4[§6${Admin}§4]§r §7${player.name}§r`;
Refresh the player object with the new nameTag in the world by making the player do something such as using player.teleport() so the new nameTag takes effect.
Load your world with your test script and be sure the new nameTag has taken effect. Then try to use any vanilla commands. For example: /tp Visual1mpact

Expected behavior
Visual1mpact has been teleported to Visual1mpact
You have been teleported to Visual1mpact
Erroneous behavior
No target found
Desktop (please complete the following information):

OS: Windows 10

Smartphone (please complete the following information):

Device: Moto G Stylus 5G
OS: Android 11

Demonstration

https://minecraft.fandom.com/wiki/Commands/team


TEE workers from smart contract example have the same SGX MRENCLAVE

How is this possible? Also, what is the difference between an indirect and a direct evm invocation (i.e., --direct)? It seems to be that in both cases the MRENCLAVE is specified.

That the two enclaves have the same MRENCLAVE is intentional. It uniquely defines the code, memory layout, enclave config etc. of an enclave. You always want an identical MRENCLAVE for enclaves that run the same business logic, which can only be true if you have a deterministic build process, or you use the same enclave binary. So enclaves running the same business logic, register on the Integritee parachain with the same MRENCLAVE and are therefore known to execute the same business logic and can be grouped together. Sidechain validators use the MRENCLAVE to find out who are their fellow peers.
An indirect invocation is proxied through the integritee-parachain and this is needed in the offchain-worker case (if you run more than one node), as we need the parachain to do the transaction ordering. A direct request talks to the TEE directly, the reason why you also supply the MRENCLAVE is an unfinished feature, where the MRENCLAVE should actually define the shard that the worker should execute the request on. So a worker with a certain MRENCLAVE will be able to operate on multiple shards with a base58 encoded identifier https://github.com/integritee-network/worker/issues/1111.

I will close this one as answered. If there is anything unclear, please just reopen the issue.


[stable/prometheus-operator] kube-prometheus-exporter-kube-state crashing

Is this a request for help?: yes

Is this a BUG REPORT or FEATURE REQUEST? (choose one):

Version of Helm and Kubernetes:
lient: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.4", GitCommit:"f49fa022dbe63faafd0da106ef7e05a29721d3f1", GitTreeState:"clean", BuildDate:"2018-12-14T07:10:00Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.4", GitCommit:"f49fa022dbe63faafd0da106ef7e05a29721d3f1", GitTreeState:"clean", BuildDate:"2018-12-14T06:59:37Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}

Which chart:
kube-prometheus         1               Tue Oct  2 20:08:01 2018        DEPLOYED        kube-prometheus-0.0.105                         monitoring
What happened:
Pod kube-prometheus-exporter-kube-state keeps crashing
What you expected to happen:
All resources up and running
How to reproduce it (as minimally and precisely as possible):
helm install coreos/prometheus-operator --name prometheus-operator --namespace monitoring
Anything else we need to know:
Name:               kube-prometheus-exporter-kube-state-689f8f9bd6-nnfkj
Namespace:          monitoring
Priority:           0
PriorityClassName:
Node:               xxx/xxxx
Start Time:         Wed, 27 Feb 2019 21:02:53 +0000
Labels:             app=kube-prometheus-exporter-kube-state
component=kube-state
pod-template-hash=2459495682
release=kube-prometheus
version=v1.2.0
Annotations:
Status:             Running
IP:                 xxx.xxx.xxx.xxx
Controlled By:      ReplicaSet/kube-prometheus-exporter-kube-state-689f8f9bd6
Containers:
exporter-kube-state:
Container ID:   docker://6fb71030cbb9900a4d27206ff0d49e2554856ed227b61768667eafce9e6ff807
Image:          gcr.io/google_containers/kube-state-metrics:v1.2.0
Image ID:       docker-pullable://gcr.io/google_containers/kube-state-metrics@sha256:953a3b6bf0046333c656fcfa2fc3a08f4055dc3fbd5b1dcdcdf865a2534db526
Port:           8080/TCP
Host Port:      0/TCP
State:          Running
Started:      Wed, 27 Feb 2019 22:25:42 +0000
Last State:     Terminated
Reason:       OOMKilled
Exit Code:    137
Started:      Wed, 27 Feb 2019 22:19:40 +0000
Finished:     Wed, 27 Feb 2019 22:20:32 +0000
Ready:          False
Restart Count:  18
Limits:
cpu:     110m
memory:  150Mi
Requests:
cpu:        110m
memory:     150Mi
Liveness:     http-get http://:8080/ delay=30s timeout=30s period=10s #success=1 #failure=3
Readiness:    http-get http://:8080/ delay=30s timeout=5s period=10s #success=1 #failure=3
Environment:
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kube-prometheus-exporter-kube-state-token-mpvzd (ro)
exporter-kube-state-addon-resizer:
Container ID:  docker://ec579bd2ff879c0a33e98337e45d2928950a9131131efc5b8f6371a58171be6a
Image:         gcr.io/google_containers/addon-resizer:1.7
Image ID:      docker-pullable://gcr.io/google_containers/addon-resizer@sha256:dcec9a5c2e20b8df19f3e9eeb87d9054a9e94e71479b935d5cfdbede9ce15895
Port:
Host Port:
Command:
/pod_nanny
--container=exporter-kube-state
--cpu=100m
--extra-cpu=1m
--memory=130Mi
--extra-memory=2Mi
--threshold=5
--deployment=kube-prometheus-exporter-kube-state
State:          Running
Started:      Wed, 27 Feb 2019 21:03:00 +0000
Ready:          True
Restart Count:  0
Limits:
cpu:     100m
memory:  30Mi
Requests:
cpu:     100m
memory:  30Mi
Environment:
MY_POD_NAME:       kube-prometheus-exporter-kube-state-689f8f9bd6-nnfkj (v1:metadata.name)
MY_POD_NAMESPACE:  monitoring (v1:metadata.namespace)
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from kube-prometheus-exporter-kube-state-token-mpvzd (ro)
Conditions:
Type              Status
Initialized       True
Ready             False
ContainersReady   False
PodScheduled      True
Volumes:
kube-prometheus-exporter-kube-state-token-mpvzd:
Type:        Secret (a volume populated by a Secret)
SecretName:  kube-prometheus-exporter-kube-state-token-mpvzd
Optional:    false
QoS Class:       Guaranteed
Node-Selectors:
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type     Reason   Age                   From                                     Message

Warning  BackOff  3m5s (x306 over 81m)  kubelet, xxx.xxx.xxx.xxx  Back-off restarting failed container

Could you post the logs from the crashing container please?

Unfortunately I could not edit the title. Here are the logs when I described the pod.

I0227 21:03:00.863116       1 pod_nanny.go:69] cpu: 100m, extra_cpu: 1m, memory: 130Mi, extra_memory: 2Mi, storage: MISSING, extra_storage: 0Gi
I0227 21:03:00.863983       1 pod_nanny.go:110] Resources: [{Base:{i:{value:100 scale:-3} d:{Dec:} s:100m Format:DecimalSI} ExtraPerNode:{i:{value:1 scale:-3} d:{Dec:} s:1m Format:DecimalSI} Name:cpu} {Base:{i:{value:136314880 scale:0} d:{Dec:} s:130Mi Format:BinarySI} ExtraPerNode:{i:{value:2097152 scale:0} d:{Dec:} s:2Mi Format:BinarySI} Name:memory}]
and exporter logs
kubectl logs --tail=10 kube-prometheus-exporter-kube-state-689f8f9bd6-nnfkj exporter-kube-state -n monitoring
I0228 20:19:57.105249       1 statefulset.go:147] collected 1 statefulsets
I0228 20:19:57.161112       1 namespace.go:113] collected 197 namespaces
I0228 20:19:57.257122       1 job.go:165] collected 0 jobs
I0228 20:19:57.257585       1 cronjob.go:141] collected 0 cronjobs
I0228 20:19:57.263530       1 daemonset.go:136] collected 4 daemonsets
I0228 20:19:57.357414       1 node.go:186] collected 13 nodes
I0228 20:19:57.560849       1 resourcequota.go:99] collected 210 resourcequotas
I0228 20:19:59.364490       1 replicaset.go:124] collected 1222 replicasets
I0228 20:19:59.764573       1 service.go:112] collected 1566 services
I0228 20:20:00.057714       1 endpoint.go:120] collected 1568 endpoints

I think you may have removed the relevant section of the logs by tailing only the last 10 lines. Only need the crashlooping container logs

I don't this there are any error logs on the pods itself. But below is the message that shows the state.
Warning Unhealthy 32m kubelet, xxx Readiness probe failed: Get http://xxx.xxx.xxx.xxx:8080/: read tcp xxx.xxx.xxx.xxx:42222->xxx.xxx.xxx.xxx:8080: read: connection reset by peer
Warning BackOff 8m51s (x5519 over 23h) kubelet, xxx Back-off restarting failed container
Normal Pulled 3m45s (x234 over 23h) kubelet, xxx Container image "gcr.io/google_containers/kube-state-metrics:v1.2.0" already present on machine

Tried redeploying the helm charts after removing the existing one. Still running into the same issue.
helm init --upgrade
helm install coreos/prometheus-operator --name prometheus-operator --namespace monitoring
helm install coreos/kube-prometheus --name prometheus --namespace monitoring
helm ls --all --namespace monitoring
NAME                    REVISION        UPDATED                         STATUS          CHART                           APP VERSION     NAMESPACE
prometheus              1               Thu Feb 28 23:33:24 2019        DEPLOYED        kube-prometheus-0.0.105                         monitoring
prometheus-operator     1               Thu Feb 28 23:32:48 2019        DEPLOYED        prometheus-operator-0.0.29      0.20.0          monitoring
kubectl get pods -n monitoring
NAME                                              READY   STATUS             RESTARTS   AGE
alertmanager-prometheus-0                         2/2     Running            0          4m38s
prometheus-exporter-kube-state-6f9b5c8dcd-tvzkg   1/2     CrashLoopBackOff   3          4m30s
prometheus-exporter-node-8d5b4                    1/1     Running            0          4m39s
prometheus-exporter-node-dgcks                    1/1     Running            0          4m38s
prometheus-exporter-node-f2c26                    1/1     Running            0          4m38s
prometheus-exporter-node-gj4zv                    1/1     Running            0          4m38s
prometheus-exporter-node-jdqrj                    1/1     Running            0          4m39s
prometheus-exporter-node-lfk5x                    1/1     Running            0          4m38s
prometheus-exporter-node-mbmqk                    1/1     Running            0          4m39s
prometheus-exporter-node-mxwlv                    1/1     Running            0          4m38s
prometheus-exporter-node-n6brn                    1/1     Running            0          4m38s
prometheus-exporter-node-s6kzx                    1/1     Running            0          4m38s
prometheus-exporter-node-v6w4j                    1/1     Running            0          4m38
prometheus-exporter-node-vdjwn                    1/1     Running            0          4m38
prometheus-exporter-node-x4ljv                    1/1     Running            0          4m38
prometheus-grafana-5c8c8bfbd6-t9rn6               2/2     Running            0          4m38
prometheus-operator-87779759-k2wm2                1/1     Running            0          5m16
prometheus-prometheus-0                           3/3     Running            1          4m38

Apologies for not catching this sooner, you're installing the coreos/prometheus-operator chart, which isn't found in this repository at all and was part of the coreos project until it was replaced with the one here.
The new chart is simply stable/prometheus-operator and it is a single chart, rather than being composed of multiple separate pieces.

I am running into permissions issue. Please can you assist?
helm install stable/prometheus-operator --name prometheus-operator  --namespace monitoring
Error: customresourcedefinitions.apiextensions.k8s.io "alertmanagers.monitoring.coreos.com" is forbidden: User "system:serviceaccount:kube-system:monitoring" cannot delete resource "customresourcedefinitions" in API group "apiextensions.k8s.io" at the cluster scope

I tried removing the crds manually but still the issues exists. Error: object is being deleted: customresourcedefinitions.apiextensions.k8s.io "alertmanagers.monitoring.coreos.com" already exists
helm install stable/prometheus-operator  --name prometheus-operator --namespace monitoring

Here is the full logs from the rs
[tiller] 2019/03/06 20:24:41 preparing install for prometheus-operator
[storage] 2019/03/06 20:24:41 getting release history for "prometheus-operator"
[tiller] 2019/03/06 20:24:41 rendering prometheus-operator chart using values
2019/03/06 20:24:41 info: manifest "prometheus-operator/charts/prometheus-node-exporter/templates/endpoints.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/prometheus/additionalAlertmanagerConfigs.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/exporters/kube-dns/servicemonitor.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/alertmanager/podDisruptionBudget.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/grafana/configmap-dashboards.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/exporters/kube-controller-manager/endpoints.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/prometheus/additionalScrapeConfigs.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/charts/grafana/templates/dashboards-json-configmap.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/exporters/kube-dns/service.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/prometheus/additionalPrometheusRules.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/prometheus/ingress.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/exporters/kube-etcd/endpoints.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/prometheus-operator/cleanup-crds.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/alertmanager/ingress.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/charts/grafana/templates/pvc.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/prometheus/podDisruptionBudget.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/exporters/kube-scheduler/endpoints.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/prometheus/servicemonitors.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/charts/grafana/templates/ingress.yaml" is empty. Skipping.
2019/03/06 20:24:41 info: manifest "prometheus-operator/templates/prometheus/additionalAlertRelabelConfigs.yaml" is empty. Skipping.
[tiller] 2019/03/06 20:24:41 performing install for prometheus-operator
[tiller] 2019/03/06 20:24:41 executing 4 crd-install hooks for prometheus-operator
[tiller] 2019/03/06 20:24:41 deleting crd-install hook alertmanagers.monitoring.coreos.com for release prometheus-operator due to "before-hook-creation" policy
[kube] 2019/03/06 20:24:42 Starting delete for "alertmanagers.monitoring.coreos.com" CustomResourceDefinition
[kube] 2019/03/06 20:24:42 customresourcedefinitions.apiextensions.k8s.io "alertmanagers.monitoring.coreos.com" not found
[kube] 2019/03/06 20:24:42 building resources from manifest
[kube] 2019/03/06 20:24:42 creating 1 resource(s)
[tiller] 2019/03/06 20:24:42 deleting crd-install hook prometheuses.monitoring.coreos.com for release prometheus-operator due to "before-hook-creation" policy
[kube] 2019/03/06 20:24:42 Starting delete for "prometheuses.monitoring.coreos.com" CustomResourceDefinition
[kube] 2019/03/06 20:24:42 customresourcedefinitions.apiextensions.k8s.io "prometheuses.monitoring.coreos.com" not found
[kube] 2019/03/06 20:24:42 building resources from manifest
[kube] 2019/03/06 20:24:42 creating 1 resource(s)
[tiller] 2019/03/06 20:24:42 deleting crd-install hook prometheusrules.monitoring.coreos.com for release prometheus-operator due to "before-hook-creation" policy
[kube] 2019/03/06 20:24:42 Starting delete for "prometheusrules.monitoring.coreos.com" CustomResourceDefinition
[kube] 2019/03/06 20:24:42 customresourcedefinitions.apiextensions.k8s.io "prometheusrules.monitoring.coreos.com" not found
[kube] 2019/03/06 20:24:42 building resources from manifest
[kube] 2019/03/06 20:24:42 creating 1 resource(s)
[tiller] 2019/03/06 20:24:42 deleting crd-install hook servicemonitors.monitoring.coreos.com for release prometheus-operator due to "before-hook-creation" policy
[kube] 2019/03/06 20:24:42 Starting delete for "servicemonitors.monitoring.coreos.com" CustomResourceDefinition
[kube] 2019/03/06 20:24:42 customresourcedefinitions.apiextensions.k8s.io "servicemonitors.monitoring.coreos.com" not found
[kube] 2019/03/06 20:24:42 building resources from manifest
[kube] 2019/03/06 20:24:42 creating 1 resource(s)
[tiller] 2019/03/06 20:24:42 hooks complete for crd-install prometheus-operator
[tiller] 2019/03/06 20:24:42 executing 4 pre-install hooks for prometheus-operator
[tiller] 2019/03/06 20:24:42 hooks complete for pre-install prometheus-operator
[storage] 2019/03/06 20:24:42 getting release history for "prometheus-operator"
[storage] 2019/03/06 20:24:42 creating release "prometheus-operator.v1"
[kube] 2019/03/06 20:24:43 building resources from manifest
[kube] 2019/03/06 20:24:43 creating 102 resource(s)
[tiller] 2019/03/06 20:24:43 warning: Release "prometheus-operator" failed: customresourcedefinitions.apiextensions.k8s.io "alertmanagers.monitoring.coreos.com" already exists
[storage] 2019/03/06 20:24:43 updating release "prometheus-operator.v1"
[tiller] 2019/03/06 20:24:44 failed install perform step: release prometheus-operator failed: customresourcedefinitions.apiextensions.k8s.io "alertmanagers.monitoring.coreos.com" already exists

Finally was able to deploy prometheus-operator after following the steps to uninstall noted below
https://github.com/helm/charts/tree/master/stable/prometheus-operator#uninstalling-the-chart

Need help updating the kubelet port to use https vs http. I used the stable/prometheus-operator as mentioned above but the chart by default thought uses https
monitoring/prometheus-operator-kubelet/0 (0/18 up)

Any help? Getting http://xxxx:10255/metrics: dial tcp xxxx:10255: connect: connection refused
helm install stable/prometheus-operator  --name prometheus-operator --namespace monitoring  --tiller-namespace monitoring

Got it to work.
I had to update servicemonitor (prometheus-operator-kubelet) to use port: https-metrics. Any reason it did not pick up this port when the install was done?
spec:
endpoints:

bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
honorLabels: true
interval: 30s
port: https-metrics
scheme: https
tlsConfig:
caFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
insecureSkipVerify: true
bearerTokenFile: /var/run/secrets/kubernetes.io/serviceaccount/token
honorLabels: true
interval: 30s
path: /metrics/cadvisor
port: https-metrics
scheme: https
tlsConfig:
caFile: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
insecureSkipVerify: true
jobLabel: k8s-app
namespaceSelector:
matchNames:

kube-system
selector:
matchLabels:
k8s-app: kubelet

I am closing issue/question


Support for basic load/store in the interpreter

I think the latest commit (740d52f4c44ebe4f726a326de2ce04da0cc5b60a) addresses the issues you mentioned. There is one issue about default bytes that I need some clarification on. First, my understanding was that the default byte implies that the remaining bytes of the block are uninitialized, thus can be treated as poison. Or does it imply that the remaining bytes are a constant value specified by the 3-tuple [null, nonpoison_mask, value]?


BarcodeScanner.cs Migration Problem

I tried to load the Barcode Scanner solution, but wasn't able to load it because the BarcodeScanner.cs was unsupported. I also get the following message:

BarcodeScanner.csproj: The application which this project type is based on was not found. Please try this link for further information: http://go.microsoft.com/fwlink/?LinkID=299083&projecttype=A5A43C5B-DE2A-4C0C-9213-0A381AF9435A

Any idea how to fix this?

loaded up and works fine for me on windows 10 and vs 2015

Do you have any ideas on what could lead to my issue?

take a look at the csproj file...maybe min supported version problem?

I'm running it on VS 2015 and Windows 10. I don't know what I could be missing

So I did an update on VS 2015, and I am now getting the following error

Windows-universal-samples-master\Samples\BarcodeScanner\cs\BarcodeScanner.csproj : error  : Root element is missing.

I cannot reproduce the problem. Can you do a git checkout -- BarcodeScanner.csproj to make sure your local copy didn't get corrupted? If you still have the problem, share the corrupted BarcodeScanner.csproj file here.


Null check operator used on a null value

I'm getting this exception report in my sentry logs when the user plays a video on Android after having initialised the package in main.dart:
MediaKitVideoPlayer.buildView (package:video_player_media_kit/src/media_kit_video_player.dart:178)
I wonder if it's due to the forced usage of the Videocontroller below? There is a point in my code where i'm disposing of the video controller then creating a new one.
@override
  Widget buildView(int textureId) {
    return Video(
      key: ValueKey(_videoControllers[textureId]!),
      controller: _videoControllers[textureId]!,
      wakelock: false,
      controls: NoVideoControls,
      fill: const Color(0x00000000),
      pauseUponEnteringBackgroundMode: false,
      resumeUponEnteringForegroundMode: false,
    );
  }

May I suggest that we update this to the following?
@override
  Widget buildView(int textureId) {
    final controller = _videoControllers[textureId];
    if (controller == null) {
      // Handle the error gracefully, e.g., show an error widget or a placeholder
      return Center(
        child: Text('Video controller not found for textureId: $textureId'),
      );
    }
    return Video(
      key: ValueKey(controller),
      controller: controller,
      wakelock: false,
      controls: NoVideoControls,
      fill: const Color(0x00000000),
      pauseUponEnteringBackgroundMode: false,
      resumeUponEnteringForegroundMode: false,
    );
  }

I think you can optimize this in your app by ensuring the video player is not disposed of until it is completely out of view. Here's an example implementation:
Code Example:
void initPlayer() {
  // Store the references to the old controller
  VideoPlayerController? oldController = controller;

  // Initialize the new video player controller based on the quality type
  if (_quality.value.isFile) {
    controller = VideoPlayerController.file(
      File(_quality.value.file!.path),
      httpHeaders: _quality.value.httpHeaders ?? {},
    );
  } else {
    controller = VideoPlayerController.networkUrl(
      Uri.parse(_quality.value.url!),
      httpHeaders: _quality.value.httpHeaders ?? {},
    );
  }

  // Update the UI to reflect the new controller
  setState(() {});

  // Dispose of the old controller after the update
  oldController?.dispose();
}


different input and output filenames

Currently, specifying to use name.fet.1 and name.fmask.1 produces name.clu.1 and name.klg.1. Instead, should be able to specify that the algorithm will work with the data in name.fet.1 and name.fmask.1 but produce name2.clu.1 and name2.klg.1. This would avoid the need to duplicate either the fet/fmask or the clu/klg when running a second time on a given dataset.

This isn't too much effort to implement, but I think we'll probably soon switch to primarily using phy on kwik files rather than fet/fmask/clu files. @rossant @nippoo ?

@nsteinme how would you want it to work exactly with phy?

Yep, this is definitely an issue for phy! Thankfully the KWIK format already supports multiple clusterings within the same file, so this could just be from the command-line script:
phy cluster-auto --clustering-name=kk_test_1 myexperiment.kwik or whatever you want to call it.
In fact I think the only change we need to make, is saving the KlustaKwik parameters with the clustering in a notionally read-only way, so you can just create loads of clusterings with a numerical UUID, and distinguish between them using the parameters (i.e. you could imagine a dataset with 100 different clusterings or so, for 3-4 different values of half a dozen different parameters - having loads of .clus would just get really confusing)

@nsteinme would you be happier using fet/fmask/clu or would @nippoo's suggestion work for you?

Or a similar argument to the clustering.run() function - default options run(algorithm='klustakwik2', clustering='main')

I'm definitely on board with the kwik version of this, and the way that Max
described it using the multiple clusterings is the way I was thinking of
it. If we're ready to go with that in the short term, then great, we can
forget this issue and forget the fet/fmask.
On Wed, Jun 10, 2015 at 2:40 PM, Dan Goodman<EMAIL_ADDRESS>wrote:

@nsteinme https://github.com/nsteinme would you be happier using
fet/fmask/clu or would @nippoo https://github.com/nippoo's suggestion
work for you?
—
Reply to this email directly or view it on GitHub
https://github.com/kwikteam/klustakwik2/issues/57#issuecomment-110757710
.

OK, sounds like a plan. Closing this issue.

see https://github.com/kwikteam/phy/issues/333


Add Nested Map Identity Test

@rahulpalamuttam can you verify that birth analysis is now working? If not we can fix any other issues and add tests for it here as well.

It's working!

cool thanks for checking


Support to build llama.cpp with Intel oneMKL

What would be required to build with Intel oneMKL?
It seems this is how avx_vnni instruction set is made available for Intel processors that do not support AVX512.  The Intel Core i9 14900k does not support AVX512.
It also references Intel's publication Optimizing and Running LLaMA2 on Intel CPU
There is also this AVX2 is dimwitted compared to AVX512. How do different builds affect how models perform on Intel CPU?
What if llama.cpp build configuration + quantized models is a double down on poorly performing models?

Intel GPU support is being tracked via #1590
AVX512 (and friends) is tracked via #2205


Update ug for me, find and exit

Okay in the merge conflict I had to fix your conflict with @helloImHai 's update to command summary


TypeCastError when trying to get

Running this
class MenuItem < ActiveRecord::Model
  adapter postgres

  primary(id :: Int)
  field(seq :: Int)
  field(name :: String)
end

MenuItem.get(1)

Gives the following TypeCastError
cast to MenuItem failed (TypeCastError)
[4356167138] *CallStack::unwind:Array(Pointer(Void)) +82
[4356167041] *CallStack#initialize<CallStack>:Array(Pointer(Void)) +17
[4356167000] *CallStack::new:CallStack +40
[4356205665] *Exception@Exception#initialize<TypeCastError, String>:CallStack +33
[4356205597] *TypeCastError#initialize<TypeCastError, String>:CallStack +29
[4356205532] *TypeCastError::new<String>:TypeCastError +92
[4356243251] *MenuItem@ActiveRecord::Model::get<Int32>:MenuItem +163
[4356139493] __crystal_main +26229
[4356148723] main +35

Crystal 0.9.0 (Sun Oct 18 19:49:05 UTC 2015)

That happens in case when record is not found. I assume it tries to cast nil or Model::Null type or something. I think this case is simply not handled currently and there is no spec for that.
So what do you think is the expected behavior, when get(id) can't find the record with such id? The options I see:

raise specific error (like ruby's AR does),
return MenuItem::Null object, which is already defined for each model.

@waterlink I think raising a specific error like AR is good :+1:
Something like
ActiveRecord::RecordNotFound: Couldn't find MenuItem with 'id'=1

Meanwhile if you guide me i can try to implement this

Look at this method: https://github.com/waterlink/active_record.cr/blob/master/src/model.cr#L191-L193
You will see that it first calls to adapter's #get and then passes the result to #build and then typecasts to self.
Currently:

adapter's #get returns nil when record is not found
#build(fields : Hash) - builds correct model instance
#build(fields : Nil) - returns YourModel::Null instance

What you want is to make either #build(fields : Nil) or #get before calling to #build fail with this error. Since #build is used only from #get - it should be safe to raise from #build(fields : Nil). Additionally there is a chance YourModel::Null can be removed now?

And of course don't forget to create a test for that ;)

Thanks for the info :+1: I'll try to solve this

All core tests are currently in spec/active_record_spec.cr - those act as acceptance tests for adapters.

Meanwhile is there anything like this in Crystal. I'm trying to test if it raises
Person.get(person.id).should raise_error

Meanwhile i've seen this https://github.com/waterlink/spec2.cr/blob/8b438c18c03f1074027179106e7876a7c56fdcba/spec/matchers_spec.cr#L36-L41

expect_raises(ActiveRecord::RecordNotFoundError, "Couldn't find MenuItem with 'id'=7892") do
  Person.get(person.id)
end

Meanwhile i've seen this https://github.com/waterlink/spec2.cr/blob/8b438c18c03f1074027179106e7876a7c56fdcba/spec/matchers_spec.cr#L36-L41

Yeah, this is my spec2. I will soon start converting my projects to it :)

It looks great :+1: Feels like more rspecish :100:


Added Splay tree creation and insertion program.

Added a program for Splay Tree insertion. Let me know your thoughts once you get a chance.

Awesome! I'm at a Hackathon today but I will have a look soon!

Overall the code is very good and easy to follow, well done. I added some tests which are currently failing because something is wrong I'm not sure what. I added a shell script called 'test_splay_tree.sh' which you can use to run TestSplayTest.java in the new tests/ folder.
Question: Does this implementation support multiple keys with the same value? I don't feel like it should but I may be wrong.
Request: Can you also add an isEmpty() method and a size() method so that we can track the number of the elements inside the splay tree.
Optional request: Right now we can insert items into the splay tree and verify their existence within the splay tree, is there a way to remove elements?

I will work on the first request and deliver it in some time. About the optional request, i don't have a clear idea how it can be achieved. I will work on it sometime later.

I've got a pretty good idea on how to do removals so I can handle that once the insertion algorithm is fixed. The basic idea is to first check if the item is in the splay tree using the contains method, then perform a splay operation to move the node you wanna remove the top, then remove it, and finally merge the two subtrees which are leftover with a join operation. It's a bit of work, but I can probably manage.

Added three separate methods.

I slightly changed the project structure (the build system in particular). Make such to have a glace at the new README when you have a chance.

I went through it. I will run the tests and update you.

Hi William. The gradle build is failing at  data-structures/Utils/TreePrinter.java Line 75 and 77 because of the unicode chars. I am not able to ignore that file because classes are dependent on it. What do you suggest?

@Braj65 can you share your error, java version, and OS? Also, make sure you've synced to head when working on a branch i've made that mistakes a few times.
The splaytree class is shaping up pretty good. Can you add tests for duplicate values? Make a judgment call for whether or not this implementation should handle that. In other implementations I have tended to avoid duplicate values because they cause issues.

@williamfiset
i) My forked branch is in sync and updated to upstream master branch- git fetch upstream, git pull upstream master
ii) I am running gradle build on the master without any of my changes. Below is sample error message-
\Utils\TreePrinter.java:91: error: unmappable character for encoding Cp1252
System.out.print(j % 2 == 0 ? "┌" : "▒?");
^
Utils\TreePrinter.java:75: error: unclosed character literal
c = (line.get(j) != null) ? '┴' : '┘';
^
\Utils\TreePrinter.java:77: error: unclosed character literal
if (j < line.size() && line.get(j) != null) c = '└';
^
Utils\TreePrinter.java:77: error: ';' expected
if (j < line.size() && line.get(j) != null) c = '└';
I will make the suggested changes to SplayTree.


Custom command line options for custom renderer

adds the ability to transmit custom command line options for custom renderer
For example:
phpmd --custom-pretty-json 1 path-to-source JsonRenderer codesize,unusedcode,naming
Then in custom renderer we can get these options in costructor and then use them in renderReport function, for example:
class JsonRenderer extends AbstractRenderer
{
    /**
     * Custom command line options
     *
     * @var array
     */
    protected $options = [];

    public function __construct($options)
    {
        $this->options = $options;
    }

    /**
     * This method will be called when the engine has finished the source analysis
     * phase.
     *
     * @param \PHPMD\Report $report
     * @return void
     */
    public function renderReport(Report $report)
    {
        ...
        $options = 0;
        if (isset($this->options['pretty-json']) && (int)$this->options['pretty-json'] === 1) {
            $options = JSON_PRETTY_PRINT;
        }
        ...
    }
}

Full example can see here

I still think since these optons are for renderers only, the CLI parameter should be named --render-options or something that line...
@dnolbon are you still interested in pursuing this?


0.8.0 breaks svg sprite

The change in 0.8.0 to use url-loader with limit 10k as a default loader breaks my svg sprite system.
The svg sprite system works like this: I put all my svgs in one folder, run svg-sprite to generate svg sprite (which is below 10k), then I have a custom Icon component in which I import the svg sprite and load the apropriate icon using fragment identifiers
Icon Component:
import React, { PropTypes } from 'react'
import svgSprite from '../img/symbol/sprite.svg'

function Icon({ name }) {
  return (
    <svg>
      <use xlinkHref={`${svgSprite}#${name}`} />
    </svg>
  )
}

Any idea how to fix this besides just adding more svgs to the sprite until it is bigger than 10k?

Do fragments break with base64 URLs?

Or do you rather mean that it's unfortunate sprites get duplicated?
If this is the case I think we should disable inlining for SVG. After all the user could've put it directly into components if they wanted to inline it.

Fragments break with base64.
Also like you said it's unfortunate that we can't leverage caching and that we inline the whole sprite everywhere an icon is used.
Disabling inlining for SVG would solve the issue.
I'm going to research a bit svg sprite systems and see if there are other reasonable possibilities besides fragment identifiers.

Would you like to make a PR for a special case for SVG?

Sure, I'll be glad to make a PR

Fixed by #1180.

Is there a Option to re-activate base64 import for SVGs? I'm using SVGs in my CSS and i don't like the workflow of manually transforming it to base64 first.


Unable to send trajectories after switch to Manual mode

ROS Kinetic
Ubuntu 16.04
UR10e robot
When the robot is set to Manual mode and then back to Remote mode with the teach pendant, ROS states that it is reconnected to the robot, but new trajectories are not received and executed anymore. ROS is stuck at "Uploading trajectory program to robot". How can I fix this?

[ INFO] [1555396555.040235408]: Received request to compute Cartesian path
[ INFO] [1555396555.042064984]: Attempting to follow 5 waypoints for link 'ee_link' using a step of 0.010000 m and jump threshold 10.000000 (in global reference frame)
[ INFO] [1555396555.132936089]: Computed Cartesian path with 67 points (followed 100.000000% of requested trajectory)
[ INFO] [1555396555.190454640]: Received new trajectory execution service request...
[ INFO] [1555396555.207087763]: Received new goal
[ INFO] [1555396555.207201327]: Trajectory received and accepted
[ INFO] [1555396555.207331660]: Translating trajectory
[ INFO] [1555396555.207396334]: Executing trajectory with 67 points and duration of 2.806s
[ INFO] [1555396555.207451057]: Attempting to start follower 0x268f0c0
[ INFO] [1555396555.207500532]: Uploading trajectory program to robot
[ INFO] [1555396558.018604466]: Trajectory executed successfully
[ INFO] [1555396558.043807630]: Completed trajectory execution with status SUCCEEDED ...
[ INFO] [1555396558.044715104]: Execution completed: SUCCEEDED
[ WARN] [1555396560.375096315]: Failed to read from stream, reconnecting in 1 seconds...
[ WARN] [1555396560.446421442]: Failed to read from stream, reconnecting in 1 seconds...
[ WARN] [1555396561.375202499]: Failed to read from stream, reconnecting in 2 seconds...
[ WARN] [1555396561.446534172]: Failed to read from stream, reconnecting in 2 seconds...
[ INFO] [1555396563.375755141]: Setting up connection: <IP_ADDRESS>:30003
[ INFO] [1555396563.376089679]: Connection established for <IP_ADDRESS>:30003
[ INFO] [1555396563.446775643]: Setting up connection: <IP_ADDRESS>:30002
[ INFO] [1555396563.447207264]: Connection established for <IP_ADDRESS>:30002
[ INFO] [1555396571.029808722]: Received request to compute Cartesian path
[ INFO] [1555396571.029945972]: Attempting to follow 5 waypoints for link 'ee_link' using a step of 0.010000 m and jump threshold 10.000000 (in global reference frame)
[ INFO] [1555396571.149077895]: Computed Cartesian path with 68 points (followed 100.000000% of requested trajectory)
[ INFO] [1555396571.176511582]: Received new trajectory execution service request...
[ INFO] [1555396571.195561523]: Received new goal
[ INFO] [1555396571.195650517]: Trajectory received and accepted
[ INFO] [1555396571.195705772]: Translating trajectory
[ INFO] [1555396571.195734215]: Executing trajectory with 68 points and duration of 2.619s
[ INFO] [1555396571.195753971]: Attempting to start follower 0x268f0c0
[ INFO] [1555396571.195770715]: Uploading trajectory program to robot

Which version of the driver are you using? And how are you starting it (e.g. "default", ros_control, low bandwidth mode)?
The issue is likely that even if the data streams coming from the robot are re-connected, the URScript program that's uploaded to the robot in order to control it has been stopped when switching to manual mode and is not re-uploaded/started when switching back to remote mode.
If you're using the ros_control mode, re-uploading can be triggered by stopping and starting the controller back. Otherwise, I think your only option is to kill the driver and start it again.
In theory, we could try to detect this situation and upload the program again automatically, but I don't think I'll have much time to look into this in the following weeks. PRs are welcome.

I'm going to close this due to inactivity.


Test on Python 3.10

I think we should stop using nose, as it is not maintained anymore.

We need to update the vm to use Python 10

Done! Downloaded and compiled Python 3.10.11.


Possibility for privacy-first hardened version?

Describe the package
This would be rather complex and may need to be dealt with upstream

maintain up to date hardened kernel rpm (COPR?)
hardened malloc rpm (COPR)
a minimal image
security aspects similar to GrapheneOS (?)
automatic background updates for rpm, firmware and flatpak
hardened systemd-resolved
...

There is (again) a new continued COPR repo containing both RPMs.
Information on the package
.
Image
All Images

Cool project for sure! Let's start by getting them in https://github.com/ublue-os/awesome-custom-images

This is out of scope for us though!


Exceptions error pushing through DOCTEST_CONFIG_DISABLE

Description
Disabled exceptions error shown even with global DOCTEST_CONFIG_DISABLE flag:
error: static assertion failed: Exceptions are disabled! Use DOCTEST_CONFIG_NO_EXCEPTIONS_BUT_WITH_ALL_ASSERTS if you want to compile with exceptions disabled.
I expected to have everything test-related to be "removed" with the global disable flag.
But instead I had to use 2 global flags to make it work:
-D DOCTEST_CONFIG_DISABLE -D DOCTEST_CONFIG_NO_EXCEPTIONS_BUT_WITH_ALL_ASSERTS
DOCTEST_CONFIG_NO_EXCEPTIONS also didn't help.

doctest version: v2.4.11
Operating System: Windows 11
Compiler+version: xtensa-esp32 8.4.0+2021r2-patch5

@pa0los Please provide a minimal reproducible example showing the failing code, and the command to compile the program that gives you errors.


Fix TypeError raised by FileSystem.get()

Reproduce
import fsspec
fs = fsspec.filesystem("s3")
fs.get("s3://my_bucket/data.zarr/**", "data.zarr", recursive=True)

will cause
  ...
    fs.get(from_path, to_path, recursive=recursive)
  File ".../lib/site-packages/fsspec/asyn.py", line 278, in get
    rpaths = self.expand_path(rpath, recursive=recursive)
  File ".../lib/site-packages/fsspec/spec.py", line 779, in expand_path
    out = self.expand_path([path], recursive, maxdepth)
  File ".../lib/site-packages/fsspec/spec.py", line 788, in expand_path
    out += self.expand_path(p)
TypeError: unsupported operand type(s) for +=: 'set' and 'list'

Oops, I was overhasty. This is same as PR #459, which even has tests.

The little change here is definitely useful, and that test it enough (it could be done on FTP/memory here, or included in s3fs).
However, if #459 also fixes this, then lets make sure to push that over the line - it's already been sitting a while.


how to deploy this on your own website.

i give a try to upload this code on my website but it shows loading no login page.

I'm not sure what do you mean by "try to upload this code on my website", can you provide some more details?
To use the app – clone the expense sheet, visit: https://mitul45.github.io/expense-manager/, and log in with your Google account.

I'm trying to host this repository on my website. Just for personal use. So what I've done to host this repo on my site.

I just cloned this repo.
changed the CLIENT_ID from init.js and put my own Google Sheets client ID
No login button appears. Just showing loading gif

I just wanna know that can i host this (https://mitul45.github.io/expense-manager/)[https://mitul45.github.io/expense-manager/] on my website too ?

Ideally, that should be sufficient, are you getting any errors on the console?

Failed to load ‘https://www.google-analytics.com/analytics.js’. A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with ‘TypeError: NetworkError when attempting to fetch resource.’.

i think problem is here.

What's the command to build the project? Where is the output to upload on my host?
I changed CLIENT_ID in init.js and start index.html, but I've the same issue of others users.

Hey everyone, sorry for the long delay in response.
So as I understand, you want to deploy this to some other static server, right? It should be doable by just copying everything from here and changing the CLIENT_ID in init.js. There is no build step it's all vanilla HTML/JS/CSS.
@nk932714 where did you get CLIENT_ID from?

@mitul45 It's ok, it's working
@wasi0013 have you add your hosting site in your allowed list for your project? You can do in google developer console. Also remember to add API to google Drive

@cirio @mitul45

Can you please explain about CLIENT_ID, Where i can get that if it is not Sheet ID
Where to add API to Google Drive ?
What do you mean - "add your hosting site in your allowed list for your project"

@MeenachiSundaram :

You can find CLIENT_ID in your google developer console. After creating a project, on the credential panel, you can take a new client id  (LINK)

At the same place, in your google developer console. On the API & service tab, you can add a Google Sheets API and Google Drive API.

You can use Github or your custom domain as a hosting for your web site, so you need to add a new whished domain. (LINK)

let me know if I can help you


Station chosen!

We, G1, are planning to choose "Sand Island, Midway, United States (MID)" station. What about you guys?

Great! Thanks for letting us know.

We have chosen https://gml.noaa.gov/aftp/data/trace_gases/co2/flask/surface/txt/co2_avi_surface-flask_1_ccgg_month.txt


Fix fetching github repos state

Description

This Pr fixes the state management when fetching github repos on the new team flow
What type of PR is this? (check all applicable)

[ ] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Checklist:

[ ] My code follows the code style of this project.
[ ] I have updated the documentation accordingly.

[optional] Are there any post-deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?

Looks good


fix(csr): add support non-register interrupts pending

This PR adds support for non-register interrupts pending to copy the interrupt to NEMU.
The interrupts come from Count overflow and Platform-Level Interrupt Controller such as PLIC, CLINT, IMSIC.
Thus, we could diff xip csr registers from XiangShan and NEMU.

@poemonsense For failed CI, should I add supoort in NutShell and Rocket-chip?

@poemonsense For failed CI, should I add supoort in NutShell and Rocket-chip?

There's no need. You should wrap the code under macros. Then there will not be any errors.


unnecessary Send+Sync requirement on framebuffer of AutoCommandBufferBuilder::begin_render_pass

This an issue currently blocking Vulkano support in rust-SDL2 https://github.com/Rust-SDL2/rust-sdl2/pull/785.
The current implementation of  vulkano::command_buffer::AutoCommandBufferBuilder::begin_render_pass (and possibly others) requires framebuffer to be Send+Sync. This in turn requires vulkano::swapchain::Surface<W> to also be Send+Sync. Unfortunately rust-SDL2 has the requirement that it's windows cannot be sent between threads, and thus cannot be stored in a Surface<W>.
Is there any way of removing the Send+Sync requirement of W in  Surface<W>?

Just out of curiosity I downloaded the code, and removed Send + Sync as a requirement from AutoCommandBufferBuilder::begin_render_pass, and then continued to remove it from various pieces of code until it compiled successfully again. I don't know if this proves that these traits aren't really necessary, but it's a good indication.

Is there any news on this? The people at SDL are wondering if SDL is safe to use with Vulkan. Vulkano is forcing unsafe usage.

I wish I could help here but I have no idea about this kind of thing and my attention is currently on other issues ¯_(ツ)_/¯

Getting bit by this a few years later. :)

This is currently blocking me from using vulkano in my engine.

@cosmicchipsocket, @hammypants I sent a message to @AustinJ235 (current maintainer) by email. Hope we can resolve the issue soon.

I am using the workaround mentioned in https://github.com/Rust-SDL2/rust-sdl2/pull/785 but it involves unsafe code.

@cosmicchipsocket Can you please show an example of your code or a snippet of how you currently use it(in unsafe way)?

@Eliah-Lakhin The code is from here: https://github.com/SamP20/HelloTriangle
Basically the window context is wrapped in a stub implementation of Send + Sync so using it on the wrong thread causes a panic.
Most interface libraries only support UI-related code on the main thread so I don't understand why vulkano makes Send + Sync a requirement here.

@cosmicchipsocket If we remove a requirement of W to be Send+Sync then the Surface itself will not be Send+Sync too(if I not mistaken), and as such a lot of stuff becoming single-threaded too which is contradicting Vulkan design itself which is distinct from a main-threaded OpenGL for example. I agree that the most of the windowing libraries are still single-threaded, but we shouldn't limit Vulkano because of that which is a general-purpose Vulkan wrapper, I think.
Well, this is just my personal point of view. But I agree that this feature makes SDL hard to use in a pure safe way. Probably it would be a good idea to implement an independent crate that will wrap the approach providing in that example, but managing the Surface destruction in a main thread only somehow(i.e. through the Weak references).

I did do some looking into at one point. I believe a couple years ago vulkano didn't have this requirement. Not sure though.
Get BlueMail for Android
On Sep 28, 2020, 5:35 PM, at 5:35 PM, Ilya Lakhin<EMAIL_ADDRESS>wrote:

@cosmicchipsocket If we remove a requirement of W to be Send+Sync
then the Surface itself will not be Send+Sync too(if I not mistaken),
and as such a lot of stuff becoming single-threaded too which is
contradicting Vulkan design itself which is distinct from a
main-threaded OpenGL for example. I agree that the most of the
windowing libraries are still single-threaded, but we shouldn't limit
Vulkano because of that which is a general-purpose Vulkan wrapper, I
think.
Well, this is just my personal point of view. But I agree that this
feature makes SDL hard to use in a pure safe way. Probably it would be
a good idea to implement an independent crate that will wrap the
approach providing in that example, but managing the Surface
destruction in a main thread only somehow(i.e. through the Weak
references).
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/vulkano-rs/vulkano/issues/994#issuecomment-700319296

The requirement is that W isn't dropped before Surface. That can be achieved, as is currently, by making the latter a member of the former. But there's other ways to achieve it as well.
A possibility I thought of is to have a non-thread-safe owning wrapper around W that contains an atomic variable. A reference to the variable gets passed to Surface and incremented when it is constructed and decremented when it's dropped. When the wrapper is dropped, it checks the atomic and if it's not zero, it blocks the thread waiting for it. Only after that is W dropped. True, it will indefinitely block your main thread if you destroy them in the wrong order, but it removes the unsafety.

That can be achieved, as is currently, by making the latter a member of the former. But there's other ways to achieve it as well

@Rua Can you work on this feature?

The Framebuffer trait is now gone and replaced by a single concrete type, so this is no longer relevant I think.


Wrong Model List

LocalAI version:
I am using the docker image from dockerhub localai/localai:lastest-cp but I don't think it matters.
Environment, CPU architecture, OS, and Version:
Linux archserver 6.6.49-1-lts #1 SMP PREEMPT_DYNAMIC Wed, 04 Sep 2024 13:18:51 +0000 x86_64 GNU/Linux
Describe the bug
Models are appearing where they shouldn't be in "Select Model". For example, a text model is showing up in TTS, Image Generation, and Talk.

To Reproduce

Install a text model.
Go to TTS tab.
Click "Select Model" combo box.
Text model available there.

Expected behavior
Text models should only appear in the "Chat" tab and vice versa for other models.
Logs
N/A
Additional context
N/A

I may not be remembering correctly, but I don't believe we currently filter these lists. I have a PR pending review that will add a heuristic function able to guess which use cases are appropriate for each dropdown.
Please note that this pr doesn't actually extend support to changing these dropdowns yet, as I'd like to run a few tests and experiments once the unit test is merged first.
I'll punch in a quick cli command to exercise the functionality in case others are able to help test the functionality against different model configurations to speed this along

we don't filter by model category yet - but this is something in our radar and that should be addressed at some point


Introduce a new setting to disallow half-day absences, fixes #1870

closes #1870
This PR introduces a new setting to disallow making new applications for half-day absences, as requested in #1870

What should we do when a application was requested with a half day and after the request the property is set to false, can the application be edited at this point?

What should we do when a application was requested with a half day and after the request the property is set to false, can the application be edited at this point?

Yes, it can be edited, but it runs through the normal validator (which will show the appropriate error message), so you will have to change to full day in order to save.

We close this forked pr in favor of #1942 so we have sonar analysis. Thanks for your contribution @thiloplanz


Updating an existing user that is online throws an error

If you first grab a user record like so:
filter := map[string]interface{}{
    "id": "<user id>",
}
users, usersErr := streamClient.QueryUsers(&stream.QueryOption{
    Filter: filter,
    Limit:  1,
})

Then modify the user and attempt to save it, like ..
streamUser.Image = "<photo url>"
_, streamUpdateErr := streamClient.UpdateUser(streamUser)

It will fail with the following error:
chat-client: HTTP POST https://chat-us-east-1.stream-io-api.com/users?api_key=<secret> status 400 Bad Request: {\"code\":4,\"message\":\"UpdateUsers failed with error: \\\"users[<userid>].online is a reserved field\\\"\",\"exception_fields\":{\"users[<userid>].online\":\"users[<userid>].online is a reserved field\"}

It seems like if that is reserved, it should be omitted?

@lukef even if error is clear, SDK definitely should help more here.

@ferhatelmas absolutely. The issue, primarily, is that there is no way to strip out anything "reserved" or to know what is actually reserved if you're just trying to update an existing record after fetching it. i.e.:

Get User
Update user model
Re-Save user

In that scenario, it will contain the entire user record and any attributes / values that may/may not be reserved.
It might be useful to have an update struct to differentiate between a user and what the API requires. e.g.:
type UserUpdateOptions struct {
  // allowed values here
}

This way you can create a set of "safe" options that can be updated.

@lukef It's clear, not convenient in this flow.
Your suggestion sounds reasonable at first but we already have a partial update and it's in that direction so if a client knows what to (un)set, it's the preferred way to accomplish that.
In the example flow, anything reserved should be filtered automatically or to save some work from SDKs, server can ignore them.