text:
Add support for resolving a plugin from NuGetv3

Is your feature request related to a problem? Please describe.
My scenario is a platform-styled server application that uses "Connectors" to act on a workflow. As of now, the server has to be recompiled with the appropriate connectors. This library enables me to use the plugin model which is fantastic, but still requires manually deploying the plugins to the server. It's certainly workable.
Describe the solution you'd like
I'd like a method that would, given a nuget packageId and optionally version, download & install the plugin and do the same for any unresolved dependencies, so that it could be loaded by this library.
Describe alternatives you've considered
The alternative is to do all the heavy lifting with NuGet in a separate library specialized for that, and then load the plugin as a step 2.
Additional Context
The NuGet feed I would resolve the plugin from would be secured & trusted for code execution security purposes. The dependent packages could resolve from either feed.

Thanks, I'll go ahead and close this then, think it helps define the scope!

I'm sad that this issue was closed. I think it would be fantastic to be able to resolve dependencies to their respective nuget package.

Just to clarify, the loader is already capable of resolving assemblies out of the NuGet cache. What I'm not planning to fix, however, is a feature to place packages into the NuGet cache as your app is running. I believe that's a behavior better left to the .NET SDK. It would be very difficult to implement this without basically just running Process.Start("dotnet", "restore").

When developers write plugins for my app they will most likely reference nuget packages that may or may not be present on the end-user's machine. If this library does not fetch the missing packages, that means that my app must do it right? (or I could ask developers to refrain from using nuget packages at all, but I'm afraid that would not be well received).
Do you have suggestions how we could go about discovering the missing packages that a given plugin depends on?

I would recommend developers writing plugins for your app use dotnet publish to gather the plugin, and its dependencies, into a single folder. How developers bundle up that folder, distribute it, and how your app finds the plugin is still up to you. I'm open to discussing solutions for those problems -- one of those solutions might involve NuGet -- but providing a general solution for those problems is not a top priority.

authors: Jericho natemcmaster psibernetic

repo: natemcmaster/DotNetCorePlugins


text:
Tweaks to threaded web server

Can we disable printing from the threaded web server by default? It means you can't just run the threaded web server in the background in the same shell.
Also, ideally, we'd start up and shut down the threaded web server in compare.py.

Great solution! (fixed in #3)

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Open source license?

Your work looks really interesting, but I could not find a license in this repository.
Would you consider sharing your code under an open source license?

You're right, I have just added one, hope it helps!

Fantastic, thank you!

authors: hayesall nathangrinsztajn

repo: nathangrinsztajn/Box-World


text:
Class 'Parser' not found

Hi @nathanmac,
I have install nathanmac/parser in xxamp apche, it is working, but when I deploy  my project. I have a problem Class 'Parser' not found. I am using laravel 5.1
you can give me any solution to this problem ?
Thank

You should add
Nathanmac\Utilities\Parser\ParserServiceProvider::class, and 'Parser'    => Nathanmac\Utilities\Parser\Facades\Parser::class, in app.php

Also make sure you're running composer install on your deployed instance.  You could also commit/copy your vendor/ directory to the production instance, but that's generally considered a bad approach, and kinda defeats the purpose of Composer.

authors: danhunsaker gpphong8th2 kossa

repo: nathanmac/Parser

license: mit

license_source: bigquery


text:
Load wav from resource

Hi,
Is it possible to read short wave files (sound effects) from embedded resources files (Properties.Resource.)?
The WaveFilereader only works from physical file.
Resources ares stored as UnmanagedMemoryStream.

You can do it like this:
            var assembly = Assembly.GetExecutingAssembly();
            var assemblyName = assembly.FullName.Split(',')[0] ?? string.Empty;
            var resourceName = $"{assemblyName}.{fileName}";
            var resource = assembly.GetManifestResourceStream(resourceName);

            if (resource != null)
            {
                lock (_mutex)
                {
                    using (var audioFile = new WaveFileReader(resource))
                    using (var outputDevice = new WaveOutEvent())
                    {
                        outputDevice.Init(audioFile);
                        outputDevice.Play();
                        while (outputDevice.PlaybackState == PlaybackState.Playing)
                        {
                            Thread.Sleep(500);
                        }
                    }
                }
            }

I think there is a simpler way:
var importer = new RawSourceWaveStream(Properties.Resources.click, new WaveFormat();
var soundFx  = new WaveOut();
soundFx.Init(importer);
soundFx.Play();

repo: naudio/NAudio


text:
Crashes on Windows 10 N or KN (should inform about missing Media Features Pack instead)

In some places in this package, you assume that the user has installed the Media Feature Pack installed. Please add it as an optional to the library or at least inform the user about that this package is missing instead of just throwing an error for the missing mfplat.dll.

There are several reasons why media foundation might not be available. Is typically missing on server versions of Windows, is not available in XP, and also I don't think it's typically there in Azure Cloud Services. So I'm not sure there's one easy error message that will always tell the user why they can't use it. But it's a good suggestion and I'm open to pull requests that improve the error message.

authors: SimonSimCity markheath


text:
Jobs Approval Queue page Action buttons need tool tips

Environment

Python version: 3.8
Nautobot version: 1.2.0a1

Proposed Functionality
The Jobs Approval Queue page should have tool tips for the Actions buttons

Use Case
It's fairly obvious that the red X Action button denies the approval.  It's not entirely clear what the difference between the green check button and the play button are (dry-run vs approve).  The user should see the function when hovering over the button.

Addressed in next by #940.

authors: glennmatthews tim-fiola

repo: nautobot/nautobot


text:
🛑 Harmony Bot Website is down

In 9fb98fb, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in e57843c.


text:
🛑 Harmony Bot Website is down

In 78d827f, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in f0aaeea.


text:
🛑 Harmony Bot Website is down

In 2840b26, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in b9f01ae.


text:
🛑 Harmony Bot Website is down

In 43ef465, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in d7d3042.


text:
🛑 Harmony Bot Website is down

In a67c71c, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 677e356.


text:
🛑 Harmony Bot Website is down

In 9ea2c60, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 6424567.


text:
🛑 Harmony Bot Website is down

In becc298, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in ba7991d.


text:
🛑 Harmony Bot Website is down

In fe86708, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 729315c.


text:
🛑 Harmony Bot Website is down

In ce1955d, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 41587ea.


text:
🛑 Harmony Bot Website is down

In a22e163, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 9e807e4.


text:
🛑 Harmony Bot Website is down

In 94ff9f5, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 24fa0ac.


text:
Is this library maintained any longer?

Wondering if this library is actively maintained any longer. There are many unanswered pull requests as well as issues.

+1

+1

+1

I posted a few issues a while ago and they haven't been fixed yet. I switched to this library:
https://github.com/rey5137/material

@mehrad-rafigh I checked out this library and while looking quite promising it has unfortunately many bugs and inconsistencies. I could not get the progress indicator to work. The date picker was broken then the dev fixed it and broke it again and fixed it. The most alarming thing to me was that the picker was actually broken in L where (I think) it should have been using the original (system picker). Just glance over some of the issues.
There are a few pretty good L libraries but unfortunately not quite anyone of them is good and stable enough. I wish all these devs developing all these disparaate libs could join forces and we could finally have a polished library.

@inteist  +1 for you.
I'm abandoned this library.

@ppamorim did you mean the Rey Pham's library? https://github.com/rey5137/material ?
I was commenting on Rey's library --> https://github.com/rey5137/material
I did not try this repo's library as I did not even want to try something that is not maintained.
If you did mean Rey's library. What are you using instead?
I am using
com.pnikosis:materialish-progress    for progress indicator and
I am using the version 1.1 of Rey's library for date picker but only because I don't see anything better.
I think Rey's library is very nicely done. I provided the dev. some feedback which he even implemented I saw but when I had problem with the progress dialog he did not get back to me after the supposed fix that had to fix the issue but was not working for me still.

@inteist I use the Rey library too.

+1

Hi sorry but I'd had a lot of work in my job, but I come back! And I'm trying fix the bugs! I upload a new version today!

Welcome back @navasmdc :)

authors: adamski8 inteist jmvines mehrad-rafigh navasmdc ppamorim shkschneider sohayb

repo: navasmdc/MaterialDesignLibrary


text:
Allows the Option in Acceptor setting in the setup file

description
Currently, Option in Collector's PinpointServerAcceptor settings are forced to be programmatically.
Will change to allows the Option in Collector's PinpointServerAcceptor setting in the setup file(pinpoint-collector.properties).
Then, User can customize it for user's environment.

closed via #4351

repo: naver/pinpoint


text:
Color tokens / Action

Mulig dette fortsatt er work in progress men siden komponentene er dokumentert og color tokens etablert så lurer jeg på hvorfor Aksel bruker to litt ulike blåtoner og ulike semantiske gruppenavn til det som generelt kan oppfattes som samme rollefarge? Surface/Action.Selected #00459c og Surface/Action #0067c5. Se vedlagte eksempler.
Hvis man ser på input komponentene som har selected state (checked) så har de andre fargestiler enn Surface/Action.Selected som Switch, Removable Toggle, Toggle Chip, Toggle og Stepper har nå. Av sistnevnte er det vel kun Switch som faktisk har en selected state (checked), de andre som Chip, Toggle og Stepper er blå default i respektive Action og Interactive varianter. Selected state av Radio-button, Checkbox samt interaktive komponenter som HelpText er tildelt Surface/Action og Border/Action i samme stilsett i Core UI kit. Stepper komponentet har en miks av alt.
Hvorfor har man splittet en semantisk farge i to på denne måten og gitt de ulike valører?
For 7 mnd siden delte @Lilyngs et Slack innlegg på fargetema der  interaksjonsfarge er nevnt. Er det noe nytt i den sammenheng som påvirker det jeg omtaler her?

Det er 2 forskjellige ting ja. Mulig vi kan se på om vi bruker riktig farge på skjemaelementer og tabs som er valgt.

Burde vi ikke bare benytte en felles generisk action eller interactive token? Surface/Interactive, Text/Interactive, Icon/Interactive osv? Så kan de ulike state fargene som hover, active, visited etc justeres individuelt på komponentnivå? Syns å huske at vi kun opererte med interactive begrep på alt dette før og at alle semantiske tokens som Surface, Text, Icon, Border etc hadde en felles interactive blue. På Aksel står det om design tokens at det "forenkler vedlikeholdet av designet og sikrer en helhetlig visuell fremstilling på tvers av produkter". Når man har to ulike valører av blå og samtidig bruker de ulikt på samme type komponentutrykk (selected) så sikrer ikke det helhetlig fremstilling. En påskrudd eller selected/checked switch burde ha samme blå som en selected radio-button eller checkbox, eller en selected tab. En chip er vel ikke selected når den er blå default i Action variant? Stepper er også blå default i Interactive variant, så det er ikke en interaksjon som forårsaker det. Varianten heter ikke Selected.

@sjur-gr Eneste jeg ikke har fått update på i Figma er CTA button som fortsatt har Surface/Action. Sjekket med manuelt søk i Core Ui kit.

Surface.Action er uendret. Om vi endrer det gjør vi det med ny versjon av tokens. Som er en større jobb.

authors: Trent-NAV sjur-gr

repo: navikt/aksel


text:
Bom 320, rydde expressly, LosDto

Kontrakter 9.1.10 - pga feil ved lokalt bygg med 9.1.11

Har releaset 9.1.12 som er helt ok og brukes her.

source: gharchive/pull-request

authors: jolarsen mrsladek

repo: navikt/fp-sak


text:
Deploy av 1.1_2022.01.26.125639-3e02f8d

3e02f8d8dedba8ce1be68e9bd18c76dde3a9de6e

/promote dev-fss

repo: navikt/fp-tilbake-frontend


text:
Skip "old" oppfølgingstilfeller

For å begrense data genererer vi ikke aktivitetskrav for oppfølgingstilfeller som startet før 1.2.2022.

Med dette vil det jo betydelig fortere å prosessere Kafka-topic'et.

Jeg fikk ikke helt med meg diskusjonen i dag tidlig, hvis det var dette dere snakket om? Hvorfor er 1. feb 2022 valgt, eller var det bare for å velge noe tilbake i tid?

Ja, tanken var å velge en dato ca. et år tilbake i tid. Da kan vi være sikre på at man ikke skal vurdere aktivitetskrav for oppfølgingstilfellet i Modia.

authors: andersrognstad geir-waagboe

repo: navikt/isaktivitetskrav


text:
Rename OppfolgingstilfelleArbeidstaker to OppfolgingstilfellePerson

Reflect that Oppfolgingstilfelle can also be for a person that is not Arbeidstaker, in addition to Arbeidstaker.

Var en del steder jeg hadde glemt å fjerne/endre bruken av "arbeidstaker". Nå skal ikke "arbeidstaker" stå noe sted i repoet.

repo: navikt/isoppfolgingstilfelle


text:
Løsning på overføring av omsorgsdager trenger også den opprinnelige søknaden

Triple<Id, Søknad, Løsning> istedenfor Pair<Id, Løsning>

Overføringer av omsorgsdager is no more. RIP

authors: albrektsson fraadsbrandth


text:
Hello Nawal

Hi,
This is Swadesh (ShopNx). Could not find your email. Hence contacting you this way.
I am working on Javascript e-commerce (ShopNx) http://mshop.codenx.com/
I thought if you have time together we could make a much better product.
Contact me at admin@codenx.com

Hey! I'll contact you directly.
Cheers,
Matt

Hi, intresting, but this code is the on ein HitGub?
Andres
On Sat, May 6, 2017 at 9:39 PM, itswadesh notifications@github.com wrote:

Hi,
This is Swadesh (ShopNx). Could not find your email. Hence contacting you
this way.
I am working on Javascript e-commerce (ShopNx) http://mshop.codenx.com/
I thought if you have time together we could make a much better product.
Contact me at admin@codenx.com
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nawalgupta/angular2-shop/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/AVREuEF0CyF5rNv9lEndIM2H5xLtzEGrks5r3MxegaJpZM4NS4fm
.

No just a part of it
On Tue, May 16, 2017 at 3:27 PM, Andres Fernandez notifications@github.com
wrote:

Hi, intresting, but this code is the on ein HitGub?
Andres
On Sat, May 6, 2017 at 9:39 PM, itswadesh notifications@github.com
wrote:

Hi,
This is Swadesh (ShopNx). Could not find your email. Hence contacting you
this way.
I am working on Javascript e-commerce (ShopNx) http://mshop.codenx.com/
I thought if you have time together we could make a much better product.
Contact me at admin@codenx.com
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nawalgupta/angular2-shop/issues/2, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/
AVREuEF0CyF5rNv9lEndIM2H5xLtzEGrks5r3MxegaJpZM4NS4fm>
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nawalgupta/angular2-shop/issues/2#issuecomment-301734125,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABIv2IX0ZLt7mCCxKTCz9e3MEq6SQqo8ks5r6XMdgaJpZM4NS4fm
.

authors: AndresDFernandez itswadesh matthew1809


text:
Add information related to security in the Readme

I suggest you add this to the README:
By default this library is using aes-256-ctr.
CTR mode (without any additional authentication step) is malleable, which means that it is possible to change the meaning of the ciphertext.
Thus by default this library does not prevent users from modifying encrypted data.
This library should not be used to encrypt sensitive data.
Since the key is reused, if a user is able to guess the plaintext of one ciphertext he will be able to decrypt any ciphertext.
If this application is used to encrypt object ID it should not replace any additional control regarding rights since it is likely that the plaintext is guessable and that by default AES with CTR mode is malleable leading to IDOR.
This library is only adding security through obscurity.

For the record, before release 5.0.1, the key and iv where not mandatory which means that anyone  could have decrypted and modified the encrypted data.

Done.
Thnaks @Techbrunch

authors: Techbrunch nayzo

repo: nayzo/NzoUrlEncryptorBundle


text:
🛑 ISTAT is down

In 2e40ff7, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 44e33ad after 701 days, 6 hours, 47 minutes.

repo: nbbrd/sdmx-upptime


text:
🛑 IMF is down

In 55a02d6, IMF (http://dataservices.imf.org/REST/SDMX_XML.svc/Dataflow) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IMF is back up in 6549ba2 after 8 minutes.


text:
🛑 ESTAT is down

In 052df7c, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 65f5ff5 after 14 minutes.


text:
🛑 ESTAT is down

In a64393e, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in b6679fa after 10 minutes.


text:
🛑 ESTAT is down

In 1d4a8dc, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 711e0f3 after 5 minutes.


text:
🛑 ISTAT is down

In 10fb3eb, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 05e5f12 after 6 minutes.


text:
🛑 IMF is down

In efd961d, IMF (http://dataservices.imf.org/REST/SDMX_XML.svc/Dataflow) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IMF is back up in 2c97c35 after 19 minutes.


text:
🛑 ESTAT is down

In af5346a, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in fd25420 after 12 minutes.


text:
🛑 ESTAT is down

In 6377ba9, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in ce5caef after 12 minutes.


text:
🛑 IMF is down

In 23c30e1, IMF (http://dataservices.imf.org/REST/SDMX_XML.svc/Dataflow) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IMF is back up in 2b452af after 59 minutes.


text:
🛑 ESTAT is down

In 742b6ba, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in fefa9fa after 1 hour, 10 minutes.


text:
🛑 ESTAT is down

In 2b79faf, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 883bdb4 after 13 minutes.


text:
🛑 ESTAT is down

In 308f82b, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 2fe9d40 after 5 minutes.


text:
🛑 ISTAT is down

In b569351, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 7188aa6 after 17 minutes.


text:
🛑 ISTAT is down

In 00d3716, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 43a08a0 after 47 minutes.


text:
🛑 OECD is down

In 512116f, OECD (https://stats.oecd.org/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OECD is back up in 05f1914.


text:
🛑 ESTAT is down

In fd3d301, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 2df7c0a after 6 minutes.


text:
🛑 ESTAT is down

In f896db8, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 9d18b6a after 22 minutes.


text:
🛑 NBB is down

In 27f70a6, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 638 ms

Resolved: NBB is back up in 0f900c9.


text:
🛑 ESTAT is down

In 96d96fd, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in f77a50c.


text:
Like/Dislike doesn’t work when listening to a radio

Steps to reproduce:
Launch GPMDP and start a radio station (ex: Feel Good Dance/EDM)
Launch VS Code and like the song.
Expected results:
The song is liked
Additional information
Seems to work when playing from a playlist, just not with a single song/radio station.

Doesn't seem to be working for me with playlists either. I can play/pause and skip, but the rating commands seem to do nothing.

After a long delay, this should be fixed in 5141ac90c08443d4adac0c0dfe2385f254ea947d


text:
Cross-Platform Support?

Can this be run on non-Windows platforms (assuming Windows-specific UI code is factored out?)

https://github.com/nccgroup/MetadataPlus/blob/6e658244359e564a5e3ec0837dc47e6afa5d21cd/MetaDataPlus/MetadataPlus.csproj#L11C29-L11C34
This is a .NET 4.7.2 project. It would need to be .NET 6 in order for it to work on other platforms.

repo: nccgroup/MetadataPlus


text:
generalized ensure_list to ensure_sequence

input sequence type prevention
optional sequence convertion type

Можно ещё небольшой тест добавить, раз внутри функции появилось несколько условий.

Теперь есть: test_utils.py

repo: nccr-itmo/FEDOT


text:
Original citation check for Gilberts Skill Score

I think the original citation might be Gilbert, G. K., 1884: Finley’s tornado predictions. Amer. Meteor. J., 1 , 166–172. We should try to access this through the library and if that's correct provide the original citation.
This is likely to get merged to develop shortly based on the current reference but it should be double-checked.

Yes that's the original. Since it's not easily available to the public, I went with a more recent citation that defines and discuss the equation https://doi.org/10.1175/2009WAF2222350.1

In section 3a of that paper it says that ETS/GSS is from the 1884 paper

I have submitted PR #420 which:

Adds reference (Gilbert (1884)) to both the Gilbert Skill Score & Equitable Threat Score docstrings. (I wasn't sure which specific citation style was being used, so attempted to match the Hogan et al. (2010) citation style).
Adds DOI to previously listed reference (Hogan et al. (2010)) in both docstrings

Note re. tutorial:

In the Binary Categorical Scores tutorial, I didn't notice any citations re. either Gilbert Skill Score or equitable threat score. So unless I overlooked them, I don't believe the tutorial needs updating.

Re. the references in included.md (table of included categorical scores) - I am not sure what to do.
Currently, the table lists as its reference: Equitable Threat score (WWRP/WGNE Joint Working Group on Forecast Verification Research)
Ideally, if the Gilbert article had a URL to a freely available article, I would add that.
I am happy to add the DOI for the Hogan et al (2010) article, but my only concern about doing that, is without the additional context (which cannnot fit in the table), is it clear this is not the original citation? Or does that not really matter?
Question:

Should I leave the included.md reference as is (the CAWCR verification site reference)?
Should I add Hogan et al. (2010) to the existing reference?
Should I replace the existing reference with Hogan et al. (2010)?

Please go with option (2), add Hogan et al. (2010) to the table as the first reference, leaving in the existing reference to the CAWCR site.

Please go with option (2), add Hogan et al. (2010) to the table as the first reference, leaving in the existing reference to the CAWCR site.

Done (PR #456).
If PR #456 is merged, I believe this issue can be closed.

authors: Steph-Chong nicholasloveday tennlee

repo: nci/scores


text:
mount creates duplicate files on Google Drive

Output of rclone version
rclone v1.42β

os/arch: linux/amd64
go version: go1.10.1

Fedora 28, xfce4, thunar file manager
I am reporting this issue because I am using the latest beta version of rclone and using mount.
Describe the issue
I am using this rclone command:
rclone mount cda:choeurdelaude/  /home/hwright/choeurdelaude/ --vfs-cache-mode full --cache-dir /home/hwright/.rclone --delete-before
with this config file:
[cda]
type = drive
client_id =
client_secret =
scope = drive
root_folder_id =
service_account_file =
token = {"access_token":"01234567890123456789","token_type":"Bearer","refresh_token":"0123456789"}
(access tokens are modified for this posting)
a) Run the command = my google drive is mounted.
b) Create a directory 'rclone test' on local machine using thunar = directory is created on Google Drive
c) Create an empty file in rclone test on local machine = empty file is created in rclone test on GD
d) Add data to empty file on local machine with Geany and save = duplicate file is created in rclone test directory on GD. My original empty file remains and a new one is added with different length.
e) add more data to file with Geany = a third duplicate is created with new length on GD.
Repeat as many times as you like. Each time you get a duplicate on the GD. Duplicates are not shown in the local mount
BUT WAIT, things get worse.
Unmount on local machine = GD is unmounted
Issue same mount command again = GD is mounted
Modify test file = OH NO! The last made changes have been lost. The file is empty! ie put back to its original state when it was first created.
Are there some parameters that I am missing?
Using dedupe does not seem to me to be a solution unless it can be invoked silently on the mount command because when would I run it? I don't really want to start having to make a shut down script to do that.
Let me know what other information I can provide to help solve this issue.
I have scanned the issues and it does appear that there are a number of similar issues but none relating to mount. It seems this is a long running issue but since I am using the latest beta, I thought it worth reporting.

I tried to replicate this issue with geany on Ubuntu 18.10 but I didn't succeed - it all worked perfectly :-(
The latest version of rclone is 1.44 - can you try with that?
It is probably a variant of #28 but if you can get it to do it reliably it may not be.
Can you attach a log with -vv from the mount please if you can get it to go wrong with 1.44?  If you could start a new mount then work through your steps a)-e) then stop the mount and attache the log that would be perfect.

Unmount on local machine = GD is unmounted
Issue same mount command again = GD is mounted
Modify test file = OH NO! The last made changes have been lost. The file is empty! ie put back to its original state when it was first created

The new file is on google drive almost certainly, just not being shown to you.

Hello Nick,
I have installed version 1.44 - I cannot replicate the problem.
No duplicate files are created and the data is not lost after unmount.
Thanks for your help.
On Sat, 2018-11-17 at 11:33 -0800, Nick Craig-Wood wrote:

I tried to replicate this issue with geany on Ubuntu 18.10 but I
didn't succeed - it all worked perfectly :-(
The latest version of rclone is 1.44 - can you try with that?
It is probably a variant of #28 but if you can get it to do it
reliably it may not be.
Can you attach a log with -vv from the mount please if you can get it
to go wrong with 1.44?  If you could start a new mount then work
through your steps a)-e) then stop the mount and attache the log that
would be perfect.

Unmount on local machine = GD is unmounted
Issue same mount command again = GD is mounted
Modify test file = OH NO! The last made changes have been lost. The
file is empty! ie put back to its original state when it was first
created

The new file is on google drive almost certainly, just not being
shown to you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c5
5493e4bb","name":"GitHub"},"entity":{"external_key":"github/ncw/rclon
e","title":"ncw/rclone","subtitle":"GitHub
repository","main_image_url":"
https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open
in GitHub","url":"
https://github.com/ncw/rclone"}},"updates":{"snippets":[{"icon":"PERSON","message":"@ncw
in #2742: I tried to replicate this issue with geany on Ubuntu 18.10
but I didn't succeed - it all worked perfectly :-(\r\n\r\nThe latest
version of rclone is 1.44 - can you
try with that?\r\n\r\nIt is probably a variant of #28 but if you can
get it to do it reliably it may not be.\r\n\r\nCan you attach a log
with -vv from the mount please if you can get it to go wrong with
1.44?  If you could start a new mount then work through your steps
a)-e) then stop the mount and attache the log that would be
perfect.\r\n\r\n\u003e Unmount on local machine = GD is
unmounted\r\n\u003e Issue same mount command again = GD is
mounted\r\n\u003e Modify test file = OH NO! The last made changes
have been lost. The file is empty! ie put back to its original state
when it was first created\r\n\r\nThe new file is on google drive
almost certainly, just not being shown to
you."}],"action":{"name":"View Issue","url":"
https://github.com/ncw/rclone/issues/2742#issuecomment-439641860"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "
https://github.com/ncw/rclone/issues/2742#issuecomment-439641860",
"url": "
https://github.com/ncw/rclone/issues/2742#issuecomment-439641860",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [ncw/rclone] mount creates duplicate files on Google
Drive (#2742)",
"sections": [
{
"text": "",
"activityTitle": "Nick Craig-Wood",
"activityImage": "
https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@ncw",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName":
"IssueComment",\n"repositoryFullName":
"ncw/rclone",\n"issueId": 2742,\n"IssueComment":
"{{IssueComment.value}}"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "IssueClose",\n"repositoryFullName":
"ncw/rclone",\n"issueId": 2742\n}"
},
{
"targets": [
{
"os": "default",
"uri": "
https://github.com/ncw/rclone/issues/2742#issuecomment-439641860"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "MuteNotification",\n"threadId":
412553833\n}"
}
],
"themeColor": "26292E"
}
]

@dreamstorpi that is good news!
I'll close this issue again - we can always re-open it if the problem comes up again.

authors: dreamstorpi ncw

repo: ncw/rclone


text:
updated implemented frameworks

What kind of change are you introducing

[ ] Breaking change
[x] New framework implementation
[ ] Misc. lib improvement

What changes have you made

added preact implementation
added nuxt3 implementation
added svelte + rollup and vite-svelte

:tada: This PR is included in version 0.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
linux-linaro-qcom: Fix build with gcc7

Backport a patch from upstream
Signed-off-by: Khem Raj raj.khem@gmail.com

@kraj thanks. i merged it. however I noticed it was merged in 4.9 stable. I am looking at merging stable-4.9 into our release branch soonish. so i will revert this change once this is done.

yes its back ported into 4.9.20, you can unbolt it when you upgrade past that version.

authors: kraj ndechesne

repo: ndechesne/meta-qcom


text:
Trouble using the Llama2 models

Hi everyone :)
I'm trying to use the Llama2 models in nnsight but I get the following error:
File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/transformers/models/llama/modeling_llama.py", line 141, in forward
    with torch.autocast(device_type=device_type, enabled=False):
File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/torch/amp/autocast_mode.py", line 241, in __init__
    raise RuntimeError(
RuntimeError: User specified an unsupported autocast device_type 'meta'

The error can be reproduced using this code (taken from your walkthrough):
from nnsight import LanguageModel

model = LanguageModel('daryl149/llama-2-7b-chat-hf', device_map="auto")

print(model)

with model.trace('The Eiffel Tower is in the city of'):

  # Access the last layer using h[-1] as it's a ModuleList
  # Access the first index of .output as that's where the hidden states are.
  model.transformer.h[-1].mlp.output[0][:] = 0

  # Logits come out of model.lm_head and we apply argmax to get the predicted token ids.
  token_ids = model.lm_head.output.argmax(dim=-1).save()

print("Token IDs:", token_ids)

# Apply the tokenizer to decode the ids into words after the tracing context.
print("Prediction:", model.tokenizer.decode(token_ids[0][-1]))

Does anyone know how to solve this problem? Mistral models run fine.
Thank you :)

@MattBortoletto Yeah this seems like a problem with using autocast with 'meta' tensors. For now, you can dispatch the model on init like model = LanguageModel('daryl149/llama-2-7b-chat-hf', device_map="auto", dispatch=True) or turn scanning off like with model.trace('The Eiffel Tower is in the city of', scan=False):

Thank you, it works! However, when I use the 70B model I get the error
File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/accelerate/utils/modeling.py", line 406, in set_module_tensor_to_device
    new_value = param_cls(new_value, requires_grad=old_value.requires_grad).to(device)
TypeError: inner() got an unexpected keyword argument 'requires_grad'

Code to reproduce:
from nnsight import LanguageModel

model = LanguageModel('daryl149/llama-2-70b-chat-hf', device_map="auto", dispatch=True, cache_dir="/scratch/bortoletto/llm_weights")

with model.trace('The Eiffel Tower is in the city of'):

  breakpoint()

Any idea on how to solve this?

@MattBortoletto could you post the full stack trace?

@JadenFiotto-Kaufman sure:

  File "test.py", line 7, in <module>
    with model.trace('The Eiffel Tower is in the city of'):
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/nnsight/models/NNsightModel.py", line 196, in trace
    runner.invoke(*inputs, **invoker_args).__enter__()
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/nnsight/contexts/Invoker.py", line 67, in __enter__
    self.tracer._model._execute(
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/nnsight/models/mixins/Generation.py", line 21, in _execute
    return self._execute_forward(prepared_inputs, *args, **kwargs)
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/nnsight/models/LanguageModel.py", line 276, in _execute_forward
    return self._model(
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1561, in _call_impl
    result = forward_call(*args, **kwargs)
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/accelerate/hooks.py", line 166, in new_forward
    output = module._old_forward(*args, **kwargs)
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/transformers/models/llama/modeling_llama.py", line 1176, in forward
    outputs = self.model(
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1561, in _call_impl
    result = forward_call(*args, **kwargs)
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/transformers/models/llama/modeling_llama.py", line 1019, in forward
    layer_outputs = decoder_layer(
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1561, in _call_impl
    result = forward_call(*args, **kwargs)
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/accelerate/hooks.py", line 166, in new_forward
    output = module._old_forward(*args, **kwargs)
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/transformers/models/llama/modeling_llama.py", line 737, in forward
    hidden_states = self.input_layernorm(hidden_states)
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1511, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1561, in _call_impl
    result = forward_call(*args, **kwargs)
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/accelerate/hooks.py", line 167, in new_forward
    return module._hf_hook.post_forward(module, output)
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/accelerate/hooks.py", line 368, in post_forward
    set_module_tensor_to_device(module, name, "meta")
  File "/opt/anaconda3/envs/llm/lib/python3.8/site-packages/accelerate/utils/modeling.py", line 407, in set_module_tensor_to_device
    new_value = param_cls(new_value, requires_grad=old_value.requires_grad).to(device)
TypeError: inner() got an unexpected keyword argument 'requires_grad'

@JadenFiotto-Kaufman update: I get the same error with Mixtral-8x7B-Instruct-v0.1. It must have something to do with the model's size.

@MattBortoletto I dont think its a model size thing. Has to do with FakeTensors and then not be handled correctly in every situation. You can avoid this by turning off scanning for your tracing/invoking  as a workaround for now like:

with model.trace('The Eiffel Tower is in the city of', scan=False, validate=False):

authors: JadenFiotto-Kaufman MattBortoletto

repo: ndif-team/nnsight


text:
Do not require @NoRefactor for hints that don't support refactoring

The goals are (1) document exactly which hints don't support refactoring, and (2) no longer require @NoRefactor for those hints (which is the vast majority of @NoRefactor); use @NoRefactor only for other issues like bugs.
If a test case has a hint where ideaRefactorings = [], the hint must be added to the list of hints that don't support refactorings, and no @NoRefactoring is required (I would also like to check the other direction, namely every hint in the list indeed has an empty ideaRefactoring, but this is currently not possible since some hints such as "Redundant return" sometimes support refactoring and sometimes don't).
This uncovers two previously unknown hlint refactoring bugs and one apply-refact bug.

I'm not a massive fan of centralising a list of all the names that don't support refactoring. We've been fairly lose with the names and not assigning them much identity thus-far, and that gives us a certain level of freedom we lose with this patch. Isn't null . ideaRefactoring enough of a hint that in this case the hint isn't supported by this hint?
Looking at the type, why is ideaRefactoring a list and not a Maybe? I wouldn't be averse to making it a type:
data Refactor = Refactor (Refactoring R.SrcSpan) | NoRefactor

And then if what you're looking to do is grep for no refactorings you could grep for NoRefactor?

I think the general goal of using @NoRefactor type annotations for bugs rather than not-yet-implemented is a good one.

Adding a NoRefactor constructor sounds good to me.

Looking at the type, why is ideaRefactoring a list and not a Maybe?

Some hints require more than one Refactorings, for example
import A (foo)
import A (bar)
import A (baz)

requires one Replace and two Deletes. In this particular case it may be possible to use a single Refactoring, but I imagine in some cases you may want to change both an expression and a type, and that definitely needs two Refactorings.

OK, cool, that makes a lot of sense why its a list.

@ndmitchell It occurred to me that we don't really have much freedom with hint names anyway, since hint names are needed in order to enable and disable hints, and so changing a name could break many people's .hlint.yaml.
Given that circumstance, it seems reasonable to put the names of all hints that don't support refactoring in one place, which is convenient as a quick reference. What do you think?

I'm reminded that a feature request comes my way every so often for the ability to "list all hints". Perhaps together with this  we might implement an option to generate a report detailing hints, enabled/disabled status, refactor capable and whatever else we can think of?

@shayne-fletcher very good point. I only recently became aware of the "Use module export list" hint (disabled by default). I had no idea before that it existed.
One option is to generate the list of hints when running tests, provided each hint has at least one test case. We can even include an example for each hint, which can be the first test case for that hint.

I tried generating a summary of builtin hints as a side effect of running the tests, which looks like
* Hint: Avoid lambda (Suggestion)
  Sample input:
    f = foo (\y -> g x . h $ y)
  Found:
    \ y -> g x . h $ y
  Perhaps:
    g x . h
  Support refactoring: Sometimes

* Hint: Avoid lambda (Warning)
  Sample input:
    f = foo (\x y -> fun x y)
  Found:
    \ x y -> fun x y
  Perhaps:
    fun
  Support refactoring: Sometimes

* Hint: Avoid lambda using `infix` (Suggestion)
  Sample input:
    foo x = bar (\ d -> search d table)
  Found:
    (\ d -> search d table)
  Perhaps:
    (`search` table)
  Support refactoring: Yes

* Hint: Avoid restricted function (Warning)
  Sample input:
    foo = unsafePerformIO
  Found:
    unsafePerformIO
  Perhaps:
  Support refactoring: No

* Hint: Collapse lambdas (Suggestion)
  Sample input:
    f = foo (\x -> \y -> x x y y)
  Found:
    \ x -> \ y -> x x y y
  Perhaps:
    \ x y -> x x y y
  Support refactoring: Yes

* Hint: Eta reduce (Warning)
  Sample input:
    fun x y z = f x y z
  Found:
    fun x y z = f x y z
  Perhaps:
    fun = f
  Support refactoring: No

...

To make sure this is up to date, we can fail the test if the output is different from the existing summary, and add a --fix-summary flag to overwrite it.

That's awesome @zliu41! How about generating in markup or html and then we could probably arrange for a link to it from the README? Perhaps generating an index for it along the way?

Awesome. I think that will be an easy way to get what everyone wants! My suggestion would be we add --generate-summary flag to hlint test and make it write to a file. We check that file into the repo, which means we can serve it up as a web page on GitHub. Given that GitHub doesn't like serving up HTML that much, it suggests a .md file might be the best choice.
If we check that file into the repo, and regenerate it during the test, then if the file changes it will fail CI anyway. That way we'll have a test.

Really looking forward to seeing this @zliu41 !

SGTM! Will open another PR.

authors: ndmitchell shayne-fletcher zliu41

repo: ndmitchell/hlint


text:
Repo doesn't have default assigner

Repo should have default assigner for issues.
This way, when there are stale issues - it's clear who was suppose to review & respond to them.

Duplicate of #208

authors: evgenykuzyakov ilblackdragon

repo: near/near-sdk-rs


text:
Race conditions in tests

Finished dev [unoptimized + debuginfo] target(s) in 0.04s
 Running target/debug/deps/status_message-46714b88b66f7ea3

running 2 tests
test tests::set_get_message ... FAILED
test tests::get_nonexistent_message ... FAILED
failures:
---- tests::set_get_message stdout ----
thread 'tests::set_get_message' panicked at 'Register was expected to have data because we just wrote it into it.', src/libcore/option.rs:1166:5
---- tests::get_nonexistent_message stdout ----
thread 'tests::get_nonexistent_message' panicked at 'already borrowed: BorrowMutError', src/libcore/result.rs:1084:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.
failures:
tests::get_nonexistent_message
tests::set_get_message
test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out
Finished dev [unoptimized + debuginfo] target(s) in 0.04s
 Running target/debug/deps/status_message-46714b88b66f7ea3

running 2 tests
test tests::get_nonexistent_message ... ok
test tests::set_get_message ... FAILED
failures:
---- tests::set_get_message stdout ----
thread 'tests::set_get_message' panicked at 'already borrowed: BorrowMutError', src/libcore/result.rs:1084:5
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.

We either need to prevent unit tests from running concurrently for rust smart contracts since env::* accesses a shared static variable. Or we should put this variable(https://github.com/nearprotocol/near-bindgen/blob/4106110762d284639225a17958a1f87456e36a65/near-bindgen/src/environment/env.rs#L14) behind a thread_local https://doc.rust-lang.org/std/macro.thread_local.html

fixed by #23

authors: fckt nearmax

repo: nearprotocol/near-bindgen


text:
Book Recommendation bot

I have an idea for a book recommendation bot for your "Bot Collection" project. It would be a fantastic addition, and I would love to contribute to its development. The bot could offer personalized book suggestions based on user preferences, genres, and authors, providing detailed information and summary of the book. Please add me as a contributor under GSSoC to work on this.
It would be a great bot to learn and the user will get insights of the book before purchasing.

Hello,
I'm excited to collaborate with a developer on a book recommendation bot project on GitHub. I have experience in natural language processing and chatbot development, and I'm eager to create an intelligent and engaging bot to help users discover their next favorite book I'll try to make UI some interesting while deploying model. Please add me as a contributor under GSSoC to work on this.
Thanks.

Hi
I would like to work on this. Please can you assign it to me?


text:
fix: only install ex_doc in dev

the typo was causing ex_doc to be pegged for consuming applications

@negcx could you please take a look at this?

still an issue can this please be merged?

authors: RudolfMan dustinfarris

repo: negcx/seqfuzz


text:
⚠ Digital Ocean - https://status.digitalocean.com/ has degraded performance

In 1849a57, Digital Ocean - https://status.digitalocean.com/ (https://status.digitalocean.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 334 ms

Resolved: Digital Ocean - https://status.digitalocean.com/ performance has improved in fa70728.

repo: neil-buckley/ellis-status


text:
Strange behavior when editing Japanese rich-text on Chrome 55

I found strange behavior. Please help me!
You can reproduce this issue via Squire demo using Google Chrome version 55 on MacOS.
First of all, paste this HTML into the textarea,

【今日がんばったこと】

【今日ほめられたこと】

【今日お客さまに喜んでいただいたこと】

【次の出勤日にがんばること】

Second, put the cursor on the anywhere of the line 【今日お客さまに喜んでいただいたこと】, and type any Japanese text using IME. You can see very strange behavior, characters just after the cursor are overwritten by new characters that you are typing.
There is no problem by typing ASCII text. The problem is only occured in Japanese text.
Help me!

Sorry, I don't actually know how to type Japanese text with IME, so I can't help much debugging this.
I'm not actually doing anything special for character insertion, so normally this kind of thing works fine (e.g. alt-u then o to enter ó on a Mac). So, this could be a Chrome bug (does it reproduce in other browsers?), or it could be a Squire issue but I don't know how to reproduce and therefor debug it.

Thanks for your reply.
I think this issue is a Chrome bug. Other browsers work fine.
I reported this issue to Google team. So you can close this issue.

authors: MasahiroMorita neilj

repo: neilj/Squire


text:
Test

TEST

Hi everyone. I've tried msieve and now I've switched to YAFU
Could you please help me in factoring my AES key.
Software has encountered the following unknown AES keys, please crack them first
using msieve:
06271483167E7697F03407AF08C1E10185D388830DA4A20EF4B00C24A0EA6A01E23BCB7274141BDA
EC381D75768E3722276BFF1BE1F3F77C59FA6ABB2B142464 found in ./test.pdf.vvv
Alternatively, you can crack the following Bitcoin key(s) using msieve, and use
them with TeslaDecoder:
5113CE9C3BA756B3DE318ECFCC12AB4E92D9E75C51B87E81C77FE6EC55A91628D31FAB3CA084F09F
BE22EB883A02CF315F1C47D869609D4CA13FBF6FD5913CBC found in ./test.pdf.vvv
yafu-x64.exe "factor(0x06271483167E7697F03407AF08C1E10185D388830DA4A20EF4B00C24A0EA6A01E23BCB7274141BDAEC381D75768E3722276BFF1BE1F3F77C59FA6ABB2B142464)" -v -threads 4
Three days have passed, but it does not end
Now it is this state.Should I wait while this?
hashtable: 8192 entries,  0.13 MB
polynomial selection complete
R0: -1801997811703616160196891941
R1: 1267715720276989
A0: -145733234201978104535932630017781952
A1: -689510289864004435983916894676
A2: -158687415267296846122045
A3: 123024816272737838
A4: -1958288388
A5: 2664
skew 3066414.88, size 1.560e-013, alpha -7.659, combined = 2.143e-011 rroots = 3
elapsed time of 52867.3162 seconds exceeds 55905 second deadline; poly select done
searching for best poly...
new best score = 1.741000e-011, new best line = 1
new best score = 1.753000e-011, new best line = 9
new best score = 1.758000e-011, new best line = 21
new best score = 1.818000e-011, new best line = 26
new best score = 1.947000e-011, new best line = 48
new best score = 2.176000e-011, new best line = 350
new best score = 2.233000e-011, new best line = 3043
best poly:
norm 2.039457e-013 alpha -7.495928 e 2.233e-011 rroots 3
n: 50618036210596608030707088333276465126197614406175085085625182559887044647138650559329121064894995623651439137186413181470132750593184470061
skew: 1831681.21
c0: -24846631245053543211599969579204061
c1: -137064065632221367854619274170
c2: -45148820894553103069635
c3: 194827752759024270
c4: -1187126164
c5: 1560
Y0: -2005562304908831121013419070
Y1: 594224381294719
nfs: commencing algebraic side lattice sieving over range: 7060000 - 7080000
nfs: commencing algebraic side lattice sieving over range: 7000000 - 7020000
nfs: commencing algebraic side lattice sieving over range: 7040000 - 7060000
nfs: commencing algebraic side lattice sieving over range: 7020000 - 7040000
Warning:  lowering FB_bound to 6999999.
Warning:  lowering FB_bound to 7059999.
Warning:  lowering FB_bound to 7019999.
Warning:  lowering FB_bound to 7039999.
FBsize 476504+0 (deg 5), 910076+0 (deg 1)
FBsize 480307+0 (deg 5), 910076+0 (deg 1)
FBsize 477754+0 (deg 5), 910076+0 (deg 1)
FBsize 479016+0 (deg 5), 910076+0 (deg 1)
total yield: 56191, q=7054897 (0.04841 sec/rel)

Hi everyone. I've tried msieve and now I've switched to YAFU
Could you please help me in factoring my AES key.
Software has encountered the following unknown AES keys, please crack them first
using msieve:
06271483167E7697F03407AF08C1E10185D388830DA4A20EF4B00C24A0EA6A01E23BCB7274141BDA
EC381D75768E3722276BFF1BE1F3F77C59FA6ABB2B142464 found in ./1.pdf.vvv
Alternatively, you can crack the following Bitcoin key(s) using msieve, and use
them with TeslaDecoder:
5113CE9C3BA756B3DE318ECFCC12AB4E92D9E75C51B87E81C77FE6EC55A91628D31FAB3CA084F09F
BE22EB883A02CF315F1C47D869609D4CA13FBF6FD5913CBC found in ./1.pdf.vvv
yafu-x64.exe "factor(0x06271483167E7697F03407AF08C1E10185D388830DA4A20EF4B00C24A0EA6A01E23BCB7274141BDAEC381D75768E3722276BFF1BE1F3F77C59FA6ABB2B142464)" -v -threads 4

Three days have passed, but it does not end
Now it is this state.Should I wait while this?

hashtable: 8192 entries,  0.13 MB
polynomial selection complete
R0: -1801997811703616160196891941
R1: 1267715720276989
A0: -145733234201978104535932630017781952
A1: -689510289864004435983916894676
A2: -158687415267296846122045
A3: 123024816272737838
A4: -1958288388
A5: 2664
skew 3066414.88, size 1.560e-013, alpha -7.659, combined = 2.143e-011 rroots = 3
elapsed time of 52867.3162 seconds exceeds 55905 second deadline; poly select done
searching for best poly...
new best score = 1.741000e-011, new best line = 1
new best score = 1.753000e-011, new best line = 9
new best score = 1.758000e-011, new best line = 21
new best score = 1.818000e-011, new best line = 26
new best score = 1.947000e-011, new best line = 48
new best score = 2.176000e-011, new best line = 350
new best score = 2.233000e-011, new best line = 3043
best poly:
norm 2.039457e-013 alpha -7.495928 e 2.233e-011 rroots 3
n: 50618036210596608030707088333276465126197614406175085085625182559887044647138650559329121064894995623651439137186413181470132750593184470061
skew: 1831681.21
c0: -24846631245053543211599969579204061
c1: -137064065632221367854619274170
c2: -45148820894553103069635
c3: 194827752759024270
c4: -1187126164
c5: 1560
Y0: -2005562304908831121013419070
Y1: 594224381294719
nfs: commencing algebraic side lattice sieving over range: 7060000 - 7080000
nfs: commencing algebraic side lattice sieving over range: 7000000 - 7020000
nfs: commencing algebraic side lattice sieving over range: 7040000 - 7060000
nfs: commencing algebraic side lattice sieving over range: 7020000 - 7040000
Warning:  lowering FB_bound to 6999999.
Warning:  lowering FB_bound to 7059999.
Warning:  lowering FB_bound to 7019999.
Warning:  lowering FB_bound to 7039999.
FBsize 476504+0 (deg 5), 910076+0 (deg 1)
FBsize 480307+0 (deg 5), 910076+0 (deg 1)
FBsize 477754+0 (deg 5), 910076+0 (deg 1)
FBsize 479016+0 (deg 5), 910076+0 (deg 1)
total yield: 56191, q=7054897 (0.04841 sec/rel)

Hi everyone. I've tried msieve and now I've switched to YAFU
Could you please help me in factoring my AES key.
Software has encountered the following unknown AES keys, please crack them first
 using msieve:
06271483167E7697F03407AF08C1E10185D388830DA4A20EF4B00C24A0EA6A01E23BCB7274141BDA
EC381D75768E3722276BFF1BE1F3F77C59FA6ABB2B142464 found in ./1.pdf.vvv
Alternatively, you can crack the following Bitcoin key(s) using msieve, and use
them with TeslaDecoder:
5113CE9C3BA756B3DE318ECFCC12AB4E92D9E75C51B87E81C77FE6EC55A91628D31FAB3CA084F09F
BE22EB883A02CF315F1C47D869609D4CA13FBF6FD5913CBC found in ./1.pdf.vvv

yafu-x64.exe "factor(0x06271483167E7697F03407AF08C1E10185D388830DA4A20EF4B00C24A0EA6A01E23BCB7274141BDAEC381D75768E3722276BFF1BE1F3F77C59FA6ABB2B142464)" -v -threads 4
Three days have passed, but it does not end
Now it is this state.Should I wait while this?
hashtable: 8192 entries,  0.13 MB
polynomial selection complete
R0: -1801997811703616160196891941
R1: 1267715720276989
A0: -145733234201978104535932630017781952
A1: -689510289864004435983916894676
A2: -158687415267296846122045
A3: 123024816272737838
A4: -1958288388
A5: 2664
skew 3066414.88, size 1.560e-013, alpha -7.659, combined = 2.143e-011 rroots = 3
elapsed time of 52867.3162 seconds exceeds 55905 second deadline; poly select done
searching for best poly...
new best score = 1.741000e-011, new best line = 1
new best score = 1.753000e-011, new best line = 9
new best score = 1.758000e-011, new best line = 21
new best score = 1.818000e-011, new best line = 26
new best score = 1.947000e-011, new best line = 48
new best score = 2.176000e-011, new best line = 350
new best score = 2.233000e-011, new best line = 3043
best poly:
 norm 2.039457e-013 alpha -7.495928 e 2.233e-011 rroots 3
n: 50618036210596608030707088333276465126197614406175085085625182559887044647138650559329121064894995623651439137186413181470132750593184470061
skew: 1831681.21
c0: -24846631245053543211599969579204061
c1: -137064065632221367854619274170
c2: -45148820894553103069635
c3: 194827752759024270
c4: -1187126164
c5: 1560
Y0: -2005562304908831121013419070
Y1: 594224381294719
nfs: commencing algebraic side lattice sieving over range: 7060000 - 7080000
nfs: commencing algebraic side lattice sieving over range: 7000000 - 7020000
nfs: commencing algebraic side lattice sieving over range: 7040000 - 7060000
nfs: commencing algebraic side lattice sieving over range: 7020000 - 7040000
 Warning:  lowering FB_bound to 6999999.
 Warning:  lowering FB_bound to 7059999.
 Warning:  lowering FB_bound to 7019999.
 Warning:  lowering FB_bound to 7039999.
FBsize 476504+0 (deg 5), 910076+0 (deg 1)
FBsize 480307+0 (deg 5), 910076+0 (deg 1)
FBsize 477754+0 (deg 5), 910076+0 (deg 1)
FBsize 479016+0 (deg 5), 910076+0 (deg 1)
total yield: 56191, q=7054897 (0.04841 sec/rel)

repo: nekosuro/test

license: Unlicense


text:
Payment fails  with tripledes runtime error

From looking at the error's stack trace, I noticed this was coming from the tripledes package used with the plugin, since you authored both packages and I only added  directly referenced this, I figured I should open the issue here.
The exact error:  'Null' is not a subtype of type int in type cast.
Current flutter version: 2.5.2
Steps to reproduce:

Setup plugin
Setup Initializer and call Paymanger().prompt()
Fill in card details and hit pay.

PS: Run with sound nullsafety

Sorry, If I hadn't missed your PS, this would have been fixed a lot sooner
Checkout nravepay: ^1.2.2 if you are still experiencing this issue.
Closing this also. Feel free to reopen if anything

authors: asapJ nelstein

repo: nelstein/nravepay


text:
Transaction confirmation: Show aggregate information

When prompting for confirmation to sign an aggregate, relevant info should show in the transaction confirmation modal

@evias are you still on this one?

repo: nemfoundation/symbol-desktop-wallet


text:
Address with a hyphen when creating a simple transaction in Symbol desktop wallet

When I creating a simple transaction in Symbol desktop wallet, the address with a hyphen does not allow saving it.

Win7, Google Chrome, ver.0.13.8

Fixed (you can check in live build http://desktop-build.symboldev.com/)

repo: nemgrouplimited/symbol-desktop-wallet


text:
You get a parentheses!  You get a parentheses!  Everybody gets a parentheses!

Fixes https://github.com/neo4jrb/neo4j/issues/1187
This pull introduces/changes:

Parens!

Pings:
@subvertallchris
@vasspilka

👍

authors: cheerfulstoic subvertallchris


text:
TypeError: import_coc26.SnippetString is not a constructor

Hello there ! Today, I installed coc-tsserver extension and the installation successfullied but there was an error when I ran Neovim.
This is the error:
TypeError: import_coc26.SnippetString is not a constructor (at line 11725)
I went to the lib/index.js file and corrected this by changing the import_coc26.SnippetString to SnippetString only. I open this issue just to warn you about this error :)

Upgrade your coc.nvim to latest release please.

authors: Skythrew fannheyward

repo: neoclide/coc-tsserver


text:
fix(#7062): Timeline::shutdown can leave a dangling handle_walreceiver_connection tokio task

Problem
As pointed out through doc-comments in this PR, drop_old_connection is not cancellation-safe.
This means we can leave a handle_walreceiver_connection tokio task dangling during Timeline shutdown.
More details described in the corresponding issue #7062.
Solution
Don't cancel-by-drop the connection_manager_loop_step from the tokio::select!() in the task_mgr task.
Instead, transform the code to use a CancellationToken --- specifically, task_mgr::shutdown_token() --- and make code responsive to it.
The drop_old_connection() is still not cancellation-safe and also doesn't get a cancellation token, because there's no point inside the function where we could return early if cancellation were requested using a token.
We rely on the handle_walreceiver_connection to be sensitive to the TaskHandles cancellation token (argument name: cancellation).
Currently it checks for cancellation on each WAL message. It is probably also sensitive to Timeline::cancel because ultimately all that handle_walreceiver_connection does is interact with the Timeline.
In summary, the above means that the following code (which is found in Timeline::shutdown) now might take longer, but actually ensures that all handle_walreceiver_connection tasks are finished:
task_mgr::shutdown_tasks(
    Some(TaskKind::WalReceiverManager),
    Some(self.tenant_shard_id),
    Some(self.timeline_id)
)

Refs
refs #7062

I would prefer to see the subject for this PR and commit be:
-fix(#7062): ...
+fix(walreceiver): ...

The used form looks like conventional commits, which I often try to use as well. There should be some sort of component between the parentheses, not an issue number.

authors: koivunej problame

repo: neondatabase/neon


text:
Live

new massage format

merged

repo: neonevin/groovy-sharedlibs


text:
diff for luatest assert failures

Intercept output like this
...some_test.lua:116: expected:
{
    ...
}
actual:
{
   ...
}

And print sole "display differences" hyperlink to show the same in a diff window

hyperlinks:

click to any:

it all works if you add this to your project:
luatest-pretty-table.zip
It pretty-prints tables as jsons with sorted keys for stability (tables retain no order)

repo: neopaf/IntelliJ-EmmyLua


text:
Configure two-factor authentication per Open Mainframe Project guidelines

See https://github.com/openmainframeproject/tac/blob/master/process/contribution_guidelines.md

Completed.

repo: neopragma/cobol-check


text:
markdown error

try to create pull request

Thanks, but the existing markdown is intentional so that the reader actually sees the necessary fence syntax.

authors: epirus justinmk

repo: neovim/homebrew-neovim


text:
root_dir function is not called

Description
I tried to set up angularls in a Nx project. Therefore, i need to tell the language server, what the root of the project is, as angular.json is not available. I tried that for several hours with many different approaches, and didn't manage to do so. Now, i found out, that the root_dir function is not even called with the help of the vim.notify function. Unfortunately, this line is never reached whereas the line before and after are called.
Is this a bug? Thanks for your help!
Check out my configuration:
return {
	{
		"williamboman/mason.nvim",
		lazy = false,
		config = function()
			require("mason").setup()
		end,
	},
	{
		"williamboman/mason-lspconfig.nvim",
		lazy = false,
		opts = {
			auto_install = true,
		},
	},
	{ "tjdevries/vlog.nvim" },
	{
		"neovim/nvim-lspconfig",
		lazy = false,
		config = function()
			local capabilities = require("cmp_nvim_lsp").default_capabilities()
			local lspconfig = require("lspconfig")

			lspconfig.solargraph.setup({
				capabilities = capabilities,
			})
			lspconfig.html.setup({
				capabilities = capabilities,
			})
			lspconfig.lua_ls.setup({
				capabilities = capabilities,
			})
			lspconfig.nxls.setup({
				capabilities = capabilities,
			})
			lspconfig.tsserver.setup({
				capabilities = capabilities,
			})
			vim.notify("iin", vim.log.levels.INFO)
			lspconfig.angularls.setup({
				capabilities = capabilities,
				root_dir = function(fname)
					vim.notify("Root dir called", vim.log.levels.INFO)
					return "/Users/user/projects/akenza-ui1/"
				end,
			})
			vim.notify("Angular LSP server setup done", vim.log.levels.INFO)

			vim.keymap.set("n", "K", vim.lsp.buf.hover, {})
			vim.keymap.set("n", "<leader>gd", vim.lsp.buf.definition, {})
			vim.keymap.set("n", "<leader>gr", vim.lsp.buf.references, {})
			vim.keymap.set("n", "<leader>ca", vim.lsp.buf.code_action, {})
		end,
	},
}

root_dir is function type

okay @glepnir  thanks!
but it also is not called like this:
		lazy = false,
		config = function()
			local capabilities = require("cmp_nvim_lsp").default_capabilities()
			local lspconfig = require("lspconfig")
			local angular_root = function(fname)
				vim.notify("Root dir called", vim.log.levels.INFO)
				return "/Users/user/projects/akenza-ui1/"
			end
			lspconfig.solargraph.setup({
				capabilities = capabilities,
			})
			lspconfig.html.setup({
				capabilities = capabilities,
			})
			lspconfig.lua_ls.setup({
				capabilities = capabilities,
			})
			lspconfig.nxls.setup({
				capabilities = capabilities,
			})
			lspconfig.tsserver.setup({
				capabilities = capabilities,
			})
			vim.notify("iin", vim.log.levels.INFO)
			lspconfig.angularls.setup({
				capabilities = capabilities,
				root_dir = angular_root,
			})
			vim.notify("Angular LSP server setup done", vim.log.levels.INFO)

			vim.keymap.set("n", "K", vim.lsp.buf.hover, {})
			vim.keymap.set("n", "<leader>gd", vim.lsp.buf.definition, {})
			vim.keymap.set("n", "<leader>gr", vim.lsp.buf.references, {})
			vim.keymap.set("n", "<leader>ca", vim.lsp.buf.code_action, {})
		end,

i still think, this is a bug

authors: glepnir nicolaric

repo: neovim/nvim-lspconfig


text:
After updating nvim-lspconfig, some lsp-plugins do not work anymore (command is not executable)

nvim --version: nvim-lsp version(commit hash): NVIM v0.5.0-dev+1012-gfe1ebea33
:checkhealth result:

health#lspconfig#check
========================================================================
## Checking language server protocol configuration
  - ERROR: jsonls: The given command "vscode-json-languageserver" is not executable.
  - INFO: pyright: configuration checked.
  - INFO: gopls: configuration checked.
  - ERROR: tsserver: The given command "typescript-language-server" is not executable.
  - ERROR: yamlls: The given command "yaml-language-server" is not executable.
  - ERROR: html: The given command "html-languageserver" is not executable.
  -

What language server(If the problem is related to a specific language server): tsserver
Can you reproduce this behavior on other language server clients (vscode, languageclient-neovim, coc.nvim, etc.): yes, for example json
Operating system/version: macOS Big Sur
Terminal name/version: iTerm2
$TERM: xterm-256color

How to reproduce the problem from neovim startup
Open a file configured for the javascript/typescript language server or a json file.
Actual behaviour
Error executing "FileType Autokommandos für "javascript"":
E5108: Error executing lua .../share/nvim-osx64/share/nvim/runtime/lua/vim/lsp/rpc.lua:319: The given command "typescript-language-server" is not executable.

Expected behaviour
No error, LSP is loaded/started.
LSP log
[ INFO ] 2021-01-07T11:44:26+0100 ] .../share/nvim-osx64/share/nvim/runtime/lua/vim/lsp/rpc.lua:311 ]	"Starting RPC client"	{  args = { "--stdio" },  cmd = "typescript-language-server",  extra = {}}
[ INFO ] 2021-01-07T11:44:29+0100 ] ...ocal/share/nvim-osx64/share/nvim/runtime/lua/vim/lsp.lua:999 ]	"exit_handler"	{}

We deprecated the older installer, so if you used :LspInstall before, you'll need to reinstall
npm install -g typescript typescript-language-server

We deprecated the older installer, so if you used :LspInstall before, you'll need to reinstall
npm install -g typescript typescript-language-server

Thanks! This was not obvious for me, works now.

Thanks! This was not obvious for me, works now.

authors: mjlbach rverton


text:
Fix starting the LSP server when creating a new file

I ran into a problem where language servers weren't starting properly if I edited a new file (e.g. running nvim foo.go inside a git repository or directory with a go.mod file inside, but where foo.go doesn't yet exist), and think I've tracked down the issue.
As part of looking for the root directory, the code uses vim.loop.fs_realpath to resolve symlinks. This doesn't work if the path involved doesn't yet exist (such as when creating a new file). The current behavior is to give up at this point as the returned 'real' path is nil, but we can do better by taking the unresolved path and just allowing the iterate_parents path to get the directory that the file is in (which will likely exist in most cases). This change does just that - if fs_realpath returns nil, then we just proceed with the unresolved path.
This allows language servers to autostart even if the file doesn't yet exist. Apparently some language servers do require the file to exist beforehand anyway, but this will allow those without that restriction to work correctly. I tested it at least with terraform-ls and gopls and it seems to work fine.

Temporary fix based on this PR that people can include in their init.vim, in case someone else finds it useful:
local lspconfig = require'lspconfig'

lspconfig.util.path.iterate_parents = function(path)
  path = vim.loop.fs_realpath(path) or path
  local function it(s, v)
    if not v then return end
    if v == "/" then return end
    return lspconfig.util.path.dirname(v), path
  end
  return it, path, path
end

Update: Quickly ran into a bug that is also present in the PR. This triggered an infinite loop with "protocol paths" such as fugitive://a/b/c.
-    if v == "/" then return end
+    if v == "/" or v:match("^%a+:$") then return end

Sorry, I've been mulling over this change for awhile. I haven't changed this before, as there are certain language servers that make assumptions about the file being on disk as you've said, and also I'm not sure how servers will handle the corner case of the file being saved to a different location than the URI the servers think they are attached to. I think this is confusing enough for people that it's worth merging and dealing with corner cases for now.

authors: frangio mivok mjlbach


text:
Dockerfile

This is interesting. I don't use bash in web services anymore berfore.
Could you provide the Dockerfile to help people have a quick your work.

I didn't expect anyone to actually run this, but sure. I've made a Dockerfile but am having some errors. I'll fix those before I push.

I'd say a year is a good response time?
It now runs in Docker with Apache.


text:
Progress bar for mesh exporting step

Is your feature request related to a problem? Please describe.
I'm left hanging when my mesh file is large and therefore it would be nice to have a progress bar for that step.
Describe the solution you'd like
ETA would be nice, but some output of how large the mesh is or maybe how many triangles or vertices it has exported would also work.
Describe alternatives you've considered
No alternatives.
Additional context
ns-export poisson --load-config foo/config.yaml --output-dir bar/meshes --target-num-faces 100xxx

We are using a third party library which unfortunately doesn't provide information.

authors: sumukund tancik

repo: nerfstudio-project/nerfstudio


text:
Latest version seems broken on windows

When installing the latest version of viser through nerfstudio, gsplat, or even building directly from this repository I run into the same error.
:8080/assets/index-DhZhcn5r.js:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.
The server loads, however the webpage appears white.
This doesn't seem to be an issue with 0.2.0 or earlier.

Hello, thanks so much for reporting!
To clarify:

Does this happen even when you install via pip?
Is this reproducible across different web browsers? Would you be able to share which one you're using?

We have some folks at Berkeley who've been using Windows and haven't had problems, and I'm also not aware of any changes that would impact this. But I can try to fix if we're able to reproduce it.

I'm using chrome on windows.
It happens when installing from pip, or the latest version of nerfstudio from source. Installing nerfstudio from pip seems to install a much older version of viser. I had to directly call pip install viser==0.2.0 to get it to work with gsplat 1.1.1

I installed Parallels to check in Windows and wasn't able to reproduce in Chrome or Edge with Python 3.10~3.12.
Looking at the code it also doesn't seem like anything has changed that would cause the MIME type to break (this is how it's determined), so I unfortunately don't have a fix... if you have any other information for reproducing that could also be helpful.

@sam598  we figured out that this is caused by the windows registry not having a content type definition for .js file type, other users  report the same issue.. We fixed it by modifying the code here to read as follows:
mime_type = mimetypes.guess_type(relpath)[0]
if mime_type is None:
    mime_type = "application/octet-stream"
### FIX WINDOWS REGISTRY MIME TYPE ISSUE
if relpath.endswith(".js"):
    mime_type = "application/javascript"
response_headers = {
    "Content-Type": mime_type,
}

authors: brentyi quentin-dietz sam598

repo: nerfstudio-project/viser


text:
chore: add take api

The snapshot only records the internal state(registers and memory) of the running VM. To fully restore the scene, we need to support all syscall、cycle calculation function and debugger function, rebuilding is too expensive each time, this PR will be added all take_* API to get the information inside the VM to facilitate the reconstruction

I'm not sure about this change. Several considerations:

What work does rebuilding the syscalls and all surrounding environment requires? Which part is considered as the expensive part?
Have we performed analysis on the memory consumption when packing all the syscall structs together? Snapshotting VM alone can already be a memory consuming task, I wonder what the overall memory requirement would be if all syscalls are also packed.
A lot of CKB syscalls we use now has this structure, where we are only take references of the data structure owned by top level TransactionScriptsVerifier. This is the part I wasn't sure: if we take the syscalls out of the VM instance, we might need to deal with lifetime hassles that can bubble up fairly quickly. Maybe there is a solution, I just wasn't sure a clear and simple path exists.

Because of the lifetime, ckb may only be able to use the API take_cycle_func, the rest of the syscall may need to be rebuilt, but if the syscall is ‘static, the existence of these APIs will have positive benefits for rebuilding the overall environment.
What I mean is the step of loading all cells, because this operation currently cannot save the context. When using snapshots, it may be necessary to rewrite the state preservation problem of load cells, but this will bring a new problem. During the execution process, the saved cell state has been changed. It is a wrong behavior to continue execution. This is a place that needs careful consideration.
In addition, these take APIs did not bring any negative overall, I personally think it is worth doing this

To me take_cycle_func is just a pure function, I wonder how much benefit that's gonna bring.
I totally agree with you that cell loading might result in IO operations that could be a slowdown point. But a balancing factor, is that all those cells would take up memory space, where you are playing the game of over-consuming memory for fewer IO operations. I'm not saying we shouldn't do this, I'm just saying we will probably need numbers to showcase which side we want to lean against.
As for the state changing problem, I'm afraid I lost the context. To me all the cells used by a transaction would stay unchanged no matter when and where we run the scripts in the transaction. This is determined by the whole UTXO model. Even if you discard all the loaded cells, and at a later time, choose to resume and re-load all the cells, you should still be loading the same contents, otherwise we are facing a bigger problem.
Lastly, I believe APIs, especially public facing APIs would shape the way people use the library, so I cannot be on board at the moment with the changes only because they did not bring any negative overall

Okay, let me think about the issue here again and close this PR first

authors: driftluo xxuejie

repo: nervosnetwork/ckb-vm


text:
Command line doesn't work

Hello. In the second version, you added a command line but nothing happens when you enter these commands.
C:\uabea_rel2_win_x64\UABEAvalonia.exe -kd batchexport C:\uabea_rel2_win_x64\test.bat
C:\uabea_rel2_win_x64\UABEAvalonia.exe -fd batchexport C:\uabea_rel2_win_x64\test.bat
In the file test.bat itself indicated the path to the folder with the files .bundle "+DIR C:/uabea_rel2_win_x64/bundles/"
Sorry if this hasn't been implemented yet and I'm asking too much. It's just that I have a lot of compressed bundles to decompressed into .decomp files and it's impossible to do it all manually.

You'll need to make batchexport the first argument, then flags can come afterwards, like this:
uabeavalonia batchexport -kd batch.txt
Also there was a bug where the first argument was ignored in batchexport/import, so try the fixes from the latest build.

I downloaded the latest build and did as you said and it worked. Thank you very much.


text:
Windows 10 selfhosted tunnel connected but can see no other peers in a group - other clients work fine

In our selfhosted implementation we are experiencing problems with a single client (out of few dozens). So far this problem has not been reproduced in our infrastructure, but we are struggling to resolve this one case.
OS: Windows 10 Pro 10.0.19045 x64
Client version: latest (0.27.10 AMD x64)
Installed with use of elevated user rights (main Administrator account)
CLI command used for installation
msiexec /i netbird.msi /quiet /l netbird.log
netbird.log:

=== Logging started: 19.06.2024  11:42:15 ===
Action start 11:42:15: INSTALL.
Action start 11:42:15: FindRelatedProducts.
Action ended 11:42:15: FindRelatedProducts. Return value 1.
Action start 11:42:15: LaunchConditions.
Action ended 11:42:15: LaunchConditions. Return value 1.
Action start 11:42:15: ValidateProductID.
Action ended 11:42:15: ValidateProductID. Return value 1.
Action start 11:42:15: CostInitialize.
Action ended 11:42:15: CostInitialize. Return value 1.
Action start 11:42:15: FileCost.
Action ended 11:42:15: FileCost. Return value 1.
Action start 11:42:15: CostFinalize.
Action ended 11:42:15: CostFinalize. Return value 1.
Action start 11:42:15: MigrateFeatureStates.
Action ended 11:42:15: MigrateFeatureStates. Return value 0.
Action start 11:42:15: InstallValidate.
Action ended 11:42:15: InstallValidate. Return value 1.
Action start 11:42:15: RemoveExistingProducts.
Action ended 11:42:15: RemoveExistingProducts. Return value 1.
Action start 11:42:15: InstallInitialize.
Action ended 11:42:15: InstallInitialize. Return value 1.
Action start 11:42:15: ProcessComponents.
Action ended 11:42:15: ProcessComponents. Return value 1.
Action start 11:42:15: UnpublishFeatures.
Action ended 11:42:15: UnpublishFeatures. Return value 1.
Action start 11:42:15: StopServices.
Action ended 11:42:15: StopServices. Return value 1.
Action start 11:42:15: DeleteServices.
Action ended 11:42:15: DeleteServices. Return value 1.
Action start 11:42:15: RemoveShortcuts.
Action ended 11:42:15: RemoveShortcuts. Return value 1.
Action start 11:42:15: RemoveEnvironmentStrings.
Action ended 11:42:15: RemoveEnvironmentStrings. Return value 1.
Action start 11:42:15: RemoveFiles.
Action ended 11:42:15: RemoveFiles. Return value 0.
Action start 11:42:15: RemoveFolders.
Action ended 11:42:15: RemoveFolders. Return value 0.
Action start 11:42:15: CreateFolders.
Action ended 11:42:15: CreateFolders. Return value 0.
Action start 11:42:15: InstallFiles.
Action ended 11:42:15: InstallFiles. Return value 1.
Action start 11:42:15: CreateShortcuts.
Action ended 11:42:15: CreateShortcuts. Return value 1.
Action start 11:42:15: WriteEnvironmentStrings.
Action ended 11:42:15: WriteEnvironmentStrings. Return value 1.
Action start 11:42:15: InstallServices.
Action ended 11:42:15: InstallServices. Return value 1.
Action start 11:42:15: StartServices.
Action ended 11:42:15: StartServices. Return value 1.
Action start 11:42:15: RegisterUser.
Action ended 11:42:15: RegisterUser. Return value 1.
Action start 11:42:15: RegisterProduct.
Action ended 11:42:15: RegisterProduct. Return value 1.
Action start 11:42:15: PublishFeatures.
Action ended 11:42:15: PublishFeatures. Return value 1.
Action start 11:42:15: PublishProduct.
Action ended 11:42:15: PublishProduct. Return value 1.
Action start 11:42:15: InstallFinalize.
Action ended 11:42:18: InstallFinalize. Return value 1.
Action ended 11:42:18: INSTALL. Return value 1.
MSI (s) (5C:28) [11:42:18:425]: Product: NetBird -- Installation completed successfully.
MSI (s) (5C:28) [11:42:18:425]: Instalator Windows zainstalował produkt. Nazwa produktu: NetBird. Wersja produktu: 0.27.10. Język produktu: 1033. Producent: Wiretrustee UG (haftungsbeschreankt). Stan powodzenia lub błędu instalacji: 0.
=== Logging stopped: 19.06.2024  11:42:18 ===

After successful installation I used netbird up with url parameters, here is the debug log bundle:

2024-06-19T11:42:16+02:00 INFO client/cmd/service_controller.go:24: starting Netbird service
2024-06-19T11:42:16+02:00 INFO client/internal/config.go:140: generating new config C:\ProgramData\Netbird\config.json
2024-06-19T11:42:16+02:00 INFO client/internal/config.go:202: using default Management URL https://api.netbird.io:443
2024-06-19T11:42:16+02:00 INFO client/internal/config.go:226: using default Admin URL https://api.netbird.io:443
2024-06-19T11:42:16+02:00 INFO client/internal/config.go:244: generated new Wireguard key
2024-06-19T11:42:16+02:00 INFO client/internal/config.go:250: generated new SSH key
2024-06-19T11:42:16+02:00 INFO client/internal/config.go:266: using default Wireguard port 51820
2024-06-19T11:42:16+02:00 INFO client/internal/config.go:277: using default Wireguard interface wt0
2024-06-19T11:42:16+02:00 INFO client/internal/config.go:321: filling in interface blacklist with defaults: [ wt0 wt utun tun0 zt ZeroTier wg ts Tailscale tailscale docker veth br- lo ]
2024-06-19T11:42:16+02:00 INFO client/cmd/service_controller.go:64: started daemon server: 127.0.0.1:41731
2024-06-19T11:43:27+02:00 INFO client/internal/config.go:209: new Management URL provided, updated to "https://net.anon-ST92p.domain:33073" (old value "https://api.netbird.io:443")
2024-06-19T11:43:27+02:00 INFO client/internal/config.go:347: enabling SSH server
2024-06-19T11:43:28+02:00 WARN client/server/server.go:259: failed login: rpc error: code = InvalidArgument desc = invalid setup-key or no sso information provided, err: invalid UUID length: 0
2024-06-19T11:44:10+02:00 INFO client/internal/login.go:130: peer has been successfully registered on Management Service
2024-06-19T11:44:10+02:00 INFO client/internal/connect.go:119: starting NetBird client version 0.27.10 on windows/amd64
2024-06-19T11:44:11+02:00 INFO client/internal/routemanager/manager.go:93: Routing setup complete
2024-06-19T11:44:13+02:00 INFO signal/client/grpc.go:158: connected to the Signal Service stream
2024-06-19T11:44:13+02:00 INFO client/internal/engine.go:1405: Network monitor is disabled, not starting
2024-06-19T11:44:13+02:00 INFO client/internal/connect.go:265: Netbird engine started, the IP is: 100.103.53.99/16
2024-06-19T11:44:13+02:00 INFO management/client/grpc.go:147: connected to the Management Service stream
2024-06-19T11:44:13+02:00 INFO client/internal/dns/host_windows.go:149: added 1 match domains to the state. Domain list: [.netbird.selfhosted]
2024-06-19T11:44:13+02:00 INFO client/internal/dns/host_windows.go:176: updated the search domains in the registry with 1 domains. Domain list: [netbird.selfhosted]
2024-06-19T11:44:13+02:00 INFO client/internal/acl/manager.go:52: ACL rules processed in: 0s, total rules count: 0
2024-06-19T11:46:31+02:00 INFO client/internal/acl/manager.go:52: ACL rules processed in: 564.3µs, total rules count: 20

I authenticated successfully on first attempt, but logs above still show unsuccessful attempt. Below is screenshot from Authentik's (our SSO tool) successful authentication screen.

And status:

Peers detail:
laptop-dell-mariusza.netbird.selfhosted:
NetBird IP: 100.103.44.19
Public key: YvVW8g9sDDcUNhigOOW2SlIZBHj5Lj//mfMP2WAgzkg=
Status: Connecting
-- detail --
Connection type:
Direct: false
ICE candidate (Local/Remote): -/-
ICE candidate endpoints (Local/Remote): -/-
Last connection update: 5 seconds ago
Last WireGuard handshake: -
Transfer status (received/sent) 0 B/0 B
Quantum resistance: false
Routes: -
Latency: 0s
komputer-oskara.netbird.selfhosted:
NetBird IP: 100.103.86.100
Public key: juqFrcIdeYGFwAUYxei6SU0SiRRsJ8JbXfKMWurUphs=
Status: Connecting
-- detail --
Connection type:
Direct: false
ICE candidate (Local/Remote): -/-
ICE candidate endpoints (Local/Remote): -/-
Last connection update: 1 second ago
Last WireGuard handshake: -
Transfer status (received/sent) 0 B/0 B
Quantum resistance: false
Routes: -
Latency: 0s
milena-laptop.netbird.selfhosted:
NetBird IP: 100.103.207.48
Public key: /hJXb8Z7N3//Dmtbx40u2iUa1aGWHgkX1pDjAeClXlA=
Status: Connecting
-- detail --
Connection type:
Direct: false
ICE candidate (Local/Remote): -/-
ICE candidate endpoints (Local/Remote): -/-
Last connection update: 1 second ago
Last WireGuard handshake: -
Transfer status (received/sent) 0 B/0 B
Quantum resistance: false
Routes: -
Latency: 0s
OS: windows/amd64
Daemon version: 0.27.10
CLI version: 0.27.10
Management: Connected to https://net.anon-ZTM28.domain:33073
Signal: Connected to http://net.anon-ZTM28.domain:10000
Relays:
[stun:net.anon-ZTM28.domain:3478] is Available
[turn:net.anon-ZTM28.domain:3478?transport=udp] is Unavailable, reason: allocate: attribute not found
Nameservers:
FQDN: desktop-n07vu1e.netbird.selfhosted
NetBird IP: 100.103.53.99/16
Interface type: Userspace
Quantum resistance: false
Routes: -
Peers count: 0/3 Connected

Status on other machines in the same grup shows parameter "Peers count" as "2/3" connected meaning, that this single machine doesn't connect properly, but it also can not access all other machines.
In our policies we have 3389 port open and that kind of traffic allowed inside the forementioned group. This one PC is unable to access our server thou.
Previously we hace used openvpn and wireguard on all of the forementioned machines, but only this one ha sproblems. I have tried to find any remaining "tun/tap" adapters but non were identified, not even hidden in device manager.
I have also activated the Administrator account and installed with use of that, but also no joy.
We have dozens of other computers in other groups with exact same policies and all seems fine elsewhere - just this one PC is causing fuss about change of vpn platform.
What else can I try and diagnose?

Hi @m3v4,
the warning might be a bit misleading. Whithout knowing why the first attempt failed it seems to be able to authenticate on retry and successfully connect to management and receive information about the other peers in the network so thats good so far.
The issue seems to occur in the connection establishment. Is this machine in a physically different location than the working ones? Or maybe behind a different firewall. When checking the status output it shows issues connecting to turn which will cause the peer to only be able to connect to peers using P2P, as relay (which would be fallback) is not possible. If P2P is not possible (can be for multiple reasons) and it is unable to fall back to relay this could cause the connections to be stuck in connecting state.

Hi @pascal-fischer thanks for very quick response. That is right, the machine is in phisically different location. 3 that are working fine are in the same physical location and one other that is someplace else was working yesterday, but today does not...
All 4 machines are in a group with policy allowing all protocols bidirectionally like so:
group <=> group
I've tried to remove all peers from the grup and add again, but nothing changed.
What else can I do?

I am pretty sure this is unrelated to the configurations within netbird itself. It is related to the setup of the selfhosted management in specific TURN and STUN servers in combination with the physical network of the peer that does not work. You need to make sure that STUN as well as TURN are reachabe and working from that location.

Relays:
[stun:net.anon-ZTM28.domain:3478] is Available
[turn:net.anon-ZTM28.domain:3478?transport=udp] is Unavailable, reason: allocate: attribute not found

If either one of them is not reachable this will cause issues.
You said that the other machines are in the same physical location, this means they are most likely connected P2P? So there might even be a general issue with the TURN server.

sure, here you go:

Peers detail:
laptop-dell-mariusza.netbird.selfhosted:
NetBird IP: 100.103.44.19
Public key: YvVW8g9sDDcUNhigOOW2SlIZBHj5Lj//mfMP2WAgzkg=
Status: Connected
-- detail --
Connection type: P2P
Direct: true
ICE candidate (Local/Remote): srflx/srflx
ICE candidate endpoints (Local/Remote): 198.51.100.0:51820/198.51.100.1:51820
Last connection update: 20 minutes, 47 seconds ago
Last WireGuard handshake: 41 seconds ago
Transfer status (received/sent) 2.5 KiB/3.2 KiB
Quantum resistance: false
Routes: -
Latency: 14.9644ms
desktop-n07vu1e.netbird.selfhosted:
NetBird IP: 100.103.50.131
Public key: E8Y1I9u7F8ntuKE6QU6RNPwiFXrkBadNN1HO2djDPBc=
Status: Disconnected
-- detail --
Connection type: P2P
Direct: false
ICE candidate (Local/Remote): srflx/srflx
ICE candidate endpoints (Local/Remote): 198.51.100.0:51820/198.51.100.1:51820
Last connection update: Now
Last WireGuard handshake: 41 seconds ago
Transfer status (received/sent) 2.5 KiB/3.2 KiB
Quantum resistance: false
Routes: -
Latency: 0s
desktop-t16jv8o.netbird.selfhosted:
NetBird IP: 100.103.117.3
Public key: 4KaK7VcDiimhmCe67feJQZhLGKKKLju5Vs4vxCmxN2U=
Status: Connected
-- detail --
Connection type: P2P
Direct: true
ICE candidate (Local/Remote): srflx/srflx
ICE candidate endpoints (Local/Remote): 198.51.100.0:51820/198.51.100.1:56033
Last connection update: 20 minutes, 47 seconds ago
Last WireGuard handshake: 54 seconds ago
Transfer status (received/sent) 3.3 KiB/2.7 KiB
Quantum resistance: false
Routes: -
Latency: 15.2351ms
desktop-rglgsc3.netbird.selfhosted:
NetBird IP: 100.103.228.235
Public key: /hJXb8Z7N3//Dmtbx40u2iUa1aGWHgkX1pDjAeClXlA=
Status: Disconnected
-- detail --
Connection type: P2P
Direct: false
ICE candidate (Local/Remote): srflx/srflx
ICE candidate endpoints (Local/Remote): 198.51.100.0:51820/198.51.100.1:51820
Last connection update: -
Last WireGuard handshake: 41 seconds ago
Transfer status (received/sent) 2.5 KiB/3.2 KiB
Quantum resistance: false
Routes: -
Latency: 0s
OS: windows/amd64
Daemon version: 0.27.10
CLI version: 0.27.10
Management: Connected to https://net.anon-JBpli.domain:33073
Signal: Connected to http://net.anon-JBpli.domain:10000
Relays:
[stun:net.anon-JBpli.domain:3478] is Available
[turn:net.anon-JBpli.domain:3478?transport=udp] is Unavailable, reason: allocate: attribute not found
Nameservers:
FQDN: desktop-3o2mcrk.netbird.selfhosted
NetBird IP: 100.103.61.103/16
Interface type: Userspace
Quantum resistance: false
Routes: -
Peers count: 2/4 Connected

Ah perfekt! So here you have the same result. It also shows TURN unavailable:

[turn:net.anon-JBpli.domain:3478?transport=udp] is Unavailable, reason: allocate: attribute not found

And even though it is in a different physical location it still manages to establish a P2P connection thats why it is working.
So the issue lies with your TURN server setup in general. Check the TURN servers logs if it is a general issue with the server or a configuration issue.

thanks @pascal-fischer, our admin is on it testing. Could it be as simple as closed UDP ports range 49152-65535?

Yes this could be the reason.

in the end it was COTURN config (ports were open, so  it was not firewall issue). I've prepared config for it (turnserver.conf) manually and used tools like trickle-ice to test whether it's working correctly - till it did :) .

authors: Pshemas m3v4 pascal-fischer

repo: netbirdio/netbird


text:
Add direct write file to avoid moving docker mounted files

Describe your changes
Issue ticket number and link
fixes #1154
Checklist

[x] Is it a bug fix
[ ] Is a typo/documentation fix
[ ] Is a feature enhancement
[ ] It is a refactor
[ ] Created tests that fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

Something is not correct. It provide invalid json file.
This is the end of my file:
            "Scope": "openid",
            "UseIDToken": false,
            "RedirectURLs": null
        }
    },
    "PKCEAuthorizationFlow": null
}ow": null
}

authors: mlsmaycon pappz


text:
Hypervisor script needs !requiretty

For cockpit to be able tu sudo, we need to change sudoers to default !requiretty

Done in master


text:
feature: add support for Zola framework

Which problem is this feature request solving?
Support for Zola
Describe the solution you'd like
Add a json file to detect Zola
Describe alternatives you've considered
N/A
Can you submit a pull request?
Yes

Fixed by https://github.com/netlify/framework-info/pull/326

authors: erezrokah henrifrancois

repo: netlify/framework-info


text:
Frontmatter should retain unknown fields

Currently, frontmatter fields not defined in the fields option are removed when editing a file.
I don't know the rationale behind this behaviour, but to me (and others #1174) it is highly unexpected. This can easily break things when intended frontmatter configuration gets silently stripped off with no immediate benefit.
In my opinion it would make more sense to simply ignore and keep frontmatter fields the CMS doesn't know about.
I often use frontmatter fields to define specific configuration of a page that is not supposed to be editable through the CMS. While it is possible to add hidden fields for that, it seems highly unnecessary - and is very tedious if you have to repeat multiple hidden fields for each file in a file collection. And it's still error prone because you easily forget to add a custom field name to the config. When somebody edits that file through the CMS, it's broken.

I think this would be great, and seeing we are getting ready for 2.0, we should probably add it then.

Agreed.

I was hoping to get a PR out for this today, but got pulled into something else. I have the logic ready to go, just need to write a test for it before put the request in. Hoping to have this ready for review by next week!

I just got bit by this yesterday - the navigation on our site is driven by "interesting" fields in the frontmatter that I hadn't understood fully until I had to debug where all the nav items went and found the diffs from the CMS removing this:
menu:
    main:
        parent: aboutmenu

so - +1 for this someday :)

I still think this is an important feature and there are quite a few supporters. Just waiting for someone to implement it...

I would need this as well.

authors: dieffe erquhart fool straight-shoota suhay tech4him1

repo: netlify/netlify-cms