Assignment 3

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
adding code for model pipeline and hyperparameters
What did you learn from the changes you have made?
transforming model features and executing changes
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[ ] I can confirm that my changes are working as intended

thanks for the feedback. should a linear regression be used in the baseline regresson?

@namraschazil yes

I have made changes to the code to the best of my understanding :) would appreciate if you could check

your grid search is not initialized correctly :
param_grid_A = {
'memory':[None]
}
you're not giving parameters to search on, so there is an issue in the grid. there might also be an issue in the RobustScaler parameters and OneHotEncoder parameters, you are using way too much of them and not in the good way. make sure you understand each parameter you're using and why you are using it and why you set it that way, or use the ones Jesús showed in class/in the labs.

edited the parameters now. I found the previously used hot encoding parameters in the scikitlearn documentation but need to study them deeper.

you should also change your grid search parameters, memory itself is not enough...

i have added the changes to the gridsearch. I would appreciate if you could review the changes and the assignment please.


Add an alias for upstream

WHAT
Added an alias for upstream.
WHY
git plugin does not have that so far, so I'd like to use it.

@robbyrussell How about changes?

@robbyrussell Thanks for quickry merging :smile:


Can't see preferences icon (Arch Linux)

As I'm new user of Apricity (based on Arch - I was using Elementary until now), I realized that preferences icon is not showing well.

That means that the icon is missing from your icon theme.

I tried all icon themes I have installed and none of them are showing this icon :/

what your theme is missing is the open-menu icon and the preferences-system icon (which is used as fallback). I am not sure if open-menu is a standard theme icon so you should talk to the theme creators before reporting a bug. If you want a quick solution get the icons from the elementary theme, minor amount of grepping required

You're right. I was using an old set of Elementary icons. With the new one seems to be perfectly working. Anyway seems to be the only set of icons that show correclty the preferences, maybe should try to use a different (more generic?) icon.
Many thanks for the response again, and for building such an amazing software and release it as open source!! :)

can you confirm from the latest master branch?

Tried from here: https://aur.archlinux.org/packages/markmywords-git not sure it compiles the last version but I think it does.

Sorry I'm not a developer, not even engineer, so I can't go further. Thanks for the response again, and for doing this great program.


DevTunnel and how to create speech file

Added clarity on creating dev tunnel, added links how to create a wav file, calrified what needs to be changed in porgam.cs #sign-off

Learn Build status updates of commit 7ecb4c5:
:warning: Validation status: warnings

File
Status
Preview URL
Details

articles/communication-services/quickstarts/call-automation/includes/callflow-for-customer-interactions-csharp.md
:warning:Warning

Details

articles/communication-services/quickstarts/call-automation/includes/callflow-for-customer-interactions-csharp.md

Line 55, Column 16: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/connectors/custom-connectors/port-tunneling' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 61, Column 32: [Warning: hard-coded-locale - See documentation] Link 'https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-audio-content-creation' contains locale code 'en-us'. For localizability, remove 'en-us' from links to most Microsoft sites.
Line 55, Column 16: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/connectors/custom-connectors/port-tunneling' will be broken in isolated environments. Replace with a relative link.
Line 61, Column 32: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-audio-content-creation' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 852ad06:
:bulb: Validation status: suggestions

File
Status
Preview URL
Details

articles/communication-services/quickstarts/call-automation/includes/callflow-for-customer-interactions-csharp.md
:bulb:Suggestion

Details

articles/communication-services/quickstarts/call-automation/includes/callflow-for-customer-interactions-csharp.md

Line 55, Column 16: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/connectors/custom-connectors/port-tunneling' will be broken in isolated environments. Replace with a relative link.
Line 61, Column 32: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/azure/cognitive-services/speech-service/how-to-audio-content-creation' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Dexter to suggest to create or to create an extended statistics entry about a functional dependency

This is perhaps out-of-scope but still worth mentioning as a nice feature:
Optimization assumes that column are independent, so a query plan can go wrong not because of a missing index, but because the optimizer doesn't know about functional dependencies (FD) between columns.
Real world datasets often have FD between columns because of denormalization or just because the data is like this.
PostgreSQL offers CREATE STATISTICS on functional dependencies and there are attempts to detect those, like fdtool (with paper) or this tool. Actually, this potentially hard problem to find FDs in a table/entity becomes linear, if applied only to given slow queries - as Dexter does!
Expected behaviour:
Looking e.g. at this test database from ATP tennis tour given a slow query involving tourney_id, tourney_name in the WHERE clause, Dexter could suggest to do a CREATE STATISTICS on tourney_id, tourney_name like this:
create statistics atp_matches_2019_tourney_id_tourney_name (dependencies)
	on tourney_id, tourney_name
	from atp_matches_2019;

analyze atp_matches_2019; -- update extended statistics

select * from pg_statistic_ext; -- now shows the entry of "atp_matches_2019_tourney_id_tourney_name"

Thus, hoping that the planner next time considers this dependency.
BTW: CREATE STATISTICS currently also supports ndistinct, which enables n-distinct statistics, and mcv which enables most-common values lists.

Hey @sfkeller, thanks for the suggestion and the links! If there's an extension to add hypothetical statistics, I think Dexter could use the same approach it uses for indexes. I'm not sure how difficult hypothetical statistics are, but may be worth suggesting to HypoPG.

I'll suggest hypothetical statistics to HypoPG - and eventually come back to this issue, if there's any response over at HypoPG.


Enabling RealSize field in protov3.MetricDetails and switching Size a…

…nd RealSize
With introduction of RealSize it is possible to see both Size and RealSize of
sparse files, for examle in /metrics/details/?format=json.
Note: In case of full file allocation the RealSize can be bigger then the Size
because of the way filesystem allocates space on a disk.
linux stat utilities returns for test.wsp :
Size: 662440 Blocks: 16
/metrics/details will return:
Size: 662440 RealSize: 8192
where the RealSize is calculated as Blocks * 512

@Civil


When tenant label is set on a NetworkPolicy, modifying isn't allowed

Bug description
When the label capsule.clastix.io/tenant: [tenantname] is set on a networkpolicy, deletion and patching isn't possible as a tenant admin.
How to reproduce
Steps to reproduce the behavior:
We've reproduced this in our production environment (Capsule on OpenShift), but also on a clean Kind cluster and installed with the basic setup from the quick start.
The networkpolicy:
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
  name: test-netpol
  namespace: oil-production
  labels:
    capsule.clastix.io/tenant: oil
spec:
  policyTypes:
    - Ingress

The creation of this networkpolicy works, but patching and deletion isn't working. This is executed as Tenant Admin (in the tutorial as user alice).
 ~ % kubectl delete -f ./test-netpol.yml
Error from server (Forbidden): error when deleting "./test-netpol.yml": admission webhook "networkpolicies.capsule.clastix.io" denied the request: Capsule Network Policies cannot be deleted: please, reach out to the system administrators

~ % kubectl delete netpol test-netpol -n oil-production
Error from server (Forbidden): admission webhook "networkpolicies.capsule.clastix.io" denied the request: Capsule Network Policies cannot be deleted: please, reach out to the system administrators

The same happens when we try to edit the networkpolicy instead of deleting:
 ~ % kubectl edit netpol test-netpol -n oil-production
error: networkpolicies.networking.k8s.io "test-netpol" could not be patched: admission webhook "networkpolicies.capsule.clastix.io" denied the request: Capsule Network Policies cannot be updated: please, reach out to the system administrators

Only solution is to delete the tenant label from the networkpolicy as a cluster admin.
Expected behavior
Patching or deleting the NetworkPolicy should be possible and not be rejected by Capsule.
Logs
2024-04-30T09:04:10.890Z	DEBUG	events	NetworkPolicy oil-production/test-netpol cannot be deleted	{"type": "Warning", "object": {"kind":"Tenant","name":"oil","uid":"f3c54418-213c-434c-a3bc-6c68fcae5850","apiVersion":"capsule.clastix.io/v1beta2","resourceVersion":"2450"}, "reason": "NetworkPolicyDeletion"}
2024-04-30T09:05:05.963Z	DEBUG	events	NetworkPolicy oil-production/test-netpol cannot be deleted	{"type": "Warning", "object": {"kind":"Tenant","name":"oil","uid":"f3c54418-213c-434c-a3bc-6c68fcae5850","apiVersion":"capsule.clastix.io/v1beta2","resourceVersion":"2450"}, "reason": "NetworkPolicyDeletion"}
2024-04-30T09:07:31.818Z	DEBUG	events	NetworkPolicy oil-production/test-netpol cannot be updated	{"type": "Warning", "object": {"kind":"Tenant","name":"oil","uid":"f3c54418-213c-434c-a3bc-6c68fcae5850","apiVersion":"capsule.clastix.io/v1beta2","resourceVersion":"2450"}, "reason": "NetworkPolicyUpdate"}

Hi, that's as intended. It arises the question why you at the tenant label to a netpol, it doesn't really do anything except allowing the behavoir you are reporting. This label should be set on resources which are reconciled by the controller. Without it it will just work.
I see your point, it's a bit ugly. But Also we are going to deprecate the netpol feature in the stable release in favour of tenantReplications:
https://projectcapsule.dev/docs/tenants/replications/

Thanks for the reporting, @sandert-k8s.
As Oliver, pointed, the idea is to shift these resources handling to the Global Tenant Resource API which is able to replicate objects without a complicated logic across the Tenants: it would ne very valuable your feedback about this, also considering that resources replicated with that API are immutable for tenant owners, but happy to chat more.
Besides that, I'm happy seeing Capsule used on OCP, wondering if we could connect on the Slack workspace to gather more details about it, hope we can continue there to avoid polluting the GH issue.

Thanks for your fast replies Oliver and Prometherion.
Check, if this is as desired, we will use a other label instead of this one.
Some background info: We added this label on every resource in a tenant (done by Kyverno), so we can filter on labels to get every resource within a tenant, and for example for multitenant log shipping. If this is not recommended to do with the Callastix label, we'll just move to a new label.
And sure, we can connect in Slack. I'll drop a message in a bit.

Will be fixed because this might lead to errors with the capsule-proxy enabled


add json export cheat. rework of external modules

this branch is about how to work with modules they hosted not in the repository. (as usual)
so we added a new flag for local modules in the modules.yml
and fitted the logic in contxt.yml too.
also we create a vs-code workspace file (git ignored) that will include any external repo we have in the modules file
for creating them, we added also the export-to-json cheat, so we can create the workspace file out of an yaml file

close #82


eUPF in Google Cloud Services

[x] Explore GCP capabilities/features required
[x] Try to deploy eUPF in Google Cloud Services
[x] Prepare brief report

can we deploy eUPF to GKE cluster?

yes, kernel version is 5.15

can we use host network?

yes

can we use privileged container?

yes

can we use host nat?

no, GKE not support multus

ca we use container nat?

no, GKE not support multus?

Разворачивание eUPF в Google Cloud Platform (GCP).docx


Could not found window._sharedData

Describe the bug
instaloader --fast-update --login=karelwintersky arend_the_elf

...

Logged in as karelwintersky.
JSON Query to arend_the_elf/feed/: Could not find "window._sharedData" in html response. [retrying; skip with ^C]
JSON Query to arend_the_elf/feed/: Could not find "window._sharedData" in html response. [retrying; skip with ^C]
Trying to find profile arend_the_elf using its unique ID<PHONE_NUMBER>.
Profile arend_the_elf has changed its name to arend_the_elf.
JSON Query to arend_the_elf/feed/: Could not find "window._sharedData" in html response. [retrying; skip with ^C]
JSON Query to arend_the_elf/feed/: Could not find "window._sharedData" in html response. [retrying; skip with ^C]
Profile arend_the_elf does not exist.
The most similar profile is: arend_the_elf.
Trying again anonymously, helps in case you are just blocked.
Warning: arend_the_elf will be downloaded anonymously ("Profile arend_the_elf does not exist.
The most similar profile is: arend_the_elf.").

and so on for each account

Duplicate of #1553.

Please do not spam the issue list. Use the linked issue #1553 for this problem (I know the title isn't very speaking, but I can't change it).


Update links on where to download Docker

Since the hub Onboarding overlay links back to the docs, it just becomes a logical loop.
I've updated the links to link to each product's edition on the hub, rather than the onboarding overlay

I haven't understood the problem with the current URL. I was able to download Desktop from there with no loop.

It's been fixed in the onboarding overlay since I made the PR ¯\_(ツ)_/¯

Ah, that explains it! Thanks.


Adds travis jobs on ppc64le

This PR adds power support on travis.

This is part of the Ubuntu distribution for ppc64le. This helps us simplify testing later when distributions are re-building and re-releasing,For more info tag @gerrith3.

Please review this merge. I am waiting for your response.

@danez Waiting for your response for merge ppc64le code.


Added tags and categories

Just a showcase - these will be important for searching and such later on

Added wappalyzer and nmap


Front-end: disable interface file locking for the -compile-module-from-interface action

The situations where we use this action, e.g. explicit module building and
generating prebuilt module cache, don't need synchronization. We should avoid
using lock files for them.
rdar://65005528

@swift-ci please smoke test


Configure CircleCI for tests and purescript/typescript builds

We should be able to have Purescript and Typescript in uqcsbot too. Get CircleCI to build these things.

You can now write Purescript for uqcsbot by adding your script that takes a Robot and produces effects to the scripts list in purescript/Main.purs, and typescript by having a .ts extension on your files in the standard scripts directory.


Pagination too close

My design is messing with the pagination buttons and as a result are too close together (circles are touching). Is there a way to increase this spacing between the two?
Other than that, this plugin works like a charm!
Thanks very much.
Screenshot:

I just tried overriding the CSS with the following code, and it didn't work:
  .swiper-pagination-bullet     margin-right: 10px !important

You need to make sure you can control the class name of swiper-pagination
You can give the css style to the style by giving swiper-pagination and your own child elements
The example you give is most likely because you use the scoped tag in the host component, which causes the design style in the component to not be applied to the subcomponent
You can override the swiper-pagination css by removing the scped tag or adding the global css

Like this example:
https://github.com/surmon-china/vue-awesome-swiper/blob/master/examples/29-custom-pagination.vue

Incidental issues, temporarily closed, if there are similar problems please reopen.


analyze_pg refactor

Pull Request Etiquette doc
Purpose
This draft PR in its current form serves as a major effort for analyze_pg refactor (see #323). There are two plots we would like to keep and decouple from analyze_pg together with all the corresponding support calculations, such as input data preparation and formatting:
a. time series generation stack plot
b. time series curtailment plot
One major purpose of this draft PR is to setup an example/standard of plot function implementation in PostREISE so that the code could be useful in many situations, such as informal analysis, formal report generation and front end redistribution, to reduce duplicated efforts. This could be a long term iterative process.
What the code is doing
Time series generation stack plot and time series curtailment plot are decoupled from analyze_pg and implemented independently in plot_generation_ts_stack.py and plot_curtailment_ts.py. All support calculations are implemented in different functions and put into proper folders in the current architecture.
to-dos:

[ ] add tests for support functions once finalized.
[x] implement time series curtailment plot in a similar way.
[ ] address comments and potentially conduct major refactor to make it compatible with front end tools.
[ ] update doc strings and readme if necessary.
[ ] retire analyze_pg officially

Testing
Integration tests are conducted in the corresponding demo notebooks. The new code generates exactly the same plots as we used in the seams study report.
Where to look
Almost everywhere
/postreise/analyze/demand.py
/postreise/analyze/helpers.py
/postreise/analyze/generation/summarize.py
/postreise/analyze/generation/capacity_value.py
/postreise/plot/plot_generation_ts_stack.py
/postreise/plot/plot_curtailment_ts.py
/postreise/plot/demo/plot_generation_time_series_stack_demo.ipynb
/postreise/plot/demo/plot_curtailment_time_series_demo.ipynb

plot_generation_ts_stack.py and plot_curtailment_ts.py contain the main body of the plot code.
Usage Example/Visuals
See plot_generation_time_series_stack_demo.ipynb and plot_curtailment_time_series_demo.ipynb
Time estimate
1 hour or more. We would like to dive into details of this PR to come up with a plot function implementation standard, which makes the code useful in multi situations.

I've gone through all the code so far, the analysis functions are nice and modular and the plotting code is pretty straightforward. I added a few comments where I think things could be a little simpler/clearer, but overall I think this is looking very good.

I've gone through all the code so far, the analysis functions are nice and modular and the plotting code is pretty straightforward. I added a few comments where I think things could be a little simpler/clearer, but overall I think this is looking very good.

@rouille All comments are addressed. Tests for new functions are added. This branch is rebased to the latest develop and commit history is cleaned up. Will update Readme after we retire analyze_pg completely. Is this a good point to coordinate with the website team and get their suggestions, or this should be handle in a new PR?

@rouille All comments are addressed. Tests for new functions are added. This branch is rebased to the latest develop and commit history is cleaned up. Will update Readme after we retire analyze_pg completely. Is this a good point to coordinate with the website team and get their suggestions, or this should be handle in a new PR?


Intercept req/resp bodies as streams.

This would allow people to manipulate source streams directly, as in:
proxy.intercept({
  phase: 'response',
  as: 'stream'
}, function(req, res) {
  resp.stream = resp.stream.pipe(myTransformStream);
});

This is more complicated than I thought because of timing issues.


Request for unknow-status icon inside a circle

Select one ...  (check one with "x")
[ ] bug
[x] feature request
[ ] enhancement

Expected behavior
Can we get an icon for unknown status inside a circle as well?
It looks odd when we represent status with all the others(as shown below)
Similar to

Actual behavior
current Icon:

Reproduction of behavior
Environment details

Angular version: 4.x.x

**Clarity version:**0.11.x

OS and version:

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

@lil-kim: Could you please take a look at this?

@lil-kim Agreed. This works for us.
As suggested please add a tag for this icon.
You could close this issue.

@shijir: I will keep this open as an enhancement to the website. Could you please tackle this?


Let MANIFEST be created from MANIFEST.in automatically.

There is no need to hardcode the MANIFEST file as distutils/setuptools will
automatically create it from a MANIFEST.in template.
This also adds README.md to the shipped files as it is currently missing in the
tarball present on PyPI.

@luzfcb That's not really necessary. Those graft and global-exclude commands would only make sense if there was a greedy recursive-include dir * in there (e.g. for a docs/ folder structure).

this was the standard that has been used in own django
https://github.com/django/django/blob/master/MANIFEST.in
introduced in https://github.com/django/django/commit/93fc23b2d542105f5d129dff2dd2c8895e9abd5d
I suppose if I do not include graft webpack_loader, the webpack_loader folder should not be included in the generated package ( not tested, I need to confirm this )
said that, as you are modifying the generation of the package, It would be good to include zip_safe=False, in setup.py, to force not install the package as an compressed .egg file, because django does not work well with packages in compressed .egg format

@luzfcb graft webpack_loader is not necessary, because that's the responsibility of setuptools when using the MANIFEST.in template to create the final MANIFEST file. All the packages listed by setup.py in packages = [...] are inserted in the final file. So there is no need for graft, it happens automatically.
zip_safe=False mandatory if your package tries to use any datafiles shipped with it during runtime. This is not the case for django-webpack-loader.
If you want a quick way to verify that my changes are correct, merge my branch and run python setup.py sdist; tar tfz dist/*.tar.gz to see the content of the source tarball that would be uploaded to PyPI.

Looks good.  Could you please rebase on latest master so we remove conflicts and we'll go ahead and merge this.

@owais thanks, rebased my branch as requested.

Thank you


Fix WASM size issues

WGPU seems to want input types to be a multiple of 16 on WASM. This may not be the desirable approach, but it's a start.

Hi, thanks for the PR!
Could you let me know what the symptoms are without the padding?
I'm trying to figure if there is a way to either easily check for this issue, or maybe even test for it.


Error while configuring nginx with modsecurity dynamic module

Downloaded the latest Modsecurity-nginx code.
Configured the nginx 1.14.0 source code using below command
sudo ./configure --with-compat --add-dynamic-module=../ModSecurity-nginx
Got the below error.
../ModSecurity-nginx/src/ngx_http_modsecurity_module.c: In function ‘ngx_http_modsecurity_create_ctx’:
../ModSecurity-nginx/src/ngx_http_modsecurity_module.c:258:35: error: implicit declaration of function ‘msc_new_transaction_with_id’ [-Werror=implicit-function-declaration]
ctx->modsec_transaction = msc_new_transaction_with_id(cf->modsec, loc_cf->rules_set, (char *) s.data, r->connection->log);
Few months back I could successfully run this command. I compared the latest Modsecurity-nginx code with the previous one. There are some modifications in code in lines with the above error.
Is there a bug in the code or am I missing something.

Hi @AnnuA,
Please upgrade to the latest libModSecurity: https://github.com/SpiderLabs/ModSecurity/releases/tag/v3.0.3


How to get chinese template.soy

The template.soy files provide the page structure for all languages.  During compile, the translations are injected into that structure from the relevant JSON files:
https://github.com/google/blockly-games/blob/master/json/zh-hans.json
https://github.com/google/blockly-games/blob/master/json/zh-hant.json


dev-box should stick to right version instead of latest version

below script is used as init script of dev-box, and it check out latest tag always. So, if user wants to use dev-box of 0.11.0, but it still use latest dev-box like 0.12.0. it's confusing. For dev-box, it should checkout current released tag, and not to latest version.
https://github.com/Microsoft/pai/blob/7ffc1df7ecd495ec6b476e50fac9f543da2a5c31/src/dev-box/build/start-script.sh#L24

https://github.com/microsoft/pai/blob/master/src/dev-box/build/start-script.sh#L22


Discuss how ranking system could be implemented

[1] Where can data be stored :fire:
[2] How can rank level up :fire:
[3] How to show users when they rank is leveled up :fire:

[3] How to level up?
Well... What exactly do you want to encourage using a ranking system??
What do you want to be more interactive(gamified)?
Usually in discord servers the Leveling/Ranking system would be to "gameify" keeping the chat active
If you choose this route:
this would mean each message each day you could get a certain amount of points towards your rank.

For now my intention is to let discord server admins decide how the ranking system will work on their server. For now I came up with some ideas of possible options:

To give "rank points" to server members for writing messages;
To add commands which can be executed by members with some roles to "add" and "subtract" certain quantity of "rank points";

Talking about what roles will serve for:

Just for fun, to have levels up to 100 and certain quantity needed to reach each of them;
To give roles for some actions (contributing to discord community in this server, uploading useful information(such as links, images, posts) and some other stuff) (Suits better for second option of ranking systems and in my opinion is better for discord communities that are gathered around some general topic (maintainers or contributors of a github projecs and so on);


Update _variables.scss

Fixed spelling mistake. Changed table of "ontents" to "Contents".

Thanks!

@hnrch02 Remember to set the Milestone when merging

@cvrebert Sorry, guess I need to get used to certain things again :smile:


create-package scripts don't execute node scripts on windows

This might be a windows specific issue, but running yarn create-package etc. doesn't do anything unless I edit the package and add node before the script file in question.
 "create-package": "node ./tools/create-package.js",
 "create-package:components": "node ./tools/create-package-components.js",

Version: Master Branch
Operating System: Windows 10, Yarn 1.12, Node 8.11.2

Thanks for posting your issue! I am not quite sure what would be required to make this work for Windows. #!/usr/bin/env node is present at the top of the file—do you know what is required to make this work on Windows?


New Core Feature: Delete posts

Users should be able to delete their own ports, or admins and moderators can do it as well.

The Message model already has an is_visible flag... we may want to change this to a 'state' field, with 'deleted' and 'moderator hidden' as options.


Use getopt style short/long argument flags

@patrislav1 What do you think? make it behave more similar to other tools...  a bit annoying the flag package don't support long options

you mean like python argparse? yes would be nice
isn't there a golang equivalent for it?

oh I see you already implemented it :open_mouth:
I mean it would even better to have short aliases for common stuff like -s, --charboxsize Character box size etc. but don't know how straightforward it is to implement

Yeap! im using https://github.com/rsc/getopt that support short/long but now i noticed that the standard library flag package do seem to allow --flag and --flag= and can probably workaround support short flag also. So maybe can skip using the getopt package. Will have a look.
Ideas for other short flags to support? maybe also if some flags should be renamed?

Replaced by #34


.numpy() was missing in code example: tf.add(1, 2).numpy()

I have signed the CLA

Accidentally closed the pull request; reopening it.


signal-desktop: 5.34.0 -> 5.35.0

Description of changes
updated Signal Desktop to newer version: https://github.com/signalapp/Signal-Desktop/releases/tag/v5.35.0
There are some additional changes made by the auto-formatter. If preferred, I can edit it so it only changes the version string and hash.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

There are some additional changes made by the auto-formatter. If preferred, I can edit it so it only changes the version string and hash.

I always prefer to have such formatting changes in a dedicated commit. Otherwise the diff gets pretty "useless".

There are some additional changes made by the auto-formatter. If preferred, I can edit it so it only changes the version string and hash.

I always prefer to have such formatting changes in a dedicated commit. Otherwise the diff gets pretty "useless".

(Edit: Oh, wow, the GitHub web UI now posts comments twice?!? That's a new one...)

I think that happens more often when you have bad internet or your client is lagging.

I always prefer to have such formatting changes in a dedicated commit. Otherwise the diff gets pretty "useless". (Edit: Oh, wow, the GitHub web UI now posts comments twice?!? That's a new one...)

Got it! I'll undo it and do a force push :)

Thanks :)
@ofborg eval
@ofborg test signal-desktop
(eval seems to be stuck...)


User Story: Profile

As a verified user, I can update my profile, so that I can provide other users with information about myself.
Acceptance Criteria:

Users can update their profile
Other users can view a user's profile
Only the user to whom the profile applies may edit the profile

Tasks:

[x] Add user profile view
[x] Add user profile edit view

Estimate (XS, S, M, L, XL): L

Added in 1593d56

Closed as part of Merge pull request https://github.com/ibuttimer/recipes-n-stuff/pull/20 from ibuttimer/iteration_1


Merge install_local_cset into build_conda so environment is setup in a single cylc task

The install_local_cset script was converted to bash as part of this.
This means we only have a single job for environment setup, and test that the environment actually works as part of that.
We also skip copying non-git hidden files when installing local CSET, as they can often include large things like conda environments that slow the script significantly.

Contribution checklist
Aim to have all relevant checks ticked off before merging. See the developer's guide for more detail.

[ ] Documentation has been updated to reflect change.
[ ] New code has tests, and affected old tests have been updated.
[x] All tests and CI checks pass.
[x] Ensured the pull request title is descriptive.
[ ] Conda lock files have been updated if dependencies have changed.
[x] Attributed any Generative AI, such as GitHub Copilot, used in this PR.
[x] Marked the PR as ready to review.

GitHub Copilot was used in this PR.

Thanks. Missed that when I pulled this out of #765.


QS: Classic GPS Tile

This commit adds a classic GPS QS tile to control only the GPS state,
regardless network location settings.

No need for this .we need tri state location for current location tile.one more location/gps tile will cause extra io on system .sorry

No problem. :) I've use this solution for years (starting from Kit-Kat), I didn't notice any problems. I just thought I will contribute back.
I hope it's not a problem if it stays on my github and I will use my own unofficial build (I won't publish it anywhere).

Sure no problem


Wrong enum argument is taking too much energy

### Problem:
My contract uses solidity version 0.5.15.
Sample code:
pragma solidity ^0.5.15;

enum Direction {
        HEAD,
        TAIL
    }
...
function betInstantTrx(Direction dir) external payable returns (uint result, bool isWin, uint payout, uint multiplier)
    {
        address payable gambler = msg.sender;

// Send the funds to gambler.
        sendFundsTrx(gambler, payout == 0 ? 0 : payout);
    }

So the enum Direction can be parsed with 0 or 1. But when I tried to pass a wrong value (ex: 2), it costs huge energy for a failed transaction. Can anyone have the explanation? Thanks. (and I'm sorry if it might be inappropriate to ask this question here)

This is not caused by passing wrong value. It should be the use of assert() in the code.
ref: https://docs.soliditylang.org/en/v0.5.15/control-structures.html#error-handling-assert-require-revert-and-exceptions


Feature Request: accept markdown format like this: ```mermaid (also plantuml in the similar format)

I am unsure whether this request should be filed with https://github.com/vsch/flexmark-java or this project. The feature requested is to enable support for Mermaid, and PlantUML in the github/gitlab format.
Sample PlantUML/Kroki/Mermaid codes can be found in this gitlab link.
This request is not because I dislike the <foreign> tag, but rather because having the ability to render diagrams on github/gitlab is crucial for workflows based on their features.
For comparison, examples of using <foreign> versus using the github format are here:
Using github format:
https://github.com/TokenScript/documents/blob/6604b1453c7845ddf84aa475928a261290c56893/src/usecase/guide/air.cab.md#instantiation-process
Using <foreign> format:
https://github.com/TokenScript/documents/blob/50d775de825502a2a42f6a0da7115ebc5c152a73/src/usecase/guide/air.cab.md#instantiation-process

This particular "dita-ot-diagrams-plugin" plugin adds xslt processing which matches the DITA XML "foreign" element with various output class values and produces the diagrams from it.
When you have Markdown content referenced in a DITA Map, the DITA Open Toolkit has a pre-installed plugin:
https://github.com/jelovirt/org.lwdita
The job of this "org.lwdita" plugin is to dynamically convert Markdown to DITA XML content while publishing. It uses the Flexmark engine to accomplish this.
So my "dita-ot-diagrams-plugin" plugin applies its processing later on in the publishing stage, when the Markdown has been converted to DITA XML by the "org.lwdita".
I tried this experiment:

Created a DITA Map which refers to a Markdown file containing a small Plantuml graph inside in Markdown format:
     # Title

     Text
     ```plantuml
     Alice -> Bob: Authentication Request
     Bob --> Alice: Authentication Response

     Alice -> Bob: Another authentication Request
     Alice <-- Bob: Another authentication Response
     ```

Published the DITA Map to HTML5 setting the "clean.temp=no" parameter.

After publishing I looked in the transformation temporary files folder and the original Markdown file was converted to this:
     <topic ...>
         <title..>Title</title..>
         <body ..>
             <p ..>Text</p>
             <codeblock class="+ topic/pre pr-d/codeblock " xml:space="preserve" outputclass="plantuml" ...>Alice -> Bob: Authentication Request
     Bob --> Alice: Authentication Response

     Alice -> Bob: Another authentication Request
     Alice <-- Bob: Another authentication Response</codeblock>
         </body>
     </topic>

So the "org.lwdita" plugin converts the plantuml embedded content to a DITA XML codeblock with a certain @outputclass attribute value. But my plugin matches "foreign" with a certain @outputclass value.
So maybe the XSLT templates in my plugin can be made more flexible like:
https://github.com/oxygenxml/dita-ot-diagrams-plugin/blob/master/com.oxygenxml.diagrams.svg/xsl/xhtmlSVG.xsl
 <xsl:template match="*[contains(@class, ' topic/foreign ')][contains(@outputclass, 'embed-plant-uml')] | *[contains(@class, ' topic/plant-uml ')]" priority="10">

could be replaced with:
  <xsl:template match="*[contains(@class, ' topic/foreign ')][contains(@outputclass, 'embed-plant-uml')] | *[contains(@class, ' topic/plant-uml ')] | *[contains(@class, ' pr-d/codeblock ')][contains(@outputclass, 'plantuml')]" priority="10">

so that it also matches codeblocks with a certain outputclass value.
Maybe you can experiment with this and open a pull request if it works for you.


Hi GLEAN training!

HI! I am impressed with your paper.
I am training GLEAN.
I want to make the learning rate of encoder and decoder different, but how do I do it?
Thanks~

You can use the argument paramwise_cfg to set the learning rate based on keywords.
An example is shown here


How to change inactive title color

Make sure these boxes are checked before submitting your issue - thank you!

[ ] Check in the issue tracker whether
this issue wasn't already reported.
[ ] If it's a bug report check that clear steps to reproduce,
stacktrace, expected behaviour and other needed details are provided.
[ ] Feature requests contain a description of the feature
you're requesting as well as a brief scenario explaining
under what circumstances this might be useful.

I'm able to set custom textColor by following the docs and I tried to make the textColor at selector color, but that doesn't work. Has anyone been able to set the inactive tab title color?


Refactoring: Generate type annotation from inferred type

Search Terms

refactoring
quick
fix
add
inferred
type
Suggestion
VS Code should provide a refactoring command for generating a type annotation.
Use Cases
In our code base, we use the TSLint's typedef rule to enforce type annotations.  For example:
// TSLINT ERROR
const map = this.getMap();
const value = map.getValue(someKey);

// GOOD
const map: Map<string, CatalogItem> = this.getMap();
const value: CatalogItem = map.getValue(someKey);

It's true that these types can usually be inferred by the compiler.  However, requiring people to write  explicit annotations makes code more readable, especially in situations where IntelliSense is unavailable.  For example:  When reviewing a GitHub pull request, or printing a Git history, we get no help from IntelliSense.
Details
VS Code should provide a refactoring command for generating a type annotation.  For example, if I right-click on map in this code...
const map = this.getMap();

...then I should be able to do Refactor -> Add Type, and it will convert it to the good form shown above.
Although this is a super easy operation for the compiler engine, I cannot seem to find an implementation of this feature.
I found a couple projects typescript-plugin-add-type and typescript-plugin-proactive-code-fixes.  However, they aren't usable:

They aren't maintained any more
The latest release is incompatible with the latest VS Code
They are modeled as compiler plugins

Representing refactoring operations as compiler plugins doesn't seem like the best design:

The refactoring engine will malfunction unless the npm install is in a good state, which is not always the case for a project that is "under construction"
The plugin will have to be added separately to each project.  It would be much more convenient to install it once (e.g. a VS Code extension), and then be able to use it anywhere.

Since the implementation is relatively simple, this seems like a good candidate for a built-in feature.
Checklist
My suggestion meets these guidelines:

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

Duplicate of https://github.com/microsoft/TypeScript/issues/31163

Should that one be a dupe of this one then?  :-P

I'll let the TypeScript devs decide ;)

Duplicate of #13199?


Feature request: change the colours

Any chance of being able to change the colour of the button and/or text?
I use a dark background, so the blue button stands out quite visibly compared to the rest of the buttons.

Is using card-mod an option for you? You can assign different values for --primary-color then.

Thanks, that did the trick! Didn't even think of it. :-/


Fix size() and namespace lookups so that we can compile with C++17

Summary
This adds math:: in front of calls to stan math's apply(), size(), and for_each() functions so that C++17's std functions are not used during ADL lookup. This should also fix the bug in #2474 so we can update to Eigen 3.4. This also makes all the size() functions return Eigen::Index so that we have a consistent definition of the size we use in stan math. If we don't have a consistent return for size() we can end up having compiler errors for functions like std::max({size_t, int, long int}) since there will be different integer types in the initializer list.
NOTE: I'm running this first with C++17 as the default std version in the makefiles just to make sure everything passes. Once we get a green light once I'm going to switch that back to std=c++1y
Tests
No new tests
Side Effects
One nice thing is that if we ever want to change the default index type we use we can just override Eigen::Index to be another integer type.
Release notes
Make stan math more easily compilable with C++17
Checklist

[ ] Math issue #(issue number)

[x] Copyright holder: Steve Bronder
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

[ ] the basic tests are passing

unit tests pass (to run, use: ./runTests.py test/unit)
header checks pass, (make test-headers)
dependencies checks pass, (make test-math-dependencies)
docs build, (make doxygen)
code passes the built in C++ standards checks (make cpplint)

[x] the code is written in idiomatic C++ and changes are documented in the doxygen

[x] the new changes are tested

Oh man, std::apply is also a thing :)
Minor Q, but should we just use the entire namespace (stan::math::) and not math::?

@hsbadr Thanks, done!

@hsbadr Thanks, done!

Thank you! I confirm that the above model is successfully compiled after c5e7916dda3fbe1adaa524b69707c1f087360fec. I'll let you know if I run into any related issue.

@rok-cesnovar very odd, on develop if I add the CXXFLAGS+= -fsanitize=memory and run
./runTests.py -j24 ./test/unit/math/rev/core/accumulate_adjoints_test.cpp

I'm getting the same error as jenkins with this PR? It looks like it's something deep in gtest and nothing to do with us?
==529809==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x537339 in testing::internal::FilePath::Normalize() /home/steve/stan/origin/math/lib/benchmark_1.5.1/googletest/googletest/src/gtest-filepath.cc:358:16
    #1 0x540ee6 in testing::internal::FilePath::FilePath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) /home/steve/stan/origin/math/lib/benchmark_1.5.1/googletest/googletest/include/gtest/internal/gtest-filepath.h:68:5
    #2 0x536403 in testing::internal::FilePath::GetCurrentDir() /home/steve/stan/origin/math/lib/benchmark_1.5.1/googletest/googletest/src/gtest-filepath.cc:112:10
    #3 0x546327 in testing::internal::UnitTestImpl::AddTestInfo(void (*)(), void (*)(), testing::TestInfo*) /home/steve/stan/origin/math/lib/benchmark_1.5.1/googletest/googletest/src/gtest-internal-inl.h:693:33
    #4 0x510b1b in testing::internal::MakeAndRegisterTestInfo(char const*, char const*, char const*, char const*, testing::internal::CodeLocation, void const*, void (*)(), void (*)(), testing::internal::TestFactoryBase*) /home/steve/stan/origin/math/lib/benchmark_1.5.1/googletest/googletest/src/gtest.cc:2770:22
    #5 0x423530 in __cxx_global_var_init.14 /home/steve/stan/origin/math/test/unit/math/rev/core/accumulate_adjoints_test.cpp:6:1
    #6 0x426c11 in _GLOBAL__sub_I_accumulate_adjoints_test.cpp /home/steve/stan/origin/math/test/unit/math/rev/core/accumulate_adjoints_test.cpp
    #7 0x575f2c in __libc_csu_init (/home/steve/stan/origin/math/test/unit/math/rev/core/accumulate_adjoints_test+0x575f2c)
    #8 0x7f39bee9f03f in __libc_start_main /build/glibc-eX1tMB/glibc-2.31/csu/../csu/libc-start.c:264:6
    #9 0x4282fd in _start (/home/steve/stan/origin/math/test/unit/math/rev/core/accumulate_adjoints_test+0x4282fd)

This seems to happen when I tested it on clang-12 and 10

Oh sorry ignore the above that's a different error with -fsanitize=memory. I can't replicate the wild pointer thing locally?

Anything else to go into this one? I can review when it's ready

@serban-nicusor-toptal I'm running into the leak sanitizer CI issues with this PR that haven't been resolved by the switch to Docker and that I can't reproduce locally - even when I run the same commands in the same docker image (stanorg/ci:gpu):
test/unit/math_c11_test --gtest_output="xml:test/unit/math_c11_test.xml"
Running main() from lib/benchmark_1.5.1/googletest/googletest/src/gtest_main.cc
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from MathMeta
[ RUN      ] MathMeta.ensure_c11_features_present
[       OK ] MathMeta.ensure_c11_features_present (0 ms)
[----------] 1 test from MathMeta (0 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (0 ms total)
[  PASSED  ] 1 test.
==14091==LeakSanitizer has encountered a fatal error.
==14091==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
==14091==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)
test/unit/math_c11_test --gtest_output="xml:test/unit/math_c11_test.xml" failed
exit now (03/27/22 09:52:55 EDT)
script returned exit code 1

When you've got a minute, would you mind having a look to see if anything obvious stands out or if you're able to reproduce?

I will run some tests and try to see what's different.
Could this be affected by the CPU? If I remember right we had some issues with OpenCL tests because some instructions are not supported by the CPU.
You can also take a look at the CI Dockerfile maybe something stands out?

We probably don't need the test that is causing the sanitizer failures, though it doesn't seem like it should cause issues here.

The strange thing is that it doesn't fail when I run the tests in the docker image locally, so I'm not sure what's different about the Jenkins setup

I'll also try splitting this out into smaller PRs to see if I can narrow down the issue, and also make it easier to review and merge

It might be either a permission issue or a hardware component.


Code for CCS

Hi,
Could you provide the code for your implementation of CCS?

This repo doesn't provide implementation for CCS. You can checkout Burns' repo: https://github.com/collin-burns/discovering_latent_knowledge


Premature celebration - win notice when losing

"I occasionally run across a bug where, when first opening the level while playing against an opponent, it gives me a message that I've won even though I've lost" - David Beckly

Duplicate of #1133; gonna just ignore it, as it's in the old-style levels.


Support extended symbols as defined in MIL-STD-2525D

Milsymbol should have a documented way of supporting extended symbols per country as they are defined in MIL-STD-2525D.

Things might change in the standard for how the third set of ten digits are used, so we will put this on hold.


Use appropriate style for serialized strings (replaces #195)

This is fixed and squashed #195 updated to the current master.

When psych parses YAML with string in the folded style as:
a: >
  some
  inline
  content

and serializes it back to YAML,
then it renders the string in the literal style instead:
a: |
  some inline content

This patch fixes this behaviour. When a string doesn't contain newlines (blank line at the end is ignored) and it's not necessary to be quoted, then it will use plain style or folded style according to its length and the line_width option.
# line_width = 100
a: some inline content

# line_width = 11
a: >
  some inline
  content

Everything looks good so far!  Now can you add this test and make it pass?
    def test_line_width_roundtrip
      xs = 'xxx xxx' * 30
      xz = xs.dup # add the dup to avoid side effects
      yaml = Psych.dump xs, line_width: 12
      assert_equal xz, Psych.load(yaml)
    end

Well, I’ve read the YAML specification again (especially this part) and you’re right, we should not add the trailing newline to avoid non-default (strip) chomping operator (e.g. >- and |-) — it’s the correct behaviour.
I’ve fixed it in af668b4c83692ca8556d0aed97a3c542f7176e75 * and also added more test. The behaviour that you’re testing with test_line_width_roundtrip is now covered by test_folded_strip_when_longer_than_line_width_and_no_newlines.
* I prefer to not squash it to be more explicit about this intention — it’s actually not the behaviour that most people expects.

@jirutka cool.  If you're happy with this PR, I'll merge it.  Let me know!

Yeah, if you’re happy with it too, then it’s ready to be merged. :smile_cat:

Will you also merge it into Ruby upstream?

At some point, yes.  :-)


UI list item border radius - onclick focus inside a card

Framework7 version: latest
Platform and Target: all
Live Link or JSFiddle: (https://framework7.io/docs/cards#examples)

Describe the bug
UI list item inside a card, if press any link you will see top & bottom corner radius don't exist.
To Reproduce
Steps to reproduce the behavior:

crate a card and add some links list
Click on any list item and you will see top and bottom border corners of list items have radius 0, but card has radius.

Please create a CodeSandBox with your code.


Tiled Renderer

I have started working on a 'tiled renderer' that can zoom down to the sample level without needing an absurd number of canvas objects.
The idea is to juggle a limited amount of canvases inside the wrapper element based on the scroll position. If the time to optimistically fill a canvas starts bogging down the animation loop, I may turn the drawWave/drawBars/drawLine stuff to use a generator function that images a chunk at a time.
I will let everyone know if it actually works!

sounds great, let us know how it goes.

I have the tile renderer most of the way working. You can find the current state of that over on my Downrush github project. At the moment, Downrush does not use Webpack, so it is a definite hack. https://github.com/jamiefaye/downrush/blob/master/DR/waverly/jffRenderer.js. After I get Webpack going I will update (and ponder doing a pull request).

I made a PR for the tiled renderer. I don't expect it to be accepted right away, if ever. It does let you zoom down to the sample level while supporting relatively long songs.


sleuthkit lacks ewf support

It appears that sleuthkit was not built with libewf or much of anything else. On SIFT workstation, whether from the OVA or from scratch:
$ mmls -i list
Supported image format types:
	raw (Single or split raw file (dd))

and
$ ldd /usr/bin/mmls
	linux-vdso.so.1 (0x00007fff96b9b000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f837aed2000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f837aae1000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f837b307000)

On generic Ubuntu installs, on the other hand, we have:
$ mmls -i list
Supported image format types:
	raw (Single or split raw file (dd))
	aff (Advanced Forensic Format)
	afd (AFF Multiple File)
	afm (AFF with external metadata)
	afflib (All AFFLIB image formats (including beta ones))
	ewf (Expert Witness Format (EnCase))

and
$ ldd /usr/bin/mmls | grep ewf
	libewf.so.2 => /lib/x86_64-linux-gnu/libewf.so.2 (0x00007fdb83887000)

Shouldn't sleuthkit support at least ewf?

Please provide version details of host and of the sleuthkit package.

Greetings -- my apologies for leaving out details. The following is from the downloaded OVA from https://digital-forensics.sans.org/community/downloads; however, I get identical results when I spin up a generic Ubuntu 18.04 VM and use sift CLI v1.9.2 to build my own:
sansforensics@siftworkstation: ~
$ mmls -i list
Supported image format types:
	raw (Single or split raw file (dd))
sansforensics@siftworkstation: ~
$ dpkg -l |grep sleuthkit
ii  sleuthkit                                     4.7.0-1ppa1~bionic                              amd64        Collection of command line tools that allow you to analyzing disk images
sansforensics@siftworkstation: ~
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"

Thank you.

I recently found the cause of this. It’s not the SIFT version being installed but from a repo we are dependent on which seems to be compiled with very little.
I don’t have the command at the moment to install the right version.
Sent from my iPhone

On Oct 4, 2020, at 00:20, ghb1912<EMAIL_ADDRESS>wrote:

Greetings -- my apologies for leaving out details. The following is from the downloaded OVA from https://digital-forensics.sans.org/community/downloads; however, I get identical results when I spin up a generic Ubuntu 18.04 VM and use sift CLI v1.9.2 to build my own:
sansforensics@siftworkstation: ~
$ mmls -i list
Supported image format types:
raw (Single or split raw file (dd))
sansforensics@siftworkstation: ~
$ dpkg -l |grep sleuthkit
ii  sleuthkit                                     4.7.0-1ppa1~bionic                              amd64        Collection of command line tools that allow you to analyzing disk images
sansforensics@siftworkstation: ~
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
Thank you.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Ok. Thank you very much for checking and for the info.

In case it helps others: a workaround that worked for me was to download the sleuthkit source and compile it myself. It's very straightforward. I just unpacked v.4.10.0 and did './configure --prefix=/usr/local; make; sudo make install'. Since /usr/local/bin is already ahead of /usr/bin, that's all I needed to do (SIFT's sleuthkit binaries are in /usr/bin), other than log off/on. Result:
sansforensics@siftworkstation: ~
$ which mmls
/usr/local/bin/mmls
sansforensics@siftworkstation: ~
$ mmls -i list
Supported image format types:
	raw (Single or split raw file (dd))
	aff (Advanced Forensic Format)
	afd (AFF Multiple File)
	afm (AFF with external metadata)
	afflib (All AFFLIB image formats (including beta ones))
	ewf (Expert Witness Format (EnCase))
sansforensics@siftworkstation: ~
$ mmls -V
The Sleuth Kit ver 4.10.0

Cheers, and thanks again.

Thanks for the update. For you and everyone else you definitely don't need to compile but that's an options.
You can manually install the version that has support.
apt-get install sleuthkit==4.6.7-1sift1~bionic

OR
apt-get install sleuthkit==4.6.7-1sift1~focal

4.7.0 is being built right now, but will look at up-ing to 4.10.0 soonish?

apt-get install sleuthkit==4.7.0-2ppa1~focal


fix: namespaced resources

Many of the namespace-scoped resources did not specify the namespace of release in the resource metadata. This would cause things to break if the user fed a namespace other than default during the helm install. I went through and added namespace: {{ .Release.Namespace }} to the metadata section of all of the resources which are namespace-scoped resources in Kubernetes. All cluster-scoped resources were left alone.

Hi @samcornwell,
thanks for your PR and your work. However, this is not needed. Helm automatically adds the namespace setting to all non-cluster-scoped resources during installation, like kubectl apply --namespace xyz -f manifest.yaml would also do.
There's no need to specify this in each file.

@ckotzbauer Ok thank you! I could have sworn that I had issues with this in this past, but it seems fine now! Maybe because I upgraded helm? Who knows, anyway I tested it again and it worked fine.


Game Over / Death State

Currently there is no plan for a game over state.
The idea is you can never really die, you just might get to a point of hunger/thirst/fatigue that any task you perform becomes ridiculously long/improbable that you cannot do anything anymore.
There should be some Hard Reset option somewhere, that allows you to start over from scratch.
Maybe, world.sav could be exclusive to world. A seperate file for Player could be kept. New characters are thrown into a persistent world, where the things a previous (or many previous) characters have occupied, but at some later date (so any structures built by previous players become repairable/explorable ruins to future players)

Have some Suicide option. If you do this, you will begin again with a new character, but the world state of the previous character persists between characters.  If you get lost in the woods and suicide to start a new character, its possible to hike into the world cell you suicided in, and discover the corpse of your suicided other self.  Creeeeepy.

So if you can only die by choice, some function or task has to result in character death.
Death can only happen through suicide. Starting a new game can only happen after suicide of the current character.
Suicide must be some task the character can use (device.use = "cut", activate and use on Head??)


Restructure app

Is your feature request related to a problem? Please describe.
The user must navigate through several screens to get to the home screen with the nav bar, EPA standards, and map.
Describe the solution you'd like
Restructure the app to have the home screen at the root and everything centrally accessible.

I am primarily focusing on changing the navigation of the app by removing the first entry screen and making the navigation bar always accessible.


feat(pmp-web): alter pipes behaviour to return days as well as hours …

…when appropriate

Moved to #155


world and waypoint transform frames

Description
This PR does the following:

Creates ROS2 transform tree anchored at a world frame
Calculates position of robot base_link frame relative to world_frame using GPS and publishes a TF2 frame.
Calculates waypoint position and publishes a TF2 frame.

Testing Steps (if relevant)

Run bringup
Run the tf.launch.py file
Use the web interface to publish a waypoint/base station (optional)
Run ros2 run tf2_tools view_frames

Expectation: There should a pdf file with the tf2 tree anchored at world.
Self Checklist

[X] I have formatted my code using ament_uncrustify --reformat
[X] I have tested that the new behavior works

tf2 usage in orchestrator


Reply by email not working in staging groups

Describe the bug
Both reply and post by email don't seem to be working on groups for hcommons-staging.org. Email is working correctly for notifications. Not sure if this could be connected with this closed issue. The test group has the word "group" in the title, which was part of the issue last time.
To Reproduce
Steps to reproduce the behavior:

Go to 'Ferdinand's Test Group'
Post on the discussion board
Receive email notification. When replying directly to the email, this message is received: Your message couldn't be delivered to<EMAIL_ADDRESS>because the remote server is misconfigured. See technical details below for more information.
When trying to reply in a new email, receive this message:
Your message couldn't be delivered to<EMAIL_ADDRESS>because the remote server is misconfigured. See technical details below for more information.

Expected behavior
A clear and concise description of what you expected to happen.
Context
Does this bug on production, development, or both?

[x] Tested on development instance
[x] Occurs on development instance
[ ] Tested on production
[ ] Occurs on productions

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

Tried to create a topic on the group "Dave's Party" and that also failed. Notifications are working, but create and reply to by email are not.
Your message couldn't be delivered to<EMAIL_ADDRESS>because the remote server is misconfigured. See technical details below for more information.

Confirmed having "group" in the title was not the issue.

I believe this is a Sparkpost configuration issue not related to the WordPress updates.
To make post-by-email work, a Sparkpost webhook needs to be able to POST to hcommons-staging.org, but I believe AWS security groups are preventing this from working.
See:

https://github.com/r-a-y/bp-reply-by-email/wiki/SparkPost For setting up BP-RBE with Sparkpost
https://support.sparkpost.com/docs/tech-resources/inbound-email-relay-webhook For Sparkpost documentation on Relay Webhooks
https://support.sparkpost.com/docs/tech-resources/webhook-authentication/?b_id=7411 For Sparkpost documentation on security configuration

If this works on hcommons-dev, I'm not sure how it's been configured.


Prevent WGPU from re-initializing depth buffer

If a render pass is added after the "main_transparent_pass_3d" then WGPU will decide to re-initialize the depth buffer.
This prevents subsequent render passes from rendering properly.
Objective
Fixes #3776
Solution
Unconditionally setting store: true will prevent WGPU from deciding that the Depth buffer is invalid if there is a subsequent render stage.
This is slightly sub-optimal for performance in the base case, but makes behavior more expected when customizing the render graph.

@superdump was involved with the discussion on Discord which resulted in this PR.

Just noting that @HackerFoo has also changed this here: https://github.com/bevyengine/bevy/pull/3552

Sounds good, I will await further information.

store is set to true on main. Closing.


shape-selection improvements

Description
Things to improve with shape-selection process

The name. The process is specific to HydroSheds, while the name is generic.
aggregate_upstream: depending on whether this is set to True/False, the output's type changes. Either make it a FeatureCollection or a Feature.
At the moment the level and lakes parameters are there but if we select anything but the default, an error is raised.

@huard Good to close?


⚠ Bofrost.de has degraded performance

In d38b5cd, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2012 ms

Resolved: Bofrost.de performance has improved in 106e860 after 22 minutes.


Rarest Creatures only appear for less than 2 mins?

Anything that can be done about this?  Don't have time to drive over in 2mins. Thanks

When they first appear they have 15 minutes before despawning. The reason you have 2minutes is because the pokemon wasn't found until its timer was almost up. The best way to find pokemon quickly is to have a much smaller radius and multiple accounts scanning.

Ahhhh thanks for the info! I'll look into setting up multiple accounts. Thank you.

What is the best size of the radius/number of accounts?  Can you re-use some of the accounts like before?
I wanna find out where the new damn dratini spawns are in town >>

Do I have to edit the Source or ist there any settings option to resize the radius?

It might have been 2mins because it was a Pokemon that was the result of a lured pokestop.  I think those only spawn for like 2 and a half minutes.

If you have the last build, on the login screen you have the following.

Don't set a too big scan radius. With the last build and the slow search, 8 is the max I can go for the moment with one scan.

I have 25 Accounts with Radius 10. 1 scan takes 25 minutes so the pkm are 1 minute old when I see them. Just create multiple ptc accounts (google is getting kicked) with virtual email addresses<EMAIL_ADDRESS><EMAIL_ADDRESS>and so on...

How do you set multiple accounts in the app ?

For the moment, you can't with one app.
You just have to launch X instances of the app with switching the PTC credentials.
Every pokemons found will appear on each map.
I'm running 8 instances on my side. You can create yopmail address to create PTC Account like this : "youraccount1", "youraccount2", "youraccount3"...
So it will easy for you to launch every instance :)

+1 to the lured Pokemon assumption
and I really hope that we soon have the option to run one instance with multiple account logins.

@Xavierh95 Have you found a way to move all/multiple pins from one instance ❔ 😕

@bpchasse No. I launch instances with a "simple manually method".
The first instance pin is the center of my whole scanning zone (radius 10).
All others instances pins are placed all around (radius 8). I place them manually to create a big scanning zone all around my house. Here you can see three screenshots of the scanning result and instances (without pokemon ignoring filters. I ignore every common pokemon like Pidgey, Zubat, etc.)

Yesterday, this method allow me to capture many "rare" / "very rare" pokemons of my zone (Alakazam, Persian, Licktitung, Snorlax, etc.)
Have fun! ;)
PS : A simple tip. Place your first pin, and 4 other in "square" all around. After that, wait 2-3 minutes and do it again. It will be better for refresh.
PS2 : Indeed, it will be realy appreciated to just set a list of PTC Accounts  and do this with one instance :)


[Feature]: Create tests

Feature type
New Feature
Description
Create basic express server with minimum 1 endpoint and write tests using supertest to test this utility. In addition to that, you can always install this package to any other express.js server and test it live ( but tests in this repo are required ).
Tests should include:

Saving requests
Creating catalog of them
If configured, validate if timer, counting speed of server is working correctly.

Finished with 2bb311a7317ccd2a59d0a04c2c1195cadc37012d


avoid using node.js

Hi guys i apologize for the previous issue.
Im trying to use only webtorrent without using node.js. I installed your webtorrent.min.js in my apache server and used in the following example.
But the next code does nothing. What am i doing wrong?
node.js is necessary? or just the browser?
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
      <script src="webtorrent.min.js"></script>
</head>
<body>
 <script>
 var client = new WebTorrent()
var magnetUri = '...'  //copied directly from a torrent

client.add(magnetUri, { tmp: 'C:\Users\lenovo\Downloads' },function (torrent) {
  // Got torrent metadata!
  console.log('Torrent info hash:', torrent.infoHash)

  torrent.files.forEach(function (file) {
    // Get a url for each file
    file.getBlobURL(function (err, url) {
      if (err) throw err

      // Add a link to the page
      var a = document.createElement('a')
      a.download = file.name
      a.href = url
      a.textContent = 'Download ' + file.name
      document.body.appendChild(a)
    })
  })
})
 </script>

</body>
</html>

WebTorrent work in the browser without node.js! But you can't just paste in any random magnet uri or .torrent file.
In the browser, WebTorrent can only download torrents that are explicitly seeded to the WebTorrent network. Desktop torrent clients need to support WebRTC to peer with web browsers. Currently, no clients support it but you can use http://instant.io/ to seed torrents to the WebTorrent network.


support plotly in the odh elyra jupyter environment

We have a use case for building plotly-based interfaces in jupyter notebooks.  @MichaelTiemannOSC was able to hack something that worked, but it involved breaking out in to the "raw" jupyter interface and creating a conda environment.  The proper solution would be building elyra notebook image with plotly support, possibly based on Michael's example.

I'll give elyra a whirl and let you know.  Do you want me to check in any elyra-related notebooks here, or in some other repo?

I propose that we maintain a "elyra with plotly extensions" image build here:
https://github.com/os-climate/elyra-plotly-notebook

I am happy to report success, after a fashion.

Created Elyra notebook image with Medium parameters and SHELL=/bin/bash
Ran these commends in a shell:

#!/bin/bash

pip3 install ipywidgets plotly

# For Plotly version 4, deal with plotlywidget extension (which is automatic in Plotly 5 and JupyterLab)
# jupyter nbextension install plotlywidget --user --py
# jupyter nbextension enable plotlywidget --user --py

# Establish basic geo libraries for Physical Risk
pip3 install pandas geopandas matplotlib affine snuggs ipyleaflet

# If not running JupyterLab, activate the ipyleaflet extensions where we can see them
# Check Edit->nbextensions config menu item to see that ipyleaflet extension is visible
# /opt/app-root/miniconda3/bin/jupyter nbextension install ipyleaflet --user --py
# /opt/app-root/miniconda3/bin/jupyter nbextension enable ipyleaflet --user --py

# Install known-good rasterio from PyPi
pip3 install rasterio

I checked the status of the JupyterLab extensions, and all reported OK:
[1000640000@jupyterhub-nb-michaeltiemannosc ~]$ jupyter labextension list
JupyterLab v3.0.14
/opt/app-root/share/jupyter/labextensions
        jupyterlab_requirements v0.6.4 enabled OK (python, jupyterlab-requirements)
        nbdime-jupyterlab v2.1.0 enabled OK
        jupyter-leaflet v0.14.0 enabled OK
        jupyterlab-plotly v5.3.1 enabled OK
        @jupyterlab/git v0.30.0 enabled OK (python, jupyterlab-git)
        @jupyter-widgets/jupyterlab-manager v3.0.1 enabled OK (python, jupyterlab_widgets)
        @jupyter-server/resource-usage v0.5.0 enabled OK (python, jupyter-resource-usage)
        @krassowski/jupyterlab-lsp v3.6.0 enabled OK (python, jupyterlab-lsp)

Other labextensions (built into JupyterLab)
   app dir: /opt/app-root/share/jupyter/lab
        @elyra/code-snippet-extension v2.2.4 enabled OK
        @elyra/metadata-extension v2.2.4 enabled OK
        @elyra/pipeline-editor-extension v2.2.4 enabled OK
        @elyra/python-editor-extension v2.2.4 enabled OK
        @elyra/r-editor-extension v2.2.4 enabled OK
        @elyra/theme-extension v2.2.4 enabled OK

Disabled extensions:
    @jupyterlab/launcher-extension (all plugins)

So I launched a very simple notebook script:
import plotly.graph_objects as go
from ipywidgets import widgets

# from ipywidgets import interactive

reset_button = widgets.Button(
    description='Reset', disabled=False,
    button_style='', # 'success', 'info', 'warning', 'danger' or ''
    tooltip='Reset Parameters',
    icon='arrow-rotate-left' # (FontAwesome names without the `fa-` prefix)
)
reset_button

This resulted in failure with the Reset button rendering as the textual representation of the widget.  Then, Step 3:

Refresh JupyterLab page, which causes JupyterLab to rebuild.  When I then restarted the kernel, the Reset button rendered as it should.

SUCCESS!
I'm very happy to have a modern JupyterLab environment that works with both my ITR prototype and Nikos Dimakis's Physical Risk prototype.  It is clean, snappy, and inspires confidence.

@MichaelTiemannOSC  so to clarify, are you finding that the existing ODH elyra image has the plotly support you need?
Tangentially, you can execute pip install commands in a notebook cell, you don't need the shell to do that.

What the existing ODH elyra image has is the necessary ability to rebuild JupyterLab after installing the necessary plotly support.  The next step would be for me to translate the installation instructions given in the shell script into a YAML file that pre-loads the necessary libraries for a true elyra-plotly notebook.  The first step was to show how we could go from the initial elyra-vanilla notebook to one supporting plotly.

ack, we can use the elyra-plotly-notebook repo above to pre-install requirements

I added a requirements.txt file with snapshots of the important files.  Many others will load in to satisfy dependencies.

This is for all intents and purposes working for me now.


pp-template is hopelessly out of date

And the directions for creating a new repo also need work.

It is now much less out of date,


Somfy sensors unavailable after upgrade to 2021.8 beta

Did you read the instructions?

[X] I have read the README, including the advanced debugging section.

The problem
After upgrading to the 2021.8 beta HA core.  Sensors such as the temperature and light sensors connected to the Somfy Tahoma are unavailable and the following is listed in the log.
What version of this integration (ha-tahoma) has the issue?
2.5.1
What version of Home Assistant Core has the issue?
core-2021.8.0b5
Which gateway / hub do you use?
Tahoma V2 Hub
Device model
LuminanceSensor and TemperatureSensor
Device type
io:LightIOSystemSensor and io:TemperatureIOSystemSensor
Additional information
No response
Relevant log output
Logger: homeassistant.setup
Source: setup.py:311
First occurred: 8:04:23 AM (1 occurrences)
Last logged: 8:04:23 AM

Unable to prepare setup for platform tahoma.sensor: Platform not found (cannot import name 'ELECTRICAL_CURRENT_AMPERE' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)).

Thanks for reporting, @Nodezero1!
It seems that ELECTRICAL_CURRENT_AMPERE is renamed to ELECTRIC_CURRENT_AMPERE in https://github.com/home-assistant/core/pull/53243. We will fix this in the coming days :-).

Could you give https://github.com/iMicknl/ha-tahoma/archive/refs/heads/fix/500.zip a try? Extract this file and place custom_components/tahoma in your custom_components folder.
This should fix your issues with the latest beta. :-)

Thanks, that did the trick!