Indicate that deletion has been requested?

I deleted a helm chart before it finished provisioning and things went sideways. Everything is gone now except the instance:
$ svcat describe instance quickstart-wordpress-mysql-instance
  Name:        quickstart-wordpress-mysql-instance
  Namespace:   default
  Status:      Ready - The instance was provisioned successfully @ 2017-12-12 14:41:46 -0600 CST
  Class:       azure-mysqldb
  Plan:        standard800

I then tried to cleanup my mess by deleting the instance through kubectl. I've been told that it is pending deletion because the deletion timestamp is set in the metadata.
Would it make sense for that to be included in the output of describe? We could check for that deletion timestamp and provide some additional status text.
e.g.
$ svcat describe instance quickstart-wordpress-mysql-instance
  Name:        quickstart-wordpress-mysql-instance
  Namespace:   default
  Status:      Ready - Deletion requested
  Class:       azure-mysqldb
  Plan:        standard800

cc @arschles

This appears to be in an un "deprovisionable" state. Not sure if the answer is to force a short grace period (since it never provisioned to begin with), or if it's a bug upstream?
Here's the stuck instance
    {
      "metadata": {
        "name": "quickstart-wordpress-mysql-instance",
        "namespace": "default",
        "selfLink": "/apis/servicecatalog.k8s.io/v1beta1/namespaces/default/serviceinstances/quickstart-wordpress-mysql-instance",
        "uid": "47877a24-df7c-11e7-85f8-0242ac110006",
        "resourceVersion": "1053",
        "generation": 2,
        "creationTimestamp": "2017-12-12T20:37:32Z",
        "deletionTimestamp": "2017-12-19T13:46:09Z",
        "deletionGracePeriodSeconds": 0,
        "labels": {
          "app": "quickstart-wordpress",
          "chart": "wordpress-0.6.12",
          "heritage": "Tiller",
          "release": "quickstart"
        },
        "finalizers": [
          "kubernetes-incubator/service-catalog"
        ]
      },
      "spec": {
        "clusterServiceClassExternalName": "azure-mysqldb",
        "clusterServicePlanExternalName": "standard800",
        "clusterServiceClassRef": {
          "name": "997b8372-8dac-40ac-ae65-758b4a5075a5"
        },
        "clusterServicePlanRef": {
          "name": "08e4b43a-36bc-447e-a81f-8202b13e339c"
        },
        "parameters": {
          "location": "eastus",
          "resourceGroup": "default",
          "sslEnforcement": "disabled"
        },
        "externalID": "9593d632-41b3-48f7-96e3-8af120f49cde",
        "updateRequests": 0
      },
      "status": {
        "conditions": [
          {
            "type": "Ready",
            "status": "False",
            "lastTransitionTime": "2017-12-13T23:47:48Z",
            "reason": "ReferencesNonexistentServicePlan",
            "message": "The instance references a ClusterServicePlan that does not exist. References a non-existent ClusterServicePlan (K8S: \"\" ExternalName: \"standard800\") on ClusterServiceClass (K8S: \"997b8372-8dac-40ac-ae65-758b4a5075a5\" ExternalName: \"azure-mysqldb\")"
          }
        ],
        "asyncOpInProgress": false,
        "orphanMitigationInProgress": false,
        "reconciledGeneration": 2,
        "externalProperties": {
          "clusterServicePlanExternalName": "standard800",
          "clusterServicePlanExternalID": "08e4b43a-36bc-447e-a81f-8202b13e339c",
          "parameters": {
            "location": "eastus",
            "resourceGroup": "default",
            "sslEnforcement": "disabled"
          },
          "parameterChecksum": "7f9258f4bea38e2e39295fa9b23ed0f38f3d40a16a6dbe1edfc1add76eea7609"
        },
        "deprovisionStatus": "Required"
      }
    }


i can't install requirements.txt

when i try to pip install -r requirements.txt this happens ERROR: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'

Hi there! Sorry, it seems I had abandoned by little project here. I just tested out the pip installation and it works fine for me:

Hopefully you're using the command within the correct folder?


Database schema

The task is to design a database schema allowing to store:

users; their permission levels; information, whether a user has been activated by an admin; recent login
preparations already uploaded to the server; their location on disk; comments; metadata (should be similar to those provided in imzml); dependencies describing derived datasets; users allowed to view a dataset (some may be shared among all users, some may be private and some shared to selected friends)
job log entries (i.e. scheduler log)

 Database schema


[ace] Update to 6.5.9

Describe the pull request

What does your PR fix?

Upgrade ACE to the latest micro release (see https://github.com/DOCGroup/ACE_TAO/releases)

Which triplets are supported/not supported? Have you updated the CI baseline?

Does your PR follow the maintainer guide?

Looks some errors are related to https://github.com/microsoft/vcpkg/pull/11116, can someone restart the CI?

Thanks for the PR!


Tabs/ContentSwitcher issue rendering in IE

Detailed description
When using the Tabs component which calls on code from ContentSwitcher and evented-state, pages are unable to be rendered in Internet Explorer.
Seems the use of CustomEvent (not supported in IE) in the evented-state class is the root cause.
Also noticed that when CustomEvent issue is fixed (can polyfill the constructor functionality) tabs are not properly given event listeners, and in my case they are all set to selected.
Additional information
In IE, tabs can be seen not working here: http://carbondesignsystem.com/components/tabs/code

@Zack-Layne also included these images in the email he sent us.

@asudoh, correct me if I'm wrong, but this is because we no longer bundle IE11 polyfills with the Vanilla repo? If so, @Zack-Layne that would most likely be the root cause of this issue

@tw15egan @asudoh If so, would this also be the cause for tabs in IE to not work properly when clicked? (As seen in link in description)

If it's not getting the polyfill, the javascript to handle toggling would not be working correctly, which would lead to the behavior you are experiencing. I'm not too familiar with how the polyfills work, however, so I'll defer that to @asudoh

Right beginning V7 carbon-components does not include polyfills. See https://github.ibm.com/Bluemix/design-system-website/pull/1143/files for the details. If http://carbondesignsystem.com/components/tabs/code is not working for IE11 it should be fixed.

@Zack-Layne can you confirm that this is an IE11 bug?

Yes in our current implementation we are unable to use the tabs component in IE. As seen in the Carbon Design sample.

Strange. Running the components locally, they work fine in IE11. The example on the website, however, does not seem to be working.

@tw15egan Not sure your thoughts on that issue. Seems like the Tabs component might not set the tab items to selected properly in IE?

I'm able to correctly switch tabs when I run the components locally and test them with BrowserStack running IE11. Which version of IE are you referring to?

I'm seeing the issue in IE11

Can you try pulling the components down locally and testing that those work for you as well? Might help determine if the problem is from the components or a missing polyfill

Just pulled and tested locally and it works fine for me as well.

Hey was wondering if you have a tentative date for this fix? Our team has already DCUT for GA release, so we are a bit short on time. Thanks

Hi @Zack-Layne my apologies if things made you feel that we overlooked this issue. First, the fix for http://carbondesignsystem.com/components/tabs/code has been in https://github.com/carbon-design-system/design-system-website/pull/87, which I believe have been deployed to carbondesignsystem.com as of November 17.
The same fix has to be applied user-land. It means that your application needs to load the polyfills described in “Polyfills for older browsers” section of http://www.carbondesignsystem.com/getting-started/developers before loading Carbon JS code. Feel free to contact me if you need further help on this. Thanks!

That's great to hear, @Zack-Layne! I'm going to close this issue for now, but feel free to re-open it or submit a new issue if you run into any more problems 😄 Happy Thanksgiving!


HTML canvas inside SlideBox is not displayed

Hi, I have experienced that an HTML canvas inside a SlideBox doesn't get any content drawn or displayed. Here's a Plnkr:
http://plnkr.co/edit/DSja0xE5Go8aeJwQnlKh?p=preview

Greetings, @siovene!
My sensors indicate that this issue has been inactive for a while.
Due to this, the issue will be closed in 7 days.
If you believe the issue has not been fixed, please add a comment.
This will notify us so we can assist you, and will prevent the issue from being automatically closed.
Feel free to include the following information about the issue, so that we may assist you:

Can you provide a detailed description of this issue?
How would a robot go about replicating this issue?
What platform does this happen on? (iOS, Android, all, etc.)
What platform versions does this happen on? (Android 4.2, iOS 7, all, etc.)
Is this an issue with the Ionic Framework, or Ionic CLI?

Thank you for allowing me to assist you.

Greetings @siovene!
My sensors indicate that you have created an issue on our tracker requesting usage help, rather than an actual error with Ionic framework.
This GitHub issue tracker is used to track framework features, problems, and development.
If you wish to get help using the framework itself, the recommended place is the forum. There are many humans there who would be happy to offer sage advice.
Thank you for allowing me to assist you.


Is it possible to use runtime config for runtimeCacheStorage?

Hello currently I set runtime cache storage as so:
ogImage: {
    runtimeCacheStorage: {
      driver: 'redis',
      host: process.env.NUXT_REDIS_HOST,
      port: 6379,
      ttlSeconds: 60 * 60 * 24 * 3,
      base: 'best-og',
      password: process.env.NUXT_REDIS_PASSWORD,
    },
  }

I also have a nitro plugin to register redis storage (Independent of og:image config)
export default defineNitroPlugin(() => {
  const storage = useStorage()
  const config = useRuntimeConfig()

  const driver = redisDriver({
    base: config.redis.base,
    host: config.redis.host,
    port: 6379,
    ttl: 60 * 60 * 24 * 3, // 3 days
    password: config.redis.password,
  })

  // Mount driver
  storage.mount('redis', driver)

  // https://nitro.unjs.io/guide/cache
  // Use redis on cache instead of memory
  await storage.unmount('cache')
  storage.mount('cache', driver)
})

Module works fine with above config however I was wondering if there is a better way of doing it.

Hi, thanks for the issue (sorry for the delay). This is a great question.
Technically you should just be able to do storage.mount('/cache/nuxt-og-image', driver) (the default cache path) within your runtime config and omit runtimeCacheStorage if you want to configure it like that.
Is there any particular reason you're creating the driver yourself instead of just doing it in the config though?

Hello, thanks for the answer.
The reason is the same actually, to get the runtime config when creating the driver. Here is the reference: https://nitro.unjs.io/guide/storage#runtime-configuration


bfcache and data-turbo-temporary should work together

Scenario:
Sample html:
<div class="flash" data-turbo-temporary>
  Your cart was updated!
</div>

load page in a browser that supports bfcache (eg chrome, ff)
navigate away using url
navigate back using browser back button

Expectation: data-turbo-temporary elements are remove
Actual: data-turbo-temporary elements are restored from bfcache
Additional information:

There does not seem to be any way to use the turbo events (eg turbo:before-cache) to remove these elements
I handled this issue for my code base with something similar to:

window.addEventListener('beforeunload', () => {
  document.querySelectorAll('[data-turbo-temporary]:not([data-turbo-temporary="false"])')
    .forEach((elem) => { elem.remove() })
});

Questions:

Is there a nice & sensible way to handle hiding flash messages so they won't be cached by bfcache?
Would it make sense for turbo to hook into beforeunload and remove the data-turbo-temporary elements?

Thanks for any thoughts on this and thank you for Turbo.

I think we could attach a listener to the pagehide event, then check if event.persisted. As I understand it, pagehide would be preferable over the beforeunload event.

navigate away using url

@hirowatari is the URL for another page on the same domain, or is it only an issue when navigating elsewhere (like visiting https://example.com directly)?

I've opened https://github.com/hotwired/turbo/pull/1031. It includes a test, but I can't yet get it to pass.

Wow, thanks for looking at this.

navigate away using url

@hirowatari is the URL for another page on the same domain, or is it only an issue when navigating elsewhere (like visiting https://example.com directly)?

I have this issue when navigating within the same domain.  My failing test was something like:
it "does not show flash message when navigation back" do
  visit(admin_collections_path)
  expect(page).to have_text('flash message text')

  visit(new_user_registration_path)
  page.go_back
  expect(page).not_to have_text('flash message text')
end

I think you're right that pagehide is the more correct way to handle this.


Historical Data not workingm

 File "C:\Users\sadhw\Anaconda3\lib\site-packages\AliceBlue_V2\AliceBlue_V2.py", line 564, in get_historical     f"https://a3.aliceblueonline.com/rest/AliceBlueAPIService/chart/history?", params=params).json()   File "C:\Users\sadhw\Anaconda3\lib\site-packages\requests\models.py", line 917, in json     raise RequestsJSONDecodeError(e.msg, e.doc, e.pos) requests.exceptions.JSONDecodeError: [Errno Expecting value] Unauthorized: 0

were you able to resolve this? I am also facing same issue


Change binding type of PlaceholderTexture2D.set/get_size to Vector2

Trivial PR to fix the type used when binding PlaceholderTexture2D::set_size and PlaceholderTexture2D::get_size
Fixes: https://github.com/godotengine/godot/issues/70735

Thanks!


feat: read service name from package.json

Unless explicit service name is set, instead of defaulting to unnamed-node-service, an attempt will be made to read the package name from current working directory's package.json. If this can't be done or does not exist, only then is unnamed-node-service used.

Codecov Report
Base: 85.35% // Head: 85.57% // Increases project coverage by +0.21% :tada:

Coverage data is based on head (e0fd2af) compared to base (d500919).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #625      +/-   ##
==========================================
+ Coverage   85.35%   85.57%   +0.21%
==========================================
  Files          27       27
  Lines        1181     1199      +18
  Branches      269      273       +4
==========================================
+ Hits         1008     1026      +18
  Misses        173      173

Impacted Files
Coverage Δ

src/metrics/index.ts
93.70% <100.00%> (ø)

src/profiling/index.ts
92.23% <100.00%> (-0.08%)
:arrow_down:

src/tracing/options.ts
99.21% <100.00%> (ø)

src/utils.ts
97.77% <100.00%> (+0.59%)
:arrow_up:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


ppp 2.4.9

Can you update PPP to 2.4.9?

https://github.com/kisslinux/community/tree/master/community/ppp

Source:

https://github.com/ppp-project/ppp

Please reopen this issue at https://github.com/kiss-community/repo-community, and ping the current maintainer @onodera-punpun. This repo is significantly out of date.


rustfmt should be able to simplify use path::to::module::{self}

Currently rustfmt is able to simplify use path::to::module::self (which happens to be invalid syntax) into use path::to::module, and also to simplify use path::to::sub::{module} into use path::to::sub::module.
I want to suggest, based on these observations, that use path::to::module::{self} should simplify into use path::to::module.

A bigger example, using rustfmt 1.4.38-stable (e092d0b 2022-07-16):
Before:
#![allow(unused_imports)]
use std::fs::{self}; // warn(unused_import_braces)
use std::io::self; // invalid syntax
use std::path::{PathBuf}; // warn(unused_import_braces)

After:
#![allow(unused_imports)]
use std::fs::{self}; // warn(unused_import_braces)
use std::io; // no warnings
use std::path::PathBuf; // no warnings

Proposed:
#![allow(unused_imports)]
use std::fs; // no warnings
use std::io; // no warnings
use std::path::PathBuf; // no warnings

Thanks for reaching out but I am going to close as non-actionable and a duplicate (e.g. #5398).
The type of conversion you're suggesting is not valid/semantics preserving and can in some cases introduce compilation failures.
See also #3568, #4681, and https://github.com/rust-lang/rust/issues/60941

use path::to::module::self (which happens to be invalid syntax)

rustfmt works at the AST level, so the code only needs to be parseable in order for rustfmt to be able to operate, even if that parsed code will be failed by later stages of the compiler.


request not being mocked in examples/async

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When running npm install in the examples/async directory, I am receiving this error:

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal repository on GitHub that we can npm install and npm test.
What is the expected behavior?
It looks like user.js is not mocking the request.js on import.
Run Jest again with --debug and provide the full configuration it prints. Please mention your node and npm version and operating system.
jest version = 16.0.0
test framework = jasmine2
config = {
  "rootDir": "/Users/vu.tran/Projects/jest/examples/async",
  "name": "-Users-vu.tran-Projects-jest-examples-async",
  "setupFiles": [
    "/Users/vu.tran/Projects/jest/examples/async/node_modules/babel-polyfill/lib/index.js"
  ],
  "testRunner": "/Users/vu.tran/Projects/jest/packages/jest-jasmine2/build/index.js",
  "scriptPreprocessor": "/Users/vu.tran/Projects/jest/examples/async/node_modules/babel-jest/src/index.js",
  "usesBabelJest": true,
  "automock": false,
  "bail": false,
  "browser": false,
  "cacheDirectory": "/var/folders/yd/tly6jx9x6m5bxtj1gktlq85dsq_grt/T/jest",
  "clearMocks": false,
  "coveragePathIgnorePatterns": [
    "/node_modules/"
  ],
  "coverageReporters": [
    "json",
    "text",
    "lcov",
    "clover"
  ],
  "globals": {},
  "haste": {
    "providesModuleNodeModules": []
  },
  "mocksPattern": "__mocks__",
  "moduleDirectories": [
    "node_modules"
  ],
  "moduleFileExtensions": [
    "js",
    "json",
    "jsx",
    "node"
  ],
  "moduleNameMapper": {},
  "modulePathIgnorePatterns": [],
  "noStackTrace": false,
  "notify": false,
  "preset": null,
  "preprocessorIgnorePatterns": [
    "/node_modules/"
  ],
  "resetModules": false,
  "testEnvironment": "jest-environment-jsdom",
  "testPathDirs": [
    "/Users/vu.tran/Projects/jest/examples/async"
  ],
  "testPathIgnorePatterns": [
    "/node_modules/"
  ],
  "testRegex": "(/__tests__/.*|\\.(test|spec))\\.jsx?$",
  "testURL": "about:blank",
  "timers": "real",
  "useStderr": false,
  "verbose": null,
  "watch": false,
  "cache": true,
  "watchman": true,
  "testcheckOptions": {
    "times": 100,
    "maxSize": 200
  }
}

This looks like the same issue at #335 as request.js is being imported by user.js so instead of mocking request for this example, we may want to just mock http since nested mocks doesn't seem to be supported atm.


✍ @Rachel's Blog

Hi and welcome to Content Lab! Here is a self paced guide to ensure you get feedback as you publish your technical blog.
Resources:

Previous workshop recording
Previous blog posts

Timeline:

📋 Week 4: Create an outline by 3/2
📰 Week 7: Rough draft due by 3/16

Mentor reviews by 3/30

Week 9: Final version due 4/7

📋 Blog Outline: Write your outline in the issue directly
Requirements
Questions to consider:

Who’s reading this? Where are they in your dev journey? What do they need to know before they can dive into this story?
If people could leave with just one action, what would it be?
Were there surprises or alternative problem solving you want to give a heads up to?

Sample Topics for your blog post

Creating tests for Stripe/Cicero/Twilio
Using Vuetify and V-cards
Debugging a PR test failure affecting entire codebase and creating an issue for it
System Design/Architecture design for caching capability
Implementing Text to Speech
Configuring secrets for APIs in codespaces
Building Actions for [security|community|CI| etc]

Example Outlines

What makes good documentation on open source?

Could this be a list? (3 pieces of documentation thats easy to check for and add to the project to add immediate value?
What inspired you from the Tech documentation workshop?
What would you help encourage other first time contributors to do?
Is a learning curve for everyone? And whats the balance between good documentation and too much documentation? Choice architecture
What is each space used for? Wiki vs Discussion vs Pages
How do we search and find?
Reference: https://blackgirlbytes.dev/conquering-the-fear-of-contributing-to-open-source
Reference issue/PR for photos
Conclusion: Documentation is always changing, will always be needed`

To Do: when you complete the requirements, add "outline ready" label on your issue

[x] Identify your topic from one of the PRs approved
[x] Outlining bullet points of blog roadmap
[x] Is your blog a List, Survey, or demo?
[x] Which Visuals or Diagram or Code snippets will you add
[x] References to resources

📰 Blog Rough draft: Format into a google doc
Questions to answer across draft

Why is this helpful for a reader?
What problem does this help them solve?
What kind of experience should the reader have or that you will provide so they’re up to speed
What larger problem is this solving?
Were there other ways of solving this problem - what made you choose the one that you did?
What were the positive tradeoffs? (Did it save time? Save hours? Was more secure?)
What is the best way to present the content (i.e. code snippets, graphics) ?
What additional resources can they provide the reader if they want more information?
Is there a call to action?

To do: when you complete the requirements, add "draft ready" label on your issue

[ ] intro paragraph
[ ] context of Amplify
[ ] paragraph on problem
[ ] paragraph compare your solution
[ ] paragraph impact your solution
[ ] Less than 600 words
[ ] Drop link to your google doc (with permissions for edits) in review issue

Blog Outline
Audience: People who want to implement full stack logging on their Vue and Node app
Goal: Give people concrete steps so that they can set up a base for their project
Title: How I Implemented a Full Stack Logging Solution for a Vue and Node App
Introduction:

Context:

What is logging?
Why is adding logging to your project important?

What will your audience get out of reading your article:

You will see how to connect client and server-side loggers through an API endpoint, so that log messages from activity on your app will be stored in the back-end.

Middle:

Front-end logging with vue-logger-plugin

Attaching vue-logger-plugin to the Vue app
Passing props to child components
Code snippet(s) to include:

vue_logger.js file
test logs on App.vue

Back-end logging with Winston

Setting up a custom format
Code snippet(s) to include:

Winston_logger.js file

Creating API endpoint

Testing using Postman - send “hello world” message

Visual to include: screenshot of Postman sending “Hello World” message at logging endpoint

Use Winston method logger.info to send {severity, data} from front-end to Console or File
Code snippet(s) to include:

Event_logger.js - note: remove database migration to Postgres for purpose of demo

Conclusion:

Quick summary of what was learned

Attach vue-logger-plugin to click event on component of Vue app
Create a custom hook and leverage axios to send the log messages to the api endpoint
At the api endpoint, use Winston to store the log messages in a File, or print the log messages to the Console

Call to action

Try it out, and tag me or leave a comment if you do!

This is a very comprehensive outline. Well done! Perhaps keep in mind that the length of your blog should be something that the reader can comfortably consume on a site like Dev.to. Can you address all these points in ~400-600 words? Consider this while you're doing the final walk through of your rough draft. But overall, really well thought out!

Exactly, you can always cut out extraneous information if necessary later on.

noting that Rachel is out for a pre-approved reason and the link to this blog post will be updated no later than Tuesday night

The final draft of my blog post can be viewed here: https://docs.google.com/document/d/10ZC-WJH8AnnGPhAhwi-a0dTCPSQQV9G0EKrv0L_0n8U/edit?usp=sharing.


auto-close doesn't work without [uib-dropdown-toggle]

Bug description:
auto-close doesn't work without [uib-dropdown-toggle]
From documentation:

uib-dropdown-toggle which allows the dropdown to be toggled via click. This directive is optional.
auto-close (Default: always) - Controls the behavior of the menu when clicked.
always - Automatically closes the dropdown when any of its elements is clicked.

Ok so lets remove uib-dropdown-toggle attribute and setup opening via is-open attribute..
Link to minimally-working plunker that reproduces the issue:
http://plnkr.co/edit/T4jsdmfH9hz7wvb8BtHB?p=preview

click on 'Click me for a dropdown, yo!' label
click on outside space

Expected: closed dropdown
Actually: nothing happened
Version of Angular, UIBS, and Bootstrap
Angular:1.5.3
UIBS:1.3.3
Bootstrap:3.3.6

At first glance, this sounds like an issue.  We'll need to look into further.

This is because the click event from the span that set the isOpen value is propagating down to the document click event here:
https://github.com/angular-ui/bootstrap/blob/master/src/dropdown/dropdown.js#L13
https://github.com/angular-ui/bootstrap/blob/master/src/dropdown/dropdown.js#L49
Using:
ng-click="isOpen = !isOpen; $event.stopPropagation();"

will work.

@RobJacobs, cool, thanks.  Closing as resolved.

Could you please add this hacky behaviour into documentation?
Thanks

@alexey-sh maybe i'm missing something, so please enlighten me.  does adding uib-dropdown-toggle cause something to not work or add additional, unwanted features such that you can't use it?

ng-click="isOpen = !isOpen; $event.stopPropagation();"
this is not obvious usage because the note about  $event.stopPropagation() doesn't exists in documentation.
![Image of using $event.stopPropagation();]
(http://2.bp.blogspot.com/-UjQJV05vLuo/UAwEONhDulI/AAAAAAAAA0w/Hw7pcMHybYU/s1600/дерево+на+подпорке.jpg)

You haven't answered my question, what happens when you add the missing directive?  What is the unwanted/undesired behavior?

I don't know anything about what happens with the missing directive. I just want know is it possible to add  a few notes about ng-click="isOpen = !isOpen; $event.stopPropagation();". If you can't add this please don't ask me a weird questions which are not related with my answer.
Thanks

@alexey-sh, you filed the bug and I'm gathering more information.  If you are going to display an attitude, I should remind you that we are all unpaid volunteers and if you would like your request to be taken seriously, you would be wise to treat us with the same level of respect that we treat you.
I am trying to determine if we still moly need a doc update to indicate that the attribute is not optional or or if requiring it yields undesirable behavior.  As you seem to be intimately familiar with this particular issue, I am deferring to your experience.  But again, if all you are going to do is cop an attitude, it makes it makes it that much harder to decide on the proper fix.

@icfantv Adding uib-dropdown-toggle directive inside uib-dropdown-menu breaks auto-close="outsideClick". Also it needs two clicks to close the dropdown for uib-dropdown-toggles inside menu.

@chillyistkult, thanks for this.  trying to refresh my memory here, but it is starting to sound like this is really just a documentation update, then.  @wesleycho or @RobJacobs if you have a second, can you please confirm that this is the correct approach (the doc update)?  Thanks.

The documentation update we need is to mention that auto-close requires uib-dropdown-toggle to be used.

It's not just a documentation update: As I mentioned if you use uib-dropdown-toggle inside uib-dropdown-menu it breaks auto-close and on top it is not working as I would expect. This is a very common scenario because for example you may need a close button for your dropdown. Currently the way to go is to use is-open and setting the variable as you need it, but honestly uib-dropdown-toggle should work from anywhere inside uib-dropdown.

I agree with @chillyistkult. It's counter-intuitive to have to use the is-open stuff to close a dropdown from a button inside of the dropdown. uib-dropdown-toggle should work anywhere inside of a dropdown instead of needing to double-click. What's up with that?

it is


Tweak examples to work as-is

Note that these won't work with a new version of streamlit until https://github.com/vizzuhq/ipyvizzu-story/pull/27 is merged


chore(stoneintg-2013): update availability panels to 24h

slo is 99% over 24 hours
panels updated to reflect this

/test appstudio-hac-e2e-tests

/approve
/lgtm


Support CREATE DATABASE WITH ENCODING

Is your feature request related to a problem? Please describe.
Seems required for Sqlancer, as it generates the following statements:
CREATE DATABASE database41 WITH ENCODING 'utf8'  TEMPLATE template0;

Describe the solution you'd like
https://www.postgresql.org/docs/current/multibyte.html#MULTIBYTE-CHARSET-SUPPORTED
Describe alternatives you've considered
No response
Additional context
No response

Won't support this. Modify sqlancer implementation instead.


Feature: create an odd or even program

in your fav language try to make the most stupid odd or even program

@srinivasthedeveloper can you assign me under HacktoberFest2021

@srinivasthedeveloper please assign me

@srinivasthedeveloper please assign this to me

@srinivasthedeveloper I would like to work on this issue. Please assign me this one.


Write paragraph for RSE Slack channel and mailing list

From #86

We should do this after the next release.


Use deno run instead of deno eval in deno.json

I just notice deno run support evaluating from stdin. So I think it's better to use it because you can write the lock file and reload the dependencies. For example:
echo "import 'lume/task.ts'" | deno run --reload --lock=lock.json --lock-write -

Note there is a - in the end of line

This is better since deno eval doesn't support --lock/--lock-write and --reload flag. Some people (including me) might want to keep the lock file to comply with reproducible build philosophy without vendoring the whole dependencies.
Here is my deno.json
{
  "importMap": "build.importmap",
  "tasks": {
    "lume": "echo \"import 'lume/task.ts'\" | deno run --unstable --allow-read --allow-run --lock=lock.json -",
    "update": "deno cache --unstable --lock=lock.json --lock-write --reload _config.ts && echo \"import 'lume/task.ts'\" | deno run --unstable --allow-read --allow-run --lock=lock.json --lock-write --reload - --version"
  }
}

Oh, that's fantastic! I didn't know this was possible. It also allows to configure the permissions (deno eval has all permissions implicitly).
I'll change it in the next version. Thanks!


Video Not Loading in Angular 2 and Nativescript

I have added the code to my template, but it is not showing in the app.  Do you have to reference the code in the template differently in an Angular 2 and Nativescript application?
Template Code:
<StackLayout>
    <Label text="Grand Hall"></Label>
    <VideoPlayer:Video #nativeVideoPlayer controls="true" autoplay="true" height="280" src="https://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4" />
</StackLayout>

Component Code:
import { Component, ElementRef, ViewChild } from "@angular/core";
import { Video } from 'nativescript-videoplayer';

@Component({
	selector: "grandhall",
	templateUrl: "pages/grandhall/grandhall.html",
	styleUrls: ["pages/grandhall/grandhall-common.css", "pages/grandhall/grandhall.css"]
})

export class GrandHallComponent {
	@ViewChild("nativeVideoPlayer") nativeVideoPlayer: ElementRef;
}

I think I answered your question on SO not long after you posted. The NS slack channel has a bot that links SO questions so I saw it not long after it posted.
registerElement is what you're missing. I've also added this to the README.

For anyone else who comes across this, or you may want to add it to the read me.
Put this at the top of the component or where the app is bootstrapped:
import { registerElement } from "nativescript-angular/element-registry";
registerElement("VideoPlayer", () => require("nativescript-videoplayer").Video);

Then adjust your template code to:
<VideoPlayer
	  src="https://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"
	  autoplay="true"
	  height="300"></VideoPlayer>

Thanks again and nice work on the plugin.

If i understood right this code is for typescript right
<VideoPlayer
      src="https://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4"
      autoplay="true"
      height="300"></VideoPlayer>

I too  spent 20+ minute on this one in first implementation.
We should point this out in readme.

That snippet isn't for typescript. That's the xml and with angular2 you
have to explicitly close all components. Which you have in that snippet.
The import statement though is ts code to call register element and I added
that to readme yesterday. I'll add the xml snippet for angular also so it's
copy paste for others
On Thu, Oct 20, 2016, 8:32 AM matart15<EMAIL_ADDRESS>wrote:

If i understood right this code is for typescript right

I too spent 20+ minute on this one in first implementation.
We should point this out in readme.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bradmartin/nativescript-videoplayer/issues/42#issuecomment-255106583,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFulhAGQBt6LM7TCIfJ224pe-Nex2Qcjks5q121wgaJpZM4KbSM0
.

Added the template code to the README.


Replace signature_seed implementation with Narwhal's crypto

Required to avoid duplicated logic after https://github.com/MystenLabs/sui/pull/2994 + reduce deps to ed25519-dalek

nice!!


Make tests run concurrently using Multi threading

I wanted this feature of running the nf-tests in parallel.
I implemented this feature by using ExecutorService and running each test as a future in the Executor Service.

The logs for the failed tests are not visible. Can this be rerun @lukfor


Fix race condition in the test_get_facts_extended test case (#6062)

Pull request opened by the merge tool on behalf of #6062

Merged into branches iso4 in 0b1972d6c5c387b7d769b5fc18482ac0a6227205


Add entry points for rendering

This PR introduces entry points for rendering (for all existing plugins). See the new file src/index.render in each file. This file can be used instead of the usual entry point when passed to HTMLRenderer.

Also closes #22 by importing from src like we discussed


Refactor application configuration

Background
As discussed before, having some kind of extension mechanism for Deptrac would be nice, e.g. to register custom collectors or output formatters. This will require some changes to the application bootstrapping and configuration.
Description
I am moving the current configuration to the parameters section to make it easier to reuse them in services and to be in line with how Symfony configures services.
To Dos

[ ] Update commands to use --configuration from Application instead of own depfile argument
[ ] Register collectors via CompilerPass using tag deptrac.collector
[ ] Register output formatters via CompilerPass using tag deptrac.formatter
[ ] Replace old Application and deptrac.php with new one

Since we are still in 0.x BC breaks are fine according to semver. That being said, if I can I will make this non BC-breaking once the general implementation is somewhat stable. If that is not possible, then I will try to make it a clean cut and also remove existing deprecations as well.

FYI, this is what the command looks like, when we use the current depfile.yaml vs. new deptrac.yaml:


Added github action and updated check-dups.sh

fixes #92
I have checked the action in my forked repo. It should work.

Yes, I tried adding a duplicated entry and it spots that correctly.
The output of the script simply shows the duplicate links and nothing about in which catergory it is present. I wasn't able to solve the space problem.

Understood.

What is the purpose of section_escaped? It looks like it's calculated but never used... am I wrong?
So now duplicates in those two problematic categories are spotted? Can you try 2 tests, 1 with a duplicate in general search engine and the other one in not working / paused?
There isn't a devel branch and I cannot test it here

check this pr milinddethe15/awesome-hacker-search-engines#6
I have added a duplicate in Not working / Paused section and run it failed.


fix(app): fix modal display area

Overview
fix modal display area.
researched others' implementation of a modal component. seems that using position: fixed would be normal way.
Even Material UI does and it prevents any interaction to link/button when opening a modal.
https://mui.com/material-ui/react-modal/
switch position: absolute -> fixed but modify width and left to allow users to interact navbar when opening a modal.
I think if we want to keep using position: absolute, we will need to add a function to calculate its parent element position for top, left, right, and bottom.
I guess doing that in an ui component is a little bit weird. But open to any suggestions.
close RQA-2837

Test Plan

Changelog

Review requests

Risk assessment

[ ] need to check other modals in Desktop application


Relaxing regex dependency requirement

Change Description
Changing regex dependency requirement to more relax one ie regex>=2020.11.13
Issue reference
This PR fixes issue #780
Checklist

[X] I have reviewed the contribution guidelines
[X] I have signed the CLA
[ ] My code includes unit tests: NA
[X] All unit tests and lint checks pass locally
[ ] My PR contains documentation updates / additions if required: NA

Thanks @lalitpagaria. Could you please update the Pipfile.lock too? see details here: https://microsoft.github.io/presidio/development/#dependency-lock-using-pipenv

@omri374 I think Pipfile already have very relax condition https://github.com/lalitpagaria/presidio/blob/feat_relax_regex_req/presidio-analyzer/Pipfile#L8
When I am trying to lock dependencies on WSL, got following error -
~/projects/presidio/presidio-analyzer$ pipenv lock
Locking [dev-packages] dependencies...
Building requirements...
Resolving dependencies...
✘ Locking Failed!
[ResolutionFailure]:   File "/home/lalitp/miniconda3/envs/presidio_36/lib/python3.6/site-packages/pipenv/resolver.py", line 741, in _main
[ResolutionFailure]:       resolve_packages(pre, clear, verbose, system, write, requirements_dir, packages, dev)
[ResolutionFailure]:   File "/home/lalitp/miniconda3/envs/presidio_36/lib/python3.6/site-packages/pipenv/resolver.py", line 702, in resolve_packages
[ResolutionFailure]:       results, resolver = resolve(
[ResolutionFailure]:   File "/home/lalitp/miniconda3/envs/presidio_36/lib/python3.6/site-packages/pipenv/resolver.py", line 684, in resolve
[ResolutionFailure]:       return resolve_deps(
[ResolutionFailure]:   File "/home/lalitp/miniconda3/envs/presidio_36/lib/python3.6/site-packages/pipenv/utils.py", line 1397, in resolve_deps
[ResolutionFailure]:       results, hashes, markers_lookup, resolver, skipped = actually_resolve_deps(
[ResolutionFailure]:   File "/home/lalitp/miniconda3/envs/presidio_36/lib/python3.6/site-packages/pipenv/utils.py", line 1110, in actually_resolve_deps
[ResolutionFailure]:       resolver.resolve()
[ResolutionFailure]:   File "/home/lalitp/miniconda3/envs/presidio_36/lib/python3.6/site-packages/pipenv/utils.py", line 835, in resolve
[ResolutionFailure]:       raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  First try clearing your dependency cache with $ pipenv lock --clear, then try the original command again.
 Alternatively, you can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: Could not find a version that matches flake8==3.7.9,>=3,>=3.9.1 (from -r /tmp/pipenvufzr0fh8requirements/pipenv-en29tyvy-constraints.txt (line 2))
Tried: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.3.1, 1.4, 1.5, 1.6, 1.6.1, 1.6.2, 1.7.0, 2.0, 2.1.0, 2.2.0, 2.2.0, 2.2.1, 2.2.1, 2.2.2, 2.2.2, 2.2.3, 2.2.3, 2.2.4, 2.2.5, 2.3.0, 2.3.0, 2.4.0, 2.4.0, 2.4.1, 2.4.1, 2.5.0, 2.5.0, 2.5.1, 2.5.1, 2.5.2, 2.5.2, 2.5.3, 2.5.3, 2.5.4, 2.5.4, 2.5.5, 2.5.5, 2.6.0, 2.6.0, 2.6.1, 2.6.1, 2.6.2, 2.6.2, 3.0.0, 3.0.0, 3.0.1, 3.0.1, 3.0.2, 3.0.2, 3.0.3, 3.0.3, 3.0.4, 3.0.4, 3.1.0, 3.1.0, 3.1.1, 3.1.1, 3.2.0, 3.2.0, 3.2.1, 3.2.1, 3.3.0, 3.3.0, 3.4.0, 3.4.0, 3.4.1, 3.4.1, 3.5.0, 3.5.0, 3.6.0, 3.6.0, 3.7.0, 3.7.0, 3.7.1, 3.7.1, 3.7.2, 3.7.2, 3.7.3, 3.7.3, 3.7.4, 3.7.4, 3.7.5, 3.7.5, 3.7.6, 3.7.6, 3.7.7, 3.7.7, 3.7.8, 3.7.8, 3.7.9, 3.7.9, 3.8.0, 3.8.0, 3.8.1, 3.8.1, 3.8.2, 3.8.2, 3.8.3, 3.8.3, 3.8.4, 3.8.4, 3.9.0, 3.9.0, 3.9.1, 3.9.1, 3.9.2, 3.9.2
Skipped pre-versions: 3.0.0b1, 3.0.0b1, 3.0.0b2, 3.0.0b2, 3.0.2.dev0, 3.0.2.dev0, 3.0.2.dev1, 3.3.0.dev0, 3.8.0a1, 3.8.0a1, 3.8.0a2, 3.8.0a2
There are incompatible versions in the resolved dependencies:
  flake8==3.7.9 (from -r /tmp/pipenvufzr0fh8requirements/pipenv-en29tyvy-constraints.txt (line 2))
  flake8>=3 (from flake8-docstrings==1.6.0->-r /tmp/pipenvufzr0fh8requirements/pipenv-en29tyvy-constraints.txt (line 5))
  flake8>=3.9.1 (from pep8-naming==0.12.1->-r /tmp/pipenvufzr0fh8requirements/pipenv-en29tyvy-constraints.txt (line 4))

You're right, the pipfile/lock are using any regex version.

@omri374 any plan to release this?

@navalev could you please review?


Add version: OmegaT.OmegaT version 4.3.3

Pull request has been created with Komac v1.6.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:


New package: JUMENTO v0.1.0

Registering package: JUMENTO
Repository: https://github.com/Josa9321/JUMENTO.jl
Created by: @Josa9321
Version: v0.1.0
Commit: 2ecc670dd4ceb762dc66045888ffcb2cb6a55aa0
Git reference: HEAD
Description: JUlia augMENted ε-consTraint Optimisation (JUMENTO) - A package with AUGMECON

I think the name is okay, although you could also use the spelling Jumento. Please make sure to add some documentation before registering, though – at least a usage example in the README

Adding the missing compat bounds is also necessary
[noblock]


Fall Detector

Unfortunately, you forgot to enable the issue tracker there – so I have to ask you here, as I couldn't find any other means to contact you…
Just a minor thing: can you please take care to increment versionCode with each release? According to the build.gradle that should be done automatically (using the number of commits) – but the latest release (from 2 days ago) still shows up with versionCode:1. As Android uses this field to tell versions apart, it won't recognize v0.2.0 as update to the previous version.
Thanks in advance!

Hi @IzzySoft !
Happy to see interest in my humble app from the F-Droid community!
Well, it's not quite an oversight that the repo doesn't have an issue tracker :)
I don't actively maintain it - but having (temporarily) an access to an Android device I decided it would be fun to learn Kotlin and porting my 7 year old code provided me with a robust context for it.
Anyhow, I do appreciate your feedback and the issue should now be fixed.
Thank you and have a nice day!

Thanks for your swift reaction, @altermarkive! Looks like I'm no unknown actor anymore that I'm automatically associated with the F-Droid community :smile: Indeed I've added Fall Detector to my repo recently (in case you want to link there, I can offer you this badge) – and with today's update I can now confirm the issue solved.
As you write you're not actively maintaining the app, consider this a note3 for the future: should you wish to have your app brought to F-Droid.org's own repo, we'll gladly help you get it listed there. From what my scanners report, it looks promising to meet the requirements there.
All the best for you!

Hi @IzzySoft - I'll consider listing the app on the main F-Droid.org repo, thank you for the offer!
As for the badge - I suppose that all I need to do is link it like this (I haven't used F-Droid repositories so please pardon my question), right?

I'll consider listing the app on the main F-Droid.org repo, thank you for the offer!

Gladly! Just let me know when you need help with that. If you open your Request For Packaging we'll probably meet there as I'm one of the F-Droid maintainers :smiley:

I suppose that all I need to do is link it like this

Yes, that would be nice! If you have that in your Readme, people can find their way from the listing there to the index (linked from the bottom of that page) easily, where they see instructions on how to add the repo to their F-Droid client if they wish. From that point on, they'd automatically receive any updates you'll publish :smiley:


Remove nuget support and dependencies

With UPM support there's no need for nuget. The sample has been updated as well to source the spatializer from the UPM feed.

Also need to remove nuget references from readme

Also need to remove nuget references from readme

Also need to remove nuget references from readme

Yes, I'll update.

Also need to remove nuget references from readme

Yes, I'll update.

And then I guess you'll update the docs page after this goes in? https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/spatial-sound-in-unity

And then I guess you'll update the docs page after this goes in? https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/spatial-sound-in-unity

Also need to remove nuget references from readme

Yes, I'll update.

Strange though, I thought I updated the readme.

Also need to remove nuget references from readme

Yes, I'll update.

Strange though, I thought I updated the readme.

And then I guess you'll update the docs page after this goes in? https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/spatial-sound-in-unity

Yes, that will be when we pull into master and do another release. Current release still supports nuget.

And then I guess you'll update the docs page after this goes in? https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/spatial-sound-in-unity

Yes, that will be when we pull into master and do another release. Current release still supports nuget.

Also need to remove nuget references from readme

Yes, I'll update.

Strange though, I thought I updated the readme.

Note to self: Save files after modifications. :)

Also need to remove nuget references from readme

Yes, I'll update.

Strange though, I thought I updated the readme.

Note to self: Save files after modifications. :)


'sapnwrfc.h' file not found

fatal error: 'sapnwrfc.h' file not found
#include <sapnwrfc.h>
^~~~~~~~~~~~
1 error generated.

****

Did you check if the file is in include subfolder of nwrfcsdk ?
What you exactly try to do, on which platform and which NWRFC SDK version?

macOS
SDK version 7.5
gorfc v0.1.0

new error

Closing due to the sunset of the project.


Add SquiggleCop to baseline analyzer settings

Add SquiggleCop to baseline the analyzers and their configuration. This intends to prevent accidental changes / regressions to the project, such as #165.

⚠ This PR is a rebase on-top of 165. Once that PR lands we should rebase those changes away. ⚠

You want to wait for #170 and rebase?

Yes, once that one merges I'll rebase away the changes here and merge.


Analysis on modeling Complex Objects in Rikolti

Surveyed complex objects from the frontend for requirements:

some sort of thumbnail image for the search results

sometimes there is an image at the parent level
sometimes we need logic to choose one from the components

image & pdf: display copy and thumbnail copy for parent object and all component objects
video: video file and generated thumbnail for all parent and component objects
audio: audio file (typically no thumbnail) for all parent and component objects
metadata:

parent object metadata is in the solr index
component metadata is in the media.json
component metadata is bucketed in the solr index for search-ability

TODO: Research highlighting of array fields to support paginated full-text search. Wouldn't it be cool if we could do a word_bucket Array field and if highlighting told us the index of the found keyword in the array field:
- ie: This highlight is coming from page 5 of a complex text object
- ie: This highlight is coming from page 2 metadata's


e2fsprogs: 1.47.0 -> 1.47.1

Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.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

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Sounds like e2fsprogs are deps of a few core things, thus this has to target staging.

Broke libblockdev: https://github.com/NixOS/nixpkgs/pull/315051


Phys Flows - add UNKNOWN to enums

However make it non-selectable from UI.  This is to make it easier to ingest existing sources - but prevent newly created entries from being invalid.
e.g.  format, transport, frequency.

tracker


Update kagome-vqe.ipynb

Corrected:
H = \sum_{\langle i j \rangle}^N X_i X_{j} + Y_i Y_{j} + Z_i Z_{j}\n to
H = \sum_{\langle i j \rangle}^N X_i X_{i+1} + Y_i Y_{i+1} + Z_i Z_{i+1}\n
The indices in the sum are not using j but i+1 (which assumes a 1d model).

 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.You have signed the CLA already but the status is still pending? Let us recheck it.


Update UG ladd

Codecov Report

Merging #418 (f793fab) into master (482a3d8) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #418   +/-   ##
=========================================
  Coverage     69.55%   69.55%
  Complexity     1150     1150
=========================================
  Files           135      135
  Lines          3869     3869
  Branches        518      518
=========================================
  Hits           2691     2691
  Misses          963      963
  Partials        215      215

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 482a3d8...f793fab. Read the comment docs.


Whitelist / Blacklist headers

Right now almost all headers are copied

from the client to the target server (request)
from the target server to the client (response)

... which is not that great (some are redundant, some do not make sense, some crash the app, list host...).
Some headers have a "special role" and should not be forwarded as such :

things regarding compression / gzip
things regarding cookies

We should investigate which header can be safely forwarded and which cannot :
Response headers
Cache-Control -> ✅
Content-Encoding -> ❌ (implies content decoding in memento)
Content-Security-Policy -> ✅
Content-Type -> ✅
Date -> ?
ETag -> ?
Expect-CT -> ?
Server -> ?
Set-Cookie -> ?
Strict-Transport-Security -> ?
Transfer-Encoding -> ❌
Vary -> ?
X-- -> ✅
Request headers
Accept -> ✅
Accept-Encoding -> ❌
Accept-Language -> ✅
Cache-Control -> ✅
Connection -> ?
Cookie -> ?
Host -> ?
If-None-Match -> ?
Referer -> ?
Upgrade-Insecure-Requests -> ?
User-Agent -> ✅

From: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers

Category
Header
Forward
Comments
Type

Authentication
WWW-Authenticate
Yes

Response

Authentication
Authorization
Yes

Request

Authentication
Proxy-Authenticate
No

Request

Authentication
Proxy-Authorization
Yes

Request

Caching
Age
Yes

Response

Caching
Cache-Control
Yes

Response

Caching
Clear-Site-Data
Yes

Response

Caching
Expires
Yes

Response

Caching
Pragma
Yes

Response

Caching
Warning
Yes

Response

Conditionals
Last-Modified
Yes

Response

Conditionals
ETag
Yes

Response

Conditionals
If-Match
Yes

Response

Conditionals
If-None-Match
Yes

Response

Conditionals
If-Modified-Match
Yes

Response

Conditionals
If-Unmodified-Match
Yes

Response

Conditionals
Vary
Yes

Response

Connection Management
Connection
No

Response

Connection Management
Keep-Alive
No

Response

Content Negociation
Accept
Yes

Request

Content Negociation
Accept-Charset
Yes

Request

Content Negociation
Accept-Encoding
Not for now

Request

Content Negociation
Accept-Language
Yes

Request

Controls
Expect
Yes

Request

Cookies
Cookie
Yes

Request

Cookies
Set-Cookie
Yes

Response

CORS
Access-Control-Allow-Origin
No
CORS will be handled by memento
Response

CORS
Access-Control-Allow-Credentials
No
CORS will be handled by memento
Response

CORS
Access-Control-Allow-Headers
No
CORS will be handled by memento
Response

CORS
Access-Control-Allow-Methods
No
CORS will be handled by memento
Response

CORS
Access-Control-Expose-Headers
No
CORS will be handled by memento
Response

CORS
Access-Control-Max-Age
No
CORS will be handled by memento
Response

CORS
Access-Control-Request-Headers
No
CORS will be handled by memento
Response

CORS
Access-Control-Request-Method
No
CORS will be handled by memento
Response

CORS
Origin
No
CORS will be handled by memento
Response

Tracking
DNT
Yes

Request

Tracking
Tk
Yes

Request

Downloads
Content-Disposition
Yes

Response

Body Information
Content-Length
Yes

Response

Body Information
Content-Type
Yes

Response

Body Information
Content-Encoding
Not for now

Response

Body Information
Content-Language
Yes

Response

Body Information
Content-Location
Yes

Response

Redirect
Location
Yes

Response

Proxies
Forwarded
No
Will contain info about memento
Response

Proxies
Via
No
Will contain info about memento
Response

Request Context
From
Yes

Request

Request Context
Host
No

Request

Request Context
Referer
Yes

Request

Request Context
Referrer-Policy
Yes

Request

Request Context
User-Agent
Yes

Request

Response Context
Allow
Yes

Response

Response Context
Server
Yes

Response

Range Requests
Accept-Ranges
Yes

Request

Range Requests
Range
Yes

Request

Range Requests
If-Range
Yes

Request

Range Requests
Content-Range
Yes

Request

Security
Cross-Origin-Opener-Policy
Yes

Response

Security
Cross-Origin-Resource-Policy
Yes

Response

Security
Content-Security-Policy
Yes

Response

Security
Content-Security-Policy-Report-Only
Yes

Response

Security
Expect-CT
Yes

Response

Security
Feature-Policy
Yes

Response

Security
Public-Key-Pins
Yes

Response

Security
Public-Key-Pins-Report-Only
Yes

Response

Security
Strict-Transport-Security
Yes

Response

Security
Upgrade-Insecure-Requests
Yes

Request

Transfer Encoding
Transfer-Encoding
No
Memento does not support encoding
Response

Transfer Encoding
TE
No
Memento does not support encoding
Response

Transfer Encoding
Trailer
No
Memento does not support encoding
Response

Other
Alt-Svc
Yes

Response

Other
Date
Yes

Response

Other
Large-Allocation
Yes

Response

Other
Link
Yes

Response

Other
Retry-After
Yes

Response

Other
Server-Timing
Yes

Response

Other
SourceMap
Yes

Response

Other
Upgrade
No

Response


Bus System endpoint is down

The bus system endpoint has stopped working, the livemap url has been moved apparently.
When I send a get request to the livemap url  I get the 404 page.
Steps to reproduce

npm test or
Goto http://apis.is/bus/realtime which returns
{"error":"Something is wrong with the data provided from the data source"} or
curl -i https://straeto.is/bitar/bus/livemap/json.jsp

Yeah, they introduced a new endpoint a while back. That one probably needs to be implemented instead of the one you mentioned.

For anyone interested in looking into this, here is the new endpoint:
https://app.straeto.is/pele/api/v1/positions/filter/1,2,3,4,5,6,11,12,13,14,15,16,17,18,21,22,23,24,26,27,28,29,31,33,34,35,43,44
I do not know if the data is in the same format as before.

I kind of need this api so I'll look into it.

I reimplemented this in fec9a27f796f7bcd12e75c5f6da1da79471bd8b8 but added all the bus routes in the country. I was wondering if there should be a neat way to get all the bus routes in only Reykjavik, such as adding /rvk or /ak for Akureyri.
Also, the new endpoint returns a different response so this might have been implemented a bit differently, maybe someone has an opininion on that?

Also, if anyone has any information about other open Strætó APIs, such as bus stops and so on, please let me know.

This should still be valid:
http://old.straeto.is/um-straeto/utgefid-efni/rauntimaupplysingar/

I'll dump a few:

https://otp.straeto.is/otp/routers/default/index/stops
https://admin.straeto.is/api/places
https://admin.straeto.is/api/timetables/timatoflur
https://admin.straeto.is/api/timetables/0/1/1
https://admin.straeto.is/api/timetables/0/2/1
https://app.straeto.is/pele/api/v1/positions/filter/1,2,3,4,5,6,11,12,13,14,15,16,17,18,21,22,23,24,26,27,28,31,33,34,35,43,44
https://admin.straeto.is/api/alerts
https://otp.straeto.is/otp/routers/default/plan?fromPlace=64.1445471646293%2C-21.80623378245718&toPlace=64.09814246436902%2C-21.88766086745632&time=18%3A26&date=2017-02-28&mode=TRANSIT%2CWALK&maxWalkDistance=10000&arriveBy=false&wheelchair=false&showIntermediateStops=false&numItineraries=3&locale=is

The timatoflur endpoint seems to be what you were looking for.

One question, I just get 400 with the message Missing Headers: web-language, what the hell is web-language and what should I provide to get something meaningful back?

I don't know what that is. I just tried setting that header to en, and it replied...
curl -H "web-language: en" https://admin.straeto.is/api/timetables/timatoflur

We should probably fix this.

The tests run fine for me now so we might be missing coverage here.

We're still working on getting the stale bot right. I've made changes so it won't mark bugs as stale.

To make things easier:
The server behind behind https://otp.straeto.is/otp/routers/default/plan?fromPlace=64.1445471646293%2C-21.80623378245718&toPlace=64.09814246436902%2C-21.88766086745632&time=18%3A26&date=2017-02-28&mode=TRANSIT%2CWALK&maxWalkDistance=10000&arriveBy=false&wheelchair=false&showIntermediateStops=false&numItineraries=3&locale=is
is an Open Trip Planner: https://www.opentripplanner.org
I implemented my app that consumes this endpoint using the documentation from Barcelona TMB: https://developer.tmb.cat  The comments are mostly in Catalan, but the variable names and example data is english. i don't speak Catalan and this was enough for me.

Hallo! Any luck on this issue 😸


Syntax error when searching "key" column

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key = 'global', 100, 0) + IF(key LIKE 'global%', 50, 0) + IF(key LIKE 'G% L% O% ' at line 1 (SQL: select *, IF(key = 'global', 100, 0) + IF(key LIKE 'global%', 50, 0) + IF(key LIKE 'G% L% O% B% A% L%', 42, 0) + IF(REPLACE(key, '.', '') LIKE '%g%l%o%b%a%l%', ROUND(40 * (CHAR_LENGTH( 'global' ) / CHAR_LENGTH( REPLACE(key, ' ', '') ))), 0) + IF(key LIKE 'global%', 35, 0) + IF( CHAR_LENGTH( TRIM(key)) = CHAR_LENGTH( REPLACE( TRIM(key), ' ', '')) AND key LIKE BINARY 'G%L%O%B%A%L%', 32, 0) + IF(key LIKE '%global%', 30, 0) + 8 * ROUND ((
CHAR_LENGTH(key) - CHAR_LENGTH( REPLACE ( LOWER(key), lower('global'), ''))
) / LENGTH('global')) AS relevance from partials having relevance > 0 order by relevance desc limit 100)

Thanks, @danieliancu.
Any chance you could post a bit of your code as well?

I will contribute to the package when I have some time, I think it has great potential.

Searchy::table('key')->query('global')->get()

It's possibly to do with key being a reserved word in MySQL and how the query is being built. I'll take a closer look at this one soon :smile:

@TomLingham have you thought of adding multiple tables support? I saw a closed issue.

@TomLingham thank you very much!

@TomLingham it's because of the reserved keyword
This works:
Searchy::table('`key`')->query('global')->get()

and gives appropriate results.

@danieliancu I have considered it but don't think I will be implementing it. If there are more advanced requirements for searching, then realistically Searchy isn't the right tool for the job. It's only really meant to be a drop in searching tool for smaller projects.

Great! Thanks @danieliancu I thought that would be the case. I will fix this up in the code soon. Just have to wrap the table names and probably wouldn't hurt to have some tests to run.

@TomLingham you mean the column names, right?

@TomLingham what I like the most about this package, is that it's built the laravel way - easy to use and gets the job done

@TomLingham Thank you!


Setup pylint

It might be unncessary since we have flake8 but it can catch some nice issues too.
/cc @pterk comments ?

May be overkill? W/ a multitude of authors you get different styles and that's fine. Black and flake8 should catch most errors/issues. And a code review on top. Just my 2c.

I agree that these two seems enough.


Temporary files are messed up

Luigi has like 500 different inconsistent implementations of temporary files. We should clean this up.
There's lots of cases where you need temporary files. In most of those cases, you want some kind of action on close() or using a context manager. For instance if you are working with a LocalTarget, you want to be able to do both
f = self.output().open('w')
# ...
f.close() # this commits the file

As well as
with self.output().open('w') as f:
    # ...

But there are also cases where you want access to the underlying filename, in which case I suggest something like this (this was originally @Tarrasch's idea)
with self.output().temporary_path() as fn:
   h5py.open(fn) # or some stuff like that...

Do we need semantics here that does not involve a context manager? In that case you could probably do something that returns a new LocalTarget, such as
t = self.output().temporary_target()
# print t.path
t.commit()

I'm not sure if this is necessary.
There's also a bunch of other targets that leverage temp files, like writing to a file over FTP (RemoteTarget). This leverages a local file as a temporary output. It would be great if RemoteTarget could simply inherit all the methods above so that you have both semantics for atomic stream opens, as well as getting an explicit local path. And you should be able to do it using a context manager or not.
Finally there's code in Luigi that just uses temporary paths in general. Running a Python mapreduce job creates a temporary directory. We should be able to leverage the internal temporary file implementation here.

This is absolutely correct. I'll doubt I'll be able to work on this myself until early March though. Thanks for creating this ticket for this recurring issue that we have.

If you can leave some notes here, I would appreciate it. I wanted to spend a couple of hours yesterday refactoring this but realized it was a bigger project just to understand the code. So even just outlining a strategy for refactoring would be great

Here are two ideas of what one can do that simplifies the code base and is taking us in the right direction.
1. Remove is_tmp= kwarg to targets.
Currently we have a "convenience" kwarg is_tmp. Works like this:
    t = luigi.LocalTarget(is_tmp=True)
    args = ['python', 'test/cmdline_test.py', 'WriteToFile', '--filename', t.path, '--local-scheduler', '--no-lock']
    self._run_cmdline(args)

See how convenient it is that you don't even need to supply a path? :)
Now why I don't like this: In luigi we encourage usage of targets like this:
class MyTask(luigi.Task):
    def output(self): return LocalTarget(...)
    def run(self): do_something(self.output().path);

But the is_tmp thing is directly breaking the MyTarget(*args, **kwargs) == MyTarget(*args, **kwargs) invariant.
2. Unify -luigi-tmp-%09d' % random.randrange(0, 1e10) implementations:
It's used here:
~/vng/repos/luigi master
❯ ag luigi-tmp
luigi/contrib/hadoop_jar.py
49:                y = luigi.contrib.hdfs.HdfsTarget(x_path_no_slash + '-luigi-tmp-%09d' % random.randrange(0, 1e10))

luigi/contrib/ftp.py
169:            tmp_path = folder + os.sep + 'luigi-tmp-%09d' % random.randrange(0, 1e10)
187:        tmp_local_path = local_path + '-luigi-tmp-%09d' % random.randrange(0, 1e10)
261:            self.__tmp_path = self.path + '-luigi-tmp-%09d' % random.randrange(0, 1e10)

luigi/contrib/ssh.py
257:        tmp_path = path + '-luigi-tmp-%09d' % random.randrange(0, 1e10)
271:        tmp_local_path = local_path + '-luigi-tmp-%09d' % random.randrange(0, 1e10)
288:        self.__tmp_path = self.path + '-luigi-tmp-%09d' % random.randrange(0, 1e10)

luigi/file.py
42:        return path + '-luigi-tmp-%09d' % random.randrange(0, 1e10)
105:            path = os.path.join(tempfile.gettempdir(), 'luigi-tmp-%09d' % random.randint(0, 999999999))
147:        tmp = LocalTarget(new_path + '-luigi-tmp-%09d' % random.randrange(0, 1e10), is_tmp=True)

I think it also should use .format() like this  '-luigi-tmp-{:010}'.format(random.randrange(0, 1e10))
But a more complete implementation already exists for hdfs. In particular it adds an optional <username> and can handle input that look like this hdfs://123.456.0.1/my/path/to/file.txt?that=has,query=args

sounds good – we can start with those two and then keep refactoring

The BaseHadoopJobTask doesnt seem to respect the output convention.
When I run a HiveQueryTask no file is touched when the task is successful.
You need to have like a self.output().open("w").close() somewhere within BaseHadoopJobTask or higher up, but I'm not certain where to place it. The code in git is different than the one in my environment, so I'm going to add it to my local copy and hope for the best

I want a context manager that uses something like NamedTemporaryFile and then finalizes it to the self.output().fn if successful.

@imbilltucker, here is some code I've been using in production now. Haven't had time to make a clean PR out of it. Do you  want to take a stab?
Definition
class VngHdfsTarget(luigi.contrib.hdfs.HdfsTarget):
    def temporary_path(target):
        class Manager(object):
            def __enter__(self):
                path = target.path.rstrip('/')
                num = random.randrange(0, 1e10)
                self.temp_path = path + '-luigi-tmp-{:010}'.format(num)
                return self.temp_path

            def __exit__(self, exc_type, exc_value, traceback):
                if exc_type is None:
                    # There were no exceptions
                    target.fs.rename_dont_move(self.temp_path, target.path)
                return False

        return Manager()

Usage
    def run(self):
        with self.output().temporary_path() as self.temp_output_path:
            run_some_external_command(output_dir=self.temp_output_path)

The task would be to copy-pastet the temporary_path to the FileSystemTarget or something pretty high up in the inheritance hierarchy. Add tests, make other places in code base use it, document it and eventually deprecate the is_tmp functionality.

Can we get a temporary directory version of this? I have an external job that creates a directory structure, and I want to ensure atomicity.

@sbliven have you tried the temporary_path decorator introduced since #1909, it works on directories too. In fact that's the "typical" case (like running a spark or MR job).


Replace failure with thiserror

There are many crates for error handling in Rust. Many of the improvements that failure implemented are now in std::error::Error, and thiserror seems to be the least intrusive for library code (and plays well with other error handling libraries targeted at applications).
This PR replaces failure with thiserror (and I'm asking to merge into #3).


feat: add support for filtering search results by scope

Adds support for restricting results to a scope, e.g., scope:types argument parser.

Coverage remained the same at 100.0% when pulling 886a8fe302a3bf6e4c72251c1a0ba2866c5fd9b3 on scope into 32340f5b358b0e66d1b1d4baba45ba828cd6705e on master.

Coverage remained the same at 100.0% when pulling ed0c3a60b9f66ce7c92bdeb8175bb727d4d44344 on scope into 32340f5b358b0e66d1b1d4baba45ba828cd6705e on master.


at least let the property checks for logging go thru

this is wildly naïve, but the logging in the application that I need tests for is blocked by the Not Implemented exceptions. In the grand scheme:  Is anyone actually using the handleIds or namespace from the stream?

iirc, we intentionally left these unimplemented in order to solicit feedback on how they're used in the real world. The logging scenario is the first use-case that I've heard. Can you identify what the real providers return and how that differs from the fake implementation proposed? Is it possible these properties could be used in business logic (meaning, could the fake values lead to test failures)? If yes, would it make more sense to allow for customized setup of the values as part of the fixture?


added dark mode & theme features

I was able to get the light mode to look okay-ish, but there's a big issue with having to update all the widgets on the screen whenever the brightness changes, which right now the app isn't really structured to do since not all widgets can be rebuilded on command (which is why many apps require restarting after changing themes).
For now I'll push the changes for the dark mode theming and work from there, what might have to be done is add a pop-up warning the user that the app will have to be restarted for all the theme changes to take effect

I was able to get the light mode to look okay-ish, but there's a big issue with having to update all the widgets on the screen whenever the brightness changes, which right now the app isn't really structured to do since not all widgets can be rebuilded on command (which is why many apps require restarting after changing themes).
For now I'll push the changes for the dark mode theming and work from there, what might have to be done is add a pop-up warning the user that the app will have to be restarted for all the theme changes to take effect

Ye that makes sense, I didn't really like how the light mode looks how I made it anyway (Not really a fan of light mode, hurts my eyes)

Ye that makes sense, I didn't really like how the light mode looks how I made it anyway (Not really a fan of light mode, hurts my eyes)

In that case I suggest removing the light mode feature and have only the theme variant selection feature available

ill make a new PR then

This PR should fix #33


Redesign Deinterlace Tests

In many cases, raw yuv can't be treated as interlaced content for input to middleware.  Thus, support for raw yuv input is removed.  A warning is emitted if raw yuv cases are defined in the user config.
Added support for avc, mpeg2 and vc1 deinterlacing.
Refined deinterlace tests to handle frame vs. field rate output based on middleware capabilities.

@FocusLuo @lizhong1008 @xhaihao @wangzj0601 any comments?

LGTM


: Unsupported system page size

Describe the bug
I'm trying to deploy fluentd as DaemonSet on a Kubernetes cluster (only ARM machines) using this image fluent/fluentd-kubernetes-daemonset:v1.16-debian-elasticsearch8-arm64-1. The moment i deploy it, I see all the pods going into a crash loop and printing the same message:
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
[FATAL tini (1)] Failed to allocate memory for child args: 'Cannot allocate memory'

I use fluentd in many other clusters, and never faced this error message.
To Reproduce
Hard to say, I think this is a host-related issues.
Expected behavior
Fluentd pods starting normally.
Your Environment
- Fluentd version: fluent/fluentd-kubernetes-daemonset:v1.16-debian-elasticsearch8-arm64-1
- TD Agent version:
- Operating system:
NAME="Rocky Linux"
VERSION="8.8 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.8"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.8 (Green Obsidian)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2029-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-8"
ROCKY_SUPPORT_PRODUCT_VERSION="8.8"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8.8"
- Kernel version: 4.18.0-477.27.1.el8_lustre.aarch64

Your Configuration
apiVersion: apps/v1
kind: DaemonSet
metadata:
  name: fluentd
  namespace: kube-system
  labels:
    k8s-app: fluentd-logging
    version: v1
spec:
  selector:
    matchLabels:
      k8s-app: fluentd-logging
      version: v1
  template:
    metadata:
      labels:
        k8s-app: fluentd-logging
        version: v1
    spec:
      serviceAccount: fluentd
      serviceAccountName: fluentd
      tolerations:
      - key: node-role.kubernetes.io/control-plane
        effect: NoSchedule
      - key: node-role.kubernetes.io/master
        effect: NoSchedule
      containers:
      - name: fluentd
        image: fluent/fluentd-kubernetes-daemonset:v1.16-debian-elasticsearch8-arm64-1
        env:
          - name: K8S_NODE_NAME
            valueFrom:
              fieldRef:
                fieldPath: spec.nodeName
          - name:  FLUENT_ELASTICSEARCH_HOST
            value: "elasticsearch-logging"
          - name:  FLUENT_ELASTICSEARCH_PORT
            value: "9200"
          - name: FLUENT_ELASTICSEARCH_SCHEME
            value: "http"
          # Option to configure elasticsearch plugin with self signed certs
          # ================================================================
          - name: FLUENT_ELASTICSEARCH_SSL_VERIFY
            value: "true"
          # Option to configure elasticsearch plugin with tls
          # ================================================================
          - name: FLUENT_ELASTICSEARCH_SSL_VERSION
            value: "TLSv1_2"
          # X-Pack Authentication
          # =====================
          - name: FLUENT_ELASTICSEARCH_USER
            value: "elastic"
          - name: FLUENT_ELASTICSEARCH_PASSWORD
            value: "changeme"
        resources:
          limits:
            memory: 200Mi
          requests:
            cpu: 100m
            memory: 200Mi
        volumeMounts:
        - name: varlog
          mountPath: /var/log
        # When actual pod logs in /var/lib/docker/containers, the following lines should be used.
        # - name: dockercontainerlogdirectory
        #   mountPath: /var/lib/docker/containers
        #   readOnly: true
        # When actual pod logs in /var/log/pods, the following lines should be used.
        - name: dockercontainerlogdirectory
          mountPath: /var/log/pods
          readOnly: true
      terminationGracePeriodSeconds: 30
      volumes:
      - name: varlog
        hostPath:
          path: /var/log
      # When actual pod logs in /var/lib/docker/containers, the following lines should be used.
      # - name: dockercontainerlogdirectory
      #   hostPath:
      #     path: /var/lib/docker/containers
      # When actual pod logs in /var/log/pods, the following lines should be used.
      - name: dockercontainerlogdirectory
        hostPath:
          path: /var/log/pods

Your Error Log
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
[FATAL tini (1)] Failed to allocate memory for child args: 'Cannot allocate memory'

Additional context
I know this could be related to different page size on the host (like 64K vs 4K) but would like some help to solve the issue.

As jemalloc is built in by default page size, if you want to change it, you need to configure and build  image by  yourself.
https://github.com/fluent/fluentd-docker-image/blob/master/v1.16/arm64/debian/Dockerfile#L53

As jemalloc is built in by default page size, if you want to change it, you need to configure and build image by yourself.
https://github.com/fluent/fluentd-docker-image/blob/master/v1.16/arm64/debian/Dockerfile#L53

Thanks a lot, I will rebuild the image and try again!


Update background.qmd

Filepath to png is incorrect

Not able to build and publish because of issue #17


OS X Installation issue

Hello,
I'm attempting to install this on OS X.
When I type "pip3 search atdtool", I get:
atdtool     - After the Deadline command-line tool
When I type "pip3 install atdtool", I get:
Collecting atdtool
Could not find a version that satisfies the requirement atdtool (from versions: )
No matching distribution found for atdtool
Any ideas?
Thanks.
P.S. Below is a more detailed output with -vvv:
pip3 -vvv install atdtool
Collecting atdtool
1 location(s) to search for versions of atdtool:

https://pypi.python.org/simple/atdtool/
Getting page https://pypi.python.org/simple/atdtool/
Looking up "https://pypi.python.org/simple/atdtool/" in the cache
Current age based on date: 228
Freshness lifetime from max-age: 600
Freshness lifetime from request max-age: 600
The response is "fresh", returning cached response
600 > 228
Analyzing links from page https://pypi.python.org/simple/atdtool/
Could not find a version that satisfies the requirement atdtool (from versions: )
Cleaning up...
No matching distribution found for atdtool
Exception information:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pip/basecommand.py", line 209, in main
status = self.run(options, args)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pip/commands/install.py", line 299, in run
requirement_set.prepare_files(finder)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pip/req/req_set.py", line 360, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pip/req/req_set.py", line 512, in _prepare_file
finder, self.upgrade, require_hashes)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pip/req/req_install.py", line 273, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pip/index.py", line 489, in find_requirement
'No matching distribution found for %s' % req
pip.exceptions.DistributionNotFound: No matching distribution found for atdtool

No idea...
I've never been able to test under OSX.
I'll check to see if there is anything wrong with the package, and integrate a travis test for it or something like that

TL;DR: try pip install git+https://github.com/lpenz/atdtool instead (git has to be installed) (more details)
For others that might have the same problem: I ran into the same issue on Ubuntu today. I did some digging and (with my limited understanding of the python ecosystem) I think it boils down to this:
The atdtool page on pypi is not set up as a repository as running pip search atdtool would suggest. You can also see this if you visit https://pypi.python.org/simple/atdtool/ as there are no links available and no binaries are linked on the main page. This seems to be a common problem:

Historically PyPI did not have any method of hosting files nor any method of automatically retrieving installables, it was instead focused on providing a central registry of names, to prevent naming collisions, and as a means of discovery for finding projects to use. In the course of time setuptools began to scrape these human facing pages, as well as pages linked from those pages, looking for things it could automatically download and install. [...] this blurring has caused confusion for the end users of both of these roles and this has in turn caused ire between people attempting to use PyPI in different capacities, most often when end users want to use PyPI as a repository but the author wants to use PyPI solely as an index.

See here for more details.
Installing atdtool with pip directly from the git repository as described above worked for me. Maybe this could be clarified somewhere in the readme.


Zoom behaviour

Current docs, for example the GOV.UK Pay docs change to mobile layout at 200% zoom (fullscreen on MacBook Air).
The docs generated with the gem that incorporates Frontend 3.1, the test Pay docs, change to mobile layout at 250% zoom.
Is this behaviour intentional or even a problem?

This must be because the design system uses different breakpoints at which is decides to show different layouts.
I imagine they changed it with good reason, so this might be a good thing. Or perhaps in the docs case it’s not 🤷♂

I don't think this is a problem from a user's point of view, so going to close this out for now, feel free to re-open if you think otherwise :)


POST body is not in the apiGateway.event

The body of a POST is not being put into the apiGateway.event object of the request. I'm not sure if you'll consider this a defect or not, but it was surprising that it wasn't there given that it typically is (when not using this package, like when you write a typical lambda).
A simple fix would be to change the middleware to pluck it from the request.body value and put it in request.apiGateway.event.

Why do you think it is necessary to be able to the request body from request.apiGateway.event? We are hoping the customer puts the express application inside a Lambda function with very minimum modification.

Ok, I didn't understand that to be the main goal of the package. Now that makes sense.
Currently, I have handlers written to handle lambda events and I'm retrofitting them to use express, so that's different use case. They expect to find the body in the event. It's easy enough for me to copy the body into that event for their purpose, but I also expect long term to just expressify my existing handler(s).
Thanks for clarifying it.

@kahouieong do you know how POST body is obtained?
app.js
app.post('/', function(req, res) {
  res.send(req.body) // returns ""

Should be available as usual, on req.body.

Remember to use bodyParser.json() or bodyParser.urlencoded({ extended: false }) as express middleware to make te body available in the req object.


Fix stream loading

Changes
Switch stream sql request to create one union table.
Add correct pagination for useQuery.
Add some fixes on pagination logic and disable load more.

How to test these changes?

Related issues

Closed in favor of #137


Add the ability to export/import variable group into files

We'd like to be able to back up our variable group and restore them if needed.

Addressed by #3


feat: Add a feature to copy from clipboard in the search page

Hi everyone,
Here is a UX improvement for the search page to allow to quickly copy the content from the clipboard.
FYI: we can't show directly the content because on iOS, there is a popup ("do you really want to share the content of your clipboard") blocking the UI.
Also the Widget is a Widget, not a method
https://github.com/openfoodfacts/smooth-app/assets/246838/f84fe1c5-a3e2-47d2-b404-a43c7183f3b7

Paste from Clipboard ?


negative values rendering +highlight rect rendering not correct for stacked bar + stacked horizontal bar chart

It looks like if the dataSet contains negative values for stacked bar + stacked horizontal bar chart, it cannot render correctly.
It's very easy to reproduce, just change the values inside the demo to negative.
I am not sure if you are aware of this, either we need to define how to render and highlight the stacked bar chart + stacked horizontal bar chart for negative values.

What version are you using? Because we fixed that already

I believe it's the latest code? I just sync yesterday.

are you saying https://github.com/danielgindi/ios-charts/commit/ade153a54aa2fe20e2bba0f62df5952ad74019fc?
If that is the case, then I think it is not fixed... at least for pure negative values. The rendering and highlight both go wrong.


LeoJS forces Debug Console open

Regardless of vs-code's debug.internalConsoleOptions setting, LeoJS shows the Console on startup.
This is a minor irritation, but I would like to see it fixed.
Update:
As a workaround, I added a shortcut (Alt-Ctrl-Y) for "View: Previous Panel". This allows me to open the Leo Log with:
Ctrl-Shift-Y (Toggle Debug Console) followed by Alt-Shift-Y.

@edreamleo Thanks for this report.
I know Leojs (and leointeg) try to show their log pane when starting up. Is that what you are referring to?  (perhaps I should reconsider that behavior given there are now many ways to execute the 'show Log Pane' command)
...or is it the specific 'Console' as shown in this screenshot? : https://code.visualstudio.com/docs/editor/debugging
...or the generic 'Output pane' region as a whole, shown here labeled as 'D' in this screenshot? :
https://code.visualstudio.com/docs/getstarted/userinterface
Note: In windows you can easily 'Drag' a rectangle on screen to capture a screenshot with the Shift+Windows Key+S in case you want to capture a region of your screen and paste it directly in this thread.

@boltex
Doh.  I see that "generic" output region shows the Leo log, so there is good reason for LeoJS's existing behavior.
To answer your question: I was referring to the generic 'Output pane' region as a whole, that is, the region that Shift-Control-Y affects. On startup, that region shows Leo's log. The first Shift-Control-Y changes the focus to the (empty) 'Debug Console'. The second Shift-Control-Y closes the entire region.
Summary
Imo, this is a minor issue. It can easily wait until LeoJS 1.0.1 :-)
If possible, I would prefer hiding the entire region on startup. A toggle-leo-log command could show/hide the generic 'Output pane' region, showing Leo's log when making the region visible.

@boltex Alternatively, perhaps the Leo console could be moved to left-hand area, the area that contains 'Outline', 'Timeline', etc.
Again, this can wait until well after LeoJS 1.0.

@edreamleo Having the leo log pane on the left instead of below as an output pane is a great idea!
I'll make it switchable with an options setting. (i changed the title of this issue to match this idea)

@edreamleo I forgot to mention the often used and well-known CTRL+J shortcut by VSCode users that toggles (open/close) the whole bottom panel itself.

@edreamleo You're right that it's annoying to have the log pane forcefully open the bottom output pane to show itself at startup.
I'll make the log pane be forcefully shown only at the very first startup when LeoJS is first installed, or, when a new version update of LeoJS just got downloaded & started.

@boltex Thanks for this change.


I should get 3.0 but i am getting 1.0

const eip1193Provider = new FireblocksWeb3Provider({
      privateKey: apiSecret,
      apiKey: apiKey,
      vaultAccountIds: this.arg.vaultId,
      chainId: ChainId.BSC,
    });

var gasPriceRaw = await this.provider.getGasPrice();
    var gasPrice = ethers.utils.formatUnits(gasPriceRaw, "gwei");
    gasPrice = gasPrice;

Try specifying your own rpcUrl where you know it returns the right answer

Try specifying your own rpcUrl where you know it returns the right answer

How can i define own rpcUrl

In the config object as documented in the readme


Rocket.Chat 3.14.0 - Oplog queue graph is empty

Hi after upgrade to 3.14.0 Oplog queue graph is empty. On 3.9.7 show data.
3.14.0

3.9.7

I did ask - the reply - which is slightly cryptic but you might understand :

This might be normal if not using oplog but using changestream

Hi, I have nothing change in configuration after upgrade from 3.9.7 to 3.14.0.
I have set USE_NATIVE_OPLOG=true, so I think oplog queue should be presented.


Task created_time field

It would be helpful to add a created_time field (output only) to describe the time when tasks were created.

I added additional timestamps in the #42 that should address this.

Fixed in #42


Bookmark doesn't store playlist Thumbnail to the Data Base

[x] renders images on bookmarks page
[x] updates it to database


Update denoise.py

More temporally stable, fixed some bugs, and can now use mod 2 / mod 4 / odd resolutions (previously only mod 8).

Will close the repo as Light did this cherry pick commit


Implement Ocean V3 market dynamics, run simulations, tune as needed

[x] Finish writing Python-level agent behaviors for new agents
[x] Wire new agents into system-level design
[x] Replicate Ocean V3 market dynamics: run simulations and tune as needed

Trang demo'd his WIP on this today.

A branch that contains WIP code of ocean V3
https://github.com/tokenspice/tokenspice/tree/WIP-oceanV3_netlist
Some notes:

There are 4 agents: publisher (create datatoken, pool every 7 days), consumer, staker, stakerSpeculator
KPIs only track agents OCEAN
Plot (from KPIs)

Somethings to add to complete this issue: @trentmc @richardblythman

KPI to track DT, BPT, maybe price them in OCEAN?
add other agents that inherits from current agents?

@trangnv do you consider this issue done?
(I'm thinking yes)
If yes, do you see any specific follow-ups on oceanv3 netlist? Eg more Q's?

I think this is done. Maybe just some renaming needed if you prefer @trentmc ?

Thanks.
We can rename as part of our work on oceanv4, if we see the need. So let's close this:)


Implement F# Producer

Similar to the consumers issue, but the idea here is to allow you to push messages supporting the Brighter message format on the queue and have them consumed by a consumer in a different format i.e. a golang http server pushes messages onto a queue that are handled by a .NET consumer.

Note that someone is looking into the consumer already, so please liaise before picking this out of the list


[MB-5716] Resolve approve MTO Shipment promises inside approve MTO callback

Description
The approveMTOShipment requests were still being executed prior to the approveMTO request when making an MTO available to the prime in the TOO Move Details page.
There is some async/Promise behavior that is still a little confusing as to why they were called out of order causing an invalid transition error of the move status.  I've moved the map call to only happen after the move status gets updated, maybe the swagger request promise was being executed not just populated in the array.
Reviewer Notes
Is there anything you would like reviewers to give additional scrutiny?
Setup
Add any steps or code to run in this section to help others prepare to run your code:
make db_dev_e2e_populate
make server_run
make office_client_run

Login as the TOO user
Find a move in the queue in the New move status
Approve at least one shipment with a basic service item
Navigate back to the queue and the move should have the status Approvals requested

Code Review Verification Steps

[ ] If the change is risky, it has been tested in experimental before merging.
[ ] Code follows the guidelines for Logging
[ ] The requirements listed in
Querying the Database Safely
have been satisfied.
Any new migrations/schema changes:

[ ] Follow our guidelines for zero-downtime deploys (see Zero-Downtime Deploys)
[ ] Have been communicated to #g-database
[ ] Secure migrations have been tested following the instructions in our docs

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Screenshots
If this PR makes visible UI changes, an image of the finished UI can help reviewers and casual
observers understand the context of the changes. A before image is optional and
can be included at the submitter's discretion.
Consider using an animated image to show an entire workflow instead of using multiple images. You may want to use GIPHY CAPTURE for this! 📸
Please frame screenshots to show enough useful context but also highlight the affected regions.

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

Messages

:book:
:link: MB-5716

  Generated by :no_entry_sign: dangerJS against f54dd0e94890d28c345acaad7d5296a600bba42a

After demo, can we make sure to create a JIRA story to have more robust tests around this?

After demo, can we make sure to create a JIRA story to have more robust tests around this?

@monfresh Yes we need to test it for sure, but the root cause is still not completely clear.  We'll have to tackle all of that and hopefully refactor the server side at some point too.


Workspace-level configuration for terminal shell arguments (like nvm)

I want to set a specific nvm version of all my work projects and use them automatically. And I have already found a way by setting the .nvmrc file and editing VSCode settings like "terminal.integrated.shellArgs.linux" or "terminal.integrated.shellArgs.osx".
But here is another thing: I cannot push all my workmates to edit their settings and ensure there will be no other issues. So I wonder if I can make these settings into .vscode in the workspace, but the answer is no for now.
So I wonder if adding support for the workspace-level configuration of terminal shell arguments would be possible? This would make it much easier to ensure that everyone working on the project is using the correct Node.js version.
Thank you for considering this feature request. Please let me know if you've got a plan for this or if this won't be planned. Also waiting for other advice.

I have found an extension to do this. But I still wish this feature could be planned.
https://github.com/HenryNguyen5/vsc-nvm


tests: samples: power: samples/subsys/pm/device_pm/sample.power.ospm.dev_idle_pm fails on nrf52 platforms

Describe the bug
The test test_power_state_trans from samples/subsys/pm/device_pm/ fails on-target tests on nrf52 boards
To Reproduce
Steps to reproduce the behavior:

have nrf52840dk connected
go to your zephyr dir
call /scripts/twister -T /samples/subsys/pm/ -p nrf52840dk_nrf52840 --device-testing --device-serial /dev/ttyACM0 -v --inline-logs
See error

Expected behavior
The test passes
Impact
Not clear
Logs and console output
ERROR   - *** Booting Zephyr OS build zephyr-v2.5.0-3879-gdf691ba13ac1  ***
Device PM sample app start
open()
parent resuming..
Async wakeup request queued
child resuming..
Dummy device resumed
write()
transfer()
read()
transfer()
close()
child suspending..
Device PM sample app complete
parent suspending..

and hangs until timeout
Environment (please complete the following information):

OS: Ubuntu 18.04
Toolchain Zephyr SDK 0.12.2
Commit SHA or Version used: zephyr-v2.5.0-3879-gdf691ba13ac1

Looking it. The test is wrong to start, looking the harness we can find:
        - "Device PM sample app start"
        - "parent resuming\\.\\."
        - "child resuming\\.\\."
        - "Async wakeup request queued"
        - "Dummy device resumed"

we got the child resuming  before the "requested queued, what is wrong since child resuming is printed in dummy_device_pm_ctrl, this function is called only after the queue has ran. The last message is also switched, the dummy driver is using an async function to put the parent so it cannot expect that this will run before the last print. This test was exploiting all the issues that this api had :/. The timeout is something that I don't know yet though. Working to fix this test.

ok, the timeout is just because the harness was wrong.


[main] Upgrade to latest dependencies

Cron -knative-prow-robot
/cc knative-extensions/serving-writers
/assign knative-extensions/serving-writers
Produced by: knative-extensions/knobots/actions/update-deps

/lgtm
/approve
/retest

/retest-required

https://github.com/knative-extensions/net-istio/pull/1195
/test latest-mesh

/retest


Bug in baselines/deepq/replay_buffer.py

Hi:
I found a bug in this line in replay_buffer.py. Since this line in common/segment_tree.py has already subtracted 1 of 'end', the recursion will run forever when end=0 (after substract 1, end=-1) passed to the reduce method in SegmentTree.

Hi:
I found a bug in this line in replay_buffer.py. Since this line in common/segment_tree.py has already subtracted 1 of 'end', the recursion will run forever when end=0 (after substract 1, end=-1) passed to the reduce method in SegmentTree.

hi, can you help me explain why here need to subtracted 1.  (len(self._storage - 1)) is already subtracted 1. For example, if i want to know the sum of 0-7. By subtracted twice ,it will be 0-6. why?
Thank you!


doesn't follow convention of serde naming

serde advice to name serializer and deserializer respectively to_ and from_.
pythonize => to_pyobject
depythonize_bound => from_bound

I'm not sure how I feel about this changing this one. It was originally pythonize and depythonize, and I was quite happy with that. The _bound suffix is intended to be temporary.