Cool - Was just looking to build an image for my 16m device

Was just looking to build an image for my 16m device and happened across this :)
Wondered if there was a brief how to use readme at all :)
Cheers

Does example.nix work for you?
I agree that a README file must be written.

@astro I closed as I managed to initiate a build, but it stopped due to a 'too many open files' issue, the same as I have had with Robotnix.
I have been unable to resolve it, so parked this until I am able to resolve that error (changing pam limits does not work for me)
Hopefully once I get that resolved I will be back to try this again.
Cheers.

Well, this is the issue about a missing README.
Your other issue seems to be an issue with your system configuration if usage of other flakes is affected as well.

I will leave you to close it once the readme is created.


Updating TV-casting-Android app read me and tv-app linux

Updating TV-casting-Android read me with environment variable location examples and TV-casting Linux read me with ux enabling command for successful commissioning to the controller

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@chrisdecenzo Could I please get another approval on my PR?


Add universal snapshot APK

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#325  👈 (View in Graphite)
#324
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Update Issues Template

Improves the formatting & icon usage in the issues.md file for better ease of use. See below for before-and-after examples:
(Generated via lams -i __tests__/dummy-projects/05-manifest-name/*)
No issues found:

Before

After

Issues found:

Before

After

I like the checkmarks when no errors, and the more varied header font sizes & new emojies. I find myself wanting the collapsible sections for at least the exemptions though. Are you not a fan of these?

Whoops--closed by mistake! Fair point about the collapsibility: I will add back.

Looks like the Looker UI doesn't support the font-size style option:

But here's what it looks like with rendered as Github-flavored Markdown:

Still, looks better! Once we sort out the shrinkwrap issue, I'll publish this and the other changes to NPM as well


Move std.typetuple to std.meta.list

https://issues.dlang.org/show_bug.cgi?id=4113
Part of DIP 54.
My plan of attack is to create std.meta.list as described in the DIP, then work on updating dlang.org and remaining Phobos modules not to use tuple for template argument lists. I don't intend to work on std.meta.pack as that seems additional functionality best done by someone else.
BTW I think the DIP also needs to mention what happens to .tupleof - copying @Dicebot.
For the documented new symbol name for TypeTuple, TemplateArgumentList, I think the 'Template' word is redundant because there's always a '!' after the symbol, e.g. TemplateArgumentList!int, so the reader knows it's a template. I suggest we use just ArgumentList or ArgList. It's still descriptive, and we need a short name (e.g. for easy use in unittests) otherwise everyone will just alias it differently. But I will change this if necessary.

Rename std.typetuple to std.meta.list.
Deprecate std.typetuple.
Rename TypeTuple -> List, recommend import meta = std.meta.list (as discussed below).
Update std.meta.list docs to mention template argument list or just list instead of tuple.
Update makefiles.
Fix remaining uses of std.typetuple, TypeTuple in Phobos.
Rename some symbols for consistency (see discussion below & commits).

So... what do y'all think?

Will there be a deprecation stage? Keep backward-compatible aliases for a while?

@AndrejMitrovic We should introduce no breakage - i.e. existing working code will be still working even though marginalized in the documentation.
I'd like to encourage us all to consider for a moment how little progress this is marking - even if executed to perfection - and with what effort.
Let's merge this if you really want, just make sure we improve at least the names. But by golly please stop shuffling the deck.

I'd like to encourage us all to consider for a moment how little progress this is marking - even if executed to perfection - and with what effort.

I'll refrain from waxing on this point ad nauseum, but this rename is very important. It feels like every day there is a newbie in the IRC channel who doesn't understand the difference between std.typecons.Tuple and in-built tuples. It's one of the biggest confusions newbies face, right up there alongside slices/dynamic arrays.

One thing that makes confusion worse is the docs for std.typetuple only mention types throughout.
FWIW I don't mind closing this and just updating std.typetuple docs if it's seen as too much churn.

@Dicebot please move forward with this. Your decision. I'm okay with merging (after rebase and failures are fixed). I just want this in the rearview mirror. Thanks.

So I had a look at the code. I lack the time to review it with 100% scrutinity, but I'm concerned about import meta = ... for 2 reasons:

This code will trigger 314 all over the place. There are some place it cannot be scoped (e.g. using meta.all for a template constraint in std.algorithm). It means pretty much everything in Phobos will get meta.list declared. There has been some work recently to reduce symbols leaking and dependencies, this is a (possibly huge) step back in that regard. (I started marking 314, because I would have flagged every file change).
Beside implementation's shortcomings, I'm worried about @klickverbot 's idiom. As a developper that follows D's development, I like it and find it neat, but it's another learning barrier to use this module. The state of static / renamed import doesn't encourage us to use it (symbol leaking + little use in examples / documentatiotn). As we have no way to enforce good usage of the module / display nice error message, at least some dlang.org pulls should follow.

314-related issues can ofc be worked around by defining:
private struct Imp {
  import meta = std.meta.list;
}

And using Imp.meta.list.
Note: it doesn't seem we're going to release 2.067 any time soon. So plenty of time for adjustments :)

I, too, find the introduction of import meta = std.meta.something; bizarre.

As a putative user I want to write import std.meta; and then use things like MetaList and MetaPack or whatevs. std.meta may as well be a package that has subpackages but that's tactical detail.
If I'm in the mood for shorter names I can always use aliases etc. If I want to optimize for files included I could import things like std.meta.list or whatnot. But keep in mind that parsing uninstantiated templates can be considered zero cost.

currently you simply copy all that was inside std.typetuple to std.meta.list.

I think using the same codebase and avoiding duplication would be criteria for acceptance.

We should go with 2.

OK, so we would have std.meta.MetaList. I think Map should still be used instead of staticMap, but not the other renames. Sounds good, not sure when I have time but I could probably work on this.

std.meta.list.MetaList

So what should std.meta package do - publicly import std.meta.list?

Why not others? As long as it is Algorithm vs algorithm it should be OK imho.

I mean anySatisfy -> any, templateAnd -> and. If we're not proposing the aliasing import any more, any will conflict with std.algorithm.any.

ping

@klickverbot Yeah, we had that discussion when I was questionning the style as well.
I don't think we can get rid of the prefix just yet, but at least coherence would be find.
For what it's worth, I prefer ctAny over metaAny. The former is very short, and is a hint about how to use the function (you know it's CT work), where meta is rather vague (a concept which is an abstraction from another concept...).

OK, made a start on this. I'm using meta as a prefix, consistent with MetaList and the module name. When the renames are decided/approved, I can then port Phobos to use std.meta.list instead of std.typetuple.
I looked at #690 regarding templateFoo naming - I agree with @klickverbot that they should really be upper-cased (as the result is a template which can itself resolve to something that isn't a value). So perhaps I could change them to TemplateFoo. That might be clearer than MetaFoo, as the former reinforces that the result is a template. (Plain Foo seemed unacceptable originally).

@Dicebot I agree e.g. for Map and existing Filter, these are fine. (My last comment wasn't that clear, I got a little confused). For e.g. templateAnd, because it resolves to a template I think the template prefix is good to have. For e.g. anySatisfy or staticIndexOf I've changed them to have meta prefixes.
BTW, I chose meta as the prefix rather than ct because these templates like anySatisfy instantiate a passed-in template, they don't just run a calculation at compile time. So it seemed more accurate, (as well as being consistent with the module/package name).
Also, I wondered about just having std.meta for now, then the package split can be done later - perhaps it would be more flexible for the future. But doing as you suggested is also fine with me.

OK. I think the auto-tester failures are just due to std.typetuple being deprecated and still in use.

Yes. There were no conflicts when I wrote that. Makefile changes will probably keep causing conflicts every few days.

it still moves all symbols to std.meta.list. What I have proposed instead is to move it to std.meta (via package.d) and only to put definition of MetaList in std.meta.list for now

OK, I hadn't realized. Thanks for the info about deprecated unittests.

My uncollected thoughts:

MetaList is plenty good in my eyes; the only really important thing is that it differentiates itself from a tuple.

So we have:

capitalized with no prefix for templates that evaluate to a type or list of types
capitalized with no prefix for templates that can evaluate to both lists of types and lists of values
meta prefix for templates that evaluate to values

except when it doesn't collide with anything or the template isn't from std.meta; then it's not prefixed...

template prefix for templates that evaluate to templates

Are users supposed to remember these rules? We're fixing the problem of conflation with tuples which is the first priority, but I was under the impression that fixing this problem of prefixes and conventions was also on the table, as it too requires "breakage" (users are free to use the old module).
The meta rule seems particularly arcane as the modus operandi for the rest of Phobos is that the module system should be used to avoid collisions, which is why we have std.file.copy & std.algorithm.copy, std.file.write & std.stdio.write, std.ascii.toLower & std.uni.toLower, etc etc.

This module adds a bunch of new functionality. The ones I can see: metaAll, metaAny, Alias, isSame. I guess they don't affect the root problem anyway because even without them we'd have the meta prefix due to renamed staticIndexOf => metaIndexOf. However, this PR claims to focus on the renaming part of DIP54, so these were a bit of a curveball for me when I browsed the patch...

I've dropped any pretense I had of established naming conventions for this overhaul; what's important is that we're consistent from here on out. I'm not going to oppose merging this PR even in its current state, but I do wish we'd actually solve the naming problems instead of just choosing new but equally arcane rules. I'll give it some thought, although maybe the last thing we need is yet another suggestion for how to structure these symbols...

Sorry, I haven't been working on this, I'm not that motivated about this any more.

@Dicebot sure, go ahead.


Implement ML Info Api

Implemented referencing the YAML tests and server code.
Tests are asserted against the integration test configured cluster.
Requires porting to master.

@codebrain mind retargetting this against 6.6 ?

Ported to master


Crash with palette and alpha

With a subtitle file that had worked before I am now getting this error:
$ macSubtitleOCR crash.sub .
Error: Failed to read image palette and alpha, exiting...

crash.tgz

I'll look into it. I might have broken something when I made adjustments for timestamps.

Long shot, but do you know approximately when it was working?

Breaks with 35a2914eaf86362fe4df6eaf011b05907e3f40c0

Thanks. Works great now.


Multi language portfolio error

Hi man, thanks a lot for this super portfolio!
So basically what i wanted to do was to enable the possibility to switch the site from english to french, so I added two buttons and i duplicated the html and then translated it and then link the button to the translated html, so i can switch between the two.
For a long time it didn't work but then i understood there was an issu with webpack, who only knew about template.html. So i created new webpack html plugins for template_french.html and it works locally.
Now the problem is that when i deploy the site, as you said, on netlify, when i click on the FR button i get an error: Page Not Found
Looks like you've followed a broken link or entered a URL that doesn't exist on this site.
I kind of think it has something to do with the dist folder not knowing about my translated page but i have no idea how to fix it. Can you help me??? Thanks a lot!

Hello @Erwan-ui
Did you be able to solve it?
If not, I can start thinking about adding this as a feature.
Remember that this version is super simple, so adding different translation may be kinda odd (creating another HTML file).


update infectionswithfeedback process

This PR modifies the following functions/files such that these now work when I0 and Rt are 2D arrays as is the case for site-level hierarchical model.

convolve.py : new_convolve_scanner and new_double_convolve_scanner
arrayutils.py : added a function pad_edges_to_match that pads multidimensional arrays using speficied edge values
Infections and InfectionWithFeedback classes in latent module
adds tests of these functions using 2D arrays where appropriate

@sbidari Can you also look into addressing https://github.com/CDCgov/PyRenew/issues/394 in this PR?

@sbidari Can you also look into addressing #394 and #189 in this PR?

Added more tests for the convolve factory functions in https://github.com/CDCgov/PyRenew/pull/440/commits/d933df457b666addc862dee4f301ac11252f24e8

@sbidari Can we also have tests that try to use numpyro.plate and make sure things work as expected?

Thanks @dylanhmorris
I think multidimensional gen_int is out of scope for this PR (I will make a note in the PR description) and this is ready for final review.

@damonbayer can you confirm your concerns were resolved?


Ensime does not work with Atom 1.12.7

After updating to atom 1.12.7 ensime plugin does not start. I've followed instructions from https://ensime.github.io/editors/atom/troubleshooting/ with no success. Running Ensime: Start does not provide any communicate, neither success nor failure.

Please provide more info. Check dev logs. It probably was a 404 on coursier. Please re-open if you still have problems.


[BUG] Rich suppresses next output, randomly

Describe the bug
Sometimes output will be ignore when printing using rich.console print. It happens very randomly, as seen when I restart my program without changes, multiple times.
Now, the bug affects the newline I need right before my input() prompt.
Edit: I forgot earlier, but this can happen to entire outputs. For instance, when using (unmodified) RichHandler for logging, the same thing I'm describing will suppress an entire log statement.
This makes debugging a huge pain, because I have to restart the program multiple times to make sure that a change I made worked, since I'm constantly worrying if the issue is Rich suppressing something.
Sometimes I'll restart 6 times, and an output only renders 2 out of those times, even though nothing has changed.
To Reproduce
utils.py:

def query(): return input("\n>>> ")

main.py:

console.print("Hi, what's up?")
utils.query()

Run 1:
Hi, what's up?
>>>

Run 2:
Hi, what's up?

>>>

Platform
Windows 10, CMDer (Also happens in win CMD)
Diagnose
┌──────────────── <class 'rich.console.Console'> ────────────────┐
│ A high level console interface.                                │
│                                                                │
│ ┌────────────────────────────────────────────────────────────┐ │
│ │ <console width=66 ColorSystem.WINDOWS>                     │ │
│ └────────────────────────────────────────────────────────────┘ │
│                                                                │
│     color_system = 'windows'                                   │
│         encoding = 'utf-8'                                     │
│             file = <colorama.ansitowin32.StreamWrapper object  │
│                    at 0x0000024C969A6400>                      │
│           height = 60                                          │
│    is_alt_screen = False                                       │
│ is_dumb_terminal = False                                       │
│   is_interactive = True                                        │
│       is_jupyter = False                                       │
│      is_terminal = True                                        │
│   legacy_windows = True                                        │
│         no_color = False                                       │
│          options = ConsoleOptions(                             │
│                        size=ConsoleDimensions(width=66,        │
│                    height=60),                                 │
│                        legacy_windows=True,                    │
│                        min_width=1,                            │
│                        max_width=66,                           │
│                        is_terminal=True,                       │
│                        encoding='utf-8',                       │
│                        max_height=60,                          │
│                        justify=None,                           │
│                        overflow=None,                          │
│                        no_wrap=False,                          │
│                        highlight=None,                         │
│                        markup=None,                            │
│                        height=None                             │
│                    )                                           │
│            quiet = False                                       │
│           record = False                                       │
│         safe_box = True                                        │
│             size = ConsoleDimensions(width=66, height=60)      │
│        soft_wrap = False                                       │
│           stderr = False                                       │
│            style = None                                        │
│         tab_size = 8                                           │
│            width = 66                                          │
└────────────────────────────────────────────────────────────────┘

WindowsConsoleFeatures(vt=False, truecolor=False)

rich @ file:///D:/bld/rich_1631970325879/work

It's weird that it shows rich on D: drive? I don't have anything connected as D:

There is clearly more code running than given above so I would suspect that the issues isn't with Rich.
If you can give me a working example that reproduces the problem, I'll take another look.

There is clearly more code running than given above so I would suspect that the issues isn't with Rich.

Rich was my first guess because it renders everything I put on the screen. But now I'm remembering (I just came back to this project) that I get errors similar to this: I am running a regex search, but getting a TypeError complaining about the input still being an integer, even though the function is only taking a 1, and using str(input) before the regex call.
 Half the time, it works perfectly, but the other half will throw the error. Just like the print statements randomly not printing. I don't understand if it's a memory issue, or what. Like, can my program just "lose" a variable because of memory overflow/shenanigan's from the last run? Can a program jumble variables between seemingly identical back to back runs?
Anyways, it's a lot of code, and this happens very randomly, so I'll start with turning Rich prints into regular prints. If it stops happening after that, I'll report that here, and probably switch to another styling package, because this is over my head and I have no idea how to debug an issue like this.
Sorry if I'm over explaining things!

Thank you for your time and this awesome package.
Apparently the problem was happening because of packages and imports. I have to rebuild & reinstall my package before I make changes to bugfix. That still doesn't explain why it's switching between installed code, and local repo code though smh.
Either way, this probably explains the missing newline too. Thanks again


First attempt at Haddock docs.

Addresses some of #4.

Looks good! There's a merge conflict with the master branch, would you be willing to fix that?

Done. BTW, it's possible there's a bug in the stripArgs function; it leaves a leading space.  Not sure if that's intentional.

Thanks! :smile: Once CI builds I'll merge.
The leading space is currently intentional -- the example directory contains the "integration test" for the library at the moment. I want stronger types and better rendering functions, but this will do for now.


Updated GSoC-interest.md with the correct links

Signed-off-by: Ramya Kappagantu<EMAIL_ADDRESS>

Hi @RamyaKappagantu, good catch and thanks for your contribution.
Just a small correction, did you mean Updated GSoC-Ideas.md with the correct links in the commit message as well the PR title? Because, I see the changes are in a different file than you mentioned. :grin:
It is fine, but it would be nice if you can update them. Also, it would be a nice git practice too. You can simply amend the commit and force push your branch. This should correct it.
Please let us know if you need any help.

Hi @vchrombie,
Thanks a lot for pointing it out. I mistook the file name while adding the commit message. I've updated the PR with the correct commit message. Could you please look into it and let me know if this PR looks good?


feat(volume/resize): add interfaces and plumbing code for resize

bors try

bors try

bors merge

bors cancel

bors merge

Build failed:

continuous-integration/jenkins/branch

Snapshot and events related CI test failure. Unrelated to this change, retrying once again.
bors merge

bors cancel

bors merge


"Visibility changed" event always sends error strings to log

Godot version:
43b7ebf
OS/device including version:
no matter
Issue description:
If you implement visibility changed event function it will spam these error strings every time you load scene in the editor.

Steps to reproduce:
Create a scene with simple Node with script and attach visibility changed event to it, every time scene is loaded or switched it will spam error string to log, which is not good !
Minimal reproduction project:
VisibilityChangedBug.zip

Might be related to #18172? I already checked that it was not caused by #18172, but it may be linked to this first_draw stuff.
The issue is likely that the notification is propagated in the editor when the Node2D enters the SceneTree, but since the editor doesn't run non-tool scripts, it can't find the method bound to it. Such notifications should ideally not be propagated to the editor, but not sure how to change it and what would be the impact.

https://github.com/godotengine/godot/blob/43b7ebf0a0478d7b04620b03920fd82041afb588/scene/2d/canvas_item.cpp#L511
If you comment this line or mark it editor hint, the problem will dissappear, but editor will not work correctly always

Could not reproduce in master 2c79087

I can still reproduce it on aaef640b8 myself. Note that it happens when the scene is opened in the editor, not when running the game.
It's the same issue as #13070 though and should get fixed by #22297.


#649: Raise ValueError if single entity is passed to 'datastore.put'.

Fixes #649.

Coverage remained the same at 100.0% when pulling 2fa5900970fc1ab053d3eb9f009c774fcdd004db on tseaver:649-raise-on-single-entity-passed-to-datastore-put into 1f7dc434af4dc58d3aa2366dc1326103cb6f487d on GoogleCloudPlatform:master.

LGTM


fixed_bouncing_chart

Fixed bouncing charts in "Statistics" when loading a different time interval

BaseWidget is a wrapper component for all types of widgets (graphs, tables, forms, etc.)
And the content that will be contained inside the BaseWidget may have a height less than that specified in
$graph-price-amount-min-height: 475px;
To fix the statistics chart flickering, please take a look to ChartSkeleton component -
inside setted the minimum height of the chart and its skeleton, and these values may need to be updated to fix this issue

@Kron1749 BaseWidget is a wrapper component for all types of widgets (graphs, tables, forms, etc.) And the content that will be contained inside the BaseWidget may have a height less than that specified in $graph-price-amount-min-height: 475px;
To fix the statistics chart flickering, please take a look to ChartSkeleton component - inside setted the minimum height of the chart and its skeleton, and these values may need to be updated to fix this issue

Could you take a look please again? I set the max height for .charts-skeleton in ChartSkeleton component instead of min-height

@Kron1749
I suggest trying to set the minimum (not max) height for the skeleton. We have a widget system in development where you can stretch the widget to large values than specified:
https://exchange-1345.dev.sora2.tachi.soramitsu.co.jp/#/swap


sdaudioswitch.exe system error

I keep getting an error message. The code execution cannot proceed because VCRUNTIME140_1.DLL
was not found. Reinstalling the program may fix this problem.
I have used audio switcher for months and never had this issue before.

[<IP_ADDRESS> ] I have listed the Audio Switcher version
[windows 10 latest ] I have listed my operating system, and version
[I use a headset or speakers, a yeti mic or headset mic. Everything works but  I started getting a weird pop up ] Include any details about the audio devices on the system
[ I dont think I am using either for sound] If you are using Nvidia or AMD for sound, include the driver versions
[ not a switching issue] This is not an issue about setting more than one device as default from a hotkey, quick switch or other relating switching activity.

And do remember this application is developed and distributed FOR FREE, you should have no expectation that an issue will be fixed in a reasonable time-frame.

That seems a little weird.
The VCRUNTIME stuff has to do with other runtimes - not actually used by Audio Swticher.
Where are you downloading it from? Here on GitHub?
Maybe try installing the .net 4 runtime.
https://dotnet.microsoft.com/download/dotnet-framework/net40

Thank you for the quick response. I tried downloading the .net 4 runtime but my system already has that version or newer. I don't think I got audio switcher from GitHub, but in the support section, it listed GitHub as a source for help. I keep getting the error message sdaudioswitch.exe so I figured it was related to my app. I now realize that I cant switch audio devices with my Streamdeck xl. With a button push, I could switch between headset or speakers but since this morning I lost that ability. And if I leave the error message alone it doesn't keep happening, but the second I close the error it keeps coming back.

I believe I have fixed the issue now, redid all my hotkeys with audio switcher and stream deck and it seems to be fine now. Thank you again for your reply

No idea what sdaudioswitch.exe is - it's not this audio switcher for sure.
You can ensure you are running the actual supported version by grabbing the latest release from this page: https://github.com/xenolightning/AudioSwitcher_v1/releases
I know people have been bundling malware and redistributing audio switcher - so it may be related.


confusion regarding nanopolish eventalign models

I came accross this Porecamp tutorial or this part of the Zibra pipeline, the code goes straight into the eventalign step, w/o a prior nanopolish index. However, it specifies a model with --models-fofn.
I think I lack an understanding of how to generally go about this. The documentation says

nanopolish index
nanopolish variants

What is eventalign used for, practically speaking? And what is the role of the models one can specify and where can they be found?
Sorry if this is in the documentation, I really looked but did not find an answer.

Hi @phiweger,
That porecamp tutorial is now quite out of date. The eventalign step can be skipped and you don't need to provide the -e Ebola2D.eventalign.bam file.
Jared

Thank you!


Use top-down traversal in BundleMemoryPools

A recent (as of 3/20/21) change to mlir changed the traversal order from bottom up to top down. This breaks the algorithms in bundle memory pools. We get invalid outputs (see use of %8) such as:
  %0 = "memref.alloc"() {operand_segment_sizes = dense<0> : vector<2xi32>} : () -> memref<10x20xf32>
  %1 = "krnl.getref"(%8, %c0_i64) : (memref<3200xi8>, i64) -> memref<10x20xf32>
  %2 = "krnl.getref"(%8, %c800_i64) : (memref<3200xi8>, i64) -> memref<10x10xf32>
  %3 = "memref.alloc"() {operand_segment_sizes = dense<0> : vector<2xi32>} : () -> memref<400xi8>
  %4 = "krnl.getref"(%8, %c1200_i64) : (memref<3200xi8>, i64) -> memref<10x20xf32>
  %5 = "memref.alloc"() {operand_segment_sizes = dense<0> : vector<2xi32>} : () -> memref<800xi8>
  %6 = "krnl.getref"(%8, %c2000_i64) : (memref<3200xi8>, i64) -> memref<10x20xf32>
  %7 = "memref.alloc"() {operand_segment_sizes = dense<0> : vector<2xi32>} : () -> memref<800xi8>
  %8 = "memref.alloc"() {operand_segment_sizes = dense<0> : vector<2xi32>} : () -> memref<3200xi8>
  %9 = "krnl.getref"(%8, %c2800_i64) : (memref<3200xi8>, i64) -> memref<10x10xf32>
  %10 = "memref.alloc"() {operand_segment_sizes = dense<0> : vector<2xi32>} : () -> memref<400xi8>

The breaking change is: https://reviews.llvm.org/D99006
There is a temporary workaround checked in (but under discussion): https://reviews.llvm.org/D99059
At the end of the day, the change in traversal is meant to be permanent which means that onnx-mlir has to update the algorithms. I'm opening this as a heads up so that it's no surprise.

To make this even more interesting, the change was reverted: https://reviews.llvm.org/D99329 for the moment to give downstream components time to prepare.
See discussion here: https://llvm.discourse.group/t/speeding-up-canonicalize/3015/25

@doru1004 any updates on this one?


java.net.UnknownHostException occurs during quick-start-offline.sh

The reason is that PostQueryCommand._brokerHost is only initialized in execute() but not in run(). Please see below trace.
Offline quickstart complete
Total number of documents in the table
Query : select count(*) from baseballStats limit 0
2015/06/26 16:06:20.135 ERROR [org.apache.zookeeper.server.NIOServerCnxn] [] Thread Thread[main,5,main] died
java.net.UnknownHostException: null
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:579)
        at java.net.Socket.connect(Socket.java:528)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
        at sun.net.www.http.HttpClient.New(HttpClient.java:308)
        at sun.net.www.http.HttpClient.New(HttpClient.java:326)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:996)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:850)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1091)
        at com.linkedin.pinot.tools.admin.command.PostQueryCommand.run(PostQueryCommand.java:92)
        at com.linkedin.pinot.tools.admin.command.QuickstartRunner.runQuery(QuickstartRunner.java:148)
        at com.linkedin.pinot.tools.Quickstart.execute(Quickstart.java:174)
        at com.linkedin.pinot.tools.Quickstart.main(Quickstart.java:218)

Thanks for pointing this out, this will be fixed asap.

The issue has been resolved. Please try and let us know if you still see an issue.


More clgs

abstract
This goes towards #113.
fixes
Please provide here the issues this pull requests fixes. You may want to make
use of Github's feature to automatically close issues via pull requests. See
https://github.com/blog/1506-closing-issues-via-pull-requests for more
information.
checklist

[x] Make sure you read and understood the CONTRIBUTING.md.
[x] Make sure you applied sufficient labels, milestone and assignee.
[x] Make sure all TODOs are addressed.
[x] Make sure there is sufficient documentation.
[x] Make sure there are sufficient tests.
[ ] Make sure all commits are squashed before merging.
[ ] Make sure to delete the feature branch after merging.

Current coverage is 95.21%

Merging #120 into master will decrease coverage by -0.16% as of ba6d2ae

Powered by Codecov. Updated on successful CI builds.

LGTM


Support for WriteFilePlugin or similar?

Operating System: Debian 9.4
Node Version: 8.9.4
NPM Version: 5.6.0
webpack Version: 4.2.0
webpack-serve Version: 0.2.0

This issue is for a:

[ ] bug
[x] feature request
[ ] modification request

Hi All,
I did not find this in Docs but is there way to achieve the same behaviour as in webpack-dev-server +  https://github.com/gajus/write-file-webpack-plugin ?
Code
CLI Command
webpack-serve webpack.config.js

webpack.config.js
https://gist.github.com/grillorafael/cb81aaf15073420dbf995d43e8834cfe
In the config you have the same settings I had with webpack-dev-server that was working just fine for me. So it was generating the files under ../public/v2 and then I was serving through a Play Framework website.

You chose to ignore the warning in the issue template and removed a bunch of useful sections! Sad panda 🐼  If you edit your issue to include the sections you removed, we'll reopen this.

Issue updated

:+1:

@grillorafael in the mean time, I took another look at the plugin source code, and you should be able to add that path in the content option to access the files it outputs to disk.

@grillorafael https://github.com/webpack/webpack-dev-middleware/pull/287 is in progress and will allow for this directly in webpack-dev-middleware (and the dev option in webpack-serve) when that is merged.


fix: parse Instant correctly from epoch offset even when exponential notation is used

Issue #
aws-sdk-kotlin#665
Description of changes
This change adds support for parsing epoch timestamps into Instants when exponential notation is used (e.g., 1.234567890E9). The parser will first normalize the exponentiation into its decimal expansion before continuing with the existing parsing logic.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Changelog?


HDDS-3798. Display more accurate timestamp in recon Web

What changes were proposed in this pull request?
Display more accurate timestamp in recon Web. Currently the web only show timestamp in minutes.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3960
How was this patch tested?
Test with pnpm run dev
Here is the result with this patch.

Thanks @vivekratnavel for review. I have changed the timestamp format.

Thanks @runitao for the improvement and @vivekratnavel for the review.


discovered another issue

the count is entirely wrong, it counts not words, but like every 2-3 letters and also spaces? is that because it's adapted to chinese (i think it's chinese, sorry if i'm wrong)?

I apologize, what is currently being counted is indeed only the number of characters, not the number of words.

ok, got it! is that intentional and i misunderstood it, or will you fix it to count words, or maybe add an option for both?

If there is time later, I will add an option to set whether to count characters or words.

I would also love to see the WORDS implemented 💗

Added word count functionality, you can give it a try.
@incantatem1  @Damaskox

doesn't seem to work :(

Thank you for the feedback. The issue has been fixed; you can try again.
@incantatem1

@yefengr It seems to work (I had one minute time to try - testing later more)!
Thanks a many!

I just noticed that it hasn't counted words for four days 👀


IndexedDB + caching

Indexed DB function

Save from EmbeddingIndex to IndexedDB
Create and Delete DBs & objects stores
search functionality

Interface for testing IndexedDB

generate embddings
search
delete
view

please remember squash


add:pyocd depends libusb-1.0.dll, cmsis_pack_manager depends cmsis_pa…

…ck_manager.cmsis_pack_manager
Thank your for contributing to Nuitka!
!! Please check that you select the develop branch (details see below link) !!
Before submitting a PR, please review the guidelines:
Contributing Guidelines
What does this PR do?
fix:Pyoc hidden dependencies include libusb-1.0.dll etc
Why was it initiated? Any relevant Issues?
Pyoc  dependencies loss
PR Checklist

[x] Correct base branch selected? Should be develop branch.
[ ] Enabled commit hook or executed ./bin/autoformat-nuitka-source.
[x] All tests still pass. Check the Developer Manual about Running the Tests. There are GitHub
Actions tests that cover the most important things however, and you are welcome to rely on those,
but they might not cover enough.
[x] Ideally new features or fixed regressions ought to be covered via new tests.
[ ] Ideally new or changed features have documentation updates.

It seems some of the changes are not needed or wrong, please clarify.

Revised

It seems some of the changes are not needed or wrong, please clarify.

Revised

@kayhayen

Can you rebase like described here:
https://nuitka.net/doc/developer-manual.html#nuitka-git-github-workflow
I needed to rebase develop for important regressions, and this kind of broke your diff, and it also seems to be not against a recent version anyway?

Closing for lack of feedback.


"Bad gateway" when run behind a reverse proxy

I know you recommended don't use a proxy, but I needed and I'm getting 502 when I go to my offen subdomain.
I setted OFFEN_SERVER_REVERSEPROXY=true but still failing.
Do I miss any option?

My bad.

Good to know you got it working.
Just for the record and in case someone else finds this issue: setting OFFEN_SERVER_REVERSEPROXY is not a hard requirement for running Offen behind a reverse proxy, it just disables some features that would not make too much sense when run behind a proxy (e.g. access logs). Offen can always run behind a reverse proxy, no matter the configuration.


Error when restoring a markdown preview for a file that has been deleted

Issue Type: Bug
repo

Create a file x.md.
Open markdown preview for the file
Now close  the x.md editor and rename the file to y.md (without opening it again in the editor)
Reload window and go to the restored markdown preview

Bug
Non-specific error shown in the editor
VS Code version: Code - Insiders 1.33.0-insider (0ac111466ec925fd5ca180ab9893f51531e419b2, 2019-04-01T15:47:22.304Z)
OS version: Darwin x64 18.2.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
4, 3, 3

Memory (System)
16.00GB (0.38GB free)

Process Argv
-psn_0_15584988

Screen Reader
no

VM
22%

@mjbvz , Can I take a look at this ?
Any code pointers to start will be helpful :)

Sure:

Here's where we start restoring the markdown preview: https://github.com/microsoft/vscode/blob/9fb1a067b683a51e568126c83787a49ceaac04f6/extensions/markdown-language-features/src/features/preview.ts#L80

Here's where we try loading the text document for a preview: https://github.com/microsoft/vscode/blob/9fb1a067b683a51e568126c83787a49ceaac04f6/extensions/markdown-language-features/src/features/preview.ts#L384

You probably want to add a try/catch around around when the preview fails to open. If the open fails, we should update the preview to show some basic html that explains what went wrong and what document failed to load
Here's another related case we should handle for this bug:

Open markdown file
Open preview
Delete markdown file
Go back to preview

We should probably show an error message for this case too

hey @mjbvz ! im new here . I went through the file mentioned above . Could you help with a good example of error handling in the repo ?
Thank you

Just wrap the call to openTextDocument in a try/catch

Hey @prithvihv  , Sorry there was already a fix ready for this :)
You can the follow the PR for getting more info, in case you wanted to learn about the changes :)


Updated title

Can you make the PR title slightly more descriptive to reflect the specific changes you made?

The commit message has been edited to be more descriptive


Notifications seem broken

There seems to be a problem with notifications since ~28.7.

Confirmed. Notification worker doesn't work in production right now. Had to create the notifications locally via Cloud SQL Proxy... Probably need to prioritize https://github.com/serlo/athene2/pull/853 higher, so that Notifications aren't depended on the worker. And provide a working worker for emails (session gc works for some reason, I don't know)...


[SFS] Show only sectors form selected sector division

Description of the issue
If you choose a predifined sector division, say KSG, then only KSG sectors should show up und field: "Which sectors are considered in the study?". This function has been before, but seems to have vanished.
Steps to Reproduce

Choose predifined sector division
Check list of sectors

Ideas of solution

Only allow subclasses/individuals from predifined sector divisions
Only show the general sectors below, when non of the listed sector divisions is chosen (?):

Agriculture, forestry and land use sector
Energy demand sector
Building sector
Commercial sector
Heating and cooling sector
Household sector
Transport sector
Energy transformation sector
Electricity sector
Industry sector

Context and Environment

Version used: latest
Operating system: Windows 10, Firefox 102.10.0esr, MS Edge Version 112.0.1722.48
Environment setup and (python) version:

Workflow checklist

[ ] I am aware of the workflow in CONTRIBUTING.md

Maybe this also relates to https://github.com/OpenEnergyPlatform/oekg/issues/32, maybe we structure ´sector division´ and ´sector´ equivalent to ´energy carrier´ and ´energy transformation process´.

@adelmemariani has this functionality been deactivated by accident?

Yes, this functionality has been deactivated since there was a bug while opening the factsheet for the second time. This means the sectors belonging to the selected sector divisions should be shown and marked (and expanded when there is a hierarchy). I just made all sectors available temporarily. I will try to activate this functionality for the next release.


fix the reload problem when syncing url parameter

Current coverage is 36.03% (diff: 100%)

Merging #134 into develop will increase coverage by <.01%

@@            develop       #134   diff @@
==========================================
  Files           228        228
  Lines         12768      12768
  Methods           0          0
  Messages          0          0
  Branches       2159       2159
==========================================
+ Hits           4600       4601     +1
+ Misses         7595       7594     -1
  Partials        573        573

Powered by Codecov. Last update 9714fb4...ba6b37c

nice fix!


abc import "postgres Heroku" to "appbase" tail issue.  Superuser

Hi,
I would realtime import my heroku postgres db to appbase, it's working without --tail but when i add --tail i have this issue:
error plucking from logical decoding pq: must be superuser or replication role to use replication slots.
Any idea ?
Thanks

Hi @ilostit, we explain this in our docs here https://github.com/appbaseio/abc/blob/dev/docs/importer/adaptors/postgres.md#tailing.


Update sdk

This change is

exabel_data_sdk/services/csv_entity_loader.py line 259 at r2 (raw file):

    ) -> Optional[str]:
        """Get the third column if it exists and it is not a property column"""
        if len(columns) > 2 and property_columns is not None and columns[2] not in property_columns:

I wanted to change this simple line in the repo.
Code snippet:
if len(columns) > 2 and (property_columns is None or columns[2] not in property_columns):


Hide title block if grid name is null

Questions
Answers

Description?
Hide table title if grid name is null.

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?
Partially fixes PrestaShop/Prestashop#17847

How to test?
Can be tested with https://github.com/PrestaShop/PrestaShop/pull/20261

@sowbiba could you target dev branch ? Thank you

@sowbiba You need to rebase your branch to the dev branch and not the master

I can do it for you or show you how to do that if you need

ow, thanks @PierreRambaud I didnt understand what you meant by https://github.com/PrestaShop/ps_linklist/pull/101#pullrequestreview-525997600
Rebased ;)

ow, thanks @PierreRambaud I didnt understand what you meant by #101 (review)
Rebased ;)

Look like one commit has been added for nothing :sweat_smile:

@sowbiba you should rebase your branch with dev and keep only your commits. No need for your last commit that is already done on master (& dev).

@sowbiba you should rebase your branch with dev and keep only your commits. No need for your last commit that is already done on master (& dev).

The rebase doesn't remove the commits already in master & dev. Dont know why. I can recreate a branch and delete this one

what's the status here @sowbiba ? 😎

what's the status here @sowbiba ? 😎

I used your changes in my PR @sowbiba 👍


[FEATURE REQ] Exposing client telemetry metrics

Customer would like to have a way to register the client telemetry related metrics.

Duplicate link of https://github.com/Azure/azure-sdk-for-java/issues/29025


using magic-wormhole gives "ZIP does not support timestamps before 1980"

Describe the bug
When using magic-wormhole on unstable , I get
ZIP does not support timestamps before 1980
Steps To Reproduce
nix run .#magic-wormhole send ~/.ssh
Building zipfile..
Traceback (most recent call last):
  File "/nix/store/175q50xfvc9d6h9qpq6iz2s0nsdxk94j-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/internet/defer.py", line 858, in _runCallbacks
    current.result = callback(  # type: ignore[misc]
  File "/nix/store/175q50xfvc9d6h9qpq6iz2s0nsdxk94j-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/internet/defer.py", line 1751, in gotResult
    current_context.run(_inlineCallbacks, r, gen, status)
  File "/nix/store/175q50xfvc9d6h9qpq6iz2s0nsdxk94j-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/internet/defer.py", line 1657, in _inlineCallbacks
    result = current_context.run(
  File "/nix/store/175q50xfvc9d6h9qpq6iz2s0nsdxk94j-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/python/failure.py", line 500, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
  File "/nix/store/gic4b9nb8w7hfnfhf6ks8d6lr7q29f7q-python3.9-magic-wormhole-0.12.0/lib/python3.9/site-packages/wormhole/cli/cli.py", line 122, in _dispatch_command
    yield maybeDeferred(command)
  File "/nix/store/175q50xfvc9d6h9qpq6iz2s0nsdxk94j-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/internet/defer.py", line 1657, in _inlineCallbacks
    result = current_context.run(
  File "/nix/store/175q50xfvc9d6h9qpq6iz2s0nsdxk94j-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/python/failure.py", line 500, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/nix/store/gic4b9nb8w7hfnfhf6ks8d6lr7q29f7q-python3.9-magic-wormhole-0.12.0/lib/python3.9/site-packages/wormhole/cli/cmd_send.py", line 93, in go
    yield d
  File "/nix/store/175q50xfvc9d6h9qpq6iz2s0nsdxk94j-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/internet/defer.py", line 1661, in _inlineCallbacks
    result = current_context.run(gen.send, result)
  File "/nix/store/gic4b9nb8w7hfnfhf6ks8d6lr7q29f7q-python3.9-magic-wormhole-0.12.0/lib/python3.9/site-packages/wormhole/cli/cmd_send.py", line 107, in _go
    offer, self._fd_to_send = self._build_offer()
  File "/nix/store/gic4b9nb8w7hfnfhf6ks8d6lr7q29f7q-python3.9-magic-wormhole-0.12.0/lib/python3.9/site-packages/wormhole/cli/cmd_send.py", line 365, in _build_offer
    zf.write(localfilename, archivename)
  File "/nix/store/fkzla307l4mlcvfyshsrccwl7szihx2z-python3-3.9.6/lib/python3.9/zipfile.py", line 1727, in write
    zinfo = ZipInfo.from_file(filename, arcname,
  File "/nix/store/fkzla307l4mlcvfyshsrccwl7szihx2z-python3-3.9.6/lib/python3.9/zipfile.py", line 517, in from_file
    zinfo = cls(arcname, date_time)
  File "/nix/store/fkzla307l4mlcvfyshsrccwl7szihx2z-python3-3.9.6/lib/python3.9/zipfile.py", line 361, in __init__
    raise ValueError('ZIP does not support timestamps before 1980')
builtins.ValueError: ZIP does not support timestamps before 1980
ERROR: ZIP does not support timestamps before 1980

Notify maintainers

@asymmetric
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.2, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.5pre20211007_844dd90`
 - nixpkgs: `/home/teto/nixpkgs`

@teto which version of nixpkgs are you running the program from?
Running this from master, I can't repro:
❯ nix run github:nixos/nixpkgs#magic-wormhole -- send ~/foo.json
Sending 892 Bytes file named 'foo.json'
Wormhole code is: 95-fascinate-apple
On the other computer, please run:

wormhole receive 95-fascinate-apple

@asymmetric wormhole creates a zip when it needs to send several files so you wont trigger the behavior with just one: try the same command with a folder for instance (just tried it and could see my initial error)

❯ nix run github:nixos/nixpkgs/nixos-21.11#magic-wormhole -- send ranger.conf/
Building zipfile..
Sending directory (33.5 kB compressed) named 'ranger.conf'
Wormhole code is: 5-hurricane-spaniel
On the other computer, please run:

wormhole receive 5-hurricane-spaniel

Can you run the same exact command?

I can reproduce using the command above.
nix-info:
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.81, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.4`
 - channels(dara): `"home-manager, nixos-unstable-22.05pre333986.73369f8d086"`
 - channels(root): `"nixos-22.05pre333986.73369f8d086"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

I can reproduce (dont mind the aws error, it's because my clock is not synchronized and I have an s3 substituter configured).
➜ nix run github:nixos/nixpkgs/nixos-21.11#magic-wormhole -- send ~/.ssh
AWS error 'RequestTimeTooSkewed' (The difference between the request time and the current time is too large.), will retry in 0 ms
Building zipfile..
Traceback (most recent call last):
  File "/nix/store/w6fqk428szyzsphqrh59c0f6p085z5js-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/internet/defer.py", line 858, in _runCallbacks
    current.result = callback(  # type: ignore[misc]
  File "/nix/store/w6fqk428szyzsphqrh59c0f6p085z5js-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/internet/defer.py", line 1751, in gotResult
    current_context.run(_inlineCallbacks, r, gen, status)
  File "/nix/store/w6fqk428szyzsphqrh59c0f6p085z5js-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/internet/defer.py", line 1657, in _inlineCallbacks
    result = current_context.run(
  File "/nix/store/w6fqk428szyzsphqrh59c0f6p085z5js-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/python/failure.py", line 500, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
--- <exception caught here> ---
  File "/nix/store/dff0vfmjy7dsa6ja8lhrsqrlm060pjs6-python3.9-magic-wormhole-0.12.0/lib/python3.9/site-packages/wormhole/cli/cli.py", line 122, in _dispatch_command
    yield maybeDeferred(command)
  File "/nix/store/w6fqk428szyzsphqrh59c0f6p085z5js-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/internet/defer.py", line 1657, in _inlineCallbacks
    result = current_context.run(
  File "/nix/store/w6fqk428szyzsphqrh59c0f6p085z5js-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/python/failure.py", line 500, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/nix/store/dff0vfmjy7dsa6ja8lhrsqrlm060pjs6-python3.9-magic-wormhole-0.12.0/lib/python3.9/site-packages/wormhole/cli/cmd_send.py", line 93, in go
    yield d
  File "/nix/store/w6fqk428szyzsphqrh59c0f6p085z5js-python3.9-Twisted-21.7.0/lib/python3.9/site-packages/twisted/internet/defer.py", line 1661, in _inlineCallbacks
    result = current_context.run(gen.send, result)
  File "/nix/store/dff0vfmjy7dsa6ja8lhrsqrlm060pjs6-python3.9-magic-wormhole-0.12.0/lib/python3.9/site-packages/wormhole/cli/cmd_send.py", line 107, in _go
    offer, self._fd_to_send = self._build_offer()
  File "/nix/store/dff0vfmjy7dsa6ja8lhrsqrlm060pjs6-python3.9-magic-wormhole-0.12.0/lib/python3.9/site-packages/wormhole/cli/cmd_send.py", line 365, in _build_offer
    zf.write(localfilename, archivename)
  File "/nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/python3.9/zipfile.py", line 1727, in write
    zinfo = ZipInfo.from_file(filename, arcname,
  File "/nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/python3.9/zipfile.py", line 517, in from_file
    zinfo = cls(arcname, date_time)
  File "/nix/store/5bh6rpya1ar6l49vrhx1rg58dsa42906-python3-3.9.6/lib/python3.9/zipfile.py", line 361, in __init__
    raise ValueError('ZIP does not support timestamps before 1980')
builtins.ValueError: ZIP does not support timestamps before 1980
ERROR: ZIP does not support timestamps before 1980

I'm not quite know how to debug this further. Running wormhole with the latest commit on the nixos-21.11 branch Works On My Machine(tm), which is:
❯ nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.79, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.4`
 - channels(root): `"nixos-21.05.650.eaba7870ffc"`
 - channels(asymmetric): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

❯ nix run github:nixos/nixpkgs/e34c5379866833f41e2a36f309912fa675d687c7#magic-wormhole -- send ~/.ssh
Building zipfile..
Sending directory (35.3 kB compressed) named '.ssh'
Wormhole code is: 1-pacific-trouble
On the other computer, please run:

wormhole receive 1-pacific-trouble

Try it with a nix-created directory which will typically have a unix-epoch (1970) mtime. Zip files use msdos dates which start at 1980. Here's a better reproducer:
$ nix-build -A magic-wormhole
$ ./result/bin/wormhole send ./result/bin/

This is certainly annoying but seems to be working as intended. Perhaps ask upstream for a .tar.gz option?

@r-burns great catch! My ~/.ssh is not managed by NixOS/HM, which explains why I couldn't reproduce.
I would say this closes the issue on our end then. Thanks everyone!

This is a fundamental flaw in zip files and its usage in the Magic Wormhole protocol. See https://github.com/magic-wormhole/magic-wormhole/issues/401 for an upstream tracking issue.

for people arriving here, I've just used https://github.com/magic-wormhole/magic-wormhole.rs/ that doesn't suffer from the issue


Reporting http status code 52800

Dogfooding the faro collector, the reported traces show a strange http status return code.

After researching, this happens when the endpoint uses filters that inject an http.ResponseWriter implementation different from http.response.
In this case the field offset for the status code would be different from the usual offset we use and it could return any value.
Related PRs:
https://github.com/grafana/ebpf-autoinstrument/pull/204
https://github.com/grafana/ebpf-autoinstrument/pull/205


Use ScopedCredentialProvider for Storage and BigQuery.

Fixes #532.

Rebased so this is now just the one commit.


Make tap output line-oriented

The existing tapoutput is not easily parseable (i.e. with sed/grep/awk/whatever).
This changes the output to be line-oriented and to consist of key-val pairs on each line.
:; conduit tap deploy emojivoto/voting-svc --path /emojivoto.v1.VotingService/VotePoop
req id=0:0 src=<IP_ADDRESS>:54190 dst=<IP_ADDRESS>:8080 :method=POST :authority=voting-svc.emojivoto:8080 :path=/emojivoto.v1.VotingService/VotePoop
rsp id=0:0 src=<IP_ADDRESS>:54190 dst=<IP_ADDRESS>:8080 :status=200 latency=972µs
end id=0:0 src=<IP_ADDRESS>:54190 dst=<IP_ADDRESS>:8080 grpc-status=UNKNOWN duration=0µs response-length=0B

Yikes, sorry, I didn't realize this was branched off of kl/path-stats, and it looks like merging that branch automatically closed this PR. Can I bug you to post a separate PR off master?


AssertionError: eel.expose() call contains '(' or '='

Hi my program is structured as follows where bundle.js is a file containing all of the JS frontend, including the contents of the file app.js which I have listed below.  I have also listed the other two files below. I get an error when running python3 gui.py as follows:
Traceback (most recent call last):
  File "gui.py", line 3, in <module>
    eel.init("dist")                     # Give folder containing web files
  File "/usr/local/lib/python3.6/site-packages/eel/__init__.py", line 60, in init
    assert rgx.findall(r'[\(=]', expose_call) == [], "eel.expose() call contains '(' or '='"
AssertionError: eel.expose() call contains '(' or '='

gui.py
dist
  |- index.html
  |- bundle.js

// app.js

eel.expose(say_hello_js);
function say_hello_js(x) {
  console.log('Hello from ' + x);
}
say_hello_js('Javascript World!');
eel.say_hello_py('Javascript World!');

<!DOCTYPE html>

    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

import eel

@eel.expose                         # Expose this function to Javascript
def say_hello_py(x):
    print("Hello from %s" % x)

if __name__ == "__main__":
    eel.init("dist")                     # Give folder containing web files
    say_hello_py("Python World!")
    eel.say_hello_js("Python World!")   # Call a Javascript function
    eel.start("index.html")             # Start (this blocks and enters loop)

@barischrooneyj
The way the library is designed at the moment, the python script needs to know the names of exposed js functions immediately after the call to eel.init('web').
This is before the browser process is even running. The slightly hacky solution to this at the moment is to statically scan through all text files in the directory and look for "eel.expose(???)" strings.
The problem with this is it assumes that the contents of those brackets is just the plain function name like "eel.expose(my_function)".
In reality it could be something like a lambda or anonymous function. This is why it forbids ( and = characters.
I will have to look into your issue in more detail in a few days but this is the reason for that error message.

@barischrooneyj did you manage to get this working? I can't recreate the error. I think bundle-js must be automatically making 'say_hello_js' anonymous in the beautify step.

I got an error when trying to expose a Vue method like this: eel.expose(this.print), which i guess shows up because of the dot (.). I solved it doing print = this.print and then passing the new print to expose, which is not elegant.
Amazing work @ChrisKnott, i started using eel a few weeks ago and it made my life easier, i commend you for this awesome doing!


[Event Request] Table 5050 - Contact - OnBeforeLookupPostCode

Hi AL-Team,
can you please add the following Publisher in City OnLookup Trigger?
We have detailed behaviors for customer, vendor and contact and need to know from where the check is called.
 trigger OnLookup()
            begin
                // NEW >>>>
                OnBeforeLookupPostCode(Rec, PostCode);
                // NEW <<<<
                PostCode.LookupPostCode(City, "Post Code", County, "Country/Region Code");
            end;

    [IntegrationEvent(false, false)]
    local procedure OnBeforeLookupPostCode(var Rec: Record Contact; var PostCode: Record "Post Code")
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


http-logs enrich and scenario/http-probe fails

Hello,
I am still comparing fail2ban behavior and crowdsec and I encounter one issue that crowdsec fails to detect.
Attached is the scenario that fails with access_1.log and related crowdsec debugging logs cs_1.log.
I have attached a scenario that does not fails for comparison: access_2.log and related cs_2.log.
Note: I am using a custom pattern for my apache2 log format:  pattern: '(%{URIHOST:target_fqdn} )?%{COMMONAPACHELOG} %{POSINT} %{POSINT} %{QS:referrer} %{QS:agent}'
I believe (I may be wrong) that the issue comes from the fact that simple root urls like / are not considered as non static file by the http-logs enricher and thus the evt.Parsed.static_ressource is not set and thus the http-probe scenario cannot filter it because the condition evt.Parsed.static_ressource == 'false' is undefined.
I am expected this to be considered as probing because return status code is 403.
cs_1.log
cs_2.log
access_1.log
access_2.log
Thanks in advance for your help and comments here.
Cheers.

Hello @ririsoft ,
Thanks for sharing your logs, i was able to quickly find the issue, which is that the target_fqdn in your logs have the format fqdn:port and that the grok pattern IPORHOST doesn't support the port.
Can you please try this full grok instead:
%{HOSTPORT:target_fqdn} %{COMMONAPACHELOG} %{POSINT} %{POSINT} %{QS:referrer} %{QS:agent}

Note: I am using a custom pattern for my apache2 log format:  pattern: '(%{URIHOST:target_fqdn} )?%{COMMONAPACHELOG} %{POSINT} %{POSINT} %{QS:referrer} %{QS:agent}'

I am already using a custom pattern as noted in my initial comment.
When you look at the code from http-logs enricher, you can see that root urls like / are not matched for the last grok pattern
and thus the variable static_ressource is not set for parsed hash value, and thus, maybe, the probing scenario fails in that case
# /etc/crowdsec/config/parsers/s02-enrich/http-logs.yaml
filter: "evt.Meta.service == 'http' && evt.Meta.log_type in ['http_access-log', 'http_error-log']"
description: "Parse more Specifically HTTP logs, such as HTTP Code, HTTP path, HTTP args and if its a static ressource"
name: crowdsecurity/http-logs
pattern_syntax:
  DIR: "^.*/"
  FILE: "[^/].*?"
  EXT: "\\.[^.]*$|$"
nodes:
  - statics:
     - parsed: "impact_completion"
       # the value of a field can as well be determined as the result of an expression
       expression: "evt.Meta.http_status in ['404', '403', '502'] ? 'false' : 'true'"
  # let's split the path?query if possible
  - grok:
      pattern: "^%{GREEDYDATA:request}\\?%{GREEDYDATA:http_args}$"
      apply_on: request
  # this is another node, with its own pattern_syntax
  - #debug: true
    grok:
      ##### THIS PATTERN BELOW MATCHES ONLY IF THE QUERY PATH ENDS WITH AN EXTENSION
      pattern: "%{DIR:file_dir}%{FILE:file_frag}%{EXT:file_ext}"
      apply_on: request
      statics:
        - meta: http_path
          expression: "evt.Parsed.http_path"
          # meta af
        - meta: http_args_len
          expression: "len(evt.Parsed.http_args)"
        - parsed: file_name
          expression: evt.Parsed.file_frag + evt.Parsed.file_ext
        - parsed: static_ressource
          expression: "evt.Parsed.file_ext in ['.jpg', '.css', '.js', '.jpeg', '.png', '.svg', '.map'] ? 'true' : 'false'"

I hope this clarifies.

Hello @ririsoft ,
Yes my bad for the custom grok, i read the grok pattern too quickly.
I now understand your problem and you're right, i'm working on it.

No problem @AlteredCoder.
Actually the question is the following: Should repeating requests with "403, 404, 502" status code be considered probing what ever the request looks like ? If yes then there is a bug which might be caused by what I highlighted above. Otherwise, the way things work with crowdsec today is that only requests ending with a none static file extension is considered probing. If this is what you want then there is no bug (and I will modify the scenario to match my personal needs).

No you are right about the problem @ririsoft .
I've fixed it by setting static_ressource to 'false' by default, as you can see here.
When this will be merge, it will be only available for the crowdsec v1. So until this, i think you can just copy/paste the change into your http-logs parser.

Thanks @AlteredCoder , by the way I noticed that some static files extensions are missing, such "gif, webp" for images and probably some video files format such "mov, mp4, m4v, mkv, ...". I do not know if you want to have this part of it or not (no big deal to me).

Hello @ririsoft , yes we are going to add those static files extension in the list :)

I am closing this since this is fixed in v1.0 ;-)


Apply DS to disable udp offloading before Cilium upgrades in VSphere

Issue #, if available:
Description of changes:
This is only needed for EKS-A v0.17 because UDP offloading needs to be disabled for the new Cilium version to work with VSphere clusters. Since our templates that were shipped in v0.16 releases still have UDP offloading enabled in the nodes, we must apply this daemon set to disable UDP offloading in all the nodes before upgrading Cilium in that cluster. We will remove this in EKS-A release v0.18.0.
The new DS is using our kind node image because ethtool is installed there.
Testing (if applicable):
Manual testing
LatestMinorReleaseE2E passed
    cluster.go:896: Skipping VM cleanup
--- PASS: TestVSphereKubernetes125To126UbuntuUpgradeFromLatestMinorRelease (2114.73s)
PASS

Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Passed with the latest changes:
    cluster.go:896: Skipping VM cleanup
--- PASS: TestVSphereKubernetes125To126UbuntuUpgradeFromLatestMinorRelease (2117.42s)
PASS

/lgtm

/approve

/cherrypick release-0.17


Add trim name method helper to create name only references

Add a simple helper to create name only references without having to first get the name as a string and reparse. This method does not fail so ignoring or checking error to simply trim reference is not required.
Ping @tonistiigi @aaronlehmann

LGTM

LGTM


Question: Is there a store-like type of memo? If not, what's a better workaround?

Say there is a store named mousePosition which contains an adjusted version of the mouse location which gets updates on the mousemove event.
My goal is to create a memo which has a discrete version of the position such as the following:
function normaliseAxis(axis: number): number {
  return Math.ceil(axis / 100);
}

const normalisedPosition = createMemo(() => ({
  x: normaliseAxis(mousePosition.x),
  y: normaliseAxis(mousePosition.y)
}));

Here, the memo makes all of its downstream objects react on every mousemove event because the memo is an object whose reference gets recreated, similar to a signal.
Question 1
Is there a store-like version of a memo which automatically memoises each field of an object such that it won't make downstream objects react unless there is a change in a value?
Question 2
If there is no such structure as asked above, which of the following work-arounds would be a better choice and why?
Choice 1
const normalisedPositionX = createMemo(() => normaliseAxis(mousePosition.x));
const normalisedPositionY = createMemo(() => normaliseAxis(mousePosition.y));

Choice 2
const normalisedPosition = createMemo(
  (previousPosition) => {
    const newPosition = {
      x: normaliseAxis(mousePosition.x),
      y: normaliseAxis(mousePosition.y)
    };

    if (newPosition.x === previousPosition.x && newPosition.y === previousPosition.y)
      return previousPosition;

    return newPosition;
  },
  {x: 0, y: 0}
);

Here is a playground link illustrating the question: https://playground.solidjs.com/anonymous/a847c828-eab8-4ccb-a9af-789afdf45f18

Sorry posted it in the wrong repo.


Fix thermal initialization to avoid CSV file reading

Overview
Fix thermal initialization to avoid CSV file reading
Issue
NA
Details
Currently, users must set the correct file path for ThermalCSV files even if the users don't use the thermal dynamics calculation. It is bothering to users to set unnecessary files.
I changed to avoid reading files when the thermal calculation is disabled.
Validation results
I confirmed that the CSV files are not needed when thermal calculation is disabled.
The result of calculation is not changed.
Scope of influence
Almost nothing
Supplement
NA
Note
NA

そうなんですよね。。。今回はv5.0.0用にユーザーが考える要素を減らすのが種目的なので、本質的な解決は別機会にさせてください。


chore: update readme with links

Added links for several of the used components
Fixed some spelling and grammar

PS: Thanks for this awesome repo! I plan to use it for a project requiring multi-tenancy and this is a great starting point. Best, Marc

Hey Marc, thank you so much for contributing back to the repository. Do you think you can revert the links in the features components? There is already too much link in the README file and don't want to be penalized by Google for the SEO. Google is black box, maybe the links don't change anything but I prefer to not play with them.
Otherwise, it looks to me and I can merge after your changes.
Thank you so much.

You worry too much. Google says the opposite: external links are a good thing 😉
The biggest difference for ranking higher will be social proof of businesses built with your template and the backlinks to your site/repo. That's why shipfast is so popular and financially successful (but it's not great since it's not open-source and gets very little maintenance/enhancements).
Your repo ranks pretty high already for "saas boilerplate" and great if you add "open-source". The ranking isn't so good for "saas template" so you might want to add the "template" keywords at the top of the readme and the repo "about" to get more traffic. Also put "free" somewhere 😀

@mbtools Thank you for your PR, sorry for the delay. I just merged the PR.
Thank you for your suggestion, I'll add "open-source", "free", and maybe "template".


bug: fixed release message and lint staged step

fixed release message
fixed lint staged step

:tada: This issue has been resolved in version 1.1.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


[GitHub] last release badge

pull request #905
Hi, please review the code. I've separated the code to lib/github-provider.js & made few modification on it.
[the branch was too old, I've managed conflicting code & removed few code with standard function]
Please guide me for further changes. [I have not yet added tests. I'll add it by tommrow & for now please ingore the lint issue. I'll fix it then.]

Hahaha Travis CI still in pending 🌞

I kicked the build. It's running now.

Not ready yet.

ready.

Will this account for any release?
Or just "full" releases (not pre-releases)?

hi, @tooomm full release

yep! right! okay I'll add. Lets wait for what @paulmelnikow says - should I open a different pull request on it or it will be included here? (I am saying because this PR is extended from #905)
Btw, I think, there is no explicit API for getting latest pre-release version.

Btw, I think, there is no explicit API for getting latest pre-release version.

You might be right there. For displaying releases it works like that:
GitHub release:   | https://img.shields.io/github/release/qubyte/rubidium.svg
GitHub (pre-)release:  | https://img.shields.io/github/release/qubyte/rubidium/all.svg
So it looks like one just displays all releases (including pre-releases) and the first just displays full releases.
As long as there is no newer pre-release both show the same - as in the example on the shields page.
Example with a different pre-release as seen in a readme on github:

Github service tests passing locally.
That's a great idea to add prerelease-date. Let's do it in a separate PR so we can close this out!
Thanks for all your work on this! 🏅

If you keep on looking into that prerelease date, please @ link me when you open the PR.
I happily get informed about any progress! 👍

Hi @tooomm , #1133


Default views prefix configuration for Kaminari in Kaminari.configure

Hi!
Can you please add the feature that ables the configuration of a default Kaminari template views prefix?
# config/initializers/kaminari.rb

Kaminari.configure do |config|
    config.default_views_prefix = ''
    # E.g. choose different views folder views/templates/kaminari
    # config.default_views_prefix = 'templates'
    # config.default_views_prefix = 'templates/backend'
    # config.default_views_prefix = 'templates/frontend'
    ...
end

Whit this configuration we are able to define a different views template folder on the whole app. E.g. required if all gem templates should be collected in the folder app/views/templates.

We only accept bug reports and pull requests in GitHub. If you want it, please send a pull request. I'm not sure if the option is useful, though.

OK. So, if I want to move the kaminari views folder from app/views/kaminari to app/views/templates/kaminari I need to add on all views on all pagination helpers the option views_prefix? I mean, a default_views_prefix can really help in this case.

Why do you have to have templates dir when all paginatecalls refer to one set of kaminari views? app/views/kaminari should just be ok.


add stakingcabin

I have recreated the PR @richard-stakingcabin  https://github.com/razor-network/validators/pull/15

hey @richard-stakingcabin the commit requires to be signed to be able to merge this PR.


Eureka Dashboard DS Replicas wrong link?

Following the default documentation, I set up eureka peering on localhost.  Going to http://localhost:8761/ takes me to the dashboard.  The "DS Replicas" section has a link to http://localhost:8761/eureka/ which doesn't go anywhere.
I tried setting defaultZone to not have /eureka in it, but then replication stopped working because it was looking for /apps which was located at /eureka/apps .
I reverted defaultZone and tried setting server.contextPath to /eureka, but then replication stopped working because it tried to use /eureka/apps when the location was actually at /eureka/eureka/apps .
Sounds like the DS Replicas link just needs to have /eureka taken out?

Closing this due to inactivity. Please re-open if there's more to discuss.


Can't change to Metric in Fitness App

Closing.  The goal is not to create a good fitness app.  The goal is to create a bare-minimum app which provides a vector/excuse for the Sky team to execute Sky code on their personal phones on a daily basis.  I don't need metric to use the app, closing.


Nodes not indenting when dragging

I'm using 2.1.5 and for some reason when dragging nodes, I can drag around and drop on the same level, but it won't indent or allow to drop inside a node that has no children yet.
any ideas what could be causing this?  I don't have any additional configs set.

Turned out this was due to absolute position on parent element...

I take that back, stand alone doesn't seem to be working....

any examples on jsfiddle would help.

I second this. When using my desktop chrome browser everything is fine. When I switch to a phone, I can do all actions except nest an item into another item which doesn't have any children.

Same issue here.

As it turns out, you have to initiate the children array on every node to fix this.
https://github.com/angular-ui-tree/angular-ui-tree/issues/203

Closing this issue due to inactivity. See #815 for more information.
Please create a new issue is this still occurs with the current version of the component.


add MiniProgram

Thank you for your translation, your code looks great!
I'd like to invite @SilkageNet and @dingdayu to have a look at this PR and give some comments.
And we are right talking about the naming styles for Go Wechaty, you can have a look from here: #6
Appreciate it!

@dchaofei Thank you very much for your MiniProgram class, the code is great and this is an one more step for translating the TS Wechaty to our Go Wechaty, Cheers!
@SilkageNet Thank you for approving this PR too after we have @dchaofei onboard, I believe that the Go Wechaty project will be able to move faster.

@dchaofei I have sent a GitHub team invitation to you for joining our Wechaty Org and be a member of our @wechaty/contributors team. Please check and accept it, thank you very much!

You've invited Chao Fei to Wechaty! They'll be receiving an email shortly. They can also visit https://github.com/wechaty to accept the invitation.


Update configuration-infrastructure.md

Update documentation for Sneaky Paw incident

#sign-off

@jaesoni This renders as expected without the br tag. If the content doesn't render as you think is intended, please open a new PR.


feat: upload sonarcloud and deepsource code coverage reports

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

Project coverage is 92.23%. Comparing base (ff4d851) to head (2b1ed2a).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #9      +/-   ##
==========================================
- Coverage   93.52%   92.23%   -1.30%
==========================================
  Files           8        8
  Lines         309      309
  Branches        0       29      +29
==========================================
- Hits          289      285       -4
  Misses         20       20
- Partials        0        4       +4

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


Since 1.8.x istioctl validate is now providing less detail when it fails due to bad yaml

Bug description
We use istioctl validate to verify the manifests for Istio resources prior to deployment of a service.
When validation fails due to bad yaml the output provides us with context of the specific problem.
This additional context has gone in v1.8.3.
Unsure if this is specific to yaml validation or not but some other validation scenarios we check against are working as expected.
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[x] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
istioctl v1.8.3 should still provide the useful detailed failure information when a validation fails due to yaml parsing.
Steps to reproduce the bug
Given the following manifest that contains bad yaml for the maxConnections property:
apiVersion: networking.istio.io/v1beta1
kind: DestinationRule
metadata:
  name: intentionally-valid-but-unparseable-destinationrule
spec:
  host: some.default.svc.cluster.local
  trafficPolicy:
    connectionPool:
      tcp:
        maxConnections:<PHONE_NUMBER>

with v1.7.5:
$ istioctl validate -f bad-destination-rule.yaml                                                                                12:14:56
Error: 1 error occurred:
	* DestinationRule//intentionally-valid-but-unparseable-destinationrule: cannot parse proto message: YAML decoding error: host: some.default.svc.cluster.local
trafficPolicy:
  connectionPool:
    tcp:
      maxConnections:<PHONE_NUMBER>
 json: cannot unmarshal number<PHONE_NUMBER> into Go value of type int32

with v1.8.3:
istioctl validate -f bad-destination-rule.yaml                                                                                ✘ KILL 4s 12:16:05
Error: 1 error occurred:
	* DestinationRule//intentionally-valid-but-unparseable-destinationrule: cannot parse proto message: json: cannot unmarshal number<PHONE_NUMBER> into Go value of type int32

Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
$ istioctl version
client version: 1.8.3
control plane version: 1.8.3
data plane version: 1.8.3 (40 proxies)

How was Istio installed?
NA
Environment where the bug was observed (cloud vendor, OS, etc)
NA
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

cc @howardjohn @douglas-reid :'(

@therealmitchconnors @esnible for comment.

We've upgraded to istioctl 1.9.0 and there's another minor regression/change in behaviour we have spotted.
Given the following invalid sidecar manifest:
apiVersion: networking.istio.io/v1beta1
kind: Sidecar
metadata:
  name: intentionally-broken-sidecar
spec:

With 1.8.3:
istioctl-1.8.3 validate -f bad-sidecar-manifest.yaml                                                                                10:36:47
Error: 1 error occurred:
	* Sidecar//intentionally-broken-sidecar: sidecar: missing egress

and with 1.9.0:
istioctl-1.9.0 validate -f bad-sidecar-manifest.yaml                                                                                24s 10:36:36
Error: 1 error occurred:
	* Sidecar//intentionally-broken-sidecar: sidecar: empty configuration provided

need to dig into but I suspect one of the json/yaml libraries changed
On Wed, Feb 24, 2021, 2:40 AM Nick Ebbitt<EMAIL_ADDRESS>wrote:

We've upgraded to istioctl 1.9.0 and there's another minor
regression/change in behaviour we have spotted.
Given the following invalid sidecar manifest:
apiVersion: networking.istio.io/v1beta1
kind: Sidecar
metadata:
name: intentionally-broken-sidecar
spec:
With 1.8.3:
istioctl-1.8.3 validate -f bad-sidecar-manifest.yaml                                                                                10:36:47
Error: 1 error occurred:

Sidecar//intentionally-broken-sidecar: sidecar: missing egress

and with 1.9.0:
istioctl-1.9.0 validate -f bad-sidecar-manifest.yaml                                                                                24s 10:36:36
Error: 1 error occurred:

Sidecar//intentionally-broken-sidecar: sidecar: empty configuration provided

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/issues/31023#issuecomment-784982651, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXKUR27JQZOK7CKH5B3TATJQ7ANCNFSM4YCMWEOA
.


Reject use of export_all

Keeping export_all in place after initial development work is typically considered a bad practice.
A rule that complains when that is still present in a file might be useful.

:+1:

:+1: and can you add a similar issue in the guidelines, please?

https://github.com/inaka/erlang_guidelines/pull/60, although it appears to have some errors from gadget/compiler and gadget/xref.

Considering that conditionally export_all if TEST is defined is common practice:
-ifdef(TEST).
-compile(export_all).
-endif.

The source needs to be compiled, not just parsed. Without access to compile flags like include path, defines... it would not be trivial to compile a source file. Besides, treating warning as error seems to catch this, is it still necessary to make this a rule?

I guess, using a -ifdef(TEST) to conditionally export_all should be acceptable?

@bullno1 you were correct somewhere else where you pointed out that the compiler itself can give you this same warning. Therefore, this rule should not be default and the implementation of this rule should be considered a very very low priority.
In any case, I wouldn't add any exception like that for ifdef, if you want to do that, just don't include this rule in your elvis.config or just ignore the module where you do that altogether.

Closing this ticket.


ERROR with scipy==1.3.1

I can't install scipy==1.3.1. Help.

any solution?V^V

I installed 1.3.3  it's OK then， but when I train，the epoch number is very large..... I don't know how to


🐛 BUG: Wrangler login fails

Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
3.57.0 [wrangler]
What version of Node are you using?
21.3.0
What operating system and version are you using?
Windows 11
Describe the Bug
Observed behavior
Can't login, neither from browser nor with curl
Expected behavior
Log in
Steps to reproduce
Directly run npx wrangler login (If not installed, npx will install it).
Output:
PS G:\...> npx wrangler login
 ⛅ wrangler 3.57.0
-------------------
Attempting to login via OAuth...
Opening a link in your default browser: https://dash.cloudflare.com/oauth2/auth?response_type=code&client_id=...
C:\Users\dev\AppData\Local\npm-cache\_npx\32026684e21afda6\node_modules\wrangler\wrangler-dist\cli.js:29749
            throw a;
            ^

Error: ENOENT: no such file or directory, open 'C:\Users\dev\AppData\Roaming\xdg.config\.wrangler\config\default.toml'
    at writeFileSync (node:fs:2352:20)
    at writeAuthConfigFile (C:\Users\dev\AppData\Local\npm-cache\_npx\32026684e21afda6\node_modules\wrangler\wrangler-dist\cli.js:155005:37)
    at Server.<anonymous> (C:\Users\dev\AppData\Local\npm-cache\_npx\32026684e21afda6\node_modules\wrangler\wrangler-dist\cli.js:155098:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'C:\\Users\\dev\\AppData\\Roaming\\xdg.config\\.wrangler\\config\\default.toml'
}

And the browser gives: ERR_CONNECTION_REFUSED
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
Failed to load .env file ".env": Error: ENOENT: no such file or directory, open 'G:\...\.env'
    at Object.openSync (node:fs:581:18)
    at Object.readFileSync (node:fs:457:35)
    at tryLoadDotEnv (G:\...\node_modules\wrangler\wrangler-dist\cli.js:158790:72)
    at loadDotEnv (G:\...\node_modules\wrangler\wrangler-dist\cli.js:158799:12)
    at G:\...\node_modules\wrangler\wrangler-dist\cli.js:200143:20
    at G:\...\node_modules\wrangler\wrangler-dist\cli.js:165196:16
    at maybeAsyncResult (G:\...\node_modules\wrangler\wrangler-dist\cli.js:163417:44)
    at G:\...\node_modules\wrangler\wrangler-dist\cli.js:165195:14
    at G:\...\node_modules\wrangler\wrangler-dist\cli.js:163404:22
    at Array.reduce (<anonymous>) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'open',
  path: 'G:\\...\\.env'
}

Logged in with another machine, copied the content of default.toml to C:\Users\dev\AppData\Roaming\xdg.config\.wrangler\config\default.toml


ZEPPELIN-389: Longer Paragraph Title will wrap to new line and interfere with code below

This PR relates to: https://issues.apache.org/jira/browse/ZEPPELIN-389 fixing a bug with paragraph titles longer than 1 line.
Current long paragraph title:

After the pull request:

nice, thanks for the fix!

Thanks for the fix,
I will merge if there is no more discussions

+1


chore: SR-2683 Remove config for sorry.trade.gov.uk

Addresses SR-2682
The maintenance page at sorry.trade.gov.uk is no longer used, and the resources for it have since been removed.
This commit removes its config as it is now non-functional.
There are no relevant tests to be updated.

Checklist:
Title:

[x] Scope included as per conventional commits
[x] Ticket reference included (unless it's a quick out of ticket thing)

Description:

[x] Link to ticket included (unless it's a quick out of ticket thing)
[x] Includes tests (or an explanation for why it doesn't)

Tasks:

[ ] Trigger the pull request regression tests for this branch and confirm that they are passing

The migration-tools folder is no longer used. I am going to raise a new PR to remove this folder and I'll close this PR.


[BUG] - Illegal instruction (core dumped)

External
Summary
Running cardano-node in certain environment generates core dump.  The binaries were built locally on ubuntu 20.04 machine, as well as in a docker container - result is the same.  Running a pre-built docker image fails on this machine too, but silently.
Steps to reproduce
Steps to reproduce the behavior:

Setup brand new Ubuntu 20 server machine.
Follow installation tutorial for Ubuntu here (https://docs.cardano.org/projects/cardano-node/en/latest/getting-started/install.html)
Run cardano-node locally with testnet configs
See error

Expected behavior
Node starts up and begins syncing the blocks.
System info (please complete the following information):

OS: Ubuntu
Version [e.g. 20.04]
Node version

vzelenko@cardano-lx:~/cardano$ cardano-node --version
cardano-node 1.18.0 - linux-x86_64 - ghc-8.6
git rev ba0f96b1a9fc9232ed211e57835fd5018093069d

Additional context
Running Node with error
vzelenko@cardano-lx:~/cardano$ ~/.local/bin/cardano-node run --database-path ./db/ --socket-path ./socket/core --port 3000 --config configs/testnet-config.json  --topology configs/testnet-topology.json
Listening on http://<IP_ADDRESS>:12798
Illegal instruction (core dumped)

Output of dmesg with some extras is as follows:
[181637.840602] device veth06f72e6 entered promiscuous mode
[181638.990198] eth0: renamed from veth057e3e0
[181639.004363] IPv6: ADDRCONF(NETDEV_CHANGE): veth06f72e6: link becomes ready
[181639.004561] docker0: port 1(veth06f72e6) entered blocking state
[181639.004561] docker0: port 1(veth06f72e6) entered forwarding state
[181640.918943] traps: cardano-node[122707] trap invalid opcode ip:1272a01 sp:7fffef8ddfe8 error:0 in cardano-node[400000+136a000]
[181641.734011] docker0: port 1(veth06f72e6) entered disabled state
[181641.737549] veth057e3e0: renamed from eth0
[181641.850953] docker0: port 1(veth06f72e6) entered disabled state
[181641.857442] device veth06f72e6 left promiscuous mode
[181641.857452] docker0: port 1(veth06f72e6) entered disabled state
[181725.924646] traps: cardano-node[122832] trap invalid opcode ip:214aca1 sp:7ffd7e8ecf08 error:0 in cardano-node[400000+2f35000]
[234184.453235] traps: cardano-node[212656] trap invalid opcode ip:214aca1 sp:7fffd509a958 error:0 in cardano-node[400000+2f35000]
[234301.482753] traps: cardano-node[212680] trap invalid opcode ip:214aca1 sp:7ffd07477478 error:0 in cardano-node[400000+2f35000]
[234329.404915] traps: cardano-node[212690] trap invalid opcode ip:2140261 sp:7ffd5c0f1d58 error:0 in cardano-node[400000+2f20000]
[234353.325159] traps: cardano-node[212700] trap invalid opcode ip:2140261 sp:7fffcfe706d8 error:0 in cardano-node[400000+2f20000]
[234367.501705] traps: cardano-node[212710] trap invalid opcode ip:2140261 sp:7ffda59102a8 error:0 in cardano-node[400000+2f20000]
[234380.974740] traps: cardano-node[212720] trap invalid opcode ip:2140261 sp:7ffe52d3c5d8 error:0 in cardano-node[400000+2f20000]

System Details
vzelenko@cardano-lx:~/cardano$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.1 LTS
Release:	20.04
Codename:	focal

vzelenko@cardano-lx:~/cardano$ uname -a
Linux cardano-lx 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

vzelenko@cardano-lx:~$ sudo lshw -short
[sudo] password for vzelenko:
H/W path            Device           Class       Description
============================================================
                                     system      GN566AAR-ABA s3200n (GN566AAR#ABA)
/0                                   bus         Acacia
/0/0                                 memory      128KiB BIOS
/0/3                                 processor   AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
/0/3/8                               memory      128KiB L1 cache
/0/3/9                               memory      512KiB L2 cache
/0/4                                 memory      4GiB System Memory
/0/4/0                               memory      2GiB DIMM DDR2 800 MHz (1.2 ns)
/0/4/1                               memory      2GiB DIMM DDR2 800 MHz (1.2 ns)
/0/a                                 memory      RAM memory
/0/1                                 bridge      MCP61 LPC Bridge
/0/1.1                               bus         MCP61 SMBus
/0/1.2                               memory      RAM memory
/0/2                                 bus         MCP61 USB 1.1 Controller
/0/2/1              usb2             bus         OHCI PCI host controller
/0/2.1                               bus         MCP61 USB 2.0 Controller
/0/2.1/1            usb1             bus         EHCI Host Controller
/0/2.1/1/5          scsi4            storage     USB2.0-CRW
/0/2.1/1/5/0.0.0    /dev/sdb         disk        Compact Flash
/0/2.1/1/5/0.0.0/0  /dev/sdb         disk
/0/2.1/1/5/0.0.1    /dev/sdc         disk        SM/xD-Picture
/0/2.1/1/5/0.0.1/0  /dev/sdc         disk
/0/2.1/1/5/0.0.2    /dev/sdd         disk        SD/MMC
/0/2.1/1/5/0.0.2/0  /dev/sdd         disk
/0/2.1/1/5/0.0.3    /dev/sde         disk        MS/MS-Pro
/0/2.1/1/5/0.0.3/0  /dev/sde         disk
/0/2.1/1/9          wlx00c0a8f709b1  network     802.11 bg WLAN
/0/100                               bridge      MCP61 PCI bridge
/0/100/5                             bus         FW322/323 [TrueFire] 1394a Controller
/0/5                                 multimedia  MCP61 High Definition Audio
/0/6                                 storage     MCP61 IDE
/0/7                enp0s7           bridge      MCP61 Ethernet
/0/8                scsi2            storage     MCP61 SATA Controller
/0/8/0.0.0          /dev/sda         disk        320GB ST3320820AS
/0/8/0.0.0/1        /dev/sda1        volume      1023KiB BIOS Boot partition
/0/8/0.0.0/2        /dev/sda2        volume      1GiB EXT4 volume
/0/8/0.0.0/3        /dev/sda3        volume      297GiB EFI partition
/0/9                                 bridge      MCP61 PCI Express bridge
/0/b                                 display     C61 [GeForce 6150SE nForce 430]
/0/101                               bridge      K8 [Athlon64/Opteron] HyperTransport Technology Configuration
/0/102                               bridge      K8 [Athlon64/Opteron] Address Map
/0/103                               bridge      K8 [Athlon64/Opteron] DRAM Controller
/0/104                               bridge      K8 [Athlon64/Opteron] Miscellaneous Control
/0/c                                 system      PnP device PNP0c02
/0/d                                 system      PnP device PNP0c02
/0/e                                 system      PnP device PNP0b00
/0/f                                 system      PnP device PNP0c02
/0/10                                system      PnP device PNP0c01
/1                  br-61db5a4deca2  network     Ethernet interface
/2                  docker0          network     Ethernet interface

I've also tried installing OpenSuse and running the docker version.  Same issue.
My guess is, the hardware is outdated and binary is sending newer instruction to the system.
Can anyone confirm that?

My guess is, the hardware is outdated and binary is sending newer instruction to the system.

That is very likely the problem. Please provide the output of cat /proc/cpuinfo.

That is very likely the problem.

But that shound not affect the localy built version?

Please provide the output of cat /proc/cpuinfo.

I've replaced Ubuntu with OpenSUSE on this box, but the info should be the same.
vzelenko@localhost:~> cat /proc/cpuinfo
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 107
model name	: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
stepping	: 1
microcode	: 0x83
cpu MHz		: 1000.000
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl cpuid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch vmmcall lbrv
bugs		: fxsave_leak sysret_ss_attrs null_seg swapgs_fence amd_e400 spectre_v1 spectre_v2
bogomips	: 4999.87
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps

processor	: 1
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 107
model name	: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+
stepping	: 1
microcode	: 0x83
cpu MHz		: 1000.000
cache size	: 512 KB
physical id	: 0
siblings	: 2
core id		: 1
cpu cores	: 2
apicid		: 1
initial apicid	: 1
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow rep_good nopl cpuid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch vmmcall lbrv
bugs		: fxsave_leak sysret_ss_attrs null_seg swapgs_fence amd_e400 spectre_v1 spectre_v2
bogomips	: 4997.81
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc 100mhzsteps

It is old, but GHC should generate correct instructions for the AMD Athlon 64 x2.
Docker can fail on AMD machines like this due to insufficient memory, but the pre-built version should not have the problem.
I would try a clean build from source (re-clone github) with -O0 - that should remove most/all unusual instructions that could be causing the failure.  I would also run a memory test on the system (though I don't think this is the problem).

hi @vzelenko can you still reproduce this? also what architecture are you using?

Don't have access to that machine anymore.  If I recall correctly, @vix-io, it was an old HP Pavilion small desktop model.  The rest of the system info should be in the printouts above.