text:
[BugFix] hashCode and equals of LiteralExpr should be consistent

What type of PR is this：

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #22001.
Problem Summary(Required) ：
Root Cause

As for BoolLiteral, IntLiteral, LargeIntLiteral, FloatLiteral, equals() and hashCode aren't consisten:

When equals() returns true, their hash codes are not equal sometimes. For example, BoolLiteral(0)/IntLiteral(0)/LargeIntLiteral(0)/FloatLiteral(0).

We sometimes directly use equals to compare two literal expressions, and sometimes consider hashCode.

During SelectAnalyzer#analyzeAggregations, ArrayList#contains is used here, which directly uses equals().
During SqlToScalarOperatorTranslator#translate, HashMap#contains is used here, which firstly uses hashCode().

Solution
We should make hashCode and equals of LiteralExpr be consistent.

For equals: only IntLiteral and LargeIntLiteral could compare each other. That is, BoolLiteral(0).equals(IntLiteral(0)) returns false.
For hashCode, make IntLiteral and LargeIntLiteral just return getLongValue().hashCode(), because super.hashCode() considers type, which of IntLiteral and LargeIntLiteral is INT and LARGEINT, respectively.

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto backported to target branch

[x] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:heart_eyes: pass : 3 / 3 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/analysis/BoolLiteral.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/analysis/IntLiteral.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/analysis/LargeIntLiteral.java
1
1
100.00%
[]

@Mergifyio backport branch-3.0

authors: ZiheLiu wanpengfei-git


text:
[Refactor] Refactor join predicate pushdown logic to be used in mv rewrite

What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[x] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes:

Fixes #23411
Problem Summary(Required):

Refactor join predicate pushdown logic to be used in mv rewrite
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

[FE PR Coverage Check]
:heart_eyes: pass : 313 / 342 (91.52%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/optimizer/rewrite/JoinPredicatePushdown.java
307
336
91.37%
[180, 189, 199, 200, 201, 256, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 289]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/PushDownPredicateJoinRule.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/transformation/PushDownJoinOnClauseRule.java
3
3
100.00%
[]

source: gharchive/pull-request

authors: ABingHuang wanpengfei-git

repo: StarRocks/starrocks

license_type: permissive

license_source: github-api


text:
[Feature] Table function table() supports HDFS

Fixes https://github.com/StarRocks/starrocks/issues/21159
This PR adds the support of reading files from HDFS, including the following changes:

execute RPC get_file_schema in pthread
refactor RPC get_info/get_pulsar_info
rename _async_thread_pool as _load_rpc_pool, which handles get_file_schema/get_info/get_pulsar_info`

What type of PR is this:

[ ] BugFix
[x] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)
[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

@mergifyio rebase main

@mergifyio backport branch-3.1


text:
Error: 5000: Application needs OAuth consent from the user

I had Google Fit working previously, but all of a sudden I'm getting this error. I didn't use it for a week or two, but now when I try to get exercises it returns this error instead:
Error: 5000: Application needs OAuth consent from the user
All GoogleFit.isEnabled, GoogleFit.isAuthorized and GoogleFit.isAvailable are returning true, just before this error is thrown. However it seems it's not authorized somehow?
I do get the pop up dialog to select which google account I want to use. However it does not show the dialog which asks for access to Exercise data. It did show it before, but not anymore somehow.
In GCP I have a project with an Android OAuth Client, which has the scope to read exercise data.
Any idea what I could be doing wrong?
How I'm using the library currently:
async function isGoogleFitAuthorized(): Promise<boolean> {
  try {
    await GoogleFit.checkIsAuthorized();
    return GoogleFit.isAuthorized;
  } catch (error) {
    Monitoring.error(
      error,
      "[Google Fit] Error trying to authorize Google Fit"
    );
  }

  return false;
}

const isGoogleFitEnabled = (): Promise<boolean> =>
  new Promise(res => {
    GoogleFit.isEnabled((err, isEnabled) => {
      if (err) {
        res(false);
      } else if (isEnabled) {
        res(true);
      } else {
        res(false);
      }
    });
  });

const isGoogleFitAvailable = (): Promise<boolean> =>
  new Promise(res => {
    GoogleFit.isAvailable((err, isAvailable) => {
      if (err) {
        res(false);
      } else if (isAvailable) {
        res(true);
      } else {
        res(false);
      }
    });
  });

type GoogleFitWorkoutSessionOptions = Parameters<
  typeof GoogleFit.getWorkoutSession
>[0];

type ExerciseAndroid = {
  id: string;
  from: number;
  to: number;
  activityId: number;
  activityName: string;
  sourceName: string;
  sourceId: string;
  calories: number;
  distance?: number;
};

export const fetchExerciseDataAndroid =
  (defaultFetchScope: number) =>
  async (
    from: number = Date.now() - defaultFetchScope,
    to: number = Date.now(),
    limit: number = 30
  ): Promise<ExerciseAndroid[]> => {
    await initGoogleFit();

    await GoogleFit.checkIsAuthorized();

    const authOptions = {
      scopes: [Scopes.FITNESS_ACTIVITY_READ],
    };

    const authResponse = await GoogleFit.authorize(authOptions);

    console.log(authResponse); // {"success": true}

    if (
      !(await isGoogleFitEnabled()) ||
      !(await isGoogleFitAvailable()) ||
      !(await isGoogleFitAuthorized()) ||
      from >= to
    ) {
      return [];
    }

    const options: GoogleFitWorkoutSessionOptions = {
      startDate: new Date(from).toISOString(),
      endDate: new Date(to).toISOString(),
      readSessionFromAllApps: true,
    };

    const workouts = await GoogleFit.getWorkoutSession(options);
    console.log("workouts", workouts); // Error: 5000: Application needs OAuth consent from the user
  };

Seemed this was due to location permission. I added:
   const options = {
        scopes: [Scopes.FITNESS_ACTIVITY_READ, Scopes.FITNESS_LOCATION_READ],
      };

And to AndroidManifest.xml:
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
And the error went away.
It was confusing because it worked at first without those. Not sure at all what happened there.

Pretty confusing error message for not having the correct scopes or permissions in manifest

source: gharchive/issue

repo: StasDoskalenko/react-native-google-fit

license: mit

license_source: bigquery


text:
Setup testing in CI

Setup cypress tests with github actions

I've been looking into Cypress more and more. It seems way nicer than all the work I had to do to build a Selenium testing system.

@justbert I have cypress already setup for our "Old" orchard repository. I also started working on cypress tests for Orchard here https://github.com/OrchardCMS/OrchardCore/tree/jptissot/cypress

Thank you! I'll take a look! :D

authors: jptissot justbert

license: MIT


text:
⚠ Text Filter API Endpoint has degraded performance

In e83e161, Text Filter API Endpoint (http://textfilter.roblox.com/) experienced degraded performance:

HTTP code: 200
Response time: 1004 ms

Resolved: Text Filter API Endpoint performance has improved in fc552ac.

repo: Status-Plus/StatusPlus


text:
Add detection for Godot's new 32-bit x86 suffix of x86_32

SteamDB app page links to a few games using this
None yet, this is for Godot 4.0, which hasn't been released yet.
Brief explanation of the change
This PR adds detection for this change in Godot: https://github.com/godotengine/godot/pull/59394
In the future, there will likely also be support for arm64, arm32, rv64, etc, we can add those here once Godot does.

Duplicate of #113?

authors: aaronfranke xPaw

repo: SteamDatabase/FileDetectionRuleSets


text:
Sample Connector:MySql is failing due to missing DB table

Describe the bug
Sample Connector...MySql is failing. It appears database is not being initialized correctly.
From the sample app's data page:
MySqlException: Table 'service_instance_db.TestData' doesn't exist
Steps to reproduce
Assuming CF instance: apps.pcfone.io

cd Connectors\src\AspDotNetCore\MySql
run cf create-service p.mysql db-small myMySqlService
run dotnet publish -f netcoreapp2.1 -r ubuntu.16.04-x64
run cf push -f manifest.yml -p bin/Debug/netcoreapp2.1/ubuntu.16.04-x64/publish -n sampleissue
goto https://sampleissue.apps.pcfone.io/Home/MySqlData

Expected behavior
Working sample returns a page containing Key 1 = Row1 Text
Environment

Sample name: MySql Connector
Platform: Cloud Foundry
.NET Version: .NET Core 2.1, 3.1
Steeltoe Version: 2.4.0
Branch: 2.x

Sample log:
2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'service_instance_db.TestData' doesn't exist
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at MySql.Data.MySqlClient.Driver.GetResult(Int32 statementId, Int32& affectedRows, Int64& insertedId)
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader()
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at MySql.Controllers.HomeController.MySqlData(MySqlConnection dbConnection) in /Users/ccheetham/src/SteeltoeOSS/Samples/Connectors/src/AspDotNetCore/MySql/Controllers/HomeController.cs:line 21
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at lambda_method(Closure , Object , Object[] )
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT --- End of stack trace from previous location where exception was thrown ---
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT --- End of stack trace from previous location where exception was thrown ---
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   2020-04-07T13:34:53.48-0400 [APP/PROC/WEB/0] OUT    at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

No longer failing

repo: SteeltoeOSS/Samples


text:
fix: divide by 0 exception for views with no color swapchain

Hi Nick! Just updated SK dev branch after a few months and ran into a native divide by 0 exception for the HL2's secondary view. I left more details in the commit. Lmk if you'd rather address this another way instead, thanks :)

Hey Austin! Thanks for pointing this one out :) It's been a while since I've gotten to see the secondary view path running first-hand, guess I botched this bit while cleaning things up!
Just for a quick refresher, I guess the secondary view reports a view count of 0 from xrEnumerateViewConfigurationViews when recording isn't in progress? If that's the case, I might want to just double check a bunch of that code to make sure it handles that correctly. Your code here might be sufficient, but I may wanna just spend a bit of extra time running through it a bit myself too.
Also, a change to how the OSS stuff on this repo works, slightly more formal these days :) You will need to add a DCO (Developer Certificate of Origin) sign-off line to your commits, or add a remediation commit for it (details here: https://github.com/StereoKit/StereoKit/pull/816/checks?check_run_id=19905206975). And preferably stick your name in the copyright header at the top.

authors: austinbhale maluoi

repo: StereoKit/StereoKit


text:
🛑 DNS (he.net) is down

In 60999fc, DNS (he.net) ($HE_NS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS (he.net) is back up in 466b737.

repo: Sternwarte-St-Ottilien-e-V/status


text:
🛑 DNS (he.net) is down

In 7df738f, DNS (he.net) ($HE_NS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS (he.net) is back up in bc2fcd9.


text:
🛑 DNS (he.net) is down

In cc93be1, DNS (he.net) ($HE_NS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS (he.net) is back up in 8f57e97.


text:
🛑 DNS (he.net) is down

In 6b53070, DNS (he.net) ($HE_NS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS (he.net) is back up in a1fca56.


text:
🛑 DNS (he.net) is down

In ea2a8cc, DNS (he.net) ($HE_NS) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS (he.net) is back up in 189c9a0.


text:
🛑 AllSky is down

In af579ae, AllSky ($ALLSKY) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AllSky is back up in 40daff9 after 2 minutes.


text:
🛑 Wiki is down

In 3d008f6, Wiki ($WIKI) was down:

HTTP code: 503
Response time: 520 ms

Resolved: Wiki is back up in de2cb78 after .


text:
We hope to take the lead in supporting WinForm in. Net 5.0

SteveSandersonMS 在 https://blog.stevensanderson.com/2019/11/01/exploring-lighter-alternatives-to-electron-for-hosting-a-blazor-desktop-app/  :
What would have to be built to make this viable
As I’ve said, Blazor Desktop is currently just a quick proof-of-concept, built entirely during the waking part of my return journey from NDC Sydney. It would have a long way to go to turn into a viable product.
It would need:
Cross-platform support, e.g., using webview
Edge (Chromium) support, so that on Windows 10 we’re using the OS’s own Chromium-based browser instead of the Edge-based webview used in my prototype. This would also enable access to Chrome-style browser dev tools automatically.
Handling the scenario where a suitable webview can’t be found. In the rare case where a user’s OS doesn’t supply an acceptable webview technology, we could prompt the user and download a standalone Chromium distribution (likely via CEF).
Desktop APIs - this is the big one that would be expensive to achieve from scratch. Electron doesn’t just use Node as a general-purpose programming environment; it also ships a set of cross-platform APIs for interacting with the desktop OS for tasks like copying to clipboard, changing the taskbar/dock icon, displaying native dropdown menus, showing native prompts/dialogs, and many more such things. .NET Core itself supplies a huge proportion of the APIs that applications need, but today it doesn’t address many of the desktop-focused ones, since there isn’t today any standard cross-platform .NET Core-based UI technology. Any realistic app needs these capabilities. Conceivably it might be worth bundling Node just to get cross-platform implementations for these APIs (though still without bundling Chromium).
Publishing and downloading updates automatically
As far as the windows platform is concerned, all problems are not problems on. Net 5.0, except that they are not cross platform.
However, many industry applications need WebView to transform traditional applications, and many of them run on Windows platform. Therefore, we hope to make WebView the first to support  WinForm in. Net 5.0

if you focus on windows, how about this idea https://github.com/congzhangzh/desktoploveblazorweb/tree/wpf_wip

repo: SteveSandersonMS/WebWindow


text:
Well...

This happens to everyone: When you look at the titles you've installed, and go down to the NAND section, there is more than 100 unknown titles that take up a lot of space, and gives the 3DS integrated fatal error when launched. Try to fix those.
PS: What is the font used to make the FBI image?

...Huh? Not all system titles are supposed to be launchable, but they still need to be displayed for title management purposes.
As for your question, the logo text was drawn pixel-by-pixel, not using a font.

Okay.


text:
Update hosts

0.0.0.0 www.pornfuck.net
0.0.0.0 fullxxxvideos.ne
0.0.0.0 www.xxxlucah.com
0.0.0.0 fr.xvideos.com
0.0.0.0 zeenite.com
0.0.0.0 www.pornfuck.net
0.0.0.0 xhamster5.desi
0.0.0.0 159.89.198.98
0.0.0.0 www.hdteen.porn
0.0.0.0 xhamster18.com
0.0.0.0 www.hdteen.porn
0.0.0.0 www.fullxxxvideos.net
0.0.0.0 mycum4k.com
0.0.0.0 www.xxxfiles.com
0.0.0.0 www.porngo.com
0.0.0.0 www.hostiex.com
0.0.0.0 en.vidmo.org
0.0.0.0 officepov.com
0.0.0.0 savedarfur.org
0.0.0.0 www.flickr.com
0.0.0.0 kaikanxxx.h
0.0.0.0 sourceforge.net
0.0.0.0 infoua.biz/en/

flickr.com, Ryan @rkamau?  Sourceforge?
Closing.

flickr.com, Ryan @rkamau? Sourceforge?
Closing.

Its prone to bad content

authors: StevenBlack rkamau

repo: StevenBlack/hosts


text:
HydX: Uitlaatconstructie als Inspectieput?

Uitlaatconstructie R04135 is in ttl opgenomen als een uitlaatconstructie met een aspect Uitlaatpunt. In hydx komt dit terug als een inspectieput.
Uitlaatconstructies met als aspect een instantie van Uitlaatpunt komen als inspectieputten mee in hydx export. Dat zouden uitlaten moeten zijn.
Uitlaatpunten als instanties met coordinaten (dat zijn dus andere uitlaatpunten dan hierboven benoemd, want die hebben geen coordinaten) worden in knooppunt.csv weggezet. Veld KNP_TYP is dan echter leeg, terwijl ik UIT verwacht. In kunstwerk.csv staan diezelfde uitlaatpunten ook opgenomen. Veld KWK_TYP is dan gevuld met UIT. Staan deze punten dan dubbel geregistreerd? Het is wat onduidelijk hier.
Riel_hoofdriolering_2023-11-24 copy.txt

Niet aangepast, staat dit goed in de dataset? Zie de modelleerprincipes in https://apps.gwsw.nl/doc/GWSW.orox Opbouw dataset.pdf .
Is zo gemodelleerd in het didactisch stelsel https://apps.gwsw.nl/doc/GwswDataset__DidacStelsel_v1.6.orox.ttl . Daarop getest, die draait goed.

Ook met het didactisch stelsel klopt het niet. Uitlaatconstructie met label '01009U' heeft een aspect van het type UitlaatPunt ('01009U/U'). Echter, de knoop '01009U/U' in knooppunt.csv heeft dan geen type in veld KNP_TYP. Je zou hier dan UIT verwachten.
Ik zie overigens dat de leiding in het didactisch stelsel rechtstreeks aansluit op het UitlaatPunt, terwijl in onze dataset de leiding aansluit op de Uitlaatconstructie. In https://apps.gwsw.nl/doc/GWSW.orox Opbouw dataset.pdf staat dat dat wel zo moet. Dat zal ik dan aanpassen sowieso.

De query knooppunt.rq aangepast: ook type uitlaat meenemen. Nu wordt ook KNP_TYP "UIT" gevuld.
Overleg gehad over netwerk met UitlaatPunt. Het begin/eindpunt leiding kan aansluiten op UitlaatPunt met of zonder Uitlaatconstructie. Zo nodig kan binnen de Uitlaatconstructie bijvoorbeeld nog een klep worden gedefinieerd. Dan sluit het begin/eindpunt leiding aan op de bouwwerkorientatie die via de Doorlaat aansluit op het UitlaatPunt.

authors: MarinusVonhof woutervriel


text:
Downloading stash for Torment/Bloodlines, details logged to DebugInfo.log

I got this error, hope you can help me :)
[29-03-2015 14:45] POEApi.Infrastructure.LogonFailedException: Username or password incorrect. User sven_folkertsma8@hotmail.com
bij POEApi.Transport.HttpTransport.Authenticate(String email, SecureString password, Boolean useSessionID)
bij POEApi.Model.POEModel.Authenticate(String email, SecureString password, Boolean offline, Boolean useSessionID)
bij Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass2.b__1()
bij System.Threading.Tasks.Task.Execute()
[02-04-2015 18:58] Error downloading stash for Torment/Bloodlines, exception details: System.Net.WebException: De aanvraag is afgebroken: Er is een time-out opgetreden voor de bewerking.
bij System.Net.HttpWebRequest.GetResponse()
bij POEApi.Transport.HttpTransport.GetStash(Int32 index, String league, Boolean refresh)
bij POEApi.Transport.CachedTransport.GetStash(Int32 index, String league, Boolean refresh)
bij POEApi.Model.POEModel.GetStash(Int32 index, String league, Boolean forceRefresh)
bij POEApi.Model.POEModel.getAllTabs(String league, Stash stash)
bij POEApi.Model.POEModel.GetStash(String league)
[02-04-2015 18:58] System.Exception: Downloading stash for Torment/Bloodlines, details logged to DebugInfo.log, please open a ticket at https://github.com/Stickymaddness/Procurement/issues
bij POEApi.Model.POEModel.GetStash(String league)
bij Procurement.ViewModel.LoginWindowViewModel.LoadStashItems(Character character)
bij Procurement.ViewModel.LoginWindowViewModel.d__6.MoveNext()
bij System.Collections.Generic.List1..ctor(IEnumerable1 collection)
bij System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)    bij Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass2.<Login>b__1()    bij System.Threading.Tasks.Task.Execute() [06-04-2015 13:30] Error downloading stash for Torment/Bloodlines, exception details: System.Net.WebException: De aanvraag is afgebroken: Er is een time-out opgetreden voor de bewerking.    bij System.Net.HttpWebRequest.GetResponse()    bij POEApi.Transport.HttpTransport.GetStash(Int32 index, String league, Boolean refresh)    bij POEApi.Transport.CachedTransport.GetStash(Int32 index, String league, Boolean refresh)    bij POEApi.Model.POEModel.GetStash(Int32 index, String league, Boolean forceRefresh)    bij POEApi.Model.POEModel.getAllTabs(String league, Stash stash)    bij POEApi.Model.POEModel.GetStash(String league) [06-04-2015 13:30] System.Exception: Downloading stash for Torment/Bloodlines, details logged to DebugInfo.log, please open a ticket at https://github.com/Stickymaddness/Procurement/issues    bij POEApi.Model.POEModel.GetStash(String league)    bij Procurement.ViewModel.LoginWindowViewModel.LoadStashItems(Character character)    bij Procurement.ViewModel.LoginWindowViewModel.<LoadItems>d__6.MoveNext()    bij System.Collections.Generic.List1..ctor(IEnumerable1 collection)    bij System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
bij Procurement.ViewModel.LoginWindowViewModel.<>c__DisplayClass2.b__1()
bij System.Threading.Tasks.Task.Execute()

The error is that the Procurement's connection to GGG has been interrupted and failed, either due to a server issue on their end or a connection problem on your end.

authors: Stickymaddness swiem

repo: Stickymaddness/Procurement


text:
Serving Pipelined Asset through CDN

I see that there's some debate on relative / absolute linking to the generated asset links using this package.  For the most part I don't really take a side one way or the other.  The <base> tag allows you to get away with handling assets relative to the root URI of your application from subdirectories without much issue.
HOWEVER...  I feel like if there was a config variable to specify whether or not there is to be some sort of prefix path to the relative link paths we could easily supply a CDN path for our Assets that are generated via Pipelines.   Any thoughts on that?

To make it work to have to copy your assets to your CDN and the update your config to point to your CDN address. Were you talking about something different such the library copying the assets to your CDN server automatically?

@mrgauthier , please take a look at the notify_command configuration option.
It accepts a closure that will be invoked every time new assets are pipelined. You can use it to hook to pipeline and upload your new assets to your CDN. Then you can load your CDN assets using their absolute URL.

Please note last update has introduced the multitenancy feature of the library, which it may help you in that scenario.

authors: Stolz mrgauthier

repo: Stolz/Assets


text:
[CROSSDATA-86][CROSSDATA-189] [Import tables] Fix minor bugs

Avoid importing system tables
Give information about ignored tables when importing tables

+1

+1

authors: darroyocazorla miguel0afd pfcoperez

repo: Stratio/Crossdata


text:
Altering The Existing Index

Hi,
I would like to know that is there any ways to alter the existing index. My case is that i have a column family and an index, and now i want to add a new column to it . Is there any way to add index for that column? . And also i need to know that once i inserted the data, i am going to delete the indexing to create a new indexing, will that indexing effect the column family?
Thanks

Hi,
There is no way to alter the schema of an existing index. There are no plans in the near future to offer this feature. At least, there will not while Apache Cassandra is not providing alter index statements.
If you want to index a new column, or to modify the index in any other way, you must drop the existing index and create a new one with the desired schema. All the previously existent data in the column family will be indexed in the background. The log output will notify you when the index built is complete.
The indexed column family will not be modified in any case.

Thank you for the reply.
I have a column family with more than one lakh data, to remove index for a column i dropped the index and created it once again. Now my queries are not working. What would be the issue?

Index build can take some time. Depending on your hardware and your schema, indexing one lakh can take some time. Have you seen a message like Index build of <index_name> complete in the Cassandra log file before doing your queries? Is the log file reporting any error?

Thanks for the reply.

repo: Stratio/stratio-cassandra


text:
Import from Lionweb models not exported from Kolasu

This fixes #66

I am not sure I understand the code, but I cannot find anything obviously wrong with it.
Maybe adding a test would make the resolution more obvious, but I would not block this PR because of that.

I've kept the existing tests and they still pass. I've manually modified the FS language so that no concept inherits from ASTNode, that should be sufficient to verify we can actually handle those languages.

authors: alessiostalla ftomassetti

repo: Strumenta/tylasu


text:
🛑 Nextcloud Papa is down

In 1d5325f, Nextcloud Papa ($NEXTCLOUD_2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud Papa is back up in 40d03de.

repo: StudFu-WordToMD/status


text:
🛑 Nextcloud Papa is down

In a0e2b30, Nextcloud Papa ($NEXTCLOUD_2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud Papa is back up in d607253.


text:
🛑 Nextcloud Papa is down

In 85f463e, Nextcloud Papa ($NEXTCLOUD_2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nextcloud Papa is back up in 5ea04c1.


text:
Find Declaration

A find declaration would be helpful in large projects. I could create a patch if someone points me to the code to change.

Universal-ctags (as well exuberant) has the function prototype feature. I implemented it for C++ here:
https://github.com/PSeitz/CTags/commit/24798f04d5b743097be2577bdc4b33a47c52b5b3

repo: SublimeText/CTags


text:
Server fails to start 9x6 grid

Hi.
I created 9x6 grid and configured hotkeys without any problems.
But the server fails to start with this layout. If I edit config.ini to 5x3, the server starts successfully.

Will be fixed with Macro Deck 2.

authors: SuchByte avpdiver

repo: SuchByte/Macro-Deck


text:
Modified the Blog-card design According to issue

Issue number #268

add some screenshots to see your changes.

https://github.com/Suchitra-Sahoo/AgriLearnNetwork/assets/146661411/9f523aff-8aab-40f3-9e17-828ee07ccc93
screenrecorded.

@Suchitra-Sahoo please check

fixes #268

But on hovering the card it changes back to same colour only. It will be better if you can design something like this

You can also create a seperate blog page and all the blogs there. And when the user clicks on the blog icon on navbar he can be directed to the blog page.

Okay, I will do this.. should I make a new issue for this? This might take a day or two to make.. till then it will be easy if you could merge this for now maybe, and I create a new issue and work on that for the time.

You may raise another PR under the same issue. Once done add screenshots and then i'll check and merge.

authors: Suchitra-Sahoo sau-mili

repo: Suchitra-Sahoo/AgriLearnNetwork


text:
🛑 Zinc 15 is down

In a6c8a8c, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in 3b1d16a.

repo: Sulstice/Uptime-Cheminformatics


text:
🛑 Chem Exper is down

In b94e920, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 6f748c9.


text:
🛑 Zinc 15 is down

In 488a1fb, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in d17f056.


text:
🛑 Chem Exper is down

In b009be9, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 0c3733a.


text:
🛑 Zinc 20 is down

In 5fab32f, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in 20bf13b.


text:
🛑 Zinc 20 is down

In f9c05df, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in e819c36 after 780 days, 6 hours, 22 minutes.


text:
🛑 Chem Exper is down

In 3053573, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 7ac8111 after 8 minutes.


text:
🛑 Chem Exper is down

In 72ed40b, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in d5f8da8 after 16 minutes.


text:
🛑 Binding Database is down

In 7626705, Binding Database (http://www.bindingdb.org/bind/index.jsp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Binding Database is back up in 90e4f06 after 41 minutes.


text:
🛑 Binding Database is down

In fe67346, Binding Database (http://www.bindingdb.org/bind/index.jsp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Binding Database is back up in 1040179 after 8 minutes.


text:
🛑 Chem Exper is down

In fd34d2e, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 118cd47 after 8 minutes.


text:
🛑 Chem Exper is down

In 947e9c3, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 994d816 after 31 minutes.


text:
🛑 Binding Database is down

In 7aa02aa, Binding Database (http://www.bindingdb.org/bind/index.jsp) was down:

HTTP code: 503
Response time: 721 ms

Resolved: Binding Database is back up in ff8310d after 9 minutes.


text:
🛑 Chem Exper is down

In f56bb8c, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 24a07b3 after 23 minutes.


text:
🛑 Chem Exper is down

In 115db33, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in 054b4cb after 12 minutes.


text:
🛑 Zinc 15 is down

In 8366bf1, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in d9a9f2c after 19 minutes.


text:
🛑 Chem Exper is down

In 779b481, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in eac4f09 after 12 minutes.


text:
🛑 Chem Exper is down

In ac8ce5c, Chem Exper (http://www.chemexper.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Chem Exper is back up in e76e63c after 9 minutes.


text:
🛑 Drug Safety Analysis System is down

In 3bf56e8, Drug Safety Analysis System (http://xundrug.cn/moltox) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Drug Safety Analysis System is back up in 4e4341d.


text:
🛑 Zinc 20 is down

In 1d15e8b, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in 6125728.


text:
🛑 Zinc 15 is down

In 13d526b, Zinc 15 (https://zinc15.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 15 is back up in 9b57b26.


text:
🛑 Zinc 20 is down

In cbe54bc, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in 31da87c.


text:
🛑 The Open Access Series of Imaging Studies is down

In 3f61529, The Open Access Series of Imaging Studies (http://www.oasis-brains.org/) was down:

HTTP code: 403
Response time: 527 ms

Resolved: The Open Access Series of Imaging Studies is back up in 5a904bf after 9 minutes.

repo: Sulstice/Uptime-Medical-Informatics


text:
🛑 Zinc 20 is down

In 96d173f, Zinc 20 (https://zinc20.docking.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Zinc 20 is back up in af13cd6.

repo: Sulstice/uptime-zinc-db


text:
kube-apiserver is too spammy and I can not exclude it

On one of my clusters, kube-apiserver generates a lot of messages (more than 400 MB/day).
Unfortunately, it seems that I can not use EXCLUDE_* to filter Kubernetes components collected here.
Maybe we can filter severity I messages as suggested to me by @fikander, but a mechanism similar to the EXCLUDE ones would be more general.
P.S. This is not related to: https://github.com/SumoLogic/fluentd-kubernetes-sumologic/issues/13

@mfornasa :There are multiple ways to filter the data.  if you want to do it at the source.kubernetes.conf, you would need to use the fluentd tail plugin option, exclude_path, which I believe does not accespt regex.  You can also use some environment variables to specify a regex pattern to exclude by host, pod, namespace or container.  This is documented in the README in the options section.  Does this not meet your requirement?

@frankreno my understanding is that all the EXCLUDE options operate only on containers that are collected trough source.containers.conf.
The problem here is with a Kubernetes component called kube-apiserver which is explicitly collected trough source.kubernetes.conf (in this line). So, I don't see a way to exclude logs from kube-apiserver using EXCLUDE directives.
This is a generic problem, as kube-apiserver is installed part of Kubernbetes.

@mfornasa : My apologies, I see now.  So we need to expose the environment variables in the  source.kubernetes.conf and that should then give you this capability.  I will look at this as soon as I can.

Any news on this?

@mfornasa: The image with the fix for this is now in docker hub.  Thanks for your help @flah00!

Tried:
   - name: EXCLUDE_PATH
          value: "/mnt/log/kube-apiserver.log"

Seems good. Thanks.

authors: frankreno mfornasa

repo: SumoLogic/fluentd-kubernetes-sumologic


text:
Competition Homepage

Should list all the problems and display information on the page, such as the start date, end date, etc. For dates, assume the values in the database are in UTC time.
This issue also includes information on what the Competition object in the back-end should have. Understand that we should have this object contain only information on this homepage and the card, Everything else such as submission and problems can be moved to the submissions/ and problems/ ref. Once the page is finished and the sample database is good, we can close this.

Needs info from @br0der


text:
截屏功能异常

通过安装tweak工具之后，使用截屏功能，会提示没有权限，但是确认过隐私设置是允许屏幕录制的，重启多次都没有效果

个人尝试，把微信的权限关掉再打开，然后重启微信就好了

已经多次尝试了，依旧不行

个人尝试，把微信的权限关掉再打开，然后重启微信就好了

已经多次尝试了，依旧不行

打开安全隐私，把截屏录制权限的app点那个减号全删掉，然后点加号重新加一遍

可以了，谢谢

authors: GeliBear cqiang1993 lydials

repo: Sunnyyoung/WeChatTweak-macOS


text:
🛑 Matrix Federation Tester is down

In b8d2ef3, Matrix Federation Tester (https://federationtester.matrix.org/api/report?server_name=supersandro.de) was down:

HTTP code: 200
Response time: 3872 ms

Resolved: Matrix Federation Tester is back up in b716c73 after 3 hours, 25 minutes.


text:
Enhancing Dark mode of Contact-Us page

Is your feature request related to a problem? Please describe.
The background color of the input fields on the Contact Us page in dark mode is not interacting with the rest of the website. I wish to work on this problem.
Describe the solution you'd like
I'll make the background color of the input fields on the Contact-Us page in dark mode more interactive.I would carry it out in line with the website's user interface.
https://github.com/SurajPratap10/Imagine_AI/assets/127978268/0ff51f04-e9f8-4e2b-b7f0-8c51dcfd5093

Assigned @akankshachanana1

I would like to contribute, kindly assign me.

I would like to contribute, kindly assign me.

You can't ask for assign in someone else's PR as it's their job. See @pandeydeekshaa these are the steps to contribute ⭐

Raise a unique issue by yourself
Then I will assign that issue to you
Then you can raise the PR
Later if the PR is fine then I will merge it

Ok sir
Thank you
On Wed, 14 Jun, 2023, 20:46 Suraj Pratap, @.***> wrote:

I would like to contribute, kindly assign me.
You can't ask for assign in someone else's PR as it's their job. See
@pandeydeekshaa https://github.com/pandeydeekshaa these are the steps
to contribute ⭐

Raise a unique issue by yourself
Then I will assign that issue to you
Then you can raise the PR
Later if the PR is fine then I will merge it

—
Reply to this email directly, view it on GitHub
https://github.com/SurajPratap10/Imagine_AI/issues/299#issuecomment-1591449958,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3KMNQ7PRJM6PCINVRRAEHTXLHIUJANCNFSM6AAAAAAZCHAEVE
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Disclaimer:
This message was sent from Vellore Institute of Technology.
The contents of this email may contain legally protected confidential or
privileged information of “Vellore Institute of Technology”.  If you are
not the intended recipient, you should not disseminate, distribute or copy
this e-mail. Please notify the sender immediately and destroy all copies of
this message and any attachments. If you have received this email in error,
please promptly notify the sender by reply email and delete the original
email and any backup copies without reading them.


text:
#54 Make ParsedVocabulary implement Map

ParsedVocabulary doesn't do anything other than being a map from conception ids to lexemes. A way to construct that map is needed anyway, and it doesn't make sense as a public method of any object. That's why I decided that ParsedVocabulary should be a Map that constructs itself.

@rultor merge

@rultor merge

@suseika OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@suseika Done! FYI, the full log is here (took me 1min)

authors: Suseika rultor

repo: Suseika/liblexeme


text:
Apply linter to README.md

prettierをREADME.mdに適用しました。
コマンド部分の形式をbashにしカラーリングされるようにしました。

@kaibadash
開発していただきありがとうございます、感謝です🙇♀
こちら、内容確認できたのでマージします！

authors: SuzukaHori kaibadash

repo: SuzukaHori/YamaNotes


text:
Create demo video

Create a 5-minute video to demo the application

Unfortunately the video is bigger than 10MB, so I can't embed ti directly:
https://drive.google.com/file/d/1Ums09BTHwS2h2TrH9dLsw5z98wFvJxDa/view?usp=sharing

repo: SvanBoxel/organization-workflows

license: ISC


text:
🛑 swiftfiddle.com is down

In d39ee56, swiftfiddle.com (https://swiftfiddle.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: swiftfiddle.com is back up in c42bc83 after 17 hours, 17 minutes.


text:
Add support for referencing other variables in .env file

This PR adds support for referencing other variables in the .env file.
Please keep in mind I've just started playing with Swift and I bet it could be implemented in better way. I had problems with regex substring so please let me know if there are better ways to do it.

Interesting.  Which versions of Swift did you test it on?

The one that comes with Xcode 8.3.3 (3.1).

@akrabat I've made some refactoring to the code. Please review it.

authors: akrabat lowski

repo: SwiftOnTheServer/SwiftDotEnv


text:
Apple defines scrollDisabled modifier on the iOS 16

LIke this title, Apple has released iOS 16 sdk. and it includes the new scrollDisabled modifier for the ScrollView.
BTW, in the SwiftUIX, there's the same name function in the below path.

Sources > Intramodular > Scrolling > EnvironmentValues+ScrollView.swift

What about changing the function name or removing the function?
AFAIK, in the SwiftUIX, the scrollDisabled function isn't being used. Instead, the isScrollEnabled is being used, even though it has been deprecated(I confirmed it from the message of the function).

@bryanlee-hdj I've updated the code to mark View.scrollDisabled(_:) as a disfavored overload, and have also reimplemented it to set SwiftUI's isScrollEnabled environment value if running on iOS 16.
It's useful to otherwise retain the function as-is for two reasons:

View.scrollDisabled(_:) cannot be used in code targeting versions below iOS 16.
scrollDisabled is the right name for the function.

@vmanot Thank you for the fast response & the update!!! 👍

authors: bryanlee-hdj vmanot

repo: SwiftUIX/SwiftUIX


text:
fix: Dependencies Issues

Only merge after careful testing

Does this work properly without any issues?

Only merge after careful testing

Will have to test it then first.

I think we'll have to figure out a way to test others' changes locally before merging them.

authors: MehulPardeshi divyesh-mali


text:
po'ing json in the console crashes xcode

doing
let json = JSON(json!)

then breaking and typing po json into the console crashes xcode.

I think this is an Xcode specific issue and not SwiftyJSON.  Just curious, are you bridging from Objective-C as well in this project?

yes, I was bridging some ObjC. I'll see if this has gone away in the new xcode.

This issue is kind of old and there hasn't been any update from @jtremback so I'll go ahead and close it. Let me know if you need to reopen it.

authors: jeffalgera jtremback ldiqual

repo: SwiftyJSON/SwiftyJSON


text:
Infinite RStudio Session timeout

Fixes the issues with R session timeouts that I raised in this issue on the core templates repo https://github.com/SwissDataScienceCenter/renku-project-template/issues/203

Thanks for this @RichardJActon - why not make the same PR in renkulab-docker as well?

authors: RichardJActon rokroskar


text:
🛑 Corredores is down

In 24f9748, Corredores (https://corredores.sbi.uy) was down:

HTTP code: 403
Response time: 161 ms

Resolved: Corredores is back up in 23d03e1.

repo: Switch-Software-Solutions/status-page


text:
Add option to disable display in CLI

I think it would be nice to be able to disable displaying the figures when processing multiple files via CLI. Maybe adding a --display (or --no-display) flag as well as an option to save figures? If both showing and saving are off, then figure creation can be skipped completely.

Yes indeed, I thought it was already the case. I will check that soon, thanks.

Hi @vandalt, by default figures plot are skipped during clean, extract or calibrate step. You need to specify -p (--plot) to show the figures.

You're right, sorry I missed that part. Do you think it would be worth also setting the display argument of amical functions to False as well when none of --plot or --save-to are used ?

Do you propose to turn the display arguments to false by default everywhere?

Not by default in AMICAL necessarily, but in the CLI calls. For example, in the block below, set display=False in the first clause because the figures are not used, and set to True only if --plot is used (in other steps, this would also require looking for --save-to to see if the figures are saved, if I understand correctly).

FWIW this sounds good to me

authors: DrSoulain neutrinoceros vandalt


text:
Also conflicts with Twig v2.7.4

Same issue as v2.7.3

Do you remember what was the issue?

authors: pamil stefandoorn

repo: Sylius/SyliusThemeBundle


text:
WIP: Changes for new yosys

This PR requires the new yosys master+wip  to go green.
It adds a new techmap for the carrychain and adjusts some tests, as well as the synth.tcl script which needs some parameters to be added/changed.

Superseded #1577

authors: acomodi litghost

repo: SymbiFlow/symbiflow-arch-defs


text:
Add QuickLogic CI configuration

This PR contains a basic configuration for the QuickLogic CI, as suggested in https://github.com/SymbiFlow/symbiflow-arch-defs/pull/1758#issuecomment-723222892.

I'm obtaining gateway time-out errors in the CI:
CondaHTTPError: HTTP 504 GATEWAY TIME-OUT for url <https://conda.anaconda.org/symbiflow/linux-64/symbiflow-yosys-plugins-1.0.0.7_0174_g5e6370a-20201012_171341.tar.bz2>

This is strange since I can access the package using the url above directly.

I'm obtaining gateway time-out errors in the CI:
CondaHTTPError: HTTP 504 GATEWAY TIME-OUT for url <https://conda.anaconda.org/symbiflow/linux-64/symbiflow-yosys-plugins-1.0.0.7_0174_g5e6370a-20201012_171341.tar.bz2>

This is suspicious since I can access the package using the url above directly.

This is something that is broken in conda 3.8.3.  They fixed it in conda 3.8.4 and higher, but they haven't cut a new miniconda yet :/


text:
Replace Travis CI with GitHub Actions

This PR moves the CI from Travis to GitHub Actions
Closes #71
Closes #73

If its green and and after some cleanup in commits (like merge all the Travis stuff into one commit and merge all the GA stuff to one commit) I will merge!

LGTM

repo: SymbiFlow/symbiflow-examples


text:
Essentially added Scp173-Blink features

Added

Scp173BlinkingPatch
Blink-Event
ConfrontingPlayers to Scp173Controller

Added publicized Mirror.dll for potential future features, if unnecessary, you might as well remove that again.

ConfrontingPlayers = All players looking at Scp173

ConfrontingPlayers = All players looking at Scp173

repo: SynapseSL/Synapse


text:
Fix - adding auth challenge

Needed for working with staging SSL. Without it, we get -999 Cancelled error

Tested locally, merging.

repo: Syncano/syncano-ios


text:
feat(net): initial go at IPv6 parsing

Replacing this with a similar approach outlined in the IPv4 parsing would be good for performance reasons, but given that this is a fallback in the first place maybe this approach is fine for now. If this way is a non-starter, I could take another go to try and make it cleaner / faster. Tried following contributions document and the example of the rest of the code in the codebase.
Essentially, I saw a TODO and thought this might be someplace where someone without much experience with the codebase as a whole could contribute something of relative substance.

Missed the clause on the PR that said commits must be signed. I force pushed a new one containing all the others with a proper GPG key.

repo: Syndica/sig


text:
All functions payable

to ensure we dont have any problems with multicall, we are switching all functions to be payable. This change also includes a new package which enforces the use of payable so it does not get forgotten.
UpgradeModule and related immutable modules have been excluded from lint checks.
Other warnings cleaned up.

Closing in favor of #1817

authors: dbeal-eth noahlitvin


text:
🛑 Uptime Kuma is down

In 5488bc1, Uptime Kuma (https://uptime-last.mioun.repl.co/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Uptime Kuma is back up in a00f4a2.

repo: Syrup/upl


text:
Correction of compartment reaction——peroxisome

Main improvements in this PR:
Try to be as clear as possible: Is it fixing/adding something in the model? Is it an additional test/function/dataset? PLEASE DELETE THIS LINE.
Correct reactions in peroxisome baesd on protein location, which is detailed in the file "protein_location_sce.tsv". The file "bound0.xlsx" shows all the reactions whose bounds are restricted to 0.
Explanation:
Check all reactions from the main branch. And take the reaction "r_0001" for example. "r_loca" refers to the location of "r_0001" accoording to the model. "r_pro" refers to the corresponding protein in the model. "all_pe" refers to all the peroxisome protein baesd on the file "protein_location_sce.tsv".
If "r_loca" is lipid droplet and "r_pro" is not in "all_pe", the upper and lower bound of "r_0001" are restricted to 0.
If "r_loca" is not lipid droplet and "r_pro" is in "all_pe", the "r_0001" is added into peroxisome compartment.
I hereby confirm that I have:

[ ] Tested my code with all requirements for running the model
[ ] Selected develop as a target branch (top left drop-down menu)
[ ] If needed, asked first in the Gitter chat room about this PR

Similar as #314, there are serious concerns about the approach for model curation performed here. Same comments apply here curation of compartments is still useful, but should be handled differently:

Have a trustworthy source of compartment information. Current source is unknown.
There are papers with peroxisome proteomics, this would be valuable input data to use.
Regardless, just assigning proteins to different compartments based only on high-throughput data is not sensible. Look at the whole functional pathways: are whole pathways located in the peroxisome or not? Maybe some additional reactions should be copied, to get functional pathways.

I will close this PR because it does not follow a sensible strategy to do this curation. Please feel free to open an Issue to discuss how to implement this curation, based on what data and which reactions should be changed.

authors: cheng-yu-zhang edkerk

repo: SysBioChalmers/yeast-GEM


text:
🛑 Fnb storefront is down

In 25692b3, Fnb storefront (https://fnb39.com) was down:

HTTP code: 504
Response time: 11585 ms

Resolved: Fnb storefront is back up in 636f5f6 after 5 minutes.


text:
Quality slider for JXL Lossy and effort slider for AVIF

Is your feature request related to a problem? Please describe.
While the defaults are good (idk about AVIF effort), sometimes those options would be nice. Like when converting in bulk or when you want it to try even harder. Or you want to compress (with JXL) harder
Describe the solution you'd like
Adding an a quality option for JXL Lossy (i would prefer using "distance", but doesnt really matter) and effort slider for AVIF
Describe alternatives you've considered
None?

Can't say about avif because it relies on Library, but added for jxl some additional params

about effort better ping the avif-coder

https://github.com/awxkee/avif-coder/issues/16


text:
Many errors in Log

renault.0
143426
2022-10-15 14:06:25.926
error
{"type":"TECHNICAL","messages":[{"code":"err.tech.wired.kamereon-proxy","message":"Failed to forward request to remote service."}],"errors":[{"errorCode":"err.tech.wired.kamereon-proxy","errorMessage":"Failed to forward request to remote service."}],"error_reference":"TECHNICAL"}

renault.0
143426
2022-10-15 14:06:25.926
error
AxiosError: Request failed with status code 500

Starting the hvca and ready battery-level works anyways.

When this happens.
Since when
Please wait 2 days if it still appears

Since many days. More than one week.

Maybe because I restart it every night? (It seems it occasionally logs me off from Renault if I don't do that).

Seems to get more quite now.

I can confirm the same. Since about 19:00 today, I consistently receive these log messages in the system. Until just now, the adapter ran here without problems for many months. It lets since 19.00 o'clock the log by the error messages run full. I have now deactivated the adapter for the time being.
I have only blackened my FIN of the vehicle.

Today is another day where ioBroker's log is cluttered with the above messages.
Is there still no adequate solution? Is disabling the adapter the only solution so that the many error messages stop filling the log. That would be a great pity.

I reduce the number of errors in case the Renault server are not available

Today and the last 3 to 4 days, always the same error message sequence. (I have only blackened the VIN.)

Yesterday, many of the error messages shown above were in the log again. But today it is extreme. The log of ioBroker is full of them today. I will deactivate the adapter now for the time being.


text:
Sufficient data for estimation

The inner join between genotypes and phenotypes can remove all occurences of a given genotype or phenotype. This will still produce a result at the moment and shouldn't. Needs to be invetigated.

Has not been raised again. closing


text:
Honor Sonatype Publishing rules

In closing the Sonatype staging repo for release, honor rules as noted in this failed build:
https://github.com/TBD54566975/web5-kt/actions/runs/8594832951/job/23548645066#step:5:1677

For errors of type:
Error:      * No public key: Key with id: (4ca6b792c4f48116) was not able to be located on https://keys.openpgp.org/. Upload your public key and try the operation again.

I have uploaded the public key we use to sign releases, verifiable here: https://keys.openpgp.org/search?q=293D005E4DAF68D5A31A96F44CA6B792C4F48116
This can be verified here by email address releases@tbd.email: https://keys.openpgp.org/search?q=releases%40tbd.email

The other type of error here is this:
Error:    Rule "javadoc-staging" failures
Error:      * Missing: no javadoc jar found in folder '/xyz/block/web5-dids/1.0.0'
Error:      * Missing: no javadoc jar found in folder '/xyz/block/web5-common/1.0.0'
Error:      * Missing: no javadoc jar found in folder '/xyz/block/web5-credentials/1.0.0'
Error:      * Missing: no javadoc jar found in folder '/xyz/block/web5-crypto/1.0.0'
Error:      * Missing: no javadoc jar found in folder '/xyz/block/web5-testing/1.0.0'
Error:      * Missing: no javadoc jar found in folder '/xyz/block/web5-jose/1.0.0'

Note that the Gradle build had these files, but empty:

So I'll need to generate some -javadoc.jar files for the artifacts, even though we publish API Docs uniformly through the Dev Site and hosted by gh-pages.

Honored.


text:
As a user, I want to join a session, so that I can join my team to play Planning Poker

Acceptance Criteria :
1.On login, user should be able to see the 'Join the session' button to get started with the game.
2.User should be asked the session number which he/she wishes to join.
3.System should allow associates to enter only numeric characters in Session id textbox.
4.System should throw a message if the session number is incorrect.Message should be "Enter a valid session number."
5.User should be able to navigate to the game page after entering the session number.

repo: TCSAgile/AgileToolKit


text:
这个提示一般是显存超了，可以考虑用4bit量化，或者对话论数不要太长

          这个提示一般是显存超了，可以考虑用4bit量化，或者对话论数不要太长

Originally posted by @duzx16 in https://github.com/THUDM/ChatGLM-6B/issues/88#issuecomment-1471525100
I have use the 4bit, but the same error.How to solve it?

4bit和8bit量化我也试过，都准备深入去分析里面的代码了，后来发现这样改可以 https://github.com/THUDM/ChatGLM-6B/issues/347

authors: hechuanlong lulianLiu


text:
数据里的预处理

您好：
我是北京大学的一名学生，正在研究document_nmt这部分，想请问您，如果方便的话，是否可以提供论文中提到的数据集呢？此外，想请问下，对于数据集的预处理部分，可以开放看看么，对于中文该进行哪些预处理呢~
期待您的回复~
祝好~

你好，感谢你对这篇工作的关注。法英数据集从这下载。中英LDC数据集因为有版权问题，如果确定北大有这些数据集的使用权的话，可以通过邮件联系我。
预处理方面，对于中文的预处理是normalize+thulac分词+tokenize+lowercase，对其他语言的预处理是normalize+tokenize+lowercase。

谢谢您的回复！
这是我的邮箱1701210340@pku.edu.cn，我知道北大的计算所有这个权限，但是我并不是这个实验室的，我不知道这样算不算，不方便的话就算啦，感谢~。
以及预处理的normalize能说一下具体细节么，或者看看您的预处理脚本或源码，因为中文的预处理不同感觉会有一定影响，十分感谢您~

LDC的数据是按学校卖使用权的，所以这个应该没有问题。normalize使用的是实验室写的一个脚本，我先找一下，稍后通过邮箱一起给你吧。

实在太感谢了！！！~

我好像没找到您的邮箱，我看我回信都是回到github的链接上，等您方便的时候，我的邮箱是这个1701210340@pku.edu.cn，十分感谢~
祝好~

好的，已发送！

LDC的数据是按学校卖使用权的，所以这个应该没有问题。normalize使用的是实验室写的一个脚本，我先找一下，稍后通过邮箱一起给你吧。

你好，你能把中英数据和脚本也给我发一份吗，我会尽快得到版权，主要是我需要先跑一下实验，非常感谢，我的邮箱374481729@qq.com

您好！请问您论文中使用的验证集和测试集NIST2002-2008是开源的吗？改怎么获取呢？

repo: THUNLP-MT/Document-Transformer


text:
Fix JSON validator + correct tides.spec.json for successful validation

Pull Request
This PR resolves #136 via a personal fork of the unmaintained GitHub Action we had in use - we can always fork a version directly under the TIDES project later instead of having it live under my GitHub account.
The PR also uses tides-data-package to validate tides.spec.json, and makes small changes to tides.spec.json in order to pass validation.
The merge-ready PR doesn't include a run of the second Action that was changed, defined in validate_table_schemas.yml, but that was tested on previous commits via small changes to operators.schema.json that have now been undone.

Okay, so here's where we're at:
The most popular actively maintained JSON validator Action doesn't work for our purposes because A.) it uses a version of ajv that doesn't support draft-04, and B.) if we upgrade to draft-07 the validator doesn't give us the option to directly set the ajv setting that controls strict interpretation of unknown keywords - so the validator fails on keywords like propertyOrder and context due to ajv opinionated contravention of general JSON Schema implementation guidelines.
Most of the other validator Actions out there have some version of the same problem. So I forked the original validator into the TIDES GitHub organization, which is flexible enough to work for our purposes but introduces a possible future maintenance burden.
In addition, I went ahead and updated JSON Schema standard referenced by tides-data-package.json and data-schema.json to use draft-07 (which doesn't require changes in our schemas, since the only breaking changes from draft-04 to draft-07 aren't applicable to our implementation). The intent here is to give us a head start on future alignment with a newer, more widely used version of the standard and enable us to hook into externally maintained validation tools later if one meets our needs. However, since the examples from Frictionless still use draft-04 and these files pass CI now either way, I can be persuaded to use draft-04 instead to remain in alignment with those examples for now. Happy to go in either direction based on your input, @e-lo.

@SorenSpicknall wondering if this is actually now moot with new version released just now: https://github.com/frictionlessdata/frictionless-ci/pull/48

@SorenSpicknall wondering if this is actually now moot with new version released just now: frictionlessdata/frictionless-ci#48

My understanding from the description of #136 and a quick glance at the docs is that the Frictionless-maintained Action is solely geared toward data validation right now, and doesn't support schema validation. That's why we've been using the other Action, json-schema-validator. The Dockerfile update that was made to the Frictionless-maintained Action doesn't appear to be directly related to the problems we had with the Action we're using, unless there's something I'm missing.
It's definitely worth continuing to keep the Frictionless tool on the edge of our vision in case they add schema validation in the future, since a community-maintained option that suits our needs would certainly be nicer to work with than the fork used in this PR, but I don't believe the Frictionless-maintained Action supports the functionality we're looking for right now.

authors: SorenSpicknall e-lo

repo: TIDES-transit/TIDES


text:
NCDA - Translations fix

Todo
Add missing translations

Additional texts that are not translated

repo: TIP-Global-Health/eheza-app


text:
Katalóg požiadaviek - kapitola "Špecifické požiadavky"

Tretia kapitola katalógu požiadaviek, ktorá má no aj nemusí obsahovať:

Funkčné požiadavky
Požiadavky, ktoré sa nevzťahujú na funkcionalitu
Požiadavky ohľadom rozhrania

len malý komentár: ako som na prednáške upozorňoval, je nevhodné non-functional requirements prekladať ako "nefunkčné požiadavky". Sú to "požiadavky, ktoré sa nevzťahujú na funkcionalitu", alebo "ostatné požiadavky".

Ďakujem za upozornenie, editoval som popis Issue

Doplnené @T3odor10001  + @SamuelJesik

authors: AdamHuserka SamuelJesik pavelpetrovic

license: Unlicense


text:
Testovacie scenáre

Majú úlohu "akceptačných testov" - t.j. predtým, ako sa systém odovzdá zadávateľom na testovanie sa cez ne pre kontrolu musí prejsť. Niekoľko testovacích scenárov, kde každý scenár pozostáva z niekoľkých (napr. 10 bodov) v štýle
3. AKCIA
VÝSLEDOK
napríklad:
akcia: používateľ zmení konštantu zrýchlenia a stlačí [nastaviť]
výsledok: v rozhraní sa zmení label s aktuálne nastavenou rýchlosťou a teleskop sa začne pohybovať podľa novej konštanty
Jeden takýto scenár pokryje povedzme 30% katalógu požiadaviek, tak treba pridávať ďalšie scenáre, kým nebudú pokryté všetky.
Jeden človek tieto scenáre podľa KP pripraví a druhý skontroluje, že všetky požiadavky sú v nejakom scenári pokryté.

Testovacie scenáre.docx

Testovacie.scenare.docx


text:
No chance to access first value of paramGroup on component load

StackBlitz: https://stackblitz.com/github/steinsag/angular-ngqp?file=src%2Fapp%2Ffilter-list.component.ts
Belonging GitHub repo: https://github.com/steinsag/angular-ngqp
Steps to reproduce:

start above app
click on button "search param q=123"

expected: list only shows values containing 123
actual: all values are shown; quickSearch is null on load

Sub-sequent clicks on the buttons or manually entering a different value in quickSearch filter works as expected. If one returns to "home" component, the problem can be reproduced again.
In issue https://github.com/TNG/ngqp/issues/72, a work-around is described to access the first value of a param group when a component is loaded. Idea is to wrap paramGroup.valueChanges with another observable with a startWith value using something like:
this.paramGroupValues$ = this.paramGroup.valueChanges.pipe(
  startWith(this.paramGroup.value),
  takeUntil(this.ngUnsubscribe)
);

However, this doesn't seem to work, because this.paramGroup.value always returns null on component init.

Thanks for reporting this and, importantly, providing a StackBlitz! I will take a closer look and a more detailed reply later on, but if you need a way to make this work quickly, this is it:
    this.paramGroupValues$ = defer(() => this.paramGroup.valueChanges.pipe(
      startWith(this.paramGroup.value),
      takeUntil(this.ngUnsubscribe)
    ));

I can confirm this work-around resolves the issue!

So to explain a bit further, in case it isn't clear now anyway, the difference is essentially the timing of when paramGroup.value is evaluated. In
this.paramGroupValues$ = this.paramGroup.valueChanges.pipe(
  startWith(this.paramGroup.value),
  takeUntil(this.ngUnsubscribe)
);

this happens when the observable is created, not when it is subscribed. At this point ngqp has had no time to synchronize the value from the URL, of course, and thus the value is null. Wrapping this into defer we can make this evaluation "lazy" such that it occurs when the observable is subscribed, which is what we want: upon subscription we track changes, but start once initially with the current value. This is essentially the same as if valueChanges was a ReplaySubject(1) instead of a Subject.
The fact that I posted this wrong in #72 was just an oversight, thanks for correcting it there. :-) I'll also update my comment there afterwards.
All that being said, this does still behave as intended, and I still think changing the semantic of valueChanges isn't ideal and would rather lean towards the idea of adding a value$ observable which is replayed. I've opened #177 for that (and will in turn close this issue).

authors: Airblader steinsag

repo: TNG/ngqp


text:
[Emu]: Potential fix for Windows/Linux/Mac/Android address issues.

Move all primitive list adding code for SPEC_PSXPC_N to macros, modify poly structs to allow 32-bit pointer size as address and 8 bit code separately. Make LIBGPU make use of getter macros for the new system (preferably implement this first).
This should allow us to run the game in 32-bit mode easily across all platforms. Also, Linux/Mac versions won't need the virtual memory allocation anymore.

A fix is work in progress and should be part of PR: #225

Fixed in: https://github.com/TOMB5/TOMB5/commit/09e7d3fda5e89e66fb8bb9a79d3981f2e6834996


text:
Скласти інтро

Скласти інтро (вступ), де в 2-4 реченнях описати, чим ти займаєшся, що подобається робити, що хочеться робити краще, що важливо робити, чому ти тут.

Оновила інтро та блок навичок.

repo: TPoleliuk/homepage


text:
Why do we need to switch x, y order?

Hello,
I am very confused about why we need to switch x, y order before warp_keypoints function call?
Can you explain a little bit about the background of this?
Thank you,
# Keypoint vector, consisting of (x,y,probability).
keypoints = np.stack([keypoints[0], keypoints[1]], axis=-1)
warp_keypoints(keypoints[:, [1, 0]], H)

def keep_true_keypoints(points, descriptors, H, shape):
       """ Keep only the points whose warped coordinates by H are still inside shape. """
       warped_points = warp_keypoints(_points[:, [1, 0]], H)
       warped_points[:, [0, 1]] = warped_points[:, [1, 0]]
       mask = (warped_points[:, 0] >= 0) & (warped_points[:, 0] < shape[0]) &\
              (warped_points[:, 1] >= 0) & (warped_points[:, 1] < shape[1])
       return points[mask, :], descriptors[mask, :]

Hey - thanks for the question. We kept much of the evaluation similar to other methods for consistency. I'm pretty sure we should be able to do this in a cleaner way. I'll check in more detail and get back to you in a few days.

Hey - thanks for the question. We kept much of the evaluation similar to other methods for consistency. I'm pretty sure we should be able to do this in a cleaner way. I'll check in more detail and get back to you in a few days.

I am confused too. It seems that x,y should not swap...
In the normal scene,conside  map to    :

the final result is:

But in code ,its seem that:

the final result is:

then we swap final x,y after warp_keypoints finished,but result is not right,is obviouse that:

Maybe should not swap x,y?

Thanks! I've also been looking into this and cleaning up the code. The calculation is correct, but we swap and then swap back in a couple of places which is unnecessary. I'll PR the cleanup fix later today (and I've also updated the repo to pytorch 1.6).

We just merged a PR with the cleanup - hopefully it makes more sense now!

We just merged a PR with the cleanup - hopefully it makes more sense now!

authors: RaresAmbrus captainfffsama neon5d


text:
feat: add location to "Scheduled" lectures on course page

Motivation and Context
Under scheduled lectures a new link to lecture hall webpage on NavigaTUM is added.
The issue: https://github.com/TUM-Dev/gocast/issues/1193
Description
The lecture hall information of scheduled lectures is used to query NavigaTUM.
Steps for Testing
Prerequisites:

1 Module

Log in
Create a new scheduled lecture for the module
Go to lecture homepage on TUMLive

Local copies of TUMLive don't update the lecture hall information, so no link is displayed there. However a reviewer can manually set a RoomCode for the lecture in order to observe the change.

There were many conflicts in go.mod and web/package-lock.json, so i kept the values in my branch and deleted the old values from dev. Now it fails the tests but works as intended on my end.

I'm sorry but we just have to put that code into the .ts files.
Why couldn't you get it to these files, what's your error?

Is the update of the package-lock.json really needed? If not, we should do this in a different PR so we can locate errors in the git log more easily.
If this didn't happen on purpose, please use npm ci instead of npm i because then the package-lock isn't changed.

This is a byproduct of me using npm i to recompile tailwind. After checking what changed, I saw they were mostly dependency changes to newer versions (saying mostly because to be honest I have not checked each and every one) and gocast was working so I left them as is. However as far as I understand, after this PR is merged, a new installation would change this file again anyway since npm i is used during the setup process. Would you rather prefer these changes to be rolled back entirely or transferred to a new PR?

The package-lock.json file is replaced with its counterpart from dev branch. However I also noticed some small files have also been changed indirectly, so I pushed them too to be safe. The only commands I have used that may have caused this are go get ./...,  npm audit fix and npm fund.

authors: KemalKrKX SebiWrn

repo: TUM-Dev/gocast


text:
无法使用于1.8

[20:55:28 WARN]: java.lang.IllegalAccessError: tried to access class kotlin1510.text.DelimitedRangesSequence from class kotlin1510.text.StringsKt__StringsKt
[20:55:28 WARN]:        at kotlin1510.text.StringsKt__StringsKt.rangesDelimitedBy$StringsKt__StringsKt(Strings.kt:1268)
[20:55:28 WARN]:        at kotlin1510.text.StringsKt__StringsKt.rangesDelimitedBy$StringsKt__StringsKt$default(Strings.kt:1264)
[20:55:28 WARN]:        at kotlin1510.text.StringsKt__StringsKt.splitToSequence(Strings.kt:1287)
[20:55:28 WARN]:        at kotlin1510.text.StringsKt__StringsKt.splitToSequence$default(Strings.kt:1286)
[20:55:28 WARN]:        at kotlin1510.text.StringsKt__StringsKt.lineSequence(Strings.kt:1381)
[20:55:28 WARN]:        at kotlin1510.text.StringsKt__StringsKt.lines(Strings.kt:1388)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.module.nms.Mapping.(Mapping.kt:24)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.module.nms.MinecraftVersion$mapping$2.invoke(MinecraftVersion.kt:142)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.module.nms.MinecraftVersion$mapping$2.invoke(MinecraftVersion.kt:132)
[20:55:28 WARN]:        at kotlin1510.UnsafeLazyImpl.getValue(Lazy.kt:81)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.module.nms.MinecraftVersion.getMapping(MinecraftVersion.kt:132)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.module.nms.MinecraftRemapper$mapping$2.invoke(MinecraftRemapper.kt:26)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.module.nms.MinecraftRemapper$mapping$2.invoke(MinecraftRemapper.kt:25)
[20:55:28 WARN]:        at kotlin1510.UnsafeLazyImpl.getValue(Lazy.kt:81)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.module.nms.MinecraftRemapper.getMapping(MinecraftRemapper.kt:25)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.module.nms.MinecraftRemapper.translate(MinecraftRemapper.kt:87)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.module.nms.MinecraftRemapper.mapType(MinecraftRemapper.kt:60)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.library.asm.commons.ClassRemapper.visit(ClassRemapper.java:105)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.library.asm.ClassReader.accept(ClassReader.java:569)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.library.asm.ClassReader.accept(ClassReader.java:424)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.module.nms.AsmClassTransfer.createNewClass(AsmClassTransfer.kt:23)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.module.nms.MinecraftServerUtilKt.nmsProxyClass(MinecraftServerUtil.kt:92)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.module.nms.MinecraftServerUtilKt.nmsProxy(MinecraftServerUtil.kt:72)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.module.nms.ChannelExecutor.getPlayerChannel(ChannelExecutor.kt:149)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.module.nms.ChannelExecutor.addPlayerChannel(ChannelExecutor.kt:65)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.module.nms.ChannelExecutor.onJoin(ChannelExecutor.kt:113)
[20:55:28 WARN]:        at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.library.reflex.JavaClassMethod.invoke(JavaClassMethod.kt:31)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.common.platform.event.EventBus.invoke(EventBus.kt:132)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.common.platform.event.EventBus.invoke$default(EventBus.kt:130)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.common.platform.event.EventBus$registerBukkit$2.invoke(EventBus.kt:77)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.common.platform.event.EventBus$registerBukkit$2.invoke(EventBus.kt:76)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.common.platform.function.ListenerKt$registerBukkitListener$1.invoke(Listener.kt:39)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.common.platform.function.ListenerKt$registerBukkitListener$1.invoke(Listener.kt:39)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.platform.BukkitListener$registerListener$listener$1.invoke(BukkitListener.kt:36)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.platform.BukkitListener$registerListener$listener$1.invoke(BukkitListener.kt:36)
[20:55:28 WARN]:        at libs.yunfuyue.quench.taboolib.platform.BukkitListener$BukkitListener.execute(BukkitListener.kt:73)
[20:55:28 WARN]:        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78)
[20:55:28 WARN]:        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
[20:55:28 WARN]:        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:517)
[20:55:28 WARN]:        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:502)
[20:55:28 WARN]:        at net.minecraft.server.v1_8_R3.PlayerList.attemptLogin(PlayerList.java:472)
[20:55:28 WARN]:        at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:118)
[20:55:28 WARN]:        at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54)
[20:55:28 WARN]:        at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231)
[20:55:28 WARN]:        at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148)
[20:55:28 WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:875)
[20:55:28 WARN]:        at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:378)
[20:55:28 WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:713)
[20:55:28 WARN]:        at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:616)
[20:55:28 WARN]:        at java.lang.Thread.run(Thread.java:750)

1.8 就别用 nms 了吧，基本没人去做兼容工作

repo: TabooLib/taboolib


text:
接口不存在

配置了支付提示接口不存在，系统已经是最新版本，本来想改下支付插件就这样了

配置了支付提示接口不存在，系统已经是最新版本，本来想改下支付插件就这样了

检查是否成功配置好接口

截图后台配置和提示

截图后台配置和提示

三天前的消息了 他应该修复了

authors: WuMe-sicx imPrk0 xiaozhi-boy


text:
Confused date parsing

I noticed the following error with the report command:
~ ❯❯❯ watson report -f 2016
Thu 01 January 1970 -> Sat 27 February 2016

I looked a bit deeper and here's what I found. The following are parsed correctly:
2016-02-14
2016-02
2016.02.14
2016/02/14
2016/02

But those appear as Thu 01 January 1970:
2016.02
2016

Strangely enough, if I add some garbage at the end, it works:
$ watson report -f 2016.02foo
Mon 01 February 2016 -> Sat 27 February 2016
...
$ watson report -f 2016foo
Fri 01 January 2016 -> Sat 27 February 2016
...

I think I understood it more: if the dates looks like a decimal number, it is intrepreted as a timestamp:
~ ❯❯❯ watson report --from $(date --date=2016-01-01 +%s)
Thu 31 December 2015 -> Sat 27 February 2016

Thanks for the report. Should we consider this as a duplicate of #10 ?

authors: gdetrez jmaupetit

repo: TailorDev/Watson


text:
Image Orientation

When i attach portrait image either from camera/gallery. into crop View it shows landscape image....
how to solve this ? tested on Samsung Galaxy s5.

I believe this library does not control the orientation, so I guess you set a rotated image somehow.
Can you check what happens if you set the same image into just a normal ImageView?

I'm closing this because this happens when you set a rotated image into CropLayout.
You have to check the rotation and rotate it if needed. This is not what the library does for you.

authors: TakuSemba zohaibshan

repo: TakuSemba/CropMe


text:
準備完了

[x] README改修
[ ] LICENSE作成
[ ] 献上方法作成
[ ] 記事を増やす

[x] charname.js

取り敢えずリポジトリの準備は完了

repo: Takym/shutage


text:
test(toberemoved):jenkins merge pr with right branch

just a test for jenkins, will be removed

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: failure :x:

Pull request test result: success :star:

authors: build-talend-common sgandon

repo: Talend/components


text:
Scroll Restoration is not working even on the doc's examples

Describe the bug
according to the documentation the Scroll Restoration works for all queries but I couldn't be able to use it so far. When I scroll down a page and then go to another page and return to the previous page, I'm again at the top of the page.
I also check the documentation's examples like Rick and Morty and again it's not working.
Version: ^3.3.5

This is due to codesandbox's routing. Deployed, they work just fine: https://csb-hewky-7cp04rzhw.vercel.app/

This is due to codesandbox's routing. Deployed, they work just fine: https://csb-hewky-7cp04rzhw.vercel.app/

This is due to codesandbox's routing. Deployed, they work just fine: https://csb-hewky-7cp04rzhw.vercel.app/

broken link... please restore

authors: SimaAmini tannerlinsley thkim90

repo: TanStack/query


text:
Devtool button doesn't work with Headlessui Dialog component and backdrop

Describe the bug
HeadlessUI Dialog component uses a portal to render their modal component as a child of document.body: https://headlessui.com/react/dialog#rendering-to-a-portal. This is to make sure it always displays over everything else. They also mark the React root node as inert. No matter where you place your ReactQueryDevtool component in your application it can't receive click event anymore once the modal is opened. The problem is that if you make queries inside your modal then you cannot access the debugging tools.
The best way to fix this would be for the Devtools to render through a portal as well so we can make sure it's rendered on top of everything as well IMO. Also the CSS stacking context will be the same as the modal so the Devtools should take over and be on top.
Your minimal, reproducible example
https://github.com/Nargonath/react-query-devtools-zindex-bug
Steps to reproduce

Clone GitHub repo.
Run npm run dev.
Go to http://localhost:5173/.
Click "Open dialog".
Try clicking the devtool button and notice that the dialog backdrop gets the click event instead.

Expected behavior
When clicking the Devtool button, it should open without impacting the Dialog component.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform

Windows 11 WSL 2
Brave v1.61.104

Tanstack Query adapter
react-query
TanStack Query version
5.14.1
TypeScript version
5.3.3
Additional context
@tanstack/react-query-devtools@5.14.1

This happens because headless UI dialogs mark the inert property on the react app wrapper div.
The solution is to render the RQ dev tools outside.
			{createPortal(
				<ReactQueryDevtools
					initialIsOpen={false}
					panelProps={{
						style: {
							// zIndex: 9999999999999999,
						},
					}}
				/>,
				document.body
			)}

Yes that's what I thought but as I mentioned in the description, shouldn't we make it part of the RQ devtool package?

I don't see it as a bug, it's expected behavior due to the inert property.
And the workaround is pretty simple using a portal.

Yeah but as a matter of comparison, headlessUI doesn't require you to render their Dialog component with a portal to make sure it works properly. They do it themselves. Why not do the same for the RQ Devtool? I'd expect that most application will want the devtool button to be on top of everything anyway, plus it's stated in the docs that it should be put as high as possible without your component tree. Using createPortal within this package would ensure this and one less thing to do in userland.

I think you can render the devtools wherever you want to - we just export the component. There is no dependency on react-dom from within the devtools - only on react. I wouldn't want to add that.
The portal solution is a good one for user-land. I've seen similar problems with our dialog component - any click in the devtools will close the dialog - so I'll try that out myself :)

Alright, thanks for the answer. I'll implement the fix on my side then.

what is the workaround? Using Radix dialog and it adds pointer events: none to body :(
https://www.radix-ui.com/primitives/docs/components/dialog

authors: Nargonath TkDodo hichemfantar seb-lean


text:
createFileLoader type inference is sensitive to key order

Describe the bug
When calling createFileRoute in a typescript application, type inference is sensitive to the the order of the object keys provided.  We noticed this specifically with loaderDeps and loader:

if loader appears before loaderDeps (which is the default sort of our lint rules, for example), types do not infer.
if loader appears after loaderDeps, types do infer.

Thank you!
Your Example Website or App
https://codesandbox.io/p/sandbox/tanstack-router-issue-4k796k?file=%2Fsrc%2Froute.tsx%3A16%2C4
Steps to Reproduce the Bug or Issue

interface TestParams {
  test?: string;
}

export const RouteWithTypeError = createFileRoute("/test-route")({
  component: () =>
Hello
,
  validateSearch: (search: TestParams) => ({
    test: search["test"] ? search["test"] : "not-provided",
  }),
  // if loader key appears before loaderDeps, types are not inferred
  loader: ({ context, deps }) => {
    return deps.test;
  },
  loaderDeps: ({ search }) => search,
});

export const RouteNoTypeError = createFileRoute("/test-route")({
  component: () =>
Hello
,
  validateSearch: (search: TestParams) => ({
    test: search["test"] ? search["test"] : "not-provided",
  }),
  // If loaderDeps key appears before loader, types are inferred
  loaderDeps: ({ search }) => search,
  loader: ({ context, deps }) => {
    return deps.test;
  },
});```

### Expected behavior

Because this is an object interface, we would not expect key order to have any effect on the typings.

### Screenshots or Videos

Error:
![image](https://github.com/TanStack/router/assets/1848220/cb6aa8b0-8b84-48e6-9fce-46576059ae7b)
Inferred:
![image](https://github.com/TanStack/router/assets/1848220/da2bbee0-94ea-4c7a-97c5-f27f53f6f2ad)

### Platform

- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]

### Additional context

_No response_

I think there is not much we can do here... do you have any suggestions ?

Other than making deep changes to provide a stricter builder api, this is necessary. I don’t plan on changing this either. It’s quite possible in the future that this inference will improve as it already has in the past to not be an issue.

I appreciate the responses, thank you!  If we come up with any good ideas, we'll definitely let you know : )
In the meantime, happy for this to be closed or however you all want to handle it.

repo: TanStack/router


text:
Scroll restoration doesn't work when using useWindowVirtualizer

Describe the bug
Scroll restoration doesn't work when using useWindowVirtualizer.
I used react-virtualized and it works fine.
Your minimal, reproducible example
https://stackblitz.com/edit/next-typescript-pokptk-mucmhs?file=pages%2FanotherPage.tsx,pages%2Findex.tsx
Steps to reproduce

scroll down
click any link
click to go back.

Expected behavior
The scroll position is restored.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform
Chrome
tanstack-virtual version
@tanstack/react-virtual@^3.0.0-beta.18
TypeScript version
No response
Additional context
No response
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

I ended up restoring the scroll position manually.

@meotimdihia How did you fix this problem? because when you get the previous scroll position from local storage  you need something like offset prop and not initialOffset!
can you describe it, please?

This is my code while using next.js
I saved the position when users scroll.
import { useRouter } from "next/router"
import useMounted from "@libs/use_mounted"
import { useCallback, useEffect } from "react"
import { useScroll } from "@use-gesture/react"

export default function useRestoration({
  minHeight = null,
  conditinal = true,
  virtual = null
}: {
  virtual?: any
  minHeight?: number
  conditinal?: boolean
}) {
  const mounted = useMounted()
  const router = useRouter()
  const key = "myapp-scroll-restoration-" + router.pathname

  // useScrollRestoration(router)
  const scrollToLastPosition = useCallback(() => {
    try {
      const pos = sessionStorage.getItem(key)
      if (pos) {
        const parsedPos = JSON.parse(pos)

        if (
          document.body.scrollHeight > parsedPos.y &&
          (!minHeight || minHeight < document.body.scrollHeight) &&
          (-1 > window.scrollY - parsedPos.y ||
            window.scrollY - parsedPos.y > 0)
        ) {
          window.scrollTo(parsedPos.x, parsedPos.y)

          if (virtual) {
            virtual.scrollToOffset(parsedPos.y)
          }
          try {
            sessionStorage.removeItem(key)
          } catch (e) {
            console.error(e)
          }
        }
      }
    } catch (e) {
      console.error(e)
    }
  }, [key, minHeight, virtual])

  if (mounted && conditinal) {
    scrollToLastPosition()
  }
  function getPosition(): number {
    try {
      const pos = sessionStorage.getItem(key)
      if (pos) {
        const parsedPos = JSON.parse(pos)
        // sessionStorage.removeItem(key)

        return parsedPos.y
      }
      return 0
    } catch (e) {
      return 0
    }
  }

  const savePostion = useCallback(() => {
    const x = window.scrollX
    const y = window.scrollY
    try {
      const position = sessionStorage.getItem(key)
      if (!position) {
        sessionStorage.setItem(key, JSON.stringify({ x, y }))
      } else if (position) {
        if (y != 0) {
          sessionStorage.setItem(key, JSON.stringify({ x, y }))
        }
      }
    } catch (e) {
      console.error(e)
    }
  }, [key])
  useEffect(() => {
    if (conditinal) scrollToLastPosition()

    // router.events.on("routeChangeStart", savePostion)
    // // window.addEventListener("mousedown", savePostion)
    // return () => router.events.off("routeChangeStart", savePostion)
  }, [conditinal, scrollToLastPosition])
  useScroll(
    () => {
      savePostion()
    },
    { target: window, axis: "y", threshold: 10 }
  )
  return [scrollToLastPosition, getPosition]
}

But I recommend you should try this package first:
https://github.com/petyosi/react-virtuoso
It is better in my opinion. Though it is not perfect too.

In latest beta virtualizer expose scrollOffset this can be save to storage, then restore it via initialOffset. In dynamic case we can also store measurementsCache  and restore it via initialMeasurementsCache

@piecyk Can you write an example in fixed mode, please?

@piecyk Can you write an example in fixed mode, please?

@milad1367 something like this https://codesandbox.io/s/busy-haslett-9t6yge?file=/pages/index.js

Thank you so much,

@piecyk
My current code :
import useGetData from "@/pages/api/useGetData";
import { useRouter } from "next/router";
import { useVirtualizer, observeWindowOffset } from "@tanstack/react-virtual";
import React, { useState, useEffect } from "react";
import Link from "next/link";
import { useDebounce, useSessionStorage } from "usehooks-ts";

export function ProductList() {
  const { query } = useRouter();
  const { search, select } = query;

  const filter = select?.toString().split("-");
  const parentRef = React.useRef(null);
  const [value, setValue] = useSessionStorage("virtualizer_scrollOffset", 0);
  const { data, isLoading, isError } = useGetData(search?.toString(), filter); //TODO think about better option search?.toString()
  const [scrollY, setScrollY] = useState(0);
  const debouncedScrollPosition = useDebounce(scrollY, 1000); // TODO

  useEffect(() => {
    setValue(debouncedScrollPosition);
  }, [debouncedScrollPosition, setValue]);

  const rowVirtualizer = useVirtualizer({
    count: data?.length,
    getScrollElement: () => parentRef.current,
    estimateSize: () => 35,
    initialOffset: (() => {
      if (typeof sessionStorage !== "undefined") {
        return parseInt(
          sessionStorage.getItem("virtualizer_scrollOffset") || ""
        );
      }
      return 0;
    })(),
  });
  const onScroll = (e: any) => {
    setScrollY(e.target.scrollTop);
  };

  if (isLoading) {
    return
is loading ...
;
  }
  if (isError) {
    return
Error!
;
  }

  return (
    <>
      <div
        style={{
          height: `400px`,
          overflow: "auto", // Make it scroll!
        }}
        ref={parentRef}
        onScroll={onScroll}
      >
        <div
          style={{
            height: `${rowVirtualizer.getTotalSize()}px`,
            width: "100%",
            position: "relative",
          }}
        >
          {rowVirtualizer.getVirtualItems().map((virtualRow) => (
            <div
              key={virtualRow.index}
              className={virtualRow.index % 2 ? "ListItemOdd" : "ListItemEven"}
              style={{
                position: "absolute",
                top: 0,
                left: 0,
                width: "100%",
                height: `${data[virtualRow.index]}px`,
                transform: `translateY(${virtualRow.start}px)`,
              }}
            >
              <Link href={`/product/${data[virtualRow.index].id}`}>
                {data[virtualRow.index].id}- {data[virtualRow.index].title}
              </Link>

          ))}

    </>
  );
}

now when I add observeElementOffset:
import useGetData from "@/pages/api/useGetData";
import { useRouter } from "next/router";
import { useVirtualizer, observeWindowOffset } from "@tanstack/react-virtual";
import React, { useState, useEffect } from "react";
import Link from "next/link";
import { useDebounce, useSessionStorage } from "usehooks-ts";

export function ProductList() {
  const { query } = useRouter();
  const { search, select } = query;

  const filter = select?.toString().split("-");
  const parentRef = React.useRef(null);
  const [value, setValue] = useSessionStorage("virtualizer_scrollOffset", 0);
  const { data, isLoading, isError } = useGetData(search?.toString(), filter); //TODO think about better option search?.toString()
  const [scrollY, setScrollY] = useState(0);
  const debouncedScrollPosition = useDebounce(scrollY, 1000); // TODO

  useEffect(() => {
    setValue(debouncedScrollPosition);
  }, [debouncedScrollPosition, setValue]);

  const rowVirtualizer = useVirtualizer({
    count: data?.length,
    getScrollElement: () => parentRef.current,
    estimateSize: () => 35,
    initialOffset: (() => {
      if (typeof sessionStorage !== "undefined") {
        return parseInt(
          sessionStorage.getItem("virtualizer_scrollOffset") || ""
        );
      }
      return 0;
    })(),
    observeElementOffset: (instance, cb) => {
      return observeWindowOffset(instance, (offset) => {
        if (typeof sessionStorage !== "undefined") {
          sessionStorage.setItem(
            "virtualizer_scrollOffset",
            offset?.toString()
          );
        }
        cb(offset);
      });
    },
  });
  const onScroll = (e: any) => {
    setScrollY(e.target.scrollTop);
  };

  if (isLoading) {
    return
is loading ...
;
  }
  if (isError) {
    return
Error!
;
  }

  return (
    <>
      <div
        style={{
          height: `400px`,
          overflow: "auto", // Make it scroll!
        }}
        ref={parentRef}
        onScroll={onScroll}
      >
        <div
          style={{
            height: `${rowVirtualizer.getTotalSize()}px`,
            width: "100%",
            position: "relative",
          }}
        >
          {rowVirtualizer.getVirtualItems().map((virtualRow) => (
            <div
              key={virtualRow.index}
              className={virtualRow.index % 2 ? "ListItemOdd" : "ListItemEven"}
              style={{
                position: "absolute",
                top: 0,
                left: 0,
                width: "100%",
                height: `${data[virtualRow.index]}px`,
                transform: `translateY(${virtualRow.start}px)`,
              }}
            >
              <Link href={`/product/${data[virtualRow.index].id}`}>
                {data[virtualRow.index].id}- {data[virtualRow.index].title}
              </Link>

          ))}

    </>
  );
}

I don't know what's wrong!
I'm using Nextjs.

@piecyk Can you write an example in fixed mode, please?

@milad1367 something like this https://codesandbox.io/s/busy-haslett-9t6yge?file=/pages/index.js

I'm trying to get this to work with just useVirtualizer instead of useWindowVirtualizer but for some reason every time I return back from the 2nd page, it starts the offset back at 0. If I refresh the page before going back, then it starts at exactly 1250 every time... even though the value I have stored in localStorage for the last recorded offset is ~5000... I can't figure out why it is resetting to 0 when going back, and why it is using specifically 1250 every time when going back after a refresh.
I think the fact that it is using 0 when going back without refreshing is somehow due to the initialOffset only being applied on init when calling the constructor for the first time... when I navigate to another page and then return, something tells me that it is not taking my initialOffset value correctly...
Could you or someone please provide an update exactly with how to do this properly using useVirtualizer?
Thanks so much!

The data I am displaying is dynamic

@Ugikie that is the case, basic when scroll is restored, virtualizer don't remember prev read sizes and auto adjustment kiks in, you also need to store measurementsCache and restore it by passing via initialMeasurementsCache.
for example you can save it on click
onClick={() => {
  initialOffset = virtualizer.scrollOffset;
  initialMeasurementsCache = virtualizer.measurementsCache;
}}

@Ugikie or even better you can save it on effect cleanup, checkout this react-router basic example https://stackblitz.com/edit/github-trynzk

I've just stumbled over this issue. I'm using tanstack-router and it doesn't seem to be solved between these two packages.
For those interested, my resulting, simple, solution is to use the history's state API. I like it because I don't have to worry about the scroll restoration being triggered by the wrong screen. Also, no ids!
  // Read from the history state
  const {
    vtableItemCount: restoreItemCount,
    vtableOffset: restoreOffset,
    vtableMeasureCache: restoreMeasurementsCache,
  } = history.state;

  const virtualizer = useWindowVirtualizer({
    // itemCount is undefined in my case, until the API resolves.
    count: itemCount == undefined ? restoreItemCount : itemCount,
    // Restore the offset and also the measurements cache (when measuring, not required otherwise)
    initialOffset: restoreOffset,
    initialMeasurementsCache: restoreMeasurementsCache,
  });

  // Update scrollpos and item count for scroll restoration.
  const scrollPos = useDebounce(useWindowScroll()[0].y, 500);
  React.useEffect(() => {
    history.replaceState(
      {
        vtableItemCount: itemCount,
        vtableOffset: scrollPos,
        vtableMeasureCache: virtualizer.measurementsCache,
      },
      document.title,
      window.location.href,
    );
  }, [itemCount, scrollPos, virtualizer.measurementsCache]);

Works perfectly!

@nuschk great! Thanks for the comment.

authors: Ugikie meotimdihia milad1367 nuschk piecyk

repo: TanStack/virtual