django 3 support

When using this module in combination with django 3, the import from django.utils import six fails.
Same issue as https://github.com/jpadilla/django-rest-framework-xml/issues/45

@jpadilla could you apply the same fix here?

@patvdleer might get to it soon-ish. Would you want to take a stab at basically doing what i did in https://github.com/jpadilla/django-rest-framework-xml/pull/53 here too?

I did do a quick and dirty fix https://github.com/jpadilla/django-rest-framework-yaml/pull/13 but @SnijderC 's https://github.com/jpadilla/django-rest-framework-yaml/pull/12 may be better, please review both.

just released v2


Add individual function optimization

Possibly builds on top of #76.
It would be nice if functions could be enabled in 3 stages:

Disabled
Enabled (saving space)
Enabled (optimized, sacrificing space)

Currently, optimizing all functions seriously will blow up the binary to over 100mb. But if only 1-5 functions would be optimized, this would result in much more manageable sizes.
This feature is currently not high priority, unless someone needs it.

One way to implement this would probably to have feature flags (like #76) that pertain to whether a function is specifically optimized. It will then use the corresponding functions to make templates expand to either a normal function version or an optimized one.

I don't think this is needed now. in-place correct type math is perfectly optimized now, and if somebody needs something even faster, they'd do better forking NumDot to add their own functions. For them, #142 will be a better solution.


constant cpu usage even in background and while not at use

Description
Constant cpu of about 3% while in foreground even when not using the app (having it just open while using other programs) and when closed but process running in background cpu usage is on average 3-8% and ram usage is around 400mb+ and doesn't drop, while at startup of the app it's around 120mb, now the ram isn't much of an issue just an anomaly.
Steps To Reproduce

Start program
Close the window but have the setting checked to still run in the background
To lower ram use, restarting the app is necessary

Requirements
Expected cpu usage below 3%, on average 0-1% when window is open but app isn't being used or when window is closed and app is running in background. For ram to drop from 400mb+ to around 120mb (same as at time of launching the app, without background process running beforehand).

Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.3958
Log File
debug.log

Thanks for your feedback! Some processor usage is normal (the percentage depends on its overall capacity) but we’re actively working on reducing it (#4180). If you’d like to close Files completely, you can disable the setting that keeps it running in the background.


Fix source path for windows platform

What is the purpose of this change? What does it change?

Match machine readable source path in windows platform
Was the change discussed in an issue?
Quick fix of #2115

How to test changes?

run make test-cmd-app and make test-cmd-cmp on windows platform

/lgtm


Links handling in commands

This PR fixes https://github.com/microsoft/vscode/issues/121211
Fix taken from - https://github.com/microsoft/vscode/commit/23e346ab55a317c322a184eab4d10597927cd491
Again the files were different, so I couldn't cherry pick and fixed the issues in different files like vscode did.
NOTE: If we are using commands to open links anywhere, we will also need to add the allowCommands flag to every openerService.open call. This will also need some more testing from the team
The following files in sql/* use the openerService.open() call which is now updated. I'm adding the files and the people who worked on it (or area owners) to make sure we don't have breaking changes:
EDIT - only these need attention

[x] src/sql/workbench/contrib/modelView/browser/webview.component.ts: @adbist
[x] src/sql/workbench/contrib/notebook/browser/cellViews/linkHandler.directive.ts: @Charles-Gagnon @chlafreniere
[ ] src/sql/workbench/contrib/resourceViewer/browser/resourceViewerTable.ts: @Charles-Gagnon

This is likely to break a number of scenarios in our stuff - what's the plan for ensuring that we're testing and verifying all these?
I would probably suggest we make a list of calls to openerService.open and then have area owners come in and verify functionality before signing off (or fixing if needed). This will be especially important if we need to get this in quickly so we don't break key scenarios.
Did you also check to make sure that these changes are the only ones they've made? (there were no follow up PRs or anything to address missed places or something)

Pull Request Test Coverage Report for Build 746348302

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 43.549%

Totals

Change from base Build 746095764:
0.0%

Covered Lines:
26188

Relevant Lines:
54957

💛  - Coveralls

The following files in sql/* use the openerService.open() call which is now updated. I'm adding the files and the people who worked on it (or area owners) to make sure we don't have breaking changes:
src/sql/workbench/browser/modeComponents/hyperlink.component.ts : @Charles-Gagnon
src/sql/workbench/contrib/assessment/browser/asmtActions.ts:  @vchvlad
src/sql/workbench/contrib/charts/browser/actions.ts:  @alanrenmsft
/src/sql/workbench/contrib/extensions/browser/extensionsActions.ts : ?
src/sql/workbench/contrib/modelView/browser/webview.component.ts: ?
src/sql/workbench/contrib/notebook/browser/cellViews/linkHandler.directive.ts: @qifahs
src/sql/workbench/contrib/resourceViewer/browser/resourceViewerTable.ts: @Charles-Gagnon
src/sql/workbench/services/accountManagement/browser/accountManagementService.ts: @Charles-Gagnon
src/sql/workbench/services/query/common/resultSerializer.ts: @alanrenmsft
src/sql/workbench/services/resourceProvider/browser/firewallRuleDialog.ts: ?
src/sql/workbench/update/electron-browser/releaseNotes.ts: @kburtram

@abist I moved your comment into the main description so people can sign off more easily on the changes

@abist @Charles-Gagnon if I'm reading this correctly, we'll need to add the parameter in linkHandler.directive.ts; command URIs are valid from notebook markdown cells; from what I can see, vscode made changes in their own notebook implementation to pass in allowCommands too. We can chat tomorrow about this.

@chlafreniere You're right, this is for links with commands. However, it wasn't too straightforward to add this because we do the same thing for commands and links now so might need to change a few changes in functions such as isSupportedLink to branch out the logic for hyperlinks and commands.

@chlafreniere You're right, this is for links with commands. However, it wasn't too straightforward to add this because we do the same thing for commands and links now so might need to change a few changes in functions such as isSupportedLink to branch out the logic for hyperlinks and commands.

Thanks @abist makes sense that other changes will probably be needed as well.

@chlafreniere I added allowCommands for the linkDirectives, we'll only get to that point if the notebook is trusted anyways so this should be safe (and is necessary if we want to continue supporting commands)


⚠ Bofrost.at has degraded performance

In c061547, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 959 ms

Resolved: Bofrost.at performance has improved in f996e82.


Implement CLI methods for connect and disconnect

See https://acinq.github.io/eclair/#connect and https://acinq.github.io/eclair/#disconnect

Done in #12


Fixed display of safe readonly fields in TabularInline, StackedInline

I made a small fix to display readonly strings that are marked safe as is in TabularInline and StackedInline.

Mm.. thanks for the fix
How can I reproduce the issue?

Hi Mikhail,
I faced this issue moving from a normal admin page, where I was using
custom functions in TabularInline to show custom html elements (in my case
links to other parts of the admin page). An example is this:
from django.utils.html import mark_safe
from django.contrib import admin
from .models import Test
I assume that there is a Test model
class TestInline(admin.TabularInline):
model = Test

def html_field(self, instance):
    if instance.id:
        return mark_safe(u'Edit')

    return ""

readonly_fields = ('html_field',)

class TestAdmin(admin.ModelAdmin):
inlines = [
TestInline,
]
admin.site.register(Test, TestAdmin)
On Wed, Jul 13, 2016 at 11:52 AM, Mikhail Podgurskiy <
<EMAIL_ADDRESS>wrote:

Mm.. thanks for the fix
How can I reproduce the issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/viewflow/django-material/pull/145#issuecomment-232310016,
or mute the thread
https://github.com/notifications/unsubscribe/AGmbfoJWik1jni29x0Ix2jgANn1a4ihKks5qVLV1gaJpZM4JLN2g
.

mm {%if field.contents|escape == field.contents %} a bit hacky solution. We need to find a better one

Yeah, ufortunatelly after a while i didn't see the way to fix this in another way.
field.contents() is always a safe string and there is no way to get an idea how it should be rendered properly

But the proposed in the PR solution is broken the same way (


project jenkins-example doesnt exist

https://github.com/kemallaydin/jenkins-example

This is just an example project URL. You should replace this URL with yours. (An example project URL is 'https://github.com/kemallaydin/Configuring-CI-CD-on-Kubernetes-with-Jenkins')


Popup Side Menu

i want to replace the part of the header with the null icon and device name with a menu icon that can bring up a menu with the device name as its header. this menu will be where stuff like device settings can live and the known devices list... and whatever other features that might be nice to have.

[x] menu template
[ ] menu widget?
[ ] menu view
[ ] menu controller

features

[ ] device settings
[ ] list of devices
[ ] set main hub


Questions about understanding s2v_mvc

Hi, thanks for the great paper and sharing your code!
I really liked your paper and currently trying to re-implement it in pytorch / deep graph library (https://www.dgl.ai/). I would be grateful if you could help me out with some of my questions regarding the code (specifically s2v_mvc).
For the n-step q net fitting in s2v_mvc folder,

it says n=5 for minimum vertex cover in the paper and "evaluate.sh", but the code "run_nstep_dqn.sh" use n=2 for training. Would I be able to obtain the results in the Figure D.2 in the appendix of the paper, if I switch to n=5 without changing other hyper-parameters?

For the implementation of q net, I am trying to understand the differences between the code and the paper (which I am totally happy with). Could you confirm my following understandings?
2. The implemented q_net takes input as an "uncovered" subgraph with respect to the currently selected nodes with node features=1.
3. The network takes an additional 3-dimensional input "aux_feat" containing a) ratio of covered nodes, b) ratio of covered edges and c) a bias term.
It would also be more than helpful if you could point out other "mvc-specific" implementation of the code.  Thanks very much in advance!

Hi,
Thanks for your interest in our work, and sorry for the possible confusion.

I tried with n=1~5, and generally they should give similar results but you can try with n=2 first. Generally if the graph is large then I may slightly increase n.

Yes we are working on the 'residual graph' which only contains the uncovered nodes, that's why the node features are useless in this case, since all the nodes are uncovered, and I simply set them to ones.

Yes you are right, those additional features are part of the state representation.

I think generally the above tricks are 'mvc-specific'. Other minor points are: 1) The graph neural network architecture might differ a bit than other problem instances, but again, this should be minor and shouldn't affect the performance much. If you use other more recent GNNs that might even be better. 2) when dealing with larger graphs, I first initialize the model with parameters trained on small graphs -- and this trick is general, not only mvc-specific.
Let me know if you have further questions.

Thanks very much! It is working well now.

@Hanjun-Dai Is MVC the only case in your implementation that only embeds the residual graph? When our group implemented it again with PyTorch, we confirmed that the results were reproduced even if we embed only the residual graph in order to select the next node in other problems.
Thank you so much for your code and paper.

@Hanjun-Dai Are MVC, SCP the only case in your implementation that only embeds the residual graph?
(Except for MVC and SCP, your code seems to embed the entire graph, not the residual graph, as described in the paper in other problems. I would like to ask if my understanding of your code is correct.)
On the other hand, when our group implemented it again with PyTorch, we confirmed that the results were reproduced even if we embed only the residual graph in order to select the next node in other problems.
Thank you so much for your code and paper.

Hi, for other cases the 'residual' graph may still be the original graph. Generally the 'residual graph' refers to the minimal graph that is necessary for rl agent to make further actions.


Create a Data Science toolkit

Hi @blackgirlbytes
I’d like to propose a Data Science Toolkit for Goose. It would provide tools for tasks like data summarization, visualization (e.g., histograms, correlation matrices), and even machine learning model evaluations. This could be a valuable addition for users working with datasets and building models.
I’d be happy to assist with the development—let me know your thoughts!


Fixed tags should not contains spaces

Closes: #999
Added a new utility function formatTag to handle formatting of tags based on specified formats such as CamelCase, Underscores, Hyphens, or Concatenation. This function will be used for consistent tag formatting across the application.
Types of changes
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Put an x in the boxes that apply

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] My changes does not break the current system and it passes all the current test cases.

Screenshots

@Kajol-Kumari, Could you please review and merge it? so that i can use it in resource form also


condition compile

Note: If it is a 'bug report' or 'feature request', please select the corresponding issue template, otherwise this issue will be not replied.

Describe the problem details
I want to control  some targets.
For example,the xmake.lua will examine the value of "$(Demo)",if it equal "Enable",xmake will compile some targets,otherwise not.

Thank you !


feat(ice): make timeout values configurable

This makes the 3 components that make up the ICE timeout configurable. I tried to add some documentation to the setters to the best of my understanding of how this works internally.
Resolves: #490.

Should this be available in RtcConfig as well? (I know we want tune some of these values)

Should this be available in RtcConfig as well? (I know we want tune some of these values)

Yeah. Let's make a follow up PR since Thomas doesn't use Rtc.


HOTFIX: Add missing file for KeyValue unit test

@gwenshap I forgot to add the unit test file in the previous PR..


[patch] fix specialities migration

https://github.com/edenlabllc/ehealth.api/issues/1844

Coverage remained the same at 90.918% when pulling 95851277a947d578b64ed28496e74ef8304f0f28 on doctor_data_model#1844 into 192cb63927b868a736e0d2907fe5e44cac05295f on master.


Lib weight

Hi !
Sorry for not following the guidelines, but I don't think it applies here since is more of a lib issue itself.
After running a webpack build with prod and aot enabled, I inspected the bundle with source-map-explorer and realize the lib weight 800kb (in my case 25% of the bundle) increasing my bundle size from 1.2 Mb to 2Mb.
So I was wondering what could cause this lib to be some heavy ? It's probably not a problem for desktop user, but can quickly be a trouble for mobile users..
Any though or idea about getting the lib lighter ?
Thanks for your help and for this lib !

Any though or idea about getting the lib lighter ?

PDF is not simple format -- spec is over 750 pages and it includes more other similar formats. If you use subset of PDFs and you know which features of PDF spec is used, you can disable and remove that from the lib. For example, if your PDF generator does not produce JBIG2, JPX or does not use CFF fonts, you can remove code that supports that. If your code needs to work only on new browsers, remove portion of compatibility.js. If you don't need SVG rendering, you can remove that too.

, I inspected the bundle with source-map-explorer and realize the lib weight 800kb (in my case 25% of the bundle) increasing my bundle size from 1.2 Mb to 2Mb.

PDF.js split into two parts: core and display layers. The display layer is smaller part of the library and about 227K minified, this part is required to be on main page, and page start up time shall not be affected by it. There is the core part (~689K)  that is loaded by demand just before getDocument call into a web worker. The webpack can efficiently split core/display code between several file (see examples/webpack). Please notice that using pdf.combined.js is not efficient solution and we don't recommend it.

It's probably not a problem for desktop user, but can quickly be a trouble for mobile users..

PDF.js was used for Firefox OS and is used for mobile devices as well -- the known issues on mobile device is canvas size and absence of natural zooming and not the PDF.js size.
Closing as answered.

Thanks for you answer !
Yes I understand PDF is a quite complex format. I'll try to work with it.
Thanks for these information 👍

Try Adobe Embed APIs: https://www.adobe.com/devnet-docs/dcsdk_io/viewSDK/index.html

Much smaller
Easy to integrate
Much better PDF View quality
Lots of PDF features


Model Zoo, Multi-threaded Performance

The model zoo lists the performance of different models in both single threaded and multi-threaded execution. What is the thread count utilized to obtain the results from multi-threaded configuration? The README.md does not list the thread count utilized for evaluating the FPS numbers for any of the FPGAs.
Thanks

Could you kindly also specify the number of DPU cores in the DPU IP DPUCZDX8G_ISA1_B4096 by default? It should be 2 cores if I'm not wrong.

Could you kindly also specify the number of DPU cores in the DPU IP DPUCZDX8G_ISA1_B4096 by default? It should be 2 cores if I'm not wrong.

Its 3 cores.

If you use the official released images, you can use tool show_dpu to get the board dpu info.

This works, thanks a lot. Also, is there any way to check the power consumption of the chip? Save for attaching an external power meter.

This feature did not release yet.

Thanks. Closing the thread for now.


"dynamic" instantiations of generic types

Currently we don't support anything exactly like:

Java's raw types
Dart's dynamic instantiations of generic types
TypeScript any instantiations of generic types

It seems to me, that Java raw types, Dart dynamic instantiations, and TypeScript any instantiations are actually all very semantically similar, and could be treated in the same way by Ceylon.
(That's assuming I understand the semantics of any in TypeScript and how it maps to Ceylon, @lucaswerkmeister can tell me if I've misunderstood it.)
Currently we use the covariant instantiation X<out Object> for a Java raw type X, which is very reasonable, and arguably "better", since it is sound, whereas raw types are unsound. But it has the disadvantage that you can't do everything with an X<out Object> that you can do with a raw X, and, although we have not run into any cases like this yet, in principle this could make it harder to use some Java APIs.
Furthermore, AFAICS, X<out Object> doesn't really work well as a replacement for X<dynamic> (or X<any>) since unadorned JavaScript objects aren't instances of Ceylon's Object type.
There's two different techniques I can think of for introducing a reasonable mapping of X<dynamic>:

Make all non-null values instances of Ceylon's Object type, thus making assignment of a dynamic value to Object legal outside dynamic blocks. This would, I suppose, necessitate some magic in the JS backend to make every value respond to string, equals() and hash. (But that's in principle possible, right @chochos?)
Allow dynamic as a type argument.

In fact, it might be advantageous to do both 1 and 2.
Thoughts?

To be clear: if I have this type:
interface Box<T> {
    shared formal T get();
    shared formal void set(T t);
}

Then the Box<dynamic> would have this schema:
interface Box<dynamic> {
    shared formal dynamic get();
    shared formal void set(dynamic t);
}

What if there is many dynamic type parameters? Need to disambiguate.
Maybe something like:
interface Pair<dynamic T1,dynamic T2>  {
  shared formal dynamic T1 getFirst();
  shared formal void setFirst(dynamic T1 first);
...
}

El 03/12/2016 10:45, "Gavin King"<EMAIL_ADDRESS>escribió:

To be clear: if I have this type:
interface Box {
shared formal T get();
shared formal void set(T t);
}
Then the Box would have this schema:
interface Box {
shared formal dynamic get();
shared formal void set(dynamic t);
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ceylon/ceylon/issues/6796#issuecomment-264629122, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AMsYzOoTS-p0YKr3YZ5GhamYFa9_A0xyks5rETpUgaJpZM4LDP_s
.

@someth2say no no no, you've misunderstood. dynamic would be a type argument, not a type parameter. My "instantiation Box<dynamic>" is not code!

Right, in principle we could add string and hash to Object.prototype. I vaguely remember trying this once already, can't remember right now if it worked or if/why we had to remove it.

can't remember right now if it worked or if/why we had to remove it.

I would like to know the answer to that.

Hmm, apparently I never sent you our paper on gradual typing, maybe because it hasn't been accepted for publication yet. I have to go right now, but I'll try to get back to y'all soon.

So here are the questions to ask yourself:
Should Array<dynamic> be assignable to Array<Object>?
Should Array<String> be assignable to Array<dynamic>?
What are the semantics of the above two operations?
What does (in non-Ceylon syntax) new Array<dynamic>(...) mean?
After lots of consideration, here's what we came up with:

dynamic does not exist at run time.
Consequently, new Array<dynamic>(...) is an invalid expression.
dynamic should be interpreted as "any type that will make the program type check".
Consequently, Array<String> is assignable to Array<dynamic>, which is itself assignable to Array<Object>.
When an Array<dynamic> is assigned to an Array<Object>, a run-time check is inserted to assert that the specific array instance is in fact an Array of Object.

There are a lot more questions to ask, so here's the running intuition. Type checkers are pessimistic; they only accept a program if they know there won't be any run-time type errors. dynamic is a way for programmers to specify they want optimistic behavior: a program should be accepted if it's possible there won't be a run-time type error. Thus in a sense it only affects compile-time behavior. Consequently, there is no dynamic type at run time. However, the run-time system relies on type safety; thus run-time "optimism checks" need to be inserted where the type checker was optimistic in a way that the run-time system needs to double check. Sometimes these checks might be casts, and other times they might be something like dynamic method lookups. Anyways, we've found that this general strategy can be implemented efficiently, although we haven't experimentally analyzed generics yet.

@RossTate

Should Array<dynamic> be assignable to Array<Object>?

Within a dynamic block, yes. Otherwise, no.

Should Array<String> be assignable to Array<dynamic>?

Yes.

What does (in non-Ceylon syntax) new Array<dynamic>(...) mean?

I would say that is a bit platform-specific. For example, there is no problem with raw instantiations of Java classes, since Java classes have erased type arguments. OTOH, that syntax would be illegal for Ceylon classes on the JVM.

@RossTate

There are a lot more questions to ask, so here's the running intuition. Type checkers are pessimistic; they only accept a program if they know there won't be any run-time type errors. dynamic is a way for programmers to specify they want optimistic behavior

Right, distinguishing these two behaviors is precisely the purpose of dynamic blocks in Ceylon.

Consequently, there is no dynamic type at run time.

Well, that's not precisely right on the JavaScript platform, where you have values which really don't have a type at runtime. (On the JVM it's the correct model, however.)

However, the run-time system relies on type safety; thus run-time "optimism checks" need to be inserted where the type checker was optimistic in a way that the run-time system needs to double check. Sometimes these checks might be casts, and other times they might be something like dynamic method lookups.

Right, that's exactly how Ceylon treats all this.


Running the example vision Edge Image Labeler will shut down the app.

thanks for your packge :)
vision Edge Image Labeler is the most important function.
The experimental device is the Galaxy S8.

me too :(

yeah that my issue #6 too

Yeah this is my issue #7 but i don’t get that error message

@rishabnayak Do you have any idea how to implement the automl models as all the other models run fine for me?


about miniprogram

can make it support wechat miniprogram?

Do you know whether wechat miniprogram can start webcam? @zero16832

I mean that can make support with wechat?

I understand your question. I'm just wondering if wechat miniprogram can start webcam

Yes,it can start webcam.

@hiukim

@zero16832 Actually I don't know very well about wechat miniprogram. Last time I checked (long time ago), I remembered webcam cannot be started. Maybe it's changed.
What's the easiest way to test it nowadays?
Is there a specific error message you are receiving?

test it，in android wechat，webcam can work fine，but ios can not work

测试一下，在android微信中，摄像头可以正常工作，但ios不能工作

你好，这个测试在微信小程序是可以用的吗？为什么我引入都报错，看原因还是源码是用了window上面的方法，但是微信小程序是没有去全局window对象


Production bundle for ES format is not enough for a development

Current Behavior
Webpack will use ES format but being in a development mode it means the wrong assumption from 3rd modules like invariant which then throws an error.

https://github.com/zertosh/invariant/blob/fae1c859f3eec25025dc6019bf7f7fdb78a27307/invariant.js#L26
Expected behavior
Same behavior as for CJS should be used and provide development bundle along with index.es.js.
Suggested solution(s)
Should be pretty straightforward to add a line in here...
https://github.com/palmerhq/tsdx/blob/943648edb06cd131f2c1751120cd1301804b480b/src/index.ts#L98
And utilize logic for creating index file...
https://github.com/palmerhq/tsdx/blob/943648edb06cd131f2c1751120cd1301804b480b/src/index.ts#L277
Your environment

Software
Version(s)

TSDX
0.6.1

TypeScript
3.5.1

Browser
N/A

Yarn
1.16.0

Operating System
Windows x64

I agree. ESM bundle should have NODE_ENV untouched.

Can you send a PR? I am out of office today. Should be straight forward

Working on it :)


Made changes, still no luck running as Localhost

Hi Francois,
I updated the index.js with the three lines and this did increase the timeout but still came back as connection lost.
The dev console showed:
WebSocket connection to 'ws://localhost:5103/WebSocketServer/' failed: Error during WebSocket handshake: Unexpected response code: 200
Happy to do any testing you need my end. Again, this is for example https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/websocket-server

Port used in websocket-server is 9999 not 5103 as I can read your error message.
Can you run successfully https://chrome.google.com/webstore/detail/websocket-server-test/pkbpddppnkjmlbgliipgmhjeialadokj?

When posted to the app store it works great!
We're building something that uses sockets and using your project as a baseline. The issue is we want to make changes to the code and test WITHOUT having to post it to the Chrome App Store. It's just not efficient to do so.
How do I run your example successfully without using the Chrome App Store?
Thanks

You can simply clone the chrome-app-samples repository with git clone https://github.com/GoogleChrome/chrome-app-samples then open Chrome, go to chrome://extensions, check "Developer mode" checkbox, click on "Load unpacked extension", and select the samples/websocket-server in the chrome-app-samples Git repository.

Perfect. Thank you for your time and help

This is amazing, I'm about to use your telnet stuff and the advice in this thread to now create a chrome extension for a 25 year old internet game available in the browser. I'm not the first to do it, obviously you've done it with Aardwolf (where I've had a lurk character there - Anfauglir - since before the last breaking, around 2002), now I'll have a go at doing it for Astaria too (astaria.net:5000).


[Card-group]: Text CTA <dds-text-cta> is not aligning to the bottom of the card

Engineering info:

Innovation Team engineer:
Innovation Team JIRA Ticket: https://jsw.ibm.com/browse/HC-2469
DPO consulting engineer: N/A

Description

While ensembling an example of the Card Group component using Card with static variant, I noticed that the <dds-text-cta> component that's being used is not aligned to the bottom of the card.
This might be due to the fact that <dds-text-cta> might not be accounted for in the same height function that's defined in the Card group component.
<dds-text-cta> is used in place of <dds-card-cta-footer> because the static card variant doesn't enable the whole card to be clickable, except for the CTA link.

Component(s) impacted
Card Group
Browser
Chrome, Safari, Firefox, Microsoft Edge
Carbon for IBM.com version
v.1.33
Severity
Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.
Application/website
AEM
Package
@carbon/ibmdotcom-web-components
CodeSandbox example
https://codesandbox.io/s/sharp-hugle-ylz0gg?file=/index.html
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

FYI, @oliviaflory @kennylam

Would it be okay if I open a PR to add links to the Card Group with Static and update the README doc, so that it's clear for folks using this component (see attached).

@proeung I'm ok with adding the example to storybook!

I see in your example that the first card doesn't have a CTA, and the rest of the cards do have a CTA. Is that intentional that AEM might mix with and without CTA static cards like that?
Are you thinking of adding links to all the Card group static example or adding a knob to add the CTA like Card Static has? (I hope this makes sense!) I'd just like to make sure adopters can see examples with no CTAs and one with CTAs in the Card group static.

I'm also noticing we might have a bug in the Card group with static card story. There is a background change on hover, but a static card shouldn't have any interactive state until a CTA is added, and then only the CTA gets the interactive states. Not saying you need to fix this, but I think it's a bug!

I see in your example that the first card doesn't have a CTA, and the rest of the cards do have a CTA. Is that intentional that AEM might mix with and without CTA static cards like that?

mmhh.. Not sure why the first card is not displaying the CTA link, but I'll check.

Are you thinking of adding links to all the Card group static example or adding a knob to add the CTA like Card Static has? (I hope this makes sense!) I'd just like to make sure adopters can see examples with no CTAs and one with CTAs in the Card group static.

I was originally thinking of having the CTA text link show up by default in the Card group static preview, but happy to add the "Add CTA" boolean that displays the CTAs, if that's what you prefer.

@oliviaflory Any thought to my response above?

Hi @proeung, thank you for the reminder.
I lean towards having the CTAs hidden by default due to the original intention of static cards being..static. The CTA was added after if I remember correctly. So if it's ok with you I'd love to have the boolean option with "Add CTA".


Add API methods for app scaling

Could you please add support for scaling apps - e.g. instances, memory and disk quota.
App scaling is mentioned in the list of features in the README.md but it seems it's not implemented in the cf-nodejs-client code?

Closing the issue as I just found out that we can do this via the update() method: update(appGuid, appOptions)


[Parser] Detect non-breaking space (U+00A0) and offer a fix-it

Detect Unicode non-breaking space character (U+00A0) in the lexer, diagnose it, and offer a fix-it turning it into a regular space. Also treat the non-breaking space as whitespace when considering whether an operator is left/right bound.
Resolves SR-7122.

Also, could you add tests for fix-it in test/Parse ?

Thanks @rintaro, all suggestions incorporated.
I made a new file for the parse tests. Is there a better spot? Recovery.swift is another possibility.

I think dedicated test file is OK. Since this test is handling invisible characters, it's more safe from accidental (automatic) edits.
@swift-ci Please smoke test

Thank you Ahmad! Please mark the SR issue RESOLVED.


feat: LIDO-68. Signing info query example

Add support for the signing info queries.
Depends on https://github.com/neutron-org/neutron-sdk/pull/122
Tests https://github.com/neutron-org/neutron-integration-tests/pull/257
IMPORTANT! Update Cargo.toml -> neutron-sdk to latest one before merging.
Do not merge this PR before  https://github.com/neutron-org/neutron-sdk/pull/122.
Test run

https://github.com/neutron-org/neutron-tests/actions/runs/7495467682


Add set styleId and set para align

The default WordParagraph  and table can modify the style by styleid,so i add the function to set the styleId to these types

Could you please add tests for those?

Could you please add tests for those?
Add two simple test


GitHub Actions has encountered an internal error when running your job.

Description
when trigger an action, it return the
GitHub Actions has encountered an internal error when running your job.

Area for Triage:
JavaScript and Node.js

Question, Bug, or Feature?:

Question
Virtual environments affected

[ ] Ubuntu 16.04
[x ]  Ubuntu 18.04
[ ] Ubuntu 20.04
[x ]  macOS 10.15
[ ] macOS 11.0
[ ] Windows Server 2016 R2
[ x]  Windows Server 2019

Expected behavior
release job should run
Actual behavior
return an error
GitHub Actions has encountered an internal error when running your job.

Repro steps
Release configuration yml is here
https://github.com/arvinxx/umi-electron-template/blob/master/.github/workflows/release.yml

Hello, @arvinxx
I see, you workflow works without any errors many times. Did you get this error always when you triggered action or sometimes ?
Usually internal errors related to internal GitHub issues. Here is the example:
https://github.com/actions/virtual-environments/issues/2179
You can check the GitHub incidents history here: https://www.githubstatus.com/history (I see we had one incident for today: https://www.githubstatus.com/incidents/tf9v5jjmq2lg , perhaps it was a reason of your internal error).
Thank you.

Hello, @arvinxx
I see, you workflow works without any errors many times. Did you get this error always when you triggered action or sometimes ?
Usually internal errors related to internal GitHub issues. Here is the example:
https://github.com/actions/virtual-environments/issues/2179
You can check the GitHub incidents history here: https://www.githubstatus.com/history (I see we had one incident for today: https://www.githubstatus.com/incidents/tf9v5jjmq2lg , perhaps it was a reason of your internal error).
Thank you.

I get this error always after I change a configuartion. Is there something wrong on my configuration ?
check:
    name: Code quality check
    runs-on: ubuntu-latest
    outputs:
      # use for build
      semantic: ${{ toJSON(steps.semantic.outputs) }} # ! MUST BE STRING

  build:
    needs: check
    name: Build
+   if: fromJSON(needs.check.outputs.semantic).new_release_published == 'true'

I get this error always after I change a configuartion. Is there something wrong on my configuration ?
check:
    name: Code quality check
    runs-on: ubuntu-latest
    outputs:
      # use for build
      semantic: ${{ toJSON(steps.semantic.outputs) }} # ! MUST BE STRING

  build:
    needs: check
    name: Build
+   if: fromJSON(needs.check.outputs.semantic).new_release_published == 'true'

is there any update?

is there any update?

@arvinxx is it possible to get the output of this step (id=semantic)?
https://github.com/arvinxx/umi-electron-template/blob/2a89d6f3ce6ab08d7ab10c1724970b8beac50606/.github/workflows/release.yml#L38
I suppose it is possible if you comment out the condition if: fromJSON(needs.check.outputs.semantic).new_release_published == 'true'

Actual I have log the output here.
You can find the result here

@arvinxx yes, i see the output of the "Semantic Release with dryRun" but i meant "supposed to be parsed". Sorry i was not clear. I wonder where's output name::value set to the name=new_release_published::something
Can you please to change you flow a bit:

replace {{ toJSON(steps.semantic.outputs) }} with {{ steps.semantic.outputs. new_release_published }}
here https://github.com/arvinxx/umi-electron-template/blob/2a89d6f3ce6ab08d7ab10c1724970b8beac50606/.github/workflows/release.yml#L13
replace all occurrences of fromJSON(needs.check.outputs.semantic).new_release_published  to needs.check.outputs.semantic

I expect eliminating of JSON conversions either make the build to success or provide more clear error message

It's fixed! Thanks for your help.
But I'm still wondering why I can't use the toJSON and fromJSON function? which is easier to use when there are lots of properties.

@arvinxx yes, you are right - the issue with JSON still exists and i'm continue to investigate it.

toJSON and fromJSON methods are implemented on actions/runner level. May be @TingluoHuang , @thboop can help here.

Hi @TingluoHuang, @thboop,
could you please take a look when you have a chance? Maybe it makes sense to move this issue to your board?

Similarly, I am experiencing repeated errors ("GitHub Actions has encountered an internal error when running your job.") when some jobs are run. There is no log output, and the same workflow will eventually run without error, but the error rate is extremely high.
https://github.com/robdiciuccio/incubator-superset/actions/runs/562539973
Please advise.

We are suddenly encountering this as well. If this is caused by a configuration error, it would be helpful if that could be surfaced in the error language.
As it is, it reads as if there is a problem on the Github side that should resolve itself. I can't tell if I should be looking for bugs in my code and config, or if I should wait for an errant Github issue to resolve and then re-run my deploy.

Even I'm facing this problem now

Hi @robdiciuccio, @dhuyck,
this error is very generic, so please, create separate issues with repro if possible for our further investigation.
The original issue with runner and fromJSON was fixed. I am going to close this issue.
Thanks.


Usersnap Feedback - Text is difficult to read on mouseover.

Sender<EMAIL_ADDRESS>Open #2 in Usersnap Dashboard
Notes:

(1) Text is difficult to read on mouseover.
(2) Mousever text here is perfect though!

Browser: Safari 9 (Macintosh)
Referer: http://belmgr.belframework.org/#/create
IP: <IP_ADDRESS>
Screen size: 1280 x 800 Browser size: 1264 x 622
Powered by usersnap.com

The usersnap image apparently didn't capture the mouseover color. Here's a screenshot from when I hovered over SEARCH:

SEARCH used to show with dark text - looks okay now.


CDN for pictures

So that we can choose the best image resolutions per device size. Maybe even serve webp by default.

Look into imagekit or cloudinary. I prefer imagekit.

Turns out even nginx can resize images on the fly https://www.nginx.com/blog/responsive-images-without-headaches-nginx-plus/
But doesn't offer a blurhash implementation
Wondering, if @ximion could create blurhash-sums in libappstream?

Oh, blurhash looks like a really nice idea to add, especially to any larger images!
I'll need to have a look, maybe we could even simply stop to generate the micro-thumbnails, nobody seems to be using those anyway, and have blurhash sums instead. Given how short those hashes are, it shouldn't even increase the data by that much.
By the way, if optipng is available to compose, it will run that on every generated PNG image, usually reducing their size quite substantially ;-)

Added the optipng to the initial post, but will have to wait after libappstream port I guess.

wondering, if we can upload our static images to the cdn too https://github.com/flathub-infra/website/tree/main/frontend/public/img

Yeah, then the problem is probably that I reference that one file from css - will take a look at that again at some point


Set Deploy Context from CLI

Not sure if this is a question or a recommendation at this point.
I'm trying to create a dedicated staging (pre-prod) environment: e.g. staging--myproject.netlify.com.
I am manually deploying in my GitLab pipeline using netlify deploy. However, with the CLI it seems I can only deploy to (i) my production URL or (ii) a dynamic URL.
Ideally, I'd like to specify the context similar to netlify deploy --context=staging to deploy to a dedicated URL.
Thank you for any insight.

It's an interesting idea and suggestion.  I like it.

just fwiw we have some concerns on our end about how this may conflict with other features and considerations we have yet to announce - so no promises on how quickly we will incorporate this. but in principle i agree this is a useful thing to have. the devil is in the details.

We need that too!

Related: https://github.com/netlify/cli/issues/44

Very much would appreciate this functionality as well.

Just adding to this with my current situation...
I am making a group portfolio site for a graduating design class. I am making a site with GatsbyJS, which creates image thumbnails on build. This site has many fairly-large images, so it must sometimes be deployed with the CLI if there are updates that the cache isn't being cycled from (say, new images under the same name as old ones). Small updates tend to work okay, because I'm using gatsby-plugin-netlify-cache. This works fine, but only so long as the master branch is the one being deployed to the prod URL, so that I can deploy from the CLI if there is any issue updating the cache.
This leads to my current issue: I have now deployed a "coming soon" countdown to the main URL and put the master behind a branch deploy. Unfortunately, this means I can't find a way to deploy the master from the CLI to its branch URL. I can only deploy either a preview or to --prod. Unfortunately, deploying to --prod puts the work-in-progress master branch onto the public URL.
My current workaround is to simply update the filename of any changed image ... but this isn't a great solution, and I worry if one of the pages on the site adds a lot of images (which might exceed the Netlify build time in thumbnail creation time), I might be stuck without a way to update the master branch deploy.
This is a bit of a complex issue and maybe an edge case, but I hope it shows a scenario in which an option like netlify deploy --context=staging would be useful. I'm hoping this is something that is available (or solved by some other feature) in the future!

acknowledged the importance of this.

We would like to run our end-to-end tests against deploy preview URLs, so passing the context/branch into the deploy command would help us as well to automate that process.

this is our current top priority

should inform customers in addition to this thread:

https://netlify.zendesk.com/agent/tickets/1991

I'm using Gitlab CI and facing the same problem.
Any status update?

Got the latest version of the CLI
USAGE
  $ netlify deploy

OPTIONS
  -a, --auth=auth            Netlify auth token to deploy with
  -d, --dir=dir              Specify a folder to deploy
  -f, --functions=functions  Specify a functions folder to deploy
  -m, --message=message      A short message to include in the deploy log
  -o, --open                 Open site after deploy
  -p, --prod                 Deploy to production
  -s, --site=site            A site ID to deploy to
  --json                     Output deployment data as JSON
  --silent                   Silence CLI output
  --timeout=timeout          Timeout to wait for deployment to finish

No, no progress so far

I wrote a guide Deploy a static website to Netlify using GitLab's CI/CD pipeline.
Until now I was successfully only deploying the master branch build to the netlify production deploy:
# Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/node/tags/
image: node:10

stages:
  - test
  - deploy

# This folder is cached between builds
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
cache:
  paths:
  - node_modules/

before_script:
  - npm install hexo-cli -g
  - npm install

test:
  stage: test
  script:
    - hexo generate
  except:
    - master

pages:
  stage: deploy
  script:
    - hexo generate
    - npm install netlify-cli -g
    - netlify deploy --site $NETLIFY_SITE_ID --auth $NETLIFY_AUTH_TOKEN --prod --dir public/
  artifacts:
    paths:
      - public
  only:
    - master

But now I want to create a preview deploy for any other branches, so I moved my Gitlab CI config to
# Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/node/tags/
image: node:10

stages:
  - test
  - deploy

# This folder is cached between builds
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
cache:
  paths:
  - node_modules/

before_script:
  - npm install hexo-cli netlify-cli -g
  - npm install

test:
  stage: test
  script:
    - hexo generate
    # Wihthout the --prod option this deploys only a preview
    - netlify deploy --site $NETLIFY_SITE_ID --auth $NETLIFY_AUTH_TOKEN --dir public/
  except:
    - master

pages:
  stage: deploy
  script:
    - hexo generate
    - netlify deploy --site $NETLIFY_SITE_ID --auth $NETLIFY_AUTH_TOKEN --prod --dir public/
  artifacts:
    paths:
      - public
  only:
    - master

So in the test job just adding a netlify deploy without --prod so it won't be pushed to production and only generating a preview.
But unfortunately the job always end like this:
765 $ netlify deploy --site $NETLIFY_SITE_ID --auth $NETLIFY_AUTH_TOKEN --dir public/
766 Logging into your Netlify account...
767 Opening https://app.netlify.com/authorize?response_type=ticket&ticket=XXX
768 ---------------------------
769 Error: Unable to open browser automatically
770 Please open your browser & open the URL below to login:
771 https://app.netlify.com/authorize?response_type=ticket&ticket=XXX
772 ---------------------------
773 You are now logged into your Netlify account!
774 Run netlify status for account details
775 To see all available commands run: netlify help
776  ›   Error: Not Found
777 ERROR: Job failed: exit code 1

$NETLIFY_SITE_ID and $NETLIFY_AUTH_TOKEN were already stuffed for the master branch but here it seems this new branch job can't use them or need to authenticate once more. The only cached path is node_modules so this is not a cache issue. I don't understand why it need to manually authenticate again, and why even when I manually open the new authorization page and accept it continue to fails. Il try to add a netlify status from the CI to see what is happening here.
Actually all preview URLs from the production are looking like https://5dfe3d1423a010917b502c04--rawsec-blog.netlify.com/ and I don't care not having a custom https://stagging--rawsec-blog.netlify.com/ URL. I should just be able to see a difference bewteen production and non-production deploy thanks to the --prod option from netlify CLI and could optionally add more context dependent information with the --message option.

Nice, seems to be some movement on this issue. We're also coming from Gitlab, and would like to use similar functionality as branch deploy, but run from the Gitlab CI via the Netlify CLI. We have many other jobs we want to run (test/lint/e2e/etc), so it feels better to keep it in the same place.

This issue has been raised internally with the API team to implement an endpoint that would allow creating branch deploys. Please hold on.

Thanks for the update! Is there any rough ETA - ie it'll be a matter of days/weeks/months?

We don't have an ETA at the moment but since this is a highly requested feature we'll prioritize it and report back when we have a plan.

@RaeesBhatti this feature would be a blessing for our team since our code is on Bitbucket and we don't have access to deploy previews as a result. We're really stuck at the moment. Just an API endpoint would unblock us.

Any update on this issue.

Yes! This would be a life saver for projects/companies that rely on netlify but have to, for whatever business/security reasons, have complete control of their deploy pipeline/git repository.

Right now i have to use one site per branch it kinda overflow my netlify dashboard, i'd be interested in this

Thank you 🎉

Thanks for the other PR as well! https://github.com/netlify/js-client/pull/105
Param also added to API docs here: https://open-api.netlify.com/#operation/createSiteDeploy

Exciting update! Now we can have nice aliases for our deploys.
I did some testing and noticed it doesn't seem to work with --trigger to trigger a branch deploy, or split-testing (when deploying to the branch in the split test).
Is that accurate? Or am I doing something wrong?

@rajington Yes --trigger hits a different API endpoint and works differently that normal deploy. That endpoint doesn't yet have a branch parameter. I will look into this

seems we can't yet link a domain ?

@rajington Yes --trigger hits a different API endpoint and works differently that normal deploy. That endpoint doesn't yet have a branch parameter. I will look into this

Thanks, not supporting trigger is not a huge problem or anything.
I was guessing split-testing is a whole other can of worms and not really part of this "alias" stuff, is that accurate? Or is it just not a priority? which is also understandable, probably not many people are using that with CLI deploys.

We're considering renaming the recently introduced --branch flag to --alias since people might expect --branch to be similar in functionality to the Git branches. It isn't similar to Git branches and is only useful to pretty URL's.
Please provide your feedback via up or down votes to this comment. Should --branch be renamed to --alias?

The author is considering the same thing for the GitHub Action! https://github.com/nwtgck/actions-netlify/pull/178#issuecomment-638777483

I'm not sure if I understand the --branch flag correctly.
Currently I have a custom domain, shopit.space, in which the redux branch will be deployed to redux.shopit.space. When I execute netlify deploy -b redux, what I get is the following logs:
Logs:              https://app.netlify.com/sites/react-ecomm/deploys/5edcdbcdeb4b84deeb7c7203
Website Draft URL: https://redux--react-ecomm.netlify.app

I was under the impression that it will deploy to redux.shopit.space but apparently it does not. It this behavior expected?

We don't "deploy to" hostnames like that;  we can show deploys at hostnames
like that, once configured.  You seem to have it configured correctly, here:
https://app.netlify.com/sites/react-ecomm/settings/domain#branch-subdomains
Does https://redux.shopit.space not work as you're intending?  I can see it
serves that site, but can't tell if it's the content you're expecting or
not.
TL;DR that notification will use our internal name, but you should be able
to use the other one once it is (as it is on your site) correctly
configured as a branch subdomain and the SSL certificate matches, which
yours does (*.shopit.space)
On Sun, Jun 7, 2020 at 5:29 AM Malcolm Kee<EMAIL_ADDRESS>wrote:

I'm not sure if I understand the --branch flag correctly.
Currently I have a custom domain, shopit.space, in which the redux branch
will be deployed to redux.shopit.space. When I execute netlify deploy -b
redux, what I get is the following logs:
Logs:              https://app.netlify.com/sites/react-ecomm/deploys/5edcdbcdeb4b84deeb7c7203
Website Draft URL: https://redux--react-ecomm.netlify.app
I was under the impression that it will deploy to redux.shopit.space but
apparently it does not. It this behavior expected?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/netlify/cli/issues/275#issuecomment-640211228, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABX5IBYCP7MCLQQ5G4LAM3RVOBZXANCNFSM4HCEPHVA
.

@fool the ui don't allow me to have a subdomain without linking the site to a git repository :/

Not entirely surprising.  Shall I try unlinking the git repo to see if it
still works (won't show up in the UI, but that is not the purpose of this
feature request - it's to get it working :))
On Mon, Jun 8, 2020 at 1:59 PM Sceat<EMAIL_ADDRESS>wrote:

@fool https://github.com/fool the ui don't allow me to have a subdomain
without linking the site to a git repository :/
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/netlify/cli/issues/275#issuecomment-640883461, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABX5IFA22M73CKPUQ7RTIDRVVGLHANCNFSM4HCEPHVA
.

You're saying that function output from the branch you deploy this way is
not showing in the UI, Raj?  That is likely related and not sure it's
intended to work, but I know who to ask once you can confirm (and if
possible give me the function name and the site's API ID from the settings
page to track it down internally to confirm, since I have no functions
deployable via CLI right now to test with..)
On Wed, Jun 10, 2020 at 6:00 AM Raj Nigam<EMAIL_ADDRESS>wrote:

not sure if this where you'd like to talk about potential issues with this
specific functionality, but I don't seem to be getting function output in
the console even though I can run the functions. if nothing big jumps out
at you i can debug more, but it seems to be related to this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/netlify/cli/issues/275#issuecomment-641990290, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AABX5IAQ5TJ2CFBLTPBNKBDRV57XLANCNFSM4HCEPHVA
.

When will alias be deployed to npm ? https://github.com/netlify/actions/issues/32

@Sceat netlify-cli/2.54.0 has been published recently that includes --alias flag for netlify deploy command.

@rajington Yes --trigger hits a different API endpoint and works differently that normal deploy. That endpoint doesn't yet have a branch parameter. I will look into this

@RaeesBhatti is there any update on getting --trigger to work with --alias? I'd like to trigger a build & deploy of a specific branch without having to upload assets (Netlify handles building and testing for us).

Hi @alexjfno1, I opened a new issue https://github.com/netlify/cli/issues/1572 to track this as it will require some API changes.

Thanks @erezrokah


Retire AMPS redirect server in favor of Fastly redirects

We are currently running an (aging) Nginx server on EC2 that's entire purpose in life is to serve a set of redirect routes. This was done to allow for use on domains that required an A record due to their being an apex record in the given domain. Now that we have adopted Fastly we have the ability to use their anycast IP to fulfill that requirement. As such we should look at re-creating the redirect rules in the following files as rules in one or many Fastly distributions so that we have no server maintenance required to keep this running.
https://github.com/mitodl/salt-ops/blob/main/pillar/nginx/amps_redirect.sls
https://github.com/mitodl/salt-ops/blob/main/pillar/nginx/chalkradio_redirect.sls
https://github.com/mitodl/salt-ops/blob/main/pillar/nginx/mitxpro_redirect.sls

We started looking into the possibility of not worrying about the video redirects and potentially retiring those, however in looking at the NGINX logs on the redirect instance, it appears that some of the traffic is referred by starcellbio. So, even if video folks were fine with not having any redirects, we'd have problems with folks using the startcellbio app.

Completed work on moving the config for amps_redirect into Fastly. For chalkradio we are looking at handling it using Route53 following instructions here

Ended up going with Fastly for the chalkradio redirects as the simplecast instructions only allow to specify one custom domain and we have .net, .com, and .org to redirect.

This is currently on-hold with a ticket open with Fastly as we currently can't add the mitxpro.mit.edu domain in Fastly given the already seen error message:
Domain 'mit.edu' is already taken by another customer

All configs are now in place and tested on a Fastly distribution. Turned off EC2 instance for now and will give it a week or so to terminate it and put in a PR to remove the salt code

@shaidar looks like this is ready to be closed after you terminate and delete the server from Salt :smile:

Instance terminated


add_changeset

libosmium supports add_changeset since 2.6.0. It would be nice to have it in pyosmium too.

I presume you mean adding the function to SimpleWriter?
This need first a mutable version of osm.Changeset for this and then an implementation of the function itself.

Yes, I was referring to SimpleWriter.


Add support for the store validation trait back in to the Parquet store

Issue #1884 temporarily removed support for the store validation trait from the Parquet store. This should be added back in.

We are not supporting parquet in v2.0, so this will not be done.


Update argo download path

The argo project changed the path to their release downloads, which broke the integration test. This updates to the correct URL.

Looks like it failed even though you fixed the argo error. I'll re-run the tests.


[Enhancment] Make error message of workgroup more clearly (#8663)

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] refactor
[ ] others

Problem Summary(Required) ：

This is cherry-picked from #8663.

run starrocks_fe_unittest


[DO NOT MERGE] Merge semantic result class to run result class.

JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-222-dg
REPORT: https://llm-exp.oss-fuzz.com/Result-reports/ofg-pr/2024-04-23-222-dg-comparison/index.html
BUCKET: https://console.cloud.google.com/storage/browser/oss-fuzz-gcb-experiment-run-logs/Result-reports/ofg-pr/2024-04-23-222-dg-comparison
BUCKET GS: gs://oss-fuzz-gcb-experiment-run-logs/Result-reports/ofg-pr/2024-04-23-222-dg-comparison

JOB: https://console.cloud.google.com/kubernetes/job/us-central1-c/llm-experiment/default/ofg-pr-222-dg
REPORT: https://llm-exp.oss-fuzz.com/Result-reports/ofg-pr/2024-04-24-222-dg-comparison/index.html
BUCKET: https://console.cloud.google.com/storage/browser/oss-fuzz-gcb-experiment-run-logs/Result-reports/ofg-pr/2024-04-24-222-dg-comparison
BUCKET GS: gs://oss-fuzz-gcb-experiment-run-logs/Result-reports/ofg-pr/2024-04-24-222-dg-comparison

06 in https://llm-exp.oss-fuzz.com/Result-reports/ofg-pr/2024-04-24-222-dg-comparison/benchmark/output-fribidi-fribidi_log2vis/index.html


[FEATURE] Add abstraction for disabling an app bar button

Feature Information
Feature description
This is a clunky way of turning off an app bar button's indicator
GameObject.Find("BTN-ExampleMod")?.GetComponent<UIValue_WriteBool_Toggle>()?.SetValue(toggle);

Solution proposal
Add a SetButtonIndicator(bool) function to the appbar api that does this

Merged in #160


Verify module IDs

See #17605.
The goal of this PR is to add a check to enforce that module IDs are not conflicting.
The approach is to run the opentitantool status lint command on every relevant ELF file (see commits for details).
One downside of this approach is it triggers a build of opentitantool and also builds all the test ELF files. The former is quite slow because opentitanlib depends on pqcrypto-sphincsplus even though this is not useful for this particular check. This can also be fixed by reorganizing opentitanlib.
One possibility would be to run those checks at the same time as we run the device tests on FPGA since everything has to be built anyway, but this could be a bit confusing.
Questions:

At the moment I am using an aspect with an explicit output group, but apparently bazel supports validation actions, I don't know if it worth using those?
While going through quality/BUILD.bazel, I noticed an hardcoded list RUST_TARGETS of targets. Could this use similar mecanism to what is done in this PR to avoid a list?

The build failure is due to manuf_cp_device_info_flash_wr_test_unlocked0_to_prod_end_functest_fpga_cw310_rom_with_fake_keys which is marked as flaky

This Check status_t Module IDs seems to be causing errors on PRs. Is there an issue tracking this?

Is this still true? could you share some example PRs with issues?

This Check status_t Module IDs seems to be causing errors on PRs. Is there an issue tracking this?

Is this still true? could you share some example PRs with issues?

Yup, I've created an issue for it here: https://github.com/lowRISC/opentitan/issues/19190


Longest sub

add one problem to solve

This is now just the pull request for the longest substring problem. I will submit the other PRs for the other problem. This has passed the linter test.

Thanks for this PR, @huynhducloi. One request: please could you reply to all comments, following the instructions in the playbook? In particular, for comments that you've addressed, please reply "Done." -- this helps keep track of which comments have been addressed and which haven't.
When you've done that, and the code is ready for a second review, let us know. Thanks!

TaskSchemaValidationService and QuestionSchemaValidationService? Do you mean the linter test, which I also did.
Can you elaborate on how to add my file to those schema test.

I have updated all the taskvalidation test, and I think it is ready for another review. Thanks

Did question readability check.

Ping! Wanted to check how progress is coming along on this.

Any progress?

Reassigning to @eyurko.

Superseded by #260.


Replace Management Samples

Consolidate and update Management samples
~Blocked by https://github.com/SteeltoeOSS/Steeltoe/pull/1389~
Resolves #341
part of #319

Following the steps in the readme, the command:
dotnet run --runtask=ForecastWeather --fromDate=10-18-2024 --days=30

crashes on my machine with:
Unhandled exception. System.FormatException: String '10-18-2024' was not recognized as a valid DateTime.
   at System.DateTimeParse.Parse(ReadOnlySpan`1 s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at System.DateTime.Parse(String s)
   at Steeltoe.Samples.ActuatorApi.AdminTasks.ForecastTask.RunAsync(CancellationToken cancellationToken) in C:\Source\Repos\Samples\Management\src\ActuatorApi\AdminTasks\ForecastTask.cs:line 12
   at Steeltoe.Management.Tasks.TaskHostExtensions.RunTaskAsync(String taskName, IServiceProvider serviceProvider, CancellationToken cancellationToken)
   at Steeltoe.Management.Tasks.TaskHostExtensions.FindAndRunTaskAsync(IServiceProvider serviceProvider, CancellationToken cancellationToken)
   at Steeltoe.Management.Tasks.TaskHostExtensions.FindAndRunTaskAsync(IServiceProvider serviceProvider, CancellationToken cancellationToken)
   at Steeltoe.Management.Tasks.TaskHostExtensions.RunWithTasksAsync(IHost host, CancellationToken cancellationToken)
   at Program.<Main>$(String[] args) in C:\Source\Repos\Samples\Management\src\ActuatorApi\Program.cs:line 104
   at Program.<Main>(String[] args)

This is probably because my regional OS settings are not en-US, which makes "10-18-2024" not a valid date. The sample should be updated to parse/format in invariant culture and use ISO dates.

Following further on with the API readme steps for running locally, it suddenly stops. I've started all the docker containers and the app, now what to do next? I don't see a port number in appsettings.json. The console output contains:
Now listening on: http://[::]:5140

So I open http://localhost:5140/ in my browser, which returns a 404. Then tried the first entry from the .http file in VS, which fails with:
(1,7): error HTTP0012: Unable to evaluate expression 'HostAddress'.

I'm lost here.

/Management/src/README.md is outdated.

Running code cleanup on the solution results in changes to several files. Some notes:

Commented out code in MySqlSeeder.cs without an indication why, TODOs unrelated to tracing.
In OpenTelemetryExtensions.cs, multiple places where a single-statement lambda code block can be collapsed to an expression
In Program.cs, the minimal API endpoints are defined inline, which makes the file large and mixed startup logic with request-based logic. They should be extracted from this file, see suggestion at https://www.tessferrandez.com/blog/2023/10/31/organizing-minimal-apis.html#use-extension-methods-to-organize-the-endpoints.

When running the 3 tasks from readme, no forecasts are shown in browser. Then I realized I shouldn't have run the last step that clears all data. This isn't obvious at first sight. The readme(s) should provide step-by-step instructions to accomplish a scenario, such as here. It would be nice to have a per-actuator short description of what its purpose it, and what to expect when following the steps.

Navigating to SpringBootAdmin by opening http://localhost:9090 in the browser (which should be mentioned in the readme) shows Api and Web, but clicking on any of them produces an error. Then I found a commented-out line in appsettings.Development.json instructing to uncomment when using docker instead of podman. That should be mentioned in the readme as well, I wouldn't expect newcomers to dive as deeply as I did. After the change, Api appears offline in SBA and the logs from dotnet run contain multiple warnings, such as:
warn: Steeltoe.Management.Endpoint.ManagementPort.ManagementPortMiddleware[0]
      Access to /actuator/refresh on port 5140 denied because 'Management:Endpoints:Port' is set to 9999.

I get the impression that the various parts of the sample have worked at some point in time, but then things changed, without verification that every scenario still works. Right now, seeing the sample in action requires investigation, and knowledge of Steeltoe internals and the CF/Spring ecosystem, which is a blocker for adoption. The readme(s) should mention the variations in scenarios and what to do (such as changing settings or code) to make it work. I also don't understand why dynamic ports are used, which makes it harder to understand what's going on. I wonder if putting all features together in a single sample resulted in a highly-complex sample that defeats its purpose: showing how easy it is to use Steeltoe. How I handled that in the Discovery sample is by adding additional launch profiles to activate the advanced features, which can easily be ignored by users who don't care.

It would be nice if the home page listed all the available actuator endpoints by fetching them from /actuator and rendering clickable links (that open in a new tab).

Following the steps in the readme, the command:
dotnet run --runtask=ForecastWeather --fromDate=10-18-2024 --days=30

crashes on my machine with:
Unhandled exception. System.FormatException: String '10-18-2024' was not recognized as a valid DateTime.
   at System.DateTimeParse.Parse(ReadOnlySpan`1 s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at System.DateTime.Parse(String s)
   at Steeltoe.Samples.ActuatorApi.AdminTasks.ForecastTask.RunAsync(CancellationToken cancellationToken) in C:\Source\Repos\Samples\Management\src\ActuatorApi\AdminTasks\ForecastTask.cs:line 12
   at Steeltoe.Management.Tasks.TaskHostExtensions.RunTaskAsync(String taskName, IServiceProvider serviceProvider, CancellationToken cancellationToken)
   at Steeltoe.Management.Tasks.TaskHostExtensions.FindAndRunTaskAsync(IServiceProvider serviceProvider, CancellationToken cancellationToken)
   at Steeltoe.Management.Tasks.TaskHostExtensions.FindAndRunTaskAsync(IServiceProvider serviceProvider, CancellationToken cancellationToken)
   at Steeltoe.Management.Tasks.TaskHostExtensions.RunWithTasksAsync(IHost host, CancellationToken cancellationToken)
   at Program.<Main>$(String[] args) in C:\Source\Repos\Samples\Management\src\ActuatorApi\Program.cs:line 104
   at Program.<Main>(String[] args)

This is probably because my regional OS settings are not en-US, which makes "10-18-2024" not a valid date. The sample should be updated to parse/format in invariant culture and use ISO dates.

I think the code already parses ISO dates, so maybe it's just a matter of using a better example

It would be nice if the home page listed all the available actuator endpoints by fetching them from /actuator and rendering clickable links (that open in a new tab).

This sounds nice and I was initially in favor of it... But the actuators are being secured with basic auth, so I don't think we can make normal clickable links. We could do some fancy JS work and build a super basic client for the actuators, but maybe we're better off relying on the .http files and/or SBA to do the heavy lifting rather than adding more.


FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

Bug report
What is the current behavior?
<--- Last few GCs --->

[36942:0x103000000]  1126169 ms: Mark-sweep 1366.2 (1448.9) -> 1366.1 (1449.9) MB, 1093.8 / 0.0 ms  allocation failure GC in old space requested
[36942:0x103000000]  1127520 ms: Mark-sweep 1366.1 (1449.9) -> 1366.0 (1418.9) MB, 1350.3 / 0.0 ms  last resort GC in old space requested
[36942:0x103000000]  1128984 ms: Mark-sweep 1366.0 (1418.9) -> 1366.0 (1418.9) MB, 1464.7 / 0.0 ms  last resort GC in old space requested

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x235753325739 <JSObject>
    1: indexOf(this=0x235780427df9 <Very long string[500556]>)
    2: /* anonymous */(aka /* anonymous */) [/Users/pavel/Work/Astral.PersonArea/Astral.PersonArea/Astral.PersonArea.Web/wwwroot/node_modules/source-list-map/lib/SourceListMap.js:~72] [pc=0x146d37d0821d](this=0x2357f8d022d1 <undefined>,sln=0x2357d251ce71 <SingleLineNode map = 0x23577f3fc6f9>)
    3: arguments adaptor frame: 3->1
    ...

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
 1: node::Abort() [/Users/pavel/.nvm/versions/node/v9.3.0/bin/node]
 2: node::OnFatalError(char const*, char const*) [/Users/pavel/.nvm/versions/node/v9.3.0/bin/node]
 3: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [/Users/pavel/.nvm/versions/node/v9.3.0/bin/node]
 4: v8::internal::Factory::NewRawTwoByteString(int, v8::internal::PretenureFlag) [/Users/pavel/.nvm/versions/node/v9.3.0/bin/node]
 5: v8::internal::String::SlowFlatten(v8::internal::Handle<v8::internal::ConsString>, v8::internal::PretenureFlag) [/Users/pavel/.nvm/versions/node/v9.3.0/bin/node]
 6: v8::internal::String::IndexOf(v8::internal::Isolate*, v8::internal::Handle<v8::internal::String>, v8::internal::Handle<v8::internal::String>, int) [/Users/pavel/.nvm/versions/node/v9.3.0/bin/node]
 7: v8::internal::Runtime_StringIndexOfUnchecked(int, v8::internal::Object**, v8::internal::Isolate*) [/Users/pavel/.nvm/versions/node/v9.3.0/bin/node]
 8: 0x146d359842fd

If the current behavior is a bug, please provide the steps to reproduce.
long work with webpack-dev-server
...
  "scripts": {
    "dev": "cross-env NODE_ENV=development BABEL_ENV=development webpack-dev-server --mode development --open 'Google Chrome'",
...

my webpack.config.js
Other relevant information:
webpack version:  4.16.2
webpack-dev-server: 3.1.5
Node.js version: 9.3.0
Operating System: macOS High Sierra 10.13.6

Thanks for your report. It would be great if you reduce your issue to a small reproducible example. Best put this example into a github repository together with instructions how to get to the problem.

Upgrade your node.js version. Increase memory with the node.js flag.

upgrade to which version of node?

v10 or v12. And you can set --max-old-space-size.


Add sensor mounting locations for UAVs

Imported base models for the mbzirc quadrotor and hexrotor with adjustments to add payload slots.

when I make the hexrotor take off with linear vel z = 0.1, it also starts spinning anticlockwise. Do you get that?

when I make the hexrotor take off with linear vel z = 0.1, it also starts spinning anticlockwise

should be fixed by 7324482


WIP: init workflow

Description
wip: Add `oc-mirror init` command

The package is called initcmd because the Go compiler requires something called "init" to be a function.

WIP / not committed:
- reading the helm chart
- tests
- get catalog version and prompt for registry in parallel?

Fixes #316
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

How Has This Been Tested?
Unit tests are in progress
Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:

[x] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

I merged https://github.com/jpower432/bundle/tree/test/universal-testing-methods in to this, so there are a bunch of unrelated changes in the diff view right now

I merged jpower432/bundle@test/universal-testing-methods in to this, so there are a bunch of unrelated changes in the diff view right now

Copy on the extra changes. Captured in this PR #430.
/ok-to-test


Replace rb-appscript with rb-scpt?

Hello,
There's a discussion here about the rb-appscript gem problems.  In that thread, there's mention of a fork of the rb-appscript project that was done in pure ruby -- https://github.com/BrendanThompson/rb-scpt.
Could the rb-scpt gem be used to restore compatibility with the most recent versions of ruby?

Yeah, I think that makes sense. As far as I can see from the thread, this is compatible with ruby >2.0.0. I think we can deprecate anything less than that.
It also seems that rb-scpt is API compatible with rb-appscript, but I haven't been able to try it out. Would you be able to do this?


Modify frontend v2 APIs for datasets

Codecov Report

Merging #958 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #958   +/-   ##
=======================================
  Coverage   24.08%   24.08%
=======================================
  Files         157      157
  Lines        4496     4496
  Branches     1146     1146
=======================================
  Hits         1083     1083
  Misses       3413     3413

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 f0e970b...14fc8b0. Read the comment docs.

Coverage remained the same at 26.711% when pulling 14fc8b01d60151864785ce5597e9ef8d9d3d0e5b on alyiwang:master into f0e970b465a83aa4adb35450486ca5c2c7d41bf4 on linkedin:master.


support for method override

method overrides are shown in code-outline treeview, but when you select any of overrides, it navigates to the first one.
example for ts file;
public setCleanHtml: Function;
...
this.setCleanHtml = () => {
   ...
}

I'm not sure which language that is but all symbols are returned by language-specific extensions and services provided by VSCode itself. Please check if the same issue occurs when you use the builtin "Go to Symbol in File..." command. If it does, file an issue with the language extension. If it does not, it's a bug in Code Outline and I will need to fix it.


Bump gl dependency version for an important bug fix

See https://github.com/stackgl/headless-gl/issues/271#issuecomment-1974254296.

vote +1 for v8.0.2


Plugin local testing docs - first draft

@yuval-hazaz @barshimi I asked for your review but please DO NOT merge this yet since the actual tester is not yet merged to Master, only to Next. I just wanted to prepare this so we're ready to release the docs once we release the tester


fix moduledoc for router

seems like a trailing comma in the moduledoc. just wanted to fix

Thanks @techgaun! 💟


Need to use more than table in a slice and able to make List of values(LOVs) for filtering

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

[*] I have checked the superset logs for python stacktraces and included it here as text if any
[*] I have reproduced the issue with at least the latest released version of superset
[*] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.20.4
Expected results
We are trying to create slice with one table and we need a list of values from different table in the slice. Also we are trying to to add filters into a slice without filter box visualization.
Actual results
Now we can use only one table for a slice. Each field will come from that table. Not able to add a field from a different table.
Please Note:- We are able to achieve this by creating entirely different slice(filter box) and dashboard doing an in memory filter.
Steps to reproduce

Assuming that the second table resides within the same DB, you have at least three options:

create a view in the source DB where the second table is joined in
do virtually the same thing via visualizing an SQLLab query where you perform the join
define a new column for the first table that is defined by a correlated subquery on the second column

When the second table is from a different DB, I don't see any options other than integrating the two DBs via external tools like dremio.com.

How can I introduce this multiple DB feature? Any possible ways ? If I try to make some code changes, Does it works and which files are related to this ? Also please help me to introduce this feature with minimum code change.

As said, I'd consider dremio.com. however. I am not sure about how well dremio can be accessedbin superset via the odbc connector of dremio.
Alternatively, you could use a PostgreSQL DB in combination with Foreign Data Wrappers (FDW) which connect to the various DBs to be integrated.
The latter approach definitely does not require any code change in sqlalchemy or superset, but requires the FDWs for your DBs to be available.
The former one is more generalized, but I cannot tell you if superset and/or sqlalchemy do need any adjustments for it to work.


check decimal overflow in predicate in decimal style instead binary style

What type of PR is this：

[x] bug
[ ] feature
[ ] enhancement
[ ] others

Which issues of this PR fixes ：
https://github.com/StarRocks/starrocks/issues/3342
Fixes #
Problem Summary(Required) ：
for Predicates that contain constant operators of decimal type, the constant value is transferred to
to BE in string type, and in BE, an corresponding VectorizedLiteral is constructed after string value
is converted to decimal via the string-to-decimal casting function who checks decimal overflowing in
decimal style. but in FE, checking decimal overflow in binary style instead of decimal style would
given an incorrect result that overflow checking should fail(in decimal style) expectedly but succeeds
(in decimal style)actually. When checkLiteralOverflowInDecimalStyle fails, proper cast exprs are interpolated
into Predicates to cast the type of decimal constant value to a type wider enough to holds the value.
Why we needs two decimal overflow checking function?

for a Predicate like col_decimal32p9s0 > -2147483648, the type of col_decimal32p9s3 is DECIMAL32(9,0), the type of -2147483.648 is DECIMAL64(10,0).  Underlying integer value of -2147483.648 is -2147483648, becase  int32_t can holds this value, so overflow check in binary style tells that -2147483.648 not overflows, so change type of  -2147483.648 to DECIMAL32(9,0) in Predicate and turn it into string " -2147483.648" and transfer it to BE, on BE's receiving, BE try to parse "-2147483.648" into DECIMAL32(9,0), it fails because -2147483.648 is less than -99999.9999. so we should adopt overflow checking in decimal style which tells that -2147483.648 overflows, so common type DECIML64(10,0) is computed out, and both lhs and rhs of the predicate are casted into DECIMAL64(10, 0), ...., BE succeeds in parseing "-2147483.648" into DECIMAL64(10,0).
for ArithmeticExpr and CastExpr involving non-constant expr, correct result type is always computed, a decimal literal  that fails in overflow checking in decimal style are always cast to a wide type. But in BE, overflow checking in binary style is adopted  for performance purpose.
for ArithmeticExpr and CastExpr only involving constant expr, the evaluation happens on FE side, FE should abides by BE in overflow checking, so binary style is adopted.

@satanson when you explain a complex logic, would better give an example.

 Predicate and turn it into string " -2147483.648" and transfer it to BE, on BE's receiving, BE try to parse "-2147483.648" into DECIMAL32(9,0),

Why not pass "-2147483648" format  string  to BE？


className is not applied to placeholder UI

This results in a flash of the base theme while loading (when using a custom theme):
https://codesandbox.io/s/jovial-banach-fpcvp3

Thanks for the PR, I just published a new version that includes your change.


Refactor logging to be async

Description of changes:
Performance testing MWAA airflow images revealed flaws with how logging is plumbed to CloudWatch.
Currently, when airflow publishes log statements it is sent to an os pipe to be polled and read by the entrypoint process and then forwarded to cloudwatch. When this pipe is full, airflow must halt until logs are read before continuing execution. This means airflow execution is upper-bounded by how fast the entrypoint can read logs.
The entrypoint has many other priorities in this critical loop (heartbeat healthcheck, db healthcheck, polling other subprocess logs, etc) and it has be measured that airflow scheduler is significantly throttled by this mechanism when log volume is large.
This PR aims to fix this by separating log polling into its own thread. This allows for faster log reading that is decoupled from the execution of the entrypoint process loop. Below is "before" and "after" profiler flamegraph results of a mwaa scheduler over a 1-minute period of execution under heavy scheduling and log load.
Before

After

In the before, we see that waiting for the log message to be read by the entry point is all the scheduler was able to do in the entire 1-minute interval. However with async logging, scheduler is able to complete multiple loops.

On first inspection the change makes sense.
What is the cause of the long schedule_run_dag in the second image?

On first inspection the change makes sense.
What is the cause of the long schedule_run_dag in the second image?

This call was during scheduler process of making scheduling decision for a given dag run. If the given dag run has finished, then the db session is flushed to sync session with db. This is what took so long. So it is the case that during the 1-minute period I polled, a task happened to finish and triggered this code.
It does take a suspiciously long time to do this, and may be an area of optimization in the future, but I don't believe it is related to any logging changes here.


link plugins

The hyperlogs themselves won't have very much data, but the documents in the hyperlog may link to larger documents that should also be mirrored. Link plugins should support protocols such as webtorrent, ipfs, dat, sbot, peervision, and protocols that haven't been invented yet. These plugins should integrate with the quota system (#3).

implemented in 1.2.0


Load Balancer configuration is not correct.

Load Balancer or Compute Instance docker container(s) configuration is incorrect.
Backend Sets Health =1x Critical
Backends Health = 2x Criticals
curl -v "http://registry.mydomain.com" --resolve registry.mydomain.com:80:XXX.XXX.XXX.XXX

GET / HTTP/1.1
User-Agent: curl/7.29.0
Host: registry.mydomain.com
Accept: /

< HTTP/1.1 502 Bad Gateway
< Date: Sun, 21 Feb 2021 05:25:55 GMT
< Content-Type: text/html
< Content-Length: 161
< Connection: keep-alive
<

502 Bad Gateway

502 Bad Gateway

Last update on scripts which now are based on Oracle Linux 8 fixed this problem.
Line 13 on docker-compose.yml includes:
                - traefik.http.routers.whoami.rule=(Host(registry.mydomain.com) && Path(/whoami))
but request from Load Balancer health checks do not include host header information, so a correct must be:
               - traefik.http.routers.whoami.rule=Path(/whoami)
but note that just after a load balancer starts the two backend will be marked as failed, this is due they are installing the software, later they will be marked as online.

Fixed with:
https://github.com/marcelo-ochoa/oci-swarm-cluster/commit/7ec8ce3f9f743c2a2050c21f2bf321722c2986d1

Marcelo,
Thanks so much for the updates.
I can reach dev-oci.xxx.yyy , but not registry.xxx.yyy
http://registry.xxx.yyy = 404 page not found
<EMAIL_ADDRESS><EMAIL_ADDRESS>Thanks,
Rod
From: Marcelo<EMAIL_ADDRESS>Sent: Tuesday, February 23, 2021 12:57 PM
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [marcelo-ochoa/oci-swarm-cluster] Load Balancer configuration is not correct. (#1)
Fixed with:
7ec8ce3https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmarcelo-ochoa%2Foci-swarm-cluster%2Fcommit%2F7ec8ce3f9f743c2a2050c21f2bf321722c2986d1&data=04|01||584de3583abf427c870408d8d8354621|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637497070607815008|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=yHzWJEm2zMRSfEEQx7Rh1rHPsn2y5Qvv1updxaPHVo0%3D&reserved=0
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmarcelo-ochoa%2Foci-swarm-cluster%2Fissues%2F1%23issuecomment-784470938&data=04|01||584de3583abf427c870408d8d8354621|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637497070607815008|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=eu9mOB5XMwqzZTL7LYTD7m6GHHoyiAL8Sl81guTqTyg%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAE3U3FZEGJAVNGE6VBWZ7YLTAQCDFANCNFSM4X6UC3SQ&data=04|01||584de3583abf427c870408d8d8354621|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637497070608094878|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=quN5M%2F%2Bie80z149Ml4mjGnd6At6oiQXPAH5FkACQFTI%3D&reserved=0.

Registry is mapped only for a path /v2/
Right after deploying the stack here the expected output:
[root@oci-swarm-loo1-0 ~]# curl -v --resolve registry.mydomain.com:80:<IP_ADDRESS> http://registry.mydomain.com/whoami
* Added registry.mydomain.com:80:<IP_ADDRESS> to DNS cache
* Hostname registry.mydomain.com was found in DNS cache
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to registry.mydomain.com (<IP_ADDRESS>) port 80 (#0)
> GET /whoami HTTP/1.1
> Host: registry.mydomain.com
> User-Agent: curl/7.61.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Length: 383
< Content-Type: text/plain; charset=utf-8
< Date: Fri, 05 Mar 2021 19:19:13 GMT
<
Hostname: 49a7b680580a
IP: <IP_ADDRESS>
IP: <IP_ADDRESS>
IP: <IP_ADDRESS>
RemoteAddr: <IP_ADDRESS>:44044
GET /whoami HTTP/1.1
Host: registry.mydomain.com
User-Agent: curl/7.61.1
Accept: */*
Accept-Encoding: gzip
X-Forwarded-For: <IP_ADDRESS>
X-Forwarded-Host: registry.mydomain.com
X-Forwarded-Port: 80
X-Forwarded-Proto: http
X-Forwarded-Server: b51930688f6d
X-Real-Ip: <IP_ADDRESS>

* Connection #0 to host registry.mydomain.com left intact
[root@oci-swarm-loo1-0 ~]# curl -v --resolve registry.mydomain.com:80:<IP_ADDRESS> http://registry.mydomain.com/v2/
* Added registry.mydomain.com:80:<IP_ADDRESS> to DNS cache
* Hostname registry.mydomain.com was found in DNS cache
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to registry.mydomain.com (<IP_ADDRESS>) port 80 (#0)
> GET /v2/ HTTP/1.1
> Host: registry.mydomain.com
> User-Agent: curl/7.61.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Content-Length: 2
< Content-Type: application/json; charset=utf-8
< Date: Fri, 05 Mar 2021 19:19:21 GMT
< Docker-Distribution-Api-Version: registry/2.0
< X-Content-Type-Options: nosniff
<
* Connection #0 to host registry.mydomain.com left intact
{}[root@oci-swarm-loo1-0 ~]#

In order to Docker Registry works is necessary to enable https by uncommenting these lines:
                - traefik.http.routers.registry.entrypoints=https
                - traefik.http.routers.registry.tls=true

Marcelo.


bug: Invalid theme switch（主题切换无效）

What version of daisyUI are you using?
4.4.23
Which browsers are you seeing the problem on?
Chrome Android
Reproduction URL
https://daisyui.com/docs/themes/
Describe your issue
以 daisyUI 官网为例子，在手机浏览器中打开后更改主题无效
Taking daisyUI's official website as an example, changing the theme after opening it in the mobile browser does not work
https://github.com/saadeghi/daisyui/assets/53845479/3187b0e5-e8bf-414b-ae60-854f73010296

daisyUI 在 3.9.4 版本中工作正常
daisyUI works fine in version 3.9.4

Which version of Android Chrome are you using?

它在谷歌浏览器中没有问题，可能只是部分浏览器无法更改主题
我测试了 chrome、safari、Via 浏览器、华为浏览器，只有 Via 浏览器（5.1.1）、华为浏览器 无法更改

您使用的是哪个版本的 Android Chrome？

Which version of Android Chrome are you using?

它在谷歌浏览器中没有问题，可能只是部分浏览器无法更改主题
我测试了 chrome、safari、Via 浏览器、华为浏览器，只有 Via 浏览器（5.1.1）、华为浏览器 无法更改
It doesn't have a problem in Google Chrome, it may just be that some browsers can't change the theme
I have tested chrome, safari, Via browser and Huawei browser, only Via browser (5.1.1) and Huawei browser cannot be changed

You may want to use a modern browser that can support newer CSS features.
Or if you can't use a modern, updated browser, you can use daisyUI 3 instead of 4


Inbetween point of a line not quite accurate on low zooms.

There's a quirk when using this on low zoom levels (I guess most people use a high zoom level for this) which I've never been quite happy with, and I feel like it should get fixed properly at some point.
Mid point markers can be offset slightly from their visual center. I suspect this is because of projections and a midway point of a LatLng isn't actually quite what we need. Again, we'll probably only notice this at low zoom levels where the effect is more pronounced.
I've tried a LatLngBounds.center, but actually I think this still has the same issue. What I suspect we need is actually to get the projection in pixels, so we have the screen space, then take the mid point, then unproject back into a LatLng.
If anyone fancies a challenge, it may be interesting to have a stab. This may need a bit more of a fundamental rejig, as I "think" it may need access to flutter_maps internals for the crs projection there, and original it was written to not need that.

I just came across the package geodesy that might have this functionality:
LatLng midpoint = geodesy.midPointBetweenTwoGeoPoints(l1, l2);

It i inactive since a long time but it has a MIT license so the functionality could be copied over.

Thanks, I don't think the problem is the mid point of the latlng, but the fact we want the screen position of the midpoint of the line in screen coordinates (I may be wrong), so I think what we probably want to do is get the screen coords of both points, then calculate a simple halfway of those, and convert that back to latlng. There may be a simpler way, but I "think" that makes sense (I think flutter_map can do latlngtoscreenpos)

I had a look on this, and made an attempt using turf midpoint, but it visually got worse than the current lat/lng midpoint formula. I think @ibrierley is right that it a change to screen coordinate projection is necessary here.
I looked around a bit and found some answers:

https://github.com/fleaflet/flutter_map/issues/607
https://github.com/fleaflet/flutter_map/issues/334

It looks like we need the current zoom level to use CustomPoint<num> screenPosition = Epsg3857().latLngToPoint(latlng, mapController.zoom); So it might be that the edit() method would need to take current zoom level as parameter.

Hey guys, I also played around bit and found a working solution using the geobase, which in my opinion flies a bit under the radar, I used thew midpoint on the rhumbline (loxodrome) which from my testing seems to work correctly.
here are is what I tested:
import 'package:geobase/geobase.dart';
// ....

List<DragMarker> edit() {
    List<DragMarker> dragMarkers = [];

    for (var c = 0; c < points.length; c++) {
      final indexClosure = c;
      dragMarkers.add(DragMarker(
        point: points[c],
        size: pointIconSize,
        builder: (_, __, ___) => pointIcon,
        onDragStart: (_, __) => _markerToUpdate = indexClosure,
        onDragUpdate: updateMarker,
        onLongPress: (ll) => remove(indexClosure),
      ));
    }

    for (var c = 0; c < points.length - 1; c++) {
      final polyPoint = points[c];
      final polyPoint2 = points[c + 1];

      if (intermediateIcon != null) {
        final indexClosure = c;
        // point on Rhumbline
        final mid =
            Geographic.create(x: polyPoint.longitude, y: polyPoint.latitude)
                .rhumb
                .midPointTo(Geographic.create(
                    x: polyPoint2.longitude, y: polyPoint2.latitude));
        final intermediatePoint = LatLng(mid.lat, mid.lon);

        dragMarkers.add(DragMarker(
          point: intermediatePoint,
          size: intermediateIconSize,
          builder: (_, __, ___) => intermediateIcon!,
          onDragStart: (details, point) {
            points.insert(indexClosure + 1, intermediatePoint);
            _markerToUpdate = indexClosure + 1;
          },
          onDragUpdate: updateMarker,
        ));
      }
    }

maybe you can test it and confirm it, I can create a MR if you like the solution.

Had a quick test of this, it seems to break on lower zoom levels and you end up with some drag points that are way off, example screen shot
 note the point bottom left.
Not quite sure what's happening there...sometimes I drag a point, and it just seems to "pop" out to a new location.
I'd probably prefer it tbh without a package, but I'm not sure of a sensible way to achieve that anyway unless anyone has some ideas, so this may be the way to go.


Update BOOK_3_ASSESSMENT.md

Changed instructions to have students serve to 8080 in order to get tests to work.

👍


while reading hce tag diapy toast no nfc reader app is available

i am using nfc manager library to read

No answer, closing.


Recording Your Own Demonstrations : Not Working

Hi ! I'm a RL beginner and I tried to record a demonstration on the click-test.html
When I write the path : file:///path/to/miniwob-plusplus/html/miniwob/click-test.html, the page is rendered correctly.
Then as explained in the instructions, I created a directory named 'out' and launched the record.py script.
My problem is that when I add '?record=true' to the path of the website, I get 'ERR_FILE_NOT_FOUND' in my browser (Google Chrome).
Thank you in advance for your answer.

Hi! Somehow Chrome converted the ? in ?record=true into an escape sequence. Try pasting the whole URL in Chrome's location bar instead:
file:///path/to/miniwob-plusplus/html/miniwob/click-test.html?record=true

Hi! Thank you for your quick response. The problem was as you said the conversion of '?' into an escape sequence. I tried to copy past the whole URL in Chrome's location bar but it still didn't work.
I then tried to run a node http-server and it worked fine (the '?' was not escaped anymore).
PS : This is not directly related with this issue but I've seen there was a plateform for WoB on openAI but all the links I find are dead links. Is there still a WoB benchmark on openAI ?
Thank you very much for your time.

OpenAI seems to have deprecated WoB and other environments in favor of the new retro environments


feat: Initial release

This is the first release (v<IP_ADDRESS>) of the ZeroTier orb.

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/orbiously/zerotier?version=dev:147fea24a920d21fadbc8797eec53d54210d2292

Your development orb has been published. It will expire in 30 days.
You can preview what this will look like on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/orbiously/zerotier?version=dev:147fea24a920d21fadbc8797eec53d54210d2292

Your orb has been published to the CircleCI Orb Registry.
You can view your published orb on the CircleCI Orb Registry at the following link:
https://circleci.com/developer/orbs/orb/orbiously/zerotier?version=1.0.0