ListItem action does not prevent default

I have a ListItem that has an onClick event. I also have an IconMenu being passed down to rightActions prop.
When I click the IconMenu it also triggers the ListItem onClick action.
Maybe I am doing something wrong?

Event bubble up to parent elements. You can prevent this by capturing the event and calling stopPropagation()

@Pajn Thank you for responding! I figured this out and forgot to comment and close, Sorry about that!
Below is an example of how to do this if anyone finds this issue and needs help as well.
<IconMenu icon="more_vert"  onClick={ e => e.stopPropagation() }>
    <MenuItem icon="delete" caption="Delete" />
</IconMenu>

@Pajn Thank you for responding! I figured this out and forgot to comment and close, Sorry about that!
Below is an example of how to do this if anyone finds this issue and needs help as well.
<IconMenu icon="more_vert"  onClick={ e => e.stopPropagation() }>
    <MenuItem icon="delete" caption="Delete" />
</IconMenu>


Fix sentencing

I guess that sentence belongs here. :)

@Tbohunek : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Feature/accounts redesign redesign

Cleanup part of https://ucsc-cgl.atlassian.net/browse/SEAB-3244
https://app.zeplin.io/project/5fc690a2717ee9144814f190/screen/602c3436a460f817c7ad3f50
See comments for why I changed things:
Overall notes (where it differs from Zeplin):
Account icon is smaller than before but not as small as mockup
The token field is much larger than mockup (similar to organization search and homepage search), don't really have a solution to make all of them smaller. Trying to make it smaller will make the mat-form-field label ("Token" in this case) too close to the input text. Input text cannot be shrunk down below 14px because it's pretty much discouraged by majority of people for accessibility reasons.
You're going to want to check this out yourself locally, but here's a screenshot anyways.

In general, if you have a scss file that applies to a single component, the component better be extremely unique

This pull request introduces 1 alert when merging 8cdc0b2 into b3ea484 - view on LGTM.com
new alerts:

1 for Incomplete string escaping or encoding

ugh, replaceAll is only in ec2021


Test automatic import folding

Refs: https://github.com/microsoft/vscode/issues/128809

[ ] anyOS
[ ] anyOS

Complexity: 2

Use the setting editor.foldingImportsByDefault to have import statements folded when a file is opened. The fold state is remembered once a file has been opened once and had an import fold. The feature works with TypeScript, JavaScript, Java, C# and C++ and with all language that have a folding range provider that annotates import statements with FoldingRangeKind.Imports.
Test that the feature works.

Current description of the setting:

It surprised me that the description itself doesn't mention imports. Nor is it clear about the behaviour. It seems that when set, the first time I open a file containing imports the imports get folded automatically. Then the state of this block gets remembered across subsequent close and reopen (on my workspace/folder?). So if I expand it, close the file and reopen it the imports return expanded. May be challenging to convey all of this in a concise settings description, but perhaps the current text can be improved.

I agree with @gjsjohnmurray: the description needs to be improved:
My suggestion:

Controls whether the editor automatically collapses import ranges.

I've tested this on macOS for JS, TS, C++, C#, and Java. Found now issues other than the description wording.

Looks good! Tested on Windows for TS, JS, Java, C#, and C++. Nothing to note other than the issue I left.


[New Feature] filters / dark mode

filters and dark mode
prerequisite
html structuring
description
implement different filter options
Insert the steps to complete to fully implement this feature

[] step 1: all of the colors should be stored in variables instead of directly in the css (i.e. background-color= BACKGROUND_ instead of background-color=red" and stored in a seperate file
[] step 2: create multiple color pallets in different files
[] step 3: create js event to swap between these filters
[] step 4: store the current filter in local storage
[] step 5: js should select the last filter from local storage upon opening the website
Resources
Please put any relevant resources that can help resolve this issue here.

I have already edited html, and js file that allows user to change the background color, I can add the dark mode and some other features with a little bit of change


fix: MD046/code-block-style docs/extend/

Ensure consistent fended code block style.
The implicit indent fences sometimes accidentally swallow content not intended as code blocks.

Thanks very much, @nschonni!


Update Riparias Baseline

@timadriaens While I wait for new walloon data (now with ID column or in dwc).
I will begin with the part of the flow following the data compilation (done for VMM & GBIF).
What final form of output do you want ? (all outputs will be limited to the RIPARIAS project perimeters 1)
~- [ ] Map, csv and shapefiles of the 10x10km squares infected by target species.~

[x] Map, csv and shapefiles of point data of occurrences

~- [ ] Map, csv and shapefiles of another size of grid (example 1x1km), please specify which.~
~- [ ] None of the above, but ...~
1 remember to answer my previous question about the perimeters (see https://github.com/inbo/easin/issues/40#issuecomment-799263746)
Originally posted by @SanderDevisscher in https://github.com/inbo/easin/issues/40#issuecomment-802774080

I'll create a RMD which outputs .html files with the map

reperimeterriparias.zip

[ ] Copy merged points shape to riparias-prep - repo
[ ] Create .rmd to subset and display points on a map and export this to html

9_Create_Riparias_Baseline - branch

@timadriaens which language should the page be ?
also this is the current state: https://iasspeciesdashboard.shinyapps.io/Riparias-baseline-maps/

Looking ACE! I suggest English will do.

Would it be possible to include a link to the original record and the data source when you click on the dot?

Would it be possible to include a link to the original record and the data source when you click on the dot?

I'll try to implement this


Not letting me delete decks

Apologies if mentioned already elsewhere.
I can't seem to delete any decks. Whenever I hit the delete button, it simply get taken back to the top of my  list of decks, but with no deletion happening.
I tried most basic things, like logging out and back into my account, refreshing the screen, etc. Do you know what might be causing this?

I have no idea what could cause this, except a faulty session. Do you still have the problem?


Executing Query forever when set up connection

Hi,
Thanks for your great work on the elasticsearch connector first!
I meet an issue at the end of Tableau Executing query part. in attachment, there is a video recorded the progress.
ENV: Macbook pro, elasticsearch 2.3.3 within Docker 1.11.2, tableau desktop 9.3
Data: only 1 piece:
curl -XPUT 'http://localhost:9200/db/user/1' -d ' {     "id": 1,     "name": "hugo" }'
I run a elasticsearch service on my Mac, and use the connector to connect it.
It's fine on the connector webpage(see attachment "connector_fine_page" ), index, type showed itself.
But after click "submit" button, it turns to tableau loading popup,  the steps are: connecting to database, Executing query, Loading metadata, Creating extract database, Executing query... (then stops here, will run about 10 mins to pop a timeout page, see "Executing query forever", "finall error").
Much appreciate if you could look into this.

video.zip

Can you provide the contents of the Tableau Desktop logs and see what is there?

Thanks for your quick reply, I check with the http://tableau.github.io/webdataconnector/Simulator/

seems, it keep getNextScrollResult

just tried again, there only one record in es, if I set "Total limit on number of rows to sync" to 1, it works fine

I suspect there's a bug when the total number of hits is less than the
limit specified in the connector.  I will push a fix for this asap.
On Wed, Jul 6, 2016, 3:04 AM hugo-zheng<EMAIL_ADDRESS>wrote:

just tried again, there only one record in es, if I set "Total limit on
number of rows to sync" to 1, it works fine
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mradamlacey/elasticsearch-tableau-connector/issues/17#issuecomment-230705048,
or mute the thread
https://github.com/notifications/unsubscribe/ABv8Hfhj4HaFuTCVvOFV7yQIH8QOmz_Cks5qS2GAgaJpZM4JFBWY
.


add redis-stack to docker-compose

Closes #11
My discord username is  devineer#5188
Thank you!

Thanks for the PR, @AsyncDeveloper245!  We will take a look :)

Thank you @simonprickett

Closes #11
My discord username is devineer#5188
Thank you!

Thanks @AsyncDeveloper245, I've given you the Hacktoberfest 2022 role in our Discord server :)


feat(list): Add heading for list widgets

Closes #5515

I have added LabelComponent before StyledListItemTopBar component. I checked the EditorControl.js and implemented this similar to that.
Collapsed

Expanded

I had to update the test snapshot to fix the test cases.
I updated the ListControl.spec.js where I replaced getByText with getAllByText where I get the element by type, since the labelComponent would also be returned for the same type and I have to match the actual list, not the label, hence getAllByText('type_1_object')[1].

Hi @erezrokah. But ideally shouldn't the label be added to all types of list?

Hi @erezrokah. But ideally shouldn't the label be added to all types of list?

Yes, there should be a label for all types - exactly one label. See that in the second image HOTEL LOCATIONS appears twice which feels redundant. Please let me know if I missed something

Ah ok, got it. Since all the individual elements are of the same type, a heading is not needed there. But for mixed types, it makes sense to have a label on the individual element. Is that right?

Ah ok, got it. Since all the individual elements are of the same type, a heading is not needed there. But for mixed types, it makes sense to have a label on the individual element. Is that right?

💯

@erezrokah I have updated the code, can you review it?


add xfs super magic to android targets

XFS_SUPER_MAGIC is defined in libc for android, but is missing in rust libc.
https://android.googlesource.com/platform/bionic/+/master/libc/include/sys/vfs.h#105
fix: #2948

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon.
Please see the contribution instructions for more information.

You don't have to open an issue when you immediately submit a PR.
@bors r+

:pushpin: Commit fcc0c72ecd5deeaac572d5f28469ee17964b5314 has been approved by JohnTitor
It is now in the queue for this repository.

:hourglass: Testing commit fcc0c72ecd5deeaac572d5f28469ee17964b5314 with merge f064e97b687b508e4adbaae9ef4c38e23662ad2b...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13, checks-cirrus-freebsd-14
Approved by: JohnTitor
Pushing f064e97b687b508e4adbaae9ef4c38e23662ad2b to master...


Angular Karma test won't run despite having .spec.ts file defined

I'm trying to run Karma tests within my Ng application. I've been following this video: https://www.youtube.com/watch?v=BumgayeUC08
I have a spec file defined as below, within a few sub-folders of my src folder src/app/pages/class-grid/class-grid.component.spec.ts
import 'jasmine';
import {TestBed, getTestBed, ComponentFixture, async} from '@angular/core/testing';
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';

import { ClassGridComponent } from './class-grid.component';
import {DebugElement} from '@angular/core';

describe('ClassGridComponent', () => {
  let component: ClassGridComponent;
  let fixture: ComponentFixture<ClassGridComponent>;
  let de: DebugElement;

  beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [ClassGridComponent]
    }).compileComponents();
  }));

  beforeEach(() => {
    fixture = TestBed.createComponent(ClassGridComponent);
    component = fixture.componentInstance;
    de = fixture.debugElement;

    fixture.detectChanges();
  });

  it('should created', () => {
    expect(true).toBeTruthy();
  });
});

My karma.conf.js file contains all the default values
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function (config) {
  config.set({
    basePath: '',
    frameworks: ['jasmine', '@angular-devkit/build-angular'],
    plugins: [
      require('karma-jasmine'),
      require('karma-chrome-launcher'),
      require('karma-jasmine-html-reporter'),
      require('karma-coverage-istanbul-reporter'),
      require('@angular-devkit/build-angular/plugins/karma')
    ],
    client: {
      clearContext: false // leave Jasmine Spec Runner output visible in browser
    },
    coverageIstanbulReporter: {
      dir: require('path').join(__dirname, '../coverage'),
      reports: ['html', 'lcovonly'],
      fixWebpackSourcePaths: true
    },
    reporters: ['progress', 'kjhtml'],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
    autoWatch: true,
    browsers: ['Chrome'],
    singleRun: false
  });
};

Likewise with test.ts
// This file is required by karma.conf.js and loads recursively all the .spec and framework files

import 'zone.js/dist/zone-testing';
import { getTestBed } from '@angular/core/testing';
import {
  BrowserDynamicTestingModule,
  platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';

declare const require: any;

// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
  BrowserDynamicTestingModule,
  platformBrowserDynamicTesting()
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);

When I run ng test this is the output I get
ERROR in src/app/services/auth/auth.service.ts(8,23): error TS2503: Cannot find namespace 'gapi'.
src/app/services/auth/auth.service.ts(9,21): error TS2503: Cannot find namespace 'gapi'.
src/app/services/auth/auth.service.ts(10,21): error TS2503: Cannot find namespace 'gapi'.
src/app/services/auth/auth.service.ts(56,7): error TS2304: Cannot find name 'gapi'.
src/app/services/auth/auth.service.ts(58,9): error TS2304: Cannot find name 'gapi'.

05 02 2020 15:01:45.222:INFO [Chrome 79.0.3945 (Windows 10 0.0.0)]: Connected on socket pWJmMw8qYTosCufeAAAA with id 42341007
Chrome 79.0.3945 (Windows 10 0.0.0): Executed 0 of 0 ERROR (0.014 secs / 0 secs)

I'm unsure whether the Cannot find name 'gapi' is an issue, the application works properly when I use ng serve and gapi isn't mentioned at all until I run ng test.
I have ran npm i, this hasn't changed anything.

I guess you need to add a plugin to compile TS to JS.


Find a better location for TeamspeakAdapter

In gitlab by @A-Lawrence on Feb 7, 2016, 20:20
As title suggests.
It probably shouldn't be in our Http Controllers.

In gitlab by @NFarrington on Feb 7, 2016, 20:23
New App\Libraries folder is for this.

In gitlab by @NFarrington on May 17, 2016, 13:19
Status changed to closed by commit 35a138c309267b7d607629b31f73f51c08cf3ab1

In gitlab by @NFarrington on Jun 12, 2016, 16:36
mentioned in commit 35a138c309267b7d607629b31f73f51c08cf3ab1


fix initialize mysql serializer by default

Proposed changes
Mysql serializer is used by all sub classes. Make it initialized by default to avoid NPE.

run buildall

run buildall

run buildall


added explanation for "ADAL" acronym

This relates to https://github.com/MicrosoftDocs/OfficeDocs-SharePoint/issues/1392

Duplicate of #1406


Fixed the CSS example for semi-transparent chat embedding

This is a fix for https://github.com/owncast/owncast/issues/3454

Thanks so much!


Pass-thru std{out,err} while also collecting it

Not a pressing issue at all, just a random thing I wanted recently for nicer test  debugging.

It was a bit difficult to get this setup in rust compared to other languages, but I have something similar here, https://github.com/pksunkara/cargo-workspaces/blob/master/src/utils/cargo.rs#L26

Yeah that is similar to what I had in mind.
PS: This link to your code works


The following mods are not working and I have no idea what impact that will have on the pack.

Failed mods

We upgraded the mod pack, should now work then.
This is a mod pack, missing mods will lead to missing functionalities but normally not break a new game :)


nfo file is not named the same as video file if "sort.renamefile": 0

Expected Behavior
NFO files are expected have the same name as the media they are describing.
Current Behavior
This is a new issue, as previous versions would name the nfo file the same as the video file when asked to, regardless the name.
Steps to Reproduce (for bugs)

Name a video file with some extra text (I was using tikp-049 test.mp4)
Scrape the file

Your Environment

Module version used:2.0.1
Operating System and PowerShell version:Ubuntu 18.04, powershell 7.0.3

Just tested this on 2.0.2 and see the same behaviour.

For clarification, sort.create.nfoperfile is the setting is forcing the nfo to be the same as the filename.
If that's set as false, then only a single nfo fill will be created per movie file, and it will follow the naming format of sort.format.nfo.

Thanks for the clarification.  Confirmed here that sort.create.nfoperfile is set to true as well.


Redirect program output to file

Add a configuration option for redirecting stdout to a user-specified filename.

For PBS, stdout/stderr can be controlled with PBS option "-e / -o / -j". We can specify them like this:
[Platform]
Queue     = PBS

[Queue]
options   = -q queue_name
          = -e stderr.log
          = -o stdout.log

In addition to that, autoperf will invoke the job like this in the PBS script:
# run the experiment
{exp_run} 2>&1 | tee {datadir}/job.log

i.e., stdout and stderr are dumped into {datadir}/job.log.
That been said, I believe you already know all the above, so I guess maybe you are asking to add a new option to change  {datadir}/job.log?

This is for non-PBS jobs, so we need to capture the stderr/stdout of the user-specified executable.

For serial or mic jobs, we have the similar:
# run the experiment
{exp_run} 2>&1 | tee {datadir}/job.log

Check https://github.com/HPCL/autoperf/blob/master/autoperf/queues/serial.py#L18 and https://github.com/HPCL/autoperf/blob/master/autoperf/queues/mic.py#L22


Love the package

Not an issue. I just wanted to voice my support for this package!
It's extremely easy to use after spending hours setting this up manually with an abundance of @ts-ginore's, this was a welcomed alternative.
Hopefully more people discover this!
(is there a better place for me to leave a comment or review?? lol)

Damn @forgowhisky, thank you so much for this comment, that means a lot to me :)
Do not hesitate to share any way how I can improve this package!

no problem @VGLoic !
We are using it for some enterprise sports betting software right now, so I will also be sure to share it in our listed public dependencies.

I'm closing the issue but thanks again for the comment @forgowhisky!


"Safe" edit mode for emergency use

Sometimes, an element breaks a page unexpectedly. This really sucks if there's been a lot of work done on a page. I'd like to propose an "edit in safe mode" option in the sitemap, or as query string in the URL, which disables all blocks on the page so that it doesn't break the edit mode. Each block would only load as a gray placeholder with the block name in it. Any code that isn't the barebones core will not be allowed to load (including tracker code, for example).
Hopefully then the offending block's settings page can be open and the problem rectified, or if not, it can simply be deleted from the page without having to revert to a previous version.

I normally use page versions to go back in time, but this is a good
suggestion.
On Thu, May 28, 2015, 11:37 PM CoreyLee Hassell<EMAIL_ADDRESS>wrote:

Sometimes, an element breaks a page unexpectedly. This really sucks if
there's been a lot of work done on a page. I'd like to propose an "edit in
safe mode" option in the sitemap, or as query string in the URL, which
disables all blocks on the page so that it doesn't break the edit mode.
Each block would only load as a gray placeholder with the block name in it.
Hopefully the offending block's settings page can be open and the problem
rectified, or if not, it can simply be deleted.
—
Reply to this email directly or view it on GitHub
https://github.com/concrete5/concrete5/issues/2530.

I keep coming across this problem testing blocks in the PRB. 5.7 edit mode is much easier to break with a faulty block than 5.6 edit mode was. Versions from the sitemap usually work, but not always. So I think this is a really good suggestion.
As well as rendering a grey box placeholder, perhaps also not serve any script assets used by the view. As some script assets can also be used by edit dialogs, such a further level of safety may not be practical.

Johnthefish: Maybe have safe mode levels then, and encourage good coding practices? If it's safe mode level 2, it will load only basic editing assets (as designed by the block developer), but safe mode level 1 is, in effect, disabling ALL code period except that which is needed to remove the block.
Alternative idea: generate a page asset list (listing all of the different blocks on a page) in a pop out control bar.

I wonder if another property on the BlockType class could accommodate this. Something like btSupportsEditDisplay or something to that effect, which when set to false would then replace the block with a grey box and suppresses the auto.js file from loading. And then this could be disabled at a BlockType level via the /index.php/dashboard/blocks/types page and the possibility of a bulk tool for enabling / disabling selected or all block types

I think something like this could be useful for debugging.

Very much still want this feature.

This has been discussed further as 'Recovery Mode' https://github.com/concrete5/concrete5/issues/7715 . AFAIK, just discussion at this point. No implementation.

Let's use #7715 for discussion.


We need to add a CNRM config to enable ASM services.

If we don't enable ASM services ISTIO ingressgateway won't
start and we will get 503s.

Update instructions

Provide instructions for installing yq

Update create_context.sh to allow the namespace to be specified

Add troubleshooting information for 503s and ASM services not being
enabled.

/assign @Bobgy

/lgtm

/approve


Run frontend component NGINX unprivileged

Description
This PR changes configuration of NGINX in frontend component to allow running the web server in unprivileged container.
Motivation and Context
This PR is necessary to allow the container image to run in RedHat Openshift environment.
The Openshift by default does not allow container images running in the privileged mode,
so default NGINX image cannot bind to TCP/80 port.
To support Openshift and similar Kubernetes environments, NGINX can be reconfigured
to listen on a port number >1024 and to use /tmp (or a similar filesystem) to store its temporary data.
A similar configuration is used in https://hub.docker.com/r/nginxinc/nginx-unprivileged container image.
Changes
The frontend's component container image listens on port TCP/8080 and uses /tmp/ path for NGINX's temporary files.

I replaced the image with the NGINXINC/nginx-unprivileged.
Could you, please, take a look again?

@bolmsten just realised the automatic checks are being skipped on this. Does Dmitriy need to be added to https://github.com/orgs/UserOfficeProject/teams/swap?


(PUP-6475) Use first server_list entry if failover hasn't occured

Without this change, if failover has not occured, Puppet would ignore
the server_list setting and instead use the legacy server setting.
Now, the agent will use the first entry of server_list if it's
available, and only fall back to the legacy setting if the new setting
is not in use. This will catch any requests made outside of the
"configurer" which is what handles the fallback logic

CLA signed by all contributors.

It's dirty, but it's about as good as we're going to get. :+1:


escapes the space in image filename

Escaping the space in the file name makes the image viewable on GitHub.com site. This is(/was previously) displaying the textual version of the Markdown reference:
![Workshopper screen](assets/images/Workshopper screen.png)

Closing in favor of #116. I should have checked existing PRs.


Poor glyphs quality

I am trying to automate my current icomoon workflow (= ditch it). After font is being generated I noticed that glyphs went through some hardcore normalization? It's not obvious in small sizes, but it's horrific after being scaled up.
This icon was generated by webfonts-generator:

And this by icomoon website:

And this is source svg:
<svg height="40" viewBox="0 0 40 40" width="40" xmlns="http://www.w3.org/2000/svg"><path d="m16.007 27.4453c.259-.259.424-.573.511-.904l1.51 1.51c-.168.287-.361.562-.606.808-1.373 1.372-5.497 1.662-6.31 1.706l-<IP_ADDRESS>-1.113c.044-.813.332-4.937 1.705-6.31.245-.246.521-.438.807-.607l1.51 1.511c-.33.087-.644.251-.903.51-.438.438-.835 2.161-1.026 3.855 1.687-.188 3.404-.576 3.854-1.026zm11.2437-11.3843-2.688-2.688c1.401-.983 3.133-1.373 4.042-1.373h.028c.012.807-.364 2.608-1.382 4.061zm-5.171 11.799-1.829-1.829 1.829-1.829zm-6.072-6.072 7.071-7.071 2.828 2.828-7.07 7.072zm.415-3.243-1.829 1.829-1.829-1.829zm13.727-8.07c-.324-.325-.815-.475-1.545-.475-1.462 0-4.329.691-6.233 2.596l-3.95 3.949h-6.656c-.266 0-.52.105-.708.293l-.707.708c-.391.391-.391 1.024 0 1.414l11.314 11.313c.195.196.451.293.707.293s.512-.097.707-.292l.708-.707c.188-.188.293-.442.293-.708l-.001-6.657 3.95-3.95c1.438-1.438 2.072-3.293 2.321-4.27.202-.792.587-2.721-.2-3.507z" fill-rule="evenodd"/></svg>

This is my config:
{
  files: ['jsapp/svg-icons/deploy.svg'],
  dest: 'jsapp/fonts/',
  fontName: 'k-icons',
  cssFontsPath: '../fonts/',
  css: true,
  cssTemplate: './jsapp/k-icons-css-template.hbs',
  html: true,
  htmlTemplate: './jsapp/k-icons-html-template.hbs',
  types: ['eot', 'svg', 'ttf', 'woff2', 'woff'],
  templateOptions: {
    classPrefix: 'k-icon-',
    baseSelector: '.k-icon',
    baseClassName: 'k-icon'
  },
  formatOptions: {
    svg: {
      normalize: false,
      round: 0,
    },
    ttf: {},
    woff2: {},
    woff: {},
    eot: {}
  }
}

As you can see I tried configuring all possible formatOptions - only svgicons2svgfont has some useful configuration, but it doesn't help at all.

Found the source of problem and solution: https://github.com/fontello/svg2ttf/issues/52 - the SVGs need to be in huge size (at least 1000x1000 px) for the svg2ttf to not loose quality


Create Admiral Driver

Leverage https://github.com/Admiral-Instruments/AdmiralSquidstatAPI to create a driver for Admiral instruments

From our conversation with Joe from Admiral, there should be a python library we can leverage for this.


Add more functionality to plugin system

Currently, plugins consist of a single function loaded from a shared object. This function registers all handlers. The bot itself doesn't know which handlers belong to which plugin, or how to safely unload the plugin. The bot also can't query the plugin for information such as help text, etc. A better system would be for a plugin to (optionally) populate a struct of function pointers at registration time. Further, a plugin should receive a pointer to some sort of bookkeeping struct (e.g. struct cbot_plugin) which it can use to store a pointer to private data.
High level goals:

Add a mechanism to retrieve help information
Add configuration to each plugin's registration
Add a mechanism to unregister an active plugin, removing all registered handlers and shutting down all lwts
(Stretch) make it possible to load the same plugin .so multiple times with different configuration

Closing this now since configuration and deregistration were implemented. Remaining goals are spun out into separate tickets.


Library blocks compiling

What happened?
When the package is included, i cannot run the totality of my project tests.
What did you expect to happen?
To the package to at least let me compile the project
How can we reproduce it (as minimally and precisely as possible)?
macOS x64; go version 1.21.5;
include the package and use it
Anything else we need to know?
No response

The information provided is insufficient to reproduce the issue. Please include a code snippet or any relevant details that can actually reproduce the issue you are experiencing. This will help in identifying and resolving the problem more effectively.

@Jantalus I'm guessing you're running into the long-running compilation process of the ZetaSQL bindings.
See this note in the README.md https://github.com/goccy/bigquery-emulator?tab=readme-ov-file#install


A few questions

Awesome module! Came across this, and this is very similar to something I wanted to build for a long time. I am working on an Elixir content management system based on GraphQL / React and Ecto (will be open source soon) and I might integrate this. I have a few questions:

How does it deal with adding and removing fields in the schema?
How to deal with data migrations (in migrations you cannot really use schema names as they might change or be removed)
Would it be possible to also add a version that is not yet applied to the DB (like a draft).

How does it deal with adding and removing fields in the schema?

It doesn't do anything special about it. Since it stores diffs of the data, it will have the changed field in the change list as an addition or removal the next time a change is recorded.

How to deal with data migrations (in migrations you cannot really use schema names as they might change or be removed)

I'm not sure what you want to achieve here. Do you want to change recorded versions or add a new version with the changes done in the migration? Let me say it like this, ex_audit won't prevent you from modifying the versions table manually, but design wise I haven't thought about this.

Would it be possible to also add a version that is not yet applied to the DB (like a draft).

Sure, you could add another field to the version schema that is a flag if something is a draft, and record the change manually, but I think this would be shoe-horning a feature ex_audit wasn't meant to do.

How does it deal with adding and removing fields in the schema?

It doesn't do anything special about it. Since it stores diffs of the data, it will have the changed field in the change list as an addition or removal the next time a change is recorded.

Neat this wasn't clear to me, but if it's just the diffed fields that's nice. I think this is indeed the best approach. When a field is deleted and it is present in a diff I presume nothing happens (no failures).

How to deal with data migrations (in migrations you cannot really use schema names as they might change or be removed)

I'm not sure what you want to achieve here. Do you want to change recorded versions or add a new version with the changes done in the migration? Let me say it like this, ex_audit won't prevent you from modifying the versions table manually, but design wise I haven't thought about this.

I was more thinking along the lines of when you add new fields with default values or values derived from other fields. As it just reverts diffs, it would handle that fine (probably the versions table doesn't need any change).

Would it be possible to also add a version that is not yet applied to the DB (like a draft).

Sure, you could add another field to the version schema that is a flag if something is a draft, and record the change manually, but I think this would be shoe-horning a feature ex_audit wasn't meant to do.

Yes went through the source code and with the diff approach future versions will be tricky. I think it's better to have a separate library that just stores a changeset/forward diff in a "drafts" table.
What would be super helpful for me is:

A history function that is limited to the last # or versions (to solve a potential scaling issue when there a LOT of versions)
A way to handle many-to-many relationships and storing them in the diff (do you already have an idea how to handle that?)

Both I can potentially PR.

What would be super helpful for me is:

A history function that is limited to the last # or versions (to solve a potential scaling issue when there a LOT of versions)

That's not possible currently, because it's only storing diffs. It could be solved by adding "keyframes" (like MPEG does it).

A way to handle many-to-many relationships and storing them in the diff (do you already have an idea how to handle that?)

This would need an extra table with 2 entity_id fields.


Better serialization for Blob and File

Currently Blob and File relies on ArrayBuffer serialization, which means it uses the Uint8Array indirectly. This serialization form is accurate, but is probably too large for consideration. Blob accepts Uint8Array, ArrayBuffer, DataView and string, so it's probably ideal if the string format can be utilized instead.

To watch out: https://github.com/tc39/proposal-arraybuffer-base64


Add setters to generated struct streams

Codecov Report

Merging #62 into master will decrease coverage by 0.03%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master      #62      +/-   ##
==========================================
- Coverage   86.75%   86.72%   -0.04%
==========================================
  Files          30       30
  Lines         906      919      +13
==========================================
+ Hits          786      797      +11
- Misses        120      122       +2

Impacted Files
Coverage Δ

types/stream.js
97.14% <100%> (+0.59%)
:arrow_up:

types/struct.js
90.1% <80%> (-1.56%)
:arrow_down:

Continue to review full report at Codecov.

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


The example is not working for me

I'm getting this error:
Uncaught TypeError: Cannot set property 'next' of undefined
on this row:
realSymb[next] = getSymbol(nextSymb);
What could be the reason?

but here it works? http://flowchart.js.org/

No, But I found out that what caused the error is that
cond=>condition: Yes
or No?:>http://www.google.com
were in separate lines, while it should be:
cond=>condition: Yes or No?:>http://www.google.com
If I already opened an issue, is it possible to achieve this (what is marked in red):

Thank you!

At the moment not...
Il giorno 6-set-2015, alle ore 12:30, awolfson87 <notifications<EMAIL_ADDRESS>ha scritto:
No, But I found out that what caused the error is that
cond=>condition: Yes
or No?:>http://www.google.com
were in separate lines, while it should be:
cond=>condition: Yes or No?:>http://www.google.com
If I already opened an issue, is it possible to achieve this (what is marked in red):
[flowchart]https://cloud.githubusercontent.com/assets/14044667/9703979/63f7cd1c-549d-11e5-8f62-bc1b804288a7.png
Thank you!

Reply to this email directly or view it on GitHubhttps://github.com/adrai/flowchart.js/issues/59#issuecomment-138067433.


add test for callback in url

This looks unnecessary given you can pass the callback name as a parameter. Seems fragile too as it could have an exception if the regex fails.


Introduce and use Cluster.withLock to achieve cluster-wide locking

This is a backport of https://github.com/mongodb/mongo-java-driver/pull/869.
JAVA-4471

https://github.com/mongodb/mongo-java-driver/pull/869 was not cherry-picked cleanly and required manually resolving conflicts in factories and places where they are used. I also had to introduce more (fortunately, local) AtomicReference/AtomicBoolean mutable boxes. Ugly, but is fine because we don't have the same problems in master (expect for the SingleServerCluster).

The important thing to pay attention to when reviewing is that this PR must not introduce synchronization in places where it was not present.

Evergreen patch (since no tasks were started by GitHub): https://spruce.mongodb.com/version/62015bea1e2d1746b51b01d8/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

Huh, return statements in AbstractMultiServerCluster.onChange have a very different meaning when are put inside a synchronized block or inside a lambda expression. Fortunately, tests in 4.4.x caught this bug, but tests in master have not. I will create one more PR for master, and include it's backport in this PR.

Strange.  What test in 4.4.x caught it?

👉 [this|https://spruce.mongodb.com/task/mongo_java_driver_tests_require_api_version__version~latest_os~linux_topology~standalone_auth~auth_ssl~nossl_jdk~jdk17_api_version~required_test_patch_e97edcd3252b06596c8b0da73448c908f18430ce_62015bea1e2d1746b51b01d8_22_02_07_17_50_35/tests?execution=0&sortBy=STATUS&sortDir=ASC&statuses=fail]

Actually, it is all fine in master because there are no situations when something is done after calling withLock. But in 4.4.x there are such situations.

New evergreen patch.


Ongoing maintenance consulting

I saw it on your website: https://eng.uber.com/peloton/ , You are also planning to migrate Mesos workloads to Kubernetes using Peloton. Will the mesos platform continue to be supported in the future?

For the foreseeable future, Mesos platform will continue to be supported.


Compatible with "request.query_params" method in django-rest-framework

Recently, I writed rest api with django-rest-framework about  http method "GET", and receive data 'request.query_params' in my codes.  But when I run "http GET http://x.x.x.x/name/" tag=xxx", I can't receive params “tag” in requests.
Afterwards，when I can try change  to "request.data", all going well. Finnally, I have to request_data = request.query_params.get('tag') or request.data.get('tag')in my codes.
Is it httpie bug ?
thanks

To specify URL query string parameters, you need to use the  key==value syntax:
$ http --verbose httpbin.org/get  tag==xxx  tag2==yyy

GET /get?tag=xxx&tag2=yyy HTTP/1.1

Hi,
Did you solve this issue? I'm encountering this as well.


build failure...

I am trying to build this project, but build is failing because of org.cachebench:cache-benchmark:jar jar not found. I checked in maven, but it is not there too.
Let me know how to build this project

Sorry, moving the github the build notes were moved into NOTES. The cachebench jar has to be installed locally as it was a JBoss Cache tool that wasn't put on Central, but used when one of their developer's blogged about it. I think it was rebranded Railgun and I hadn't realized & upgraded.
Also note that you have to build using JDK6/7 due to the ConcurrentHashMapV8 method collisions with the default methods in Map. Alternately, you can safely remove that class and use ConcurrentHashMap.

Closing as the build instructions provide the command to install the /libs jar locally. Please reopen if you run into any other build problems.


[1pt] PR: Revise masking levee-protected areas from inundation

This PR revises the methodology for masking levee-protected areas from inundation. It accomplishes two major tasks: (1) updates the procedure for acquiring and preprocessing the levee data to be burned into the DEM and (2) revises the way levee-protected areas are masked from branches.
(1) There are now going to be two different levee vector line files in each HUC. One (nld_subset_levees_burned.gpkg) for the levee elevation burning and one (nld_subset_levees.gpkg) for the levee-level-path assignment and masking workflow.
(2) Levee-protected areas are masked from inundation based on a few methods:

Branch 0: All levee-protected areas are masked
Other branches: Levee-protected areas are masked from the DEMs of branches for level path(s) that the levee is protecting against by using single-sided buffers alongside each side of the levee to determine which side the levee is protecting against (the side opposite the associated levee-protected area).

Closes #822.
Additions

.gitignore: Adds .private folder to keep unversioned code
data/

esri.py: Class for querying and downloading ESRI feature services.
nld/

levee_download.py: Module that handles downloading and preprocessing levee lines and protected areas from the National Levee Database.

src/associate_levelpaths_with_levees.py: Associates level paths with levees using single-sided levee buffers and writes to CSV to be used by src/mask_dem.py

Changes

.config/

deny_branch_zero.lst: Adds dem_meters_{}.tif
deny_branches.lst: Adds levee_levelpaths.csv and removes nld_subset_levees_{}.tif
deny_unit.lst: Adds dem_meters.tif
params_template.env: Adds levee_buffer parameter for levee buffer size/distance in meters and levee_id_attribute

src/

bash_variables.env: Updates input_nld_levee_protected_areas and adds input_NLD (moved from run_unit_wb.sh) and input_levees_preprocessed environment variables
clip_vectors_to_wbd.py: Added the new levee lines for the levee-level-path assignment and masking workflow.
delineate_hydros_and_produce_HAND.sh: Updates input arguments
mask_dem.py: Updates to use levee_levelpaths.csv (output from associate_levelpaths_with_levees.py) to mask branch DEMs
run_by_branch.sh: Clips dem_meters.tif to use for branches instead of dem_meters_0.tif since branch 0 is already masked.
run_unit_wb.sh: Added inputs to clip_vectors_to_wbd.py. Added associate_levelpaths_with_levees.py. Processes dem_meters.tif and then makes a copy for branch 0. Moved deny_unit.lst cleanup to after branch processing.
burn_in_levees.py: Removed the unit conversion from feet to meters because it's now being done in levee_download.py.

Removals

data/nld/preprocess_levee_protected_areas.py: Deprecated

Testing
Tested on a number of HUCs including 03140202, 08080202, 08080301, 08080302, and 08080401.
Notes

Usage for the new levee download workflow is simply: python3 /foss_fim/data/nld/levee_download.py. There will be 3 outputs written to /data/inputs/nld_vectors/. Whenever levees are updated, /src/bash_variables.env should also be updated to reflect the new filenames since the dates will be updated.

System_Routes_NLDFS_5070_{YYMMDD}.gpkg
3d_nld_preprocessed_{YYMMDD}.gpkg
Leveed_Areas_NLDFS_5070_{YYMMDD}.gpkg

Inundation results
08020302
In contrast to the FIM4/FIM3 comparison in #822:
there is now inundation in the levee-protected area (gray) with the 100 year recurrence flow.

However, notice in the image above that the inundation doesn't follow the mainstem (green line). This is not related to the levee-masking process but instead is caused by diverging NWM (green line) and DEM-derived (black dotted line) stream networks which cause the REM (brown shading) for the mainstem branch to stop before it enters the levee-protected area. So none of the inundation in the leveed area is derived from the mainstem branch but all of it is coming from the mainstem tributaries (since branch 0 is also masked).

08020401
Inundation behind the levee-protected area is retained as desired.


DouyuTV live - HTTP error 403 Forbidden

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Provide a description that is worded well enough to be understood
Douyu's live link is invalid
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
C:\Users\Administrator>yt-dlp -vU http://www.douyu.com/5168755
[debug] Command-line config: ['-vU', 'http://www.douyu.com/5168755']
[debug] Portable config "E:\Tencent\Mplayer\yt-dlp.conf": ['--output', 'E:\\Tencent\\N_m3u8DL-CLI\\Downloads\\%(title)s-%(section_number)s-%(section_title)s.%(ext)s', '--console-title', '--progress-template', 'download-title:%(info.id)s-%(progress.eta)s', '--merge-output-format', 'mp4', '--no-write-subs', '--external-downloader', 'aria2c', '--cookies-from-browser', 'edge', '--embed-thumbnail', '--embed-metadata']
[debug] Encodings: locale cp936, fs utf-8, pref cp936, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 6.0-full_build-www.gyan.dev (setts), ffprobe 6.0-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[Cookies] Extracting cookies from edge
[debug] Extracting cookies from: "C:\Users\Administrator\AppData\Local\Microsoft\Edge\User Data\Profile 1\Network\Cookies"
[debug] Found local state file at "C:\Users\Administrator\AppData\Local\Microsoft\Edge\User Data\Local State"
[Cookies] Extracted 544 cookies from edge
[debug] cookie version breakdown: {'v10': 544, 'other': 0, 'unencrypted': 0}
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 5590c57bd0433ed239a2deaaf92e2ad6f37fe50f53664c821575cafe106a9421
yt-dlp is up to date<EMAIL_ADDRESS>[DouyuTV] Extracting URL: http://www.douyu.com/5168755
[DouyuTV] 5168755: Downloading room info
[DouyuTV] 5168755: Downloading m3u8 information
ERROR: [DouyuTV] 5168755: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "yt_dlp\extractor\common.py", line 694, in extract
  File "yt_dlp\extractor\douyutv.py", line 115, in _real_extract
  File "yt_dlp\extractor\common.py", line 1941, in _extract_m3u8_formats_and_subtitles
  File "yt_dlp\extractor\common.py", line 882, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 839, in _request_webpage

  File "yt_dlp\extractor\common.py", line 821, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 3742, in urlopen
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 569, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 403: Forbidden

I can't reproduce the issue. Have you modified the source code? I don't see how this error could occur otherwise.
These have been lines 107-108 of douyutv.py since the last stable release:
            f'http://www.douyutv.com/api/v1/room/{room_id}', video_id,
            note='Downloading room info', query=params)['data']

Has yours been modified from ['data'] to [data]?

        f'http://www.douyutv.com/api/v1/room/{room_id}', video_id,
        note='Downloading room info', query=params)['data'] 这里没有改动过

C:\Users\Administrator>yt-dlp https://www.douyu.com/5168755
[Cookies] Extracting cookies from edge
[Cookies] Extracted 543 cookies from edge
[DouyuTV] Extracting URL: https://www.douyu.com/5168755
[DouyuTV] 5168755: Downloading room info
[DouyuTV] 5168755: Downloading m3u8 information
[info] 5168755: Downloading 1 format(s): 2560
[info] Downloading video thumbnail 0 ...
[info] Writing video thumbnail 0 to: E:\Tencent\N_m3u8DL-CLI\Downloads\来了 今天无敌开始了！！！ 2023-06-12 21_18-NA-NA.jpg
[download] Destination: E:\Tencent\N_m3u8DL-CLI\Downloads\来了 今天无敌开始了！！！ 2023-06-12 21_18-NA-NA.mp4
[https @ 00000137fa614800] HTTP error 403 Forbidden
https://b7dd8e8de6b47fde4e0d3b48c274d8a4.v.smtcdns.net/openhls-tct.douyucdn2.cn/live/5168755rYvNEHQvI.m3u8?wsSecret=572186bcac9bdc292924ec79c1de82dc&wsTime=1686575888&TxLiveCode=cold_stream_overload&svr_type=live_oc&tencent_test_client_ip=<IP_ADDRESS>&dispatch_from=OC_MGR<IP_ADDRESS>&utime=1686575899918: Server returned 403 Forbidden (access denied)

C:\Users\Administrator>yt-dlp https://www.douyu.com/5168755
[Cookies] Extracting cookies from edge
[Cookies] Extracted 542 cookies from edge
[DouyuTV] Extracting URL: https://www.douyu.com/5168755
[DouyuTV] 5168755: Downloading room info
[DouyuTV] 5168755: Downloading m3u8 information
ERROR: [DouyuTV] 5168755: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
this is the original

C:\Users\Administrator>yt-dlp -vU http://www.douyu.com/5168755
[debug] Command-line config: ['-vU', 'http://www.douyu.com/5168755']
[debug] Portable config "E:\Tencent\Mplayer\yt-dlp.conf": ['--output', 'E:\Tencent\N_m3u8DL-CLI\Downloads\%(title)s-%(section_number)s-%(section_title)s.%(ext)s', '--console-title', '--progress-template', 'download-title:%(info.id)s-%(progress.eta)s', '--merge-output-format', 'mp4', '--no-write-subs', '--external-downloader', 'aria2c', '--cookies-from-browser', 'edge', '--embed-thumbnail', '--embed-metadata']
[debug] Encodings: locale cp936, fs utf-8, pref cp936, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[392389b7d] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19044-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg 6.0-full_build-www.gyan.dev (setts), ffprobe 6.0-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.17, brotli-1.0.9, certifi-2022.12.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[Cookies] Extracting cookies from edge
[debug] Extracting cookies from: "C:\Users\Administrator\AppData\Local\Microsoft\Edge\User Data\Profile 1\Network\Cookies"
[debug] Found local state file at "C:\Users\Administrator\AppData\Local\Microsoft\Edge\User Data\Local State"
[Cookies] Extracted 544 cookies from edge
[debug] cookie version breakdown: {'v10': 544, 'other': 0, 'unencrypted': 0}
[debug] Proxy map: {}
[debug] Loaded 1786 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version<EMAIL_ADDRESS>Current version<EMAIL_ADDRESS>Current Build Hash: 5590c57bd0433ed239a2deaaf92e2ad6f37fe50f53664c821575cafe106a9421
yt-dlp is up to date<EMAIL_ADDRESS>[DouyuTV] Extracting URL: http://www.douyu.com/5168755
[DouyuTV] 5168755: Downloading room info
[DouyuTV] 5168755: Downloading m3u8 information
ERROR: [DouyuTV] 5168755: Failed to download m3u8 information: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
File "yt_dlp\extractor\common.py", line 694, in extract
File "yt_dlp\extractor\douyutv.py", line 115, in _real_extract
File "yt_dlp\extractor\common.py", line 1941, in _extract_m3u8_formats_and_subtitles
File "yt_dlp\extractor\common.py", line 882, in _download_webpage_handle
File "yt_dlp\extractor\common.py", line 839, in _request_webpage
File "yt_dlp\extractor\common.py", line 821, in _request_webpage
File "yt_dlp\YoutubeDL.py", line 3742, in urlopen
File "urllib\request.py", line 531, in open
File "urllib\request.py", line 640, in http_response
File "urllib\request.py", line 569, in error
File "urllib\request.py", line 502, in _call_chain
File "urllib\request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 403: Forbidden

can you show a verbose log with this error? add -v

Douyu now extracts the live source link and cannot directly use "http://openhls-tct.douyucdn2.cn/dyliveflv1/252140rz7aIq14cx_1024p.flv" must bring txSecret=fea7f993f949de8fae88a25f6a31ca55&txTime=6489e855
Because Douyu now has all the short link formats invalid

I've ported a solution from https://github.com/WhiteMinds/DouYuRecorder/, and added PhantomJs to the extractor to get authenticated on the new API:
https://github.com/c-basalt/yt-dlp/tree/douyu

https://github.com/yt-dlp/yt-dlp/blob/613dbce177d34ffc31053e8e01acf4bb107bcd1e/yt_dlp/extractor/douyutv.py#L113-L116
This video_url in the current master branch appears to be no longer working. Do we know if this might work in some cases or should we just get rid of these?

Also, when I was testing the patch using https://www.douyu.com/998, I noticed that ffmpeg missed a lot of ts fragments from m3u8 link, because the single-threaded download speed of ffmpeg couldn't catch up and playlist reloading was too slow.
One way I figured out is to use streamlink with --stream-segment-threads. A command like this worked for me: streamlink $(py.exe -m yt_dlp -v "https://www.douyu.com/998" --get-url) best --loglevel trace -o "$(date +%s)-test.ts" --logfile "$(date +%s)-streamlink.log" --stream-segment-threads 10
Streamlink without --stream-segment-threads will result in an ever-growing download queue, until all queued items start to receive HTTP 404 and streamlink terminates itself.
Is there any plan that future yt-dlp will have some concurrency for m3u8 livestream (perhaps a native m3u8 downloader for live stream, since I don't feel ffmpeg was designed for live stream)? This can be important in a situation like this.

This video_url in the current master branch appears to be no longer working. Do we know if this might work in some cases or should we just get rid of these?

@c-basalt See the patch here: https://github.com/yt-dlp/yt-dlp/pull/6074#issuecomment-1544809230

@c-basalt See the patch here: #6074 (comment)

The patch from May 11th gives new m3u8 links like this: https://openhls-tct.douyucdn2.cn/live/288016rlols5.m3u8?wsSecret=3a17750d0910ce6f0b73cd888255eeef&wsTime=1689724357
However, it seems those openhls-tct.douyucdn2.cn links are also giving me HTTP 403. I wonder if something has changed on the server side after that.


HHH-10786 - Add MySQL 5.7 JSON datatype support

The new JSON datatype is documented here :
https://dev.mysql.com/doc/refman/5.7/en/json.html
The actuel MySql57 dialect doesn't support it

I will integrate your change, but first I need to add a MySQL JSON test to demonstrate why we need the change,

Applied upstream, thanks.


Prevent duplicated email logs in DB

This PR fixes two issues:

The massmailer module tried to install the now removed queue module, which caused an exception. This is now fixed.
The email queue will currently log an email to the DB each time it tries to send it, which could lead to many instances of it recorded in the email log when there's a failure. This PR changes it so that the email is only logged once it sends correctly or once it fails it's max attempts.

Another option would be to only log it on the first attempt, but I thought that posed a greater risk of confusion if there's like a brief outage of the email server causing things to sit in the queue for 10-15min.

Another option would be to only log it on the first attempt, but I thought that posed a greater risk of confusion if there's like a brief outage of the email server causing things to sit in the queue for 10-15min.

Agreed.


Alien and spaceship mobs?[Request]

Is it possible you could add alien animals, villagers, stations, rockets and shuttles that would populate planets with alien biomes or Galacticraft dim-mapped planets or moons?
There could also be spaceship mobs that you could encounter in the asteroids dimensions or in warp that would attack you and you would have to shoot at them with lasers or other weapons, and if you shoot them down you can use the tractor beam to obtain a box containing all of their loot.
But there could also be friendly ships and combat events where a friendly or neutral ship is being attacked by a hostile ship and you have the option to help the friendly ship defend itself.
The alien animals would be analogous to the vanilla Minecraft mobs, and you'd have 3 different versions of each, and the species would be the following: Alien cow, alien chicken, alien pig, alien wolf, alien ocelot, alien horse, hover horse, alien slime, alien creeper, rocket creeper.
there'd be 3 different subtypes of each of these mobs which would spawn on different types of planets, for example you could have a cold climate version of them, a warm climate version, and a temperate version. AR is a nice mod but I feel it needs a little help since it seems rather empty, which, while definitely realistic, means there's not quite as much fun as there could be exploring space, considering every planet with life is probably going to be identical to environments found on Earth unless it uses biomes from other mods.
These ship mobs and such would be encountered in asteroids dimensions (Not just AR ones, but Galacticraft ones as well), in space stations (Rarely), and when warping to other planets. Every time you warp, you have a 1/24 chance to run into a ship of some type and 1/64 chance to run into a battle between two other ships or more.
It's also possible the alien villagers could have rockets of their own, or at least launch pads in their villages. If possible they might be able to actually USE rockets.
This feature is not one I want very badly, but I still thought it would be a good idea to suggest.

It sounds decently interesting, but needs some work.

As an update: The hover horses would be able to go over water, cobwebs, lava, unsupported/flying sand or gravel, fire, cacti or any other surface that causes damage upon touching, and do it without them getting hurt. They could also fly over gaps if you hold the space button, and they'd have a limited amount of stamina for hovering over gaps, after which they would slowly glide down to the nearest ground.  Hover horses could also live on airless planets if you have such a planet that has structures enabled, and you could find alien villagers with stables which contain hover horses. The hover horses could be given iron, gold, diamond, or titanium armor, in addition to increasing their skin toughness by feeding them nuggets of that metal, and they could carry 2 large chests on their backs in addition to 2 passengers. Feeding a hover horse dilithium would increase its hover stamina and boost speed. Oh, yeah- that's another thing, hover horses can sort of "Sprint" by activating their afterburners. The afterburners would use up the hover stamina as well and would recharge slowly if the horse keeps "walking", but faster if the horse hovers in one spot, or even faster if it is fed redstone. Hover horses would have metal-armored skin and be immune to arrows, and could also have a slot in their inventory for station and planet ID chips to allow them to fly to a planet or station to meet you there, so they can go between worlds with you.


Playback Speed broken with extension

Hey there,
I noticed a wired bug with the extension. The playback speed can't be changed if the extension is enabled. It will always stay with 1.00, even if you change it within the player. There are also some extensions which can change the speed of HTML5 players, but they also don't work with this extension.
It seems like it is forcing playback speed of 1.00. Maybe because an outdated cadmium-playercore version is still used.
If I can help let me know.
BR!

Hey @lkmvip
I saw that you have updated the cadmium-playcore version, thanks therefore!
But it seems like it hasn't fixed the issue. If it is not the outdated playcore version, then I don't know what could cause this issue, sorry.. =/
I just noticed, that the volume button won't work either with the extension enabled. Volume will always stay at 100%, no matter how it is set in the player settings, even if muted. It doesn't bother me, since I use the Windows sound option, but you might want to know it.


Updated pom.xml to have project id

Updated pom.xml to have project id, as per the instructions.

LGTM


Next Release date of Visual Studio Code ?

Many things have been fixed ... it's been 2200 commits  :)
When do we have the next release of Visual Studio Code ?

See #67225 for details?

/duplicate of #67225


Appsync or Datasore api call issue : Value for field '$[lastSync]' must be a number

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

How did you install the Amplify CLI?
npm i -g @aws-amplify/cli@latest
If applicable, what version of Node.js are you using?
16.13.2
Amplify CLI Version
10.0.0
What operating system are you using?
Windows
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
no manual changes performed
Amplify Categories
api
Amplify Commands
Not applicable
Describe the bug

After login to application, I am getting error on GraphQL calls to sync all data.
Value for field '$[lastSync]' must be a number
Expected behavior
graphql calls to sync all data after login should return data.
Reproduction steps
My project was working fine, I added a string attribute in schama.graphql of amplify api. After pushing this change, project started miss behaving. Even I then deleted that key and pushed the code using amplify push and amplify publish, but the issue still there.
GraphQL schema(s)

# Put schemas below this line

Project Identifier
No response
Log output

# Put your logs below this line

Additional information
No response

Hey @rizvanhaider :wave: thanks for raising this! It appears this is similar to the report here https://github.com/aws-amplify/amplify-category-api/issues/806, and a fix has recently been merged. Closing as a duplicate bug


Laravel 8 Support

Any plans on moving to Laravel 8? I can make PR if needed.

@filipbekic01 This isn't maintained anymore. It's not overly difficult to maintain your own, you can do something like this: https://gist.github.com/BryanYeh/1cd9a4edac8334302bc08dae269b1a9a


pip3 -r no such option

python last ver 3.8
typing: pip3 -r
getting: no such option: -r

This issue tracker is for a command-line tool called "hub" which is written in Go. Your question seems unrelated to this project, and you should find a more appropriate forum to ask it in. Thank you.


add ENABLE_RATE_LIMIT for customization

Added an environmental variable to enable/disable rate_limiter

There are some issues with this implementation, and @ChanHongMing  will fix it later.


questions about splitting  coco to coco open-vocabulary

❓ Questions and Help
Hi, thanks for sharing your nice work! I have followed 001.ipynb to split COCO to COCO open-vocabulry, and successfully done this part. However, when I use the dataset, I found that the 'instances_val2017_all.json' include 4836 images, while the 'instances_val2017_seen.json' include 4533 and the 'instances_val2017_unseen.json' include 2064 images.
In my thinking, 'all' should be equal to 'seen' plus 'unseen', but 4836 ≠ 4533 + 2064. So, I'm wondering if I was splitting the dataset wrong.

Hi ，I can answer your question. 4836=4553 ∩ 2064. 4553 is numbers of images including seen class ,2064 is numbers of images including unseen class. There are some images including both seen and unseen class. So they will be computed twice.

Hi ，I can answer your question. 4836=4553 ∩ 2064. 4553 is numbers of images including seen class ,2064 is numbers of images including unseen class. There are some images including both seen and unseen class. So they will be computed twice.

Oh, thanks to your reply, I figured it out. Thank you very much!


added helper for new recipient form

Solves #454
Added a new "Recipients" helper that can do two things:

Generate an HTML form with a customizable URL to allow users to submit their name and email.
Create a new recipient object when the form is submitted.

I included code in the examples directory, as well as unit tests.
A helper for "lists" should also probably be created, showing how to add a created recipient to a list.
First time contributor- so please let me know if I named anything inappropriately, or if there is a way to improve this implementation! I tried to copy patterns from the "Mail" helper as much as possible.

 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.

Thanks for the feedback @shonjord - I have addressed them in dfce02a. Let me know if the fixes are adequate.

@thinkingserious could I get some feedback on this PR? Is this what you were looking for in #454 ?

@kraigh
We have not been able to merge your Pull Request, but because you are awesome - we wanted to make sure you could still get a SendGrid Hacktoberfest shirt.
Please go fill out our swag form before Nov 5th and we will send the shirt! (We know that you might have tried this before and it didn’t work, sorry about that!)
You have till Nov 5th to fill out this form in order to get the Hacktoberfest shirt!
Thank you for contributing during Hacktoberfest! We hope to see you in the repos soon! Just so you know, we always give away a SendGrid shirt for your first ever non-Hacktoberfest PR that gets merged.

Hello @kraigh,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Added buffer to all sides of Tooltip's floating content

Changes
This PR added a buffer of 4px to all sides of the Tooltip's floating content so that when users slightly move their mouse outside of the content box, the tooltip is still visible.

Testing

Confirmed that the tooltip is still visible when the mouse moves outside of the border.
https://github.com/user-attachments/assets/718f75fd-a63f-451c-89bf-3962cb7cbb52
Docs

N/A

There are two things I would like to ask for more opinions in this PR:

I have tested with and without the safePolygon specified in the useHover hook's option and noticed that even with a larger inset that overlaps the trigger element (I have set the pseudo-element's background to white for debugging), the tooltip disappears as soon as the mouse moves out of it. Should I keep this setup so that the transition between the element and the floating content can be kept?

https://github.com/user-attachments/assets/bf9f88b4-b0f6-467b-8da7-ecb8c7abc70a

I notice the overflow: hidden clips off the edges of the ::before pseudo-element, which results in the buffer size not showing up correctly. Can we either set overflow to either unset or visible for this buffer content to be fully shown?

overflow: hidden
overflow: visible

I have tested with and without the safePolygon specified in the useHover hook's option and noticed that even with a larger inset that overlaps the trigger element (I have set the pseudo-element's background to white for debugging), the tooltip disappears as soon as the mouse moves out of it. Should I keep this setup so that the transition between the element and the floating content can be kept?

If it doesn't behave properly without safePolygon, then yeah we should keep it.

* I notice the `overflow: hidden` clips off the edges of the `::before` pseudo-element, which results in the buffer size not showing up correctly. Can we either set `overflow` to either `unset` or `visible` for this buffer content to be fully shown?

Yeah that's fine. I'm not sure why we even had overflow: hidden (looks like it was added 3 years ago without any explanation).


implement the standard Go Hash interface?

Do you think it might be possible to implement the standard hash.Hash, hash.Hash32, and hash.Hash64 interfaces. Then meow could be a drop-in replacement for many cases.
https://golang.org/pkg/hash/#Hash

The reason not to do this was that the length was part of the initialization vector, making streaming difficult. See cmuratori/meow_hash#2 for discussion.
Having just checked that issue, it seems he's come up with a v0.2 to address this problem. I'll adopt this change once it's finalized.


Fix: Add Nix-Code's Portfolio

closes #16

Sure. Let me commit the changes

Thank you :)

@all-contributors please add @Nix-code for code


Add a way to transform any HList into a Monoid of some Coproduct

Given a Monoid instance F, it is possible to convert any HList into a F[C] where C would be the smallest coproduct that encompasses all the input HList elements' types.
For example the desired function would transform
1 :: "Foo" :: true :: 42 :: HNil
into a
F[Int :+: String :+: Boolean :+: CNil]
for any given F.
See this gist for a stub implementation (specialized for the List monoid)

I'd be happy to have a PR for this for 2.3.1 and I also think that something along these lines will most likely drop out of the SMC redesign in shapeless 3.0.0.

@milessabin I fail to find a Monoid definition in master (except the one defined for tests). Is that something that is planned for addition in 2.3.0, in which case I would patiently wait for it, or would a specialized version (like in the gist proposed in the description above) be enough for now ?

Good point. Maybe it belongs in Kittens instead?

I'm not very familiar with Kittens (yet). Is transforming a HList to a F[C] (with F:Monoid & C <: Coproduct) something valuable for Kittens users ?

@vil1 You should use CanBuildFrom for this, like ToTraversable does for example. It's (very) vaguely like having a monoid - you create a builder and add elements to it.

@alexarchambault that's a pretty trick I would've probably never think of ! I'll give it a try tonight.


locus at first primary label

This should resolve #259.
This solution only works if the first primary label occurs before any secondary labels which appear earlier in the source code. This would e.g. also work if all primary labels were added before the secondary labels. I think that is more or less the convention?
If this behaviour is adopted, it should be documented somewhere. Where would that best be?
Alternatively the labels could be sorted before being processed. But I think that might be a performance hit.

I think this is ready to be merged.

Would be cool if we could rebase this branch now to a single commit (or whatever granularity makes sense). That way the history is a bit nicer. :)

The checks should actually pass, I changed the Rustfmt issue in the last commit. Maybe because I force-pushed...

Would be cool if we could rebase this branch now to a single commit (or whatever granularity makes sense). That way the history is a bit nicer. :)

Is that something I have to do?

Pull Request should allow for sqashing commits.

Ahhh I often do an interactive rebase to group things up into commits that each pass the test suite (if multiple commits make things easier to understand), but I can just use squash-and-merge for this.

I'll try re-running the jobs to see if it passes :)


Pipeline Logs Enhancements

Our Pipeline Run log issue https://github.com/opendatahub-io/odh-dashboard/issues/1247 didn't quite deliver our desired UX we wanted. This tracker will serve to track the remaining cleanups of that.

https://github.com/opendatahub-io/odh-dashboard/issues/1726
https://github.com/opendatahub-io/odh-dashboard/issues/1734
https://github.com/opendatahub-io/odh-dashboard/issues/1735
https://github.com/opendatahub-io/odh-dashboard/issues/1736
https://github.com/opendatahub-io/odh-dashboard/issues/1737
https://github.com/opendatahub-io/odh-dashboard/issues/1738
https://github.com/opendatahub-io/odh-dashboard/issues/1745
https://github.com/opendatahub-io/odh-dashboard/issues/2226

Additional UX work:

https://github.com/opendatahub-io/odh-dashboard/issues/1814

Branch:
f/pipelines-enhancement

Captured the UX improvements mentioned in the incubation review meeting :

Change the label "Containers" to "Steps"
Remove the line numbers of the log viewer (because we already have that in the logs) [Done]
Add error icons to the containers/steps that lead the failure to help users quickly figure out what the error is
Could add visual hints between tasks and steps to help users understand the relationship between them [Needs further confirmation on the user knowledge of these two concepts]

Potential UX improvements for other features:

Double-arrows may not accurate to the skipped steps

Replaced by https://issues.redhat.com/browse/RHOAIENG-253

Moving to closed


[FR] cover improvement 202401

Complete rework of the cover sentences in French.
Here is the work that has been done:
Note: Work co-authored by @bemble , @piitaya and myself
Responses

Put response to singular: Ouvert and Fermé
Removed the device class-specific responses, this is not possible in any other language than English, because the device classes have an English name and we do not want to have response like shutter ouvert

Commun
Re-worked the cover_class list to be as natural as possible in french.
This was complex because some terms are synonyms in French, but not in English.
We now have a "Hybrid" list that maps a word to either one class or many classes.
For example:

volet is mapped to shutter
store vénitienis mapped to blind
store is mapper to [awning, blind, shade]
Auvent is mapped to awning
etc

We removed useless expansion rules <volet>, <volets> and <garage> because we are now using the correct device class on all sentences. (More on that later)
Sentences
Complete re-write of the sentences.
We support both verb forms Inifitive and Imperative

Ouvrir
Ouvre

We now have 5 buckets of sentence (For both open and closing covers):

Targeting a name, such as

Fermer le volet droit
Ouvrir la fenêtre nord

Targeting all covers of a device_class in an area, such as

Fermer les volet du salon
Ouvrir les rideaux de l'entrée

Targetinga name in an area such as

Ferme la fenetre droite de la cuisine
Ouvrir la fenêtre nord de l'entrée

Targeting all covers of a device_class in all the different area, such as

Fermer tous les volet
Ouvrir tous les rideaux de la maison

Targeting all covers of a device_class in the same area where the voice assistant it (area awareness), such as:

Ferme les volets
Ouvrir tous les rideaux dans cette pièce

Note: We do not have sentences targeting multiple device_class at once, because the cover domain is very heterogeneous and it would be dangerous to close all cover entities in a house without understanding what they are. So either the entity name or the device_class is mandatory.

Open that thing
Close all shutters
BUT NOT Open everything because everything could be curtains, doors, windows, shutters, car trunks, standing desks, etc (The cover domain is abused today)

Tests
Complete re-work of the tests to make sure they are aligned with the re-wrok of the sentences
Misc.
Completely unrelated to the cover domain:
The sentence to turn on all lights in the house is failing today due to a mismatch of slots (Done by me).
I fixed it by replacing a area: all by a name: all

@piitaya I merged your PR into mine
removed the last name: all I had on mine to keep it consistent with what as been merged on master


Add the missing Apache License

Ⅰ. Describe what this PR does
this PR is to add Apache License to  databackup_controller_test.go

/lgtm


shutdown hanging on thread join

https://github.com/KoljaB/RealtimeSTT/blob/d02be1f6a6757f518864deb3f35a53b6b3563f21/RealtimeSTT/audio_recorder.py#L1209
I'm trying to track down why on my system sometimes (usually) when I Ctrl-C to shut down my app shutdown will hang on the aforementioned line.  I tried subclassing and copying the shutdown method and inserting print statements to see how far it gets and it's getting hung while trying to join the recording_thread.
At this point, I'm just trying to separate concerns, so am trying to figure out if I can just stop the task in the thread and get this to join and move on somehow.  Currently investigating.

I have been noticing similar issues. I implemented a simple client and server. To test it out, I added print statements to the realtime callback function and after a client disconnects and shutdown is called, it keeps on printing and I have to kill the server process for it to stop. With multiple clients, this will cause huge issues. I am still trying to find the issue as well.

Please replace this line with
                    try:
                        data = self.audio_queue.get(timeout=0.1)
                    except queue.Empty:
                        if not self.is_running:
                            break
                        continue

for a quick fix. Next version with a bugfix will be released end of the week I guess.


Daemon download for other OS

Download and untar the current daemon using the user config json settings.
Use the GOOS ext to detect .tar.gz
Create Untar function as needed
Follow zip implementation for ref
Verify .tar.gz is downloaded and extracted
┆Attachments: v2.0.0-kowhai-daemon-download-osx64 | Screen Shot 2018-02-10 at 2.21.16 AM.png

➤ Mike Delucchi commented:
I've verified that the new detection, download and file extract are now working. Screenshot of my logs attached. Once new daemon boots up however, I get runtime error specifying invalid memory address or nil pointer dereference.
Screen Shot 2018-02-10 at 2.21.16 AM.png


fix concordance of list items

I changed verbs conjugation to infinitive to fix concordance.

I'm registered in CLA now!

/check-cla

/test ?

/check-cla

Than you @lleitep3.

/approve cancel

/lgtm

/check-cla

/assign @jcjesus

/approve

/lgtm

/unassign @rikatz


starlark: profiler records incorrect Profile.time (Jan 1 1970)

Most likely a consequence of using the MONOTONIC not REALTIME clock.

I haven't had a chance to fully grok through the original PR or the subsequent one, but I did see a comment along the lines of "CLOCK_GETTIME is not available". But I believe it should be, in golang.org/x/sys. I added it recently for darwin (https://github.com/golang/sys/commit/3b5209105503162ded1863c307ac66fec31120dd) and it was there already for linux.
Please ignore this comment if it is unhelpful. :)

Thanks. I've noted this in the comment.


Ping Trigger

Swagger trigger added

@AkshayGadikar can we remove the swagger trigger from this pr so that we can merge in just the ping trigger?

Can you also create a PR for the swagger trigger.  I want to see if we incorporate it as is or integrate it somehow into the engine somehow as maybe a plugin or something.  Thanks


How to customize how g3log reacts to fatal

Uncertain what's going on? Do you need advice or help troubleshooting?
We are currently using g3log in iMSTK (https://www.imstk.org/) and are using CHECK to enforce contracts, which is fine for running applications standalone, atm we are in the process of creating a Wrapper that enables us to use imstk through Unity. Swig is used to generate C# bindings. The issue is that whenever we run into a CHECK that fails the ensuing abort() will take crash unity in a way that sometimes need Process Explorer to kill the process before it can be started again
Describe the solution you'd like
Is there a way to prevent abort() from being called when CHECK fails or a log(FATAL) occurs ? for example could we throw an exception or deal with the error in another way ?

@HarryDC there are a couple of things that is good to know as they might help you out.

The fatal handling is taken care of in g3log::saveMessage (link to function)
saveMessage calls a function pointer that does the fatal handling. By default that function will make sure that the proper steps are taken to capture the message, getting it to the log before the process is forced to exit.
Please see pushFatalMessageToLogger for how it works by default.
that function pointer that deals with the fatal message can be overridden. There are several clients who has done this AFAIK as they want to provide their own fatal handling rather than relying on g3log's mechanism.   Please see
Examples of this overriding can be found in unit testing: [helper class](   RestoreFileLogger::RestoreFileLogger(std::string directory)), example of unit test [1] and [2] test_io.cpp has several examples of this.
A whole other potential solution could be to override the signal handler and still relying on the general approach for g3log's fatal error handling.

If you choose to override the function pointer, keep in mind that this override and g3log initialization should happen before threads are started, as synchronizing otherwise the global function pointer with thread is outside the scope of current g3log functionality.
At least one company that overrode this fatal handling pretty much followed exactly how g3log does it, they just added additional steps that were needed for them.  (for additional work there's also a "pre-fatal" step that can be overridden, check the code or ask if that's of interest)

Thanks, we will give this a shot !


Umbrella 0.3.0

[ ] Transport: CommonJS and AMD
[ ] Preloader/AssetLoader (#1)
[x] Vectors and other types (#4)
[ ] Use fetch API for asset loader (#5)
[ ] Unit tests

I have decided to release 0.2.0 now and prepare 0.3.0 with those features


Layer flatten does not support masking (Multi-Label Classfication)

I am getting this error when trying to apply mask_zero = True in the embedding layer and later Flatten the dimensions to meet the requirements of output (2D).
Sample Code
`input_layer = Input(shape=(MAX_SEQUENCE_LENGTH,),dtype='int32')
embedding_layer = Embedding(input_dim=n_words+1,output_dim=EMBEDDING_DIM,
input_length=MAX_SEQUENCE_LENGTH,
trainable=True,
mask_zero=True)(input_layer)
drop1 = SpatialDropout1D(0.3)(embedding_layer)
lstm_1 = Bidirectional(LSTM(64,recurrent_dropout=0.1,dropout=0.5,
kernel_initializer='glorot_uniform',
return_sequences=True),merge_mode='concat')(drop1)
lstm_1 = BatchNormalization()(lstm_1)
att_layer = Flatten()(lstm_1)
drop3 = Dropout(0.5)(att_layer)
predictions = Dense(33, activation='sigmoid')(drop3)
model = Model(inputs=input_layer, outputs=predictions)

Any idea how to get around this??

Can you provide the error message please?

Error message:
Layer flatten_2 does not support masking, but was passed an input_mask: Tensor("embedding_2/NotEqual:0", shape=(?, 366), dtype=bool)


The zigbee device cannot be triggered and controlled

Multimode Gateway 2(1.06. _0016): After a period of time, all zigbee devices cannot be triggered and controlled (the device is not offline), but the Bluetooth mesh device is normal and needs to restart the gateway to recover.

You need telnet to gateway and run ps.

I thinks this is same issue like #961


[WIP] Jim's work on array interpretations

I'll be working in this (probably long-lived) pull request.
If you get rid of HelloWorld and HelloWorldTest in your branch, there would be no merge conflicts. I'm only going to be working in this "interpretation" directory and suite of tests.

I'd probably say that we could just commit to master while we're both working on completely different parts of the tree w/no interactions between.

I know, it probably looks like overkill, but I'll be working with limited resources and I wanted to make sure that you didn't pull in any large jars that would break my Chromebook. So I'll keep working in the branch.

Speaking of dependencies, I was thinking of adding one. What do you think if the final output of the interpretation is an Arrow buffer? I don't know what the output is supposed to be, but it's probably very close to Arrow, and that might have multiple uses. The alternative is me making up interface classes that behave the same way.

I'm fine adding deps (if it's arrow, it'll transitively end up in the deps
via Spark anyway). I'll have to dig into the DSv2 api to see exactly how
the columns are stored, but I'm sure it'll be remarkably similar in any case

@PerilousApricot:
I'm going to merge this in now because it's working. It only does one branch type: non-jagged doubles, but let's make sure that we can integrate this before loading in all the types. (Adding them will be easy, but changing the interface after adding them would be difficult.)
It deliberately follows uproot closely—I could perhaps add uproot line numbers in the comments so that we can cross-reference for future updating and debugging...
So, next milestone: read a flat branch of doubles from a ROOT file into an Array?


Support M7a instance family

Summary
These images currently are not built to support M7a instance family types.
Description
Trying to create a launch config or template using the x86_64 ecs ami with a M7a instance type gives the following error

Sender
ValidationError
The specified instance type m7a.xlarge is not valid

From the following content (some values removed)
Action=CreateLaunchConfiguration&AssociatePublicIpAddress=true&BlockDeviceMappings.member.1.DeviceName=%2Fdev%2Fxvda&BlockDeviceMappings.member.1.Ebs.DeleteOnTermination=true&BlockDeviceMappings.member.1.Ebs.Encrypted=false&BlockDeviceMappings.member.1.Ebs.SnapshotId=snap-03a4f8d1608c00a0b&BlockDeviceMappings.member.1.Ebs.VolumeSize=30&BlockDeviceMappings.member.1.Ebs.VolumeType=gp2&ClassicLinkVPCSecurityGroups=&EbsOptimized=false&IamInstanceProfile=arn%3Aaws%3Aiam%3A%3A071452343123%3Ainstance-profile%2FecsInstanceRole&ImageId=ami-0d63309a12899f79d&InstanceMonitoring.Enabled=false&InstanceType=m7a.xlarge&Version=2011-01-01
Expected Behavior
Should be able to create launch template or configs using M7a instance types
Observed Behavior
Receive errors that M7a.medium / xlarge are not supported.

Note that M6a instance types are supported

The reason this impacts me is I'm looking to use the M7a.medium (where an equivalent small/cheap instance isn't available in the M6a family)
Thanks for considering this.

This error is being returned from CreateLaunchConfiguration, which is part of the EC2 autoscaling team, not ECS. If you have an issue with this API please contact AWS support.


Toyota RAV4 TSS2: enable torque control

For TSS2 RAV4, we check the EPS FW version to use two different versions. However, from the online lat accel factors learned, it appears that the check doesn't totally make sense. We check if the FW version has a length code of b'\x02' (0R platform code) or a whitelisted version (platform code 42), however b'8965B42181\x00\x00\x00\x00\x00\x00' doesn't match all the 0R lat accels. The lat accels within the 0R platform code also seem to be split on the EPS sub version (and also within the same version):
Note that this may be noisy since torqued doesn't publish filtered lat accels if not using torque control

42 platform code, 181 sub version
A 0R platform code version

However, when plotting by the fwdCamera FW version, the split is not as bimodal as seen above with the EPS FW versions:

42 platform code, 181 sub version
A 0R platform code version

https://github.com/commaai/openpilot/blob/425fa316d15e45595ecdd7d394ee28d7fb84e214/selfdrive/car/toyota/interface.py#L131-L138
It seems like we can set a median lat accel and friction and let torqued handle the rest.

Noticed while checking the lateral tuning difference for the Toyota fuzzy FP PR (https://github.com/commaai/openpilot/pull/28641)

Here is the 2022 RAV4s (hybrid and ICE) with just one fwdCamera version (we still check the outdated FW version for them):


How to Donate?

Hi!
Just downloaded your theme and it's definitely my new daily driver. Never knew this was exactly what I wanted from Obsidian, and can't imagine going without it.
If possible, can you drop a KoFi or Cashapp or something so I can chuck you like $10? I don't wanna see this fall to the wayside as Obsidian continues to be updated and your life probably gets busier

Really like this theme too and would like to donate some money too :)


Mypy Travis continuous integration

http://mypy.readthedocs.io/en/latest/config_file.html
https://pypi.python.org/pypi/pytest-mypy
Check if there's a better way for checking mypy annotations in order to keep the .travis.yml the clearer possible.

ie make the following command to work:
py.test --mypy tests

I already tried this, but the mypy command that i use in the travis.yml is :
mypy preview_generator --ignore-missing-imports --disallow-untyped-defs
and I did not find the equivalent of --ignore-missing-imports --disallow-untyped-defs with the py.test --mypy tests

deprecated. we do have mypy in continous integration now


Usage from inside Kubernetes

It took me quite some time to figure out how to call the Kubernetes api from inside a pod, with the custom certs, etc.
I wrote up a quick gist, do you think it's worth adding to the wiki or docs?
https://gist.github.com/jwhitlark/8e42baadbd86147547d1cdb08c81191c

Looks useful to me, do you want to open a PR adding it in a file to the examples directory?


F1-F10 keys are not working on Samung DeX

On Samsung DeX, Connectbot is an awesome SSH client.
However, I have noticed that in case of using hardware keyboard with Samsung DeX, neither function key is working (F1 to F10).
This would be a great function, as we are all used to use these keys in some command line tools (like mc).

ping

I'm curious -- what software keyboard do you have selected when this happens? DeX is a little weird because the on-screen/touch keyboard can influence the behavior of physical keyboards in DeX mode.

When I use DeX I hook it up to a display and a USB keyboard. No software keyboard is involved, but if you mean in general which software keyboard is enabled and set as default it's only Samsung stock keyboard, and nothing else.


Example documentation for fetching data doesn't work

Steps to Reproduce
Go here:
https://flutter.io/cookbook/networking/fetch-data/
This line in the example:
final json = json.decode(response.body);
Not working.
Thoughts on making this example work?

@xqwzts spotted the issue and solutio...so please fix
  final json = json.decode(response.body);
  return new Post.fromJson(json);

Should be:
  final _json = json.decode(response.body);
  return new Post.fromJson(_json);

Thanks for the report! We've got a fix up in PR form, should be up soon.

Fixed


[alpha] Disable Ghost authentication for now

We would like to disable Ghost authentication (remote authentication) for now. This decision is reasoned by the complexity of use cases. We would like to add the support back as soon as possible.
All related OAuth issues are labelled with oauth and later.

[x] disable Ghost authentication
[x] switch to default password authentication
[x] test password authentication again

I am re-using this issue to remove the OAuth code in master. OAuth won't come back. The reason is still the same (see issue description). Re-opening to reference the code changes.


Allowing markdown link for courses

Purpose
Appended | markdownify to .course to allow markdown links.
Details
Normal, unlinked entries are not affected by this change. Entries with markdown links must be entered inside quotation marks (e.g., "[example](example.com)")

The course name is inherently a plain text field - the more semantic approach to your req is perhaps to add a new, optional, field for course url?

Thanks! That makes sense. I've tried but I don't know how to operationalize the link saved in index.md as a hyperlink in about.html.


bench: merkle stage

Closes: https://github.com/paradigmxyz/reth/issues/1234
This PR adds benchmarks for the merkle stage, both for incremental and clean trie building. Along with this, it moves some functionality from the MerkleStage tests for generating and inserting account and storage changes to generators.rs and TestTransaction, respectively.

Codecov Report

Merging #1324 (1d768e0) into main (6a2c61f) will increase coverage by 0.10%.
The diff coverage is 96.70%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main    #1324      +/-   ##
==========================================
+ Coverage   76.98%   77.08%   +0.10%
==========================================
  Files         348      348
  Lines       38682    38755      +73
==========================================
+ Hits        29779    29874      +95
+ Misses       8903     8881      -22

Flag
Coverage Δ

unit-tests
77.08% <96.70%> (+0.10%)
:arrow_up:

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

Impacted Files
Coverage Δ

crates/stages/src/lib.rs
100.00% <ø> (ø)

crates/interfaces/src/test_utils/generators.rs
98.31% <94.56%> (-1.69%)
:arrow_down:

crates/stages/src/stages/merkle.rs
80.98% <94.73%> (-4.14%)
:arrow_down:

crates/primitives/src/storage.rs
100.00% <100.00%> (ø)

crates/stages/src/test_utils/test_db.rs
80.19% <100.00%> (+5.67%)
:arrow_up:

crates/stages/src/trie/mod.rs
92.66% <100.00%> (ø)

crates/net/network/src/listener.rs
81.39% <0.00%> (-2.33%)
:arrow_down:

crates/net/eth-wire/src/capability.rs
59.43% <0.00%> (-0.95%)
:arrow_down:

crates/net/network/src/peers/manager.rs
82.49% <0.00%> (-0.09%)
:arrow_down:

... and 11 more

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

@joshieDo PTAL - I think we'll want to look at all these benches and start unifying the test vector generation code, possibly moving everything over to your "generate snapshot from real data" table

@MegaRedHand I just synced with @joshieDo - this is a good start, he'll take over as he's been revamping all our benches. thank you!

closing for #1497


add SECURITY_CONTACTS file

For any maintained repo under metal3-io, we need to have certain set
of files present. After a discussion, it was agreed that this repo
is not ready for archival.

/cc @dtantsur @elfosardo @zaneb

/lgtm

/hold
Prow is confused again, holding this so the other change may go in first.

/unhold

/hold
https://github.com/metal3-io/project-infra/pull/491 is needed to fix tide, there is non-existing check which it is waiting.

/test-ubuntu-integration-main

/test all

/test-ubuntu-integration-main

/test-ubuntu-integration-main

/test-centos-integration-main

/test-ubuntu-integration-main

/unhold


iOS Scaffold  Invalid click on the status bar

return Column(
      children: [
        GestureDetector(
          child: Container(
            width: double.infinity,
            height: 200,
            color: Colors.red,
          ),
          onTap: (){
            print("ok");
          },
        ),

      ],
    );

    return Scaffold(
      // appBar: null,
      // extendBody: false,
      // extendBodyBehindAppBar: true,
      primary: true,
      resizeToAvoidBottomInset: true,
      body: Column(
        children: [
          GestureDetector(
            child: Container(
              width: double.infinity,
              height: 200,
              color: Colors.red,
            ),
            onTap: (){
              print("Invalid click on the status bar");
            },
          ),

        ],
      )
    );

Hi @StanleyCocos ,
When opening an issue, please try to provide all or some of the information indicated in the template.

Issue Template
If you are looking for support, please check out our documentation
or consider asking a question on Stack Overflow:
- https://flutter.dev/
- https://api.flutter.dev/
- https://stackoverflow.com/questions/tagged/flutter?sort=frequent

If you have found a bug or if our documentation doesn't have an answer
to what you're looking for, then fill our the template below. Please read
our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports

Steps to Reproduce

Please tell us exactly how to reproduce the problem you are running into.

Please attach a small application (ideally just one main.dart file) that
reproduces the problem. You could use https://gist.github.com/ for this.

If the problem is with your application's rendering, then please attach
a screenshot and explain what the problem is.

1. ...
2. ...
3. ...

Please tell us which target platform(s) the problem occurs (Android / iOS / Web / macOS / Linux / Windows)
Which target OS version, for Web, browser, is the test system running?
Does the problem occur on emulator/simulator as well as on physical devices?

Target Platform:
Target OS version/browser:
Devices:

Run your application with `flutter run --verbose` and attach all the
log output below between the lines with the backticks. If there is an
exception, please see if the error message includes enough information
to explain how to solve the issue.

Run `flutter analyze` and attach any output of that command below.
If there are any analysis errors, try resolving them before filing this issue.

Finally, paste the output of running `flutter doctor -v` here.

Closing this issue, since no information has been provided.
Thank you.


fix(#1337): Don't duplicate key bindings

Description
Change to use "Mod" so that the modifier is platform specific. Binding to both cmd and control was causing conflicts with some platform-native functionality such as ctrl-f to move the cursor forward in a text field on mac OS.
Breaking changes:

Technically a breaking change because we're removing some keymappings that users may have been using

Contribution Checklist:

[x] The pull request only addresses one issue or adds one feature.
[ ] The pull request does not introduce any breaking changes
[ ] I have added screenshots or gifs to help explain the change if applicable.
[x] I have read the contribution guidelines.
[x] Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.
Fixes #1337

Bumpity bump

@helloanoop Hey, I'd love to get this in :)

I run into ctrl+f not moving the cursor forward on a daily basis. Would be great to get this resolved.

Would love to see this merged, C-f not working to move the cursor around is my number one source of existential distress.