Turn FluView into an indicator

We "should" be able to turn the data we have for FluView into a collection of covidcast-style signals.
FluView is our only API endpoint besides covidcast that appears to currently receive an appreciable number of requests.  The current situation with it being its own endpoint works well (and i am not suggesting it should go away in the near future), but would be nice to be able to include FluView information in the covidcast endpoint alongside our other signals.  That way, this data can share various benefits enjoyed by our active covidcast signals like: being easily comparable to other signals, easy(er?) incorporation into our covidcast dashboards, inclusion in the signal discovery app, etc.
I have not explored this dataset recently and there may be hurdles to overcome in making this a reality...  We should determine feasibility and make it happen, if so!  It can also give us an opportunity to incorporate our first signal with intrinsic demographic breakdowns.
FluView endpoint documentation: https://cmu-delphi.github.io/delphi-epidata/api/fluview.html
FluView endpoint implementation: https://github.com/cmu-delphi/delphi-epidata/blob/dev/src/server/endpoints/fluview.py

Might be nice to have demographic support (https://github.com/cmu-delphi/covidcast-indicators/issues/347) in DB before doing this, but doesn't necessarily block.

Also see https://github.com/cmu-delphi/covidcast-indicators/issues/180


Unable to find vcvarsall.bat and http.client.IncompleteRead: IncompleteRead

I run metagpt in my local computer, and there are many such errors :
"distutils.errors.DistutilsPlatformError: Unable to find vcvarsall.bat"
"http.client.IncompleteRead: IncompleteRead(1048331 bytes read,85347 more expected)"
is there any way to fix these errors?

Is it reproducible, could you provide more details, such as what's your command or executed code.

I used this command:
metagpt "Design a Greedy Snake game with the following rules and features: 1.The game starts with a snake of length 1 and a single food item on the grid.2.The player controls the snake's movement using arrow keys (or swipe gestures in a mobile version).3.The snake moves continuously in the direction it's facing, and the player's goal is to eat as much food as possible to grow longer.4.When the snake consumes a piece of food, its length increases, and a new piece of food appears at a random location on the grid.5.The game ends if the snake collides with the game boundaries or itself 6.Implement a scoring system to keep track of the player's score based on the number of food items eaten.7.Ensure that the game has visually appealing graphics, intuitive controls, and smooth animation.8.Provide options to adjust the game's difficulty level, such as increasing the snake's speed or changing the grid size.8.Include sound effects for actions like eating food or game over.9.Make the game robust by handling edge cases and ensuring it runs smoothly without crashes.10.The player should be able to start a new game or exit the game at any time.Please generate the code and UI elements necessary for this Greedy Snake game, and ensure that it is playable and enjoyable for users." --n-round 15 --code-review --run-tests --max-auto-summarize-code 2

It seems the python tries to invoke a very old version of VC file,but cannot find it.

I ran the command and encountered no errors. Is this an error by the generated pygame code? It appears to be related to a dependency issue involving the Visual C++ compiler tools.
Additionally, does this issue duplicate this

Yes, they are same issue

Yes, they are same issue,
it seems the doc folder contains .json file, not .doc or .pdf file, is it correct?

Yes, you can check the code

If I closed this issue by mistake, please feel free to reopen it.


ui: Update js indent style

Description

This PR fixes # (https://github.com/layer5io/meshery/issues/1029)
Update indentation rules to match with editorconfig (https://github.com/layer5io/meshery/pull/1020)

Notes to reviewers:
Checklist

[x] Signed commits signed.
[x] PR includes [<name of area>]

Hi @tsingh2k15,
You would want to edit rule at line 41 also, as we follow tab indents with spacing 4 in GoLang code IMO.

Hi @tsingh2k15,
You would want to edit rule at line 41 also, as we follow tab indents with spacing 4 in GoLang code IMO.

@kushthedude Thanks for the feedback, I will work on it. Also fyi that I am doing some research on how better to address style aspects in monorepo projects. I will share if I come across something useful.

Hi @tsingh2k15,
You would want to edit rule at line 41 also, as we follow tab indents with spacing 4 in GoLang code IMO.

@kushthedude Thanks for the feedback, I will work on it. Also fyi that I am doing some research on how better to address style aspects in monorepo projects. I will share if I come across something useful.

That would be great, Thanks @tsingh2k15 !

@leecalcote @tsingh2k15
The whole point to change indents was to match golang style code. But as discussed in #1020, both the languages follow the different style guide, hence we went ahead with editorconfig for *.js & *.go.  I think we are good to close this PR then.
We can re-open the PR, if anyone thinks we still need it.
Thanks!


Make Non-Source SG Rule Idempotent

Make SG rule creation idempotent for non-source rules.
OSD-15465

/lgtm

Codecov Report

Merging #146 (684ee61) into main (b136a7c) will decrease coverage by 0.56%.
The diff coverage is 0.00%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #146      +/-   ##
==========================================
- Coverage   43.05%   42.49%   -0.56%
==========================================
  Files          29       29
  Lines        1533     1553      +20
==========================================
  Hits          660      660
- Misses        794      814      +20
  Partials       79       79

Impacted Files
Coverage Δ

controllers/vpcendpoint/helpers.go
37.25% <0.00%> (-1.73%)
:arrow_down:

controllers/vpcendpoint/validation.go
15.53% <0.00%> (ø)


Make overriding VirtualizedScrollpane's layoutChildren() more developer-friendly

Coming from TomasMikula/RichTextFX#205 and relating to #9, provide more access to VirtualizedScrollPane's objects so that layoutChildren can be better overridden.
There's a few ways this could be done:

Complete freedom: make the (currently private) content, hbar, and vbar protected. Then the developer can fully layout the children as they desire.
Restrict to content layout: since a developer will need to rewrite the scroll bar implementation each time he/she extends VirtualizedScrollPane (or more probably, screw up how the scroll bars get laid out), use a protected method to layout the content which developers can override:

protected void layoutChildren() {
    // normal layout code...

    // instead of "content.resize(w, h)" have
    layoutContent(w, h);

   // rest of method's code.
}

protected void layoutContent(double width, double height) {
    content.resize(width, height);
}

As discussed in Pull Request 15, implementing the idea above does not adhere to composition over inheritance (See this article for more info).
So, to change the way that content is laid out, the content should be wrapped in some intermediate class that is then the content within VirtualizedScrollPane. For example...
Virtualized actualContent = // creation code
ScaledVirtualized wrapper = new ScaledVirtualized(actualContent);
VirtualizedScrollPane<ScaledVirtualized> vsPane = new VirtualizedScrollPane(wrapper);

where ScaledVirtualized scales actualContent when user scrolls up/down and the control key is presssed (written in Groovy):
class ScaledVirtualized<V extends Node & Virtualized> extends Region implements Virtualized {
    final V content
    Scale scale = new Scale(1, 1, 0, 0)

    ScaledVirtualized(V content) {
        super()
        this.content = content
        getChildren().add(content)
        getTransforms().add(scale)
        addEventFilter(ScrollEvent.SCROLL, { ScrollEvent event ->
            if (event.controlDown) {
                scale.with {
                    if (event.deltaY > 0) {
                        y *= 0.8
                        x *= 0.8
                    } else {
                        y /= 0.8
                        x /= 0.8
                    }
                }
                layoutChildren()
                event.consume()
            }
        })
    }

    @Override
    protected void layoutChildren() {
        double width = layoutBounds.width
        double height = layoutBounds.height
        content.resize(width / scale.x, height/ scale.y)
    }
    @Override
    Var<Double> estimatedScrollXProperty() {
        content.estimatedScrollXProperty()
    }
    @Override
    Var<Double> estimatedScrollYProperty() {
        content.estimatedScrollYProperty()
    }
    @Override
    Val<Double> totalHeightEstimateProperty() {
        content.totalHeightEstimateProperty()
    }
    @Override
    Val<Double> totalWidthEstimateProperty() {
        content.totalWidthEstimateProperty()
    }
}

After doing the above, I came across a small issue. When one "zooms the area out," so that the content's letters are very small and it fits inside the entire viewport, the scroll bars no longer need to be visible, but still are.

It's clear that I need to override the totalWidth/HeightEstimateProperties somehow. I'm still figuring out how to do it correctly.

Nice, I'm glad that it works!

If you feel like it, you can contribute this ScaledVirtualized to Flowless. Maybe without the zooming by scroll functionality and with public scaleProperty(), so that anyone can control the scaling however they want.

Good point. That would actually be better since others would already have a base from which to extend or to implement other functionality specific to their needs.
I've created a PR for that in Flowless.


Create PR view: hover colour for branch picker too strong

Hover over the branch picker. Notice the strong hover colour.
Do we use this strong of a hover colour in other parts in the VS Code UI?
I suggest to use something more subtle and to align with existing hover colours in VS Code core (if we have any).

fyi @alexr00

The only colour that comes close is --vscode-inputOption-hoverBackground.
It makes the dark theme less contrasty, but the opposite will happen in the light theme:

I think it's a slight improvement. Since this is a composed control (somewhere in between a button and an input) everything will be a tradeoff unless we introduce new colors (but then we have to wait for all themes to update).

Yes. I agree this would be an improvement. Would love to try it out :)


Incorrect encoding

Script must save the MD5 file encoded as Windows (CR LF) UTF-8

.

Fixed in 97e8e3aacb489e148ec0b3128ed8421fea21b517


Removed unused variable that caused a crash on the VIte runtime environment.

Removed unused import, DefaultHeadersin src/services/queue-service.js, it was never defined in src/services/network.js
Removed unused import, fetchPreviewId in src/gist.js, it was defined but not exported from src/utilities/preview-mode.js.

this is causing blocking errors in my Vite env as well

Hello all, just to be sure that workspace configuration isn't part of what causes this error to be thrown, can you add a 👍🏽 here if you've confirmed that your workspace settings show that in-app messages are enabled: https://fly.customer.io/workspaces/last/settings/actions/in_app
Once you have confirmed that, if vite is still crashing, can you share the error message stack trace here for us to see what error you're getting?

I'm getting this error running in vite as well. @jordanhailey I don't have in-app message enabled but this is blowing up before it does anything that's even customer.io related. Below is the specific error I see:
✘ [ERROR] No matching export in "../../node_modules/customerio-gist-web/src/services/network.js" for import "DefaultHeaders"

    ../../node_modules/customerio-gist-web/src/services/queue-service.js:1:30:
      1 │ import { UserNetworkInstance, DefaultHeaders } from './network';
        ╵                               ~~~~~~~~~~~~~~

✘ [ERROR] No matching export in "../../node_modules/customerio-gist-web/src/utilities/preview-mode.js" for import "fetchPreviewId"

    ../../node_modules/customerio-gist-web/src/gist.js:7:23:
      7 │ import { setupPreview, fetchPreviewId } from "./utilities/preview-mode";
        ╵                        ~~~~~~~~~~~~~~

As far as I can see these imports aren't used at all so there should be no problem merging this PR

Ah gotcha, thanks for sharing this. We've nudged the engineers and will hopefully see this merged/resolved soon

FWIW i also have this issue - would love to see this merged and released.

Could this be released, please?

Hi folks — this fix has been incorporated into the cdp-analytics-js repo, https://github.com/customerio/cdp-analytics-js/pkgs/npm/cdp-analytics-browser, please let us know if it resolves your issues. I would like to sincerely apologize for how long it took us to incorporate this fix, and to thank @thedammyking again for submitting the fix in the first place. We'll be making tooling improvements to ensure we don't introduce regressions like this again and to speed up our release process. Again, if you are still experiencing issues after the fix please let us know and we'll work to fix them promptly.


Why is the copyright attributed to "The Kubernetes Authors"

Shouldn't the copyright for code original to ceph-csi be "The Ceph-CSI Authors" and code that's a modified copy-n-pasted could be attributed to both sources.
This looks like a case of copy-n-paste of headers to me. Any thoughts?

PR please :)

@rootfs @phlogistonjohn @Madhu-1
This can be closed now, the reference was lost somehow when merging the PR

@wilmardo Thanks, closing


create addEventListener

[x] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@GreatDeveloper66 You are still failing the Travis build.

The actual file name should be index.md as was first mentioned.  Currently, the file is named addeventlistener.  Also, you are missing three backticks on line one of the file.  Also, please change your title to addEventListener in the frontmatter block.

Thank you.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 🎉


Picarro/LGR data files should contain mf_mean_stdev variable

These are in the original AGAGE files, and should be in the public versions.
Suggest that we include this variable in the combined files, with a NaN where no averaging has been performed.

This is added in PR #36, where a mf_variability variable is added. I don't think this variable will be present unless resampling is performed, so would need to revisit if we want to archive the 1 min data.


Add instructions for running the dev environment in a VM

I was recently working with a member who's computer could not run Docker.  We worked together on figuring out how to use an AWS instance to run his dev environment in.
I've written up the instructions here https://gist.github.com/nellshamrell/5a2843605d8478357175c514d53c3da6
Getting these into the README would be a great first time contribution!

ill try to do this once I get back home nell cc @kirbygit

@nellshamrell May I have this issue? Since I was the member you speak of. This would be a great first time contribution!

this issue is being done on the pull request #272

@dave5801 hey you can go ahead and claim this issue and basically just copy the pr I did. I won't mind

@kirbygit - it's yours!

PR #282 fixes this issue now thanks.


Missing "MP_" prefix

RETURN_IF_ERROR  & ASSIGN_OR_RETURN  should be MP_RETURN_IF_ERROR and MP_ASSIGN_OR_RETURN

@googlebot I signed it!

Thanks for reporting this. Merged into our internal code base, and will be pushed to GitHub in the next release.

Fixed in https://github.com/google/mediapipe/releases/tag/v0.7.7.


"Cannot find a symbol to move" when moving symbol from/to filename with leading digit

Environment data

Language Server version: 2024.3.100

Code Snippet
1.py
CONSTANT = 1

Repro Steps

In a new directory, create 1.py as shown above.
Create empty file 2.py
In 1.py, right-click on CONSTANT > Refactor... > Move symbol to ...
Select 2.py as the destination.

Expected behavior
Either CONSTANT is moved to 2.py or the user is provided with an explanation of why it can't be moved.
Actual behavior

...which obviously doesn't help the user.
The underlying issue is that "1" and "2" are not valid module names. Digits are allowed in identifier names, but not as the first character. See https://docs.python.org/3.11/reference/lexical_analysis.html#identifiers.
For move to succeed, both the source and target filenames must be legal module names. However, I believe that's technically only required if the move results in src->dest or dest->src imports being added. In this simple scenario, CONSTANT = 1 could have been successfully moved because no imports are needed.
I found this extremely confusing and only figured out why the move wasn't allowed by debugging Pylance. So while the simplest fix would probably be to not show the Move Symbol refactorings in this scenario, that would be equally confusing IMO. This is another argument for addressing https://github.com/microsoft/pylance-release/issues/5551 in my mind.

In this simple scenario, CONSTANT = 1 could have been successfully moved because no imports are needed.

problem is this is expensive to figure out. so not something we would do in code action provider since it will require find all references
so, I think practical mitigation might be showing better message? either in message box after execution or in code action menu


[Accessibility] lacking req. minimum color contrast ratio for options in  component

VS Code Version: 1.88.0
OS Version: MacOS Sonoma (v14.6.1)

Issue: We have used VSCode's webview view to create a new pane for our feature. We have used the  component from web-ui-toolkit which does not meet the required minimum color contrast ratio with its foreground and background text. The contents in the dropdown has a very low color contrast ratio of less than 3.00:1, which is not sufficient as per accessibility standards.

Required contrast ratio for this content: 4.50:1

[Recommendation]
Ensure active user interface components have sufficient contrast.

A screenshot would help


Add SamlAttribute tests that have multiple attributes with same value

Once the XmlGenerator is committed, create tests with multiple attribute values of equal value

Done


'alexa-rpi' fatal remote error: Repository not found

AVS script fails installation after trying to clone the sensory repo. Apparently, its Github has expired, so the installation cannot be completed.
Link to the repository: "https://github.com/Sensory/alexa-rpi.git".
Please fix this asap.

I'm facing the same issue.
It seems to have been closed once in the past, but I can't seem to access Github again.
"https://github.com/alexa/avs-device-sdk/issues/1379"

Same problem here

Hello,
We are aware of the issue and working on a solution.
As a temporary workaround you can disable Sensory download commands, and disable it for the build. AVS SDK features will still be available with tap to talk functionality.
Replace -DSENSORY_KEY_WORD_DETECTOR=ON with  -DSENSORY_KEY_WORD_DETECTOR=OFF and comment out build_kwd_engine command in run_os_specifics function.

thank you for your reply.
Was the specific content of the workaround good as follows?
1.pi.sh: L43
run_os_specifics() {
build_port_audio
build_curl
build_kwd_engine <- Comment out
configure_sound
}

2.pi.sh: L24
CMAKE_PLATFORM_SPECIFIC = (-DSENSORY_KEY_WORD_DETECTOR = ON
↓
CMAKE_PLATFORM_SPECIFIC = (-DSENSORY_KEY_WORD_DETECTOR = OFF
change to

As an additional question,
When responding with tap to talk,I want to respond by pressing 26pin of raspberryPi where should I change it?

Hello,
We are aware of the issue and working on a solution.
As a temporary workaround you can disable Sensory download commands, and disable it for the build. AVS SDK features will still be available with tap to talk functionality.
Replace -DSENSORY_KEY_WORD_DETECTOR=ON with -DSENSORY_KEY_WORD_DETECTOR=OFF and comment out build_kwd_engine command in run_os_specifics function.

Thanks this one is working for me, I hope you guys will fix the Sensory error because I want to use it stand alone without the need for a button/tap to talk. For now, it isn't possible for Alexa to listen continuously? Thanks for the help

Hello @t-ohno215
Your change is appropriate.
If you want to wire a hardware button you can look into https://github.com/alexa/avs-device-sdk/blob/master/SampleApp/src/UserInputManager.cpp class as it handles all input events for SampleApp.

Hello @Ddvos
You can patch sources https://github.com/alexa/avs-device-sdk/blob/master/SampleApp/src/UserInputManager.cpp  to constantly enter the device into listening state. This might or might not do what you expect.

Really hope this can fixed soon. Looks like there are no real alternatives to Sensory except KITT.AI (which is not maintained anymore)?

Amazon has now removed the Sensory step from the setup guide :disappointed_relieved:

I am waiting for an update to this problem too.

so from 27th of this month we can basically say goodbye to voice detection (last license published), no other choices?

Hello,
Sensory is no longer required by setup scripts starting from 1.26 release.

@valeri-atamaniouk But alexa-pi can be activated with voice right?

@valeri-atamaniouk But alexa-pi can be activated with voice right?

I would like to know too.

Sensory is no longer required by setup scripts starting from 1.26 release.

What does it mean, "no longer required". It was not required before either, but now this option has been taken away from us.! Same goes for routine commands that dont work anymore either (see #1993).
Looks like Amazon wants to kick out the nerds who are using AVS to build a custom home automation system as we don't generate profit ....


Add nominee: Digital Health Access

Automatic addition of a new nominee submitted through the online form available at https://digitalpublicgoods.net/submission

Digital Health Access (DHA) indicated an open-source software license (AAL) instead of an open content license considering DHA falls under open content as per their submission.
@lacabra I will update the PR once we hear from DHA.

hello
i am Richmond from DHA is there a way I can change that section it's actually supposed to be open content instead of the Open Source please let me hear from you.

hello
i am Richmond from DHA is there a way I can change that section it's actually supposed to be open content instead of the Open Source please let me hear from you.

Hi @rampabeng! You can either make a commit to this same branch or share the license and licenseURL here and I will update it on your behalf.


"AttributeError: 'NoneType' object has no attribute '_meta'" on object detail view when Relationships reference nonexistent data models

Environment

Python version:
Nautobot version: 1.3.8

Steps to Reproduce
(hypothesized at present based on observation of the symptom in the wild on main.demo.nautobot.com - will try to find time to reproduce it locally to confirm this)

Define a Relationship between a core model and a plugin model
Define RelationshipAssociations involving this relationship?
Uninstall the plugin and restart Nautobot
Access the detail view of an instance of the core model involved in this relationship/association

Expected Behavior
Page to load and render successfully

Observed Behavior
Page load fails, with "AttributeError: 'NoneType' object has no attribute '_meta'".
(I'll gather the full stack trace when I get a chance to reproduce this locally.)
Deleting the Relationship(s) in question appears to restore normal operation.
May be reproducible on main.demo.nautobot.com when the database is regenerated, as its data set includes plugin-model relationships on Device, but main.demo (unlike demo.nautobot.com) doesn't actually install any plugins.


Add new cop Rails/ActiveRecordOverride

This cop checks for cases where an Active Record method like save, update, etc is overridden and includes a super statement. Instead, the user should use Active Record callbacks.

There is a limitation in this PR currently, where the cop will not register any offense if the class in question inherits indirectly from ApplicationRecord or ActiveModel::Base.  For example:
class Book < ApplicationRecord
end

class Novel < Book
  # this should be an offense, but it will not be detected
  def update
    this.x = 5
    super
  end
end

It would be much more complicated to evaluate all the parent classes looking for  ApplicationRecord or ActiveModel::Base, so it seems more practical to accept this limitation. I'm open to advice, of course.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

The changes look good (apart from my small remarks), but your branch has to be rebased on top of the current master branch due to merge conflicts.

Updated to address comments, and rebased on latest master.

Thanks!


Waydroid runs perfect on desktop but not under Weston

Hello,
I've followed the guide for Waydroid (on deck). It runs perfectly on desktop mode. But when run under Weston from game-mode, the touch interactions are weird. I think it's treating touches as mouse input. Also there is a mouse cursor shown.
Other than that, the buttons on the Steam Deck doesn't work but they work again under desktop mode.
I'm not very familiar with modern Linux tools so I'm a bit lost. Anyone have any pointers?

Hello, I've followed the guide for Waydroid (on deck). It runs perfectly on desktop mode. But when run under Weston from game-mode, the touch interactions are weird. I think it's treating touches as mouse input. Also there is a mouse cursor shown. Other than that, the buttons on the Steam Deck doesn't work but they work again under desktop mode. I'm not very familiar with modern Linux tools so I'm a bit lost. Anyone have any pointers?

Just as a suggestion until someone official or with more knowledge can comment on this.. did you try to enable native touchscreen via the steam controller remapping... Go to the controller remapping press Steam button> Controller> controller settings (on the bottom of the screen) (i would map it to one of the grip buttons) > find "enable grip buttons" switch it on if it is not> pick whatever button then in the next screen select system with the LB/RB there should be a selectable pre set box that says something like enable native touchscreen or something like that it will map it to that button now back out back to waydroid and press the newly mapped button and test the touchscreen in waydroid.. any difference?

The entire Waydroid experience was recently redone, let me know if you can still reproduce this after this coming update.


feat: Quickfix for partially-specified multi override

Closes #50

Codecov Report

:exclamation: No coverage uploaded for pull request base (development@5c4f2f8). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             development     #230   +/-   ##
==============================================
  Coverage               ?   67.67%
==============================================
  Files                  ?      168
  Lines                  ?     4056
  Branches               ?      710
==============================================
  Hits                   ?     2745
  Misses                 ?     1087
  Partials               ?      224

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


TypeScript and ESM: This expression is not callable. Type ... has no call signatures

Prerequisites

[X] I have written a descriptive issue title
[X] I have searched existing issues to ensure the bug has not already been reported

Fastify version
3.1.3
Plugin version
No response
Node.js version
18
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
12.5
Description
Hi,
I have a TS project in ESM mode (type:module) and getting a not callable error on awsLambdaFastiify.
package.json
{
  "dependencies": {
    "@fastify/aws-lambda": "^3.1.3",
    "fastify": "^4.5.3"
  },
  "devDependencies": {
    "@types/aws-lambda": "^8.10.95",
    "@types/got": "^9.6.12",
    "@types/node": "^17.0.22",
    "ts-node": "^10.9.1",
    "typescript": "^4.6.2"
  },
  "type": "module"
}

tsconfig.json
{
  "compilerOptions": {
    "module": "NodeNext",
    "moduleResolution": "NodeNext",
    "target": "ESNext",
  },
  "ts-node": {
    "esm": true
  }
}

lambda-fastify.ts
import awsLambdaFastify from '@fastify/aws-lambda'
import app from './app.js'

export const handler = awsLambdaFastify(app)

Will throw a  This expression is not callable. error
Changing the import statement like this has no impact
import * as awsLambdaFastify from '@fastify/aws-lambda';

I have noticed that the<EMAIL_ADDRESS>file does not contain the export = awsLambdaFastify at the end which prevents the import to work properly in ESM I suppose (adding it back make it works).
I noticed the same in the releases package source code zip file of previous versions as well.
Steps to Reproduce
On top of elements from the description, here is the app.ts file.
app.ts
import {fastify} from 'fastify'

const app = fastify()
app.get('/', (request, reply) => reply.send({ hello: 'world' }))

export default app

error is highlighted by the IDE it lambda-fastify.ts file as well as running
npx tsc

Expected Behavior
Expect the import awsLambdaFastify to be callable and return a PromiseHandler.
Thank you for the help on this.

We need a release.
@adrai
@mcollina

@Uzlopak because of the TS changes? Which version bump? major, minor, patch?

Yes the TS Changes. I would say minor.

v3.2.0 is released

@YannDanthu
Can you please test if with 3.2.0 your issue is fixed or not?

Problem solved 👏
Thank you very much ! 🥇


Spulapura cross db macro strings

Describe your changes
add tests related to cross db string macros
Testing procedure/screenshots(if appropriate):
Ex:
python -m pytest tests/functional/adapter/test_utils.py -k "TestReplace"

hive-string-macros.pdf


System.NullReferenceException in FASTER.core.GenericAllocator2.AsyncReadPageWithObjectsCallback[TContext]

Version affected: FASTER 2<IP_ADDRESS>.
Not sure how to reproduce.  Once the cache gets into the state that causes this exception, can only recover by deleting the persistent files.
System.NullReferenceException: Object reference not set to an instance of an object.at System.Threading.Overlapped.Free(NativeOverlapped* nativeOverlappedPtr)
  at FASTER.core.GenericAllocator2.AsyncReadPageWithObjectsCallback[TContext](UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlap)
  at System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

Any advice or suggestions on how to debug or prevent are appreciated.

Potential fix at https://github.com/microsoft/FASTER/pull/158 -- please check

Fix merged into master - pls reopen if issue persists


DaCapo Chopin: jython prints unnecessary characters to stdout

DaCapo Chopin jython (commit: https://github.com/dacapobench/dacapobench/commit/69a704ef4436196295e8e107f0a5f5f5212c125a) prints some unnecessary characters (^G) to stdout. This results in output logs not being able to parse at times.
Example (output of cat -vet):
[...]
* Round 2 done.$
$
^G===== DaCapo evaluation-git-69a704e jython completed warmup 4 in 104017 msec =====$
===== DaCapo evaluation-git-69a704e jython starting =====$
[...]

Fixed


Update vote before voting period ends

As a user, I should be able to update my vote before the voting period ends. This is possible with the group module but we for some reason chose to prevent this from within the user interface. We should allow a user to update their vote before votes are finalized. This is also relevant to a user being able to update the vote metadata, not just the vote option.

This is possible with the group module but we for some reason chose to prevent this from within the user interface.

Correction, this is not possible in the group module. Closing this issue.


better looking readme

Adding a slightly better formatted readme

@texodus ready for your new logo. feel free to pull things you like into separate PR

Thanks for the PR!  I've updated this in #465


Details of the pretrained weights

Hello, thank you so much for sharing the code and data. Could you tell me the training details of the pretrained weights? Is it trained based on the scripts (14 weathers and 22 routes) in this repository?

Hi!
Honestly, we didn't keep the training details of this pretrained weights. But it was trained based on a subset of the whole training dataset (towns/routes/weathers). We release this weights is just for the others make it easy to run/test the pipeline.


TypeError: Cannot read property 'flags' of undefined

Short description of the problem:
As I execute npm run build --prod, the following error occurs, stopping the build:

TypeError: Cannot read property 'flags' of undefined

What behavior are you expecting?
A working prod build (i.e. using AOT).
Steps to reproduce:

See the attached package.json
With similar dependencies, run npm run build --prod
crash

insert any relevant code between the above and below backticks

Which @ionic/app-scripts version are you using?
See package.json
package.json
{
  "version": "1.0.0",
  "private": true,
  "scripts": {
    "clean": "ionic-app-scripts clean",
    "lint": "ionic-app-scripts lint",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
  },
  "config": {
    "ionic_webpack": "./config/webpack.config.js"
  },
  "dependencies": {
    "@angular/animations": "^5.2.11",
    "@angular/common": "5.2.9",
    "@angular/compiler": "5.2.9",
    "@angular/compiler-cli": "5.2.9",
    "@angular/core": "5.2.9",
    "@angular/flex-layout": "2.0.0-beta.12",
    "@angular/forms": "5.2.9",
    "@angular/http": "5.2.9",
    "@angular/platform-browser": "5.2.9",
    "@angular/platform-browser-dynamic": "5.2.9",
    "@ionic-native/core": "4.4.0",
    "@ionic-native/splash-screen": "4.4.0",
    "@ionic-native/status-bar": "4.4.0",
    "@ionic/pro": "1.0.17",
    "@ionic/storage": "2.1.3",
    "@ngrx/effects": "^5.2.0",
    "@ngrx/store": "^5.2.0",
    "@ngrx/store-devtools": "^5.2.0",
    "angularfire2": "^5.0.0-rc.5-next",
    "firebase": "^4.13.1",
    "ionic-angular": "3.9.2",
    "ionicons": "3.0.0",
    "ngx-perfect-scrollbar": "^5.3.5",
    "rxjs": "^6.0.0",
    "rxjs-compat": "^6.1.0",
    "sw-toolbox": "3.6.0",
    "zone.js": "0.8.18"
  },
  "devDependencies": {
    "@ionic/app-scripts": "^3.1.9",
    "redux-devtools-extension": "^2.13.2",
    "typescript": "~2.4.2"
  }
}

Full error stack:

[16:09:06]  ionic-app-script task: "build"
[16:09:06]  TypeError: Cannot read property 'flags' of undefined
TypeError: Cannot read property 'flags' of undefined
at checkUnreachable (C:\Users\e026486\Projects_jem\ionosphere\node_modules\typescript\lib\typescript.js:24905:31)
at bindChildrenWorker (C:\Users\e026486\Projects_jem\ionosphere\node_modules\typescript\lib\typescript.js:23111:17)
at bindChildren (C:\Users\e026486\Projects_jem\ionosphere\node_modules\typescript\lib\typescript.js:23055:17)
at bind (C:\Users\e026486\Projects_jem\ionosphere\node_modules\typescript\lib\typescript.js:24319:21)
at bindSourceFile (C:\Users\e026486\Projects_jem\ionosphere\node_modules\typescript\lib\typescript.js:22689:17)
at Object.bindSourceFile (C:\Users\e026486\Projects_jem\ionosphere\node_modules\typescript\lib\typescript.js:22640:9)
at initializeTypeChecker (C:\Users\e026486\Projects_jem\ionosphere\node_modules\typescript\lib\typescript.js:47988:20)
at Object.createTypeChecker (C:\Users\e026486\Projects_jem\ionosphere\node_modules\typescript\lib\typescript.js:27142:9)
at getDiagnosticsProducingTypeChecker (C:\Users\e026486\Projects_jem\ionosphere\node_modules\typescript\lib\typescript.js:69678:93)
at emitWorker (C:\Users\e026486\Projects_jem\ionosphere\node_modules\typescript\lib\typescript.js:69722:32)

What about this issue?
I got a similar one:
[19:06:05]  ionic-app-script task: "build"
[19:06:05]  TypeError: Cannot read property 'compilation' of undefined
TypeError: Cannot read property 'compilation' of undefined
    at DefinePlugin.apply (C:\Applications\Node\AWS\ionic\node_modules\webpack\lib\DefinePlugin.js:93:18)
    at Compiler.apply (C:\Applications\Node\AWS\ionic\node_modules\@ionic\app-scripts\node_modules\tapable\lib\Tapable.js:375:16)
    at webpack (C:\Applications\Node\AWS\ionic\node_modules\@ionic\app-scripts\node_modules\webpack\lib\webpack.js:33:19)
    at C:\Applications\Node\AWS\ionic\node_modules\@ionic\app-scripts\dist\webpack.js:132:24
    at new Promise (<anonymous>)
    at runWebpackFullBuild (C:\Applications\Node\AWS\ionic\node_modules\@ionic\app-scripts\dist\webpack.js:113:12)
    at webpackWorker (C:\Applications\Node\AWS\ionic\node_modules\@ionic\app-scripts\dist\webpack.js:70:19)
    at Object.webpack (C:\Applications\Node\AWS\ionic\node_modules\@ionic\app-scripts\dist\webpack.js:29:12)
    at bundleWorker (C:\Applications\Node\AWS\ionic\node_modules\@ionic\app-scripts\dist\bundle.js:13:22)
    at Object.bundle (C:\Applications\Node\AWS\ionic\node_modules\@ionic\app-scripts\dist\bundle.js:6:12)

Reverting from "@ionic/app-scripts": "3.2" to "@ionic/app-scripts": "3.1.11" works fine.
Compatibility issue with webpack ?

I still get this error with3.1.11
TREHMAN-MB:assets-font-compare-tool tanzeel.rehman$ ionic build --prod
> ionic-app-scripts build --prod
[15:55:02]  ionic-app-scripts 3.1.11
[15:55:02]  build prod started ...
[15:55:02]  clean started ...
[15:55:02]  clean finished in 2 ms
[15:55:02]  copy started ...
[15:55:02]  deeplinks started ...
[15:55:02]  deeplinks finished in 38 ms
[15:55:02]  ngc started ...
[15:55:04]  ionic-app-script task: "build"
[15:55:04]  TypeError: Cannot read property 'flags' of undefined
TypeError: Cannot read property 'flags' of undefined
    at checkUnreachable (/Users/tanzeel.rehman/Development/assets-font-compare-tool/node_modules/typescript/lib/typescript.js:24289:31)
    at bindChildrenWorker (/Users/tanzeel.rehman/Development/assets-font-compare-tool/node_modules/typescript/lib/typescript.js:22376:17)
    at bindChildren (/Users/tanzeel.rehman/Development/assets-font-compare-tool/node_modules/typescript/lib/typescript.js:22332:17)
    at bindContainer (/Users/tanzeel.rehman/Development/assets-font-compare-tool/node_modules/typescript/lib/typescript.js:22324:17)
    at bind (/Users/tanzeel.rehman/Development/assets-font-compare-tool/node_modules/typescript/lib/typescript.js:23595:21)
    at bindSourceFile (/Users/tanzeel.rehman/Development/assets-font-compare-tool/node_modules/typescript/lib/typescript.js:21956:17)
    at Object.bindSourceFile (/Users/tanzeel.rehman/Development/assets-font-compare-tool/node_modules/typescript/lib/typescript.js:21897:9)
    at initializeTypeChecker (/Users/tanzeel.rehman/Development/assets-font-compare-tool/node_modules/typescript/lib/typescript.js:51232:20)
    at Object.createTypeChecker (/Users/tanzeel.rehman/Development/assets-font-compare-tool/node_modules/typescript/lib/typescript.js:27069:9)
    at Object.getTypeChecker (/Users/tanzeel.rehman/Development/assets-font-compare-tool/node_modules/typescript/lib/typescript.js:79026:79)
[ERROR] An error occurred while running subprocess ionic-app-scripts.

        ionic-app-scripts build --prod exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.

ionic version :
TREHMAN-MB:assets-font-compare-tool tanzeel.rehman$ ionic --version
4.1.0

my package.json :
{
  "name": "assets-font-compare-tool",
  "version": "0.0.0",
  "config": {
    "ionic_www_dir": "./dist"
  },
  "scripts": {
    "ng": "ng",
    "start": "ionic-app-scripts serve",
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "lint": "ionic-app-scripts lint",
    "lint-fix": "tslint --fix -c tslint.json 'src/**/*{.ts,.tsx}'",
    "test": "ng test --watch=false --progress=false --code-coverage",
    "test:watch": "ng test",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^6.1.0",
    "@angular/common": "^5.2.11",
    "@angular/compiler": "^6.1.0",
    "@angular/core": "^5.2.11",
    "@angular/forms": "^5.2.11",
    "@angular/http": "^6.1.0",
    "@angular/platform-browser": "^5.2.11",
    "@angular/platform-browser-dynamic": "^6.1.0",
    "@angular/router": "^6.1.0",
    "@ionic-native/core": "~4.12.0",
    "@ionic-native/splash-screen": "~4.12.0",
    "@ionic-native/status-bar": "~4.12.0",
    "@ionic/storage": "2.1.3",
    "core-js": "^2.5.4",
    "ionic-angular": "^3.9.2",
    "ionicons": "3.0.0",
    "ngx-json-viewer": "^2.3.1",
    "rxjs": "5.5.11",
    "sw-toolbox": "3.6.0",
    "zone.js": "~0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.8.0",
    "@angular/cli": "~6.2.3",
    "@angular/compiler-cli": "^6.1.0",
    "@angular/language-service": "^6.1.0",
    "@ionic/app-scripts": "3.1.11",
    "@types/jasmine": "~2.8.8",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "~8.9.4",
    "codelyzer": "~4.3.0",
    "cross-var": "^1.1.0",
    "ghooks": "^2.0.2",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~3.0.0",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.1",
    "karma-firefox-launcher": "~1.0.1",
    "karma-jasmine": "~1.1.2",
    "karma-jasmine-html-reporter": "^0.2.2",
    "karma-junit-reporter": "^1.2.0",
    "karma-script-launcher": "^1.0.0",
    "mkdirp": "^0.5.1",
    "protractor": "~5.4.0",
    "ts-node": "~7.0.0",
    "tslint": "~5.11.0",
    "typescript": "~2.9.2",
    "webpack-bundle-analyzer": "^2.9.1"
  }
}

Downgrading to 3.1.11 from 3.2.0 fixes the TypeError: Cannot read property 'compilation' of undefined issue for me, too.

Reverting from "@ionic/app-scripts": "3.2" to "@ionic/app-scripts": "3.1.11" works fine.
Compatibility issue with webpack ?

Downgrading from ~3.2.3 to 3.1.11 worked for me too


Wolfram Data Drop Code Snippet Fixed

It seems like this PR was done in error as it modifies unrelated items to what the title indicates.

@kurabi -- i think this just got out of sync with master, as we made conflicting changes. The intended change is probably the following:
 +  Alamofire.request(
 +    "https://datadrop.wolframcloud.com/api/v1.0/Add?bin=<YOUR BIN ID>",
 +		method: .post,
 +    parameters: location.locationFields,
 +		encoding: JSONEncoding.default
 +  )
 +  .responseJSON { response in
 +    debugPrint(response)
 +  }
 +}

@kaz-baig -- is that right?

@simonatsafegraph That was indeed the intended change. My bad on not syncing with master before making the PR. Would you like me to make a new one?

If you don't mind, that would be super helpful and keep things clean I think.


Test3

Landing page that counts down from the current date to the next new year
The application can process:
-Create landing page with HTML/CSS
-Calculate the days, hours, mins and seconds to the new year
-Insert values into the DOM
-Show a spinner right before loading the countdown
-Show the coming year in the background

Landing page that counts down from the current date to the next new year
The application can process:
-Create landing page with HTML/CSS
-Calculate the days, hours, mins and seconds to the new year
-Insert values into the DOM
-Show a spinner right before loading the countdown
-Show the coming year in the background

Are trying to make a new pr for this ?


Fix Docker build on ARM

Resolves https://github.com/hyperledger/firefly/issues/469

@nguyer - I've submitted https://github.com/hyperledger/firefly/pull/484 as a PR to this branch, with the above discussion/suggestion, and a few other changes and updates to dependencies necessary for the build to work for me

I note after my PR, I'm still seeing a failure from IPFS:
pbroadhurst@macbook-pro firefly_e2e % docker compose logs ipfs_0
firefly_e2e_ipfs_0  | Changing user to ipfs
firefly_e2e_ipfs_0  | ipfs version 0.11.0
firefly_e2e_ipfs_0  | generating ED25519 keypair...done
firefly_e2e_ipfs_0  | peer identity: 12D3KooWPgtHDht3oR2gmRRYzGzhH5UvS62NUN4fdtkdTBrLdBXK
firefly_e2e_ipfs_0  | initializing IPFS node at /data/ipfs
firefly_e2e_ipfs_0  | to get started, enter:
firefly_e2e_ipfs_0  |
firefly_e2e_ipfs_0  | 	ipfs cat /ipfs/QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc/readme
firefly_e2e_ipfs_0  |
firefly_e2e_ipfs_0  | Copying swarm key from variable...
firefly_e2e_ipfs_0  | Initializing daemon...
firefly_e2e_ipfs_0  | go-ipfs version: 0.11.0-67220ed
firefly_e2e_ipfs_0  | Repo version: 11
firefly_e2e_ipfs_0  | System version: amd64/linux
firefly_e2e_ipfs_0  | Golang version: go1.16.7
firefly_e2e_ipfs_0  | 2022/02/07 01:37:09 [zeroconf] no suitable IPv4 interface: udp4: failed to join any of these interfaces: [{169 1500 eth0 02:42:ac:12:00:02 up|broadcast|multicast}]
firefly_e2e_ipfs_0  | 2022/02/07 01:37:09 [zeroconf] no suitable IPv6 interface: udp6: failed to join any of these interfaces: [{169 1500 eth0 02:42:ac:12:00:02 up|broadcast|multicast}]
firefly_e2e_ipfs_0  | 2022-02-07T01:37:09.907Z	ERROR	cmd/ipfs	ipfs/daemon.go:430	error from node construction: no supported interface
firefly_e2e_ipfs_0  |
firefly_e2e_ipfs_0  | Error: no supported interface

Workaround listed here: https://github.com/ipfs/go-ipfs/issues/8645#issuecomment-1024944637

Yep I've run into the same thing and found that same thread. This is a firefly-cli issue. Shouldn't be too bad to implement but it's more than one line, since we're currently not writing a custom config file for IPFS. I'm going to look into this more tomorrow though.

I pulled in changes from https://github.com/hyperledger/firefly/pull/484 as well

Codecov Report

Merging #473 (c6d46c2) into main (a3992b8) will increase coverage by 0.07%.
The diff coverage is n/a.

:exclamation: Current head c6d46c2 differs from pull request most recent head f337e5a. Consider uploading reports for the commit f337e5a to get more accurate results

@@             Coverage Diff             @@
##             main      #473      +/-   ##
===========================================
+ Coverage   99.92%   100.00%   +0.07%
===========================================
  Files         266       266
  Lines       15134     15147      +13
===========================================
+ Hits        15123     15147      +24
+ Misses         11         0      -11

Impacted Files
Coverage Δ

pkg/fftypes/event.go
100.00% <0.00%> (ø)

internal/assets/token_pool.go
100.00% <0.00%> (ø)

internal/batchpin/batchpin.go
100.00% <0.00%> (ø)

internal/broadcast/manager.go
100.00% <0.00%> (ø)

internal/contracts/manager.go
100.00% <0.00%> (ø)

internal/restclient/config.go
100.00% <0.00%> (ø)

internal/restclient/ffresty.go
100.00% <0.00%> (ø)

internal/assets/token_transfer.go
100.00% <0.00%> (ø)

internal/txcommon/token_inputs.go
100.00% <0.00%> (ø)

internal/events/token_pool_created.go
100.00% <0.00%> (ø)

... and 9 more

Continue to review full report at Codecov.

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

Think it might be worth the script checking if jq exists:
 if [[ ! -x `which jq` ]]; then echo 'Please install "jq" to continue'; exit 1; fi


[Feature Request] Indicators for mandatory or optional fields

Currently there does not appear to be a clear standard for identifying between mandatory and optional fields. From an end user perspective this makes it hard to know exactly which fields you really need to fill out for a request to be successful. Lots of established conventions could be used here e.g.

A color border around the mandatory fields.
Append an asterisk after the field label.
Insert (Optional) somewhere in the placeholder.

Additionally, highlighting missing fields after a submission would also be helpful (however a considerably more challenging task I'd imagine as might involve ugly parsing of the Docker API error message :( )

Yes, I think that this is related to #318
I'll close this one and update the other one.


feat: add type hint to get_peft_model

Context
This small PR add a return type hint on get_peft_model.
This makes it easier for IDE (in my case pycharm) to propose shortcuts and suggestions if it knows the type of return objet.
For instance without the type hint in pycharm I cannot click on save_pretrained of peft a model and see the signature. This is because pycharm don't know that the object is a peft model. Return type hint fixed this

@pacman100 I noticed they are several places where it could be useful to have more type hint. Would you be interested as well in a bigger PR ?


fix(TFD-4978): Always use a default fetch size for JDBC.

What is the current behavior? (You can also link to an open issue here)
A memory problem exists for some JDBC drivers if the fetch size is not set.  Now that we're using Beam 2.5, we can do this via the Beam API.
https://jira.talendforge.org/browse/TFD-4978
What is the new behavior?
Always use a fetch size for JDBC data.
Please check if the PR fulfills these requirements

[X] The commit message follows Talend standard
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[ ] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[X] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[X] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:
Non-reg only.

Pull request test result: success :star:
Sonar results


Problems with 0.3.0/0.3.1

Okay, because of the issue #214, my plan was upgrading the thing.  Unfortunately, there are a lot of breaking changes.
a) In the past we add a static list of slides (simple content), and the indicators were built according this. This works not any more, because the indicators relies on attribute slides only.
b) In the past we could use any kind of elements.. now this is forced only to ul/li. I do not see any gain..
And a real bug is (for mine), that the Tweenable export seems to be damaged. Sometimes Tweenable is only empty (because exported as null), or the whole animations are really broken (stopping where my mouse is, even if I have not clicked yet??)

I'm using v 0.3.7 and requirejs, and I'm having the same problem.

My application runs Angular with RequireJS. I also confirm the issue on v0.3.7, but v0.3.6 works fine.


Add COPYING file to clarify licensing.

Added the MIT license, specified in the package.json, to assist packagers such as myself to more easily determine the licensing of yakyak.

Cool! But I'd suggest calling it LICENSE like most other projects do too.

@maxkueng Alright, I changed the filename to LICENSE from COPYING and did a squash to eliminate unnecessary commits.

Thanks!


Fails to install Big Sur guest on Monterey host

To Reproduce
Steps to reproduce the behavior:

Have a computer with Monterey public version
Download Big Sur installer from App Store
Check out this repo
Run this command (running under fish shell): env VM_NAME=macOS-BigSur make all

Expected behavior
VM is created, booted, installed correctly.
Observed behavior
Creating and installing the VM fails.
Here is the console session log:
jaanus@jk-imac ~/D/runMacOSinVirtualBox (master)> env VM_NAME=macOS-BigSur make all
Logfile: /Users/jaanus/Library/Logs/runMacOSVirtualbox.log
Running checks....
Creating image '/Users/jaanus/VirtualBox VMs/macOS-BigSur.dmg' (takes a while, version 16.8.10, will need sudo)...already exists.
Creating iso '/Users/jaanus/VirtualBox VMs/macOS-BigSur.iso.cdr'...already exists.
Creating VM HDD '/Users/jaanus/VirtualBox VMs/macOS-BigSur.vdi' (takes a while)....
Creating /Users/jaanus/VirtualBox VMs/macOS-BigSur.sparseimage...
...already exists
Converting virtual macOS disk: /dev/disk5
Adding APFS drivers to EFI in '/Users/jaanus/VirtualBox VMs/macOS-BigSur.efi.vdi'....
Creating VM 'macOS-BigSur'....
Adding installer DVD for VM 'macOS-BigSur'....
Adding APFS drivers to EFI in '/Users/jaanus/VirtualBox VMs/macOS-BigSur.efi.vdi'....
Starting VM 'macOS-BigSur'....
DEBUG: line 420 - command '[ "$#" -ne 0 ]' exited with status: 1.
DEBUG: In :: called at line 0.
DEBUG: From function :: (line 0).
ERROR: Look at /Users/jaanus/Library/Logs/runMacOSVirtualbox.log for details (or use Console.app). Press enter in the terminal when done...

make: *** [all] Error 1

Here is the log file portion for this session:
Collecting system information...
[2021-11-01 09:46:05] Running checks...
[2021-11-01 09:46:05] .
[2021-11-01 09:46:05] Creating image '/Users/jaanus/VirtualBox VMs/macOS-BigSur.dmg' (takes a while, version 16.8.10, will need sudo)...
[2021-11-01 09:46:05] already exists.
[2021-11-01 09:46:05] Creating iso '/Users/jaanus/VirtualBox VMs/macOS-BigSur.iso.cdr'...
[2021-11-01 09:46:05] already exists.
[2021-11-01 09:46:05] Creating VM HDD '/Users/jaanus/VirtualBox VMs/macOS-BigSur.vdi' (takes a while)...
[2021-11-01 09:46:05] .
[2021-11-01 09:46:05] Creating /Users/jaanus/VirtualBox VMs/macOS-BigSur.sparseimage...
[2021-11-01 09:46:05] ...already exists
[2021-11-01 09:46:08] Converting virtual macOS disk: /dev/disk5
Converting from raw image file="/dev/disk5" to file="/Users/jaanus/VirtualBox VMs/macOS-BigSur.vdi"...
Creating dynamic image with size<PHONE_NUMBER>72 bytes (131072MB)...
Disk /dev/disk5 ejected
[2021-11-01 09:53:04] Adding APFS drivers to EFI in '/Users/jaanus/VirtualBox VMs/macOS-BigSur.efi.vdi'...
[2021-11-01 09:53:04] .
Volume EFI on /dev/disk5s1 mounted
Volume EFI on disk5s1 unmounted
Converting from raw image file="/dev/disk5" to file="/Users/jaanus/VirtualBox VMs/macOS-BigSur.efi.vdi"...
Creating dynamic image with size 1048576 bytes (1MB)...
Disk /dev/disk5 ejected
[2021-11-01 09:53:59] Creating VM 'macOS-BigSur'...
[2021-11-01 09:53:59] .
Virtual machine 'macOS-BigSur' is created and registered.
UUID: a0db161a-1bbf-4f0e-be7e-6011eae29b33
Settings file: '/Users/jaanus/VirtualBox VMs/macOS-BigSur/macOS-BigSur.vbox'
[2021-11-01 09:53:59] Adding installer DVD for VM 'macOS-BigSur'...
[2021-11-01 09:53:59] .
[2021-11-01 09:54:00] Adding APFS drivers to EFI in '/Users/jaanus/VirtualBox VMs/macOS-BigSur.efi.vdi'...
[2021-11-01 09:54:00] .
Volume EFI on /dev/disk5s1 mounted
Volume EFI on disk5s1 unmounted
Converting from raw image file="/dev/disk5" to file="/Users/jaanus/VirtualBox VMs/macOS-BigSur.efi.vdi"...
Creating dynamic image with size 1048576 bytes (1MB)...
VBoxManage: error: VDI: cannot create image '/Users/jaanus/VirtualBox VMs/macOS-BigSur.efi.vdi'
VBoxManage: error: Error code VERR_ALREADY_EXISTS at /Users/vbox/tinderbox/6.1-mac-rel/src/VBox/Storage/VDI.cpp(691) in function int vdiImageCreateFile(PVDIIMAGEDESC, unsigned int, PVDINTERFACEPROGRESS, unsigned int, unsigned int)
VBoxManage: error: Cannot create the disk image "/Users/jaanus/VirtualBox VMs/macOS-BigSur.efi.vdi": VERR_ALREADY_EXISTS
Disk /dev/disk5 ejected
[2021-11-01 09:54:30] Starting VM 'macOS-BigSur'...
[2021-11-01 09:54:30] .
VBoxManage: error: The virtual machine 'macOS-BigSur' has terminated unexpectedly during startup with exit code 1 (0x1)
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine
Waiting for VM "macOS-BigSur" to power on...
[2021-11-01 09:54:46] line 420 - command '[ "$#" -ne 0 ]' exited with status: 1.
[2021-11-01 09:54:46] In :: called at line 0.
[2021-11-01 09:54:46] From function :: (line 0).
[2021-11-01 09:54:46] Look at /Users/jaanus/Library/Logs/runMacOSVirtualbox.log for details (or use Console.app). Press enter in the terminal when done...

VirtualBox also then crashes with this error.

Here is the crash log for VirtualBox.
virtualbox-vm-crash.txt

This was a problem with my VirtualBox installation. The missing kernel driver is for VirtualBox and is not specific to this project. After I reinstalled VirtualBox, everything works as expected and I was able to install Big Sur guest on Monterey host.


storage unit file name conventions

Storage units are currently named with the start time for the earliest timeslice with no end time.
We have not settled on a timespan for storage units and this should be configurable - i.e. in the storage mapping? Initial thinking was that the timespan for storage units could be controlled through operations but this is not ideal. Spatial index uses the bottom right corner so possibly a similar convention for time could exist i.e. indexed by start time - span is yearly, monthly, daily etc. as defined in storage mapping.

I would suspect/hope that file names shouldn’t materially matter, i.e files are indexed and that’s it.
That said, I appreciate consistency is very useful – including for thredds access and other file system tasks. The start time is as a good a convention as any.
From: Simon Oliver<EMAIL_ADDRESS>Sent: Wednesday, 20 January 2016 1:46 PM
To: data-cube/agdc-v2<EMAIL_ADDRESS>Subject: [agdc-v2] storage unit file name conventions (#67)
Storage units are currently named with the start time for the earliest timeslice with no end time.
We have not settled on a timespan for storage units and this should be configurable - i.e. in the storage mapping? Initial thinking was that the timespan for storage units could be controlled through operations but this is not ideal. Spatial index uses the bottom right corner so possibly a similar convention for time could exist i.e. indexed by start time - span is yearly, monthly, daily etc. as defined in storage mapping.
—
Reply to this email directly or view it on GitHubhttps://github.com/data-cube/agdc-v2/issues/67.

Whilst the AGDC is filename agnostic, we do need to take a little care with how DOI's are handled in the NERDIP case where the filename appears in THREDDS. If a DOI is issued against a filename the AGDC would effectively become bound by that storage unit time boundary (and any other metadata embedded in the filename). I don't have any real information on NERDIP but it would be worth checking what information becomes fixed in the NERDIP environment which is not AGDC Index store aware.
This is actually one of the reasons I liked the AGDC's Index Store in the first place - it decoupled a physical and performance related storage thing from the metadata and operations seen by the user of the API.

Having storage unit filename composed out of its grid index allows access to data without looking up filename anywhere for the case when the region of interest is known. This is used in GDF trial get_data to bypass database access.

Yes, and I was never really comfortable with that. I can see that being brittle and couldn't quite understand why it was done that way given the get_descriptor can contain all the information necessary for a computational node to not have to hit the database. I didn't sweat it though for the trial which was a time limited prototype of some new ideas.
Note this needs to be robust across collections and I can see the various grids that are likely to result killing any effective away of dealing with metadata in file names.

If we go with the concept of temporal stacks being: yearly, daily, monthly, then the we could do something like below:
From the storage unit configuration -
file_path_template: '{platform[code]}{instrument[name]}{product_code}{EPSG:code}{res_x}{tile_index[0]}{tile_index[1]}{temporal_stack_period_beginning_of}{collection_id}.nc'
eg.
SENTINEL_2A_MSI_L1C_3577_25_200000_-300000_2015_1.0.0.nc
SENTINEL_2A_MSI_L1C_4326_0.00025_132_-26_2015_1.0.0.nc
saving characters:
S2AMSI1C_3577_25_200000_-300000_2015_1.0.0.nc
S2AMSI1C_4326_0.00025_132_-26_2015_1.0.0.nc

I am not sure where this design discussion on the filename convention has got to but I am concerned about the use of the filename structure in code as logic:
nbars = [make_storage_unit(su) for su in sus if 'PQ' not in su.path]
pqs = [make_storage_unit(su) for su in sus if 'PQ' in su.path]

lines 152 and 153 from agdc-v2/examples/band_stats.py
This type of code would mean the the filenames now create coding dependencies.
Would this not be better served, and more robust, if the storage unit descriptor metadata was used for this logic?
What happens when multiple Collection types are used?
I'm not suggesting for a moment the filename convention shouldn't contain useful information, particularly given they are used in the THREDDS delivery system and its helps troubleshooting. I am concerned that AGDC code based shouldn't be reliant on these for logic, and should use the metadata that can be obtained from the index store.

@woodcockr the script is out of date and has become more of a playground to test ideas rather then an example of usage. An issue (#82) has been created to update the example

Currently the following fields are supported:

type_id - storage_type_id
type_name - storage_type_id
random - 16 random bytes represented as a hex string (32 characters)
tile_index - 2-value array corresponding to the tile location in the grid
start_time - string corresponding to the start_time of the aggregation period
end_time - string corresponding to the end_time of the aggregation period
anything from storage type match metadata. Basically those:

product_type
platform[code]
instrument[name]

Things that are defined in the storage_type don't even need to be fields - they are the same for each storage unit and can be just 'hardcoded' in the filename pattern.
So type_id, type_name, product, platform, instrument, EPSG code, resolution can all go. Only things that vary cross storage units are the coordinates.


When English UI?

When ist there a translation of the UI into english available, and i dont just mean the tooltips?

maybe the next version, now I'm waiting for a new api from Chrome to support the favicon in manifest v3,  so that all bookmark icons can show correctly.
And then this extension may be avaliable in Chrome Web Store or Microsoft Edge Extensions.

nice to hear that.


Machine Axles

One new axle was machined but took much longer than expected due to machining complications with the part having an aspect ratio of >20. Even after it was machined, and checked the part's fit with the pillow blocks, the axle doesn't fit at all, its much too small on the end going into the pillow blocks, didn't check the wheels fit yet. I will be attempting to make a spacer that will better interface the axle with the pillow block and will have to fix the drawing


sample-app: the speaking participant has no UI feedback

Describe the bug
The sample-app-compose demo already support UI feedback for the speaking participant but this funcionality is still missed in the sample-app
To Reproduce
Steps to reproduce the behavior:

Connect a room with a valid token
give the mic permission
Start talking
Check that there is no visual feedback to the speaking participant

Expected behavior
When a participant is speaking should have a visual feedback that identify him as a participant that is speaking
Device Info:

Device: Xiaomi Redmi Note 9 Pro
OS: Android 11
LiveKit SDK version: 1.1.1

Fixed by #126.


add blog post: refactoring with monads

I wrote up this short blog post to explain to my coworkers some refactoring I'd done. I mentioned it in passing to @larsrh, who glanced it over and suggested it might be worth reviewing for a wider audience. The whole thing is rather trivial and intended more for beginners than anything.
If Typelevel is interested, I'm happy to contribute it. If not, my feelings won't be hurt, I'll share it with my coworkers as I had originally intended.
If we decide to publish it here, there're a few formatting issues that I'd appreciate a bit of help with. The biggest one is a markdown table that seems to render badly on the Typelevel site but looks fine in plain markdown. I think the default github CSS is fine, but the Typelevel site is perhaps missing some configuration. I was a little nervous to tweak site-wide CSS for fear that I'd ruin something more fundamental.
Similarly, some of the paragraph breaks look awfully long to me, but the markdown file leaves only a single line in between.

The biggest one is a markdown table that seems to render badly on the Typelevel site but looks fine in plain markdown.

I'll take a look; I don't think there are many other tables on this site.

I've updated the pull request to address your suggestions. We still have the badly formatted table to deal with, and possibly should update the date of the blog post if we want it to reflect the publication date.

No worries, I'll deal with that.

@mtomko Preview: https://deploy-preview-227--typelevel.netlify.com/blog/2018/08/07/refactoring-monads.html
Does that look alright to you?

Done! Will tweet about it shortly.


Adding ML post

Muchachos, paren un toque con esto que no es un poema de Oscar Wilde,
además ni sé si todavía lo quieren publicar, y no tengo ganas de hacerle
más de una o dos correcciones como mucho.
On Apr 24, 2017 3:02 PM, "Gervasio Calderón"<EMAIL_ADDRESS>wrote:
@GervasioCalderon commented on this pull request.
In _src/_posts/2017-01-31-learning-rtb.markdown
https://github.com/jampp/geeks/pull/27#discussion_r113015383:

+conversion.

+One main component of our platform is the machine learning subsystem that feeds
+the bidding subsystem with predictive models of conversion rates for different
+events of interest (clicks, installs, opens, etc.). A conversion rate for an
+event $E$ is the conditional probability $p(E|C,T)$ of getting that event by
+printing some creative $C$ in the context of the current RTB transaction $T$.
+Why is it so important for our business to have good estimates of these rates?
+Simply because we sell conversions but we pay for impressions. For example,
+suppose one client pays us $$1$ per install and we estimate the install
+conversion rate to be around $0.1$ (just cheating... real world
figures are well
+under a dismaying $0.001$ :(). Then, assuming our creative is going to get
+printed, we should expect an average profit of $$0.1 - c$, where $c$ is the
+expected cost of the impression. If our rate estimates are grossly
miscalculated
+we will be losing money by valuating the expected income too low (thus missing
+opportunities with $c < $0.1$) or too high (thus buying non-opportunities with
This sentence is hard to follow: "$c" is written as a variable, but in the
example it is supposed to be fixed in some value (say 0.2). The conversion
rate is fixed in $0.1$, but it actually depends on the estimations, and
should be a variable ("$cvr", for instance). If "valuating the expected
income too low " takes place, it's because "$cvr" is too low. But in the
example it looks as a fixed 0.1 value.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jampp/geeks/pull/27#pullrequestreview-34372937, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACtq-TSVg0eO5vUzMx5hu381YRS01iEpks5rzOPJgaJpZM4NAYaB
.


Not working properly on iPhone X/XS

Is there any chance to fix this?

What's the issue exactly? Have you tried running the example app?


[Firestore] Asynchronous methods from library hang and don't return anything.

Hello. I am trying to incorporate Cloud Firestore into a C# application. I created the async method below (and I call it from the main method of my application):
        public async Task firebaseStuff()
        {
            FirestoreDb db = FirestoreDb.Create(projectId);
            CollectionReference collection = db.Collection("users");
            QuerySnapshot allUsers = await collection.GetSnapshotAsync();
            MessageBox.Show("Done Querying!");
            return;
        }

The users collection only has one document. The GetSnapshotAsync() method doesn't seem to return anything and the "Done Querying!" box never shows. Am I missing something?

Please show us your project file, which will include all the dependencies. You might see this if there's a mismatch between gRPC versions.

I'm not sure how much I can share, as I signed an NDA with the company I am working for with this project. However, I did notice something when I woke up this morning. Some previous versions of the above method used write operations. Those write operations seem to have made it into the database.After testing out some write operations just now, it appears they work fairly quickly. However, the method itself in the code appears to not return and just hangs. Could this still be caused by mismatched gRPC versions?

You don't need to provide us any of your production code - a short but complete example that reproduces the problem would be better, in fact.
It's hard to tell just from that description whether the problem could still be due to gRPC versions, to be honest. We really need to see code and/or a project file.

Would the packages.config file work to see the dependencies? As for example code, see my original comment. The method is called like so:
            Environment.SetEnvironmentVariable("GOOGLE_APPLICATION_CREDENTIALS",  pathToServiceAccountJson);
            firebaseStuff().Wait();

I used .Wait() to avoid the rest of the program from interfering, but it also doesn't work without that. Below is a modification of the method that uses a write operation. As expressed, this writes to the database but never actually returns.
        public async Task<Google.Cloud.Firestore.DocumentReference> firebaseStuff()
        {
            FirestoreDb db = FirestoreDb.Create(projectId);
            CollectionReference collection = db.Collection("users");
            MessageBox.Show("Hello!");
            return await collection.AddAsync(new { Name = new { First = "Ada!!", Last = "Lovelace" }, Born = 1815, Time = DateTime.Now.ToString("yyyyMMddHHmmssffff") });
        }

Would the packages.config file work to see the dependencies?

It would be a starting point, but not nearly as helpful as a complete example I can just build and run myself.

As for example code, see my original comment.

That's not a short but complete example though - it's just a single method. It looks like it's probably a WinForms app, but I'd rather not guess at everything going on - problems like this can be tough enough to diagnose even when we have both got exactly the same code. If I'm having to guess at half the code, it's going to be much harder.

I used .Wait() to avoid the rest of the program from interfering

Ah. That may well be all of the problem then - if you're doing that from a WinForms app, you're probably deadlocking the UI thread. That's really nothing to do with Firestore - it's just a matter of how async works. If you replace your firebaseStuff method with await Task.Delay(5000); you'd probably see the same problem.
You haven't given us the context of where you're calling firebaseStuff from - if it's in another method that can be made asynchronous, you should await the resulting task rather than calling Wait(). If not - well, you'll need to give us more information.

The app itself is a WPF app. I am calling the method from within the MainWindow.xaml.cs constructor which isn't (and can't be, to my knowledge) async. I just tried without .Wait() and it seems to have worked? I'm going to try and test it a few more ways before confirming.

Right, the constructor itself can't be asynchronous - but you can call a static factory method which is asynchronous, does all the async work, and then constructs an instance:
public static MainWindow CreateAsync()
{
    var doc = await CreateFirebaseDoc();
    return new MainWindow(doc);
}

I don't know whether that will be the right solution for you or not, but it's one option to consider.
What's more important is that you understand why your previous code failed - by calling Wait(), you were saying "I'm not going to let the WPF dispatcher thread do anything else until the task returned by firebaseStuff has completed". Unfortunately, the firebaseStuff method has said "When the task returned by AddAsync completes, I need to come back to the WPF Dispatcher thread in order to return and set the task result". That's why you've got a deadlock.
I'm going to close this issue now as it really isn't related to Firestore or the client library - it's just a matter of working correctly with async methods.


(iOS) Open local html content

Due to apple's announcement to use WKWebview I've been migrating to the las version of ionic angular, the app has a functionality to open a local html file using InAppBrowser.
Requirements

Download zip file from X endpoint to the app local storage
Unzip it
Open the downloaded website (html page with JS and CSS) using InAppBrowser

Problem
When I try to open the file index.html after step (3) I got this problem.
didStartProvisionalNavigation
webView:didFailProvisionalNavigation - -1002: unsupported URL
Information
File Structure
sample.zip

style.css
main.js
index.html

Plugins
App previous version plugins

cordova-plugin-file 6.0.1 "File"
cordova-plugin-inappbrowser 3.1.0 "InAppBrowser"
cordova-plugin-ionic-webview 2.4.0 "cordova-plugin-ionic-webview"
cordova-plugin-whitelist 1.3.3 "Whitelist"
ionic-plugin-deeplinks 1.0.20 "Ionic Deeplink Plugin"

App new version plugins

cordova-plugin-file 6.0.2 "File"
cordova-plugin-inappbrowser 4.0.0 "InAppBrowser"
cordova-plugin-ionic-webview 4.2.1 "cordova-plugin-ionic-webview"
cordova-plugin-whitelist 1.3.3 "Whitelist"

Using webview 2.4.0 (window.Ionic.WebView.convertFileSrc) everything work perfectly
Local file
file:///var/mobile/Containers/Data/Application/UUID/Documents/Content/sample/index.html
Url compatible with local server
http://localhost:8080/_app_file_/var/mobile/Containers/Data/Application/UUID/Documents/Content/sample/index.html
Using webview 4.2.1 (window.Ionic.WebView.convertFileSrc) problem
Local file
file:///var/mobile/Containers/Data/Application/UUID/Documents/Content/sample/index.html
Url compatible with local server
ionic://localhost/app_file/var/mobile/Containers/Data/Application/UUID/Documents/Content/sample/index.html
Version
Ionic info:
Ionic CLI                     : 6.10.0 (/node/v12.18.0/lib/node_modules/@ionic/cli)
Ionic Framework               : @ionic/angular 5.2.1
@angular-devkit/build-angular : 0.901.8
@angular-devkit/schematics    : 9.1.8
@angular/cli                  : 9.1.8
@ionic/angular-toolkit        : 2.2.0
Cordova:
Cordova CLI       : 9.0.0<EMAIL_ADDRESS>Cordova Platforms : ios 5.1.1
Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 14 other plugins)
Utility:
cordova-res : 0.14.0
native-run                             : 1.0.0
System:
Android SDK Tools : 26.1.1 (/Library/Android/sdk)
ios-deploy        : 1.10.0
ios-sim           : 8.0.2
NodeJS            : v12.18.0 (/node/v12.18.0/bin/node)
npm               : 6.14.5
OS                : macOS Catalina
Xcode             : Xcode 11.3.1 Build version 11C504
Question
I've been trying to figure this out for several days but can't get it to work. Any idea how to solve it?

InAppBrowser can't handle ionic:// urls, that's not an Ionic WebView bug, it's an InAppBrowser limitation, you should open the equivalent file:// url


Added admin, Admin createpost, delepost,countpost

Added admin model and admin route in controller

Looks good.


[Internal] Unnecessary Enum to Concrete Type Mapping

Semester Code Mapping is Unccessary
Enums exist at runtime so this:
export enum SemesterCode {
  'f' = 'f',
  's' = 's',
  'u' = 'u',
}

export const SEMESTER_CODE_MAPPINGS = {
  [SemesterCode.f]: 'Fall',
  [SemesterCode.s]: 'Spring',
  [SemesterCode.u]: 'Summer',
};

Can be refactored to:
export enum SemesterCode {
  f = 'Fall',
  s = 'Spring',
  u = 'Summer',
}

Or an even more readable version:
export enum SemesterCode {
  Fall = 'Fall',
  Spring = 'Spring',
  Summer = 'Summer',
}

This will probably break other functions within the degree planner because code's are stored as '${year}${enumVariant}' (eg. '2022f').

Removed during refactor


Local Setup Script for windows users

Right now, script to setup TestAtScale locally is for Mac users. With some changes in commands, that should be windows alternatives, we can have the setup ready for linux users as well.

I am interested in this issue. Can I be assigned?

I am interested in this issue. Can I be assigned?

@saurabh-prakash @SparshKesari

Hey @Perseus-Jackson477 assigned ✅

Hey, @SparshKesari I wished to ask, do I need to convert the .sh file to .bat or can I make a WSL-based solution?

@Perseus-Jackson477 WSL-based solution would, I believe, be less performant as compared to Windows native script file. Therefore, I'd recommend having a .bat file.


support GitHub flavored Markdown

The existing installation does not support the custom extensions by
GitHub to Markdown such as tables.

Nice! Am on the road. Could you combine that with prev RUN command to keep docker layers to minimum... Maybe
RUN gem install
github-markdown
gollum
And I'll bring it in :-)
I mistakenly thought that flavor was in there. Would like to switch to it myself. Thanks for making it better. Gene.
Sent from my MG4A2LL/A

On Jul 18, 2015, at 8:47 AM, Doug Goldstein<EMAIL_ADDRESS>wrote:
The existing installation does not support the custom extensions by
GitHub to Markdown such as tables.
You can view, comment on, or merge this pull request online at:
https://github.com/genebarker/gollum/pull/1
Commit Summary
support GitHub flavored Markdown
File Changes
M Dockerfile (2)
Patch Links:
https://github.com/genebarker/gollum/pull/1.patch
https://github.com/genebarker/gollum/pull/1.diff
—
Reply to this email directly or view it on GitHub.

Good point. Not really sure why I put them on separate lines. I've fixed it in my most recent push.

In fact I typically slap "apt-get clean && rm -rf /var/lib/apt/lists" into the line where I mess with apt-get as well to keep that layer as small as it can be.


Tweak Travis scripts.

add travis_terminate 1 so that subsequent tests are skipped
run qunit tests only on Node 10.

/CC @bardiharborow @Johann-S: it seems it works quite well. I haven't tested when things fail, though, if we are still covering all the cases we covered before. Now the build will exit as soon we hit an error.
All in all this really speeds up Travis builds, we save ~75% from the total time.

Awesome 😍

We'll see if we break something with travis_terminate as we go, I guess :P


Birthday commands

This fixes #10
Working on the birthday feature, let's leave this commit here.
So far:

Wednesday can store input from user in a json db.
/birthday day: 1 month: 8
User can view their entry
/dob

I will soon attach videos and then work on the reminder feature.

A video summary of how it works
New Recording - 8_20_2023, 3_40_57 PM.webm
Anticipating a positive feedback ;-)


Nomic Interchain Deposit Integration

What is the purpose of the change
This PR integrates Nomic Interchain Deposits, allowing users to deposit native Bitcoin directly to Osmosis.

Brief Changelog

Add NomicTransfer component to handle Bitcoin deposits and withdrawals
Configure Nomic Testnet and Stakenet networks and assets
Fix issue in ics20 transfer where memo field is cleared

Testing and Verifying
This change has been tested locally by making Bitcoin deposits and withdrawals
Documentation and Release Note
This change is not documented

@cwlittle Thank you very much for this PR 🚀


Avatar-Android: Added new guidelines

Added guidelines for Android Avatar

@ayeshakmaz I think I was able to address the merge conflict. I may need to get a little help if not. Apologies!


Snackbar anchorOrigin not working as expected. Snackbar.Horizontal.center throws compiler error

Hello and thanks for the great bindings library!
I've noticed that the Snackbar.Horizontal.center value has been throwing an error about being an unbound type constructor. I've looked at the source code and it is definitely there. So not sure what is going on.
Here are my versions:
"@jsiebern/bs-material-ui": "2.0.2",
"@jsiebern/bs-material-ui-lab": "2.0.3",
"bs-platform": "^8.3.1",
Here is my sample code:
           <MaterialUi.Snackbar
               anchorOrigin={MaterialUi.Snackbar.AnchorOrigin.make(
                 ~horizontal: MaterialUi_Snackbar.Horizontal.center,
                 ~vertical: MaterialUi_Snackbar.Vertical.top,
                 (),
               )}
               _open=true
               onClose={(_, _) => setHasCopied(_ => false)}
               autoHideDuration={MaterialUi_Types.Number.int(2000)}
               message={React.string("Copied to Clipboard!")}
             />

All of a sudden it is working... not sure what changed. Looking at the code here it is exactly the same. Oh well!

@LukasDeco That is quite curious. Was that error coming from JS? If it happens again, can you check out the JS output of the MaterialUi_Snackbar.re file and post it here? Thanks


Parsing HTML email in email mirror can fail with invalid XML characters

See Sentry stacktrace.
This is html5lib/html5lib-python#96, which has been open for more than a decade at this point.  We should work around it by using some variant of this comment to strip out invalid characters in extract_html_body before attempting to parse it.

Hello i tested this issue and i see that it is done so i suggest to close the issue

@Faten-toujani: Can you clarify how you tested it?  I know of no changes that would have resolved it.


Make data-providers *Handlers use Metadata present in Item without transformation

Dataverse provides the content of the <record><metadata> tag directly from a cached export. We need to be able to expose these directly, without jumping through the loops of the XSL pipelines transformation.
As we expect to have VERY large metadata coming from DDI codebooks etc (easily >10MB), it is mandatory to keep this use case in mind for the refactoring.
Current idea is to change the Metadata(InputStream) to store the stream and copy it chunk by chunk into the XML writer when the element gets written.

After careful consideration and tests, I discovered the following:

We cannot simply push the raw data from the InputStream into the XmlStreamWriter - the StAX API does not support this, as it tries to validate at least the presence of root elements etc etc.
Copying the input stream to an output stream for sample (DDI codebook with 50 MiB) happens with ~2000MiB/s on my laptop (NVMe, this is IO bound only)
Copying the input stream and reading it with the XmlReader inside of EchoElement makes it pass at ~50MiB/s on my laptop (this is CPU bound). IMHO this should be fast enough... :smile:

I am going to push the code used for the benchmarks, too, so anyone can reproduce on their machines.


Location of Dist Folder in latest NPM Package

The latest NPM Version of Spectre.css has the dist folder located in the docs folder. I believe this isn't on purpose?
EDIT: It is on purpose. May the docs should be updated to show this change ?

Yes. It is: #171

@Jcambass Yes, on purpose. And I am looking at https://docs.npmjs.com/files/package.json#files . Do you have better solution?

When you do npm publish npm will zip up all the files in the directory, including files ignored by the .gitignore. Why not run the build before publish, so the dist folder is in the npm package, but not committed to the repository?

@roemhildtg I published v0.2.14 and I added files in package.json. It works now.


Cant use return?

What does exist, do you have like file with the lang gammer?

Like I stated in previous issues, this is an uncompleted language. The error is stating that the returnExpression has not been implemented in the interpreter
I left it in the middle of a re-write, I don't remember what branch of Cosmic it is on. But there is an older version which I believe had more progress compared to the newer branch

https://github.com/FrederoxDev/Cosmic/blob/master/src/Interpreter.ts

Thanks, guess this will require a lot more writing. By the way, how long did it take you to write that interpreter?

It was a while ago, I really don't remember. But if you plan on touching Cosmic, I would advise working on the new branch. It had a lot more of a capable lexer and parser, it's only a bit behind on its interpreter

I might actually have a bit of free time to work on Cosmic soon

Yeah, i noticed in the cosmic new breach there is a gammer.txt for grammar, but because the addon using the master breach not the new one, i was asking what was the grammer.
Well, i was think of maybe trying to write a some sort of interface were you can connect the language. That way having the ability to swap it, maybe with the same, but different version or complete different.
I could try fixing it, but i would probably spend week just trying to understand how it works.

I recon that the grammar.txt file in the new branch was just an example of grammar and not what I was trying to achieve

But what do you think about that interface idea?

I don't ever plan on any other language support myself apart from the new cosmic branch, so I don't really know if it'd have a point for my own use case

Okey

Kind of a problem that i have no idea what you are planning

Right now in the short term, I want to implement all of these nodes on the new Interpreter which I will start some work on today. https://github.com/FrederoxDev/Cosmic/blob/CosmicRewrite/src/Parser.ts#L10-#L18
Right now I need to catch up myself where the project got to

comment or todo list would help

I'll write one up after I re-orient myself first

The language was actually a tad further than I thought, those statements were seemingly already implemented. Do you have discord? It may be easier to communicate there

Yes, i send you hello in dm


[Feature Request]: Server-Side signOut function

Package
@lucia-auth/sveltekit
Describe the problem
The SvelteKit Quick Start docs demonstrate using progressive enhancement with server-side actions for Sign Up and Login, but Sign Out does not.
Describe the proposed solution
Adding a signOutUser() function to locals via the handleHooks() function.
An example may look something like this
// @lucia-auth/sveltekit/server/hooks.js

export const handleHooks = (auth) => {
	return async ({ event, resolve }) => {
		// ...
		event.locals.signOutUser = async () => {
			try {
				const sessionId = auth.validateRequestHeaders(event.request)
				if (!sessionId) {
					resolve({ session: null })
				}
				await auth.invalidateSession(sessionId)
				event.locals.setSession(null)
				resolve({ session: null })

			} catch {
				resolve({ session: null })
			}
		}
	}
}

I'm sure I'm doing something wrong up there ^ but that's the general idea.
Alternatives considered
There is a way to implement this yourself by creating an endpoint like so:
// src/routes/logout/+server.ts

import { auth } from '$lib/server/lucia'
import { redirect } from '@sveltejs/kit'
import type { RequestHandler } from './$types'

export const POST: RequestHandler = async ({ request, locals }) => {
	const sessionId = auth.validateRequestHeaders(request)
	if (!sessionId) throw redirect(302, '/')

	await auth.invalidateSession(sessionId)
	locals.setSession(null)

	throw redirect(302, '/login')
}

But these functions aren't documented within the SvelteKit section and don't seem to fit in with the other SK auth functions.
Additional information
No response

The most elegant solution for this would probably be to just expose the handleLogoutRequest function and have the end user setup the endpoint. In addition to that, we could have the function return some success/error status for the caller rather than returning a Response, though that would break existing await signOut() implementations.
Alternatively, we could just document the POST endpoint that @huntabyte provided to support form actions as an alternative to signOut().

I decided to delete the function since it can be implemented in 4 lines of code. Sign out endpoint should return a 401 if the user is unauthenticated and the only way to do that with SvelteKit's actions is to have it be implemented manually.

Resolved with 0.5.0


RFM - MFCMapi

Current Maintainer

[ ] I am the maintainer of the package and wish to pass it to someone else;

I DON'T Want To Become The Maintainer

[x] I have followed the Package Triage Process and I do NOT want to become maintainer of the package;
[x] There is no existing open maintainer request for this package;

Checklist

[x] Issue title starts with 'RFM - '

Existing Package Details
Package URL: https://chocolatey.org/packages/MFCMapi
Package source URL: https://github.com/stephenegriffin/mfcmapi
Date the maintainer was contacted: June 3, 2019
How the maintainer was contacted: “Contact Maintainer” link
See also bill-long/chocolatey-packages#2.

Status: In progress

Waiting to be added as maintainer (request already sent to Chocolatey contact-site admins).
Updated package ready to be published: https://github.com/chtof/chocolatey-packages/tree/master/automatic/mfcmapi

Status: Review
https://chocolatey.org/packages/mfcmapi

Status: Published
https://chocolatey.org/packages/mfcmapi
Can be closed.


working with mermaid

Hey! Thanks again for doing this theme!
One question I have is re use of mermaid diagrams.  I set up the remark mermaid plugin and installed both gatsby-remark, remark-mermaid, and puppeteer (see versions below), but the snippets are rendered just as snippets, not diagrams. Am I missing something, or there are issues between the theme, foam, and  gatsby?
 "dependencies": {
    "foam-cli": "^0.11.0",
    "gatsby": "^3.12.0",
    "gatsby-plugin-manifest": "^3.12.0",
    "gatsby-remark-mermaid": "^2.1.0",
    "gatsby-source-filesystem": "^3.12.0",
    "gatsby-theme-primer-wiki": "^1.13.1",
    "gatsby-transformer-remark": "^4.0.0",
    "puppeteer": "^11.0.0",
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "sharp": "^0.29.1"
  }

PS. i am adding mermaid diagrams in the markdown as such:
### Grouping Elements
```mermaid
flowchart TB
    c1-->a2
    subgraph ide1 [one]
    a1-->a2
    end

P.S found notes that foam does not render it right now, but I wonder if this is something where gatsby could kick in

I'll try it, I guess it's ok for gatsby.

Hi, @Casyfill , for remark plugins, I have added a new option gatsbyRemarkPlugins, you can config it like this:
I have tried this locally, it works! try it~

   {
      resolve: "gatsby-theme-primer-wiki",
      // Change me
      options: {
        gatsbyRemarkPlugins: ["gatsby-remark-mermaid"],
        icon: "./static/logo.png",
        sidebarComponents: ["latest", "tag"],
        nav: [
          {
            title: "Github",
            url: "https://github.com/theowenyoung/foam-template-gatsby-theme-primer-wiki/",
          },
          {
            title: "Twitter",
            url: "https://twitter.com/theowenyoung",
          },
        ],
        editUrl:
          "https://github.com/theowenyoung/foam-template-gatsby-theme-primer-wiki/tree/main/",
      },
    },

"gatsby-theme-primer-wiki": "^1.14.3",

Thanks Owen, this worked without any hitch, works great!
On Sat, Nov 20, 2021 at 09:25 Owen Young @.***> wrote:

"gatsby-theme-primer-wiki": "^1.14.3",
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/theowenyoung/gatsby-theme-primer-wiki/issues/36#issuecomment-974657426,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUNHJKSTLNMPKNRICXMACDUM6VT5ANCNFSM5IM5M3KA
.


potential bug: external traffic policy may cause some problems

BitBucket doesn't provide any reasonable authentication scheme for webhooks. Rather, they publish the IP addresses they use for outbound traffic and ask us to assert that webhooks originated from one of those addresses.
Accomplishing this requires the uses of externalTraficPolicy: Local on our service because that is what preserve the original client IP as traffic traverses the service, but this also seems to prevent the use of services of type ClusterIP (which is common when an ingress controller is also used) because this attribute is only applicable to services of type NodePort and LoadBalancer.
I'd like to explore whether using a service of ClusterIP is just completely off the table or whether we can get away without this setting in that particular case.
https://github.com/brigadecore/brigade-bitbucket-gateway/blob/v2/charts/brigade-bitbucket-gateway/templates/service.yaml#L9

This was closed by #84


Indentation not present in expected output flagged as difference in comparison

I have this simple test:
<x:scenario label="genReleaseNote integration test">
    <x:context select="dBook/chapterSet/chapter/topic" href="resources/xml/wnTopicSource1.xml?strip-space=yes"/>
    <x:expect label="Expect a fully formed release note XML object ready for JSON serialization" href="resources/xml/wnTopicOutput1.xml?strip-space=yes" test="/*" select="/*"/>
</x:scenario>

The output is formatted exactly as shown:
<xpath:map xmlns:xpath="http://www.w3.org/2005/xpath-functions">
    <xpath:string key="releaseNoteType">whatsNew</xpath:string>
    <xpath:string key="title">New WizBang Report in Intelligent Decisioning</xpath:string>
    <xpath:string key="docsetName">xisXSpecTestProj</xpath:string>
    <xpath:string key="docsetVersion">v_001</xpath:string>
    <xpath:string key="docsetTarget">n1rrza64yhn5g1n1k4tgok05z08v</xpath:string>
    <xpath:string key="locale">en</xpath:string>
    <xpath:string key="cadenceVersion">2020.1.1</xpath:string>
    <xpath:string key="productIdentifier">intelligentDecisioning</xpath:string>
    <xpath:boolean key="linkToSource">false</xpath:boolean>
    <xpath:string key="anchor">p1h3sowzuidf3wn1vaerws3efx81</xpath:string>
    <xpath:string key="description">
The WizBang Report will help you make lots of money. You’ll be rolling in it.
</xpath:string>
</xpath:map>

But, when the comparison is executed. This test fails, because the expected result now appears as:
<xpath:map xmlns:xpath="http://www.w3.org/2005/xpath-functions">
   <xpath:string key="releaseNoteType">whatsNew</xpath:string>
   <xpath:string key="title">New WizBang Report in Intelligent Decisioning</xpath:string>
   <xpath:string key="docsetName">xisXSpecTestProj</xpath:string>
   <xpath:string key="docsetVersion">v_001</xpath:string>
   <xpath:string key="docsetTarget">n1rrza64yhn5g1n1k4tgok05z08v</xpath:string>
   <xpath:string key="locale">en</xpath:string>
   <xpath:string key="cadenceVersion">2020.1.1</xpath:string>
   <xpath:string key="productIdentifier">intelligentDecisioning</xpath:string>
   <xpath:boolean key="linkToSource">false</xpath:boolean>
   <xpath:string key="anchor">p1h3sowzuidf3wn1vaerws3efx81</xpath:string>
   <xpath:string key="description">

The WizBang Report will help you make lots of money. You’ll be rolling in it.

   </xpath:string>
</xpath:map>

Note the added new lines/indentation in the description. It's not present in the source. I even attempted to use the suggestions made in #1090 in my oXygen scenario to no avail. Any suggestions?

It doesn't seem to be an indentation issue. If it were indented, it would be reported with \n (U+000A) and ␣ (U+0020) and the report would be something like this:
<xpath:string key="description">\n␣␣␣␣␣␣
The WizBang Report...rolling in it.
\n␣␣␣</xpath:string>

Probably your stylesheet generates <xpath:string> containing a text node that is equivalent to
<xpath:string key="description"><p class="xisDoc-paragraph">The WizBang Report...rolling in it.</p></xpath:string>

whereas your expected XML file (wnTopicOutput1.xml) has an element
:
<xpath:string key="description">

The WizBang Report...rolling in it.

</xpath:string>

#1158 fixes the confusing report (the left-hand side Result).

You're exactly right, and the bug fix you've submitted would be an excellent improvement. Thanks for the help!


[Feature Request] New Type of Priority -> Specific Tag Matches

Hello @tadashi-aikawa !!!!
ℹ This FR is related to #19
This FR is about a new type of priority related to tags.
It's gonna be hard for to explain, let me know if something is not clear ...
In a nutshell:  a new priority that lets the user define the order by tag names that are defined by the user itself in the text field
My Tag Structre
I use tags for everything in my vault. 95% of my notes has al least one tag
And I have a lot of Nested Tags
I gonna use a subset of of my tags to explain this FR with an example
#Source/Book
#Source/Podcast
#Source/Video
#Source/Article
#Creator/Tim_Ferriss
#Status/NotDone
Real Example
I wanna create a Search that ...
RULE 🅰  get all notes from #Creator/Tim_Ferriss where status is #Status/NotDone
RULE 🅱 Sorted by this order:
1⃣ #Source/Podcast
2⃣ #Source/Book
3⃣ #Source/Video
4⃣ #Source/Article
This is my Setup
Default Input: #Creator/Tim_Ferriss #Status/NotDone
Command Prefix: empty
Sort Priorities:
Tag match
Ignore prefix path patterns empty
This is What we Get
📸 Forgive for my poor Screenshot (I am not at my Devices, I create a simple example)

My FR
My FR is about sorting these 4 notes based on a secondary tag pattern defined by the user
A New Priority for tags where the user can type the order of secondary tags
Something like this:
Tag Match Pattern: tag1,tag2,tag3
From my example:
Tag Match Pattern: #Source/Podcast,#Source/Book,#Source/Video,#Source/Article

Thanks for reading this !!!!
Let me know if something is not clear :)
Have a great day!!!!!

Thank you for your FR, @FelipeRearden :)
If I could implement it simply, I'll try it after the next release 👍

Thank you for your FR, @FelipeRearden :)
If I could implement it simply, I'll try it after the next release 👍

Thank you very much @tadashi-aikawa for trying to implement this FR !!!!!
Let's hope its an easy one 🙏🙏🙏

@FelipeRearden
Released in 7.0.0-beta1 🚀

Released in v7.0.0 🚀