text:
Unified Fides Resources Feature

❗ ~Prerequisite: We need a fideslang release, so we can link to the proper fideslang version here~
❗ Before merge:

Get up to date with main again and push to this branch to re-trigger CI
Double check if downrev needs to be bumped: this branch has several migrations. Bump the first in the series.
See if any new saas connectors have been added - their tests will fail because they're using old DatasetConfig.dataset fields
Other uses of now-obsolete resources should get flagged via test failures.

❗ If you primarily care about your ctl datasets, migration plan would be to delete your dataset configs prior to upgrading.
Code Changes
This feature branch contains the work below from several PR's - they've all been individually reviewed, and I've been keeping this branch up-to-date with main:

Unified Fides Resources: Remove several fidesops schemas for DSR's in favor of updated Fideslang schemas #2009
Unified Fides Resources: Add new datasetconfig.ctl_dataset_id field to unify fides dataset resources #2046
Unified Fides Resources: Remove DatasetConfig.dataset field #2096
Unified Fides Resources: Update UI dataset config routes to use new unified routes #2113
Unified Fides Resources: Validate request body on crud endpoints on upsert. Validate dataset data categories before save. #2134
Unified Fides Resources: Added a dataset dropdown selector when configuring a connector to link an existing dataset to the connector configuration. #2162
Unified Fides Resources:  Update test env setup and quickstart to use new routes instead of routes we plan to deprecate at some point #2225

Steps to Confirm

[ ] Run nox -s test_env.  Verify in your db that DatasetConfig.dataset column is gone. Instead there's a DatasetConfig.ctl_dataset_id FK to ctl_dataset

fides=# select * from datasetconfig;
                    id                    |          created_at           |          updated_at           |           connection_config_id           |           fides_key           |              ctl_dataset_id
------------------------------------------+-------------------------------+-------------------------------+------------------------------------------+-------------------------------+------------------------------------------
 dat_153c7bc6-f486-47f7-9acc-b961481e5b55 | 2023-01-17 16:46:47.683558+00 | 2023-01-17 16:46:47.683558+00 | con_d3d5aff5-9365-4b2d-974c-a8a26d83af5c | postgres_example_test_dataset | ctl_8e9491eb-e8b9-4794-a4a1-9ca667393043
 dat_e8d7fb9c-78f6-49d3-be86-05b5ee2b4830 | 2023-01-17 16:46:47.826331+00 | 2023-01-17 16:46:47.826331+00 | con_f6e8acef-1d94-4df3-a61e-c9cae9ce2a8b | mongo_test                    | ctl_1451aa46-3409-4cff-ba16-726aa65a96c4

[ ] Go the Admin UI > Configure Privacy Requests > Click "Connection Manager" left pane, and then click on Mongo DB Connector three dots > Configure
[ ] Click on Mongo Dataset configuration tab
[ ] Verify yaml looks as expected.  Note organization_fides_key has been automatically added, and there are fides_meta instead of fidesops_meta keys
[ ] Go to Privacy Center - submit an access request for customer-1@example.com
[ ] Return to admin-ui request manager and approve that privacy request
[ ] Verify results in fides_uploads
[ ] Experiment with adding and updating more connection configs / dataset configs in the connection manager, including adding saas connectors like mailchimp

[ ] Note that this operation makes an upsert to ctl Datasets and then a Patch to DatasetConfig to link that Ctl Dataset to the DatasetConfig.  Check your Network tab.

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md

Description Of Changes
Merges the unified-fides-resources branch.  Big picture, we've been storing Datasets in two separate places with our two separate fides and fidesops repos and this branch consolidates to one location.
The CTL side has been storing this in a ctl_datasets table and the OPS side has been storing in the datasetconfig.dataset table.  We move to storing in one place: ctl_datasets, and adding a datasetconfig.ctl_dataset_id FK.

I've published the fideslang release here

Thanks @seanpreston. Bumped fideslang version but added do not merge label here so we wait for this week's release first.

Current tests failing on this branch, need to verify if these are on main:

saas requests failing with `test_friendbuy_nextgen_erasure_request_task
tests/ctl/core/test_system.py::test_scan_system_aws_passes

Getting this branch up to date now -

Confirmed failing tests are also on main (these are both tests that don't get run as frequently - you need the unsafe labels check)
https://github.com/ethyca/fides/actions/runs/3968715043/jobs/6802446026
https://github.com/ethyca/fides/actions/runs/3968715043/jobs/6802445249

Getting up-to-date again, conflicts with https://github.com/ethyca/fides/pull/2249

Hey @pattisdr I gave this some QA this morning, it's looking great!

@seanpreston thank you!

One last main merge ^

authors: pattisdr seanpreston


text:
Update config.json Improve -> Functional

Description Of Changes
As part of the fideslang 2.0 upgrade, we should upgrade the default config.json file we ship with to not reference an obsolete fideslang data use.
Code Changes

[ ] list your code changes here

Steps to Confirm

[ ] list any manual steps for reviewers to confirm the changes

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md
[ ] For API changes, the Postman collection has been updated

@allisonking as part of this fideslang 2.0 upgrade I think we need to upgrade the config.json file that we ship with. The backend has a large data migration updating all of the consent preferences for "old consent" that were previously saved from old data uses in the config.json file. https://github.com/ethyca/fides/pull/4030.
I optimistically did some find/replace - could you look at the failing cypress test?

Ah! bravo @allisonking thank you so much!

source: gharchive/pull-request

repo: ethyca/fides

license_type: permissive

license_source: github-api


text:
Some questions about attacks

Hi:
Today, I use "expamle_attack.py" to   Reconnaissance denfense. I have same questions：
1. The rules do not specify how to get the target defense ID。
2. An error occurred while using 'expamle-attack. py'。

Hi, the attack phase has not started yet. There will be an API endpoint to get the list of submissions to attack.

source: gharchive/issue

authors: BXHQu dedeswim

repo: ethz-spylab/satml-llms-ctf-issues

license: MIT


text:
Setup auto-release documents

Problem Statement
We should auto-maintain the document release process and keep updating the docs.

Should we use mkdocs or rst?
Theme?
Host service (https://readthedocs.org/)?

sphinx reports
WARNING: autodoc: failed to import module 'io' from module 'lance'; the following exception was raised:
Traceback (most recent call last):
  File "/Users/lei/work/lance/docs/venv/lib/python3.10/site-packages/sphinx/ext/autodoc/importer.py", line 58, in import_module
    return importlib.import_module(modname)
  File "/opt/homebrew/Cellar/python@3.10/3.10.6_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/Users/lei/work/lance/python/lance/__init__.py", line 25, in <module>
    from lance.types import register_extension_types
  File "/Users/lei/work/lance/python/lance/types/__init__.py", line 22, in <module>
    from lance.types.image import (
  File "/Users/lei/work/lance/python/lance/types/image.py", line 25, in <module>
    from lance.io import copy, open_uri
  File "/Users/lei/work/lance/python/lance/io.py", line 29, in <module>
    USER_AGENT = f"User-Agent: Lance/{lance.__version__} (contact@eto.ai)"
AttributeError: partially initialized module 'lance' has no attribute '__version__' (most likely due to a circular import)

should we move __version__ to lance.__init__.py, @changhiskhan ?

repo: eto-ai/lance


text:
Use torch ShuffleDataset

https://github.com/pytorch/pytorch/pull/45290
Offers shuffling for iterative datasets.

https://pytorch.org/docs/master/data.html#torch.utils.data.BufferedShuffleDataset

repo: eto-ai/rikai


text:
Issue #25: Implementation of contextual view

Please review it but not merge!

LGTM, with some minor comments ;)

license_source: bigquery


text:
Default arg value of null should generate a PhanTypeMismatchDefault

The following code does not generate a warning:
/**
 * @param string $name
 */
function func($name = null)
{
    var_dump($name);
}

But the variable $name has type string, not string|null, so setting the default value to null should trigger a warning. Setting it to an int DOES trigger a warning:
function func($name = 123)

A default value of null is a special case in a PHP function signature. If Phan warned on all of those it would be painful

Ah I see. Should I add this as a test case then @rlerdorf and explictly show that it outputs nothing? Might be good to document this behavior in case someone raises the same question in the future.

authors: egonSchiele rlerdorf

repo: etsy/phan

license: mit


text:
🛑 cr1.staging (IPv4, 5060/TCP) is down

In e99ac24, cr1.staging (IPv4, 5060/TCP) (cr1.staging.ettelabs.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cr1.staging (IPv4, 5060/TCP) is back up in d9377a2 after 13 minutes.

repo: ettelabsinc/ette-uptimejs


text:
Decrypted  strings return strange characters

In my use case i'm encrypting unique Ids and storing them on a MYSQL database, encryption and decryption work initially , but as soon as i restart the application and attempt to decrypt  stored keys then i get bad values like these: Q�5�ع��N�n��͡b6e39b59e090fdd4
YԢ����w"q�)-b287f7766b71ca22 etc.

Hi @Blakes-Mike ,
What article are you referring to?

authors: Blakes-Mike kwoyke

repo: eugenp/tutorials


text:
Changed for-loops to while-loops in OrderedMapUnitTest user:igallegosagas email:ignaciogallego@gmail.com

@KevinGilmore here are the requested changes in for loops. I don't know why it says "Can’t automatically merge"... maybe conflicts in other classes.
Also, I removed the unnecessary generic type parameters (as @pivovarit did in other PR).
Ignacio

@bluemontag so there are conflicting changes in this file between what is in the upstream tutorials repo and what is in your fork. Did you pull in the updates following the PR that @pivovarit merged in? Anyway, the bottom line is that you will need to resolve the conflict and commit and push your changes so that the PR can be merged.

@bluemontag @KevinGilmore I assume this one is not valid anymore - feel free to reopen if this is not the case

authors: KevinGilmore bluemontag pivovarit


text:
Move away from Filefile

You may want to consider supporting (and recommending) an alternative filename to maintain consistency with the changes being made to gemfiles – envied.rb? 😸
https://depfu.com/blog/2017/09/06/gemfiles-new-clothes

I'm looking for something related. I'd like to invoke scripts from various directories but have the Envfile picked up, not from the current working directory, but from a location pinned to a particular class (the main sinatra server file in my case).
I ended up doing a little backwards compatible monkey patch that allows you to state the envfile location in Envfile.require. Note you can also choose a file name other than Envfile if you wish:
class ENVied
  class Configuration
    def self.load(options = {}, envfile = nil)
      envfile ||= 'Envfile'
      envfile = File.expand_path(envfile)
      new(options).tap do |v|
        v.instance_eval(File.read(envfile), envfile)
      end
    end
  end

  def self.env!(requested_groups, options = {})
    @env = begin
      envfile = options.fetch(:envfile) { 'EnvFile' }
      @config = options.fetch(:config) { Configuration.load({}, envfile) }
      groups = required_groups(*requested_groups)
      EnvProxy.new(@config, groups: groups)
    end
  end
end

ENVied.require(envfile: File.join(__dir__, 'EnvFile'))  # Relative to this file, no matter where its loaded from.

Would be quite nice to see something like this supported by default.

authors: richie stevelacey

repo: eval/envied


text:
Holdr generating invalid classes from appcompat-v7 (21)

This is resulting in compilation errors. One of the generated lines is as follows:
public android.widget.ImageView android:icon2;

I attempted to add the holdr.defaultInclude false as recommended in the docs, though I'm not sure it's working/if I've put it in the right place in my build.gradle.

Is version 1.1.2 of the plugin likely to be released soon? I'm still having this problem sometimes.

Released! Sorry, that took far longer than it should have.

@evant Sorry, will the update be uploaded to the JetBrains plugin repo?
The link to the plugin zip now leads to a 404: https://github.com/evant/holdr/blob/master/intellij-plugin/intellij-plugin.zip?raw=true

It's uploaded and waiting for approval. The zip is no longer in the repo since I changed my build process. I still need to update the README with instructions on how to build it if you want to install it manually.

authors: evant intrications loeschg

repo: evant/holdr


text:
🛑 www.actionherojs.com is down

In d3387f0, www.actionherojs.com (https://www.actionherojs.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: www.actionherojs.com is back up in 1e3078a.

repo: evantahler/upptime


text:
🛑 www.actionherojs.com is down

In bbbabca, www.actionherojs.com (https://www.actionherojs.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: www.actionherojs.com is back up in e1ed5a3.


text:
🛑 www.actionherojs.com is down

In d3ebae1, www.actionherojs.com (https://www.actionherojs.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: www.actionherojs.com is back up in 3ae0e37.


text:
Jekyll theme

Hello!
I'm sorry to open an issue for a simple question, but I wasn't sure how else to contact you.
The theme for your _drafts site, is that custom or did you get it elsewhere?  I love it and wanted to use it on my personal, non-commercial github site.  If it's something you created, would you mind if I used it (with credit of course).
Thank you!
Josh

@joshlawrence sorry for the delayed response--I missed this somehow...
The theme is a basically a customized mix of other simple themes that has evolved over time.
The base is mostly from Minima and inspiration from Kiko-plus.
I think the searchable list on the home page is my idea (because that is what makes sense for me as the main user!).
I just clarified the license in the README and added MIT license for the "theme", so you are welcome to use it.
Keep in mind, it is pretty idiosyncratic and not really designed as a theme and doesn't use any standard frameworks, so you might be better off starting with a real theme that is set up to customize easily.
Thanks for reaching out, and let me know how your site goes,
best!

authors: evanwill joshlawrence


text:
Google Docs add-ons are greyed out

"It requires no other permissions." - Is this still true?

My Google Docs add-ons are greyed out - https://i.imgur.com/XPIWXq9.png.
So I google-searched for {"google docs" add-ons greyed out} and found https://i.imgur.com/vpCBFbx.png.
So I typed 'admin.google.com' in the URL area of Google Chrome - https://i.imgur.com/fVd86Ge.png.
I don't have a "Google Workspace account" and I have never heard of it before, so I gave up! :(

It sounds like you may be part of an organization that has a Google Workspace (formerly GSuite) account. The admin can allow (or disallow) users to install third-party add-ons, which may be what is happening here.
If you are using your personal Google account, you should be able to install any add-on you want.

It works now! (I am using my personal account.)
I can still not directly convert the document I tried yesterday ...
But it came to my mind that I am not the owner of that document. So I downloaded it (in .docx format),
and uploaded it into my own Google Drive. I also un-installed and re-installed Docs to Markdown.
(The first re-installation failed, but the second was successful.)
I am sorry for reporting a "bug" which apparently is not a bug at all, but rather reflects my ignorance
on how to use this very fine extension.
The only (but overall very minor) "complaint" I can think of right now, is that I would have preferred
the window containing the converted code to be a little bit wider, https://i.imgur.com/0lVO0lo.png.
Many, many thanks for providing this wonderfully helpful and extremely time-saving extenstion!
👍

Thanks for reporting this bug -- it's good to be aware of problems that people are running into, even if they are not caused directly by Docs to Markdown.
Glad you were able to figure this out! Google Docs add-ons sometimes have confusing behavior, particularly when it's related to ownership and permissions. I'm not sure why you needed to install Docs to Markdown more than once, but I'll note that's yet another potential issue with add-ons.
As for the window, I'd like it to be wider too, but I tried to make it wider a while ago, and I believe it's at the max width allowed now. Google Docs doesn't want to give up too much page space to add-ons!

As for the window, I'd like it to be wider too, but I tried to make it wider a while ago, and I believe it's at the max width allowed now. Google Docs doesn't want to give up too much page space to add-ons!

Yes, I suspected something like that. Thanks again! :-)

authors: alfken evbacher


text:
Kein Zugriff mehr auf BMW i4

Describe the bug
Der BMW ist mit der UI konfiguriert. Seit 0.123.x kein Zugriff mehr auf die Fahrzeugdaten.
Steps to reproduce

BMW i4 mit UI konfigurieren

...
Configuration details
Fahrzeug BMW i4 neu anlegen geht auch nicht mehr. Da aufgrund der Fehlermeldung nicht gespeichert werden kann.

Log details
cannot create vehicle 'template': cannot create vehicle 'bmw': Client authentication failed (e.g., login failure, unknown client, no client authentication included or unsupported authentication method): unexpected status: 401 (Unauthorized)

What type of operating system are you running?
Linux
Version
0.123.2

…und alte Version geht dann wieder?

Zumindest können andere Dienste, wie z.B. EEVEE weiter mit den gleichen Daten auf das Fz. zugreifen.
Wie kann ich auf einem RasPi mit Linux einen Downgrade machen?

Habe dasselbe Problem mit dem i3. Ich werde morgen mal probieren mich bei der App aus- und einzuloggen. Das letzte Mal wollte er da dann ein neues Passwort haben.

Zumindest können andere Dienste, wie z.B. EEVEE weiter mit den gleichen Daten auf das Fz. zugreifen. Gerade einen Downgrade auf 0.122.1 gemacht. Geht auch nicht.

Titel korrigiert, da gibts ja offensichtlich keinen Zusammenhang. Die Ursache dürfte damit bei BMW liegen.

Zumindest können andere Dienste, wie z.B. EEVEE weiter mit den gleichen Daten auf das Fz. zugreifen. Gerade einen Downgrade auf 0.122.1 gemacht. Geht auch nicht.

Titel korrigiert, da gibts ja offensichtlich keinen Zusammenhang. Die Ursache dürfte damit bei BMW liegen.

Also allgemein an BMW liegt es nicht. Bei meinem i4 ist alles in Ordnung und evcc zeigt alles korrekt an.
Allerdings habe ich meinen nicht im UI konfiguriert - wobei das eigentlich ja nichts ausmachen sollte?

mein i3:
Garage: vehicle soc: 403: Out of call volume quota. Quota will be replenished in 00:24:33. (unexpected status: 403 (Forbidden))

Ich hatte gerade beim i3
Garage: vehicle soc: 403: Out of call volume quota. Quota will be replenished in 00:24:33. (unexpected status: 403 (Forbidden))
hab mich testweise in der bmw app abgemeldet, neu angemeldet, geht jetzt wieder in evcc. weiss aber nicht ob das zusammenhängt.

Ich hatte gerade beim i3 Garage: vehicle soc: 403: Out of call volume quota. Quota will be replenished in 00:24:33. (unexpected status: 403 (Forbidden)) hab mich testweise in der bmw app abgemeldet, neu angemeldet, geht jetzt wieder in evcc. weiss aber nicht ob das zusammenhängt.

Das Verhalten kann ich bestätigen. Geht nach dem Ab- und Anmelden in der BMW-App wieder.

authors: TobiasHuber1980 TweetsOfNiklas andig digitalonkel fuxae

repo: evcc-io/evcc


text:
Idee: Soc-poll am Fahrzeug statt am Loadpoint

Aktuell kann man nur von angeschlossenen bzw. im UI ausgewählten Fahrzeug Fahrzeug den Soc abfragen und anzeigen lassen.
Da immer mehr Feature zum Vehicle wandern, ist meine Idee, das Soc-polling vom Laodpoint zum Vehicle zu verlagern.
Dann hätte man z.B. bei mehreren Fahrzeugen die Möglichkeit in einer Fahrzeug-Liste auf einen Blick den aktuellen Soc, um zu entscheiden, welches angesteckt werden muss.

Die Idee ist schon da, ein Issue brauchts nicht ;)

Danke


text:
Mennekes Amtron Xtra/Premium wallbox support

Is your feature request related to a problem? Please describe.
Latest firmware update of Mennekes Amtron Xtra/Premium (with HCC3 controller) enables modbus support, I can't find any application offering support for this yet.
Describe the solution you'd like
Please add support for this wallbox charger.
Describe alternatives you've considered
Complete modbus library description for the wallbox is found here: https://update.mennekes.de/hcc3/1.13/Description Modbus_AMTRON HCC3_v01_2021-06-25_en.pdf
Linked from this site:
https://www.chargeupyourday.de/services/software-updates/
Also added the PDF-file here
Description Modbus_AMTRON HCC3_v01_2021-06-25_en.pdf
.

Gute Idee, können wir gerne mit aufnehmen!

@stiajoe can you contact me at cpuidle@gmx.de for remote access?

Note: phase switching is not supported over Modbus. Only reading the configured phases is documented.

@stiajoe any update?

I’m afraid not. Going to pick up where I left during next week. Hopefully people are back to work and on site after the Christmas vacation so they can do some testing.
Happy New Years - Stian

des. 2021 kl. 16:13 skrev andig @.***>:

@stiajoe any update?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.

There is also a variant of the Mennekes boxes called Amtron Professional, which uses a different set of modbus registers (cf. PDF).
I have started an implementation here: https://github.com/matspi/evcc/blob/amtron-professional/charger/amtron_prof.go
Would it make sense to incorporate these changes into this module/PR or would you rather create a separate charger implementation, i.e. should I open a new issue?

Registers look completely different- I'd suggest separate implementation.

authors: andig matspi stiajoe


text:
fix sunspec-hybrid

The template assumed an inverter with exactly one actual MPPT tracker, and where the second MPPT tracker connected to the battery. It did not use the actual sunspec battery model.
After the change the battery model is used for reading Soc and powers. Active battery control is also added based on the 802 model.

Bei einem Hybrid WR kannst Du die PV Leistung nicht auf der AC Seite ermitteln.

Das wird so nicht universell funktionieren, denn
nicht alle Hybrid-WR haben Model 802 usw.
Um welchen WR geht es denn überhaupt ganz konkret?
Im Zweifelsfall einfach dafür ein neues Template anlegen.
Für die Mehrzahl der existierenden Hybrid-WR mit zwei MPPTs passt das sunspec-hybrid Template, aber auch dabei gibt es bereits einige Ausnahmen mit eigenem Template.

Bei einem Hybrid WR kannst Du die PV Leistung nicht auf der AC Seite ermitteln.

Ist auch im PR nach wie vor AC, nur nich als Summe der Strings, sondern gesamt.

Deshalb sage ich ja. AC geht nicht!

DCW finde ich ne gute Idee, aber WH ist AC, oder?

WH ist AC, da gibt es leider kein DC Äquivalent.

160:x:DCWH

@premultiply Ich meine aggregiert, ohne zu wissen, wie viele MPPTs es gibt.

Das gibt es bei SunSpec so mWn nicht.
Du solltest einfach ein Template für dein WR-Modell bauen.

Das sunspec-battery-control template nutzt schon das Model 802. Könnte man dort power auf Model 802 umstellen?

Das klingt zusätzlich nach einer guten Verbesserung.
Ich mache hier mal zu. Gerne zwei neue PRs für die beiden Themen.

Ich finde die Idee spezfischer Templates gut. Hier ist eines für einen Hybrid WR mit 2 Strings. Das könnten wir auch so umbenennen.
Die Idee einzelne Parameter finde ich auch super- wenn wir passende Lösungen finden :)
Jetzt bräuchte es ein weiteres Template für einen 4-String WR oder eine Möglichkeit, dieses Template konfigurieren zu können.

@andig model 160 liefert die Anzahl Strings, man könnte das also prinzipiell gbenerisch gestalten. Allerdings läuft das templating zur compile Zeit. Hast Du eine Idee, wie man halbwegs einfach die MPPTs dynamisch generieren kann?

authors: andig premultiply runtologist


text:
Improve requesting user context pattern

We should research whether it is possible to drop requestingUser from the explicit argument list because: (1) the API signature looks clunky with it; (2) we don't consistently have this extra userId in all methods; (3) the requestingUser should be kept implicitly throughout the context and injected when it is actually needed without the API consuming code to be aware of it.
Originally posted by @ywangd in https://github.com/everest-engineering/lhotse/pull/48#discussion_r748785109

Closing this issue as this approach has conflicts with role annotations that we are using on controller methods
cc: @sluehr

repo: everest-engineering/lhotse


text:
I have an error

Hello man, I ran into a problem, I have an error.
Forbidden: 403 Forbidden 453 - You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product
All your steps that you indicated have been completed. Please help me. I'll be very grateful.

I have the same problem. Did you figure out a solution?

It`s because of Elon Musk. Now if u want to access to Twitter API, u need to pay money. So DYOR coz i see videos on YouTube how avoid this and how do unlimited requests to Twitter API.

You have link to the video that solved the error?

Unfortunately no, sry

authors: BrysonHall God-Given


text:
[Bug]: Trino - ZodError on simple query

Describe the bug
Running a simple query select * from table and getting a validation error from Zod. `count(*) on the same table succeeds, so it is not a connection issue.
{
    "code": "invalid_union",
    "unionErrors": [
      {
        "issues": [
          {
            "code": "invalid_union",
            "unionErrors": [
              {
                "issues": [
                  {
                    "expected": "'boolean' | 'number' | 'string' | 'date'",
                    "received": "undefined",
                    "code": "invalid_type",
                    "path": [
                      "columnTypes",
                      8,
                      "evidenceType"
                    ],
                    "message": "Required"
                  },
                  {
                    "expected": "'boolean' | 'number' | 'string' | 'date'",
                    "received": "undefined",
                    "code": "invalid_type",
                    "path": [
                      "columnTypes",
                      9,
                      "evidenceType"
                    ],
                    "message": "Required"
                  },
                  {
                    "expected": "'boolean' | 'number' | 'string' | 'date'",
                    "received": "undefined",
                    "code": "invalid_type",
                    "path": [
                      "columnTypes",
                      10,
                      "evidenceType"
                    ],
                    "message": "Required"
                  },
                  {
                    "expected": "'boolean' | 'number' | 'string' | 'date'",
                    "received": "undefined",
                    "code": "invalid_type",
                    "path": [
                      "columnTypes",
                      11,
                      "evidenceType"
                    ],
                    "message": "Required"
                  },
                  {
                    "code": "invalid_type",
                    "expected": "string",
                    "received": "undefined",
                    "path": [
                      "url"
                    ],
                    "message": "Required"
                  }
                ],
                "name": "ZodError"
              },
              {
                "issues": [
                  {
                    "expected": "'boolean' | 'number' | 'string' | 'date'",
                    "received": "undefined",
                    "code": "invalid_type",
                    "path": [
                      "columnTypes",
                      8,
                      "evidenceType"
                    ],
                    "message": "Required"
                  },
                  {
                    "expected": "'boolean' | 'number' | 'string' | 'date'",
                    "received": "undefined",
                    "code": "invalid_type",
                    "path": [
                      "columnTypes",
                      9,
                      "evidenceType"
                    ],
                    "message": "Required"
                  },
                  {
                    "expected": "'boolean' | 'number' | 'string' | 'date'",
                    "received": "undefined",
                    "code": "invalid_type",
                    "path": [
                      "columnTypes",
                      10,
                      "evidenceType"
                    ],
                    "message": "Required"
                  },
                  {
                    "expected": "'boolean' | 'number' | 'string' | 'date'",
                    "received": "undefined",
                    "code": "invalid_type",
                    "path": [
                      "columnTypes",
                      11,
                      "evidenceType"
                    ],
                    "message": "Required"
                  }
                ],
                "name": "ZodError"
              }
            ],
            "path": [],
            "message": "Invalid input"
          }
        ],
        "name": "ZodError"
      },
      {
        "issues": [
          {
            "code": "invalid_type",
            "expected": "null",
            "received": "object",
            "path": [],
            "message": "Expected null, received object"
          }
        ],
        "name": "ZodError"
      }
    ],
    "path": [],
    "message": "Invalid input"
  }
]

First time using evidence, is there any way to understand what's going on here? Or any verbose mode to help me debug the issue?
Running npm run sources -- --debug produces exactly the same output.
Steps to Reproduce
Just querying my fairly large table. The query succeeds according to starburst galaxy "Query Insights"
Logs

System Info

Severity
blocking all usage of Evidence
Additional Information, or Workarounds
No response

I isolated the bug to my timestamp column ie if I query that column it breaks, but if i cast to DATE it works. Is TIMESTAMP not supported? Where can we see the supported types?

Types that should be supported here:
https://github.com/evidence-dev/evidence/blob/next/packages/datasources/trino/index.cjs

My type is TIMESTAMP(6) Querying it caused the cryptic zod error above

It appears timestamp(6) is not currently supported.
It's not on the list of supported types in the connector.
Can you cast to timestamp also?
Would also accept a PR to add the type!

authors: andreapiso archiewood

repo: evidence-dev/evidence


text:
Fix table search when sorting

Description
Fixes #1702
Before

After

Checklist

[x] For UI or styling changes, I have added a screenshot or gif showing before & after
[x] I have added a changeset

I think only downside here is that fuse has to re-index the whole dataset every time it changes, which won't matter when we switch to using duckdb searching instead, so I think this is fine in the meantime

authors: csjh hughess


text:
clone.defaultRemoteName in .gitconfig causes remote configurations to fail

:wrench: Summary
When the global .gitconfig file defines clone.defaultRemoteName, Lefthook fails on lefthook install when it attempts to sync hooks from a remote configuration.
Lefthook version
1.7.17
Steps to reproduce

Set clone.defaultRemoteName to something other than origin.
For example:git config --global clone.defaultRemoteName github

Define a lefthook.yml file with remotes.
For example:remotes:
  - git_url: https://github.com/rainstormy/presets-lefthook
    ref: main
    configs:
      - dependencies.yml
      - quality-assurance.yml

Run lefthook install to clone the remote repository.
Run lefthook install again to sync the hooks. This is when the error occurs.
Finally, if clone.defaultRemoteName was not configured prior to step 1, you can undo it again so that it won't mess things up later on your computer 😅git config --global --unset clone.defaultRemoteName

Expected results
Lefthook should not raise an error:
sync hooks: ✔ (pre-push, post-checkout, post-rewrite, pre-commit)

Actual results
Couldn't sync from https://github.com/rainstormy/presets-lefthook. Will continue anyway: exit status 128
sync hooks: ✔ (pre-push, post-checkout, post-rewrite, pre-commit)

Possible Solution
I think a possible solution would be to specify the --origin flag when cloning the remote repository, as it would override the clone.defaultRemoteName setting.
For example:
git -C .git/info/lefthook-remotes clone --quiet --depth 1 --origin origin --branch main https://github.com/rainstormy/presets-lefthook presets-lefthook-main

Logs / Screenshots
From step 3:
LEFTHOOK_VERBOSE=1 lefthook install

│ [lefthook] cmd:    [git rev-parse --show-toplevel]
│ [lefthook] stdout: /home/sdi/repositories/rainstormy/updraft

│ [lefthook] cmd:    [git rev-parse --git-path hooks]
│ [lefthook] stdout: .git/hooks

│ [lefthook] cmd:    [git rev-parse --git-path info]
│ [lefthook] stdout: .git/info

│ [lefthook] cmd:    [git rev-parse --git-dir]
│ [lefthook] stdout: .git

│ [lefthook] cmd:    [git hash-object -t tree /dev/null]
│ [lefthook] stdout: 4b825dc642cb6eb9a060e54bf8d69288fbee4904

│ Searching config in:/home/sdi/repositories/rainstormy/updraft
│ Merging remote config: https://github.com/rainstormy/presets-lefthook: .git/info/lefthook-remotes/presets-lefthook-main/dependencies.yml
│ Merging remote config: https://github.com/rainstormy/presets-lefthook: .git/info/lefthook-remotes/presets-lefthook-main/quality-assurance.yml
│ Cloning remote config repository: .git/info/lefthook-remotes/presets-lefthook-main
│ [lefthook] cmd:    [git -C .git/info/lefthook-remotes clone --quiet --depth 1 --branch main https://github.com/rainstormy/presets-lefthook presets-lefthook-main]
│ [lefthook] dir:    /home/sdi/repositories/rainstormy/updraft
│ [lefthook] stdout:
│ Searching config in:/home/sdi/repositories/rainstormy/updraft
│ Merging remote config: https://github.com/rainstormy/presets-lefthook: .git/info/lefthook-remotes/presets-lefthook-main/dependencies.yml
│ Merging remote config: https://github.com/rainstormy/presets-lefthook: .git/info/lefthook-remotes/presets-lefthook-main/quality-assurance.yml
sync hooks: ✔ (pre-commit, pre-push, post-checkout, post-rewrite)

From step 4:
LEFTHOOK_VERBOSE=1 lefthook install

│ [lefthook] cmd:    [git rev-parse --show-toplevel]
│ [lefthook] stdout: /home/sdi/repositories/rainstormy/updraft

│ [lefthook] cmd:    [git rev-parse --git-path hooks]
│ [lefthook] stdout: .git/hooks

│ [lefthook] cmd:    [git rev-parse --git-path info]
│ [lefthook] stdout: .git/info

│ [lefthook] cmd:    [git rev-parse --git-dir]
│ [lefthook] stdout: .git

│ [lefthook] cmd:    [git hash-object -t tree /dev/null]
│ [lefthook] stdout: 4b825dc642cb6eb9a060e54bf8d69288fbee4904

│ Searching config in:/home/sdi/repositories/rainstormy/updraft
│ Merging remote config: https://github.com/rainstormy/presets-lefthook: .git/info/lefthook-remotes/presets-lefthook-main/dependencies.yml
│ Merging remote config: https://github.com/rainstormy/presets-lefthook: .git/info/lefthook-remotes/presets-lefthook-main/quality-assurance.yml
│ Updating remote config repository: .git/info/lefthook-remotes/presets-lefthook-main
│ [lefthook] cmd:    [git -C .git/info/lefthook-remotes/presets-lefthook-main fetch --quiet --depth 1 origin main]
│ [lefthook] dir:    /home/sdi/repositories/rainstormy/updraft
│ [lefthook] error:  exit status 128
│ [lefthook] stdout:
│ [lefthook] stderr: fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Couldn't sync from https://github.com/rainstormy/presets-lefthook. Will continue anyway: exit status 128
sync hooks: ✔ (pre-push, post-checkout, post-rewrite, pre-commit)

Hey! Thank you for such a good finding! I'll prepare the fix ASAP

Awesome, thanks!!

authors: mrexox spdiswal

repo: evilmartians/lefthook


text:
allow skipping ssl verification

Some brokers might be configured to use TLS. This is a work to make it possible to skip TLS verification using the configuration file since this is meant to be a testing tool.
The default behaviour still remains the same.

@FelisiaM thanks for this suggestion. I would propose adding this as a new feature.
@joStrauss can you make it configurable via the shell execution or configuration yaml with default false.

@chbrinker This already is configurable in the yaml with default false.
@FelisiaM Thank you for this contribution.

authors: FelisiaM chbrinker joStrauss

repo: evoila/osb-checker-kotlin


text:
Different build schemes on same device

I have 3 custom build settings: debug, staging and release. Each configuration have it's own Product Name and Bundle id (com.app.debug, com.app.staging, com.app
Now that I've done all of these steps to make notifications work on my iOS device for com.app, I'm wondering if this is possible to use it for every configuration.
In Firebase, is there a way to have multiple GoogleService-Info.plist ? One with com.app, the other one with com.app.debug ?
What are the steps to reproduce, is this possible ?

I managed to fix my issue by following those advices
http://stackoverflow.com/a/43444481/906120

repo: evollu/react-native-fcm


text:
Comparability with react-native-navigation ?

Hello! Thanks for you work, plugin is amazing!
I have one problem after migrating my app to react-native-navigation - If I removed app from process, and received push notificaiton, app started and becomes to foreground. The problem similar to this issue
Can you help me to fix it? if this react-native-navigation bug ?

is send local notification working?

Yes, local notification working as well. When I received it, application does not started.

what does Navigation.startSingleScreenApp do?
It is possible what happened is

notification comes and android wakes up JS thread and JS thread creates a new Activity and brings it foreground.

Solution would be not calling startSingleScreenApp rather calling some function just doing navigation

startSingleScreenApp this is enter point in to the app, I think there is no different way to do this.

notification comes and android wakes up JS thread and JS thread creates a new Activity and brings it foreground.

I assume exactly same happened.
Maybe FCM have some functions to detected app started normally or starting by push ?

nope. why would you startSingleScreenApp on notification?
when app is alive, you shouldn't need to start a new screen
when app is killed, you should build an activity either

nope. why would you startSingleScreenApp on notification?
I dont use startSingleScreenApp on notification, it is my main file. And when push notificaiton arrives, it started this file, and startSingleScreenApp called.

hmm...ok. so you are using that to manager routes rather than react-native's main screen?
try check the status of the app, it might be background if it is waken by notification

hmm...ok. so you are using that to manager routes rather than react-native's main screen?

Between another page I switching using resetTo method, or push
this.props.navigator.resetTo({
          screen: "somePage"
});

this.props.navigator.push({
          screen: "somePage"
});

try check the status of the app, it might be background if it is waken by notification

You mean checking background or foreground using AppState  ?

I tried AppState, it return true, when app started on push arrives.

I can not found a solution to detect that app started form background..
And If I remove payload data than fired push in background, I cannot normally work with new data (I need to set up badge, and to save data from push notification into storage)

I discovered, that when app started normally, or (app closed from process) and push received - app becomes to foreground, callback that catches push notification, fires with [this data:]

In case when push received - callback shows only which data ( data that send directly from push, does not shows)
Data from my usual notification.

when notification arrives, you can use resetTo or push to navigate around as well. You just need to have a listener inside component lifecycle to just handle the navigation.

I think we can close this, this is more related to react-native-navigation
you can have a component that render null, and have listeners on component lifecycle to deal with it

Yes, its react-native-navigation difficult. Thanks for helping.

authors: evollu kholiavko-roman luthfidc03 sibelius


text:
Update sbt-release to 1.0.15

Updates com.github.gseitz:sbt-release from 1.0.13 to 1.0.15.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.gseitz", artifactId = "sbt-release" } ]

labels: sbt-plugin-update, semver-patch

Pull Request Test Coverage Report for Build 112

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

Totals

Change from base Build 106:
0.0%

Covered Lines:
28

Relevant Lines:
41

💛  - Coveralls

authors: coveralls scala-steward

repo: evolution-gaming/akka-serialization


text:
Update scalatest to 3.2.18

About this PR
📦 Updates org.scalatest:scalatest from 3.2.3 to 3.2.18
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalatest", artifactId = "scalatest" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scalatest", artifactId = "scalatest" }
}]

labels: test-library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #119.

repo: evolution-gaming/cassandra-launcher


text:
Update sbt to 1.3.5

Updates org.scala-sbt:sbt from 1.3.4 to 1.3.5.
Release Notes/Changelog
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: semver-patch

Coverage remained the same at 68.16% when pulling e331aeca96f2fab58fd0ed0afd5f348407b548cd on scala-steward:update/sbt-1.3.5 into 39e2344648cf13e326d586704e08d731984dc41e on evolution-gaming:master.

repo: evolution-gaming/safe-akka


text:
Update sbt-ci-release to 1.6.0

About this PR
📦 Updates com.github.sbt:sbt-ci-release from 1.5.12 to 1.6.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.sbt", artifactId = "sbt-ci-release" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.github.sbt", artifactId = "sbt-ci-release" }
}]

labels: sbt-plugin-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #285.

repo: evolution-gaming/scache


text:
Design login UI flow in evothings2

Task is to design the login UI in evothings2.
It should be possible to use the Workbench without logging in, and at any point login. It should also be possible to login before a session is established.
The handling of the session id has to support both these scenarios (logging in first and getting a pin code first). And the UI should be flexible in this respect.

Internal design document exists in Google Docs

Tabbed UI has been designed and implemented in a first version. Open new issues as neededfor further work. Closing this issue.

repo: evothings/evothings-studio


text:
keyframes are not converted

px unit in @keyframes are not converted unless I config mediaQuery as true, is this a bug or something? I didn't found anything about this in doc.
my postcss.config.js :
module.exports = {
    plugins: [
        require('autoprefixer'),
        require('postcss-px-to-viewport')({
            viewportWidth: 750,
            // mediaQuery: true,
        })
    ]
};

my css :
@keyframes testmove {
    0%{
        top:100px;
    }
    100%{
        top:200px;
    }
}

and it turns to :
@keyframes testmove {
  0% {
    top: 100px;
  }
  100% {
    top: 200px;
  }
}

@venecy Thanks for the report! Of course, mediaQuery option should only affect media-queries. I think for @keyframes  not need options, just configure it to convert according to the rules of the context. Right?

@venecy Thanks for the report! Of course, mediaQuery option should only affect media-queries. I think for @keyframes not need options, just configure it to convert according to the rules of the context. Right?
I don’t undestand, mediaQuery option should only affect media-queries. but it would affect @keyframes, When set mediaQuery false as default，@keyframes rule won’t convert, why? And what does 'configure it to convert according to the rules of the context' mean? Thanks!

authors: KODerFunk gulewei zangbianxuegu

repo: evrone/postcss-px-to-viewport


text:
VS Code Linux support

I'm running Arch Linux and spent a bit trying to install the extension, but it would never appear in the extensions list nor could I get the command  ext install ex3ndr.llama-coder to work. I ended up switching to my little Macbook and it installs just fine via an extension search.
So, does llama coder work on Linux?

Works for me using Mint. No issues.

@christian-saldana Interesting. Not why it wasn't available...

authors: christian-saldana fooblahblah


text:
Update README.md

type.introspection? ? ->(obj, args, ctx) { false } : RULES.dig(type, field)

Coverage remained the same at 100.0% when pulling 5ac1521ce9231139cfac9ae4d15fe3fd5a8a5a12 on johnunclesam:patch-1 into cd1ca47f19d3388911f77360f5786846b2870666 on exAspArk:master.

The intention in the https://github.com/exAspArk/graphql-guard/pull/6 was the opposite. Not to prevent accessing introspection types but to "allow introspection queries to skip authorization".
Could you please change the example to something like:
if type.introspection?
  ->(obj, args, ctx) { true } # of "false" to restrict an access
else
  RULES.dig(type, field)
end

Sorry. You're right.

Coverage remained the same at 100.0% when pulling a4ba20d64c67d3baffdea5cca79d63eb4810a00f on johnunclesam:patch-1 into cd1ca47f19d3388911f77360f5786846b2870666 on exAspArk:master.

@johnunclesam thank you for contributing! 🙌

authors: coveralls exAspArk johnunclesam

repo: exAspArk/graphql-guard


text:
Laravel gRPC Server Swoole

Hello, I would like to thank you for this repo which is so impressive. I'm looking to learn about swole's gRPC and need some advice. Thank you!
https://openswoole.com/docs/modules/grpc-server

Thank you! I’m glad to hear that you find the repository impressive.
I haven’t used gRPC in my projects so far.

Hi @smortexa, I tried to build using RoadRunner, I got the error as shown in the attachment. The command I'm using is: docker build -t phuong:ms1 -f RoadRunner.Alpine.Dockerfile .
Could you please check what is wrong with it? thank you!!!

Please check  Laravel Octane and RoadRunner setup.

authors: phuongphan-discoveryloft smortexa

repo: exaco/laravel-octane-dockerfile


text:
Support multiple columns in ORDER BY clause

Is your feature request related to a problem? Please describe.
I want to specify multiple columns in an ORDER BY clause.
Describe the solution you'd like
Rendering a SELECT statement and OVER clause should support multiple columns in an ORDER BY clause as defined in the documentation.

Shelved, because not in roadmap focus.

authors: kaklakariada redcatbear

repo: exasol/sql-statement-builder


text:
Support paste image from clipboard or import from local image

hope support direct paste image from clipboard, thank you.

This falls under https://github.com/excalidraw/excalidraw/issues/19 — some work is being done on it.

authors: dwelle zvrr

repo: excalidraw/excalidraw


text:
Error Monitoring

Rails provides a standardized way of listening for errors with ErrorReporter:
https://api.rubyonrails.org/classes/ActiveSupport/ErrorReporter.html
We can use this for tracking errors and showing them in the UI.

could you please elaborate on this?
this feature has nothing to be with the events, right?
should we implement a hook in the engine file?
I found this article but didn't work running it in the rails console.


text:
Overhaul Docs and many details

I have gone through the onboarding process and improved a number of commands:

myst templates (removed jtex list)
myst build
myst (aliwas for simplified myst init)
improved frontmatter validation

I have also added three quickstart guides! ⚡⚡⚡

Quick q: can we set up a netlify or a GH actions preview of PRs? This would make it easier to quickly see what the changes in docs look like

repo: executablebooks/mystjs


text:
Make it easier to discover the targets that you can reference when reading a MyST site

Which area is this feature request for?
Website User Interface
Describe the feature you'd like to request
When referencing external projects, you need to know the "target ID" of the thing to reference in order to incorporate it in your MyST reference (e.g., [](#myid)). However you're generally not interacting with their source code, but are instead reading a rendered HTML version of the page.
It would be helpful if there were a way to quickly look up the IDs that already exist on a published page from the browser so that you could quickly find this information.
It would be even more interesting if these IDs were generated in a unique fashion regardless of whether the author added them manually. This would mean you could pick an arbitrary paragraph from any published MyST site and reference it from another one.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response

Really like this idea!
Right now the IDs that are stable are in the users control, e.g. by labeling an equation or a header. I have been thinking about this a bunch but I have no idea how to generate stable IDs across builds (event relatively stable + unique seems hard). Any thoughts on that?
For the UI, I am hesitant to put in too many visual anchors, and we have been moving away from putting things in the margins. Should this be a context menu? Or any other ideas of how this should look?

There is a small little command-line tools that allows you to search, but that is still pretty technical.
npm install -g intersphinx
intersphinx list https://mystmd.org/guide --limit 5 --includes frontmatter

Indeed - from an ideal workflow perspective, I'd want to do this via the website directly. Similar to how you can hover over an H1, see the little "link" # pop up, and immediately click it to have a link. I don't know how you'd let this happen for arbitrary paragraphs without really cluttering up the UI though. Maybe if it were restricted to the most commonly-referenced things that you already get unique id= values for? 🤔

Having something similar to github might be ok? It is actually hidden most of the time until you click on the line. The UI has to leave space for the left hand side.

Notion is even more subtle:

Yep that is the kinda thing that I had in mind as well, it'd need to be very non-intrusive but some way to "expand" what is available to a block of content might be really neat

repo: executablebooks/mystmd


text:
Add tests to Pangram

Addresses x-common #222

Thanks!
I was about to create a issue not to forget it, but you did a better job :wink:

authors: matthewmorgan rchavarria

repo: exercism/xecmascript


text:
Simplify name test

No need for (require 'cl) when we have regex...

How would you feel about using the following instead of your manual regex?
(rx string-start
    (= 2 upper-case)
    (= 3 digit)
    string-end)

Also, there's no need to check (= (length name) 5) with either regex.

Thanks for this! I've done a review and requested some minor changes.

Now that I look at this again, the "Ported pretty much directly from the xlisp version :)" comment doesn't look as appropriate anymore...

Feel free to remove the comment if you want. I'll merge in maybe around half an hour.

authors: wasamasa yurrriq

repo: exercism/xelisp


text:
Bowling tests aligned with x-common

This updates the bowling tests for #303.  The tests were re-ordered or added so that the tests follow the x-common reference test.  The additional unique tests were left in the file.

For the bowling test update, I followed the recommendations, but it appears that the word-count changes for issue #309 were also included here when I submitted the changes, from a branch this time, for the bowling test. Sorry about this duplication.

Awesome! Thanks so much for the work.
Just one tiny detail. All specs (it blocks) should be disabled (as xit) but the first one. Could you update the test file, please?
Then, it would be awesome if you squash all commits into a single one :wink:

Done.  I am really mastering the squash and rebase activities:grin:.

authors: ldwoolley rchavarria

repo: exercism/xjavascript


text:
Test alternate browser support (Edge / Firefox) + Improve display of lockout page

We install a small lockout script on our client pages to determine if the user is accessing via a "modern" browser.  Currently this is looking for the presence of Promise as well as (interestingly) Promise.finally. If that's not found, we provide a minimal message telling them to switch to Chrome.
(UPDATE:  We have addressed part of this ticket to test Proxy instead of Promise. This is more accurate. But  0ther parts of ticket still relevant (lwexler 11/2018))

I don't have an immediate sense of which browsers this does / does not allow. This is a question I would like to be able to answer pretty easily. In particular, do we allow Edge / Firefox?

This could be added as a comment to this lockout file. It doesn't need to be super-specific, but some guidelines for the casual reader would be welcome. (Comment could also address check for finally).

For the browsers (other than current Chrome) we do allow, I don't believe we've done any real testing. We should do some kind of baseline check here to verify that things are working. We could use a service such as Browserstack if that's helpful, or ensure we have access to suitable Windows machines as needed.
We deliberately wanted a simple inline check here, and I think that's still appropriate. If we run into issues, however, where we have browsers that are passing this check but not working for other reasons, we might want to consider a library like canIuse.
I would like to make the styling on the lockout screen slightly nicer.

When this script was written on May 10 2018, it was tested on:
Firefox, Safari, Chrome on OS X
Edge, IE11, Chrome, Firefox on windows 10.
IE 11, Chrome on windows 7.
Our Hoist-react apps were also tested at the time and shown to work (landing page loaded and 1 or 2 clicks in) on all of the above mentioned browsers except IE 11 and Edge.
hoist-react code was found to fail on IE 11 and Edge.  It still does.
IE 11 does not support 'promise'.
Edge does support 'promise', but does not support 'promise.finally', hence the two step check.
the 'finally' test is written using bracket notation, because IE 11 can sometimes be used in IE 7 compatibility mode.  IE 7 did not support checking for the presence of object properties that do not exist with dot notation.
Here is browser support for promises.finally documented by caniuse
A brief comment could be:
// Feature detection to lockout any browser that does not support:
// 'promise' (IE 11, Blackberry Browser, IE Mobile)
// 'promise.finally' (Edge)
// (browser list dated Nov 5 2018)
// See https://caniuse.com/#feat=promise-finally for latest support tables
For more thorough baseline testing, I do think Browserstack is a good idea.  It will me more cost and time efficient.

Work on this ticket: https://github.com/exhi/hoist-react/issues/781  reveals that our current babel config in hoist-dev-utils  gives promise.finally support to the Edge browser.
Our lockout script is still correct to lockout Edge, because Edge fails on our Toolbox Grids page, (don't know why yet).
Our test for Promise.finally support in our lockout script is no longer the appropriate test, even though it is still effective because it does lockout Edge.

More work on this ticket: #781 has resulted in an update to the lockout script.  It now allows Edge through.  It now has a comment.
@amcclain What display improvements did you have in mind?  Some more color?  Font variation?

Catching up here. I think we're good for now, thank you!
I had tweaked the lockout page slightly, but all the updates above (notably allowing in Edge) are really what matter.

authors: amcclain cnrudd

repo: exhi/hoist-react


text:
Fixes DockManagerOnLoad throws Sequence contains no matching element

It fixes the bug as described in DockManagerOnLoad throws Sequence contains no matching element.

merged with 17.1.3.5

authors: apobekiaris idaviddesmet

repo: expand/eXpand

license: MS-PL


text:
Document how to set OPENAI_BASE_URL to localhost for use with Ollama?

Is this possible? It seems like the base_url needs to be settable (e.g. use be able to use Azure) but I can't work out how.
Alternatively, is it just possible to create an openai client object manually and set edsl to use that?

@johnjosephhorton I will handle this and also I think I will extend it to be compatible with VLLM too.

awesome - thanks @zer0dss - great idea. LMK if you need, say, Google Collab or Lambda labs credits to get a GPU capable of running these 'locally' - I tried running Ollama on my laptop and it borked my GPU :(

@johnjosephhorton @benwhalley I've added Ollama integration. Until we merge it in the main version @benwhalley  you can use it by installing edsl from this branch https://github.com/expectedparrot/edsl/tree/add_aws_bedrock. Also an example is available in this notebook edsl_with_offline_inference_services.ipynb

authors: benwhalley johnjosephhorton zer0dss

repo: expectedparrot/edsl


text:
Sampling under nonlinear equality constraints

If I have not overlooked something we currently do not have a sampler for nonlinear equality constraints. As @simonsung06 pointed out in #307, the OptimalityCriterionEnum.SPACE_FILLING objective only depends on the domain, so I had the idea that we could possibly use this objective to add a sampler supporting a wide range of constraints, including nonlinear equality constraints (and batch constraints as soon as they are supported in doe). Warning: only naive ideas and handwaving arguments are following.
The general idea is to call find_local_max_ipopt with space filling objective on the domain in the _ask method. This will create a number of points which are "uniformly" distributed over the feasible set, while all constraints that find_local_max_ipopt can handle are supported. These points are treated as candidates for the sampling. From these candidates we draw a certain percentage to be returned by _ask. Intuitively, the returned candidates should represent a somewhat uniform distribution on the feasible set. The last step is intended to avoid sampling preferably in the boundary region of the feasible set: since the space filling objective will always lead to at least some points lying at the boundary of the feasible set, returning all candidates would destroy the "uniformity" of the distribution. Instead, we create a carpet of candidates populating the feasible set and then randomly pick some of them.
For domains of high input dimension this will certainly not be a good solution to create samples in reasonable time, but in lower dimensional settings it could be an option. In the small example below we sample 50 points from a spherical surface, I hope this illustrates a little bit what the general idea is. Yellow points are the "carpet of candidates", the black points are a random sample drawn from the candidate set.
@jduerholt (or anyone else interested) What do you think about the idea, does it make any sense to you? Can we even make use of such a sampling method? If you think this could be a good idea feel free to assign this issue to me, then I will take care of it somewhen these days.
domain = Domain(
    inputs=[
        ContinuousInput(key="x1", bounds = (-1,1)),
        ContinuousInput(key="x2", bounds = (-1,1)),
        ContinuousInput(key="x3", bounds = (-1,1))],
    outputs=[ContinuousOutput(key="y")],
    constraints=[NonlinearEqualityConstraint(expression="x1**2 + x2**2 + x3**2 - 1", features=["x1","x2","x3"])],
)

result = find_local_max_ipopt(domain, "linear", objective=OptimalityCriterionEnum.SPACE_FILLING, n_experiments=100, ipopt_options={"maxiter": 100, "disp":3, "linear_solver":"ma57", "hsllib":"libcoinhsl.dylib", "timing_statistics":"yes"})
result.round(3)

def plot_results_3d(result, surface_func):
    u, v = np.mgrid[0 : 2 * np.pi : 100j, 0 : np.pi : 80j]
    X = np.cos(u) * np.sin(v)
    Y = np.sin(u) * np.sin(v)
    Z = surface_func(X, Y)

    fig = plt.figure(figsize=(8, 8))
    ax = fig.add_subplot(111, projection="3d")
    ax.plot_surface(X, Y, Z, alpha=0.1, color="blue")
    ax.plot_surface(X, Y, -Z, alpha=0.1, color="blue")
    ax.scatter(
        xs=result["x1"],
        ys=result["x2"],
        zs=result["x3"],
        marker="o",
        s=40,
        color="orange",
    )
    ax.set(xlabel="x1", ylabel="x2", zlabel="x3")
    ax.xaxis.set_major_formatter(FormatStrFormatter('%.2f'))
    ax.yaxis.set_major_formatter(FormatStrFormatter('%.2f'))

    return ax

ax = plot_results_3d(result, surface_func=lambda x1, x2: np.sqrt(1 - (x1**2 + x2**2)))

sample = result[np.random.rand(len(result)) < 0.5]
ax.scatter(
    xs=sample["x1"],
    ys=sample["x2"],
    zs=sample["x3"],
    marker="o",
    s=40,
    color="black",
)

Total number of variables............................:      300
                     variables with only lower bounds:        0
                variables with lower and upper bounds:      300
                     variables with only upper bounds:        0
Total number of equality constraints.................:      100
Total number of inequality constraints...............:        0
        inequality constraints with only lower bounds:        0
   inequality constraints with lower and upper bounds:        0
        inequality constraints with only upper bounds:        0

Number of Iterations....: 100

                                   (scaled)                 (unscaled)
Objective...............:  -3.5717406289388549e+01   -3.5717406289388549e+01
Dual infeasibility......:   1.8847170877068415e+00    1.8847170877068415e+00
Constraint violation....:   1.0327337682802806e-06    1.0327337682802806e-06
Variable bound violation:   0.0000000000000000e+00    0.0000000000000000e+00
Complementarity.........:   1.0018139600569745e-11    1.0018139600569745e-11
Overall NLP error.......:   1.8847170877068415e+00    1.8847170877068415e+00

Number of objective function evaluations             = 242
Number of objective gradient evaluations             = 101
Number of equality constraint evaluations            = 242
Number of inequality constraint evaluations          = 0
Number of equality constraint Jacobian evaluations   = 101
Number of inequality constraint Jacobian evaluations = 0
Number of Lagrangian Hessian evaluations             = 0
Total seconds in IPOPT (w/o function evaluations)    =      0.206
Total seconds in NLP function evaluations            =      0.432

Hi @Osburg,
I am not 100% sure, that I understood it, so I try to give it with my words:
So you want to come up with a new strategy in BoFire which could be called for example UniversalSampler. This new sampler uses then find_local_max_ipopt and the space filling criterion to come up with new samples. Correct?
This would then also resolve the point from @simonsung06 that the space filling criterion would be somehow incompliant with the DoEStrategy. Correct?
The new Strategy would then somehow look like this:
class UniversalSampler(Sampler):
    type: Literal['UniversalSampler'] = 'UniversalSampler'
    base_samples: int
    ipopt_options: Dict[str, str]

If I understand this correct, then I like the idea!
Best,
Johannes

Hi Johannes :),
yes, this is exactly what I was talking about. Towards @simonsung06's point in #307 : I think this one would remain since his argument why DoEStrategy should have an optional argument for the optimality criterion ist still valid, right?
Cheers
Aaron

Hi Aaron,
I agree that the DoEStrategy would still have an optional argument for the optimality criterion, but we would not allow for space filling criterion there. Makes sense?
Best,
Johannes

Ah, yes it does! Then let's do it like this. You can assign this issue to me if you like.

authors: Osburg jduerholt

repo: experimental-design/bofire


text:
Add "browse" tab to browse existing proofs (low priority)

It'd be nice to be able to browse existing loaded proofs, using the same proof displays available for the final proof along with its description:

Proofs in the database can often provide examples/hints showing how to do something
A description of a proof can provide hints in how to use it that'd be nice to see.
The proof displayer can show inessential steps, which is really nice, especially when trying to explain how Metamath works.

It'd be nice to have a "browse" tab that lets you select a statement, then show the proof (with and without inessential (syntax) steps). It'd also be nice for the "Search" dialogue to let you select a statement and then press a new button "Browse" that switches to the Browse tab to show the selected statement.
The "Browse" tab might remember which statements it's shown, with "<" and ">" buttons to show "previously browsed" and "next browsed".
Low priority, but you've done the hard work to implement this, it'd be awesome to do the rest. This could be especially useful when working disconnected.

This is almost ready. Please check it here https://expln.github.io/lamp/dev/index.html
The tab is named "Explorer". It has basic filters. The "pattern" filter works the same way as in the search. There is no "apply filter" button, you have to press Enter in one of the text fields of the filter. The list of assertions contains basic info. Clicking on > sign to the left of a label opens the description for this assertion. Clicking a label opens this assertion in a new tab.
Currently disjoint variables are not shown. I will add it soon.
Also I am planning to add links to metamath.org proof explorer, but a bit later.

That is really cool! I like it!
One thing this does not do is show the proof steps. It'd be awesome if it could show the proof steps of a theorem (e.g. call the current code to show the steps, with or without non-essential steps).

So I propose leaving this issue open, since Explorer doesn't show the specific proofs. But explorer looks great, I look forward to the next release!

One thing this does not do is show the proof steps.

Not sure what you mean by proof steps. If you click on an assertion label it will open proof steps in a new tab.

Ooooh!! That is awesome! Yes, that does provide the functions I was hoping for, and even more. The ability to alt-click on ranges of statements (such as hypotheses and conclusions), and the ability to click on a step & expand that to yet another tab, is simply outstanding. WOW!!
A few notes:

This awesome capability is hidden, I certainly didn't notice it. Is there a way to make it more obvious that "clicking* on the statement name expands it? At the least, maybe include the number and word Theorem/Axiom as part of the clickable range. E.g., "43 Theorem mpdd" would be clickable, not just "mpdd". That would increase the likelihood that a user would notice it.
Once the user creates many tabs, it scrolls off to the right in an awkward way. Can the tab bar be modified so that if it's "too wide" the excess gets pushed into a "..." list, to prevent the excess scrolling? That would probably be especially awkward on a smartphone, which is a key use case for me.
I suggest making the dynamic tabs even more clearly distinguished from the fixed ones. Maybe italicize them in the tab bar? Imagine having a theorem called "EDITOR" :-).

In the longer term it'd be awesome if the proof display could support an option flag "Show only essential steps [Yes/no, default Yes]". Being able to show inessential steps would make it easier to explain "how Metamath works".

Actually, for axioms, it'd be better to show the type proof (and link to it from the explorer). Thar would also be consistent with the metamath web site.

JFYI
There is a known bug in dev:
load set.mm, find r19.12 in the explorer, open r19.12 to see its proof - error in the console:
DOMException: Failed to execute 'querySelectorAll' on 'Document': '#tbl-r19.12 .step' is not a valid selector.

@expln - thanks for the heads-up! In the lamp-guide I do mention the explorer capabilities in development, but I did my best to make clear it's a future capability, not one in the released program. It should be obvious to them if they click on the development version, and if they use a development version they should expect that some problems may occur.

Yes, I saw you mentioned this. Thank you very much!
I mentioned here this bug just for you and everyone who may read it to know it exists and I already know it. So no need to report this bug, if anyone wanted to report :)

At the least, maybe include the number and word Theorem/Axiom as part of the clickable range.

That's a good and simple for implementation idea, I will do it.
I will check what I can do with tabs.

Actually, for axioms, it'd be better to show the type proof (and link to it from the explorer). Thar would also be consistent with the metamath web site.

That should not be difficult to implement. I will do it. Thanks for the idea.

Almost everything what was discussed is implemented:

The number and word Theorem/Axiom are included as part of the clickable range.
It is possible to show a type proof for axioms. It is not shown by default, because it takes some time to generate. But if you click "Show syntax breakdown" button, a type proof will be shown.
Tabs were made wider, so now it is easier to click them. But the problem with tabs overflowing to the right is not resolved. It requires some "expert" level of UI development skills, which I don't have.

It requires some "expert" level of UI development skills, which I don't have.

I've made a lot of comments, & no doubt will sent you many more. but overall I think you're doing marvelously.

Thank you :)

authors: david-a-wheeler expln

repo: expln/metamath-lamp


text:
Some llm.generate prompts should be List[str] instead of List[ChatPromptTemplate]

Hey, I noticed that langchain.llms.OpenAI.generate() and langchain.llms.Bedrock.generate() are supposed to take prompt: List[str] instead of List[ChatPromptTemplate] that is currently being passed.
Although the OpenAI class doesn't seem to error with the wrong input type, the Bedrock class does. It errors at langchain.llms.bedrock._human_assistant_format().
Similarly, langchain.chat_models.BedrockChat.generate() messages argument should take type List[List[BaseMessage]] instead of ChatPromptTemplate.  This causes an error in langchain.chat_models.anthropic. _convert_one_message_to_text.
Thanks again!

Actually, this might be me just forgetting to wrap the LLM in LangchainLLM 😅

yeah that is mostly the reason although we are trying to to figure out how to avoid that gotcha 😅
if you have any suggestion please do let us know - about how we can make it much more easier for users to use this the correct way.
On option I had in mind was to dynamically check which LLM class is it and if its langchain and not wrapped, just wrap it ourselves. should avoid the gotchas here

authors: austinmw jjmachan

repo: explodinggradients/ragas


text:
feat: add navigation visualizer to the react-navigation plugin

Why
The goal is to help developers debug their navigation state with an easy to understand representation.
How
I added a new tab in the react-navigation tool, based on what was already done in the two other tabs. The navigation state is retrieved from the plugin's store, recursively browsed to represent each stack, screen, and tab.
I temporarily renamed the package to be able to deploy it on our side.
What
The window goes as follows, showing two consecutive navigation states:

Identified next steps

The UI could be improved depending on what is identified as a need by other developers
A capture tool could be added to record the evolution of the navigation stack through a whole user journey in the app

that's amazing!
the pr has some changes to move the package to @bam.tech/react-navigation-visualizer-dev-plugin. would you like to take over the react navigation plugin from Theodo? i think we are open and welcome for people to maintain plugins.

Hey Kudo, thanks !
The idea was not initially to override the expo dev plugins react-navigation package, I just changed it temporarily in order to publish it while waiting to be merged here
But we sure can maintain the react-navigation plugin from bam.tech, if that is okay for you of course

authors: Kudo thomasrebam

repo: expo/dev-plugins


text:
[ios build] Could not find 'bundler' (2.1.4)

Just tried out the eas build for ios and getting the following error :

Fri, 18 Dec 2020 16:40:06 GMT
[stderr] /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'bundler' (2.1.4) required by your /usr/local/turtle-v2/src/services/worker/workingdir/build/ios/Gemfile.lock. (Gem::MissingSpecVersionError)
Fri, 18 Dec 2020 16:40:06 GMT
[stderr] To update to the latest version installed on your system, run `bundle update --bundler`.
Fri, 18 Dec 2020 16:40:06 GMT
[stderr] To install the missing version, run `gem install bundler:2.1.4`
Fri, 18 Dec 2020 16:40:06 GMT
[stderr] Checked in 'GEM_PATH=/Users/expo/.gem/ruby/2.6.0:/Library/Ruby/Gems/2.6.0:/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0', execute `gem env` for more information
Fri, 18 Dec 2020 16:40:06 GMT
[stderr] 	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1449:in `block in activate_dependencies'
Fri, 18 Dec 2020 16:40:06 GMT
[stderr] 	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1438:in `each'
Fri, 18 Dec 2020 16:40:06 GMT
[stderr] 	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1438:in `activate_dependencies'
Fri, 18 Dec 2020 16:40:06 GMT
[stderr] 	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1420:in `activate'
Fri, 18 Dec 2020 16:40:06 GMT
[stderr] 	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:304:in `block in activate_bin_path'
Fri, 18 Dec 2020 16:40:06 GMT
[stderr] 	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:303:in `synchronize'
Fri, 18 Dec 2020 16:40:06 GMT
[stderr] 	from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:303:in `activate_bin_path'
Fri, 18 Dec 2020 16:40:06 GMT
[stderr] 	from /usr/local/bin/fastlane:23:in `<main>'
Fri, 18 Dec 2020 16:40:06 GMT
Destroying keychain - /var/folders/97/73j93h690g9gdn54bh_zskm40000gn/T/turtle-v2-3fb707aa-f557-4140-9ada-46121386e3fb.keychain
Fri, 18 Dec 2020 16:40:10 GMT
Removing provisioning profile
Fri, 18 Dec 2020 16:40:10 GMT
Xcode build logs not found
Fri, 18 Dec 2020 16:40:10 GMT
Build failed: fastlane exited with non-zero code: 1

for anyone facing this issue in the future remove fastlane Gemfile and  Gemfile.lock from your ios directory

repo: expo/eas-cli


text:
Can't see favicon when using Microsoft Edge

I copy the example code in the README, it works well in Chrome and IE, but fail to show favicon in Edge

Searching for your issue on the web seems to indicate Edge does not show the favicon for sites loaded from localhost. Are you trying the example from localhost or from your remote server?

@dougwilson Thanks, this is exactly why Edge does not show the favicon

authors: bennyyip dougwilson

repo: expressjs/serve-favicon


text:
Implemented Neural Network from Scratch in Ruby and add README

Closes #13

Created a Ruby script for simulating a single-layer neural network.
Included components of a neuron: inputs, weights, and bias.
Documented the workings of a neuron step-by-step.
Added detailed README for the Ruby project with installation, running instructions, and expected output.
Ensured clarity for users new to neural networks.

@Kaos599 your PR, covers the first file. Hence, It is contribution to issue 13 but it does not closes it. It will remain open. BTW, thanks for the contribution. Happy coding!

@Kaos599 your PR, covers the first file. Hence, It is contribution to issue 13 but it does not closes it. It will remain open. BTW, thanks for the contribution. Happy coding!

what should be done for complete closure?

repo: extinctsion/neuralNetworkScratch


text:
ash: extism: not found on alpine linux

Working with a Discord user and it seems the install script is not working on alpine linux. They are on alpine x86, but i confirmed it doesn't seem to work on aarch64 either.
It downloads the extism binary and puts it in /usr/local/bin but it's not executable. Perhaps it's pulling down a binary for the libc linux platform?

Same here...

Please share the output of ls -la /usr/local/bin and echo $PATH .

authors: G4Vi LeonardoRochaInacio bhelx

repo: extism/cli


text:
🛑 Bilge is down

In 22e151f, Bilge (https://bilge.world) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bilge is back up in 05af676.

repo: extratone/up


text:
Sprinkler は絶対時間指定でパターンを実行できる

パターン実行開始時を0とした絶対時間指定
追加要素：

テンポ＋小節番号で指定できるとなおよい
依存パターン実行ができると楽かもしれない (直前のパターンが終わったら自動的に実行される)

アニメーションのポイント

演出は曲の雰囲気の切り替えポイント以外では大きく切り替えない (逆に言えばAメロ/Bメロ/サビのような区切りで大きく切り替える)
-- 次の動きがある程度予測できる方が脳の負担が少ない (曲自体がそういう構造。8小節くらいが塊になってる)
-- 木の光を小節ごとに一本ずつ増やしていくとかはあり。

依存パターン実行ができると楽かもしれない (直前のパターンが終わったら自動的に実行される)
上記はあると便利かもしれないが必須ではないのでとりあえずスルー。

GUI にシークバーをつけるのもありだったが、演出を考える上では開始時刻を設定できれば十分なので、とりあえずスルー。

repo: extsui/GardeningBoard


text:
I have a show stopper from using this :( please kindly help, project attached. Not working correctly with TabView

Hi, I've been looking forward to using this in a project for sometime until I faced an issue when embedding a nice TabView component.
The problem:
The TabView contains 3 views. Each view has a different number of rows so obvoiusly different content height for each view.  The Tabview is not displaying the full content because it needs each view to be wrapped with a ScrollView of its own which will clash with the Card scrollView upon scrolling :(.
I thought as an alternative, I would try to calculate the height dynamically of each view to set the height of the TabView whenever the user switches the index but I am unable to get it right. and also if I do that it messes with the slide transition.
I am not sure what the best solution is I hope there is a way or somehow when we scroll the scrollview of each view to also scroll the card ! I am out of attempts at this stage. hoping someone could help with  a solution.
I've attached the sample project just navigate to the Banking Screen you'll see the code there and a few extra things.
ScalingHeaderScrollView.zip

Hi @f3dm76 sure will get back to you as soon as I can. Thank you.

Hey @f3dm76 I have attached a working project with the tabviews scrolling the content correctly. I am hoping as the user scrolls the content within any of the Tab views, the card folds and the topbar will be always just below the card as it scrolls and folds.
ScalingHeaderScrollView.zip
couple of things to note please:-
1- There is now a new file BankingScreenStatic.swift which has the simple logic for a working Tabview with content.
2- I am hoping as I have done to use navigationBarItems or .Toolbar for the buttons at the tob and control the top padding of the card.
3-  Please be aware of this line in case it causes any issues as you try to scroll the topBar but hopefully it should be ok
configuration.displayMode = .atTopOfScreen(topPadding: -20)
Thank you so much for assistance I am really hoping for this to work.

@f3dm76 that's right that's what I thought initially and this is what did or tried to do anyway:-
1- If you simpley remove the ScrollView from each of the littile subviews (in the views folder) that way we could only rely on the ScalingHeaderView scroller.
2- I tried to get the TabView to behave like an AutosizingList and workout its own height for each of the subviews but this is where I couldn't work out.
If you don't know what I mean I've try to prepare another example but, I couldn't get the TabView working with ScalingHeaderView, the TabView needs to know its own height for each view dynamically based on its content so ScalingHeaderView Scroller can scroll correctly the full content and this is what I am having an issue with. I hope you understand what I mean.

Hi @f3dm76 , I've worked out a very ugly dodgy hack which I am not happy with but I hope this might get you to help see if there is a better solution.
The TabView contains 3 views each has 100 rows, 50 rows and 10 rows respectively.  the row height is hardcoded and is about 41.0 so I set the height of the TabView dynamically based on the row height * the number of rows.
but I lose the TabView animation slide transition this way and I really don't want that, there must be a better way.  or a way to bring the transition back at least I hope so. In this version the TabView worksout the height dynamically using BankingScreen.Swift and changes are in contentView method.
ScalingHeaderScrollView.zip

Thanks again.

Hey again @waelsaad, I'm afraid there is no good solution while using TabView - it has limitations of its own. Attached is the best I could do, but I'd say it's not good enough, I'm just attaching it in hopes it might give you some hints... I'm guessing you just need the ability to swipe left-right, why don't you just add these gestures manually, without the TabView?
ScalingHeaderScrollView 3.zip

Hi @f3dm76 thank you for the attempt and assitance, I also reliazed that TabView is not the best for this. However I truned my workaround into a proper solution and I can now detect the content height dynamically and scroll the content along with the card as intended.
I found out that whether you use a TabView or a custom PageViewer for page view swipes you still need to set the height dynamically for the component that is hosting the views, whether its a TabView or something else, so it seems my workaround above is sutiable to my knowledge so far.
I am just trying to find a way to get the slide transition working if I find a compatible custom PageViewer or implement one myself with custom gestures as you suggested but that's a bonus for me right now, the main issue was working out the content height for each view and scroll correctly at the same time.
Thanks again, really appreciate you looking into this.

repo: exyte/ScalingHeaderScrollView


text:
🛑 AUR Repo is down

In c5881cf, AUR Repo (https://aur.eyenx.ch/x86_64/eyenx.db.tar.gz) was down:

HTTP code: 404
Response time: 573 ms

Resolved: AUR Repo is back up in cc56271.

repo: eyenx/upptime


text:
Closed #1 - Mavenize the project

Hello @fabiojo7777777
It was easier than I thought
Few changes were needed to solve the problem.

Update pom.xml
Remove the lib directory
In Eclipse remove entries in .classpath

Hi @fabiotavarespr
Grateful by your contribution. It was exactly what I needed. It works as expected.


text:
config: let registry.consul.register.addr default to ui.addr

Always set registry.consul.register.addr to the value of ui.addr if the
flag hasn't been specified.
Fixes #657.

LGTM!

authors: leprechau pschultz

repo: fabiolb/fabio


text:
Which browser versions are supported?

The current version specifies that IE11 and upwards is supported, but what about Chrome, Firefox etc? What about mobile browsers?

"IE X+" usually means "all the modern browsers plus IE from version X onwards".
Roughly all browsers with support for the classList API (https://caniuse.com/#feat=classlist) should be supported.
We are not testing all browser versions against all OS versions though, here  the tested browsers are listed: https://github.com/fabiospampinato/cash/blob/b5cdf0461c693a47031d098ca35a13548218db93/karma.conf.js#L8-L82

Ok. Thank you for the clarification.

authors: fabiospampinato holgersindbaek

repo: fabiospampinato/cash


text:
List all TrackerQueries for a space

https://openshift.io/openshiftio/Openshift_io/plan/detail/1108

[test]


text:
bump version of kubernetes client...

to profit of more robust certificate parsing (e.g. https://github.com/fabric8io/kubernetes-client/pull/1021)

I think we should wait for 3.1.11 and will move to that. It has some changes which should be included/required in FMP

Issues should be resolved are #1236 #1221 #1159

issues on client https://github.com/fabric8io/kubernetes-client/issues/1013

Hm, If this change is not urgently required.. let's wait till we release kubernetes-client 3.1.11. When are we planning for our k8-client's next release?

We can upgrade the client in FMP NOW but I think the next release of FMP will be after this. As this issue will get fixed we can do a release in 2-3 weeks of client I think.

@rohanKanojia We need this change pretty soon because we are encountering some certificate problems  which will be solved by  fabric8io/kubernetes-client#1021.The sooner the release comes, the better.

We can bump the client version to latest but the release of FMP is not scheduled right now for the time being.

As #1294 is raised, I am closing this

authors: nbyl piyush1594 rohanKanojia


text:
fix(cache): implement cache control from OSIO marketing page

implement the cache controls from the OSIO marketing page

There were the following issues with your Pull Request

Commit: 748c1a1ffc784ac62fa0cf541ca71e1ca78fbb45
Your subject line is longer than 50 characters

Guidelines are available at https://github.com/fabric8io/fabric8-ui

This message was auto-generated by https://gitcop.com

@mindreeper2420 snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-1373-fabric8-ui.int.rdu2c.fabric8.io


text:
fix validation errors in the itests

fix validation errors in the itests

[merge]


text:
Hello there, can not seem to get this working

Hello there. I wanted to post this here in hopes that you might see it, as it looks like you have not posted on Flarum forums since November. Here is what I had said.
"Hey there, I am unable to get this to work unfortunately. When I sign up, it creates the user in WP, when I login it takes me to the WP user page. If I go to my forum and login, it takes me to the WP page, I login, it then finally takes me back to the forum but I am not logged in, it just has the sign up or login button again and continues to do so. If I go to WP it shows me as logged in there it just is not transferring over to Flarum for some reason.
I, of course, have the api_key and what not in the db and did everything that was shown in the instructions.
I have these in the access log, but nothing I am seeing wrong in the error log
[12/Feb/2018:22:33:45 +0000] "GET /wp-login.php?redirect_to=forum HTTP/1.1" 200 1600 "https://changed_for_security/forum/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0"
[12/Feb/2018:22:33:48 +0000] "POST /forum/api/token HTTP/1.1" 401 3399 "-" "-"
[12/Feb/2018:22:33:48 +0000] "POST /forum/api/users HTTP/1.1" 422 3500 "-" "-"
[12/Feb/2018:22:33:48 +0000] "POST /forum/api/token HTTP/1.1" 401 3399 "-" "-"
Also, nothing related in the actual Flarum logs, it just simply isn't doing anything it seems.
My WP is in domain.com and forum is domain.com/forum if that makes any sort of difference. Everything else is working fine for both, just not logging in to the forum now.
I am assuming the random key I made up and put into the api_key in the db then goes into the config, and then I just type a random key into password token? I figured I would try it with nothing written in the api_key or password key fields and it acts the exact same was as when I do have the key in there and there are no errors or anything still."

Sorry I can't reproduce your error. Let me know if you figured out how to fix it.

I gave up on the whole forum a long time ago. Thanks though.

authors: MostHated fabwu

repo: fabwu/flarum-ext-sso


text:
[Enhancement] Custom front-matter separators

Is this a bug report?
This is an enhancement/feature request.

Have you read the Contributing Guidelines on issues?
Yes
Environment
OSX, node 8, npm 5
Steps to Reproduce

Write docs with custom front-matter separators<!-- front-matter
id: api
title: API
-->

Add the custom separator tag to siteConfig.js

Expected Behavior

Docusaurus should parse the custom front-matter separators.
Actual Behavior

Docusaurus doesn't parse custom separators.
Reproducible Demo
I've created a separate "parsing phase" (at https://github.com/gulpjs/docs/blob/master/gulpfile.js#L40-L54) using gray-matter to convert from our custom front-matter separators to the ones Docusaurus expects but it seems that logic would fit well into the core.

@phated What's the rationale behind having different separators from the norm? Front matter is usually separated using --- in YAML and +++ in TOML. Your use case seems quite rare.

@yangshun GitHub actually renders the front-matter as a table - I've attached a screenshot.  This both looks bad and can be confusing for people (especially non-developers) that don't know what it is for.

The gulp docs live in the main repo as markdown and are going to be copied to the docs website.  Many people use the markdown files as their reference material because it has been historically the only location for docs.  We use the html comment syntax so the GitHub parser drops the front-matter in the rendered output.

Thanks for the explanation @phated. I think the fact that GitHub renders the front matter as a table gives even more reason not to deviate from the standard front matter syntax. I do agree that the table is confusing, but that should be fixed on GitHub's side. I filed an issue at https://github.com/isaacs/github/issues/1229 and hopefully someone from GitHub sees it.
Since this use case is very rare, we would not support it. In future, we would want to have docusaurus plugins and it seems that custom front matter separators would fit well as a plugin.

That's disappointing 😞 I'm 99.9% sure github engineers ignore that repo.

Some of us internally have access to GitHub's Maintainers feedback where there are repos to provide feedback and suggestions on how to improve GitHub, its tooling, etc. Those repos are more active, probably.
@yangshun and I can discuss whether to add this feature request / fix there. I do a think a plugin infrastructure can solve this without a fix on their end. But it would be nice to have both.

authors: JoelMarcey phated yangshun

repo: facebook/Docusaurus


text:
cpe_nightly_reboot

Third time's a charm.

Redoing this.

repo: facebook/IT-CPE