feat: introduce evm config trait

closes #6180

final challenge w.r.t. the BlockExecutor trait: BundleStateWithReceipts, part of the BlockExecutor trait, is currently in reth-provider and has a method write_to_db. This pulls in methods from reth-db (for writing) and pulls in the reth-provider types StateChanges and StateReverts. These types wrap corresponding revm types and implement a write_to_db method.
Two potential solutions:

We could move the non-db-related BundleStateWithReceipts methods to node-api, and wrap it, similar to StateChanges and StateReverts.
Create provider traits responsible for reading and writing these data structures. For example, BlockWriter was created to replace the same methods in Block: https://github.com/paradigmxyz/reth/pull/3384

Wrapping is easy but the trait seems more idiomatic, so I'm proposing we create a trait that can write BundleStateWithReceipts, StateChanges, and StateReverts

Defining BlockExecutor in node-api for this purpose:
trait EvmConfig {
    /// the executor type
    type Executor: BlockExecutor;

    /// returns the executor with the installed db
    fn evm(&self, db: impl Database) -> Self::Executor;
}

has been scoped out for a few reasons:

EvmProcessor has a lifetime, which means using BlockExecutor as a bound on an associated type would require that associated type to be a GAT.
The alternative, returning EvmProcessor<'static> would require the DB to be 'static, which is basically never true.

The idea to have take_output_state consume self was proposed in #6568, but is basically impossible, unless we want to run into the above problems with GATs and object safety because ExecutorFactory returns a Box<dyn PrunableBlockExecutor>, which we can't turn into an owned value
Where are we now?
Now we're focusing on a trait like this:
/// Trait for configuring the EVM for executing full blocks.
pub trait EvmConfig {
    /// Returns new EVM builder
    fn evm(&self) -> EvmBuilder<'static, SetGenericStage, (), EmptyDB> {
        Default::default()
    }
}

@mattsse handler method is blocked on https://github.com/bluealloy/revm/pull/1124 - going to merge this, so we can work on the handler method and evm processor refactor separately


implement extract comments to csv

Issue #:
https://github.com/bcgov/met-public/issues/684
Description of changes:

Add query to fetch comments for extract
Integrate with cdogs service
Add extract comments button

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

Codecov Report

Merging #1055 (4db59f6) into main (03b9724) will decrease coverage by 0.27%.
The diff coverage is 75.00%.

@@            Coverage Diff             @@
##             main    #1055      +/-   ##
==========================================
- Coverage   74.87%   74.59%   -0.28%
==========================================
  Files         220      220
  Lines        6126     6173      +47
  Branches      361      370       +9
==========================================
+ Hits         4587     4605      +18
- Misses       1484     1509      +25
- Partials       55       59       +4

Flag
Coverage Δ

metweb
68.96% <20.00%> (-0.50%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

met-api/src/met_api/models/__init__.py
100.00% <ø> (ø)

met-api/src/met_api/resources/__init__.py
100.00% <ø> (ø)

met-web/src/apiManager/endpoints/index.ts
100.00% <ø> (ø)

...idget/PhasesWidgetMobile/EngagementPhaseMobile.tsx
100.00% <ø> (ø)

met-web/src/utils/index.ts
39.13% <11.11%> (-18.02%)
:arrow_down:

met-api/src/met_api/models/comment.py
71.05% <66.66%> (ø)

met-api/src/met_api/config.py
99.09% <100.00%> (ø)

met-api/src/met_api/resources/comment.py
73.80% <100.00%> (ø)

met-api/src/met_api/services/comment_service.py
70.96% <100.00%> (ø)

met-api/src/met_api/services/submission_service.py
64.80% <100.00%> (ø)

... and 19 more


Deletion not working

Thanks for putting this together.   However, I can't get this to work on an AWS EKS cluster.  Since it is EKS, I don't have access to the control plane nodes.  Any ideas? Any more information I can provide and dig up? This seems to be happening with many namespaces and so maybe a larger issue with EKS setup.
$ kubectl get ns
NAME                STATUS        AGE
amazon-cloudwatch   Active        151d
default             Active        151d
istio-operator      Active        22d
istio-system        Active        22d
kube-node-lease     Active        151d
kube-public         Active        151d
kube-system         Active        151d
meshtester          Active        22d
twistlock           Terminating   151d
vmware-system-tmc   Terminating   70d
weave               Terminating   40d

$ knsk --no-color  --delete-all

Kubernetes NameSpace Killer

Checking if kubectl is configured... ok

Checking for unavailable apiservices... not found

Checking for stucked namespaces... found
.: Checking resources in namespace twistlock... not found
.: Checking resources in namespace vmware-system-tmc... not found
.: Checking resources in namespace weave... not found

Checking for stucked resources in the cluster... not found

Checking for orphan resources in the cluster... not found

:: Done in 1127 seconds.

$ kubectl get ns
amazon-cloudwatch   Active        151d
default             Active        151d
istio-operator      Active        22d
istio-system        Active        22d
kube-node-lease     Active        151d
kube-public         Active        151d
kube-system         Active        151d
meshtester          Active        22d
twistlock           Terminating   151d
vmware-system-tmc   Terminating   70d
weave               Terminating   40d

$ knsk --no-color  --delete-all --force

Kubernetes NameSpace Killer

Checking if kubectl is configured... ok

Checking for unavailable apiservices... not found

Checking for stucked namespaces... found
.: Checking resources in namespace twistlock... not found
.: Checking resources in namespace vmware-system-tmc... not found
.: Checking resources in namespace weave... not found

Checking for stucked resources in the cluster... not found

Checking for orphan resources in the cluster... not found

Forcing deletion of stucked namespaces
.: Checking compliance of --force option... ok
.: Getting the access token to force deletion... ok
.: Starting kubectl proxy... ok
.: Checking for resisted stucked namespaces to force deletion... found
   > Forcing deletion of twistlock... ok
   > Forcing deletion of vmware-system-tmc... ok
   > Forcing deletion of weave... ok
.: Stopping kubectl proxy... ok

:: Done in 1223 seconds.

$ kubectl get ns
NAME                STATUS        AGE
amazon-cloudwatch   Active        151d
default             Active        151d
istio-operator      Active        22d
istio-system        Active        22d
kube-node-lease     Active        151d
kube-public         Active        151d
kube-system         Active        151d
meshtester          Active        22d
twistlock           Terminating   151d
vmware-system-tmc   Terminating   70d
weave               Terminating   40d

Hi @srirajan,
Could you please take a look in output files create in /tmp directory? Three files with the names:
/tmp/twistlock.json.log
/tmp/vmware-system-tmc.json.log
/tmp/weave.json.log

Thanks.

Hello @thyarles
/tmp directory on which server?  The cluster is EKS and so, no access to the control plane servers.  On the workers (ec2 instances) I can look but is this after running the commands?  I ask because those instances have been recycled since my last run.
Thanks,
Sri

Hello @thyarles
/tmp directory on which server? The cluster is EKS and so, no access to the control plane servers. On the workers (ec2 instances) I can look but is this after running the commands? I ask because those instances have been recycled since my last run.
Thanks,
Sri

Sorry, I forgot to say that is the /tmp on the same server you ran the script.

I ran this on OSX and I can't find any files in /tmp or $TMPDIR. Is there a flag I need to pass?

Hey, @srirajan,
Sure, the
"finalizers": [
"controller.cattle.io/namespace-auth"
],

is the problem here. You can work around why the controller.cattle.io/namespace-auth is blocking your namespace or take try the steps bellow:

Edit the three JSON files on the /tmp and delete the line "controller.cattle.io/namespace-auth"

"finalizers": [
],

Comment the line 345 on knsk.sh

# $K get ns $NS -o json > $TMP 2>/dev/null

Run the script again.

Marking as solved dua to a lack of response. If the steps provided don't work, please, reopen it again.

thanks. Sorry for the delay in responding. This is fixed.


NVIDIA GPU acceleration version required !

this project is GREAT !
wish there is tutorial about FFmpeg with NVIDIA GPU  acceleration !

Let's do it together. You should start with your fork...


add endpoint documentation

by default, api.microlink.io is used as the endpoint for creating the screenshot.
That's the Microlink API free endpoint, with some limitations (such as daily rate limit).
Under the hood, if you specify the endpoint query variable you can define a custom Microlink API to use.


Include question labels as headers & values instead of using the column name & value

Changes

Remove usage of temp_token; No longer necessary as of v2.5.6 OnaData
Add support for OnaData CSV Export options
Update dev requirements
Utilize httpx.Client instead of using the top-level API. https://www.python-httpx.org/advanced/
Use Name class to sanitize CSV Column names before using them to create the Hyper database
Modify User model and change server to server_id

Steps taken to verify the changes

Added tests

Closes #18

@DavisRayM I am currently getting the attached error message when I try to view data from my connected form. The manual sync button is currently unresponsive to click.

@DavisRayM I am currently getting the attached error message when I try to view data from my connected form. The manual sync button is currently unresponsive to click.

@faith-mutua That might just be an issue with the Tableau Server... Kindly try hard-refreshing the page to see if it works. The column headers and data on my end seems to be working okay(Checked the data via python shell; Not entirely sure how to attach lenses on Tableau Online)

@DavisRayM this is now working. The error was a problem on the Tableau server


allow custom omc executable path for Windows

This allows to create omc session using custom path. see https://github.com/OpenModelica/OMJulia.jl/issues/13

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Arunkumar Palanisamy seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


doc: updated release version

Summary by CodeRabbit

Documentation

Updated platform download links for Linux, macOS, and Windows in the README.
Added a new command suggestion for determining the user's platform.
Updated the list of supported languages to include PHP, Python, and Golang.
Enhanced the contribution section with a direct link to the CONTRIBUTING.md file.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 51.97%. Comparing base (711ac37) to head (c3400d6).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #22   +/-   ##
=======================================
  Coverage   51.97%   51.97%
=======================================
  Files          35       35
  Lines        2330     2330
=======================================
  Hits         1211     1211
  Misses        973      973
  Partials      146      146

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


change Text to Widget to allow more types

As the title suggest, chosing Widget will allow more variaty, in my case when I click on tab bar item, it'll animate to an Icon instead of Text

Awesome thanks @baolhq

@baolhq published https://pub.dev/packages/flashy_tab_bar2


RF-<IP_ADDRESS>.1 (pull for review)

Please review the kob list command

closing this pull request ,for updating the status functionality branch RF-<IP_ADDRESS>.1 in my repository with hyperledgerkochi/master
Remark

along with the RF- number in subject line do include functionality name


Remove duplicate module require

var dependencies = require('./dependencies/dependencies');
var fs = require('fs');

...

var fs = require('fs');
var gracefulFs = require('graceful-fs');

Already landed on master https://github.com/facebook/react-native/commit/182e97a62ca0677ae4940ac5f88199ec73ce6295. Thanks for contributing. :+1:


Yuri tags is missing on search filter

I dont know what to put here because the title already says it all 💀

You can add any missing tags from Settings-> Filter->tags. After that it will appear in search filter.

There is no way that thing exist
Ur anilist client is the best 👍

Thank You.


*: use "--logger=zap" for Procfile

Codecov Report

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

@@            Coverage Diff            @@
##             master    #9732   +/-   ##
=========================================
  Coverage          ?   69.47%
=========================================
  Files             ?      374
  Lines             ?    35100
  Branches          ?        0
=========================================
  Hits              ?    24385
  Misses            ?     8948
  Partials          ?     1767

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 1b9791c...6de6286. Read the comment docs.


New version: Nushell.Nushell version 0.78.0

Pull request has been created with WinGet Releaser v2 :rocket:
Microsoft Reviewers: Open in CodeFlow

The last many releases fail. Last release someone here said this works in the Windows 11 CI but not the Windows 10 CI (or vice versa). Could someone please take a look?

The last many releases have failed for the same reason, over and over again. Three weeks ago, in our last release, someone here mentioned that the validation works in the Windows 11 CI but not the Windows 10 CI (or vice versa). Could someone please take a look?
Found the link with the comment from 3 weeks ago #99543 (comment)

Unfortunately, the errors are not very verbose:
Automatic Validation, and running in a Windows 11 sandbox, both failed with:

2023-04-04 13:25:10.905 [CLI ] ShellExecute installer failed: 1603 2023-04-04 13:25:10.907 [CLI ] Terminating context: 0x8a150006 at D:\a_work\1\s\external\pkg\src\AppInstallerCLICore\Workflows\InstallFlow.cpp:1bf

Running the installer directly in the sandbox gives:

Unable to find the installer log from the automated pipeline, but here it is from the sandbox. The install failure was logged:

MSI (s) (F4:AC) [11:39:46:791]: Windows Installer installed the product. Product Name: nu. Product Version: 0.78.0. Product Language: 1033. Manufacturer: The Nushell Project Developers. Installation success or error status: 1603.

Error 1603 sometimes means "elevation needed but not requested", and sometimes indicates another issue.

recreated the msi, updated the sha256. not sure what else to try if this fails.


roku deploy

I can't get roku-deploy to find its configuration file rokudeploy.json when using this plugin.
From what I understand roku-deploy.json needs to be in the same folder as the manifest file. But it seems like it doesn't find it, because it's not bumping the build version as expected.
My roku-deploy.json looks like this
{
	"incrementBuildNumber": true
}

@jonnyijapan rokudeploy.json needs to be at the root folder where you are executing roku-deploy from...which is not necessarily the same location as your manifest file. If rokudeploy.json is a level or two above the folder where your manifest lives, you should set the rootDir property of rokudeploy.json so roku-deploy can find your project.

When using roku-deploy standalone, it works well placing rokudeploy.json next to manifest. But rokudeploy.json is ignored when installing using this extension (vscode-brightscript-language). Maybe there's no way to use the roku-deploy options when launching/deploying using vscode and vscode-brightscript-language?

Found out this doesn't work.


Move main loop out of cpu crate (#35)

this commit fixes/closes  #35
moved run_until_alarm function from (cpu/src/lib.rs) to (cpu/src/lib.rs)

Thank you for your contribution.   I'm thrilled that you sent this.   Thank you.
Unfortunately I made this change myself, before I saw your PR.   That's on me, it's kind of stupid to mark something as a "good first issue" and then just close it myself.    Can't be an ideal experience for you; sorry!
But I'd like to encourage you to contribute in other ways, and now that I know you're interested, I can take more care not to get in your way.

I rebased your PR and merged it.


added CSP link

this is my own PR, i added CSP link under Related topics

Also, note to myself, as a hope of creating a PR when this one is merged:
This page contains several combined asterisks for bold and italics (cursive) incompatible with GitHub source view. All the cursive formatting should be done with underscores ( _ _ ) instead of asterisks ( * * ) to avoid the current "dripping down" effect of applying bold formatting to every line below line 40 (which amounts to 92% of the document in source view).
To be specific, the issue arises whenever there is a slash or backslash character next to an asterisk, making GitHub ignore that asterisk and therefore lets the formatting apply to the rest of the document from that point on.
Not sure yet if this behaves weirdly in any automatically translated Asian language pages (Chinese/Japanese) or other languages, but it would be good to use compatible formatting.


Update dlp-policy-tips-reference.md - added support for Power BI

Added support for Power BI in the table for DLP support.

@JohanFreelancer9
I am looking in the documentation and I only see a blank new row in the table, without the content. Can you please take a look? Thanks!
https://docs.microsoft.com/en-us/microsoft-365/compliance/dlp-policy-tips-reference?view=o365-worldwide#support-matrix-for-dlp-policy-tips-across-microsoft-apps

@Yaelbiss, this change is not merged yet. @e0i, could you please assist?


VQA-2.0

Hello Author:
I have recently reproduced your paper, and according to the data set you gave, it is 'number': 50.91 in vqa-2.0.
'other': 59.45,
'overall': 69.13,
'yes/no': 85.29}}
The result is a little different from yours. Could you tell me what went wrong

Hello, would you like to provide the config and training dataset you use for this results

Hello，
config
torch                     2.3.1
spacy                     3.7.5
en-core-web-lg            3.7.1
numpy                     2.0.0
The training dataset use is provided by you to download from Baidu Cloud disk

Hello， config torch 2.3.1 spacy 3.7.5 en-core-web-lg 3.7.1 numpy 2.0.0 The training dataset use is provided by you to download from Baidu Cloud disk

gpu 3090

We've listed our training hyper-param in model zoo: https://github.com/rentainhe/TRAR-VQA/blob/main/MODEL.md
Would you like to tell us which hyper-param do you use in your experiments

We've listed our training hyper-param in model zoo: https://github.com/rentainhe/TRAR-VQA/blob/main/MODEL.md
Would you like to tell us which hyper-param do you use in your experiments

谢谢作者，已顺利解决但是目前train+val+vg跑出来只有71.42 没有达到72

We've listed our training hyper-param in model zoo: https://github.com/rentainhe/TRAR-VQA/blob/main/MODEL.md
Would you like to tell us which hyper-param do you use in your experiments

谢谢作者，已顺利解决但是目前train+val+vg跑出来只有71.42 没有达到72

You can resume from the 10-epoch checkpoint trained on train + val + vg and continue training it with train + val, which may boost the final performance


javac is not respecting the JAVA_HOME

related to

https://github.com/sbt/sbt/issues/510
https://github.com/paulp/sbt-extras/issues/83

When sbt is started with a specific version of JAVA_HOME, the javac is still picked up by PATH rather than JAVA_HOME/bin/javac. This is both unexpected and can lead to bad binaries being built (e.g. java 7 classfiles produced in a java 6 project).
Global solutions as proposed in #510 are non useful because the need to change the java version is the exception case, not the general rule (and this sort of information cannot appear in project SCM).

btw, I work around this with these lines at the top of my sbt script https://github.com/fommil/unix/blob/master/bin/sbt
if [ -e ".javahome" ]; then
  export JAVA_HOME=`cat .javahome`
  export JDK_HOME=$JAVA_HOME
  export PATH=$JAVA_HOME/bin:$PATH
fi

@fommil We had the same problem. After quick debugging session I got an impression that it has been fixed in 0.13.8.

Cool! This has bothered me for years.

Are you sure it's using the correct javac?

It appears so. I got codebase that uses Java 8 lambdas and following seems to work:
[pdolega@pdolega istudent]$ javac -version
javac 1.7.0_51
[pdolega@pdolega istudent]$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
[pdolega@pdolega istudent]$ echo $JAVA_HOME
/usr/java/jdk1.8.0_11
[pdolega@pdolega istudent]$ ./activator clean compile
...
...
[success] Total time: 70 s, completed May 22, 2015 9:53:01 AM

Running it again after doing:
[pdolega@pdolega istudent]$ JAVA_HOME=$JAVA_HOME7
[pdolega@pdolega istudent]$ echo $JAVA_HOME
/usr/java/jdk1.7.0_51

fails on compilation (which is what should happen as codebase uses Java 8 source).

I don't know what your activator script does, but if it's calling out to sbt then this is looking promising.

although, JDK_HOME (JDK) should be respected before JAVA_HOME (JRE or JDK).

@fommil activator basically runs build.sbt. Also I did not check JDK_HOME - our goal was to run multiple different builds from single Jenkins instance and, as some of builds require different Java version than the other, actual usage of JAVA_HOME (instead of javac on path) was enough to make everything work.

sweet

now all we need is a way to set the java-home on a per-project basis (like paulp's script allows)

On the side note it's hard to believe this was marked as enhacement (it sure seems like bug to me). Anyway, thanks. Over 'n out.

this is not fixed in 0.13.9. I can confirm that the wrong version of javac is if javaHome is set correctly.

Fixed in https://github.com/sbt/sbt-launcher-package/pull/112


Issue using with browserify - cannot find module './aes'

Hi,
Every time I try to use google-spreadsheet, following your tutorial, I always end up with this error:

bundle.js:1 Uncaught Error: Cannot find module './aes'

I've tried to install aes by npm manually and it's not working.
I've tried to check for solutions online and it looks like it's something related to integration with browserify which I also use.
Can you please help?

I haven't tested integration with browserify at all :(
So actually if you want to hit the spreadsheets API from the browser, you probably want to use the oauth flow to get permissions for a user instead of the service account flow (which is made for server to server communication (the backend of your application).
Very happy to accept a PR if you get it working though!

I just ran into this bug myself. It's because this module has node-forge in its dependency tree:
├─┬<EMAIL_ADDRESS>(git://github.com/dariusk/node-google-spreadsheet.git#843e3910c7b6465a3a703dafe8c3c69e7e74ef7b)
│ ├──<EMAIL_ADDRESS>│ ├─┬<EMAIL_ADDRESS>│ │ ├──<EMAIL_ADDRESS>
│ │ ├─┬<EMAIL_ADDRESS>│ │ │ ├─┬<EMAIL_ADDRESS>│ │ │ │ └──<EMAIL_ADDRESS>
node-forge doesn't work with browserify and produces this error. It's still an outstanding bug in node-forge: https://github.com/digitalbazaar/forge/issues/294
If I come up with a PR I'll submit, of course.

@dariusk I was trying to use this node-forge in Ionic 2 application.
cannot find module './aes' this same error I am getting.
Ionic 2 application is in typescript and angular2. The same node-forge I have used in pure angular2 application and it worked fine.
I dont have any idea that why it is it giving this error when I am trying to to use node-forge in Ionic2 applicationn.
Please help me on this

FYI - I've just a published a new version of this module which is a complete rewrite using Google's V4 Sheets API (v3 is being deprecated on March 3, 2020).
Docs available here - https://theoephraim.github.io/node-google-spreadsheet
I do believe this issue should be fixed in the new version.
Please test it out and if you find that there is still a problem, reopen the issue.
Thanks! 😄


createMapStateToProps requires props

It appears that createMapStateToProps requires props in order to update the page properly. Without, users cannot update the details table with a new group by selection.

Codecov Report

Merging #1658 into master will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1658      +/-   ##
==========================================
- Coverage   77.48%   77.48%   -0.01%
==========================================
  Files         243      243
  Lines        3847     3846       -1
  Branches      703      703
==========================================
- Hits         2981     2980       -1
  Misses        786      786
  Partials       80       80

Impacted Files
Coverage Δ

src/app.tsx
60.00% <100.00%> (ø)

...onents/sources/InactiveSources/InactiveSources.tsx
17.52% <100.00%> (ø)

src/utils/computedReport/getComputedReportItems.ts
74.60% <100.00%> (-0.40%)
:arrow_down:

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 6e8061c...4eb3446. Read the comment docs.

LGTM


⚠ SceneTime has degraded performance

In a1bdb0f, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1858 ms

Resolved: SceneTime performance has improved in 197e587 after 12 minutes.


Firebase errors are exported as stubs

[READ] Step 1: Are you in the right place?

For issues related to the code in this repository file a Github issue.
If the issue pertains to Cloud Firestore, read the instructions in the "Firestore issue"
template.
For general technical questions, post a question on StackOverflow
with the firebase tag.
For general Firebase discussion, use the firebase-talk
google group.
For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.

[REQUIRED] Step 2: Describe your environment

Operating System version: _____
Firebase SDK version: 12.1.1
Firebase Product: auth
Node.js version: _____
NPM version: _____

[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
The new error types that are exported in 12.1.1 are great and make error handling much easier. However, the TS interfaces are notably lacking constructors - they just extend all the way to Error. The actual implementations take info: ErrorInfo, message?: string parameters to set the underlying code and message properties.
This means that in testing code I'm not able to really take advantage of the new types without casting or playing other type shenanigans in order to set the properties as expected, which significantly limits the usefulness of these newly exported types.
Relevant Code:
// In a node REPL

> let err = new FirebaseAuthError("test error message")
undefined
> err.code
'auth/undefined'
> err.message
undefined

> let err2 = new FirebaseAuthError({ message: "test error 2", code: "val"  })
undefined
> err2.code
'auth/val'
> err2.message
'test error 2'

// In typescript
// Argument of type '{ message: string; code: string; }' is not assignable to parameter of type 'string'.
const error = new FirebaseAuthError({ message: "test error 2", code: "val"  });

Relates to https://github.com/firebase/firebase-admin-node/pull/2549

Hey @noahw3, thanks for reporting this! We need an error handling revamp in the SDK, but since that was not currently in the roadmap we merged #2549 as a stopgap. The constructors are currently marked as private... I will look into this issue to see what else we can to do improve the exposed error types


chore: upgrade magic deps

Why

I was profiling slow magic API response and thought would be better to upgrade it. I have reported them on telegram channel. The API takes 5-7 seconds to resolve.

How
Upgrade magic sdk by following latest docs

Test Plan
Tested on web, iOS and Android. Sign in with phone, email and social

Unfortunately, I haven't seen any speed improvements.

yeah same. It's annoying. I have pinged them on telegram groupchat.


Modify the behavior of --clear-output-folder option

Is your feature request related to a problem? Please describe.
While generating the JS SDKs, we have an option clear-output-folder that can be passed to the autorest. This option will clear the contents of the output folder. While this feature is good, this has a side effect. This will remove all the additional files that are available in the folder. For example, if the folder has a test folder, changelog files, they will also get deleted. In other languages (such as Ruby), only the src folder is generated. So, this problem does not exist there. But in TS, we are generating the entire structure. So, this will be a problem.
Describe the solution you'd like
This option must delete only the contents of the src folder. In order to do this, there are multiple options:

Modify autorest core code to achieve this
Our code generator can read the contents and add it to the generated files list. (This requires change only in TS Code generator)

Describe alternatives you've considered
N/A
Additional context
You can simulate the issue with the following steps:

In any existing SDK folder, eg: arm-storage, create a test folder with one dummy file
Regenerate the arm-storage SDK. After regeneration, you can see the test folder gets deleted.

cc: @ramya-rao-a

Closing this in favor of https://github.com/Azure/autorest.typescript/issues/473


Package request: llama-cpp-python

Project description

Simple Python bindings for @ggerganov's llama.cpp library. This package provides:

Low-level access to C API via ctypes interface.
High-level Python API for text completion

OpenAI-like API
LangChain compatibility

Metadata

homepage URL: https://llama-cpp-python.readthedocs.io
source URL: https://github.com/abetlen/llama-cpp-python
license: mit
platforms: unix, linux, darwin, ...

Related:
https://github.com/NixOS/nixpkgs/issues/224921

I doubt llama-cpp-python will be interested in maintaining its own flake?
But we can just put the flake anywhere of course :slightly_smiling_face:
https://gist.github.com/mausch/f525326eb70528f04b626fb9e01fcb58
Just need https://github.com/NixOS/nixpkgs/pull/244564 to build the OpenAI-compatible server.

It's been almost a year since this issue was open and llama-cpp is now well in nixpkgs.
Would it now make sense to reconsider adding llama-cpp-python into nixpkgs ?


Key binding not working on IE

Hi,
First of all gratz for this awesome lib !
Nevertheless i cant make it work on internet explorer due to the event.metaKey property which is 'undefined' on IE.
Thus each property in the jwertyCode object are not equals to those in the event object :
// For each property in the jwertyCode object, compare to `event`
for (var p in jwertyCode[n]) {
// ...except for jwertyCode.jwertyCombo...
 if (p !== 'jwertyCombo' && event[p] !== jwertyCode[n][p]) returnValue = false;
 }

I temporarily bypassed this IE problem by removing the metaKey references in your lib.

IE is a work-in-progress right now. I have been looking into supporting it in some kind of capacity, but it'll likely only be jQuery dependant.
This is a definite requirement for a 1.0 though - ideally I'd like to support IE9+ standalone, with support for IE6+ with jQuery as a dependency.
Thanks for the advice around the metaKey though, I'll definitely look into this!

@keithamus - I created a fork and started working on adding IE support. It's not complete (only 2 of the 18 tests pass), so I haven't submitted a pull request, but thought you might be interested to see what I've done so far.
https://github.com/flesch/jwerty/commit/461acfc56dd0f4648cb250bf3f38a87eab88beac

@flesch that is fantastic, thanks very much! I have a couple of things I want to chime in on this for now, with actual work to follow up later:

I originally -- intentionally -- skipped attachEvent for many reasons, mostly because I'm stubborn and I don't want to code for IE when the lib also supports jQuery (and, I don't know anyone who would use this lib raw, for IE, without jQuery). Depending on the volume of complaints about lack of raw-js-ie support would decide whether I changed my mind or not.

A lot of the tests are failing because of broken tests, not broken code. For example createEventObject/fireEvent isn't used in the tests to build any keyboard events, so where the code might have a change at passing for genuine keyboard events, it doesn't. I've actually got some un-committed code sitting here which fixes issues like these, and allows about 70% of the tests (with jQuery) to pass, so I'll commit this shortly.

There is some really odd behaviour with the metaKey attrib in Windows with Internet Explorer. I know jQuery spent some time hashing this out and solving it. Something along the lines of that if ctrlKey is true, metaKey is undefined, unless shiftKey is present... I'd like to properly solve this before this lib is deemed "ie ready"

It makes sense not to reinvent what jQuery's cracked, though I was hoping not to have it as a dependency (using Ender in a project now). So, +1...?
I have to admit I only tested a global hotkey (overriding CTRL+S) and one bound to a textarea, so where I'm checking p in event in the jwerty.is() loop, that only prevents IE from throwing an error.
I look forward to seeing what you have!

Just out of curiosity, what are you using to bind/listen to events onto DOM elements? Maybe it'd be better to be able to support custom bind methods instead of just supporting IE?

I apologize for the late answer. I am using jquery binding bind/delegate/live depending on the requirement :
jQuery(document)
         .unbind('.debugModal')
         .bind('keydown.debugModal.openDebug', jwerty.event(debugKey, loadDebugDetail));

jQuery('.detail-meta').delegate('.inplace input:text', 'keydown', jwerty.event('enter', function() {
...
}))

Hello, first I'd like to say thanks for the plugin you created. I swear that I searched a lot something like these and I didn't find. I'm a webdesigner trying to be a little more complex and using this plugin to improve the acessibilty of my websites. But how some people noticed, the plugin doesn't work on internet explorer. Do you have a fix for it already or the project is closed?
Thanks Thiago dos Anjos from Brazil

A fix is in the works, but I have been a bit busy with other projects, personal life, and my day job over the past two months. The project definitely isn't closed and I plan to start working on it as soon as I can. Thanks for the support!

Ok thanks for the reply...You're very polite.


txt file for Member_ID

Is it possible to make a txt file, such as the tags list, filled with member ids and then tell the program to download images from all of those members? I would love to make a list of all my favourite members and then just run the program once a day, downloading all new images if there are any for those certain members. If this isnt possible, would this be something you would look into adding in the future?

It's already have it. You can use the list.txt feature, check the readme.txt for details.

Oh thanks, do i just make a list.txt and put all the member ids in that? I read that it said put a directory next to each id, but i have a directory set in the config, so do i need to copy paste it for each id?

The directory is optional, in case you want to use different directory for each member.

Alright, thanks alot!!!


IncludeFromDirectory Attribute

When added on script class FlubuCore should add all .cs files from specified directory to script.

Attribute adds all .cs files from specified directory. With second optional parameter you can include subdirectories.
[IncludeFromDirectory(@".\Helpers")]
public class BuildScript : DefaultBuildScript
{
}


Feature/complete implementation of project

This PR is raised to set the initial release of the Company Financial Insights WA project with the following features :+1:
Project requirements
API First you need to choose an API to base the development of the webapp on. The API should allow you to get numeric values based on a parameter. We recommend that you choose an API that is open or needs an API key. If you choose an API that require authentication, you should implement it on your own.
Used API:
Financial modeling prep API: stock data.
Design
You should follow these design guidelines, including:
Colors (select one main color for your website).
Typography: font face, size and weight.
Layout: composition and space between elements.
Original design idea by Nelson Sakwa on Behance.
The Creative Commons license of the design requires that you give appropriate credit to the author. Therefore, you must do it in the README of your project.
Interactions
Home page
When the page loads, the webapp shows the list of categories that could be filtered out by some parameter, for example by the category name.
Along with the category name, you will display some numeric values per category that come from the API.
When the user clicks (or taps) on a category item, the application navigates to the details page.
Details page
In the details page, the webapp retrieves data from the API to show detailed data in the category.
When the user clicks on the "Back" button (<), the user navigates to the home page.
Testing requirements
Create unit tests for pure functions in your Redux code.
Create integration tests for your application using the React Testing Library.
You may need to mock the access to the API, so that your tests don't send actual requests.
You may need to mock the connection to the Redux Store.
Technical requirements
The project is a single-page application (SPA) built with React and Redux.
The data retrieved from the API should be stored in the Redux store.
You should filter the data that you retrieve from the API using a Filter stateless component.
Every page (the main page and the pages for each item) should have a unique route within the SPA.
The project should be deployed and accessible online using Render, Netlify or GitHub Pages.
Add a link to the online version of your app to your README file.

Thank you so much @ichala , you are the best 🥳


Tutorial 21 Already Exists Error

Hi, can you help me with this problem with machine translation?
When I run model_train.fit I got AlreadyExistError as shown in the picture

And the detail information looks like this
AlreadyExistsError: Resource __per_step_38/training/RMSprop/gradients/decoder_gru1_2/while/ReadVariableOp_6/Enter_grad/ArithmeticOptimizer/AddOpsRewrite_Add/tmp_var/struct tensorflow::TemporaryVariableOp::TmpVar
	 [[{{node training/RMSprop/gradients/decoder_gru1_2/while/ReadVariableOp_6/Enter_grad/ArithmeticOptimizer/AddOpsRewrite_Add/tmp_var}}]]

I have checked that Tutorial 21 works with TensorFlow version 1.12.0 and Keras version 2.1.6-tf running on Ubuntu 16 with a GTX 1070 GPU.
I don't know what is causing your problem, but everything works fine on my system.
When you file error reports, it is important that you are very specific about the system you are running, the errors you experience, and whether you have made any modifications to the code.
I just wasted an hour checking this works, because you weren't being clear. I'm not happy about that!


[Request] Add Decryption/Re-ecryption options

Hello ihaveamac
Given your obvious knowledge about the 3DS formats, I thought that you are probably the right person to ask.
When it comes to .cia files, I haven't found a tool that could decrypt them to match no-intro database, and I haven't found any tool to re-encrypt them at all. My understanding is that the No-Intro database for encrypted and decrypted 3DS files is based on the tool "GodMod9" which can only be used on the 3DS right now.
Giving that at this point in time we have ways to access the 3DS keys/bootroms/seeddb.bin, can we compile the GodMode9 encryptor/decryptor/converter to run on PC ?  Can you add it to NINFS ?
Some of the tools I found:-
NDecrypt:
Decrypts/re-encrypts .3ds files matching no-intro database
Doesn't support .cia files
Also decrypts/re-encrypts DS and DSi files
3DS + CIA Rom Script:
Decrypts/re-encrypts .3ds files matching no-intro database
Decrypts .cia files but not matching no-intro database & can't re-encrypt them
Batch CIA 3DS Decryptor:
Decrypts .3ds/.cia files but not matching no-intro database & can't re-encrypt either

My understanding is that the No-Intro database for encrypted and decrypted 3DS files is based on the tool "GodMod9" which can only be used on the 3DS right now.

How do you know that? As far as I know the No-Intro database has existed long before GodMode9.

Giving that at this point in time we have ways to access the 3DS keys/bootroms/seeddb.bin, can we compile the GodMode9 encryptor/decryptor/converter to run on PC ? Can you add it to NINFS ?

GodMode9 is exclusively a 3DS application, it uses 3DS-specific hardware and APIs. But it can be replicated on PC and ninfs is probably the closest equivalent to it.
Neither tool decrypts it 100% cleanly though. In particular for any title using extra crypto (7x, 9.3, 9.6), the ExeFS has a bit of garbage in the unused space of the last block of the .code, due to how the encryption works. This doesn't affect functionality since it is unused space, but it means hashes that expect 100% perfect decryption will not match. It is something that can be fixed by hand though since the garbage just needs to be replaced with null bytes.
Re-encryption is not something I felt needed doing, but could be done if it's really desired.

Neither tool decrypts it 100% cleanly though. In particular for any title using extra crypto (7x, 9.3, 9.6), the ExeFS has a bit of garbage in the unused space of the last block of the .code, due to how the encryption works. This doesn't affect functionality since it is unused space, but it means hashes that expect 100% perfect decryption will not match. It is something that can be fixed by hand though since the garbage just needs to be replaced with null bytes.

This part will be fixed once a new pyctr release with this change is implemented: https://github.com/ihaveamac/pyctr/issues/10

Sorry for the bother but any updates on this?


ttnn.max_pool2d fails in unit test of squeezenet model

Describe the bug
ttnn.max_pool2d is failing with Row size should be power of 2 issue in unit test
To Reproduce
Steps to reproduce the behavior:

Checkout to this branch : venkatesh/ttnn_squeezenet_maxpool_unit_test_fail
Runpytest tests/ttnn/unit_tests/operations/test_maxpool2d.py::test_run_max_pool_squeeze_net_model

Input shape of ttnn tensor - 1, 96, 109, 109
The following error will occur,
            RuntimeError: TT_FATAL @ ../ttnn/cpp/ttnn/operations/pool/maxpool/device/max_pool2d_device_op.cpp:26: is_pow2
            E       info:
            E       Row size (nchannels * bytes = 192) should be power of 2 (false).

Please complete the following environment information:
OS:Ubuntu 20.04.6 LTS
Device: WH n300

@vguduruTT , is this issue fixed?

This works fine in unit tests with the latest main, but the PCC drops when it's introduced into the pipeline. Moreover, the drop in PCC persists even after removing the added MaxPool-specific input.- Issue

@vguduruTT , Please create issue for low pcc, and closing this issue.


hatch: 1.9.0 -> 1.9.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for hatch is: Modern, extensible Python project manager
meta.homepage for hatch is: https://hatch.pypa.io/latest/
meta.changelog for hatch is: https://github.com/pypa/hatch/blob/hatch-v1.9.2/docs/history/hatch.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.9.2 with grep in /nix/store/f9n7x9vnpxfz5jdai96v11qndxfbds7i-hatch-1.9.2
found 1.9.2 in filename of file in /nix/store/f9n7x9vnpxfz5jdai96v11qndxfbds7i-hatch-1.9.2

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
hatch

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/f9n7x9vnpxfz5jdai96v11qndxfbds7i-hatch-1.9.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A hatch https://github.com/r-ryantm/nixpkgs/archive/c6c49f45e534b3094141ed44736d4966e54f40f0.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/c6c49f45e534b3094141ed44736d4966e54f40f0#hatch

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/f9n7x9vnpxfz5jdai96v11qndxfbds7i-hatch-1.9.2
ls -la /nix/store/f9n7x9vnpxfz5jdai96v11qndxfbds7i-hatch-1.9.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

hatch

Maintainer pings
cc @onny for testing.

FWIW the tests were already failing on 1.9.0 https://github.com/NixOS/nixpkgs/issues/287216

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for hatch is: Modern, extensible Python project manager
meta.homepage for hatch is: https://hatch.pypa.io/latest/
meta.changelog for hatch is: https://github.com/pypa/hatch/blob/hatch-v1.9.4/docs/history/hatch.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.9.4 with grep in /nix/store/8qqbh4dqwmf8zfv6bgkdqa2wzlhnymhy-hatch-1.9.4
found 1.9.4 in filename of file in /nix/store/8qqbh4dqwmf8zfv6bgkdqa2wzlhnymhy-hatch-1.9.4

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
hatch

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8qqbh4dqwmf8zfv6bgkdqa2wzlhnymhy-hatch-1.9.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A hatch https://github.com/r-ryantm/nixpkgs/archive/e9b0a00825cda319fc3723eb7f5d55b82d370ee6.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/e9b0a00825cda319fc3723eb7f5d55b82d370ee6#hatch

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8qqbh4dqwmf8zfv6bgkdqa2wzlhnymhy-hatch-1.9.4
ls -la /nix/store/8qqbh4dqwmf8zfv6bgkdqa2wzlhnymhy-hatch-1.9.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages built:

hatch
hatch.dist

Maintainer pings
cc @onny for testing.

FWIW, this PR builds and hatch 1.9.4 runs successfully for me (Linux x86_64). Version 1.9.0 in unstable fails the build.
Thanks!

Please test this PR https://github.com/NixOS/nixpkgs/pull/308354


[design] errors in vmchecker

When I try to check my homework on vmchecker I receive the following errors. May you help me, please?
./run_all.sh: line 146: [[: "inkscape""design/1_simple/all.dsn.svg"--export-eps="/tmp/magick-1320Sh1CX5lwN1yk"--export-dpi="90,90"--export-background="rgb(100%,100%,100%)"--export-background-opacity="1">"/tmp/magick-1320Z09PcqNQsGve"2>&1: syntax error: operand expected (error token is ""inkscape""design/1_simple/all.dsn.svg"--export-eps="/tmp/magick-1320Sh1CX5lwN1yk"--export-dpi="90,90"--export-background="rgb(100%,100%,100%)"--export-background-opacity="1">"/tmp/magick-1320Z09PcqNQsGve"2>&1")
Original file						      | Your file
Verifying All
Pixels that are different
"inkscape" "design/1_simple/all.dsn.svg" --export-eps="/tmp/magick-1320Sh1CX5lwN1yk" --export-dpi="90,90" --export-background="rgb(100%,100%,100%)" --export-background-opacity="1" > "/tmp/magick-1320Z09PcqNQsGve" 2>&1
design/1_simple/all.dsn.svg SVG 1024x768 1024x768+0+0 16-bit sRGB 632B 0.020u 0:00.029
"inkscape" "output/all.dsn.svg" --export-eps="/tmp/magick-1320_mjIwqV8qnw8" --export-dpi="90,90" --export-background="rgb(100%,100%,100%)" --export-background-opacity="1" > "/tmp/magick-13209sDBNzFWm5w2" 2>&1
compare: missing an image filename `output/all.dsn.svg' @ error/compare.c/CompareImageCommand/957.

You ate not writing the output svg file. Your program receives two
parameters: the input file and the output file.
On Fri, 15 Mar 2019 at 23:57, sophiaminisan<EMAIL_ADDRESS>wrote:

When I try to check my homework on vmchecker I receive the following
errors. May you help me, please?
./run_all.sh: line 146: [[:
"inkscape""design/1_simple/all.dsn.svg"--export-eps="/tmp/magick-1320Sh1CX5lwN1yk"--export-dpi="90,90"--export-background="rgb(100%,100%,100%)"--export-background-opacity="1">"/tmp/magick-1320Z09PcqNQsGve"2>&1:
syntax error: operand expected (error token is
""inkscape""design/1_simple/all.dsn.svg"--export-eps="/tmp/magick-1320Sh1CX5lwN1yk"--export-dpi="90,90"--export-background="rgb(100%,100%,100%)"--export-background-opacity="1">"/tmp/magick-1320Z09PcqNQsGve"2>&1")
Original file | Your file
Verifying All
Pixels that are different
"inkscape" "design/1_simple/all.dsn.svg"
--export-eps="/tmp/magick-1320Sh1CX5lwN1yk" --export-dpi="90,90"
--export-background="rgb(100%,100%,100%)" --export-background-opacity="1" >
"/tmp/magick-1320Z09PcqNQsGve" 2>&1
design/1_simple/all.dsn.svg SVG 1024x768 1024x768+0+0 16-bit sRGB 632B
0.020u 0:00.029
"inkscape" "output/all.dsn.svg"
--export-eps="/tmp/magick-1320_mjIwqV8qnw8" --export-dpi="90,90"
--export-background="rgb(100%,100%,100%)" --export-background-opacity="1" >
"/tmp/magick-13209sDBNzFWm5w2" 2>&1
compare: missing an image filename `output/all.dsn.svg' @
error/compare.c/CompareImageCommand/957.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/UPB-FILS/alf/issues/24, or mute the thread
https://github.com/notifications/unsubscribe-auth/ACtOoV2AVfLFsOoniRSOATFvI-Iq_fZRks5vXBdegaJpZM4b3XoM
.

--
Alexandru RADOVICI
Universitatea "Politehnica" din Bucuresti
e-mail<EMAIL_ADDRESS>telefon:<PHONE_NUMBER>
www.ipworkshop.ro

I did not forget to put them, maybe the order is not correct. In the command line process.argv[2] is the dsn file, the one that I read from the statements, and process.argv[3] is the svg file.

Yes, that is correct.
On Sat, 16 Mar 2019 at 11:11, sophiaminisan<EMAIL_ADDRESS>wrote:

I did not forget to put them, maybe the order is not correct. In the
command line process.argv[2] is the dsn file, the one that I read from the
statements, and process.argv[3] is the svg file.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/UPB-FILS/alf/issues/24#issuecomment-473513932, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACtOobS4LwYzg7nwV91WnoQjM0fNVJ6zks5vXLVIgaJpZM4b3XoM
.

--
Alexandru RADOVICI
Universitatea "Politehnica" din Bucuresti
e-mail<EMAIL_ADDRESS>telefon:<PHONE_NUMBER>
www.ipworkshop.ro

Send me your source file in my email.
On Sat, 16 Mar 2019 at 11:49, Alexandru Radovici<EMAIL_ADDRESS>wrote:

Yes, that is correct.
On Sat, 16 Mar 2019 at 11:11, sophiaminisan<EMAIL_ADDRESS>wrote:

I did not forget to put them, maybe the order is not correct. In the
command line process.argv[2] is the dsn file, the one that I read from the
statements, and process.argv[3] is the svg file.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/UPB-FILS/alf/issues/24#issuecomment-473513932, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACtOobS4LwYzg7nwV91WnoQjM0fNVJ6zks5vXLVIgaJpZM4b3XoM
.

--
Alexandru RADOVICI
Universitatea "Politehnica" din Bucuresti
e-mail<EMAIL_ADDRESS>telefon:<PHONE_NUMBER>
www.ipworkshop.ro

--
Alexandru RADOVICI
Universitatea "Politehnica" din Bucuresti
e-mail<EMAIL_ADDRESS>telefon:<PHONE_NUMBER>
www.ipworkshop.ro

I sent you an email at<EMAIL_ADDRESS>Let me know please if you received it.

I did not receive your email, please send another one at the email posted
on the website. Just copy and paste the source code into the email.
On Sat, Mar 16, 2019 at 4:14 PM sophiaminisan<EMAIL_ADDRESS>wrote:

Reopened #24 https://github.com/UPB-FILS/alf/issues/24.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/UPB-FILS/alf/issues/24#event-2208188391, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACtOoXk9XIfRW7kg3sz0zodHmn2XxrcNks5vXPxSgaJpZM4b3XoM
.

--
Alexandru RADOVICI
Universitatea "Politehnica" din Bucuresti
e-mail<EMAIL_ADDRESS>telefon:<PHONE_NUMBER>
www.ipworkshop.ro

You are not specifing the image size in your svg files. Look at our
examples, the svg start line specifies it.
On Sat, Mar 16, 2019 at 5:51 PM Alexandru Radovici<EMAIL_ADDRESS>wrote:

I did not receive your email, please send another one at the email posted
on the website. Just copy and paste the source code into the email.
On Sat, Mar 16, 2019 at 4:14 PM sophiaminisan<EMAIL_ADDRESS>wrote:

Reopened #24 https://github.com/UPB-FILS/alf/issues/24.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/UPB-FILS/alf/issues/24#event-2208188391, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACtOoXk9XIfRW7kg3sz0zodHmn2XxrcNks5vXPxSgaJpZM4b3XoM
.

--
Alexandru RADOVICI
Universitatea "Politehnica" din Bucuresti
e-mail<EMAIL_ADDRESS>telefon:<PHONE_NUMBER>
www.ipworkshop.ro

--
Alexandru RADOVICI
Universitatea "Politehnica" din Bucuresti
e-mail<EMAIL_ADDRESS>telefon:<PHONE_NUMBER>
www.ipworkshop.ro

You are also witing text on the screen with console.log, that will make the
tests fail. If you want to write on the screen, use console.error.
On Sat, Mar 16, 2019 at 8:29 PM Alexandru Radovici<EMAIL_ADDRESS>wrote:

You are not specifing the image size in your svg files. Look at our
examples, the svg start line specifies it.
On Sat, Mar 16, 2019 at 5:51 PM Alexandru Radovici<EMAIL_ADDRESS>wrote:

I did not receive your email, please send another one at the email posted
on the website. Just copy and paste the source code into the email.
On Sat, Mar 16, 2019 at 4:14 PM sophiaminisan<EMAIL_ADDRESS>wrote:

Reopened #24 https://github.com/UPB-FILS/alf/issues/24.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/UPB-FILS/alf/issues/24#event-2208188391, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACtOoXk9XIfRW7kg3sz0zodHmn2XxrcNks5vXPxSgaJpZM4b3XoM
.

--
Alexandru RADOVICI
Universitatea "Politehnica" din Bucuresti
e-mail<EMAIL_ADDRESS>telefon:<PHONE_NUMBER>
www.ipworkshop.ro

--
Alexandru RADOVICI
Universitatea "Politehnica" din Bucuresti
e-mail<EMAIL_ADDRESS>telefon:<PHONE_NUMBER>
www.ipworkshop.ro

--
Alexandru RADOVICI
Universitatea "Politehnica" din Bucuresti
e-mail<EMAIL_ADDRESS>telefon:<PHONE_NUMBER>
www.ipworkshop.ro


Fall back for specific database types

Postgresql has JSON, Hstore and there are others that are not supported. Currently if you try to generate a mock from model that is not part of the common types the generation fails. I would like to make an AnyType that would be a fallback. Also provide a way so that a user could extend the types to add their own custom types.

New DB types can be registered with this API.
active_record_schema_scrapper/attributes.rb
ActiveRecordSchemaScrapper::Attribute.register_type(name: :array, klass: Array)

@zeisler where are you supposed to put this registration code?

for rails
config/initializers/active_mocker.rb


error[E0557]: feature has been removed

hello i have this error when i try to add your library to my project w/ cargo build
error[E0557]: feature has been removed
 --> /home/r1/.cargo/registry/src/github.com-1ecc6299db9ec823/spartan-0.3.0/src/lib.rs:4:12
  |
4 | #![feature(external_doc)]
  |            ^^^^^^^^^^^^ feature has been removed
  |
  = note: use #[doc = include_str!("filename")] instead, which handles macro invocation

Is this issue on curve25519-dalek related? We might need to bump its version to 3.0.1.


Check min width / height when aspect ratio locked.

It is not working properly...

Any progress on this?

@sereschen I've implemented this on v2.0.0-rc.1.
If you try this feature, please install npm install<EMAIL_ADDRESS>

Fix on @2.0-rc.2


SLAM for L515

Dear Team,
Thank you for the great work. The code handles avia, horizon, velodyne and ouster, but I would like to work with the L515 sensor. May I know how the handler for L515 data works and how the feature extraction from the L515 poincloud is done?

sorry to reply you so late. This github repository is about the multi-lidar dataset, so I'm sorry that I can not  give you a specific answer for your question. But we test some SLAM algorithms using the L515 sensor on our data set, such as SSL-SLAM; due to the poor result, we finally did not Upload the corresponding results. If you are interested in the result, I can send it to you by email.
Regarding your question, maybe you can find the answer here [https://github.com/wh200720041/ssl_slam]

Thank you for the update and sorry for the deay. I was not available for the last 7-8 days. I already tried the ssl_slam but the results were not great. Can you please share the code to me via email so that I can integrate it with other approaches and verify if the results are better?
Email<EMAIL_ADDRESS>

Hi!
    We did not make any improvements to ssl_slam, but just tested its performance. You said that the effect of ssl_slam is relatively poor. I think it is because ssl_slam uses only lidar data instead of integrating data such as IMU, which causes the device to drifts too much while spinning.
    I think you should try ssl_slam3 [https://github.com/wh200720041/ssl_slam3], which is an improved version of ssl_slam that combines LiDAR and IMU data. Hope this helps you!
    If you have further questions, please email @.***.
------------------ Original ------------------
From: @.>;
Send time: Friday, Dec 9, 2022 9:20 PM
@.>;
@.>; @.>;
Subject:  Re: [TIERS/tiers-lidars-dataset-enhanced] SLAM for L515 (Issue #3)
Thank you for the update and sorry for the deay. I was not available for the last 7-8 days. I already tried the ssl_slam but the results were not great. Can you please share the code to me via email so that I can integrate it with other approaches and verify if the results are better?
Email: @.***
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

We did not make any improvements to ssl_slam, but just tested its performance. You said that the effect of ssl_slam is relatively poor. I think it is because ssl_slam uses only lidar data instead of integrating data such as IMU, which causes the device to drifts too much while spinning.
I think you should try ssl_slam3 [https://github.com/wh200720041/ssl_slam3], which is an improved version of ssl_slam that combines LiDAR and IMU data. Hope this helps you!


How to use in project?

Hi, I wanted to include such an upload feature for ages now and I stumbled upon this beautiful library. But it isn't published anywhere (please do this, it's really, really simple) so I would have to copy the files.
My question is, how do I do that legally? My project is AGPL, so should I add MIT license headers or what do I have to add in order to be compliant?
Kind regards and please answer soon,
Sky

And am I allowed to publish this on my own maven repository so I don't have to copy the classes every time?

Hi, thanks for reaching out.
We do plan on publishing this to maven central, and already claimed the namespace for it.
We currently use git submodules to import this in other projects we use (e.g. our bukkit plugin)
Alternatively, you could pull the releases from JitPack: https://jitpack.io/

My project is AGPL, so should I add MIT license headers or what do I have to add in order to be compliant?

I'm not a lawyer, but you would probably need to include a notice that you use our library and that the library is licensed as MIT.

am I allowed to publish this on my own maven repository

Yes

It's now published on maven central.
I also decided to do some refactoring and release a v3.0.0 version: https://github.com/aternosorg/mclogs-java/releases/tag/3.0.0
It's probably going to take about an hour for that to actually sync to central, but the instructions for using it are in the readme: https://github.com/aternosorg/mclogs-java#usage


Remove dangling justification decoder ref

Summary
Fix xtx setup script by removing obsolete justification decoder ref.
Checklist

[x] ./client/xtx/run.sh starts up without errors

ahh, my bad. Overlooked that one


Revert "v0.3.3 changes into main"

Reverts lvgig/tubular#64
correcting for a squashed commit from develop

failing linting checks due to reverting bugfix from #45.  #78 should fix this and it is only linting so we should be safe to override the checks in this case

I agree that, whilst it isn't ideal to override the linter, commit history train wrecks can make for an unfortunate tangle. Agree that we can await #78 for restoration of lints  (currently passing).

Practically impossible to review the squashed commits here as the individual commits have been lost. We should disable the ability to 'squash and merge' is possible; I don't see why you would do this at the stage of merge.
See: https://dev.to/wesen/squash-commits-considered-harmful-ob1


[CS2103T-F12-4] ezFoodie

ezFoodie is for restaurants that keep track of their ever-growing list of members. Restaurant staffs and managers can easily view and update member status (e.g. personal information, tier, reservation, transaction, number of member registrations, etc.) to manage and analyze members based on various criteria.

Codecov Report

Merging #80 (4ab8d50) into master (ba53b8c) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #80   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 ba53b8c...4ab8d50. Read the comment docs.


added eosio_assert() for overflows in _next_id, _next_element_id, _next_pet_type_id

There is a possibility that the global count for the named ids could overflow and overwrite existing data.

Thanks for that @patrick-ogrady !!!


install json via third party install method

You changed the choice of polyfill here, are we still using the right browser targeting?

It actually targets even more browsers :-)


phpunit --filter=...

I have a very strange behaviour of VCR.
if i run all my tests at once with phpunit - it's ok, responses are read from fixtures.
but if i run only 1 of this tests separately with
phpunit --filter=check_new_blocks_command
VCR tries to read from the network instead of fixtures. how can it be possible??? i'm lost. :)
the test looks like this:
    /** @test */
    public function check_new_blocks_command()
    {
        \VCR\VCR::turnOff(); // just in case.
        \VCR\VCR::turnOn();
        \VCR\VCR::configure()->setCassettePath(base_path("tests/fixtures"));
        \VCR\VCR::insertCassette('check_new_blocks_command');

        // action ...

        $this->stopVcr();
    }

@Vasiliy-Bondarenko I think I've see this happening before.
Sadly I don't have the time to check, would you like to debug and please if possible submit a fix for us? I'll glad to test it in case you find something!

This works fine in now. If this occurs once more, please open a new issue referencing this one.


Added posprocessing in PSO

Coverage increased (+0.01%) to 99.132% when pulling 30959035c385797c260448bc5940d9627434df92 on feature/AddedPostProcessing into 33ca9613a040419c0395ed578fcd90a35f3b1e0d on master.

Coverage increased (+0.01%) to 99.132% when pulling 30959035c385797c260448bc5940d9627434df92 on feature/AddedPostProcessing into 33ca9613a040419c0395ed578fcd90a35f3b1e0d on master.


add fusion results, strand test results, etc. to immuno results

Closes: https://github.com/griffithlab/analysis-wdls/issues/32


Updated the page and flow (moved from snap to the mobile app)

Closing because the "Use cases" section is removed the new version

Closing because the "Use cases" section is removed the new version


[FLINK-5069] [Metrics] Pending checkpoint statistics gauge

This PR introduce pending checkpoints statistics gauge, which help to check the state When checkpoints can't be done.
following is the statistics will be collected:
checkpointID,
Number Of Acknowledged Tasks,
Number Of Not yet Acknowledged Tasks,
The detail of not yet acknowledged JobVertexID, taskID

I don't think There is a benefit in having a separate custom class (in this case, PendingCheckpointStats) to encapsulate the data.
Most reporters turn Gauge values to strings. This means that the list and the PendingCheckpoitnStats objects are pretty much immediately discarded. We can save some overhead by creating the String straight away.
The only reporter that doesn't turn them to strings is the JMXReporter, which however would not be able to expose this object at all since it doesn't fulfill the necessary requirements.

Unfortunately, this has been superseded by https://issues.apache.org/jira/browse/FLINK-4410.
Would you mind closing this PR?


Make Nova optional using @gummibeer package

WIP: Wait to merge until the package is formally published.
Closes #241.

Can't use this package because it requires git ignoring composer.lock :/


Windows7 'apm upgrade' problem

Of course with previous atoms 1.0.11 worked after upgrade to 1.0.18 I have problem with packages upgrade
C:\Users\mipl>apm upgrade
'Package Updates Available (2)
├── language-haskell 1.4.6 -> 1.4.8
└── minimap 4.13.3 -> 4.13.4
Would you like to install these updates? (yes) yes
Installing<EMAIL_ADDRESS>to C:\Users\mipl.atom\packages
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| win32 | ia32
gyp http GET https://atom.io/download/atom-shell/v0.30.7/node-v0.30.7.tar.gz
gyp WARN install got an error, rolling back install
gyp'
C:\Users\mipl>apm -v
'apm  1.0.5
npm  2.13.3
node 0.10.40
python 2.7.7
git 2.5.3.windows.1
visual studio 2010'
C:\Users\mipl>apm install --check
'Checking for native build tools failed
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| win32 | ia32
gyp http GET https://atom.io/download/atom-shell/v0.30.7/node-v0.30.7.tar.gz
gyp WARN install got an error, rolling back install
gyp'

I updated Atom to 1.0.19 today , and got the same problem today.

I can download https://atom.io/download/atom-shell/v0.30.7/node-v0.30.7.tar.gz through my proxy .

I tried updating without my proxy , and it has the same problem too.

I am also having this problem and I can download the package in my browser.
Any ideas?

Same issue here. Works fine to download the tarball outside of apm.

This is also happening to me on a fresh 1.0.19 install:
C:\>apm install autocomplete-python
Installing autocomplete-python to C:\Users\rcreasey\.atom\packages
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| win32 | ia32
gyp http GET https://atom.io/download/atom-shell/v0.30.7/node-v0.30.7.tar.gz
gyp WARN install got an error, rolling back install
gyp

C:\>apm --version
apm  1.0.5
npm  2.13.3
node 0.10.40
python 2.7.9
git 2.6.0.windows.1
visual studio 2013

C:\>atom --version
[672:1014/104002:INFO:CONSOLE(0)] 1.0.19

I too, am behind a corporate proxy, but I have strict-ssl=false enabled:
C:\>apm config list
; cli configs
globalconfig = "C:\\Users\\rcreasey\\.atom\\.apm\\.apmrc"
user-agent = "npm/2.13.3 node/v0.10.40 win32 ia32"
userconfig = "C:\\Users\\rcreasey\\.atom\\.apmrc"

; userconfig C:\Users\rcreasey\.atom\.apmrc
strict-ssl = false

; globalconfig C:\Users\rcreasey\.atom\.apm\.apmrc
cache = "C:\\Users\\rcreasey\\.atom\\.apm"

; node bin location = C:\Users\rcreasey\AppData\Local\atom\app-1.0.19\resources\app\apm\bin\node.exe
; cwd = C:\projects\deployment
; HOME = C:\Users\rcreasey
; 'npm config ls -l' to show all defaults.

And can confirm that URL is indeed downloadable:
C:\>curl -LIk https://atom.io/download/atom-shell/v0.30.7/node-v0.30.7.tar.gz
HTTP/1.1 200 Connection established

HTTP/1.1 302 Found
Server: Cowboy
Connection: keep-alive
Date: Thu, 15 Oct 2015 01:01:35 GMT
Status: 302 Found
Strict-Transport-Security: max-age=631152000
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Security-Policy: default-src 'self'; connect-src 'self'; font-src 'self'; frame-src 'self' https://www.youtube.com; img-src https://* 'self' data:; media-src 'none'; object-src 'self'; script-src 'self' 'unsafe-inline' https://ssl.google-analytics.com https://www.google-analytics.com https://platform.twitter.com; style-src 'self' 'unsafe-inline';
Location: http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.30.7/node-v0.30.7.tar.gz
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache
X-Request-Id: 1141ebfd-fdc0-4566-b26a-9d79c04f657b
X-Runtime: 0.016041
X-Rack-Cache: miss
Via: 1.1 vegur

HTTP/1.1 200 OK
x-amz-id-2: pwLYG045qUgB42uQRcWPyBv55Z/4TW4RBZKS+K/UAuDHB0L6p5Ubzw51M+JdvyvT
x-amz-request-id: 7E62A77EA5118645
ETag: "e19edcc6ab9b814ae7e471e575166ca7"
Accept-Ranges: bytes
Server: AmazonS3
Content-Length: 438258
Content-Type: application/x-tar
Last-Modified: Thu, 24 Sep 2015 06:16:52 GMT
Date: Thu, 15 Oct 2015 00:58:30 GMT
Age: 187
Via: 1.1 myproxy:80 (Cisco-WSA/8.5.2-027)
Connection: keep-alive
Proxy-Connection: keep-alive

This seemed to all start around the 1.0.19 release.
@thedaniel: any thoughts on this?

This worked for me.
https://github.com/atom/apm/issues/322#issuecomment-96430856

@kowareta Yes!!!!! It's working :)

@kowareta I can also confirm this worked for me. Thanks.

I think we should continue to track this directly on the apm issue at https://github.com/atom/apm/issues/322#issuecomment-96430856


grpc_stats: switch default of stats_for_all_methods

Signed-off-by: Greg Greenway<EMAIL_ADDRESS>Commit Message: grpc_stats: switch default of stats_for_all_methods
Additional Description: This change was announced (and previous value deprecated) in v1.14.0 (#10467).
Risk Level: Low
Testing: Adjusted unittests
Docs Changes: Updated
Release Notes: Added
Platform Specific Features: None
Optional Runtime guard: envoy.deprecated_features.grpc_stats_filter_enable_stats_for_all_methods_by_default
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

/lgtm v2-freeze

/lgtm v2-freeze


Public can edit file if they has role "can upload"

Version | 5.1.0-prealpha+0ac03d8a8
web 9.0.0-alpha.5
Steps:

create folders f1
create .odt and .txt file inside the folder f1
create link to folder f1 with Can Upload role
public opens link

Actual:

public is able to create file/folder  (New button is available) - maybe web issue? @tbsbdr do we need it
public can edit .odt document
public cannot edit .txt document - 👍
we don't have description of this role if we type to hint button

https://doc.owncloud.com/webui/next/owncloud_web/web_for_users.html#sharing

https://github.com/owncloud/ocis/assets/84779829/d66be3c0-067c-4a85-b40b-810e2571c1eb

already existing bug https://github.com/owncloud/ocis/issues/8609


chore: add sprout back

Reintroducing the sprout package. This means that you need Qlik access to run install. Currently there is no work-around. The rendering test needs to be updtaded. This is an intermitted step though, since there is more styling to come. Better to do that in different PRs and then make sure they are in before we make a release. Also includes:

Pagination styling. It was completely broken, so updated according to the preliminary design
Removing the old sprout copy
Move sanity check for paginationNeeded to footer component

the diff is mostly yarn.lock

FYI the sort direction icon is a bit off in its placement when I run this locally

FYI the sort direction icon is a bit off in its placement when I run this locally

yeah I know. I have the whole head styling almost ready so I figured I fix that in the next PR


[Ref][Trivial] Reordering of Files based on BitCoin Standards

THIS PULL REQUEST IS ONLY FOR REFERENCE ONLY (AND FOR CODE INSPECTION) - NOT MEANT TO BE MERGED STANDALONE, INSTEAD LOOK AT PR #71
What is the purpose of this pull request (PR)?
As stated in the title
Any background context to help the reviewer?
This commit is to ensure that code is categorised in a comparatively less messy fashion
Was this PR tested and how?
All Coding and Testing on Ubuntu 16.04.01 on VMWare Fusion running on macOS Sierra (but for some reason Git has pushed something else)
Does this PR resolve an open issue (reference issue #)?
Fixes issue or JIRA tasks:

More Questions:

Does the knowledge base need an update? Maybe

Does this PR add or change dependencies? No

Does this PR change or fork the blockchain No

utACK

Tested ACK


Update dependencies and configs

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (20ee41e) 100.00% compared to head (b754f39) 100.00%.
Report is 20 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #22   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            8         8
  Lines          206       206
=========================================
  Hits           206       206

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


Testing Terragrunt

I keep getting the following error:
Error locking project: ResourceNotFoundException: Requested resource not found

Any way to debug what is going on?
projects:
- name: 00_myvm
  dir: dev/env/00_myvm
  terragrunt: true

hey @daanbosch thanks for filing the issue! did you add your cloud provider keys as secrets in the action? (assuming you are using it with Github Actions)
also - what other log outputs are there?

Full logs:
Run diggerhq/tfrun@main
Run cd /runner/_work/_actions/diggerhq/tfrun/main
go: downloading github.com/aws/aws-sdk-go v1.44.219
go: downloading cloud.google.com/go/storage v1.30.1
go: downloading github.com/google/go-github/v50 v50.1.0
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/hashicorp/terraform-exec v0.18.1
go: downloading github.com/hashicorp/terraform-json v0.15.0
go: downloading github.com/hashicorp/go-version v1.6.0
go: downloading cloud.google.com/go v0.110.0
go: downloading golang.org/x/oauth2 v0.6.0
go: downloading golang.org/x/crypto v0.5.0
go: downloading github.com/google/go-querystring v1.1.0
go: downloading github.com/zclconf/go-cty v1.13.0
go: downloading cloud.google.com/go/iam v0.12.0
go: downloading github.com/google/uuid v1.3.0
go: downloading github.com/googleapis/gax-go/v2 v2.7.1
go: downloading google.golang.org/api v0.114.0
go: downloading cloud.google.com/go/compute/metadata v0.2.3
go: downloading cloud.google.com/go/compute v1.18.0
go: downloading google.golang.org/genproto v0.0.0-20230320184635-7606e756e683
go: downloading google.golang.org/grpc v1.53.0
go: downloading google.golang.org/protobuf v1.29.1
go: downloading go.opencensus.io v0.24.0
go: downloading golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2
go: downloading golang.org/x/net v0.8.0
go: downloading github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e
go: downloading github.com/apparentlymart/go-textseg/v13 v13.0.0
go: downloading golang.org/x/text v0.8.0
go: downloading github.com/golang/protobuf v1.5.2
go: downloading golang.org/x/sys v0.6.0
go: downloading github.com/googleapis/enterprise-certificate-proxy v0.2.3
go: downloading github.com/google/go-cmp v0.5.9
go: downloading github.com/jmespath/go-jmespath v0.4.0
GitHub context parsed successfully
Digger config read successfully
Lock provider has been created successfully
GitHub event processed successfully
GitHub event converted to commands successfully
Lock team-<redacted>/<redacted>#00_myvm
2023/04/06 10:57:43 Error locking project: ResourceNotFoundException: Requested resource not found
Error: Process completed with exit code 1.

did you add your cloud provider keys as secrets in the action?
Yes using cloud creds of a supported provider and I share them as env vars.

Looking into it! Also created an issue to improve debuggability (above)
So far it seems to be coming from here: https://github.com/diggerhq/digger/blob/46a2a6d8dc45591c73885943a3faa97723f3cf43/pkg/digger/digger.go#L233
from there its either GCP locking provider or AWS locking provider that's throwing this error. We should capture this as debug info but for the time being need to resort to asking - which cloud provider are you using?

Ok we were able to isolate it to AWS locks implementation as the most likely source. It suggests that the DynamoDB table for locks likely wasn't created:
https://github.com/diggerhq/digger/blob/46a2a6d8dc45591c73885943a3faa97723f3cf43/pkg/aws/dynamo_locking.go#L50
One possible reason is the AWS keys not having enough permissions to do that. What is the scope of permissions for your AWS keys?

It has full access to the db, my guess it is trying to lock something that does not exist.

Okay then it's likely something wrong with the DynamoDB expression building here:
https://github.com/diggerhq/digger/blob/46a2a6d8dc45591c73885943a3faa97723f3cf43/pkg/aws/dynamo_locking.go#L43
We will obviously refactor this (#113) - but for the time being, can you share the entries that you have in your DynamoDB table currently?

I can't join your slack, it's limited to certain email addresses.  What I did find was the following in Dynamodb:
"<redacted>/<redacted>/<redacted>/<redacted>/00_myvm/terraform-bm.tfstate-md5"

Could it be that it can't detect the custom name of the state? terraform-bm.tfstate the -bm part I add with Terragrunt?

Maybe it could be related to me using this Terragrunt fucntion for the key path:
${path_relative_to_include()}

Hey @daanbosch I think there is a bug in dynamoDB creation I'm looking into it now and. I will keep you updated soon

Okay, it worked the second time, I can see it being locked now. However it is complaining that it can't find Terraform. Should I install this myself on the runner? Should I install Terragrunt?  I'm using an internal runner, because I need to access internal services.
time=2023-04-11T08:21:27Z level=error msg=exec: "terraform": executable file not found in $PATH
time=2023-04-11T08:21:27Z level=error msg=Unable to determine underlying exit code, so Terragrunt will exit with error code 1
2023/04/11 08:21:27 Error executing plan: error: exit status 1

@ZIJ I have the following:
      - uses: actions/setup-go@v4
        with:
          go-version: '>=1.20.3'

      - name: Setup Terragrunt
        uses<EMAIL_ADDRESS>        with:
          terragrunt_version: 0.45.0
          token: <redacted>

So yes, it should be installed I think? I'm using a Ubuntu based runner.

Okay, i added the following steps and now it works:

      - name: Create directory for digger
        run: |
          mkdir -p /usr/local/bin/
          sudo chown runner: /usr/local/bin/
          sudo apt-get update && sudo apt-get install -y gnupg software-properties-common
          wget -O- https://apt.releases.hashicorp.com/gpg | \
          gpg --dearmor | \
          sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg
          echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] \
          https://apt.releases.hashicorp.com $(lsb_release -cs) main" | \
          sudo tee /etc/apt/sources.list.d/hashicorp.list
          sudo apt update
          sudo apt-get install terraform

      - uses: actions/setup-go@v4
        with:
          go-version: '>=1.20.3'

      - name: Setup Terragrunt
        uses<EMAIL_ADDRESS>        id: setup_terragrunt
        with:
          terragrunt_version: 0.45.0
          token: ${{ secrets.GITHUB_TOKEN }}

      - name: Add Terrragrunt to path
        run: |
          echo "Adding the following to runner PATH" ${{ steps.setup_terragrunt.outputs.terragrunt_path }}
          echo ${{ steps.setup_terragrunt.outputs.terragrunt_path }} >> $GITHUB_PATH

      - name: digger tfrun
        uses: diggerhq/tfrun@feat/dynamo-table-creation
        env:
          GITHUB_CONTEXT: ${{ toJson(github) }}
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          terragrunt: true
          DEBUG: true

Now I run into my next problem, I'm trying to download a module from a different private repo. What would be the best approach to give access to the action?
error downloading 'ssh://git@github.com/my-org/my-module.git?ref=v0.0.2'

hey @daanbosch That's great that you got this far setting it up in the private runner. For private modules hosted on github my intiuition is that we need a way to get the ssh keys into your private runner. I'm going to do some more digging 🚚 and find out the options we have to set this up

@daanbosch I just checked the test, it seemed that plan worked but apply did not work but I didn't notice that it was stalled on entering a value 😅

@daanbosch to access private github modules we can pack this action (https://github.com/webfactory/ssh-agent#support-for-github-deploy-keys) as part of our action opaquely. You will still need to provide a deploy key, but no other setup will be required probably. Will this work for you?

Yes, it is exactly what I'm using at the moment


Remote Scanning on Ubuntu 22.04 Server Not Finding Active Processes

I reviewed JBOM a few months ago and it truly stands out from the crowd with the ability to scan active processes. I was able to scan active processes when the client / server were the same machine ( Ubuntu 22.04 Server ), but attempting to scan from another machine didn't work unfortunately.
Environment
Client: Windows 10 PC via PowerShell
Host: Ubuntu 22.04 LTS Server
To Replicate
Host

This is the example project I used. When testing locally I was able to generate an SBOM while this was running. I used mvn clean install to compile the .jar file, which I ran on the host machine

Client

I had the current latest jbom release (1.2.1) jar downloaded

Ran java -jar jbom-1.2.1.jar -h HOST_ADDRESS -U MY_USERNAME -P "PASSWORD" in PowerShell

Arguments spoofed for obvious reasons, but these were the correct login credentials to SSH into the host

Output

2023-02-08 17:03:22:832 TRACE --- [jbom]
2023-02-08 17:03:22:832 TRACE --- [jbom]                       _ __
2023-02-08 17:03:22:834 TRACE --- [jbom]                      () /  ____  ____ ___
2023-02-08 17:03:22:836 TRACE --- [jbom]                     / / __ / __ / __ `__
2023-02-08 17:03:22:837 TRACE --- [jbom]                    / / // / // / / / / / /
2023-02-08 17:03:22:838 TRACE --- [jbom]                 / /./_// // //
2023-02-08 17:03:22:839 TRACE --- [jbom]                /___/
2023-02-08 17:03:22:840 TRACE --- [jbom]
2023-02-08 17:03:22:840 TRACE --- [jbom]      by Contrast Security - https://contrastsecurity.com
2023-02-08 17:03:22:841 TRACE --- [jbom]
2023-02-08 17:03:22:842 TRACE --- [jbom]       jbom generates SBOMs for all JVMs running on a host
2023-02-08 17:03:22:843 TRACE --- [jbom]          https://github.com/Contrast-Security-OSS/jbom
2023-02-08 17:03:22:843 TRACE --- [jbom]
2023-02-08 17:03:22:844 TRACE --- [jbom] Analyzing remote JVMs on spudnik1.ddns.net
2023-02-08 17:05:11:762 TRACE --- [jbom] Connecting to HOST_ADDRESS
2023-02-08 17:05:14:700 TRACE --- [jbom] Generating 0 remote SBOMs
2023-02-08 17:05:14:701 TRACE --- [jbom] Remote Java process analysis complete
2023-02-08 17:05:14:701 TRACE --- [jbom] Saving SBOMs for HOST_ADDRESS to directory: PWD/jbom
2023-02-08 17:05:14:702 TRACE --- [jbom]
2023-02-08 17:05:14:702 TRACE --- [jbom] jbom complete

Running the commands the exact same on the host machine would result in the following:

2023-02-08 17:15:14:941 TRACE --- [jbom]
2023-02-08 17:15:14:944 TRACE --- [jbom]                       _ __
2023-02-08 17:15:14:944 TRACE --- [jbom]                      () /  ____  ____ ___
2023-02-08 17:15:14:945 TRACE --- [jbom]                     / / __ / __ / __ `__
2023-02-08 17:15:14:945 TRACE --- [jbom]                    / / // / // / / / / / /
2023-02-08 17:15:14:945 TRACE --- [jbom]                 / /./_// // //
2023-02-08 17:15:14:946 TRACE --- [jbom]                /___/
2023-02-08 17:15:14:946 TRACE --- [jbom]
2023-02-08 17:15:14:946 TRACE --- [jbom]      by Contrast Security - https://contrastsecurity.com
2023-02-08 17:15:14:947 TRACE --- [jbom]
2023-02-08 17:15:14:947 TRACE --- [jbom]       jbom generates SBOMs for all JVMs running on a host
2023-02-08 17:15:14:947 TRACE --- [jbom]          https://github.com/Contrast-Security-OSS/jbom
2023-02-08 17:15:14:948 TRACE --- [jbom]
2023-02-08 17:15:14:948 TRACE --- [jbom] Analyzing remote JVMs on spudnik1.ddns.net
2023-02-08 17:15:21:428 TRACE --- [jbom] Connecting to HOST_ADDRESS
2023-02-08 17:15:36:266 TRACE --- [jbom] Generating 1 remote SBOM
2023-02-08 17:15:36:278 TRACE --- [jbom]   - PWD/jbom-HOST_ADDRESS-PID.json
2023-02-08 17:15:36:279 TRACE --- [jbom] Remote Java process analysis complete
2023-02-08 17:15:36:279 TRACE --- [jbom] Saving SBOMs for HOST_ADDRESS to directory: PWD/jbom
2023-02-08 17:15:36:279 TRACE --- [jbom]
2023-02-08 17:15:36:280 TRACE --- [jbom] jbom complete

Hmm... so if you run it across the network it fails, but if you run it locally (but still use -H) it works.   A network connection failure would explain the issue.  Could you:

confirm that SSH works to log into the host from where you're running jbom
try it with the -D flag to see if there are any clues there


Expanded Shell Integration Example

I took some of your shell examples and combined/expanded them into a full zsh plugin.  It might also be source-able from bash, but I have not tested it this way.
We could link it in the README as an additional example, if you were so inclined.
Thanks for making such a cool game!

This look nice, thanks!
This would definitely be a nice a addition to the shell integration guide. If you want you could send a PR adding your plugin as example.zsh as already done for bash and fish or, if you prefer to keep it as a separate repo, feel free to link it in the shell guide.

I've gone a bit more in-depth than that and built shell integration in bash, including an auto-battler:

# =============================
# PS1 builder

# my custom prompt
ps1_text="$USER in $PWD"
rpg_text=$(rpg-cli -q | sed<EMAIL_ADDRESS>| sed 'y/-x/╌━/')
length=$(( ${#ps1_text} - ${#rpg_text} ))

# pretty-print rpg-cli -q
format_rpg_text() {
  counter=0
  output_parts=""
  rpg -q | sed<EMAIL_ADDRESS>s/]\[/\n/g; s/x/═/g ; s/-/╌/g' \
  | while IFS= read -r part; do
    ((counter++))
    if [ "$counter" -eq 2 ]; then
      # Colorize '═' in green for Part 2
      colored_part=$(echo "$part" | sed 's/═/\'$(tput setaf 2)'&\'$(tput sgr0)'/g')
      colored_part=$(echo "$colored_part" | sed 's/╌/\'$(tput setaf 0)'&\'$(tput sgr0)'/g')
      colored_part+="]["
    elif [ "$counter" -eq 3 ]; then
      # Colorize '═' in blue for Part 3
      colored_part=$(echo "$part" | sed 's/═/\'$(tput setaf 4)'&\'$(tput sgr0)'/g')
      colored_part=$(echo "$colored_part" | sed 's/╌/\'$(tput setaf 0)'&\'$(tput sgr0)'/g')
      colored_part+="]["

    elif [ "$counter" -eq 4 ]; then
      # Colorize '═' in orange for Part 4
      colored_part=$(echo "$part" | sed 's/═/\'$(tput setaf 3)'&\'$(tput sgr0)'/g')
      colored_part=$(echo "$colored_part" | sed 's/╌/\'$(tput setaf 0)'&\'$(tput sgr0)'/g')

    else
      colored_part=$(echo "$part")
      colored_part+="]["
    fi

    # last minute color replace
    colored_part=$(echo "$colored_part" | awk '
    BEGIN {
      gray_code="\033[90m";
      reset_code="\033[0m";
    }

    {
      len = length($0);
      in_escape = 0;
      for (i = 1; i <= len; ++i) {
        char = substr($0, i, 1);
        if (in_escape) {
          if (char == "m") {
            in_escape = 0;
          }
        } else {
          if (char == "\033") {
            in_escape = 1;
          }
        }

        if (in_escape || (char != "[" && char != "]")) {
          printf "%s", char;
        } else {
          printf "%s%s%s", gray_code, char, reset_code;
        }
      }
      printf "\n";
    }')
    printf '%s' "$colored_part"
  done
}

# ignore ansi codes on charcount - not working correctly?
count_printable_chars() {
  local str="$1"
  local clean_str=$(echo -n "$str" | sed 's/\x1b\[[^a-zA-Z]*[a-zA-Z]//g')
  echo ${#clean_str}
}

# for right-align text
calc_space() {
  FORMATTED_RPG=$(format_rpg_text)
  FORMATTED_RPG_LEN=$(count_printable_chars $FORMATTED_RPG)
  length=$(( $COLUMNS - $FORMATTED_RPG_LEN + 10))
  PS1_SPACES=$(printf '%*s' $length "")
}

# runs before prompt is printed
PROMPT_COMMAND="calc_space"

# the prompt
PS1="\$PS1_SPACES"
PS1+="\$FORMATTED_RPG"
PS1+="\n╭ "
PS1+="\[\e[35m\]\[\e[95m\]\u"
PS1+="\[\e[35m\]\[\e[90m\] in "

# replace home dir with ~
PS1+="\[\e[92;1;3m\]\$(echo \$PWD | awk -v home=\$HOME 'BEGIN{FS=home;OFS=\"~\"} {if (\$1 == \"\") \$1=\"\"; print \$0}')/ "

# you can ignore this line if you don't have git_ps1 installed
PS1+="\[\e[0;36m\]\$(__git_ps1) "

PS1+="\n\[\e[0m\]└❱ "

# =============================
# helpers

# prompts for path creation if cd'd path does not exist
__mkcd() {
  \cd "$@" 2>/dev/null
  if [ $? -ne 0 ]; then
    read -p "Folder does not exist. Create it? (Y/n): " choice
    case "$choice" in
      Y|y|"") mkdir -p "$1" && \cd "$1";;
      *) echo "Not changing directory.";;
    esac
  fi
}

# =============================
# rpg-cli

rpg () {
    rpg-cli "$@"
    sync_rpg
}

# casual rpg cd
__cd () {
    __mkcd "$@"
    rpg-cli cd -f .
    rpg-cli battle
}

# full rpg cd override
# Try to move the hero to the given destination, and cd match the shell pwd
# to that of the hero's location:
# - the one supplied as parameter, if there weren't any battles
# - the one where the battle took place, if the hero wins
# - the home dir, if the hero dies
#
# cd () {
#     rpg-cli cd "$@"
#     builtin cd "$(rpg-cli pwd)"
# }

# look for loot
__ls () {
    command ls --color=auto "$@"
    if [ $# -eq 0 ] ; then
        rpg cd -f .
        rpg ls
    fi
}

alias cd=__cd
alias ls=__ls
alias l=ls

# auto-explore for battles and items
dn () {
    current=$(basename $PWD)
    number_re='^[0-9]+$'

    if [[ $current =~ $number_re ]]; then
        next=$(($current + 1))
        command mkdir -p $next && cd $next && rpg ls
    elif [[ -d 1 ]] ; then
        cd 1 && rpg ls
    else
        command mkdir -p dungeon/1 && cd dungeon/1 && rpg ls
    fi
}

# This helper is used to make the pwd match the tracked internally by the game
sync_rpg () {
    builtin cd "$($RPG pwd)"
}

# auto-battler
# look for fights, look for loot, go home, heal, repeat
rpg-battle () {
  clear
  while true; do
    rpg battle
    echo -e ""
    echo $(format_rpg_text)
    echo -e "\n"
    sleep 2
    __cd ~
    echo -e ""
    rpg ls
    echo $(format_rpg_text)
    echo -e "\n"
    sleep 2
    __cd -
    echo -e ""
    rpg ls
    echo $(format_rpg_text)
    echo -e "\n"
    sleep 2
    clear
  done
}

# only modify files if battle succeeds
alias rm="rpg-battle && rm"
alias rmdir="rpg-battle && rmdir"
alias mkdir="rpg-battle && mkdir"
alias touch="rpg-battle && touch"
alias mv="rpg-battle && mv"
alias cp="rpg-battle && cp"
alias chown="rpg-battle && chown"
alias chmod="rpg-battle && chmod"


Fix generation of projections for cycles within the same query.

@srinivasankavitha is this a fix related to #31 ?

@marceloverdijk - No this is to fix a different issue related to cycles in the schema. The issue you reported is a separate bug that this PR won't fix.


FAQ redirecting to german homepage when app uses English version.

Describe the bug
Currently using an iOS in English. Whenever I click the FAQ section, I am redirected to the german version of the page.
Expected behaviour
If I am using the english version, I should be redirected to the english website of the Bundesregierung.
Steps to reproduce the issue

Set the iPhone language to English
Open Corona-Warn-App
Click on FAQ

Technical details

Host Machine OS (Windows/Linux/Mac):

Possible Fix

Additional context

Already fixed in #644
Will be included in the next update.


Can't install node-sass on Ubuntu (err 405)

NPM version (npm -v): 5.6.0
Node version (node -v): v10.1.0
Node Process (node -p process.versions):

    { http_parser: '2.8.0',
  node: '10.1.0',
  v8: '6.6.346.27-node.6',
  uv: '1.20.2',
  zlib: '1.2.11',
  ares: '1.14.0',
  modules: '64',
  nghttp2: '1.29.0',
  napi: '3',
  openssl: '1.1.0h',
  icu: '61.1',
  unicode: '10.0',
  cldr: '33.0',
  tz: '2018c' }

Node Platform (node -p process.platform): linux
Node architecture (node -p process.arch): x64
node-sass version (node -p "require('node-sass').info"):
npm node-sass versions (npm ls node-sass):

I have been trying to install node-sass on my UBUNTU 14.04 and I keep getting a 405 err message:
$ npm install node-sass
npm ERR! code E405
npm ERR! 405 Method Not Allowed: node-sass@latest

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/puh4o/.npm/_logs/2018-06-30T15_30_59_185Z-debug.log

This is the debug log I receive :
https://gist.github.com/ZPPD/6c5970ad6da685e94e374f407330373d

This sounds like a general network/npm issue like https://stackoverflow.com/questions/48915738/npm-err-405-method-not-allowed-expresslatest rather than a problem with node-sass


[BUG] help me pls

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

What problem did you encounter?
I can´t run bloxtrap
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.
[Inner Exception]
System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception.
[Inner Exception]
System.ComponentModel.Win32Exception: Não há suporte para a função solicitada
Bloxstrap Log

judging by the error, it's probably time for you to update your system (i'm guessing 7 doesn't support modern SSL/TLS anymore or something like that? seeing as the top exception is ssl-related)
would also be nice if you sent the full log file instead of a screenshot and a snippet

this guy opened two issues.

judging by the error, it's probably time for you to update your system (i'm guessing 7 doesn't support modern SSL/TLS or something like that? seeing as the top exception is ssl-related)
would also be nice if you sent the full log file instead of a screenshot and a snippet

It's a theme.


Verify that azd pipeline config works

May need to configure key vault access specially.

Hello @pamelafox
I am getting the following error when using the github workflow. When I am using azd up the infra provisoning works correctly.
`Run azd env set CREATE_ROLE_FOR_USER false --no-prompt
Creating Python virtual environment in .venv...
Installing dependencies from "requirements.txt" into virtual environment (in quiet mode)...
INFO     Loading azd env from                                auth_common.py:189
/home/runner/work/timescale-app-auth-builtin/timesc
ale-app-auth-builtin/.azure/timescale/.env
INFO     Setting up authentication for tenant None             auth_init.py:290
INFO     Using Azd CLI Credential for tenant_id None           auth_init.py:281
INFO     Detected a tenant of type: None                       auth_init.py:301
ERROR    Error occurred:                                       auth_init.py:326
APIError
Code: 400
message: None
error: MainError(additional_data={},
code='BadRequest', details=None,
inner_error=InnerError(additional_data={},
client_request_id='477fb763-3232-429e-b6eb-623c2bfa8c
1e', date=DateTime(2024, 9, 1, 11, 21, 3,
tzinfo=Timezone('UTC')), odata_type=None,
request_id='48faff26-c804-4b5b-bbc0-014e5ce4d412'),
message='/me request is only valid with delegated
authentication flow.', target=None)
ERROR: failed running pre hooks: 'preprovision' hook failed with exit code: '1', Path: './scripts/auth_init.sh'. : exit code: 1`