NOAA data

ftp://ftp.ncdc.noaa.gov/pub/data/ghcn/daily

https://cloud.google.com/blog/products/data-analytics/weather-climate-big-data-from-noaa-now-in-cloud
Worth noting that Google are publishing this data so whatever we want to say about this we might want to highlight how our value proposition differs from Google.

https://www.dolthub.com/repositories/Liquidata/noaa


Conditional skipping

Hello,
I'm trying to do the following thing with ModelMapper but I can't find a way to do it.
In some case, coming from an external treatment, I don't want some fields (including a list of objects) of my Source class to be mapped. But, in the other cases, I want ModelMapper to use its default mapping method. Basically, I would like to do this :
public class MyPropertyMap extends PropertyMap<Source, Destination>{

    private boolean condition;

    [...]

    @Override
    protected void configure() {
        if( condition ){
            // When the condition is true, no matters how, I want to skip the mapping of the list field
            skip().setList( null );
        } else {
            // Here, I want to tell ModelMapper : "Do as you would have done without this PropertyMap class"
        }
    }
}

Is it possible ? And if it is, how ?

@splanard - I think you can try something like this one
public class MyPropertyMap extends PropertyMap<Source, Destination> {
  private Condition<Source, Destination> condition;

  @Override
  protected void configure() {
    when(condition).using(converter).map(source).setList(null);
  }
}

For more detail, please reference the example
And the document about Conditional Mapping and Converters


Can't use GregTech fluids in recipes

Well, I'm making a GregTech-based skyblock pack and want End Stone to use something a bit more later in the game than Lava. I wanted it to use Nitration Mixture, but when I set the fluid name to "liquid.nitration_mixture" the recipe doesn't exist.

That really sounds like you are using the unlocalized name, it should be
something like 'gregtech:nitration_mixture'
EmosewaPixel<EMAIL_ADDRESS>schrieb am Fr., 15. Juni 2018,
15:11:

Well, I'm making a GregTech-based skyblock pack and want End Stone to use
something a bit more later in the game than Lava. I wanted it to use
Nitration Mixture, but when I set the fluid name to
"liquid.nitration_mixture" the recipe doesn't exist.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BloodWorkXGaming/ExNihiloCreatio/issues/92, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHwpZmXzuZH6wQeEs64G-OgdT-GpOTXTks5t87JlgaJpZM4Upick
.

Then you still might need the 'gregtech:liquid.whatever' as otherwise it
has no idea which mod the fluid is from
EmosewaPixel<EMAIL_ADDRESS>schrieb am Fr., 15. Juni 2018,
17:26:

Nope, that's simply how GregTech generates its fluid names. I was thinking
that perhaps it doesn't work because it starts with "liquid.".
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BloodWorkXGaming/ExNihiloCreatio/issues/92#issuecomment-397657175,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHwpZrylZTOP1IT_1fjp0vuopX0w2bw4ks5t89I8gaJpZM4Upick
.

In 1.12.2 mod names aren't used in fluid ids.

Mhhh, that's wierd then...
Will check it out in dev then when I find the time.
Greg isn't open source right?
Could've checked whether they are doing something wierd with their fluids.
EmosewaPixel<EMAIL_ADDRESS>schrieb am Fr., 15. Juni 2018,
17:44:

In 1.12.2 mod names aren't used in fluid ids.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BloodWorkXGaming/ExNihiloCreatio/issues/92#issuecomment-397661964,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHwpZtWPq2vRXw0mAVrJ6-sloeZKK-WPks5t89ZAgaJpZM4Upick
.

This is GregTech Community Edition: https://github.com/GregTechCE/GregTech

Side-issue: it's fluids show up white in Ex Nihilo Barrels. Might be related

Ye could possibly be connected, but I have no idea what might be the cause of either, if I find time this weekend I'll check it out more deeply

And regarding your colorless issue, can't really replicate, atleast helium has a color in the barrel for me

Welp, tested the recipes and that seems to work just fine as well:
https://gyazo.com/abda45cc791bf3f59cc4137836e04be2

Huh, ok then. I'm away for a week so I can't really retest everything.

Closing this for now, if the problem is still there when test it again, just open it again or make a new issue and describe your steps closely so I can reproduce it


Re-evaluate op chunking algorithm

Today, we break ops with content larger than 16K into smaller chunks (ops).
This feature was added before batches existed, and we were hitting 1Mb limits as described in other bugs (see #9023).
With addition of batches, and further switching to batching being by default at JS turn, we can expect most ops to be in a batch. I.e. large op be part of batch that has at least one other op (in a batch) and requirement (in current system) to send all of these ops (including chunks of big op) as one socket.io message.
As result, chunking does not solve the problem with 1Mb limit anymore, and actually does the opposite - it makes payload much larger, as chunking (due to escaping) causes payload to grow. As result, we hit 1Mb limit much sooner.
We can do one of the following to address these problems:

Raise chunking limit (but below 1Mb).

Does not help address the problem when it's above limit, but reduce overhead if it's below limit

Raise it above 1Mb. This is essentially similar to no limit, as any message above limit will not go through.
Remove limit altogether
Change limit to something below 1Mb (let's say 512Kb) and close container when we breach the limit.

the assumption here is that that way we will catch most cases that result in batch being over 1Mb in size, while not being too aggressive (i.e., not having too many false positives - when we close container, but batch could have gone through because collectively all ops in a batch are below the limit).

I like # 4 from above as it closes the gap of infinite retries that we have when we hit 1Mb, at the same time allows a bit smaller payload not to grow due to overhead, and thus go through.
We can revisit this area once batching limits are solved. That said, I expect us to always have limits to both op size and batch size, so I do not think that direction actually against long term vision.

Keeping this open just in order to deal with the possibility of fallout from the experiment.

There are still no events in Kusto with the OpTooLarge message.

Whiteboard is on 0.55, and I believe they are the one hitting these issues the most, so I think we are still couple months out?
I see 4 hits in 0.58.1001 :) So maybe it's coming, but I'd ping them as clearly, they do not have bits required to mitigate

union Office_Fluid_FluidRuntime_*
| where Data_hostScenarioName contains "Whiteboard"
| summarize count() by Data_runtimeVersion
| where count_ > 1000

runtimeVersion
count

0.55.4
8,513,066

0.54.1
11,165,181

36,103,375

There is total 10 events in 30 days. Closing


100% CPU usage

Hi @robacarp .
There is an issue that arose after commit 51904a05674757410268d183dd78fb2259ddbad7 on the shards.info production. The CPU usage remains consistently at 100%. Here's a screenshot from DigitalOcean for reference:

Upon reverting this commit, everything returns to normal:

I apologize for not being able to provide more details at this moment.

@mamantoha Thanks for trying out the new executor parallel feature!
I'd be happy to help you sort this out. I've run shards.info locally with that commit and had no issue, but it doesn't mean something isn't broken. I think the log configuration for shards.info puts mosquito logs in a separate file -- can you share the logs from the worker when it's pegging the CPU to 100%?

It’s possible that 100% CPU usage is actually Mosquito doing what it was designed to do. How long did the CPU burst last? I believe I’m able to do a full update scrape in just a few minutes on my laptop.
Shards.info is a network bound workflow so running multiple threads will allow the scrape to be parallelized and scrape much faster than single threaded.
I haven’t set a configuration variable for it yet but you can monkey patch to change the number of executors which get spawned.

The CPU usage has consistently remained at 100% (Jan 3 - Jan 11), and it returns to normal after reverting to the previous mosquito commit.

I will try to reduce the issue on my Linux laptop over the weekend.

Ah yeah, I didn't think to look at the graph. If you can send me a database dump I'm happy to run it locally and see where the problem is too.

@robacarp I successfully replicated the issue on my Linux laptop. Where can I send you a database dump?
Setting getter executor_count = 1 didn't help.

Oh interesting, thank you for the context. I'll shell into a linux VM somewhere and see if I can replicate.
I doubt the database is important.

@mamantoha I've sorted it out. I spent way too much time assuming the problem was in the new executor architecture but that is completely unrelated. The issue is here, this line:
    def self.start(spin = true)
      Log.notice { "Mosquito is buzzing..." }
      instance.run

      while spin && keep_running
+        Fiber.yield
      end
    end

I made the mistake of assuming that Fiber.yield was actually communicating to the scheduler that it should transfer control to another fiber, but that is apparently not the case. I'll make a sleep 2 patch shortly, and put in an issue for a smarter Runner one-shot class that doesn't just sleep.
Sorry for the delay in sorting this out!

Thanks @robacarp


ENH: add automatic detection of 2.5D in write_dataframe

closes #222
apparently closes #121 as well

The geopandas test suite discovered one issue with this (https://github.com/geopandas/geopandas/actions/runs/4454470754/jobs/7823684402?pr=2834): if you have mixed 3D geometry types, the geometry_type gets inferred as "2.5D Unknown", which then gives "Geometry type is not supported: 2.5D Unknown"
I suppose for the case of mixed, we just need to use "Unknown" without prepending "2.5D"

The geopandas test suite discovered one issue with this (https://github.com/geopandas/geopandas/actions/runs/4454470754/jobs/7823684402?pr=2834): if you have mixed 3D geometry types, the geometry_type gets inferred as "2.5D Unknown", which then gives "Geometry type is not supported: 2.5D Unknown"
I suppose for the case of mixed, we just need to use "Unknown" without prepending "2.5D"

I'll have a look...


Load compatibility with Bert models into onsite_llm.py

Create a Small_Local_Bert class capable of managing the bert LLM similar to other code in the file.

Strongly recommend to study the Small_Local_Neo class and build Small_Local_Bert around that logic.

Done.  Thanks @ajitalapati!

@ajitalapati please send me an email and I will send you a swag code!


Distance for some OD pairs is "N/A"

For the network around ASU, some OD pairs look inaccessible in od_accessibility.csv. The "distance" field and "accessibility" field are "N/A". It's unreasonable.

Here are the network files.
demand.csv
link.csv
node.csv
od_accessibility.csv
zone.csv
zone_accessibility.csv
zone_generation.csv

Thank you for pointing this out!
The accessibility evaluation is based on the shortest path calculation between each OD pair. When N/A appears in fields accessibility and distance for an OD pair in od_accessibility.csv, it indicates that there is NO path between the two zones or the shortest path exceeds the maximum distance, which is<PHONE_NUMBER> (the maximum positive value for a 32-bit signed binary integer) defined in consts.py.


sender.contacts_search() does not work

Doesn't matter what I put into it, queries that work in telegram-cli don't work at all here.
>>> sender.contacts_search("luckydonald")
DEBUG:pytg.sender:Parsing contacts_search: Argument luckydonald - <user_name> (needed)
DEBUG:pytg.sender:Skipping missing optional parameter #1 [limit] (type NonNegativeNumber) in function contacts_search.
DEBUG:pytg.sender:Sending command > [disable_preview] contact_search 'luckydonald'
<
DEBUG:pytg.sender:Socket Connected.
DEBUG:pytg.sender:All Sent.
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/DictObject/__init__.py", line 435, in __getattr__
    value = dict.__getattribute__(self, n(name))  # Raise exception if not found in original dict's attributes either
AttributeError: 'DictObject' object has no attribute 'result'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/DictObject/__init__.py", line 442, in __getattr__
    key_name = self._attribute_to_key_map[n(name)]  # Check if we have this set.
KeyError: 'result'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.4/dist-packages/pytg-0.4.1d-py3.4.egg/pytg/sender.py", line 548, in command_alias
  File "/usr/local/lib/python3.4/dist-packages/pytg-0.4.1d-py3.4.egg/pytg/sender.py", line 275, in execute_function
  File "/usr/local/lib/python3.4/dist-packages/pytg-0.4.1d-py3.4.egg/pytg/result_parser.py", line 30, in success_fail
  File "/usr/local/lib/python3.4/dist-packages/DictObject/__init__.py", line 456, in __getattr__
    raise suppress_context(AttributeError(name))
AttributeError: result

Can you please post the output in the telegram cli, when you start it with the --json flag?

[disable_preview] contact_search 'luckydonald'
{"id": 1234, "type": "user", "print_name": "luckydonald", "flags": 259, "first_name": "luckydonald", "last_name": "", "phone": "1234", "username": "luckydonald"}

Okey, needs some parser.

For now the something parser is working.


click install not reponse. can't install pwa.

OS: win10 1909 18363.720
Browser chrome 81.0.4044.92

I couldn't reproduce the issue.
Please try again once again.


How to force relay?

Hi,
Thank you very much for your script.
I'm wondering if there's an option in configuration to force RustDesk to pass all traffic through the relay server?
I read from this post "https://github.com/rustdesk/rustdesk-server/issues/253" that user can add a line Environment="ALWAYS_USE_RELAY=Y" to the file cat /usr/lib/systemd/system/hbbs.service, yet I cannot find the file in question. Please advise.
Thanks!

The file is here
/etc/systemd/system/rustdesksignal.service


OS X: Application won't recognize object when loaded from a file

The title says it all. An object that is recognized when added from scene is not recognized when loaded from file. I made sure to restore the default settings, still no luck.
I am using the DMG v.0.6.0 from the Releases page.

Steps to reproduce:

Add object with "Add object from sceene…"
Make sure the object is recognized
Remove object with right-click and "Delete"
Re-add the object with "Add objects from files…"
The object is not recognized

Hi,
It says "Too low inliers 7 in 43 out", by default it requires 10 inliers to find the homograhy (see Homography/minimumInliers parameter). If you move the object toward the camera, does it change the number of inliers?
Just tried the same version on Mac, it worked like expected (finding again the object).
cheers


[WIP] Add a Python client for interacting with the storage service

This is extracted from Helen's work in Archivematica, with added shiny tests! It’s also set up for manual publishing on PyPI, not automated publishing yet.
For https://github.com/wellcometrust/platform/issues/3512

This is blocked on us getting a working bags API so I can mock out the responses to /bags.

Build is failing due to credentials problem.
Also, version on PyPI doesn't appear to work as it has syntax errors - needs new version uploading.


Error to view Category

Hello,
I have installed this module according to the instructions and proceeded to test as follows

Create a Category -> Testing
Create a single post and select Category 'Testing'

However, when you display the posts and select view more from the post and then click Categories, the following error is displayed:
Database Exception – yii\db\Exception
SQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION trntv.array_agg does not exist
The SQL being executed was: SELECT array_agg(blog_post.id) FROM blog_post LEFT JOIN blog_cat_pos cp ON blog_post.id = cp.post_id LEFT JOIN blog_category c ON cp.category_id = c.id WHERE (blog_post.isdel=0) AND (lower(c.title) = 'testing')
Error Info: Array
(
[0] => 42000
[1] => 1305
[2] => FUNCTION trntv.array_agg does not exist
)
↵
Caused by: PDOException
Please advise on how to resolve
Regards,
Admin

As an update - it appears the issue is caused by array_agg which happens to be a PostgreSql function used to aggregate a set of elements into an array and is not supported by MySql.

Hi thank you for the report, i've little update, hope it works :)

Thanks bro!
That resolved the compatibility issue with MySql but the following errors still occur;

Selecting a category still throws this error;

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''1')))' at line 1
The SQL being executed was: SELECT COUNT(*) FROM blog_post LEFT JOIN user ON blog_post.author_id = user.id WHERE (blog_post.isdel=0) AND ((false) OR (blog_post.id = ANY ('1')))
Error Info: Array
(
[0] => 42000
[1] => 1064
[2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''1')))' at line 1

Searching our Posts still throws the following error;

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''{}'))))))' at line 1
The SQL being executed was: SELECT COUNT(*) FROM blog_post LEFT JOIN user ON blog_post.author_id = user.id WHERE (blog_post.isdel=0) AND ((lower(title) like '%gyy%') OR ((lower(description) like '%gyy%') OR ((lower(tags) like '%gyy%') OR ((lower(content) like '%gyy%') OR (blog_post.id = ANY ('{}'))))))
Error Info: Array
(
[0] => 42000
[1] => 1064
[2] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''{}'))))))' at line 1
Could you take a look at the ANY clause syntax?
Regards,
Adam

Hi Adam, thanks again for your report. I haven't check it in mysql db, i did little trick in my latest update. If you don't mind, please notify me whether it work or not.
Best regards

Hello Aaiyo,
Yes, I can confirm that it works in MySql.
I think the last 2 errors I pointed out in my last post are not MySql
errors, I believe they are syntax errors from the use of the ANY clause in
the SQL script for search
Regards,
Adam
On Wed, 22 Jul 2015 01:35 aaiyo<EMAIL_ADDRESS>wrote:

Hi Adam, thanks again for your report. I haven't check it in mysql db, i
did little trick in my latest update. If you don't mind, please notify me
whether it work or not.
Best regards
—
Reply to this email directly or view it on GitHub
https://github.com/amilna/blog/issues/3#issuecomment-123517150.

I believe these are resolved now, will let you know if I find any other issues
Adam

Hello Aaiyo,
It appears there is still a small bug somewhere in the search criteria.
The blog Category filter doesn't work
For example, when looking at "localhost/blog/post/view?id=20", if you select a category like "localhost/blog/post/index?category=Technology", it will not find any records.
I checked, the table blog_cat_pos and it seems to provide the necessary references to join blog_post and blog_category entries.
Regards,
Adam

haha you're right, it's my stupid mistake i've push the revision :)

Hi Aaiyo,
It works great now!
This really is first class work IMHO, thanks for your efforts
Regards,
Adam


vscode window on windows is too round

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.77.0
OS Version: build 25339

Steps to Reproduce:

open vscode
despair

I understand that rounded rectangles are beautiful but why does vscode need to be more round and beautiful than other windows? Vscode is the window behind terminal.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.77.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Issue is gone, not sure why :|


Map component not applying MapStyles passed into styles prop

Hello,
I am trying to turn off the Points of Interest (POI) on the Map component, but there's an issue  with the prop not being applied. Here is my code snippet:

import React, { useState } from 'react';
import { APIProvider, Map, AdvancedMarker, Pin, InfoWindow } from<EMAIL_ADDRESS>
 <APIProvider apiKey={API_KEY}>
        <Map
          onLoadMap={onLoad}
          zoom={zoom}
          center={center}
          disableDefaultUI
          style={{height: '100%', width: '100%'}}
         // issue is with the below prop - not being applied
          styles={[
            {
              featureType: 'poi',
              elementType: 'labels',
              stylers: [{ visibility: 'off' }],
            },
          ]}
        >
    <AdvancedMarker
      position={{ lat: latitude, lng: longitude }}
      key={key}
      title={title}
    >
       <Pin />
    </AdvancedMarker>
    <InfoWindow>{Text}</InfoWindow>
</Map>
</APIProvider>

I've tried variations of the styles prop as well. As in, I've tried:
            {
              featureType: 'poi',
              elementType: 'labels',
              stylers: [{ visibility: 'off' }],
            },

            {
              featureType: 'poi.business',
              elementType: 'labels',
              stylers: [{ visibility: 'off' }],
            },

            {
              featureType: 'poi.business',
              stylers: [{ visibility: 'off' }],
            },

            {
              featureType: 'poi.business',
              elementType: 'all',
              stylers: [{ visibility: 'off' }],
            },

None of these result in turning of the poi visibility on the map as far as I can see.  I've double checked the Google Map docs as well to make sure of syntax/format: https://developers.google.com/maps/documentation/javascript/style-reference
For clarification, I would like to "turn off" all of these gray colored markers, and only have the black Marker (with the 4) showing on the map.

Thanks for spotting this! I've only tested with cloud based styling so far, so haven't come across this.

I tested that locally, and for me everything seems to be working. Are you on the latest version (check by running npm outdated, that shouldn't have a line for @vis.gl/react-google-maps)? There might have been changes today that fixed that already...
Otherwise, what is logged to the console when you add
onRenderingTypeChanged={ev => console.log('renderingType', ev.map.getRenderingType())} to your Map?

@usefulthink I updated to version 0.3.2 (was on  0.1.2 before), but still getting all of these orange, gray, blue, etc poi markers outside of my custom ones.

Though, I did add this prop onRenderingTypeChanged={ev => console.log('renderingType', ev.map.getRenderingType())} like you suggested, and I got this logged in the console: renderingType RASTER - does that tell you anything else?

No, that should be correct. I'm a bit out of ideas here. Can you try to create a codesandbox to reproduce this issue?

I updated this example to include switching to locally styled maps so we can see it working. Still curious to find out what is causing that behaviour for you.

@usefulthink Thank you for your help!
I ended up figuring this out so I will close this issue.
The styles weren't showing up because I am using an AdvancedMarker component in my Map,  and AdvancedMarkers require a mapId prop. And if there's a mapId prop present on the Map, then the styles prop must be set in the Google Map cloud console, and not set inline. Which is what I was doing.

I faced the same issue of the map styles not being applied when using advanced markers, and fixed it by applying the styles this way:
const styledMapType = new google.maps.StyledMapType(MAP_SETTINGS);
map.mapTypes.set('styled_map', styledMapType);
map.setMapTypeId('styled_map');

In a useEffect with map dependency from useMap() : https://visgl.github.io/react-google-maps/docs/api-reference/hooks/use-map
MAP_SETTINGS is my array of styles from https://mapstyle.withgoogle.com/ (not cloud based)

Facing the same issue here...
However, is this how its supposed to work the maps, or it something specific to @visgl/react-google-maps ?  🤔

AdvancedMarkers require a mapId prop. And if there's a mapId prop present on the Map, then the styles prop must be set in the Google Map cloud console

That is a limitation coming from the Maps API, not specific to this library.

That is a limitation coming from the Maps API, not specific to this library.

but why does this solution work?

I faced the same issue of the map styles not being applied when using advanced markers, and fixed it by applying the styles this way:
const styledMapType = new google.maps.StyledMapType(MAP_SETTINGS);
map.mapTypes.set('styled_map', styledMapType);
map.setMapTypeId('styled_map');

In a useEffect with map dependency from useMap() : https://visgl.github.io/react-google-maps/docs/api-reference/hooks/use-map
MAP_SETTINGS is my array of styles from https://mapstyle.withgoogle.com/ (not cloud based)

The problem for me with this is that I could easily grab some style from https://snazzymaps.com/style/72543/assassins-creed-iv or so, but in Google Cloud console now there is no more option to import json (https://issuetracker.google.com/issues/323011272?pli=1). While the solution above works, I wonder if that's gonna count as 2 map loads billing wise every time this code runs...?

When I implement this, and a user taps a button the change to a different 'styled_map' the labels are lost (road names, neighbourhoods, etc). Have any of you experienced that as well?


[plugin-techdocs] Add props to increase flexibility and reusability

Hey, I just made a Pull Request!

Working on updating this PR description!
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[ ] All your commits have a Signed-off-by line in the message. (more info)

Hi @awanlin thank you for the initial look, I updated that suggestion.

I will have merge conflicts with https://github.com/backstage/backstage/pull/27694 when it merges, but there is no conflicting logic. We are just adding props in the same place.
I took a look at the new frontend system and though we will be able to extend the tech-docs plugin I do think this PR is still valuable as is. This PR reduces the amount of code adopters need to slightly modify the techdocs page. It should give users more flexibility without having to write an extension. But I am open to thoughts if anyone disagrees!


domain-name per pool

This adds support for a domain-name option per address pool allowing the service of multiple domains from a single machine.  It allows a fix to an infinite build loop I discovers where the host receives conflicting domains from Foreman and DHCP and incorrectly reports its FQDN during the build process.  Also included are two style commits.

Thanks for your contribution! I rewrote it so it merged.


It seems that query-control's render function does not work in obsidian 0.15.0

the query progress bar keeps running, and the render button cannot be clicked.

Yes, I have the same problem.

I have the same issue. Any workarounds for the time being? I rely pretty heavily on this plugin.

Please try out https://github.com/nothingislost/obsidian-query-control/releases/tag/0.4.0 and let me know how it works out for you all

Works great for me now!

Works great for me, too!

https://github.com/nothingislost/obsidian-query-control/releases/tag/0.4.0 solved the issue!


GOAWAY from minio remote behind a HTTPS nginx reverse proxy.

Output of restic version
restic 0.4.0 (v0.4.0-0-ga7c2f28)
compiled with go1.8 on linux/amd64
Expected behavior
restore my file completely without a GOAWAY result.
Actual behavior
The minio io instance is behind a HTTPS nginx reverse proxy. After some more testing today i was able to restore my data from minio without the reverse proxy and HTTP only successfully.
I'm running in an error while restoring my snapshot on my minio storage. I try to restore a ~4.5GB file but every time at 669MB it breaks wit following error. Backing up the file went perfectly fine.
http2: server sent GOAWAY and closed the connection; LastStreamID=1999, ErrCode=NO_ERROR, debug=""
obj.ReadAt
restic/backend/s3.(*s3).Load
	/tmp/restic-build-559492747/src/restic/backend/s3/s3.go:179
restic.ReadAt
	/tmp/restic-build-559492747/src/restic/readerat.go:25
restic/repository.(*Repository).loadBlob
	/tmp/restic-build-559492747/src/restic/repository/repository.go:106
restic/repository.(*Repository).LoadBlob
	/tmp/restic-build-559492747/src/restic/repository/repository.go:538
restic.Node.createFileAt
	/tmp/restic-build-559492747/src/restic/node.go:214
restic.(*Node).CreateAt
	/tmp/restic-build-559492747/src/restic/node.go:109
restic.(*Restorer).restoreNodeTo
	/tmp/restic-build-559492747/src/restic/restorer.go:90
restic.(*Restorer).restoreTo
	/tmp/restic-build-559492747/src/restic/restorer.go:53
restic.(*Restorer).RestoreTo
	/tmp/restic-build-559492747/src/restic/restorer.go:122
main.runRestore
	/tmp/restic-build-559492747/src/cmds/restic/cmd_restore.go:135
main.glob..func13
	/tmp/restic-build-559492747/src/cmds/restic/cmd_restore.go:23
github.com/spf13/cobra.(*Command).execute
	/tmp/restic-build-559492747/src/github.com/spf13/cobra/command.go:599
github.com/spf13/cobra.(*Command).ExecuteC
	/tmp/restic-build-559492747/src/github.com/spf13/cobra/command.go:689
github.com/spf13/cobra.(*Command).Execute
	/tmp/restic-build-559492747/src/github.com/spf13/cobra/command.go:648
main.main
	/tmp/restic-build-559492747/src/cmds/restic/main.go:37
runtime.main
	/usr/lib/go/src/runtime/proc.go:185
runtime.goexit
	/usr/lib/go/src/runtime/asm_amd64.s:2197

What does the GOAWAY actually mean? Does it kill my connection and restic doesn't try to reconnect to the server how can i prevent that?
Steps to reproduce the behavior
Nginx HTTPS reverse proxy in front from minio.
Restore you're backup in a long session.

Thanks for reporting this interesting case. Could you please apply the patch here and then attempt a restore again? Please enable logging on the nginx server and post the logs here, together with the last entries of the created s3-backend.log (created by the patch).

As far as I understand it GOAWAY means that the nginx server respectfully informs the client that it closes the connection. It may be that there is some idle timeout and restic made too many connections (which aren't in use any more), but the s3 client library does not handle this case so well. With the backend debug log we can contact the library authors and see what they think.
Next step after that is trying with the most recent version of the s3 client library, but let's try the first step first.

Thanks for assistance!
I've patched the restic sources accordingly and attached here the relevant part of the last few packages.  Anything we can do here?

After some more testing with the latest s3 library and latest restic version doesn't helped but sometimes the restore end with a total of 2.2gb of the file. Some tuning the reverse proxy e.g increase "ssl_session_timeout" doesn't help.
Also i've tried to mount the volume and copy the file from the mount dir to my host, i can verify that this method works perfectly and the file transfers completely.

ping @harshavardhana, could you please have a look? Anything we can do here?

go 1.8 has revealed some bugs in http client usage for us and how one needs to handle http content body.  Including other transport layer issues.
Would it be possible to try this with go1.7.5 instead @JohnnyLeone and let us know?

Unfortunately same error, i've used this time the official release which is build with go1.7.5, also i compiled the latest version of restic with the latest s3 backend with go1.7.5.

Unfortunately same error, i've used this time the official release which is build with go1.7.5, also i compiled the latest version of restic with the latest s3 backend with go1.7.5.

I haven't been able to reproduce this problem at my end so i am not sure what might be problem here - i used similar types of datasets upto 10GB including using nginx with or without the proxy.  Even Minio configured with TLS all of them seem to be working fine.
Is there anything else in the environment like your nginx configuration etc. let us know which might help. Thanks

You can also try to disable HTTP2: set GODEBUG=http2client=0 and run the program with that environment variable set.

I've tested some more. If i set the GODEBUG=http2client=0 environment variable i'm able so sucessfully restore the download. Is it related to my nginx config because it sets proxy_http_version 1.1;? Are there any implications with this solution to disable HTTP2?
Here is my current nginx config for my minio installation. http://pastebin.com/raw/NBFkYhgs

It just work just fine without http2, no worries. :)

Here is my current nginx config for my minio installation. http://pastebin.com/raw/NBFkYhgs

We are not really sure but can you open a github issue on minio we will figure this out. Perhaps it is a bug on our server muxer end. Thanks for testing.
Thanks once again @fd0 :-)

This issue should be resolved for recent versions of Go (>= 1.8), so I'm going to close the issue for now. Please feel free to add further comments should this still be an issue. Thanks!

The symptoms seem to have reappeared in restic 0.12.0.
restic 0.11.0 works fine, and restic 0.12.0 with GODEBUG=http2client=0 also works fine.
restic 0.12.0 without GODEBUG=http2client=0 emits warnings Load([...]) returned error: [...] http2: server sent GOAWAY and closed the connection.
Version information:
$ restic-0.12.0 version
restic 0.12.0 compiled with go1.15.8 on linux/amd64

$ restic-0.11.0 version
restic 0.11.0 compiled with go1.15.3 on linux/amd64

Command output:
$ restic-0.12.0 check --read-data
using temporary cache in /tmp/restic-check-cache-271166605
repository bdc4f584 opened successfully, password is correct
created new cache in /tmp/restic-check-cache-271166605
create exclusive lock for repository
load indexes
check all packs
check snapshots, trees and blobs
[0:00] 100.00%  36 / 36 snapshots
read all data
Load(<data/d58edce2b6>, 0, 0) returned error, retrying after 462.318748ms: http2: server sent GOAWAY and closed the connection; LastStreamID=1999, ErrCode=NO_ERROR, debug=""
Load(<data/f7a67916fe>, 0, 0) returned error, retrying after 440.328595ms: http2: server sent GOAWAY and closed the connection; LastStreamID=1999, ErrCode=NO_ERROR, debug=""
Load(<data/6044ca064c>, 0, 0) returned error, retrying after 351.593438ms: unexpected EOF
Load(<data/ec54c171a8>, 0, 0) returned error, retrying after 353.291331ms: http2: server sent GOAWAY and closed the connection; LastStreamID=1999, ErrCode=NO_ERROR, debug=""
Load(<data/71565e93a4>, 0, 0) returned error, retrying after 596.012294ms: unexpected EOF
Load(<data/34ed725971>, 0, 0) returned error, retrying after 430.90274ms: http2: server sent GOAWAY and closed the connection; LastStreamID=1999, ErrCode=NO_ERROR, debug=""
Load(<data/714be3c2b4>, 0, 0) returned error, retrying after 738.458435ms: unexpected EOF
Load(<data/a6d374a18d>, 0, 0) returned error, retrying after 620.92448ms: http2: server sent GOAWAY and closed the connection; LastStreamID=1999, ErrCode=NO_ERROR, debug=""
[10:15] 100.00%  14412 / 14412 packs
no errors were found

$ restic-0.11.0 check --read-data
using temporary cache in /tmp/restic-check-cache-853655209
repository bdc4f584 opened successfully, password is correct
created new cache in /tmp/restic-check-cache-853655209
create exclusive lock for repository
load indexes
check all packs
check snapshots, trees and blobs
read all data
[11:02] 100.00%  14412 / 14412 packs
no errors were found

$ GODEBUG=http2client=0 restic-0.12.0 check --read-data
using temporary cache in /tmp/restic-check-cache-417061802
repository bdc4f584 opened successfully, password is correct
created new cache in /tmp/restic-check-cache-417061802
create exclusive lock for repository
load indexes
check all packs
check snapshots, trees and blobs
[0:00] 100.00%  36 / 36 snapshots
read all data
[11:17] 100.00%  14412 / 14412 packs
no errors were found

The backend in this case is a minio server behind an nginx reverse HTTPS proxy, and the repository is around 70 GB.

I'm also seeing very similar results on the newest version with about 800GB being backed up, I see it during writes mainly, I'm running nginx proxy manager with http2 enabled, I might try to disable upstream and see if it goes away.
I haven't tried the GODEBUG fix yet, but I'm sure it'll work.


-ms-transform not added and * box-sizing removed

Hi
I've just been testing this out from a tutorial I found on CSS-Tricks http://css-tricks.com/autoprefixer/ . I was wondering, I've tried both with and without the option of ie 9 support specified in the autoprefixer: { options, but for me autoprefixr is not outputing -ms-transform as it does in the linked tutorial.
Also, I tried adding a catch all box-sizing: border-box code block:
*, *:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

But this gets completely stripped out by autoprefixer...
For -ms-transform I must have messed up something in the options, but in that tutorial even if none are specified it still adds the -ms-transform variable. For box-sizing, are * selectors not supported?
Thanks

I have similar problem:
-ms-transform is not added with config last 2 versions, ie >= 9 (or just ie >= 9, or Explorer 9)
Input:
div {
  display: flex;
  transition: transform 1s;
}

Output:
div {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  transition: -webkit-transform 1s;
  transition: transform 1s;
}

I used Autoprefixer Playground for testing http://jsbin.com/gufoko/quiet

Oh, nevermind :)
Probably the answer is because transition isn't supported in IE9 at all


[HOLD for payment 2023-06-08] [HOLD] [Moderation] Create FlagCommentPage

Part of NewDot Moderation - Tracking Issue and Design Doc
Design Doc Section

Routing
Add the new route to ModalStackNavigators.js with the name 'FlagComment_Root'
Since each report is flagged on a reportAction, we will update the route to include the reportActionID in ROUTES.js like flag/:reportActionID
Update linkingConfig.js to use that new route added above
These will be created in a similar manner to our Settings page. After a header section:
ScreenWrapper includeSafeAreaPaddingBottom={false}>
{({safeAreaPaddingBottomStyle}) => (
<>
<HeaderWithCloseButton
title={this.props.translate('flags.flagAsOffensive')
onCloseButtonPress={() => Navigation.dismissModal(true)}
/>
<View style={styles.pageWrapper}>
<View style={[styles.settingsPageBody, styles.alignItemsCenter]}>
<Text style={[styles.baseFontStyle]}>
{this.props.translate('initialSettingsPage.aboutPage.description')}
</Text>
</View>
</View>
<Text style={[styles.ph5, styles.textLabelSupporting, styles.mb1]}>
{this.props.translate('flags.chooseReasonBelow’}
</Text>

We’ll create a list of MenuItems with the appropriate severity and format:
<MenuItem
shouldShowRightIcon
title={this.props.translate('flags.spam'}
description={this.props.translate('flags.spamDescription'}
onPress={() => this.FlagComment(CONST.FLAGS.SPAM)}
wrapperStyle={[styles.borderBottom]}
furtherDetails={this.props.translate('flags.sendAnonymousWarning'}
furtherDetailsIcon={Expensicons.CircleFlag}
furtherDetailsIconFill={colors.yellow}
/>

A couple new things to point out in that logic:

We’ll create constants for the severity levels to ensure consistency
We’ll also create constants for the possible flag states - pending, hidden, removed, rejected
We’ll include a FlagComment function within the FlagCommentPage component, which will take the severity from the clicked menu item, combine it with the reportID, reportAction and the user, and call Report.FlagComment, detailed in the design doc. Since everything except the severity will be the same no matter which option is chosen, it makes the most sense to consolidate it into one function. Once it calls FlagComment, it will dismiss the modal by calling Navigation.dismissModal(true).
We can create an array of the severity levels and map through them to create the necessary MenuItems to not repeat ourselves, but either way the end format will match the above.
We will be updating MenuItem to take the new optional parameters above - furtherDetails, furtherDetailsIcon, furtherDetailsIconFill - and create the third line of details shown in the mocks. This will be done by adding an additional section to the bottom of the MenuItem text here. It will take a similar format:

{Boolean(props.furtherDetails) && (
<Text
style={[styles.furtherDetailsStyle]}
numberOfLines={1}
>
<Icon
src={props.furtherDetailsIcon}
fill={props.furtherDetailsIconFill}
               height={variables.iconSizeNormal}
               width={variables.iconSizeNormal}
               style={styles.m2}
          />
{props.furtherDetails}
</Text>
)}

The style will be the same as the description text style, but one font size smaller.

will get to this next week!

@shmaxey here's the deets on the copy! https://expensify.slack.com/archives/C03SSAQG5/p1684932257657339

Reviewing yellow columns here: https://docs.google.com/spreadsheets/d/1TvHXqVjPE8QU62Z546M9ESeGMo1JsCTKP3NBAKQtsW0/edit#gid=0
Done!

Shoot, sorry @dangrous - I'll leave this 👐

Thank you @shmaxey!

Not a bug, just getting a teammate to help with payment for @eVoloshchak's review

@dangrous, please let me know what I need to do next. Create a job in Upwork and pay @eVoloshchak on June 8? What's the payment amount?

I believe internal review is $1k (@eVoloshchak correct me if I'm wrong)! And yep, you got it - job for payment on 6/8.

cool, thanks @dangrous ! ;)

Not overdue. Payment on June 8!

We're ready for payment @isabelastisser !

@isabelastisser is out until Wednesday - @eVoloshchak are you okay with waiting until then? If it's pressing I can find another team member to help out.

@dangrous, sure, I can wait no problem

@eVoloshchak sorry for the delay! I will issue the payment now.


Ignore duplicated inotify events

This change can avoid occasional failure against test_rotate_xxx.

"test: should output plain text when compress option is default(text)(FileOutputSecondaryTest::write)" test fails but in_tail test seems stable.
We re-run test more times.

I requested rebuild on TravisCI, and found the failure.
https://travis-ci.org/fluent/fluentd/jobs/163013161

Hmm, this approach may be wrong...
I will try another approach.

LGTM. I'm requesting rebuild (2nd time).
@repeatedly ?

I will check this change manually.
After that, I wll merge it.

@okkez Could you rebase this patch?
master branch includes several fixes for other unstable tests.

Rebased and pushed changes.

Failed test on AppVeyor is not related to my changes.

Thanks!


Ipv6 Still being required for Appliance - > VPN - > RouteVia

Terraform CLI, Terraform appgatesdp Provider Version, and Appgate Appliance version(s)
terraform cli: v0.13.7
terraform-provider-appgatesdp:  v0.8.4
appgate appliance version: 5.3.3
Affected Resource(s)

appgatesdp_site

Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
resource "appgatesdp_site" "d_test_site" {
    name = "default test"
    short_name = "DT"
    entitlement_based_routing = false
    notes = "Managed by terraform"

    default_gateway {
        enabled_v4       = true
        enabled_v6       = false
    }
    vpn {
        state_sharing = false
        ip_access_log_interval_seconds = 120
        snat = false
        tls {
          enabled = true
        }
        dtls {
            enabled = false
        }
        route_via {
            ipv4 = "<IP_ADDRESS>"
        }
      }

    tags = ["terraform", "api-created","default_test"]
}

Debug Output
Error: Could not create site Validation error Validation failed.
 vpn.routeVia.ipv6 must not be empty
vpn.routeVia.ipv6 is not a valid IP address.

Panic Output
N/A
Expected Behavior
Based on what we have done within the admin ui, I would expect I would have only ipv4 set.
Actual Behavior
TF provider is saying that ipv6 cannot be empty.
Steps to Reproduce
Use resource noted above and attempt to deploy.
Important Factoids
N/A
References
N/A

#0000

I thought changing the schema for route_via in #201 and noting both ipv4 and ipv6 as optional would have gotten around this... But looks like I am mistaken. Not sure where the validation error is coming from to be honest.

Thank you @danijeel !


LimitStream needs seek() before getContents() works

Here's a code to demonstrate the issue:
$stream = $response->getBody();
echo $stream->__toString(); // -> abcde12345
$stream->seek(0);
echo $stream->read(5); // -> 'abcde'

$limitStream = new LimitStream($stream, 3, $stream->tell());
echo $limitStream->getContents(); // -> '' ??

// this works:
echo $limitStream->__toString(); // -> '123'

// alternatively, this works as well:
$limitStream->seek($limitStream->tell());
echo $limitStream->getContents(); // -> '123'

As I debugged the code, it turned out that $limitStream->eof() returns true when getContents() is attempted. Seeking to the same position (which I don't think should have any effect) seems to fix the problem.
BTW, I'm quite new to PHP streams and also to Guzzle so maybe I'm doing something wrong. But the example above seems to me like it should work, shouldn't it?

One more comment: reading from LimitStream using its read() method works fine. The problem is when the stream is read using the copy_to_string() function, specifically, this line returns true for eof().

There has been a similar issue in the past: https://github.com/guzzle/guzzle/issues/830. Its resolution was to add rewinding to internal adapters (which I don't think exist any longer in Guzzle v6). Maybe there's some hint.

I just quickly went through your issue, because didn't have much time at the moment, but one thing to note: getContents only returns the "remainder" of the stream (what's left between the current position and eof). So using __toString or casting the stream to string is actually the way to get the content of the stream regardless it's current position. If this does not help I will have a closer look, but even then I think this is an issue for the PSR-7 repo.

Thanks @sagikazarmark, I'm aware that getContents() reads only the remainder of the stream which I believe shouldn't be a problem in my case. Here is another example demonstrating the issue:
// HTTP response returned a body containing text "abc"
$stream = $response->getBody();

$stream->eof();   // -> true (??)
$stream->tell();  // -> 0
$stream->seek(0); // just for fun
$stream->eof();   // -> false (!?!)

Not a bug. getContents intentionally only gets the stuff after the pointer. You need __toString() to get the body.


[Jira] Recently Updated Issues and My Filters actions fail every time

Extension
https://www.raycast.com/raycast/jira
Description
Both actions fail every time with the following error
Error:
Error: Rendering failed:
Missing required property "title" for Unknown

I'm not aware of anything strange or special about my Jira workspace but this is the only one I've ever used with Raycast
Steps To Reproduce

Connect the Jira extension to an Atlassian Cloud workspace
Run the My Filters or Recently Updated Issues actions

Current Behaviour
I get the "Something went wrong" screen with the above error
Expected Behaviour
It shows a list of search filters, or a list of recently updated issues

Thanks for bringing this up. It appears that this is a duplicate of issue #6634, so I'll mark it as such.

Ah, sorry! I found it on "Recently updated" and was searching too literally for the error string.


Audit fixes

I've inlined the Browsersync types so we're not pulling in a vulnerable version of chokidar. This should leave one last vulnerability. We have to wait either for svgo to update for that fix.

@JeffreyWay it seems like the upgrade to "webpack-dev-server": "4.0.0-beta.3" has broken something with the websocket connection of the devServer. If your dev server is running in HTTPS mode the websocket connection no longer uses WSS and SSL which browsers block.

Can you open a separate issue for this?


Add a tutorial on using SimpleNonlinearSolve inside kernels

We have an example of this in the paper, we just need to write it up as a tutorial.

Hi
I would like to take this issue up
Could you please provide with the paper to follow?

https://arxiv.org/pdf/2403.16341 section 3.3

Ok got it! I'll work on it

ok got it! I'll work on it

Do we also need to add the link of the reference paper?


[stable/prometheus] request: document example sidecar

Is this a request for help?: yes
I'm looking for more detailed information on something that does not seem to be documented.

Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST
Version of Helm and Kubernetes: 2.13 & 1.13.3
Which chart: Prometheus
The README specifies that sidecars can be defined but it does not mention anything about the syntax. I'd like to learn how to do this and maybe enhance the values.yaml with an example.

I'd still like to see this improved.

Pretty disappointing...

The implementation looks pretty simple in the Prometheus statefulset definition
  {{- if .Values.server.sidecarContainers }}
   {{- toYaml .Values.server.sidecarContainers | nindent 8 }}
   {{- end }}

If you define an list of container definitions at server.sidecarContainers in your Helm values, then the containers will be started as sidecars.
The container definition would be a full block as per any StatefulSet/Deployment spec.template.spec.containers: element


Reader extension: Non-working example in documentation

When reading the docs I stumbled upon a problem. In the section Writing Zend\Feed\Reader Extensions an example is given on how to use the ExtensionPluginManager in order to register an extension to the reader.
The example given is as follows:
use My\FeedReader\Extension\JungleBooks;
use Zend\Feed\Reader\ExtensionManager;
use Zend\Feed\Reader\ExtensionPluginManager;
use Zend\Feed\Reader\Reader;

$extensions = new ExtensionPluginManager();
$extensions->setInvokableClass('JungleBooks\Entry', JungleBooks\Entry::class);
Reader::setExtensionManager(new ExtensionManager($extensions));
Reader::registerExtension('JungleBooks');

$feed = Reader::import('http://example.com/junglebooks/rss');

// ISBN for whatever book the first entry in the feed was concerned with
$firstIsbn = $feed->current()->getIsbn();

This example won't work because the following exception will be thrown:
Deprecated: Zend\ServiceManager\AbstractPluginManager::__construct now expects a Interop\Container\ContainerInterface instance representing the parent container; please update your code in /vendor/zendframework/zend-servicemanager/src/AbstractPluginManager.php on line 85

Call Stack:
    0.0006     363936   1. {main}() /index.php:0
    0.0012     386160   2. Zend\Feed\Reader\ExtensionPluginManager->__construct() /index.php:9
    0.0013     389096   3. trigger_error() /vendor/zendframework/zend-servicemanager/src/AbstractPluginManager.php:85

Please see to this issue by updating the docs.

Instructions are still valid for zend-servicemanager v2, however for v3 it needs to be changed to
$extensions = new ExtensionPluginManager(new ServiceManager());
$extensions->setFactory(JungleBooks\Entry::class, \Zend\ServiceManager\Factory\InvokableFactory::class);
Reader::setExtensionManager($extensions);
Reader::registerExtension('JungleBooks');

See https://docs.zendframework.com/zend-servicemanager/migration/#invokables


introduce HLLConfig

HLLConfig with two modes:
hllOnly:  column is only used for hll aggregation
hllEnabled: extract column will be created for hll aggregation

schema creation will automatically create hll column according to hll config
default column suffix: "hll", user can override suffix in hllconfig

ingestion client will directly compute and insert hllValue

countDistinctHLL will determine whether to calculate hll value on the fly based on hllconfig
hllOnly: directly apply hll function to column
hllEnabled: directly apply hll function to the derived hll column
nothing set: query engine will compute hll value on the fly and apply hll function

Codecov Report

Merging #74 into master will decrease coverage by 0.06%.
The diff coverage is 63.11%.

@@            Coverage Diff             @@
##           master      #74      +/-   ##
==========================================
- Coverage   75.03%   74.97%   -0.07%
==========================================
  Files          86       85       -1
  Lines       13325    13512     +187
==========================================
+ Hits         9998    10130     +132
- Misses       2537     2582      +45
- Partials      790      800      +10

Impacted Files
Coverage Δ

metastore/validator.go
84.55% <100%> (+3.64%)
:arrow_up:

api/schema_handler.go
80% <100%> (-0.35%)
:arrow_down:

client/connector.go
69.75% <40.84%> (-4.3%)
:arrow_down:

utils/hash.go
75% <61.95%> (-25%)
:arrow_down:

metastore/disk_metastore.go
57.52% <73.33%> (+0.09%)
:arrow_up:

query/aql_compiler.go
76.84% <92.85%> (+0.29%)
:arrow_up:

utils/di.go
43.33% <0%> (ø)
:arrow_up:

memstore/cuckoo_index.go
91.21% <0%> (+1.01%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a51b06d...c474767. Read the comment docs.


feat: support dumping specific schemas

What kind of change does this PR introduce?
feature
What is the new behavior?

Support --schema public flag for dumping specific schemas.
Support --dry-run flag for printing the pg_dump script used.

Additional context
Add any other context or screenshots.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

17 of 28 (60.71%)  changed or added relevant lines in 4 files are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.06%) to 61.296%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmd/db.go
3
4
75.0%

internal/db/remote/commit/commit.go
0
1
0.0%

internal/db/dump/dump.go
13
22
59.09%

Files with Coverage Reduction
New Missed Lines
%

internal/gen/keys/keys.go
7
7.94%

Totals

Change from base Build<PHONE_NUMBER>:
-0.06%

Covered Lines:
4664

Relevant Lines:
7609

💛  - Coveralls


Pass server side response to client side router on creation

First of all, great router, I really like how it works 👍
But It seems like there's no way to pass response data from server to client, which is a bit sad :-( May be we could improve this. I'm more than happy to send a PR after some discussion.
So what I'm doing right now:

Define resolve fn for route.
It fetches data for that particular route. Then in respond I return that as data.
View is rendered based on that data.

Everything is good.
But what happens when I render my app on server?

User opens url for that route.
resolve is called.
When resolve resolves, data is being passed to respond. respond returns that data.
Then I render markup based on that data and send it back to the user.
HTML is parsed, client-side JS kicks in, I create router and... I have to fetch again, cause there's no way to pass data fetched by server router to the client router.

So it would be cool to have some way of passing that response from server to client. Aka "initial response". Not sure how that should work with regard to things which actually need to be resolved on client separately like route components or other things which can't be serialized. May be I am missing something? Do you have any ideas on how that could be implemented?

What about setting the data in the HTML markup, like Redux?
https://redux.js.org/recipes/server-rendering#inject-initial-component-html-and-state
You could then have your resolve function check if the initial data exists and only fire off a request if it doesn't. The code below is pretty generic, but hopefully paints a clear picture.
I think that there are strategies for including components in the server rendered markup, but I think that including that isn't really worth the hassle.
function renderHandler(req, res) {
  const router = createRouter(reusable, routes, {
    history: { location: req.url }
  });
  router.once(({ response }) => {
    const Router = createRouterComponent(router);
    const markup = renderToString(
      <Router>
        <App />
      </Router>
    );
    const html = insertMarkup(markup, response);
    res.send(html);
  });
}

function insertMarkup(markup, response) {
  return `<!doctype html>

${markup}

`;
}

Yes, I thought of something like that. For example, I could inject initialData into external, then make some wrapper for resolvers which would check if data is already there, return it and then reset for subsequent transitions on client, so that other routes do not return other routes' data. I just hoped that it's possible to solve this problem at library level somehow. Not sure how though. Anyway, this probably needs to be added to server side rendering guide as a recipe. What do you think? I would try to write it once I figure out what to do myself))

It would definitely be helpful to have this laid out for others.
I think that I would personally set up a local API that initializes itself with the data set by the server and caches new data after API results. I believe that data stores like Apollo will actually do this for you (if you've jumped on the GraphQL train), but you can also roll your own.
// api.js
const data = window.__INITIAL_DATA__
  ? window.__INITIAL_DATA__
  : {
      products: []
    };

const api = {
  product(id) {
    const cached = data.products.find(p => p.id === id);
    if (cached) {
      return Promise.resolve(cached);
    } else {
      return fetch(`/api/product/${id}`)
        .then(response => response.json())
        .then(result => {
          // cache result
          data.products.push(result);
          return result;
        });
    }
  }
}

export default api;

// routes.js
import api from "./api";

export default prepareRoutes([
  // ...
  {
    name: "Product",
    path: "product/:id",
    resolve({ params }) {
      return api.product(params.id);
    }
]);


Allow passing arbitrary data from Searchers to Appliers

Currently a Searcher can only pass data to an Applier in a Subst, which limits that data to a map from Vars to Ids. This makes it fairly awkward to create Rewrites that don't work like Patterns. For example, I have a rewrite rule where the Searcher partitions the children of a node into two disjoint sets. So for an enode like (+ 1 2 4 5 11 12) I had two sets like {1, 5, 11} and {2, 4, 12}. To pass this information to the rule's Applier, I had to create a subst like this:
{ ?a0 => 1, ?b1 => 2, ?b2 => 4, ?a3 => 5, ?a4 => 11, ?b5 => 12  }

And then in the Applier create a loop like
for i in 0.. {
    if let Some(arg) = subst.get(format!("?a{}", i).parse().unwrap()) {
        // add to the first set
    } else if Some(arg) = subst.get(format!("?b{}", i).parse().unwrap()) {
        // add to the second set
    } else {
        break;
    }
}

which is not ideal. It would be much nicer if I could just pass the two sets directly, or any other data that might be important for a particular rewrite rule.

Has there been any progress on this? It would be helpful in my use-case too.

Nothing has been upstreamed yet, but I have developed a useful change in a fork for another project. I hope to upstream it eventually!  https://github.com/mwillsey/egg/tree/varargs


feat(tutorial): complete step 1

Closes #
{{short description}}
Changelog
New

{{new thing}}

Changed

{{change thing}}

Removed

{{removed thing}}

@Daniel-Schulz-Private Looks fantastic 🥇!  I've recorded your completion of step 1.


feat: add a sitemap using gatsby-plugin-sitemap

This PR is a first pass at adding a sitemap.xml. Here I'm using the default gatsby-plugin-sitemap config to get the sitemap working. In a future PR I'll add a custom lastmod date.

A demonstration of the new sitemap working via the deploy preview link.


Improved vexp (and friends) test

Modified vexp test and related functions to have tighter tolerance (4ULP) on a wider range of inputs

improved test
changed constant to constepxr

Note : this is pending because of Gitlab CI.

@castigli : just fyi - the fast math test on GitLab CI is failing.

@castigli : just fyi - the fast math test on GitLab CI is failing.

@pramodk thanks for pointing it out, I'll have a look

I pushed the button as most/all of the comments were addressed.


Datagrid Custom sorting does not reset the sort order on refresh of rowdata

Package
Carbon for IBM Products
Description

When user is trying to refresh , the sort order also needs to be refreshed unless  autoResetSortBy: false

This happens when is trying to use the custom sort logic as shown in the code sandbox example

Component(s) impacted
Datagrid sorting
Browser
Chrome, Safari, Firefox, Microsoft Edge
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
"@carbon/ibm-products": "2.48.0",
Suggested Severity
Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.
Product/offering
NA
CodeSandbox or Stackblitz example
https://codesandbox.io/p/sandbox/datagrid-tooltip-hover-issue-26hqww?file=%2Fsrc%2FExample.js%3A109%2C46
Steps to reproduce the issue (if applicable)
Even though user has a custom logic for onSort written . On refresh of table the sort direction needs to be reset
https://github.com/user-attachments/assets/8e70dc4c-b632-4ad4-8c8f-f83a745611ad
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

Hey @marinamas ,
Can you check if you could achieve this by reseting the sort yourself on refresh functionality.
useEffect(() => {
    datagridState.setSortBy([]);
  }, [data]);

Hi @amal-k-joy , thanks for the update. I have tried this and it works.
You can close this issue


feat(#38): add recursive option

@AlexNabokikh, do you plan to publish a new release that includes this change?

@manfredlift I wish I had time for this project. It screams for refactoring. I am afraid this MR won't work. Mainly because of the limitation of the parser, which is just a regexp. It needs to be a proper hcl parser, that I could make but don't have time for...


docs(table): remove duplicate css in the table-filtering-example

Remove the duplicate css in the table-filtering-example.css, just keep the current valid one.

I noticed a test failed in Screenshot Tests.

mdcard cardfancy should show a card fancy card example
Failed
I don't change anything with mdcard. Weird.


Display all routes in API root

This patch modifies the router to include all resources in the API root.
It tries various options how to generate an URL. Currently it works with
all existing resources. If in the future we include a resource it can
not generate a url for, the resource will be listed with null url.
There is a bit of a heuristic to avoid generating urls that will lead to
a server crash.
A test is included that tests more special urls.
JIRA: PDC-913

Looks good to me. But need to rebase and resolve conflict.


Bump the size of the ID minter RDS instances

Currently we have db.t2.small, we should try db.t3.medium (for 90 connections!).

We've done this! Sort of. The instances can scale to match the pipeline in question.


⚡perf(links): remove b-link component from vs-link to reduce hydration time

While testing the SSR hydration time I found that the meganav made up the vast majority of the time taken, followed by the footer. Looking into it I think the main reason is just the sheer number of vue components in there, rather than anything to do with the actual complexity of any of them. There seems to be a minimum amount of time that a vue component can ever take to mount so if you have a node which contains hundreds of them it is always going to take hundreds of milliseconds.

VsLink is one of our most used components, appearing 150 times in the header of the live site and 50 more times on the home page after that (including the footer), and each instance of that currently boots up an instance of the BLink component from Bootstrap Vue. This branch removes that and turns the VsLink component into a regular anchor tag with our analytics handlers and styles on it. As far as I can tell, that doesn't actually do anything for us as we've implemented all of the behaviour and styling of the component ourselves. That could do with a review on the design system and if any of you can think of something that it might break or degrade please let me know.
The change appears to have a minor but respectable impact on page performance. Testing on a like for like environment (my local env in incognito with not much else happening on my pc that might hit the network/cpu) and running the tests a few times each it reduced the hydration time for the meganav component from around 550ms on average to around 350ms on average, and raised the lighthouse score from ~30 to ~35.

A few other components could potentially stand for this kind of treatment but I think this is the most used one across the site, and especially within the meganav, so I think it seems worth seeing what impact this has before going further?

Currently this is a spike, if we agree to go ahead with this approach I'll note it on the spike as an outcome of the research and raise an actual task for it


vkGetPhysicalDeviceProperties2KHR seg fault

Trying to find out whether multiview is supported (I think it is NOT supported in MoltenVK, but just wanted to confirm, via VK_KHR_get_physical_device_properties2 extension).
I can't seem to get either vkGetPhysicalDeviceProperties2KHR or vkGetPhysicalDeviceProperties2KHR functions working (seg fault at call site).
I have the instance extension enabled:
[mvk-info] Created VkInstance with the following Vulkan extensions enabled:
                VK_KHR_get_physical_device_properties2 v1
                VK_MVK_moltenvk v13
zsh: segmentation fault ./app

I think I am using it correctly, I used a vkp prefix for the local function pointer, to make sure I am calling the right symbol:
VkPhysicalDeviceProperties2KHR deviceProps2{};
VkPhysicalDeviceMultiviewPropertiesKHR extProps{};
extProps.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTIVIEW_PROPERTIES_KHR;
deviceProps2.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2_KHR;
deviceProps2.pNext = &extProps;
PFN_vkGetPhysicalDeviceProperties2KHR vkpGetPhysicalDeviceProperties2KHR = (
  reinterpret_cast<PFN_vkGetPhysicalDeviceProperties2KHR>(
    vkGetInstanceProcAddr(instance, "vkGetPhysicalDeviceProperties2KHR")
  )
);
if (vkpGetPhysicalDeviceProperties2KHR)
{
  vkpGetPhysicalDeviceProperties2KHR(physicalDevice, &deviceProps2);
  std::cout
  << "Multiview properties:" << std::endl
  << "\tmaxMultiviewViewCount = " << extProps.maxMultiviewViewCount << std::endl
  << "\tmaxMultiviewInstanceIndex = " << extProps.maxMultiviewInstanceIndex << std::endl;
}

I have a similar error when I try to use vkGetPhysicalDeviceFeatures2KHR (seg fault), omitted for brevity.

@cdavis5e Can you review this, please?

I recall there being a similar issue a while ago, but I fixed that. What version of MoltenVK are you using, @paulreimer?

Oddly I noticed the ordinary function symbol (with prefix vk) vkGetPhysicalDeviceProperties2KHR seemed to exist and link, even without doing a proc lookup (so, I added the vkp prefix to make sure I used the right symbol I just looked up). That symbol also segfaults similarly, no matter whether I've done the lookup first. But I was surprised to find that symbol existed without doing anything? Maybe it's nothing to be worried about.

That's because you linked directly to MoltenVK. If you had linked to the Vulkan loader instead, the function wouldn't be visible.

OK that makes sense. I'll probably switch to using the MoltenVK.framework once the LunarG SDK is up-to-date.

Hey, you know what I think the problem is? You didn't set the pNext pointer in extProps to nullptr. That leaves it with whatever garbage happened to be on the stack at that point. When I set it to nullptr, it works. (Of course, the multiview properties aren't filled in, because MoltenVK doesn't support VK_KHR_multiview yet.)

I think that the {} in extProps{}; should do that, although it doesn't hurt to be explicit (so I added it, thanks!)
But, unfortunately the segfault result is the same. These functions could be called anytime, right? (Assuming the instance and physicalDevice are valid at that point), not like it has to be called before doing something else or cannot be called after? Other than the above code snippet (which is executed after kkEnumeratePhyiscalDevices but before vkCreateDevice) and enabling the instance extension, I'm not doing any other setup.

I cannot reproduce this.
I've attached a small Vulkan program. You can build it with:
clang -o test test.c <path/to/libMoltenVK.a> -lc++ -framework Cocoa -framework IOKit \
    -framework IOSurface -framework QuartzCore -framework Metal

(after renaming the file so it has a .c extension and replacing <path/to/libMoltenVK.a> with the actual path, of course). This program does not crash for me. Does it crash for you?
How are you building MoltenVK? How are you creating the VkInstance?

That works! Thanks for providing that, it helped to identify my issue, my physicalDevice had not been initialized at the point of use. My bad, sorry to take your time on this!


Fetch mock has useless typings

Overview
Our mock for fetch comes out as having any type, making it impossible to know how to use it.

@lemonmade I'm new to this project and I'm interested to pick up some low hanging fruits. For this one, do you think we should remove the any type in const restoreSpy = jest.spyOn(fetchMock, 'restore') as any; since it is not useful?

I am actually not too sure what the problem is here, I don't think it's the spies though. When I navigate to the type definition for this module, I get the following (for fetch.d.ts):
declare const augmentedFetchMock: any;
export default augmentedFetchMock;

I am on latest master and I got the following for fetch.d.ts:
declare const augmentedFetchMock: AugmentedFetchMock;
export default augmentedFetchMock;

Whoops I just need to update our version, sorry for the confusion!


API to revoke all the bindings associated to a resource

Is your feature request related to a problem? Please describe.
At the moment it is not possible to completely revoke all the bindings associated to a resource without knowing which users and groups have access to the said resource.
Describe the solution you'd like
I'd like to call the POST /revoke/bindings/resource/{resourceType} API endpoint and remove all the permissions associated to a resource just by sending the resourceId inside the request body, without the need to specify all existing groups and users.

I've written down an implementation proposal in the form of a sequence diagram:


Refactor localization from l10n to easy_localization

Overview
Component/Feature: Refactor localization from l10n to easy_localization.
Reason: l10n lacks key-independent translation management, causing issues.
Goals

Replace l10n with easy_localization.
Improve translation management and scalability.

Proposed Changes

Implement easy_localization instead of l10n.
Update translation files and ensure compatibility.

Potential Impact

Functionality Impact: Localization keys may need updating, but no major impact expected.
Tests: Update or add tests for localization changes.
ci: Update  ci  localization settings.

📊 Current Status:
Progress: 0%

✔ Completed Tasks:

[ ] Task 1:  add easy localization package to project
[ ] Task 2:  add Json translation files for English/other langauge

🚧 Challenges/Blockers:

Not identified

🛤 Next Steps:

Estimated time for completion: 1D

❓ Questions/Requests:

@esmaeil-ahmadipour


How to add the port of the ssh server in the url

example : i want to access https://<IP_ADDRESS>:9443/?hotname=<IP_ADDRESS> ,but <IP_ADDRESS> This server ssh port is 9992,Excuse me, how can I access

https://<IP_ADDRESS>:9443/?hotname=<IP_ADDRESS>&port=9992

Think's
Shengdun Hua @.***> 于2023年3月19日周日 08:56写道：

https://<IP_ADDRESS>:9443/?hotname=<IP_ADDRESS>&port=9992
—
Reply to this email directly, view it on GitHub
https://github.com/huashengdun/webssh/issues/338#issuecomment-1475054065,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AX6NYGAN6MC6LWKKEUAWM3TW4ZKVNANCNFSM6AAAAAAV7QZJYE
.
You are receiving this because you authored the thread.Message ID:
@.***>


Safari: cannot enter any field if safari autocomplete is active

Strange thing happens on Safari 10.1.1 and the lastest version of OS X. If Safari autocomplete is active, none of the fields can be filled in. I don't know if this is a bug or an unfortunate Safari feature.

@ralphvanvugt I'm pretty sure FormEditor doesn't do anything to prevent focus loss. It's probably a Safari "feature". Are there any console errors?

@ralphvanvugt I'm closing this now. If you think it's Form Editor related, feel free to reopen.


Updates to the Extensions page on the Dendron Wiki

The Extensions page on the Dendron Wiki should be updated.
The Dendron Snippet Maker extension is currently not included at all, either under "Bundled" or "Archived / Deprecated". As it is not bundled with Dendron, it is most likely deprecated and should be added underneath the latter heading. The Tag Search extension most likely falls under the same category.
Additionally, the content of "Other VS Code Extensions" is not displayed properly. The section only contains the error message: "Start anchor other-vscode-extensions not found".
Lastly, while the "Other VS Code Extensions" links to the Tips page, there are other recommended extensions scattered throughout the wiki. For example, the Markdown page recommends the Text Tables extension. These extensions should also be aggregated on the Extensions page.
Thank you.

Thanks for reporting this, I believe this should go to the Dendron wiki repository. I'll transfer the issue.


Feat: branch to show string instead of disabling

Requested feature
if im not in a git repo, the branch is just disabled
i came with this workaround:
        lualine_b = {
          {
            function()
               local is_git = vim.fn.system("git rev-parse --is-inside-work-tree")
               if is_git and vim.v.shell_error == 0 then
                 return vim.fn.system("git branch --show-current | tr -d '\n'")
               end
               return "ungit"
            end,
            icon = icons.git.Branch,
            padding = { left = 2, right = 1 },
          },
        },

which gets me the branch name or ungit but it take too much time to update, like around a few secs after neovim startup which i do not want...
or if the git branch is taking too much time, is there any way to return the component branch from a function?

You can use fmt option to overwrite result of the component based on component output
      {'branch', fmt=function(str) return str ~= '' and str or 'ungit' end},

this should pretty much do what you want.

You can use fmt option to overwrite result of the component based on component output
      {'branch', fmt=function(str) return str ~= '' and str or 'ungit' end},

this should pretty much do what you want.

hi thanks for this, i was racking my brains too hard not to see a simple solution like this, CHEERS! 🥂


When new stock is available? (asked 09/2021)

Can't find an expectation when new devices are available....so how many to expect and when?
In reference to:
I close this issue. If you ever need to know when new stock is available, please open a new issue
Thanks
Originally posted by @joelsernamoreno in https://github.com/joelsernamoreno/EvilCrow-RF/issues/8#issuecomment-852558753

Hi!
The cost of electronic components is very high now, the manufacturer has decided to stop manufacturing Evil Crow RF until prices stabilize
I will try to advise here when the manufacturer gets back to work with this
Thanks!

Stock now
https://m.es.aliexpress.com/item/1005002476481892.html


Make sure API responses are sorted

xref: #126

See my comments from PR #126

@kbhawkey Yes we have a release-1.16 branch for regenerating the 1.16 references. This PR contains an improvement to master, which is also proposed to release-1.16. The idea behind this PR was triggered by a previous commit (https://github.com/kubernetes/website/pull/18466/files#diff-f333bc8f279559f54f72b1ac02c65cecR7317) where you can see many diffs are actually fake changes. The order of the response records was different.

@tengqm , I think you mean that duplication of content was added into the generated reference (not really faked by a human or added manually).

Yes. It is not a bug in the strict sense. But having responses yielded in different orders each time is not good.

Yes. It is not a bug in the strict sense. But having responses yielded in different orders each time is not good.

OK, got it.
/lgtm


Missing "$db_type = '1';" in .htconfig.php file after a postgreSQL installation

Hi,
Using Hubzilla with postgreSQL/php5-fpm/nginx, I get a curious behaviour after installation:

I receive a page on which it explain me that I have to install a cron and register me
I launch the register link: blank page

To install Hubzilla, I tried several times to connect to DB, I first have wrong port, then wrong database password, etc. But I finally achieve the installation.
Here is some info:
lsb_release -a

gives:
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.3 LTS
Release:        14.04
Codename:       trusty

I'm on git branch with commit fc54f54b989570e2767a53c3c72875255b0dc95f.
I don't use SSL on nginx.
After having add this line in .htconfig.php, I could anew display a non-blank page and continue the Hubzilla experience :smile::
$db_type = '1';

I'm guessing this may be the result of installing in a language other than English (?)
specifically something besides "en". It appears many of our international config templates (including en-gb and en-au) are missing the postgres/db_type bit. In any event I believe this is now fixed.

Yes I forget to say it: I install this software in a french environment.
Should I attempt to reinstall it with your last commit to see if it's OK now ?

I think you confirmed the problem and I'm fairly confident of the fix. Re-installing regenerates your personal channel identity. This is fairly easy to backup and "clone" onto a new installation but it adds complication. Enjoy Hubzilla. I can verify the fix on a throw-away site so there's no need to mess with yours now that you have it working.

Now it's OK with last changes ;).
So I close this issue.


Grafana version (outdated)

Hi,
Grafana does not need any longer an elasticsearch instance for its dashboards. The software was completly rewritten and now uses either internal sqlite database or any configured database like mysql or postgres.
Greetings,
Marcus

@Comradin It appears that there is a branch of the grafana 2 upgrade already. I'm not sure why it hasn't been PR'ed though. @nicgrayson Can we merge that into master?

@Comradin So I just saw that @rubbish opened up an upgrade PR. Does that seem to fix your issue?


Generate Peanut Genome page from YAML file

There is now an alternative Peanut Genome page, generated on the fly from _data/genomes.yml with the template genome/index-sgr.html. Let me know if that is on the right track.
Current hard-coded Peanut Genome page, for comparison.
Optional fields: details, strain, annotation.

It does look like the current hard-coded genome page.
I have one concern:
The amount of hand-coding between _data/genomes.yml and genome/index-sgr.html is at least as much as we have now in current genome/index.html. Hopefully, it is not a perception problem on my part.
I had imagined the data would come from the DS metadata repo for Arachis/... instead of hard-coding that here again in the Jekyll site.
If your attempt now is an intermediate step in that direction, that is okay. Otherwise, constructing the genome page sourcing from DS metadata repo is the ideal goal. Please let me know if I am misinterpreting (very likely on my part) the work here.

You are correct, it was an attempt to parametrize the current site. I will look at the data store metadata next.

Do you mean the genome README files, like
https://data.legumeinfo.org/Arachis/hypogaea/genomes/BaileyII.gnm1.1JTF/README.BaileyII.gnm1.1JTF.yml
?

Are the metadata in the data store copied from there?

My understanding:  For the species and genus resources we should edit the corresponding about-this-collection dir file in the datastore metadata repo for adding and modifying what should appear in the jekyll pages.
Whether details of the README of a genome version sources it from there is a different question. (Many of these readme files in my understanding are much older than the datastore-metadata repo and there would be overlap, but we don't source it from there for Jekyll taxa pages). This aspect is a question for @adf-ncgr .

Something like this??
https://dev.peanutbase.org/genome/index-sgr-2.html
This comes from the local _data/taxa/Arachis/genus_resources.yml, but I could probably get them from
https://github.com/legumeinfo/datastore-metadata/blob/main/Arachis/GENUS/about_this_collection/description_Arachis.yml
(which is almost identical), and add species resources.

genome/index-sgr-2.html  is approaching there. The text should be as much as like  the current index.html if that is possible.
We don't have genome browser and DS genome assembly+annotation links at genus level; they are at the level of each species.
But the idea of sourcing it from a DS-metadata file is correct.

Andrew generates the taxa level autocontents after cloning the DS-metadata repo locally in the VM, outside the Jekyll location.  I think we can leverage the same data. I don't know where it is stored during autocontent generation.  But below is what he wrote about it to me.
Andrew's Process:
(06/29 email)
Hi Sudhansu-
here are some notes I had taken about the process; I think it assumes you are running these commands outside of the /var/www/jekyll-peanutbase/ area
with a clone of the datastore-metadata in the working directory. The autocontent directory is created by default to store the results of running that command.
It also assumes you have the lis-autocontent in your PATH (e.g. by pip installing lis-autocontent). We can discuss further in today's meeting if of interest.
pushd datastore-metadata; git pull; popd
lis-autocontent populate-jbrowse2 --jbrowse_url /tools/jbrowse2 --taxa_list taxon.yml --cmds_only > populate-jbrowse2.err 2>&1
sudo cp autocontent/Arachis/* /var/www/jekyll-peanutbase/_data/taxa/Arachis
#if a new species was added, update /var/www/jekyll-peanutbase/_data/species_list.yml
#that will also require rebuild of all site content as:
sudo rm -rf _site

The text should be as much as like the current index.html if that is possible.

I will get to that later - still playing around with displaying available fields.
https://dev.peanutbase.org/genome/index-sgr-2.html

I'm not following this thread closely, but a couple of quick comments:

at a quick glance there's a lot of similarity to https://dev.peanutbase.org/taxa/arachis/; maybe that's to be expected since they are both being generated from the same YAML data, but I think we certainly ought to exclude non-genome-browser resources from this page (ie anything but GBrowse/JBrowse/JBrowse2); I might also try to keep metadata about the species at a minimum (can always link over to the taxa page for that if desired), but @sdash-github may have other opinions about that
there is probably no reason we couldn't commit the autocontent-generated additions of JBrowse2 resources to the datastore-metadata github (just need to test and make sure running it twice when new species come in will not create weird redundancies, which if an issue I'm sure could be addressed, can look into that later)

ought to exclude non-genome-browser resources from this page (ie anything but GBrowse/JBrowse/JBrowse2);
Right, genome page for genome links only, that's what I meant by
The text should be as much as like the current index.html .....

Right now Sven is:

I will get to that later - still playing around with displaying available fields. https://dev.peanutbase.org/genome/index-sgr-2.html

I guess I could imagine arguments for including GCV and ZZBrowse, given that they also browse genomes (albeit in somewhat specialized fashion). But it's your call on that. Also note that we could extend the YAML content if needed (such as adding attributes to indicate whether a resource was to be included as a genome browser, as we discussed previously).

Current version:
https://dev.peanutbase.org/genome/index-sgr.html
Let me know what you think.

For grouping by genome version, it would help if each resource (genome, annotation, etc) in species_resources and species_collections had a genome version number, so that we did not have to parse its name/description to figure it out.

is_genome_browser: Currently it tests whether the description contains "Browse". Alternatively, we could group by a resource_type field ('assembly', 'annotation', 'genome browser', etc).

No GenBank resources exist in these YAML files, so I left those out.

Had to include the hard coded additional A. hypogaea text, of course.

Just a reminder, this is ready for feedback.

Current version:
https://dev.peanutbase.org/genome/index-sgr.html
Let me know what you think.

Looked at https://dev.peanutbase.org/genome/index-sgr.html  and the result https://dev.peanutbase.org/genome/index-sgr.html with respect to  _data/taxa/Arachis/species_resources.yml
It definitely serves the purpose of generating genome page via autocontent.

[ ]  Let us now replace the index.html with  index-sgr.html (I don't think it is necessary to preserve the original index.html unless you think so for any reason).

Next steps:
I think we are ready to start a conversation on how to specify items in metadata files for use by the genome page.  (Thus PB-Jekyll meeting, let us talk among ourselves and then propose in next group meeting(Legumista or LIS-PB for LIS in general)

Done. Note that the introductory text ("This page describes ... cultivated peanut itself.") and the A. hypogaea details ("Changes between the ... Additional details about ... in the chromosomes") are hard-coded for now.

https://www.peanutbase.org/genome/ has the dev site banner

not sure we need to keep a separate banner for the dev site, but if we do, we shouldn't let it bleed into prod.

It looks like this only appears in production (on the Species page as well). I will try to fix them.

Rebuilding the production site made the "Development" go away.


Upgrade android protobuf

With the newest version of flutter I had a couple problems running my project with flutter blue.
First of all, there was an error saying your version of protobuf was lower than supported.
I fixed this by changing android/build.grade in your plugin line 12:
        classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.7'

Then I got an error saying my minSdk version was lower than yours, so I changed mine from 16 to 19.
Lastly I got these warnings:
Note: C:\Users\csga5\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\flutter_blue-0.4.1\android\src\main\java\com\pauldemarco\flutterblue\FlutterBluePlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: C:\dev\goplug\mobile\build\flutter_blue\generated\source\proto\debug\javalite\com\pauldemarco\flutterblue\Protos.java uses unchecked or unsafe operations.

Some of these issues may be antipicated, but at the very least, I would assume there is no harm in you upgrading the version of protobuf you're requesting in your build.gradle.  Ideally the other hiccups wouldn't happen or are well documented

same here, and only work on ios.

Same problems here. Fix would be great.

Created a pull request.  In the mean time if @CTaszus or others are having this issue, you can reference my cloned version of the repo: https://github.com/csga5000/flutter_blue
Or look at .flutter-plugins, find the directory for flutter-blue and modify android/build.gradle within that folder to have an updated protobuf. (By modifying to: classpath 'com.google.protobuf:protobuf-gradle-plugin:0.8.7')

Thanks for your offer @csga5000 - I modified the files as you wrote in your first post.

Okay, I mentioned the 3 problems I had getting setup.

Protobuf version

Default minSdk needed updating

Get warnings when running

Should be addressed by: https://github.com/pauldemarco/flutter_blue/pull/135

Should be addressed by better documentation: https://github.com/pauldemarco/flutter_blue/pull/136

Not certain why those are occurring.  It looks like your code appropriately handles this issue: https://stackoverflow.com/questions/30223071/startlescan-replacement-to-current-api, so I'm not sure what other issues there may be and don't have time to actually debug much further.  It seems like it would be something trivial.  Either way, it's not as probablematic as 1 or 2.

Fixed in 2cf8cecb2f0f2bd80dd8562fa9ed8de0102954ef
Opened a new issue regarding the warning message when compiling for Android.


[WIP][python] Fix For #1456: Invalid Result With PyArrow Array Coords

Issue and/or context:
#1456
Changes:
More detailed description to come.
The PyArrow _export_to_c function sets a pointer to the beginning of the Arrow Array. However, the code listed in the bug report uses coordinates that do not always point to the start of the Array but are disjointed slices that are offset.
The option for passing partitioning indexes to set_dim_points_arrow has been removed as this is not used anywhere in TileDB-SOMA-Py.
Notes for Reviewer:
This is a prelim fix for #1456. It is now yielding correct results for the code outlined in the issue. This is still WIP as I would like to add some more robust testing.

Codecov Report
Patch coverage has no change and project coverage change: +26.36% :tada:

Comparison is base (a103172) 65.05% compared to head (f633035) 91.41%.
Report is 1 commits behind head on main.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1573       +/-   ##
===========================================
+ Coverage   65.05%   91.41%   +26.36%
===========================================
  Files         105       31       -74
  Lines        8802     2668     -6134
===========================================
- Hits         5726     2439     -3287
+ Misses       3076      229     -2847

Flag
Coverage Δ

python
91.41% <ø> (ø)

r
?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 74 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Missing CORS headers

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
I have config like this:
    http:
      middlewares:
        corswide:
          headers:
            accessControlAllowMethods:
              - GET
              - HEAD
              - OPTIONS
            accessControlAllowHeaders:
              - "*"
            accessControlAllowOriginList:
              - "*"
            accessControlMaxAge: 86400
            addVaryHeader: true

      routers:
        myservice:
          entryPoints:
            - "web"
          middlewares:
            - "corswide@file"

I expect to see response headers as defined above.
What did you see instead?
By curl my site, I got
< access-control-allow-origin: *
access-control-allow-origin: *

I don't understand why I'm seeing only one header, I read carefully about the docs, seems like nothing wrong in the config, please help, thanks.
What version of Traefik are you using?
2.9.10
What is your environment & configuration?
added above.
And we can see configured headers from dashboard:

And the middleware was added to that router:

If applicable, please paste the log output in DEBUG level
No response

OK, I think I found the cause,
https://github.com/traefik/traefik/blob/master/pkg/middlewares/headers/header.go#L140
According to above logic, seems like cors headers are only used when request method is OPTIONS, and if we need these response headers, we have to add them in customResponseHeaders:
https://github.com/traefik/traefik/blob/master/pkg/middlewares/headers/header.go#L53-L60
So, if I need my expected response headers and let traefik handle preflight requests, I have to use below configs according to https://github.com/traefik/traefik/blob/master/pkg/config/dynamic/middlewares.go#L304-L314:
    http:
      middlewares:
        corswide:
          headers:
            accessControlAllowOriginList:
                - "*"
            customResponseHeaders:
              accessControlAllowMethods:
                - GET
                - HEAD
               - OPTIONS
              accessControlAllowHeaders:
                - "*"
              accessControlAllowOriginList:
                - "*"
              accessControlMaxAge: 86400
              addVaryHeader: true

Does it make sense? Is it by design?

Hello @yongzhang ,
Thanks for your interest in Traefik,
It seems that your issue is related to a configuration issue and the GitHub issue tracker is dedicated to bug and feature requests.
For help on your configuration, please join our Community Forum and reach out to us on the Traefik v2 section.
We will close this issue accordingly but feel free to re-open it if you think that we missed something.

Hello @yongzhang ,
Thanks for your interest in Traefik,
It seems that your issue is related to a configuration issue and the GitHub issue tracker is dedicated to bug and feature requests.
For help on your configuration, please join our Community Forum and reach out to us on the Traefik v2 section.
We will close this issue accordingly but feel free to re-open it if you think that we missed something.

hmm, I think this one is more than a question, it should at least be well documentated.
Even more, why customResponseHeaders are needed there? Why not just using cors settings in the root of header?

Hello @yongzhang,
When using the customResponseHeaders option you are adding the CORS headers to every response, but the Access-Control-Allow-Methods, for example, is meant to be used only in preflight responses (see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods).

Hello @yongzhang,
When using the customResponseHeaders option you are adding the CORS headers to every response, but the Access-Control-Allow-Methods, for example, is meant to be used only in preflight responses (see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods).

I read the docs again and yes you're right, thanks for sharing.


playback rate in editor (cool (betopia edition)

another useless (?) pr by me yippie!!!!

Sad moment


Implement TOUCH command

Implement the TOUCH command, which updates the access times of the provided keys.
Reference: https://redis.io/docs/latest/commands/touch/
Client-Server Spec:
Command File: ./internal/modules/generic/commands.go
Test File: ./internal/modules/generic/commands_test.go
Command: touch
Module: constants.GenericModule
Categories: constants.KeyspaceCategory, constants.ReadCategory, constants.FastCategory
Description: (TOUCH key [key ...]) Alters the last access time of a key(s). A key is ignored if it does not exist.
Sync: true
Embedded Spec:
Command File: ./echovault/api_generic.go
Test File: ./echovault/api_generic_test.go
NOTE: You may have to edit the HandlerFuncParams type to include a function that touches the keys.

I'll pick this one up next

@kelvinmwinuka I'm thinking this just needs to use/extend updateKeysInCache but not 100% certain on the ideal route to go. Did you have something else in mind for implementing this?

@kelvinmwinuka I'm thinking this just needs to use/extend updateKeysInCache but not 100% certain on the ideal route to go. Did you have something else in mind for implementing this?

I think that's a reasonable approach.

I'm implementing OBJECT IDLETIME and OBJECT FREQ in addition to TOUCH since these are dependencies of TOUCH to enable better testing.
@kelvinmwinuka this may need a separate issue opened, but I ran into something with the adjustMemoryUsage EchoVault method while building out the tests for these commands.
I set the max memory of the test server to 1mb assuming this should be the max size of the cache, but we are comparing to HeapInuse which is total memory of the program (I think), so this fails to return nil for low MaxMemory allocations (under 2mb). Is this intended?
	// If we're using less memory than the max-memory, there's no need to evict.
	if memStats.HeapInuse < server.config.MaxMemory {
		return nil
	}

along the same vein, we may want some sort of logic check config settings are passed because as it is now it's possible to pass in too low of a max memory usage as well as eviction interval for the server to properly function with any eviction policy.

@osteensco this is a bug. Please open a separate issue for this. We should be checking the size of the cache, not the whole program.


Support for getting pusher result when app is not in background

I am able to receive pusher events when the app is running in background or when the app is open . When i clear the app from background it does not receive events .

That would be a push notification to wake the app up if it is closed. You would need to use Pusher Beams (or some other push notifications system or product.)
https://pusher.com/beams