Simon/82 departure marker

AB#82
currently back-end won't return lat and lng for departure airport, so hardcoded sydney for now.

straight away no hardcoded departure. we are passed that moment now.

how could I do that when back-end doesn't provide the values I need? use env?

you should’ve raised this issue in dev channel and created a separate card because there’s a blocker for you. we had standup of wednesday this is i where you raise your blockers

now looks like this

Why is it in the middle of the sea?? Do not use standard Google's marker. We need to have custom nice one, with City name inside preferably.

Do not use props object from priceTagMarker. it never has a price and many other attributes.

In File changed tab I and Dimi want to see changes related ONLY to this PBI (exclude all other formatting changes)


Operations Engineering Environment

Environment details
This environment will be used to carry out any PoC work for the Operations Engineering Team
Application Name
Operations Engineering PoC

Github team slug
operations-engineering

Environments

[x] Development
[ ] Test
[ ] Preproduction
[ ] Production

Tags

tag
value

application
Operations Engineering PoC

business-unit
Platforms

owner
Operations Engineering

Networking options
Connectivity

Additional features

[ ] Bastion
[ ] Additional VPC Endpoints
[ ] Extended DNS Zones

Other information

New env PR : #716
New env files core: #727
New env files member: https://github.com/ministryofjustice/modernisation-platform-environments/pull/31
Networking: #728
Sorry for the delay on this, the environment has been created but we've had issues with Github actions over the last few days so we are still waiting on the networking workflow to complete (#728). Once that's done the account will be ready.
Terraform bootstrap files for the environment are here - https://github.com/ministryofjustice/modernisation-platform-environments/tree/main/terraform/environments/ops-engineering

This is complete, once we have the CI/CD working (https://github.com/ministryofjustice/modernisation-platform/issues?q=is%3Aopen+is%3Aissue+label%3A"Member+CI%2FCD") we'll talk Operations Engineering through the workflow.


Heroku-cli Syntax error

When running any of the heroku commands ie; heroku status, heroku git:clone, etc
I get this log
(precise)wjzhou@localhost:~$ heroku git:clone -a wecycle-webapp
Installing Heroku Toolbelt v4... done
/home/wjzhou/.heroku/heroku-cli: 1: /home/wjzhou/.heroku/heroku-cli: Syntax error: "(" unexpected
/home/wjzhou/.heroku/heroku-cli: 1: /home/wjzhou/.heroku/heroku-cli: Syntax error: "(" unexpected
/home/wjzhou/.heroku/heroku-cli: 1: /home/wjzhou/.heroku/heroku-cli: Syntax error: "(" unexpected
and then when I type "heroku status"
The following displays:
heroku-toolbelt/3.37.1 (armv7l-linux-eabihf) ruby/2.2.2
You have no installed plugins.
Description: Ubuntu 14.04.2 LTS
I'm not sure if this is an error on my part, but I've tried reinstalling heroku and ruby several times. Any help would be awesome

Not alone. I've uninstalled, tried removing .heroku, several times over. It successfully installs Heroku Toolbelt v3.37.2...

It's my local development environment, my computer is an arm computer

I'm able to reproduce this using a scaleway server (took me a while to find a cloud host that had arm). This uses new code written in Go I probably need to setup to cross-compile to arm. Updates soon.

can you update and try again? you may need to delete ~/.heroku/heroku-cli

Hi, I deleted the CLI, reinstalled heroku via the wget, and while trying to clone, I once again ran into the same bug.
Were you able to get it working on your end? Let me know if you want me to test anything for you. I'll also try to completely uninstall heroku again, so if it works I'll post here, but I have a feeling it won't

Completely uninstalling and reinstalling did work in my case, kind of. I got hit by io.js needing a newer version of libc6, but I'd be guessing that's another kettle of fish.
In sum, removing ~/.heroku, and apt-get remove heroku together, and then running wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh did seem to successfully run.

Oh man, this is bizzare then
I "believe" that I have completely uninstalled heroku through several different ways including the way shown here and from above
https://devcenter.heroku.com/articles/heroku-command
I have then reinstalled from the wget but still having the same syntax error from earlier when running "heroku status"

maybe you forgot to do apt-get update?

you should be on 3.37.3

Unfortunately still no luck
However, I'm not sure if this is normal, but during reinstallation, this came up in the log
update-rc.d: warning: default stop runlevel arguments (0 1 6) do not match rsync Default-Stop values (none)
System start/stop links for /etc/init.d/rsync already exist.
runlevel:/var/run/utmp: No such file or directory
Here's my version info
(precise)user@localhost:~$ heroku version
/home/user/.heroku/heroku-cli: 1: /home/user/.heroku/heroku-cli: Syntax error: "(" unexpected
error loading plugin commands
heroku-toolbelt/3.37.3 (armv7l-linux-eabihf) ruby/2.2.2
You have no installed plugins.

I realize you have probably already done this, but could you delete /home/user/.heroku/heroku-cli one last time and retry? (I'm wondering if there was some versions of of sync)
If that doesn't work, can you show me the output of:
$ ruby -e "p RbConfig::CONFIG['host_cpu']"
$ ruby -e "p RbConfig::CONFIG['host_os']"

I don't think that rsync issue is related at all btw

No money man, deleted it,  then tried a reinstall again. Sorry it's been such a hassle to take care of, do you think it could be something on my end? Ie: ruby is having something funny going on? Let me know if you need anything else
Here are the logs provided below
(precise)user@localhost:~$ ruby -e "p RbConfig::CONFIG['host_cpu']"
"armv7l"
(precise)user@localhost:~$ ruby -e "p RbConfig::CONFIG['host_os']"
"linux-gnueabihf"

ah I see the issue. On the arm box I was testing it returned arm for the host cpu, but yours is armv7l. Fix incoming.

#1597

fixed in 3.37.4

have you had a chance to test it @arenoth?

Hey @dickeyxxx
I just got a chance to run heroku status
Setting up heroku-toolbelt (3.37.5) ...
(precise)user@localhost:~$ heroku status
Installing Heroku Toolbelt v4... done
Installing plugin heroku-status... done
=== Heroku Status
Production:   No known issues at this time.
Development:  No known issues at this time.
Looks all good to me, I'll repost if I run into any other issues with heroku
Thanks so much for the fix I appreciate it

great!


feat: adding pre loader

A pre loader is an essential interface element that appears on a web page while its content is being loaded
I would like to add pre loader to make the web page more interactive

Please assign me this issue under GSSOC.

@khushi-joshi-05  please assign this to me i am GSSOC'24 contributor with 2+ years of experience in development


Updates service to latest v3 runtime and clean-up in AzConfigClient

Removing static factory methods from AzConfigClient and ApplicationConfigCredentials
Moves all of the Swagger REST API calls into its own class.
Adds PipelineOptions to AzConfigClient so that users can specify a custom HttpClient or additional policies.

Next PR, I'll rename these classes to match the ones in .NET and the API spec. Doing a lot of code churn in addition to renames makes it hard for git to follow.

Can one of the admins verify this patch?


[PORT] Replace null check with string.IsNullOrWhiteSpace()

Port this change from botbuilder-dotnet/master branch:
https://github.com/microsoft/botbuilder-dotnet/pull/3717

This fixes issue #3590, by returning MicrosoftAppCredentials.Empty when AppId is set to null or empty spaces.
Changed projects

Microsoft.Bot.Builder
integration

Not applicable to JS repo.


Qulture.Rocks

Thank you for the PR @0xrishabh

Right @0xrishabh, we've listed it in the readme as well.

Our backend only accepts TLD as input in the domains field, so please do not add subdomains or URLs in domain field.


PMID:35811551  qualitative level

loading: /var/pomcur/sources/pombe-embl/external_data/Quantitative_gene_expression_data/Esposito_RNA_PMID_35811551_quantitive.txt
skipping this annotation:
SPBC3D6.04c mad1 RNA during(GO:0072690) 2-3.3  ECO:0005518 single_cell FYECO:0000126,FYECO:0000005 PMID:35811551 4896 2023-06-29
because copies per cell must be a positive floating point number with an optional '>' or '<' at the start
So this row is failing
SPBC3D6.04c	mad1	RNA	during(GO:0072690)	2-3.3		ECO:0005518	single_cell	"FYECO:0000126,FYECO:0000005"	PMID:35811551	4896	2023-06-29
(indicates a range, can the hyphen be allowed)
I think range is allowed  if integers are used, because I used it earlier on this session before the numbers were refined and it appeared OK

Also,
even though this session was assigned to Silke,
https://curation.pombase.org/pombe/search/type/all_publications?model=track&search-term=PMID%3A35811551&submit=search
It appears in the "pombase curated" list, not the community curated list

It appears in the "pombase curated" list, not the community curated list
it is possible this is becasue it wasn't approved, I'm not sure ...will check tomorrow.

Nope it is still "PomBase curated" even though Silke is the assigned curator.
Because there is no curation in the actual session (it's either in contigs or external files), I can probably fix it by deleting and creating a new session, but it would be good to know why.

Because there is no curation in the actual session (it's either in contigs or external files), I can probably fix it by deleting and creating a new session, but it would be good to know why.

The current algorithm is that if a session has any community annotations then it counts as a community session, otherwise it's an admin session.  We made that change because sometimes sessions are assigned to a community member but they never do any annotation.
This change happened for issue pombase/canto#2594

Right. Silke is in the header of the external file. Does that get taken into account?
It might not be formatted correctly. I could add her ORCID.

The headers aren't processed yet.

Ah got it. I see others are attribute to PomBAse when they were really submitted by community
PMID:23101633
This will be good for community curation stats.
We should add these to the paper count (It might increase the percentage quite a bit), but because these are HTP we  woudl not want to include them in the
Canto curator summary table here:
https://curation.pombase.org/pombe/stats/annotation
only in the "response rate"
so we should make it clear the table is only Canto/low throughput)

so we should make it clear the table is only Canto/low throughput

Unfortunately, the response rate in the Canto stats is calculated differently to how we decide if a paper is community curated on the main site.
The response rate on the Canto stats page includes all sessions that have a community curator as the most recent curator and ignores the number of community annotations (which could be none).
The web site will only say a paper is community curated if there is at least one annotation by a community curator.
I think the web site algorithm is probably more precise.

I see others are attribute to PomBAse when they were really submitted by community
PMID:23101633

That one is included in the response rate calculation.  PMID:35811551 is too.

OK, so the stats are correct and only action is to get these to appear in the community curated feed with the author rather than "pombase curated" somehow?
We have the info, just not from Canto.
Is that possible easily? Maybe there is already a ticket for this?

OK, so the stats are correct and only action is to get these to appear in the community curated feed with the author rather than "pombase curated" somehow?

I don't think the Canto stats page is correct.  Currently, sessions assigned to a community curator where they did no annotation are counted as community sessions in the response rate calculation.  Here's the issue about the changes on the website site to handle that: https://github.com/pombase/canto/issues/2594
Let's chat about this tomorrow.  It's a bit complicated.

Can we allow range 2-3.3 in this colunm (I think range is allowed in some circumstances)

The display as "community curated" part will be covered by
https://github.com/pombase/pombase-chado/issues/886
The range part is because it is in the wrong column.


Fix typo: channelCoundMode -> channelCountMode on AudioNode

not sure if it was intentional but I like the term "typeo" in your branch name, to refer to a typo in a type :)


repeatWhen completes() subscriber immediately when notifier completes()

RxJS version: 5.0.0-rc.1
Code to reproduce:
Rx.Observable.interval(500)
    .take(3)
    .repeatWhen(attempts => attempts.delay(1000).take(1))
    .subscribe(
        x => console.log('Next: %s', x),
        err => console.log('Error: %s', err),
        () => console.log('Completed')
    );

Expected behavior:
Next: 0
Next: 1
Next: 2
//waits 1 second
Next: 0
Next: 1
Next: 2
Completed

Actual behavior:
Next: 0
Next: 1
Next: 2
//waits 1 second
Completed

Additional information:
RxJS 4 matches the expected behavior

Confirmed. This behavior differs from v4, not immediately clear whether that's from intentional changes or a bug.
Here's a demo comparing v4 to v5: http://jsbin.com/zehuqo/edit?html,js,output
While I certainly could be wrong, but it appears the difference in implementation is that v5 will complete() the source right when the notifier observable completes, even if it was in the middle of doing something. Whereas when v4 retryWhen receives a complete() from the notifier, it seems to let the source finish gracefully.
So in the presented example what is happening is that your notifier says to take(1), which means it will resubscribe to the source, then immediately complete the downstream subscriber. Meaning it repeats the source synchronously and then also synchronously completes the downstream subscriber. So since the topmost source is an interval, there's nothing for it to emit in time, because it schedules for 1000 in the future. However, if the source emits things synchronously (no async scheduling) then indeed it will emit them before retryWhen gets a chance to complete()
What I'm talking about can be demo'd by sources which do not schedule async:
http://jsbin.com/caxiso/edit?html,js,output
Observable.of(1, 2, 3)
  .repeatWhen(attempts =>
    attempts
      .delay(1000)
      .take(1)
  )
  .subscribe(
    x => console.log('Next: %s', x),
    err => console.log('Error: %s', err),
    () => {
      console.log('Completed');
    }
  );

Next: 1
Next: 2
Next: 3
//waits 1 second
Next: 1
Next: 2
Next: 3
Completed

(both v4 and v5 produce the same behavior for that demo)
Which behavior is "right" and expected? I can see people wanting either, depending on use cases. Either behavior we choose it probably should be documented more clearly. My gut tells me the v4 behavior is more intuitive for the most common cases.

I have got similar bug with code (v5):
let obs = Rx.Observable.create(observer => {
    observer.next(1);
    observer.next(2);
});
obs.subscribe({
    next: x => console.log(`got ${x}`),
    error: err => console.log('error: ', err),
    complete: console.log('complete')
});

and response:
complete
got 1
got 2

@slavugan your code logs complete because you're not actually passing a function,  you're calling console.log immediately. Looks like a typo.

@jayphelps you are right, it's a typo, I have forgotten parentheses with arrow () =>. Maybe I should delete my previous comment and this one as they have no sense?

@blesh has volunteered to dig into this. 👍

@jayphelps the correct behavior is v4 as it conforms directly to the Java implementation which is the original implementation, so yes, this is a bug.


RuntimeWarnings in pvlib.tracking singleaxis (0.6.0)

Describe the bug
I changed from 0.5.2 to 0.6 and now receive RuntimeWarning from pvlib.tracking:
RuntimeWarning: invalid value encountered in less
    tracker_theta = np.where(wid < 0, wid + wc, wid - wc)
RuntimeWarning: invalid value encountered in greater
    tracker_theta[tracker_theta > max_angle] = max_angle
RuntimeWarning: invalid value encountered in less
    tracker_theta[tracker_theta < -max_angle] = -max_angle
RuntimeWarning: invalid value encountered in less
    surface_azimuth[surface_azimuth < 0] += 360
RuntimeWarning: invalid value encountered in greater_equal
    surface_azimuth[surface_azimuth >= 360] -= 360

To Reproduce
To reproduce the behavior:
import pandas as pd
import numpy as np
import warnings
warnings.filterwarnings('always')

from pvlib.location import Location
from pvlib.tracking import SingleAxisTracker
from pvlib.modelchain import ModelChain

# Create dummy meteo data
df_index = pd.date_range(start='2016-11-30 01:00:00', end='2017-01-31 22:00:00', freq='10min', tz='America/Panama')
cols = ['temp_air', 'wind_speed', 'pressure', 'ghi', 'dni', 'dhi']
df = pd.DataFrame(np.random.randint(0,100,size=(9055, 6)), columns=cols, index=df_index)

# Create dummy location
loc = Location(8.246, -81.99, 'America/Panama', 13.9)

pvwatts_system = SingleAxisTracker(surface_tilt=10, surface_azimuth=None, albedo=0.2, module='pvwatts_dc',
                                   module_parameters={'pdc0': 9.9, 'gamma_pdc': -0.004}, inverter='pvwatts_ac',
                                   inverter_parameters={'eta_inv_nom': 0.9637})

pvwatts_mc = ModelChain(pvwatts_system, loc, name='pvwatts',
                                dc_model='pvwatts', ac_model='pvwatts',
                                aoi_model='no_loss', spectral_model='no_loss',
                                losses_model='no_loss')

pvwatts_mc.run_model(df.index, weather=df)

Expected behavior
I think this occurs in 0.6.0 because of the following change in pvlib.tracking singleaxis
in version 0.5.2:
wid = pd.Series(90 - np.degrees(np.arctan2(zp, xp)), index=times)
in version 0.6.0:
wid = 90 - np.degrees(np.arctan2(zp, xp))
The array used in 0.6.0 creates the RuntimeWarning when comparing NaNs to a value
The pd.Series used in 0.5.2 does not create the same warning when comparing NaNs to a value.
Versions:

pvlib.__version__0.6.0:
pandas.__version__0.23.4:
python: 3.6

Additional context
It doesn't really affect the functioning of the model, but warnings can be distracting.

This is https://github.com/numpy/numpy/issues/8945. A couple of warnings can be avoided by switching to np.maximum thanks to https://github.com/numpy/numpy/issues/12038 being resolved. The others will need some more careful code. Motivated to fix this because I'm tired of the warnings polluting the tests.


Bug with self-update

Q
A

Issue Type
Bug

Deployer Version
5.x

Description
Download 5.0.0, run dep self-update.
Update is successful, but there are errors in terminal:
Fatal error: Uncaught Error: Class 'Symfony\Component\Console\Style\SymfonyStyle' not found in phar:///usr/local/bin/dep/src/Deployer.php on line 300

Error: Class 'Symfony\Component\Console\Style\SymfonyStyle' not found in phar:///usr/local/bin/dep/src/Deployer.php on line 300

Steps to reproduce
curl -O https://deployer.org/releases/v5.0.0/deployer.phar
mv deployer.phar /usr/local/bin/dep
chmod +x /usr/local/bin/dep

dep self-update

I can work this.

I'm out of my element. Everything seems to be there- Pharmap, use, proper require of classloader etc. What is causing the issue?

I don't know.
This command is ok:
php deployer.phar self-update
Looking for updates...
Update successful!

But in this way:
curl -O https://deployer.org/releases/v5.0.0/deployer.phar
mv deployer.phar /usr/local/bin/dep
chmod +x /usr/local/bin/dep

dep self-update

Got this:
$ dep self-update
Looking for updates...
Update successful!
PHP Warning:  include(phar:///usr/local/bin/dep/vendor/composer/../../src/Console/CommandEvent.php): failed to open stream: phar error: invalid url or non-existent phar "phar:///usr/local/bin/dep/vendor/composer/../../src/Console/CommandEvent.php" in phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php on line 414
PHP Stack trace:
PHP   1. {main}() /usr/local/bin/dep:0
PHP   2. require() /usr/local/bin/dep:4
PHP   3. Deployer\Deployer::run() phar:///usr/local/bin/dep/bin/dep:110
PHP   4. Symfony\Component\Console\Application->run() phar:///usr/local/bin/dep/src/Deployer.php:315
PHP   5. Symfony\Component\Console\Application->doRun() phar:///usr/local/bin/dep/vendor/symfony/console/Application.php:120
PHP   6. Deployer\Console\Application->doRunCommand() phar:///usr/local/bin/dep/vendor/symfony/console/Application.php:189
PHP   7. spl_autoload_call() phar:///usr/local/bin/dep/src/Console/Application.php:140
PHP   8. Composer\Autoload\ClassLoader->loadClass() phar:///usr/local/bin/dep/src/Console/Application.php:140
PHP   9. Composer\Autoload\includeFile() phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php:301

Warning: include(phar:///usr/local/bin/dep/vendor/composer/../../src/Console/CommandEvent.php): failed to open stream: phar error: invalid url or non-existent phar "phar:///usr/local/bin/dep/vendor/composer/../../src/Console/CommandEvent.php" in phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php on line 414

Call Stack:
    0.0021     353968   1. {main}() /usr/local/bin/dep:0
    0.0061     527592   2. require('phar:///usr/local/bin/dep/bin/dep') /usr/local/bin/dep:4
    0.0092     903656   3. Deployer\Deployer::run() phar:///usr/local/bin/dep/bin/dep:110
    0.0186    1995992   4. Symfony\Component\Console\Application->run() phar:///usr/local/bin/dep/src/Deployer.php:315
    0.0257    1996824   5. Symfony\Component\Console\Application->doRun() phar:///usr/local/bin/dep/vendor/symfony/console/Application.php:120
    0.0258    1996824   6. Deployer\Console\Application->doRunCommand() phar:///usr/local/bin/dep/vendor/symfony/console/Application.php:189
    6.9415    2124072   7. spl_autoload_call() phar:///usr/local/bin/dep/src/Console/Application.php:140
    6.9415    2124208   8. Composer\Autoload\ClassLoader->loadClass() phar:///usr/local/bin/dep/src/Console/Application.php:140
    6.9415    2124208   9. Composer\Autoload\includeFile() phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php:301

PHP Warning:  include(): Failed opening 'phar:///usr/local/bin/dep/vendor/composer/../../src/Console/CommandEvent.php' for inclusion (include_path='phar:///usr/local/bin/dep/bin/../:.:') in phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php on line 414
PHP Stack trace:
PHP   1. {main}() /usr/local/bin/dep:0
PHP   2. require() /usr/local/bin/dep:4
PHP   3. Deployer\Deployer::run() phar:///usr/local/bin/dep/bin/dep:110
PHP   4. Symfony\Component\Console\Application->run() phar:///usr/local/bin/dep/src/Deployer.php:315
PHP   5. Symfony\Component\Console\Application->doRun() phar:///usr/local/bin/dep/vendor/symfony/console/Application.php:120
PHP   6. Deployer\Console\Application->doRunCommand() phar:///usr/local/bin/dep/vendor/symfony/console/Application.php:189
PHP   7. spl_autoload_call() phar:///usr/local/bin/dep/src/Console/Application.php:140
PHP   8. Composer\Autoload\ClassLoader->loadClass() phar:///usr/local/bin/dep/src/Console/Application.php:140
PHP   9. Composer\Autoload\includeFile() phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php:301

Warning: include(): Failed opening 'phar:///usr/local/bin/dep/vendor/composer/../../src/Console/CommandEvent.php' for inclusion (include_path='phar:///usr/local/bin/dep/bin/../:.:') in phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php on line 414

Call Stack:
    0.0021     353968   1. {main}() /usr/local/bin/dep:0
    0.0061     527592   2. require('phar:///usr/local/bin/dep/bin/dep') /usr/local/bin/dep:4
    0.0092     903656   3. Deployer\Deployer::run() phar:///usr/local/bin/dep/bin/dep:110
    0.0186    1995992   4. Symfony\Component\Console\Application->run() phar:///usr/local/bin/dep/src/Deployer.php:315
    0.0257    1996824   5. Symfony\Component\Console\Application->doRun() phar:///usr/local/bin/dep/vendor/symfony/console/Application.php:120
    0.0258    1996824   6. Deployer\Console\Application->doRunCommand() phar:///usr/local/bin/dep/vendor/symfony/console/Application.php:189
    6.9415    2124072   7. spl_autoload_call() phar:///usr/local/bin/dep/src/Console/Application.php:140
    6.9415    2124208   8. Composer\Autoload\ClassLoader->loadClass() phar:///usr/local/bin/dep/src/Console/Application.php:140
    6.9415    2124208   9. Composer\Autoload\includeFile() phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php:301

PHP Warning:  include(phar:///usr/local/bin/dep/vendor/composer/../symfony/console/Style/SymfonyStyle.php): failed to open stream: phar error: invalid url or non-existent phar "phar:///usr/local/bin/dep/vendor/composer/../symfony/console/Style/SymfonyStyle.php" in phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php on line 414
PHP Stack trace:
PHP   1. Deployer\Deployer::Deployer\{closure}() phar:///usr/local/bin/dep/src/Deployer.php:0
PHP   2. spl_autoload_call() phar:///usr/local/bin/dep/src/Deployer.php:300
PHP   3. Composer\Autoload\ClassLoader->loadClass() phar:///usr/local/bin/dep/src/Deployer.php:300
PHP   4. Composer\Autoload\includeFile() phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php:301

Warning: include(phar:///usr/local/bin/dep/vendor/composer/../symfony/console/Style/SymfonyStyle.php): failed to open stream: phar error: invalid url or non-existent phar "phar:///usr/local/bin/dep/vendor/composer/../symfony/console/Style/SymfonyStyle.php" in phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php on line 414

Call Stack:
    6.9440    2116720   1. Deployer\Deployer::Deployer\{closure}() phar:///usr/local/bin/dep/src/Deployer.php:0
    6.9440    2116720   2. spl_autoload_call() phar:///usr/local/bin/dep/src/Deployer.php:300
    6.9440    2116880   3. Composer\Autoload\ClassLoader->loadClass() phar:///usr/local/bin/dep/src/Deployer.php:300
    6.9440    2116880   4. Composer\Autoload\includeFile() phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php:301

PHP Warning:  include(): Failed opening 'phar:///usr/local/bin/dep/vendor/composer/../symfony/console/Style/SymfonyStyle.php' for inclusion (include_path='phar:///usr/local/bin/dep/bin/../:.:') in phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php on line 414
PHP Stack trace:
PHP   1. Deployer\Deployer::Deployer\{closure}() phar:///usr/local/bin/dep/src/Deployer.php:0
PHP   2. spl_autoload_call() phar:///usr/local/bin/dep/src/Deployer.php:300
PHP   3. Composer\Autoload\ClassLoader->loadClass() phar:///usr/local/bin/dep/src/Deployer.php:300
PHP   4. Composer\Autoload\includeFile() phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php:301

Warning: include(): Failed opening 'phar:///usr/local/bin/dep/vendor/composer/../symfony/console/Style/SymfonyStyle.php' for inclusion (include_path='phar:///usr/local/bin/dep/bin/../:.:') in phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php on line 414

Call Stack:
    6.9440    2116720   1. Deployer\Deployer::Deployer\{closure}() phar:///usr/local/bin/dep/src/Deployer.php:0
    6.9440    2116720   2. spl_autoload_call() phar:///usr/local/bin/dep/src/Deployer.php:300
    6.9440    2116880   3. Composer\Autoload\ClassLoader->loadClass() phar:///usr/local/bin/dep/src/Deployer.php:300
    6.9440    2116880   4. Composer\Autoload\includeFile() phar:///usr/local/bin/dep/vendor/composer/ClassLoader.php:301

PHP Fatal error:  Uncaught Error: Class 'Symfony\Component\Console\Style\SymfonyStyle' not found in phar:///usr/local/bin/dep/src/Deployer.php:300
Stack trace:
#0 [internal function]: Deployer\Deployer::Deployer\{closure}(Object(Error))
#1 {main}
  thrown in phar:///usr/local/bin/dep/src/Deployer.php on line 300

Fatal error: Uncaught Error: Class 'Symfony\Component\Console\Style\SymfonyStyle' not found in phar:///usr/local/bin/dep/src/Deployer.php on line 300

Error: Class 'Symfony\Component\Console\Style\SymfonyStyle' not found in phar:///usr/local/bin/dep/src/Deployer.php on line 300

Call Stack:
    6.9440    2116720   1. Deployer\Deployer::Deployer\{closure}() phar:///usr/local/bin/dep/src/Deployer.php:0

I will take checkout of 5.0.0 version and try there. How do I build the phar though?

bin/build

Tested by building locally. Somehow, The code fails to include some php files with Deployer namespace.
Error-
Class 'Deployer\Console\CommandEvent' not found
phar:///usr/local/bin/dep/src/Console/Application.php
Line 140

after manually including that file at the top, getting same error for a new class-
Class 'Deployer\Host\HostCollection' not found
I think this is some autoloader related issue.

really strange. work's well for me.

I haven't been able to find anything related to this online too. Any solutions I've found, have already been implemented in the codebase. It needs in-depth understanding of Phars and composer autoloading. So, you should remove the "good for beginner" tag I think.

Nailed it! Tricky one.

Just in case someone has this issue when executing a globally phar-installed Deployer, and you get this error on using $ dep or $ /usr/local/bin/dep:
Parse error: parse error in phar:///usr/local/bin/dep/bin/dep on line 109

You can create an alias to that file; open your .bash or .zsh profile file (usually inside your ~ folder) and point your PHP file (wherever it is in) to /usr/local/bin/dep like so:
# Use Deployer
alias dep='/Applications/XAMPP/xamppfiles/bin/php /usr/local/bin/dep'

Then just source that file and run:
$ dep

You should see something like this:
Deployer X.Y.Z

Usage:
  command [options] [arguments]

Options:
// ...

I don't have the time now to understand why that happens, but there's just a little tricky move to (somehow) make it work.
Also thanks for this great software :)


Get-AzsPolicy returns policy definition that can't be consumed by New-AzureRmPolicyDefinition

New-AzureRmPolicyDefinition -Name AzureStack -Policy (Get-AzsPolicy)
It failed with HTTP status code: BadRequest
DEBUG: ============================ HTTP RESPONSE ============================
Status Code:
BadRequest
Headers:
Pragma                        : no-cache
x-ms-request-id               : local:403c0d84-969b-4bca-9f41-1ca7369e74f7
x-ms-ratelimit-remaining-subscription-writes: 1195
x-ms-correlation-request-id   : ab59742d-f2b9-41cf-a8aa-a9b4eb8b5866
x-ms-routing-request-id       : LOCAL:20170622T081456Z:ab59742d-f2b9-41cf-a8aa-a9b4eb8b5866
Strict-Transport-Security     : max-age=31536000; includeSubDomains
Cache-Control                 : no-cache
Date                          : Thu, 22 Jun 2017 08:14:56 GMT
Body:
{
"error": {
"code": "InvalidProviderNameInPolicyAlias",
"message": "The policy definition 'AzureStack' rule is invalid. The provider 'Microsoft.Compute' referenced by the 'field' property 'Microsoft.Compute/virtualMachines/sku.name' of the policy rule doesn't exist."
}
}

This is due to target the policy api to AzureStack, after switch back to Azure the policy definition created successfully.


Terragrunt Provider Cache with providers lock command

Description
Fixes #3163.

TODOs
Read the Gruntwork contribution guidelines.

[x] Update the docs.
[x] Run the relevant tests successfully, including pre-commit checks.
[ ] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
[ ] Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added / Removed / Updated [X].
Migration Guide

Resolved in v0.58.14 release.


ssh-keygen export to PEM fails.

Windows 10.
OpenSSH <IP_ADDRESS>

@DarwinJS Could you please add full text description?

I believe right repo https://github.com/PowerShell/Win32-OpenSSH.


Wrong error on emails in Gitlab-CI

Hi,
lychee in GitLab-CI wrongly reports error on email addresses, see:
https://salsa.debian.org/faust/go-team.pages.debian.net/-/jobs/1427125#L150-L151

Here is the yaml part:
check:
  stage: check
  script:
    - apt-get update -qq && apt-get install -y -qq wget
    - wget -qO- "https://github.com/lycheeverse/lychee/releases/download/v0.5.0/lychee-v0.5.0-x86_64-unknown-linux-gnu.tar.gz" | tar -xz
    - ./lychee --verbose --exclude="irc://irc.debian.org:6667" --exclude="https://anonscm.debian.org" build/*.html

When running it locally, no error is detected:
❯ ./lychee --verbose --exclude="irc://irc.debian.org:6667" --exclude="https://anonscm.debian.org" build/*.html | grep @
✅<EMAIL_ADDRESS>[200 OK]
✅<EMAIL_ADDRESS>[200 OK]

Am I missing something?

So I tested it locally by cloning your repo and running the same command and I can verify that it also works for me. Perhaps the CI server is preventing the check.

Are the necessary ports open? (Namely SMTP port 25)
Is an SMTP server configured in your CI pipeline?

Here are some tests that you could try: https://www.sparkpost.com/blog/how-to-check-an-smtp-connection-with-a-manual-telnet-session/
You should be able to run them as a throwaway shell script to get the answers or perhaps you can even log in and run a few tests.
This is lychees entire e-mail checking code:
https://github.com/lycheeverse/lychee/blob/4d5b98978cf929e3072dc09e8e1ab4198865be0a/src/client.rs#L216-L230
So all of the above works but lychee does not, that would probably be a case for https://github.com/reacherhq/check-if-email-exists, which is the library we are using under the hood.

Ok, so I guess you pointed to the exact pb, I am pretty sure that the CI server does not allow SMTP output (and it does not surprise me, wouldn't that be a very nice spam vector).
I didn't know that lychee was doing such a deep check for email addresses, I though it would maybe just verify that email syntax looks good and also that there is a MX for the domain. But very nice to have this BTW!
In a CI context I guess that this check will fail most of the time? I did not had time to check if it works on https://github.com/lycheeverse/lychee-action but I will in the next days. Do you have any idea on how to fully disable email check then for CI context?
So I will close this as it's clearly not a bug!

Do you have any idea on how to fully disable email check then for CI context?

I've added support for skipping e-mails entirely in #137.
Now you can add a --exclude-mail to your lychee call.

So I will close this as it's clearly not a bug!

That's fine, though. 😊 Your issue inspired a nice discussion and now we have support for skipping e-mails. 👍

wow, that was fast! Thanks a lot!

and I have just checked, the email check works fine on GitHub actions:
https://github.com/fauust/docker-systemd/runs/1871010280?check_suite_focus=true

Hi @mre, I am trying to implement the latest alpha version in my workflow, it seems that the option to exclude email --exclude-mail is not working:
https://salsa.debian.org/faust/go-team.pages.debian.net/-/jobs/1520656
using:
...
  - wget -qO- "https://github.com/lycheeverse/lychee/releases/download/v0.5.1-alpha/lychee-v0.5.1-alpha-x86_64-unknown-linux-gnu.tar.gz" | tar -xz
  - ./lychee --verbose --exclude-mail --exclude="irc://irc.debian.org:6667" --exclude="https://anonscm.debian.org" build/**/*.html

The exclusion is working, but the parsing of email addresses happened before exclusion; and the parsing failed. @pawroman fixed that in #177 and the change got merged to master. The release of 0.6 is blocked on https://github.com/lycheeverse/lychee/issues/59#issuecomment-798677637 at the moment.

@fauust, can you give it another shot? Just released v0.6.0-alpha2 with the fix:
https://github.com/lycheeverse/lychee/releases/tag/v0.6.0-alpha2
This was made possible by https://github.com/lycheeverse/lychee/pull/196 thanks to @lebensterben.

Hi!
Nope, still red here :(
https://salsa.debian.org/faust/go-team.pages.debian.net/-/jobs/1542439

Oh my. 🤦 Forgot to pass the option to the builder. #200 (nice, even number!) should fix this. Added a unit- and and integration test to make sure it never breaks again.

I will test again later today!

Alright! Sorry that you had to hang in there for a while and thanks for the feedback. The remaining error seems to be a true 404 link, correct?
We should probably not show the github token message, as it isn't really a github link. It's because our regex is too permissive: https://github.com/lycheeverse/lychee/blob/036145eb989f61b72b1c035e083d423360e356c0/src/client.rs#L266.
It should only match URLs starting with a scheme and www:
http://github.com
https://github.com
https://www.github.com
www.github.com
github.com

and perhaps a few more.
That's unrelated as you said, so I guess we can close this and open a new issue for the remaining work.

Gave it a shot here: https://github.com/lycheeverse/lychee/pull/201
Let's move the discussion there.

Nope, that wasn't on purpose. Don't know exactly what's going on there. Tried to reproduce it locally with your settings. Everything works as expected (lots of links printed in verbose mode). Here is what I tried:

✅ Using v0.6.0-alpha4 on macOS,
✅ Compiled from scratch on macOS, everything works as expected (lots of links printed in verbose mode)
✅ Using v0.6.0-alpha4 on Debian Linux.

I also tried running it with Docker, and I saw that if I don't set --tty (Allocate a pseudo-TTY) as a parameter, I only get the status output. Wild guess: maybe that something changed on the CI system?
I noticed that the two CI runs used a different gitlab runner:

Running with gitlab-runner 13.10.0 (HEAD)
Running with gitlab-runner 13.9.0 (HEAD)

Could be that something changed there.
Perhaps you can try to run the job and the standalone binary locally on your machine and compare the results?

Your guesses are correct! Salsa gitlab instance was uprated very recently. I will make deeper tests in the next days and keep you informed if I find some something interesting. Closing this as the skip email option seems OK now.


Updating line height for H1 tags.

The headers will overlap without setting the line height.
http://docs.orchardproject.net/Documentation/Upgrading-a-site-to-a-new-version-of-Orchard#UpgradinganAzureInstanceofOrchard

thanks for the fix :+1:


Cannot update nixpkgs channel

On a fresh install, i.e. bash <(curl https://nixos.org/nix/install), and following the instructions on http://nixos.org/nixpkgs/download.html to get nixpkgs:
$ nix-channel --add https://nixos.org/channels/nixpkgs-unstable
$ nix-channel --update

the following error appears:
/Users/tim/.nix-profile/bin/nix-channel: unable to check `https://nixos.org/channels/nixpkgs-unstable'

The FAQ pages, nor any parts of the manual, nor google was able to yield any helpful hints as to the issue.

I'm trying to install nix on Ubuntu 12.04. There was an issue with libstdc++ on nix-1.8, so I went back and tried nix-1.7, and now I get this issue. I suspect I'm having the opposite problem: nix-1.7 is trying to use http, but the channel requires https.
Is there a way around this?

Re-add the channel with http link instead of https.

I tried this; same error.
On Mar 2, 2015 5:15 AM, "Domen Kožar"<EMAIL_ADDRESS>wrote:

Re-add the channel with http link instead of https.
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/issues/3379#issuecomment-76687050.

same error!


Need help with several theme color props

How to reproduce these color props?
editorGroup.background
editorGroupHeader.noTabsBackground
statusBarItem.prominentBackground
statusBarItem.prominentHoverBackground
I read the documentation, but still I can't find them in VS Code.
cc @aeschli

editorGroup.background - split editor => drag not a tab but a tab group
editorGroupHeader.noTabsBackground - "workbench.editor.showTabs": false
statusBarItem.prominentBackground - change mode Toggle Tab Key Moves Focus from command palette

editorGroup.background How I can drag not a tab, but tab group? I'm with macOS. I can't select more than more tab.

@usernamehw Thank you very much!!!!

@bsvipas I can't say for macOS, but on Windows when you hover over tab group cursor changes to "grab" and you are able to move tab groups left or right.

@usernamehw I understand now everything, thanks to your help!

Thanks a lot, @usernamehw. I updated the descriptions and the docs with the additional information.


:muscle: handle nans

Assuming that there are no NaNs in the data is the largest assumption that this library makes.
Why is this a large assumption
Plotting libraries use NaN values to represent gaps (i.e., disconnected parts of the time series).
How should we tackle /  handle NaNs
Ideally we would have a NaN-policy. Currently I see only 2 options that this policy should support:

omit NaNs (skip / ignore them when performing the downsampling)
return NaN once there is one present in the considered data (e.g., in the bin)

For the MinMaxDownsampler, M4Downsampler, and (largely) the MinMaxLTTBDownsampler, this would boil down to adding NaN support (with some sort policy as described above) to the argminmax crate.
How we would support NaNs in the LTTBDownsampler is not yet 100% clear to me.

Don't know if this helps, but timescaledb implements an gap preserving function for the LTTB algorithm
https://docs.timescale.com/api/latest/hyperfunctions/downsample/gp_lttb/
source: https://github.com/timescale/timescaledb-toolkit/blob/7fc374999160c42b55c8be3c3723314ec129a354/extension/src/lttb.rs

Looks quite interesting - will look into it! Perhaps we can integrate / re-use functionality :)
Thanks for sharing this @gfmartins


How to train efficientnet on CIFAR-10 or CIFAR-100? Image size is 32x32.

The default model input size is 224~600. What adjustments should I make to fit CIFAR-10's 32x32?
def efficientnet_params(model_name):
    """ Map EfficientNet model name to parameter coefficients. """
    params_dict = {
        # Coefficients:   width,depth,res,dropout
        'efficientnet-b0': (1.0, 1.0, 224, 0.2),
        'efficientnet-b1': (1.0, 1.1, 240, 0.2),
        'efficientnet-b2': (1.1, 1.2, 260, 0.3),
        'efficientnet-b3': (1.2, 1.4, 300, 0.3),
        'efficientnet-b4': (1.4, 1.8, 380, 0.4),
        'efficientnet-b5': (1.6, 2.2, 456, 0.4),
        'efficientnet-b6': (1.8, 2.6, 528, 0.5),
        'efficientnet-b7': (2.0, 3.1, 600, 0.5),
    }
    return params_dict[model_name]

https://github.com/lukemelas/EfficientNet-PyTorch/blob/master/efficientnet_pytorch/utils.py#L101-L114

Maybe we can resize the image to 224x224 or we should adjust the step of Conv/Pooling in the model.

EfficientNet is really designed to be used on images of a specific size, but you can just take the model and apply it (probably without any modifications) to images of other sizes. Its performance should still be pretty good.

EfficientNet is really designed to be used on images of a specific size, but you can just take the model and apply it (probably without any modifications) to images of other sizes. Its performance should still be pretty good.

Yeah, at least it works with 112x112 pics.

Good to hear. Let me know if this issue should be closed or if you would like it to remain open.

Maybe modifying the code below to fit 32x32 is a better solution:
    blocks_args = [
        'r1_k3_s11_e1_i32_o16_se0.25', 'r2_k3_s22_e6_i16_o24_se0.25',
        'r2_k5_s22_e6_i24_o40_se0.25', 'r3_k3_s22_e6_i40_o80_se0.25',
        'r3_k5_s11_e6_i80_o112_se0.25', 'r4_k5_s22_e6_i112_o192_se0.25',
        'r1_k3_s11_e6_i192_o320_se0.25',
    ]

https://github.com/lukemelas/EfficientNet-PyTorch/blob/master/efficientnet_pytorch/utils.py#L238-L243

I think it is a good idea to use the pretrained model on imagenet to transfer to cifar10,and the imput size should also be modified to 224.

The author of EfficientNet said he uses the same size as ImageNet:
https://github.com/tensorflow/tpu/issues/421#issuecomment-507365874

today i test cifar-10(raw image is 32*32)
1.use efficientnet-b3 input_size is 300,but acc is very low
2.use efficientnet-b3 input_size is modified 32,the result is normal
on conclusion,need model input_size to fit raw image size??

Hi guys, any updates about this issue? Recently I plan to train efficient net on my own dataset. The image size is 36*36. I have tested it by using the pretrained b0 and b4 and find out the code can run successfully. Not sure if I can change nothing and just do the transfer learning. Any ideas?
Thx.

Just an update: change image size to any nums seems OK since the maxpool and pad will do the work. I finally use 32*2=64 as input. Everything go smooth. I think this issue can be closed.

EfficientNet is really designed to be used on images of a specific size, but you can just take the model and apply it (probably without any modifications) to images of other sizes. Its performance should still be pretty good.

May I ask that, whatever size of image could be directly feed into the network or it's need to be resize firstly to the default pre-trained image-size(e.g. 224*224)?

I was attempting to reproduce recent EfficientNet results using the 32x32 patches as input, but even using pretrained imagenet weights my model only reaches 87.13% accuracy using the b0 model (note that this was better than the b1, b3, and b7 model).
However, when I do a training run where I resize the images to 224x224 I get much worse results. (I'm currently at 25% accuracy at epoch 69). Granted I only have 1 GPU, so I can't run with the batch size mentioned in the paper, but I'm really surprised at how difficult it is to get good results with EfficientNet, especially when training from scratch.
Has anyone been able to do any better than this on CIFAR? With a ResNet50, I can get 94-96% accuracy without too much trouble, but I can't seem to find the right hyperparameters to train efficientnet well (which is a true shame because it runs so freaking fast).

@Erotemic Hi! I'm exactly at the same place as you were. Did you figure it out?
I really want to get it to be at least as good as ResNet50 on Cifar10, Cifar100, and Tiny ImageNet.
So far no joy.


Can't change body font

on a macbook pro i download the plugin but when clicking on the typography tab i cannot scroll down to change the body font.
Screenshots

same to me

same to me


Changes for mentioned issue

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

[x] My pull request has a descriptive title (not a vague title like Update index.md)

Please use a descriptive title, you also have not mentioned any issue

Closes #XXXXX

Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝


[FEATURE] It would be nice to have the date set to today/yesterday when you launch the app

Is this a unique feature?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.
When launching the app no date is selected and it would be a nice improvement to have one by default!
Proposed Solution
I think in most cases it's more suitable to display yesterday's results by default as depending on when you check the page today will often appear with no data.
Screenshots

Do you want to work on this issue?
No
If "yes" to above, please explain how you would technically implement this (issue will not be assigned if this is skipped)
No response

Thanks. I will work on it


Centrifuge

It seems of the 11 items listed as acquirable via Centrifuge when using an ingot all give Entropy Shards.  Is this supposed to be a % chance, or is the recipe just overriding and ending at the end?

i think this is an nei or tech reborn ore dict bug

changed to different items to fix this issue


In EventViewer, pressing LeftOption+RightArrow on Early 2015 MacBook Pro shows Fn involved

I don't know if this is expected behavior or not.
Using the integrated keyboard, pressing and holding left option, pressing and releasing right arrow, and then releasing left option shows the following events:
eventType:keyMod          code:0x3a       name:Option_L        flags:Opt                                misc:KeyCode::OPTION_L	characters:
eventType:keyDown         code:0x7c       name:Right           flags:Opt NumPad Fn                      misc:KeyCode::CURSOR_RIGHT	characters:
eventType:keyUp           code:0x7c       name:Right           flags:Opt Fn                             misc:KeyCode::CURSOR_RIGHT	characters:
eventType:keyMod          code:0x3a       name:Option_L        flags:                                   misc:KeyCode::OPTION_L	characters:

The keyDown and keyUp events show the Fn flags.
Karabiner 10.8.0
OS X 10.10.5 (Yosemite)
Early 2015 13" MacBook Pro with 3.1 GHz processor, 512 GB SSD, 16 GB RAM

It's OS X behavior.
OS X appends fn flag to arrow keys automatically.
Please ignore it.

Ah, okay.  Thanks for your fast response.


System for saving and loading coil sets

For coil optimization, it would be convenient to have a function that saves not only the curve shapes and currents, but also nfp, the Fourier order, number of quadrature points, the target surface, etc. There could be a corresponding function to load in this data. This would make it easier for users to plot and analyze the results of a coil optimization.

@landreman
Now that simsopt has the capability to store data in JSON format, should we close this issue?


Parallel excution of suite and job

maybe works like:

chart: run sync, for ease and beauty of printing
suite: run async
test: run async
asserts: run sync, always in order

Close due to archiving repository.
Sorry for not presenting so long. I've been working on another project and don't have time to for helm-unittest.
Please consider other working forks like quintush/helm-unittest.


[Doc]

📚 Documentation
Bug
https://mlc.ai/mlc-llm/docs/get_started/try_out.html
The docs mentioned using --local-id which is not a parameter any more. Did you mean --model?
Also when changing it to model still does not work (following linux instructions, un Ubuntu)
mlc_chat_cli --model Llama-2-7b-chat-hf-q4f16_1
[17:17:52] /usr/share/miniconda/envs/mlc-llm-build/conda-bld/mlc-chat-cli-nightly-package_1692939970841/work/cpp/cli_main.cc:339: The model folder provided does not seem to refer to a valid mlc-llm model folder. Specifically, we cannot find mlc-chat-config.json, a required file. You should provide a path that contains the file. According to your input Llama-2-7b-chat-hf-q4f16_1, we looked at folder(s):
Llama-2-7b-chat-hf-q4f16_1
dist/prebuilt/Llama-2-7b-chat-hf-q4f16_1
dist/Llama-2-7b-chat-hf-q4f16_1/params
dist/prebuilt/mlc-chat-Llama-2-7b-chat-hf-q4f16_1
Stack trace:
  [bt] (0) /home/vlad/miniconda3/envs/mlc-chat-venv/bin/../lib/libtvm_runtime.so(tvm::runtime::Backtrace[abi:cxx11]()+0x27) [0x7fd8e5aa4d27]
  [bt] (1) mlc_chat_cli(+0xd868) [0x5559bc8c8868]
  [bt] (2) mlc_chat_cli(+0x199d9) [0x5559bc8d49d9]
  [bt] (3) mlc_chat_cli(+0x19cc4) [0x5559bc8d4cc4]
  [bt] (4) mlc_chat_cli(+0x7cbc) [0x5559bc8c2cbc]
  [bt] (5) /lib/x86_64-linux-gnu/libc.so.6(+0x23a90) [0x7fd8e5623a90]
  [bt] (6) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x89) [0x7fd8e5623b49]
  [bt] (7) mlc_chat_cli(+0x8035) [0x5559bc8c3035]

Hi @vprelovac , perhaps you can try passing in --model now and see if it works? The --local-id argument should be officially discarded now.

Thanks @vprelovac , this should be fixed by https://github.com/mlc-ai/mlc-llm/pull/822


Analyzer - Data Exploration

Explore the dataset to understand its characteristics, such as data types, distributions, and potential outliers.
Create summary statistics and visualizations to gain insights into the data.

columns meta data
2450 entries, 0 to 2456
Data columns (total 18 columns):
Column                 Non-Null Count  Dtype

0   id                     2450 non-null   int64
1   listing_url            2450 non-null   object
2   title                  2450 non-null   object
3   location               2450 non-null   object
4   price                  2450 non-null   float64
5   price_currency         2450 non-null   object
6   listing_date           2450 non-null   object
7   description            2450 non-null   object
8   Brand:                 2450 non-null   object
9   Model:                 2450 non-null   object
10  Mileage:               2450 non-null   object
11  Body type:             2238 non-null   object
12  Condition:             2450 non-null   object
13  Fuel type:             2450 non-null   object
14  Transmission:          2450 non-null   object
15  Engine capacity:       2450 non-null   object
16  Year of Manufacture:   2450 non-null   object
17  Trim / Edition:        1970 non-null   object

Price Analysis
Histogram

Looking at the boxplot chart and the violin plot charts Here clearly there are potential outliers.

Analysing categorical fields

Analysing categorical fields  - Grouping and Aggregation

Analysing categorical fields - Pie Chart


Radix Themes will support Radix Primitives components?

Hi
Will Radix Themes support all components from Radix Primitives like accordion, label, form and the rest?

Eventually, I believe :)

@needim It would be very helpful if we know the roadmap of when Radix Themes will support the components from Primitives.

Yes, we plan on adding more components over time


updated Auditing server docker image tag to 5.6.0-alpha-2512d4f

Can one of the admins verify this patch?


UDN: Convert pod2Egress e2e to also include CRD in addition to using NADs

What would you like to see added/updated/deleted in our end-to-end tests?
tracks: https://github.com/ovn-org/ovn-kubernetes/pull/4557#discussion_r1711822929
Why is this needed?
to have API coverage

this was already done


High CPU usage in version 0.16.1 watching python files

Description
I am using watchfiles to monitor changes to python scripts loaded by celery in a docker (see below). While it works, I constantly have 75% CPU usage. Am I configuring something wrong? Is this a bug? I am not sure what you need to debug this.
Example Code
watchfiles --filter python 'celery -A main worker --loglevel=info' &

Watchfiles Output
No response
Operating System & Architecture
Linux-5.10.124-linuxkit-x86_64-with-glibc2.35
#1 SMP PREEMPT Thu Jun 30 08:18:26 UTC 2022
Environment
No response
Python & Watchfiles Version
python: 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0], watchfiles: 0.16.1
Rust & Cargo Version
No response

Please enable debug mode and let me know if watchfiles is polling or using  os notifications.
The issue template questions were written for a reason, you haven't given me enough information to go on here.

I've formatted your comment so it's readable.
Looks pretty self explanatory - filesystem notifications are failing, so it's falling back to file polling and presumably your watching a lot of files.
Unless you're project really does have 10s if thousands of files, you're probably watching unnecessary directories.
Try restricting which files you watch.

Is there something I can do about the filesystem notifications failing? I don't really understand the details but is the file polling the cause of the high cpu usage? Would it be less if filesystem notifications would work? After limiting the number of files the CPU usage goes indeed down (as expected)

Thanks a lot for being so responsive!


[Chinese CVVC Phonemizer] Add support for Cantonese (hanzi conversion)

With this implementation, the phonemizer checks for specific aliases in the oto before romanizing hanzi characters. Depending on this, it will convert to either pinyin or jyutping.
I might add Cantonese support to the Chinese CVV phonemizer as well, but it's quite geared towards Mandarin right now and would only function properly for Cantonese with a custom dictionary. This is due to aliasing conflicts, especially regarding tail phonemes. The Chinese CVVC phonemizer only needs a presamp.ini file.

I got some feedback that it's a better idea to make a separate Cantonese phonemizer, so I'm closing this.


400 bad request on post with body

Steps to recreate error:
Create a get route
Create a post route
Send a body of {"test": "test"} as application/json
Start server and run get requests -> 200 OK
Quit server, start again and run post requests -> 200 OK
Start server and run get request -> 200 OK
Run post request -> 400 bad request
Run post request again -> 200 OK on all subsequent requests
Does not occur with an empty body on post.
Thanks.

Webman does not support GET requests with body. Please check that.

Yes that's it, it only comes up if the preceding GET has a body.  Thank you.


fix: handle socket connection closed error in _signal_exit

Proposed changes

In the _listening function, when there's a WebSocketException, the following line runs as a part of the error handling procedure.
https://github.com/deepgram/deepgram-python-sdk/blob/d2c43344e723df99468bff161e5e2a1c29600fd8/deepgram/clients/live/v1/async_client.py#L371
Now, the WebSocketException might also be caused due to the socket connection breaking. In this case, an error is thrown of the following form
future: <Task finished name='Task-291' coro=<AsyncLiveClient._listening() done, defined at /usr/local/lib/python3.12/dist-packages/deepgram/clients/live/v1/async_client.py:171> exception=ConnectionClosedError(Close(code=1011, reason='Deepgram did not receive audio data or a text message within the timeout window. See https://dpgr.am/net0001'), Close(code=1011, reason='Deepgram did not receive audio data or a text message within the timeout window. See https://dpgr.am/net0001'), True)>

While handling this exception, the _signal_exit function is called, which has the following lines
https://github.com/deepgram/deepgram-python-sdk/blob/d2c43344e723df99468bff161e5e2a1c29600fd8/deepgram/clients/live/v1/async_client.py#L483-L496
In line 488, we're doing a self._socket.send, which is bound to fail because the socket connection is closed. This throws an error from the _signal_exit method. Since _signal_exit is not wrapped in a try except, the _listening method also throws an error and exits. The following is a sample traceback.
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/dist-packages/deepgram/clients/live/v1/async_client.py", line 287, in _listening
    await self._signal_exit()
  File "/usr/local/lib/python3.12/dist-packages/deepgram/clients/live/v1/async_client.py", line 478, in _signal_exit
    await self._socket.send(json.dumps({"type": "CloseStream"}))
  File "/usr/local/lib/python3.12/dist-packages/websockets/legacy/protocol.py", line 635, in send
    await self.ensure_open()
  File "/usr/local/lib/python3.12/dist-packages/websockets/legacy/protocol.py", line 939, in ensure_open
    raise self.connection_closed_exc()

In this PR, I've added a try except only around the self._socket.send. It might be necessary to add exception handling wherever _signal_exit is being called as well, as when _signal_exit throws an error, the while True loop will exit, and the listen_thread will not exist anymore. Therefore any transcripts will not be received for that connection.
Closes #356
Types of changes
What types of changes does your code introduce to the community Python SDK?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update or tests (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have lint'ed all of my code using repo standards
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

Further comments

@dvonthenen thanks for the swift response!
I've updated the PR, please take a look and let me know if I should make any other changes too.

This looks great! I appreciate finding and fixing this issue!


Is this model suitable for dynamic video reconstruction?

We are attempting to fuse videos from multiple drone flights, where the camera's pose and position continuously change in real-world scenarios. The paper mentions not involving the pose process. Does this mean that a fixed pose-related matrix is learned by the network? Is this learning only applicable to fixed-pose scenarios, or can it adapt to dynamic scenarios?

Hi, the camera pose can change, our method works for this case.

@botaoye  thanks


BUG: "POST /chat HTTP/1.1" 400 Bad Request

Describe the bug
When I try to send a message to the model, it gives this error: "POST /chat HTTP/1.1" 400 Bad Request. The webui also gives this error: Uh-oh! There was an issue connecting to Ollama. It generates the title of the chat fine though.
To Reproduce
Steps to reproduce the behavior:

Send a message through the ui and look through the logs

Desktop (please complete the following information):

OS: Fedora Linux 39 KDE Spin
Browser Firefox

Hi, Could you verify that you're on the latest version of Ollama? Thanks.

Oh, I'm on ollama version 0.1.10

I'll update and close if it's gone

It's gone!


[DEVOPS] downsize/remove unused linode capacity & add storage to LCD server

Details here
https://www.notion.so/volumefi/EPIC-08-30-24-review-and-downsize-linodes-a71eef6e51784a129eb67891c9012230?pvs=4
Todo
Complete the following items from the notion

[ ] item 1
[x] item 2
[ ] item 6
[ ] item 7

Moved snapshots into the data volume on mainnet-snapshots, and revised the snapshots script to delete old snapshots. I'll leave it over the weekend to see if it works alright and remove the volume early next week.

@maharifu what's next for item 6 and item 7?

@maharifu what's next for item 6 and item 7?

Item 6 is waiting to see if the snapshot script works correctly when left unattended. If it is OK, I'll remove the volume early next week. The snapshots server is also catching up and needs a few paloma upgrades, so it will take awhile.
Item 7 is pending on having the wallet to call initialize_compass on the fee manager.

Removed the extra storage from mainnet-snapshots, everything is now in /mnt/data.
Added 500GB storage to the lcd-mainnet VM. Paloma data is now in /mnt/lcd-mainnet/paloma.


Illegal unquoted character

Hello,
Druid is throwing the following exception when we ingest json files containing utf8 characters. I've asked in the user groups before but I have the feeling this is probably a bug in Jackson.
Caused by: com.fasterxml.jackson.core.JsonParseException: Illegal unquoted character ((CTRL-CHAR, code 19)): has to be escaped using backslash to be included in string value
 at [Source: { ... "Abcdef Vols � bas prix" ... }; line: 1, column: 1565]

The event is truncated, I can supply it privately if necessary. The column mentioned by the exception is the – character between "Abcdef" and "Vols" which is not printed in the logs.
I have asked this question in the druid user group but no luck.
We are using Go to serialize the JSON used by druid batch ingestion, which seems to leave certain unicode characters unescaped (correctly as per the JSON spec, anything between \u0000 and \u001F is indeed quoted).  Here's a Go playground link where the correct unicode points are encoded.
For example the following JSON will trigger an error: {"a":"–"}. The – is the en dash which maps to the U+2013 code point, but more utf8 characters are giving us trouble.
We're using druid 0.9.2 and we do the batch upload using the s3 extensions. Tranquility (version 0.8.2) however does not exhibit the same behaviour fortunately as our real time events are processed correctly.
There is a similar issue where another user requested configuring the flag to allow unquoted control characters, but I'm not sure this is the right way to go.
Thanks,
Alex

These issues seem to be related #1852 and #1840. It seems configuring the batch ingestion ignoreInvalidRows is the way to avoid this issue but we'll still be missing certain events.

@alexkappa, I tried reproducing this with the latest Druid and it seems to work ok. I used the wikipedia sample data that comes with the quickstart and edited one of the channel names to be a literal en dash, encoded in utf-8 as e2 80 93. It ingests fine and I can query if afterwards too.
dsql> select channel, count(*) from wikiticker where channel = U&'\2013' group by channel;
┌─────────┬────────┐
│ channel │ EXPR$1 │
├─────────┼────────┤
│ –       │      1 │
└─────────┴────────┘
Retrieved 1 row in 0.04s.

Is it possible you have some kind of encoding issue? If the en dash were encoded in utf-16 for some reason, that would explain this, since that would look like control characters to a utf-8 parser.

Hi @gianm,
Thanks for looking into this issue!
I am not entirely sure I understand the encoding e2 80 93. I typically end up with a \u2013 when serialising to JSON. With a little googling I could repeat that with this online utf8 encoder/decoder so I have the feeling I am misunderstanding something.
I can attach a gist with the exact files I'm trying and the exceptions I'm getting, perhaps I could give you some more context.

What I mean is that the character \u2013 could be encoded in different ways. It could be encoded in utf-8 as three bytes, e2 80 93 or it could be encoded in utf-16 as two bytes, 20 13. JSON calls for utf-8 encoding and that's what Druid expects.
My guess is that your en dash is (incorrectly) encoded in utf-16, since the first byte 20 would be interpreted by a JSON decoder as a control character, which matches up with the error you got.

Opening your file in a hex editor, or using hexdump, should make it clear how the character is encoded.

I've opened it in a hex viewer and it seems to be encoded as three bytes.


darwin: ffmpeg build failure

Making all in examples
make[2]: Entering directory '/private/var/folders/q7/3bmqjbs50cz9jzz0k69n820m0000gp/T/nix-build-audiofile-0.3.6.drv-0/audiofile-0.3.6/examples'
clang -DHAVE_CONFIG_H -I. -I.. -I../libaudiofile    -g -O2 -c adddcoffset.c
/nix/store/ifmxr73y49plvswmbl97ml105kfg738x-bash-4.3-p42/bin/bash ../libtool --tag=CC   --mode=link clang  -g -O2   -o adddcoffset adddcoffset.o ../libaudiofile/libaudiofile.la
libtool: link: clang -g -O2 -o .libs/adddcoffset adddcoffset.o  ../libaudiofile/.libs/libaudiofile.dylib -lm
clang -DHAVE_CONFIG_H -I. -I.. -I../libaudiofile    -g -O2 -c power.c
/nix/store/ifmxr73y49plvswmbl97ml105kfg738x-bash-4.3-p42/bin/bash ../libtool --tag=CC   --mode=link clang  -g -O2   -o power power.o ../libaudiofile/libaudiofile.la -lm
libtool: link: clang -g -O2 -o .libs/power power.o  ../libaudiofile/.libs/libaudiofile.dylib -lm
clang -DHAVE_CONFIG_H -I. -I.. -I../libaudiofile    -g -O2 -c osxplay.c
osxplay.c:47:10: fatal error: 'CoreServices/CoreServices.h' file not found
#include <CoreServices/CoreServices.h>
         ^
1 error generated.
Makefile:365: recipe for target 'osxplay.o' failed
make[2]: *** [osxplay.o] Error 1
make[2]: Leaving directory '/private/var/folders/q7/3bmqjbs50cz9jzz0k69n820m0000gp/T/nix-build-audiofile-0.3.6.drv-0/audiofile-0.3.6/examples'
Makefile:408: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/private/var/folders/q7/3bmqjbs50cz9jzz0k69n820m0000gp/T/nix-build-audiofile-0.3.6.drv-0/audiofile-0.3.6'
Makefile:312: recipe for target 'all' failed
make: *** [all] Error 2
builder for ‘/nix/store/cin1964m684xi0j7vpdxmrf33g798sb0-audiofile-0.3.6.drv’ failed with exit code 2
cannot build derivation ‘/nix/store/2jqq0bdjavab7dphn84ri02bppyw6kz0-SDL-1.2.15.drv’: 1 dependencies couldn't be built
building path(s) ‘/nix/store/bha1icsdh1kkifh5d9hql1rlb6ky4ca5-boehm-gc-7.2f’
killing process 98786
cannot build derivation ‘/nix/store/nvbgz2abzj2wl9pbd9rww73g5ii4ving-ffmpeg-2.7.2.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/nvbgz2abzj2wl9pbd9rww73g5ii4ving-ffmpeg-2.7.2.drv’ failed
Traceback (most recent call last):
  File "/nix/store/08cv7hl3mhxvr7f5ywphfg0jxyd5xk42-nox-0.0.2/bin/.nox-wrapped", line 11, in <module>
    sys.exit(main())
  File "/nix/store/3bf8bn66ryfd9aad0pa0d47fifc9v524-python3.4-click-5.1/lib/python3.4/site-packages/click/core.py", line 700, in __call__
    return self.main(*args, **kwargs)
  File "/nix/store/3bf8bn66ryfd9aad0pa0d47fifc9v524-python3.4-click-5.1/lib/python3.4/site-packages/click/core.py", line 680, in main
    rv = self.invoke(ctx)
  File "/nix/store/3bf8bn66ryfd9aad0pa0d47fifc9v524-python3.4-click-5.1/lib/python3.4/site-packages/click/core.py", line 873, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/nix/store/3bf8bn66ryfd9aad0pa0d47fifc9v524-python3.4-click-5.1/lib/python3.4/site-packages/click/core.py", line 508, in invoke
    return callback(*args, **kwargs)
  File "/nix/store/08cv7hl3mhxvr7f5ywphfg0jxyd5xk42-nox-0.0.2/lib/python3.4/site-packages/nox/search.py", line 83, in main
    subprocess.check_call(['nix-env', '-iA', '--show-trace'] + attributes)
  File "/nix/store/j9x359la91dfif21hc4niyxgpyvx3fwz-python3-3.4.3/lib/python3.4/subprocess.py", line 561, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['nix-env', '-iA', '--show-trace', 'nixpkgs.ffmpeg']' returned non-zero exit status 100

works here in darwin pure

Having a similar issue on darwin pure.
$ uname -a
Darwin Voodoo-Lady.local 15.0.0 Darwin Kernel Version 15.0.0: Sat Sep 19 15:53:46 PDT 2015; root:xnu-3247.10.11~1/RELEASE_X86_64 x86_64
$ cat ~/.nixpkgs/config.nix
{
  allowUnfree = true;
  allowBroken = true;
  replaceStdenv = { pkgs }: pkgs.allStdenvs.stdenvDarwinPure;
}
$ nix-env -i ffmpeg
<snip>
clang -DHAVE_CONFIG_H -I. -I.. -I../libaudiofile    -g -O2 -c adddcoffset.c
/nix/store/jxbyzscwyrrhcd2nn7hw71inbrz1zvng-bash-4.3-p42/bin/bash ../libtool --tag=CC   --mode=link clang  -g -O2   -o adddcoffset adddcoffset.o ../libaudiofile/libaudiofile.la
libtool: link: clang -g -O2 -o .libs/adddcoffset adddcoffset.o  ../libaudiofile/.libs/libaudiofile.dylib -lm
clang -DHAVE_CONFIG_H -I. -I.. -I../libaudiofile    -g -O2 -c power.c
/nix/store/jxbyzscwyrrhcd2nn7hw71inbrz1zvng-bash-4.3-p42/bin/bash ../libtool --tag=CC   --mode=link clang  -g -O2   -o power p

ower.o ../libaudiofile/libaudiofile.la -lm

libtool: link: clang -g -O2 -o .libs/power power.o  ../libaudiofile/.libs/libaudiofile.dylib -lm
clang -DHAVE_CONFIG_H -I. -I.. -I../libaudiofile    -g -O2 -c osxplay.c
osxplay.c:47:10: fatal error: 'CoreServices/CoreServices.h' file not found
#include <CoreServices/CoreServices.h>
         ^
1 error generated.
Makefile:365: recipe for target 'osxplay.o' failed
make[2]: *** [osxplay.o] Error 1
make[2]: Leaving directory '/private/var/folders/5c/vpb0xhs56bb2rq2dgmw0pc540000gn/T/nix-build-audiofile-0.3.6.drv-0/audiofile-0.3.6/examples'
Makefile:408: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/private/var/folders/5c/vpb0xhs56bb2rq2dgmw0pc540000gn/T/nix-build-audiofile-0.3.6.drv-0/audiofile-0.3.6'
Makefile:312: recipe for target 'all' failed
make: *** [all] Error 2
builder for ‘/nix/store/adx5ww2zyjg0qxm79y78aww91isjsdgg-audiofile-0.3.6.drv’ failed with exit code 2
cannot build derivation ‘/nix/store/xf5n41xyak19qahyzqcbnxxz2s1j2vf6-SDL-1.2.15.drv’: 1 dependencies couldn't be built
building path(s) ‘/nix/store/6r64ca65c7123xcjx4ga26xfcmr2y4d6-soxr-0.1.2-Source.tar.xz’
killing process 26222
cannot build derivation ‘/nix/store/6nxkdbx628j4llvr1kk7xkgwsdqcqmsh-ffmpeg-2.7.2.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/6nxkdbx628j4llvr1kk7xkgwsdqcqmsh-ffmpeg-2.7.2.drv’ failed

i have the unstable channel on OS X 10.9.5 (64-bit) and get the same error as @zimbatm and @benmont.
osxplay.c:47:10: fatal error: 'CoreServices/CoreServices.h' file not found
#include <CoreServices/CoreServices.h>
         ^
1 error generated.
Makefile:365: recipe for target 'osxplay.o' failed

I had the CoreServices.h issue with another package (don't remember which-one) and it was fixed on master. Hopefully staging will be merged soon.

AKAICT this was fixed in commit aa12640cb913051f646d2422cfdad97616fdb4a0 by Asko Soukka and I'm using master. This probably explains why it worked for me.

isn't master the https://nixos.org/channels/nixpkgs-unstable channel?

nah : https://github.com/NixOS/nixpkgs https://github.com/NixOS/nixpkgs is :)

Le 10 nov. 2015 à 19:13, davidak<EMAIL_ADDRESS>a écrit :
isn't master the https://nixos.org/channels/nixpkgs-unstable https://nixos.org/channels/nixpkgs-unstable channel?
—
Reply to this email directly or view it on GitHub https://github.com/NixOS/nixpkgs/issues/10827#issuecomment-155518746.

I share @davidak's confusion about where my nixpkgs should be coming from.  A fresh install following the "Get Nix" instructions from the wiki set me up to install things from nixpkgs-unstable, which still has this issue.  If I switch to master I'm able to build ffmpeg.  Does it make sense that the default channel is not master?

Looks like ffmpeg builds on darwin these days


Release: v0.5.0

As per title
cc @lvwerra

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Ability to edit strings in annotations

Just like JbyteEdit
(But it's Bugly)

public final class mark{
@iiiIIiIIIII(sdsdsd="key", \0="key")
public static String key;
}

This has been incorporated into the new 3X assembler, I do not plan on back-porting it to 2X due to the significant parser differences. So when 3X drops this will be supported. Closing as done, availability will be in the first 3X official release.


Revert "Dont use arch in container image tag:"

Revert "Dont use arch in container image tag:"

This reverts commit 69a4c8725cd0a3585e40188ac82b262984c991f4:

"The service containers we build shouldnt use arch in the tags. This way the same tag will have mulitple archs at the registry layer."

this isn't really true, as can be seen from the --platform argument to buildx; also the GHA matrix'es are split per-arch
effectively, we had random arch (but not both) in each tag, depending on build speed/order in GHA
causes Error creating 000-rngd1: fork/exec /usr/bin/runc: exec format error (and many others) depending on luck or lack thereof

Hey @rpardini. Sorry, I'm not following here. If you look at the image below of quay.io for hook-docker (for example), the first three tags have the arch in the tag. The second three don't have the arch in the tag but have 2 linux penguins representing the architectures of amd64 and arm64. https://github.com/tinkerbell/hook/commit/69a4c8725cd0a3585e40188ac82b262984c991f4 gets us the second 3.

Where are you seeing these Error creating 000-rngd1: fork/exec /usr/bin/runc: exec format error errors? if we're not seeing them in our CI then that's an issue.

Hey @rpardini. Sorry, I'm not following here. If you look at the image below of quay.io for hook-docker (for example - quay.io/repository/tinkerbell/hook-docker?tab=tags), the first three tags have the arch in the tag.

Not really. Focus on the first one, feb72d82, it doesn't have penguins (thus is a single-arch image, without the arch in the name). That's what's being used before this PR...
Either way, take a look at https://github.com/tinkerbell/hook/blob/main/bash/hook-lk-containers.sh#L53 -- that spells out that container's --platform is specific, and not multi arch.
This change (adding arch to tag) was deliberate, to allow us to build the amd64 and arm64 separately and on native iron for each.
I understand we might want to offer a multi-arch image at the end, but just removing the arch from the tag just causes mismatches; we'd need to add a GHA step that unifies both after both are individually built, or change the GHA matrix to use qemu to build both arches at once. But until that happens we'd be randomly failing in one case or another.

Where are you seeing these Error creating 000-rngd1: fork/exec /usr/bin/runc: exec format error errors? if we're not seeing them in our CI then that's an issue.

I see those (and many more similar ones) just by running ./build.sh run (either on arm64 or amd64); this is just linuxkit run qemu. Same happens on a physical machine.

Where are you seeing these Error creating 000-rngd1: fork/exec /usr/bin/runc: exec format error errors? if we're not seeing them in our CI then that's an issue.

Yeah AFAIK the CI doesn't actually run/test the built Hooks. Do you know if the self-hosted x64/arm64 runners support KVM? If so, we could come up with a test harness to test in GHA: start up mock syslog & tink-grpc servers, leave them running, start Hook under qemu, and wait/timeout on a TCP connection arriving at the mock grpc server. That would prove that the kernel & linuxkit works, and that tink-worker started.

@mergify queue

@mergifyio rebase


[ci-skip] Change API version tp 1.19.3

We have an API for 1.19.3

The same can be done for the docs

I opened a PR on the docs repo


Update chef_12.7.gemfile

Hi @Devsingh640, this file is automatically generated by appraisal and shouldn't be edited manually (including the comment), so I'll go ahead and close this PR.


Documentation for OTel .NET AutoInstrumentation 1.3.0

Propagate documentation changes for https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/releases/tag/v1.3.0

Oh, so sorry, I missed that an @open-telemetry/dotnet-approvers hadn't approved yet! I thought that this only needed docs approval. I'll be more careful next time. Let me know if this needs to be reverted.

It was approved by @pellared from automatic instrumentation sig. I think that it is fine for automatic only content.


feat(ssr): tolerate circular imports

Description
This PR makes SSR imports work like Node.js in the following way:
Modules that depend on each other will never receive an undefined exports. Instead, the module that is first to import the other module will wait for the other module to be instantiated. When the other module imports the first module, it receives the incomplete exports object, which will be completed when the first module is done being instantiated.
To accomplish this behavior, we need to load SSR dependencies one at a time. This ensures a predictable import order. Before this PR, the import order is non-deterministic, as it depends on the depth of the dependency tree plus the transformation time per module.
This PR also avoids infinite hangs caused by a dependency having its ssrLoadModule promise awaited without first checking if one of its dependencies is within the urlStack.
As of 0333312, this PR also allows the "other module" to access the partial exports of the "first module". For example, if export { foo } from "./foo" comes before export { bar } from "./bar" in the ./index.js module, then ./bar.js will still be able to import { foo } from "./index" and use it before ./index.js has finished being instantiated.
Todo

[ ] Split out the playground/ssr-react changes into a new playground ssr-circular-import

Additional context

Fixes #2258
Fixes #2491

What is the purpose of this pull request?

[x] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

@aleclarson i've brought my improve to your branch: https://github.com/aleclarson/vite/pull/2
in can still be improved but it works on the project i'm working at the moment

@raythurnevoid Thanks for the test case. I've solved it in a better way, see here: https://github.com/vitejs/vite/pull/3950/commits/0333312535f3069d53d2a0e746931fcf0cde020e

@raythurnevoid Thanks for the test case. I've solved it in a better way, see here: 0333312

I can confirm it is working on the project i'm working too

@aleclarson would you resolve the conflicts? Is this one ready to be discussed with the team?

Should @brillout have a look?

@Shinigami92 LGTM
@aleclarson Neat neat - one thing though: how about we create a new playground instead of populating playground/ssr-react/? I often point people to playground/ssr-react and playground/ssr-vue to show them Vite's native SSR API. Would be good for them if we keep these playgrounds minimal. Thoughts?
@LydiaF Hope this makes you re-consider Vite hehe.

@Shinigami92 LGTM (Although my review is superficial and I didn't dig that much)
@aleclarson Neat neat - one thing though: how about we create a new playground instead of populating playground/ssr-react/? I often point people to playground/ssr-react and playground/ssr-vue to show them Vite's native SSR API. Would be good for them if we keep these playgrounds minimal. Thoughts?
@LydiaF Hope this makes you re-consider Vite hehe.

@brillout we never left vite! We just left ssr for a bit and just coincidentally, today we are giving ssr another go!

@brillout we never left vite! We just left ssr for a bit and just coincidentally, today we are giving ssr another go!

Ah nice, keep me updated about how SSR works out for you. Many people have been using vite-plugin-ssr + GraphQL Apollo in the meantime. Also check out https://vite-plugin-ssr.com/path-aliases it works now.
Make sure to note that:

Vite's vite.config.js#resolve.alias only works for Vite processed files (all .page.js / .page.server.js / .page.client.js / .page.route.js files and all their imports). For files that are not processed by Vite (e.g. Express.js server code) we can use a Node.js aliasing tools such as module-alias (all browser files are always processed by Vite).

how about we create a new playground instead of populating playground/ssr-react/? I often point people to playground/ssr-react and playground/ssr-vue to show them Vite's native SSR API. Would be good for them if we keep these playgrounds minimal. Thoughts?

I agree. The tests were contributed by others. If someone can create the new playground, it would be appreciated. 👍

It seems like there is still possible issues with circular imports and SSR that can lead to intermittent hanging: https://github.com/vitejs/vite/issues/11468


connect_timeout in request headers?

I have these request options;
    $request_options = ['connect_timeout' => 60,
                        'timeout'         => 60,
                        'proxy'           => $proxy,
                        'User-Agent'      => $user_agent,
                        'curl'            => ['CURLOPT_SSL_VERIFYPEER' => false,
                                              'CURLOPT_SSL_VERIFYHOST' => false]];

And make a new request:
       yield 'id_' . $request['id'] => new Request('GET', 'http://www.example.com', $request_options);
When I look at the request made (via a HTTP sniffer), the GET request headers include 'connect_timeout' and 'timeout'. Why is this included in the request headers sent to the server? Am I doing something wrong?

Actually no headers seem to be added either;
    $this->client = new Client(['verify'  => false,
                                'curl'    => [CURLOPT_SSL_VERIFYPEER => false,
                                              CURLOPT_SSL_VERIFYHOST => false],
                                'defaults' => ['headers' => ['Foo' => 'Bar']]]);

    $response = $this->client->request('GET', 'http://www.example.com');

No Foo header is added.. ?


DNS on host

How do I make the DNS FQDNs of my docker consul nodes/services accessible to all my host machines?

Assuming you run a consul agent on all hosts you can configure Docker to use its DNS service. Or you can look into this experimental project: https://github.com/mgood/resolve

:+1: resolve works great!


README.md shorter working + inline comments when possible.

Proposal

Thanks! Would you please modify the translations (README-zh-TW.md and README-zh-CN.md) as well?

I will do my best but I'am not a native Chinese speaker.

Changed listed above.

few minor changes coming.


Chore/Add missing generation renaming RelationshipTemplateContentDerivation

Looks like the App now works with GitHub Releases, as well. @jkoenig134 Should we use labels here, too, instead of prefixing PRs?

@Milena-Czierlinski nope.


TGP-2137: Translate Create record journey pages to Welsh

Approving, it could be helpful to Joe if you provide the keys and english that need translating


Add tag to vim-ruby-refactoring in ruby.bundle template

Problem: failure to pull plugin vim-ruby-refactoring when execute PlugInstall for generated vimrc to use with ruby language.
The Github repository of ecomba/vim-ruby-refactoring has changed its default branch from master to main. This change add tag to the plugin so it will pull the main branch instead of the default master.

@prasetiyohadi thanks you


Adding information on file versioning to FAQ

Linked issue(s):
What change does this PR introduce and why?
Adds to the FAQ about the ability to support file versioning.
KOL-3953
Please check if the PR fulfills these requirements

[x] Include reference to internal ticket and/or GitHub issue "Fixes #NNNN" (if applicable)
[ N/A] Relevant tests for the changes have been added
[x] Relevant docs have been added / updated

@gordonhart addressed the comments and updated the PR. Let me know if there is anything else.


Embedded player stops playing when scrolled out of view

Describe the bug
When you play a YouTube video in the embed player, it stops playing and reloads when you scroll the page.
To Reproduce
Steps to reproduce the behavior:

Make a post with an embedded link to a YouTube video.
Start playing the video.
While it's playing, scroll the page up or down so that the post with the video moves out of view.
Result: video stops playing, when you scroll back to the video, it's switched back to the initial state with a play button.

Expected behavior
Video keeps playing, you can hear the music, it's visible when you scroll back.
Details

Platform: macOS Monterey 12.7.4 (21H1123), Orion 0.99.127-beta (WebKit 619.1.1)
App version: 1.75.0

Additional context
https://bsky.app/profile/mackuba.eu/post/3kpqmf4ikag2l

From what I can gather in PRs such as #2217 and #2424 this is the intended behaviour for embedded videos such as YouTube (but not for GIFs which are less resource-intensive).
I agree it's annoying that you can't play a video and at least hear it still playing if you scroll on, but tbh I think the best way to solve this would probably be what Twitter does and have a floating video player that appears when you scroll away from the video. I'm guessing that might be rather complex to implement though.


[New features] may be better use metabase instead of superset?

Superset seams like more complicated at the beginning.

I really like that suggestion, @YuriyGavrilov. I haven't used Metabase, but it does seem like it would be a simpler BI component to integrate given that it's a single container.
I will open a new branch to get it integrated, test it out, and add some usage examples.  Thanks for the callout!

Nice 😊 thanks 🙏
By the way you could also try this if you want instead of Trino.
/

@rylativity I recently discovered the querybook from Pinterest. So it also could be a good solution. https://www.querybook.org.

@YuriyGavrilov Yeah, I opened a branch to start integrating Metabase and realized that it doesn't support Trino. Thinking through how to proceed.
I will take a look at the other tools you mentioned. Thanks for the suggestions!

@rylativity great 👍 will keep in touch. thanks for the effort


VS Extension v1.9.3 fails to load

Environments

IDE Version: Microsoft Visual Studio Enterprise 2022 (64-bit) - Current, Version 17.10.3
Extension Version: 1.9.3
CSharpier Version:   0.30.3
Operating System: Windows 11, Version 10.0.22631 Build 22631
.csharpierrc Settings: None
.editorconfig Settings: None

Screenshot

Log Output
SetSite failed for package [CSharpierPackage]Source: 'CSharpier.VisualStudio' Description: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.Threading, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at CSharpier.VisualStudio.CSharpierPackage.InitializeAsync(CancellationToken cancellationToken, IProgress`1 progress)
   at Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass21_0.<<Microsoft-VisualStudio-Shell-Interop-IAsyncLoadablePackageInitialize-Initialize>b__1>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)
   at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Steps to reproduce
Install the extension, open Visual Studio 2022

Sorry about that - it appears that updating the Microsoft.VisualStudio.SDK package reference makes the extension depend on that newer version of VisualStudio. I reverted those updates and I believe things will work properly in older versions now. I was on the latest so couldn't reproduce it.

No worries, thanks for your help!


[#741 subtask]  Starwhale runtime supports to define and include native files

Current Behavior
No support.
Proposed Behavior
#741

https://github.com/star-whale/starwhale/pull/766


Cannot push to gcr.io with recent kaniko executor > 0.1.0

Expected Behavior
Our build currently depends on a recent kaniko executor.  It may be possible to use the 0.1.0, but we are seeing errors resolving build args that "just work" with later releases.  This issue did not present itself until we tried to push to gcr.io instead of dockerhub.  I would expect that we could push regardless of registry as long as the creds are valid.
Actual Behavior
Get an access denied message when pushing to gcr.io.
Steps to Reproduce the Problem
Simple script is attached to repro the issue.
bug.sh.txt
That script should fail.  If the executor image in build-bug.yaml is changed to v0.1.0, it works.  Also if docker credentials are substituted in and the destination is dockerhub, it works as well (even with the latest executor).

Additional Info
This could very well be a kaniko issue not a knative issue.

/cc @priyawadhwa in case this sounds familiar as a kaniko bug

I'm not familiar with this bug 😞 @berndtj would you mind opening an issue in the kaniko repo? With some more info we should be able to figure out if it's a bug in kaniko.

Sure, will do

https://github.com/GoogleContainerTools/kaniko/issues/392


Monitor log is huge

From<EMAIL_ADDRESS>on 2010-12-02T13:20:50Z
What steps will reproduce the problem?

Running spyder with monitor option turned on produces a huge monitor log What is the expected output? What do you see instead? After a few hours the monitor log is about 32G. What version of the product are you using? On what operating system? 2.0.0.rc1, OpenSuse 11.3

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=487

From pierre.raybaut on 2010-12-02T10:38:02Z
Could you please delete it and re-run Spyder with monitor enabled, and then look inside it?
This file contains precious data regarding console/monitor errors.

From pierre.raybaut on 2010-12-02T10:39:03Z
Oh, BTW, please upgrade your Spyder installation to latest stable release (currently v2.0.2 and very soon v2.0.3).

From<EMAIL_ADDRESS>on 2010-12-07T09:44:31Z
The log shows the same information many times at different times:
======================================
Logging time: Thu Dec  2 09:36:00 2010
======================================
Context
-------
<spyderlib.widgets.externalshell.monitor.PacketNotReceived object at 0xafed50>
Traceback
---------
Traceback (most recent call last):
File "/usr/local/lib/python2.6/site-packages/spyderlib/widgets/externalshell/monitor.py", line 401, in run
command = read_packet(self.i_request, timeout=timeout)
File "/usr/local/lib/python2.6/site-packages/spyderlib/widgets/externalshell/monitor.py", line 80, in read_packet
dlen, = struct.unpack("l", datalen)
error: unpack requires a string argument of length 8

From pierre.raybaut on 2011-05-16T01:20:40Z
Labels: Cat-Console

From pierre.raybaut on 2012-04-14T00:07:41Z
This issue being very old, I will assume that the problem may have been solved in the meantime. If not, please do not hesitate to re-open this issue.
Status: Done


Community: Resolved Cohere API response error and added additional info from the API response

Description:
Providing bug fix to https://github.com/langchain-ai/langchain/issues/20484 as well as adding "is_search_required" and showing the "token_count" and "billed_token_count"
Issue:
https://github.com/langchain-ai/langchain/issues/20484
Dependencies:
No additional dependencies

Closing, as I realized the issue actually stems from langchain_community cohere being no longer recommended and langchain_cohere being the recommended approach.  My original issue was also due to a versioning difference in the cohere library.


Add FFmpeg for video support

Since Monogame doesn't support other OS for their video support, and i guess it would be a pain to handle, i think FFmpeg could be a good option, as it is supported by any platform, plus it could be easily integrated with the rate system to change the video speed etc.

FFmpeg API is not for the faint hearted from my experience working with it. Although maybe we can take something from the osu-framework?

Yeah we probably could since it's under MIT, tho i never used ffmpeg in a project, so i don't know how hard this will be to implement in wobble


Fix github linting issues

Updated the github linter version to be the same as my local machine. This seems to be enough for this PR to pass at least.


Factor graph models

Hi,
This code base contains a linear model for the repair task; while the paper mentions Factor graph model. Does the linear model achieve the same performance as the factor model? If not, do you plan to release the code for the factor model as well?
Thanks,
Suresh

same question here.