docs: Add Plarium to list of Amundsen users

Summary of Changes
Add Plarium as a user of Amundsen
Documentation
Changed the README.md
CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely, including a title prefix.
[ ] PR includes a summary of changes.
[ ] My commits follow the guidelines from "How to write a good git commit message"

thanks @davidmanukian !

thanks @davidmanukian !


Add ability to tune validation outlier thresholds

One validation check is to compare the actual signal value and a "predicted" signal value from the recent historical API data.  If these values are too far apart, we classify the signal as anomalous and trigger a validation error.  Currently this is done using a set of hardcoded thresholds, which gives the user two options:  use these thresholds or turn off this type of validation check entirely.  It would nice if we had a method of adjusting these thresholds from the params.json file to allow indicators with more variance to still have this type of validation.

It is not obvious how we should do this, but here are some ideas.

Expose the thresholds to the user

(+) Most customizable
(-) Hard for the user to meaningfully set since they have no inherent interpretation (?)

Expose a multiplicative factor to apply to the thresholds
1.(+) Only need single parameter
2. (-) Potentially even less interpretable than option 1
Expose discreet sensitivity levels to the user ("high", "medium", "low")

(+) Obvious interpretation
(-) How to we set the levels meaningfully?
(-) Extending to higher granularity could be messy

@nmdefries any additional thoughts?

Considering this sufficiently addressed by https://github.com/cmu-delphi/covidcast-indicators/pull/1051 and expanding the reference window size. This issue is also stale at this point; I would rather remove fuzzy checks from validator entirely as in https://github.com/cmu-delphi/covidcast-indicators/issues/2023. Plus the Flash system is much more rigorously tested


This mod breaks mipmaps

Version: 1.19.3 and 1.19.4
Mod loader: both Quilt and Fabric
So, when I use this mod, the mipmapping doesn't work. Completely.
With CITResewn:

How it suppoused to look lile:

Mipmapping is enabled in settings. And I tried disabling the NVIDIA 3D parameters, also didn't help.
Maybe I'm doing something wrong? I don't know, but without this mod everything works just fine. Any help would be appreciated! :)

I honestly didn't know people actually used mipmaps, but sure, this needs to be looked into. Do you have any packs active or is it just with CIT Resewn installed?
Only thing that could cause iirc this is if a texture that mipmaps couldnt handle is being used(and iirc only in the block atlas), CIT Resewn doesnt mess with mipmaps beyond the possibility of loading extra textures.

It looks like it was, in fact, an issue with resource packs. I'm sorry. I was so sure i disabled every texture pack i had. Or maybe i did, but upgrading my pc somehow fixed it. Either way, thank you, even if the problem was me.


Windows backslashes unescape appears since version 1.6.3 without possibility to disable it

Since 1.6.3 (commit https://github.com/substack/node-shell-quote/commit/c5b7ca4f59d950438e14d593b2eebaa446886bbf), backslashes unescape has been added
 s = s.replace(/\\\\/g, '\\')
There's no option to disable it, and it is a non backward compatible change in a patch version
Projects like npm-run-all are pointing to ^1.6.0 version of shell-quote and this totally broke its functionality for me.
I was not escaping the backslashes before, and not the backslashes totally disapears on my code...
You might only do this kind of changes on a major version version (2.0.0), or provide an option to disable it.

Instead of trying to escape shell arguments using a utility like this, you should probably be using an API like that provided by cross-spawn where you can pass your arguments as an array.

I don't use directly shell-quote. I use npm-run-all that permits you to chain scripts easily directly from package.json.
I use frequently cross-spawn but here I don't want to create a js file each time to chain 2 calls.
More npm-run-all also uses cross-spawn. Shell-quotes is only used pour parsing the command line.

Sorry, I wasn't watching issues on this repo. I'll look into this today.

thanks

Have you found time to look at this issue ? How do you think you will resolve it ?

Just reverting that change for now, I'm not sure what the best behaviour there would be. The unescaping can lead to funky things in linux bash as well.
:package: 1.7.2

Perfect. Thanks a lot.
Le ven. 30 août 2019 à 20:39, Renée Kooi<EMAIL_ADDRESS>a
écrit :

Just reverting that change for now, I'm not sure what the best behaviour
there would be. The unescaping can lead to funky things in linux bash as
well.
📦 1.7.2
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/substack/node-shell-quote/issues/37?email_source=notifications&email_token=ABIKMMNYZSDFEOF7FMEM4ILQHFSOPA5CNFSM4INCEYNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5SONNY#issuecomment-526706359,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABIKMMIBZUJTMRXSVGLTTBTQHFSOPANCNFSM4INCEYNA
.

Have you publish version 1.7.2 on npm ? Seems to be still in 1.7.1.

oh, I'm on a new laptop and didn't configure npm yet, so the npm publish errored out and i didn't notice! thanks for the ping, i'll do it right now.

Perfect. Seems released now


Updated to check compile-time dims

Submission Checklist

[x] Run unit tests: ./runTests.py test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary:
This updates check_matching_dim so it can also check compile-time rows and cols.
Intended Effect:
This adds a separate function with the same name that uses an extra template parameter to determine whether to check compile-time rows and cols.
How to Verify:
Run test/unit/math/prim/mat/err/check_matching_dims_test.cpp.
Side Effects:
None. This was written so that the original function still behaves as it did beforehand and that the compile time check only happens when an extra template parameter is set to true. No current function sets this parameter to true.
Documentation:
New function is documented.
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
Rayleigh Lei holds the copyright to this work.
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

I'll review this one if nobody else wants to.

Assuming there's a use case for not checking static sizes, this is good to go.

@rayleigh Go ahead and merge yourself when it's done.

I ran grep -r "check_matching_dims" ./ to see where check_matching_dims is being used. The first few results were from probability distributions. I can see it not mattering there if the vectors are wrapped in seq_scalar_view because the distribution function accesses the vectors' values through seq_scalar_view. However, should someone go through and check whether a function using check_matching_dims needs the static sizes check?

The unit tests should have everything covered.  The static size checks are to make sure the containers are the same shape and all the distributions either wrap things in vector views where it doesn't matter or require an exact shape (usually vector or matrix).

Not ambivalent, so much as trying not to be too petty/arbitrary on pull requests.  If you like it the way it is, please leave it that way.

If you're ambivalent about it, I'll leave the spaces because I find the comments more readable with the spaces.

Jenkins, retest this please.

Jenkins, retest this please.

Jenkins, retest this please.

Jenkins, retest this please.

Jenkins, retest this please.

Jenkins, retest this please.

Jenkins, retest this please.

Jenkins, retest this please.

Jenkins, retest this please.


Enable dynamic webhook

kind/enhancement
enterprise

The PR that added the tech preview annotation was #457, I think we should revert more of that PR in this change. Specifically I'm referring to removing isAdmissionControllerSupportEnabled and the additional flag that had been added to the render.APIServer call. That probably also means the pkg/controller/apiserver test files can be removed.

Thanks @tmjd . Idea was to change the logic from default disabled to default enabled, hence this PR (though I agree the function is useless now). Anyhow, with said, I will revert #457 in master tomorrow and then cherry pick to 1.4 as well for calico enterprise 2.8.

replaced with https://github.com/tigera/operator/pull/502


As in the description, this is for embedded targents, can I use it for x86 PC?

Well, I know this may be a silly question.... I just want to make sure if I need to pay attention to something.

Initially it was embedded dedicated but now it can be used on any platform. It's still missing proper tests and benchmarks though.


Extract clean_top_node from clean_doc. Add unit tests to ensure clean…

 Issue by monstrfolk
Sun Dec 13 01:35:49 2020
Originally opened as https://github.com/codelucas/newspaper/pull/863

Extract clean_top_node from clean_doc.
Add unit tests to ensure clean_top_node element exists in clean_doc.

monstrfolk included the following code: https://github.com/codelucas/newspaper/pull/863/commits

v 0.9.1 solved see https://github.com/AndyTheFactory/newspaper4k/issues/497


Created a new starter-kit theme

Newsletter Theme for API Hackathon
view the theme go live : here
Changes Made:

Floating Subscribe Button (Popover):

Introduced a floating subscribe button with a popover for enhanced user interaction.

Header Subscribe Form:

Added a subscribe form to the header for easy access and seamless sign-up.

Optimized Post Rendering:

Reorganized post rendering to prioritize the pinned post, ensuring top visibility.

Footer Social Media Integration:

Included social media icons at the footer.

Debugging:

The code is Debugged and working fine on local host.

Demo : home page
Screencast from 03-02-24 04:36:23 AM IST.webm
Demo : posts
Screencast from 03-02-24 04:41:08 AM IST.webm
Purpose:
These updates aim to elevate our newsletter's user experience and visual appeal, providing a more dynamic and interactive platform at hashnode for our audience. The changes are made in regard of the  #APIHackathon.
I welcome any feedback, suggestions, or improvements to ensure the success of these enhancements. Feel free to review and share your thoughts.
Thank you!

You have shared the incorrect link masterisimail

You have shared the incorrect link masterisimail

thank you so much for correcting 😄
updated it now.

Hi @masterismail,
Thank you for your contribution and for developing this new theme! To keep the core starter kit streamlined, we are not adding new themes directly to the main codebase at this time. Instead, we have featured your theme in the Community Themes section of the README of this repo so that other users can discover and use your theme.
Please let us know incase of any further questions.


Ensure our buffer allocation allows for the Explicit IV

Some ciphers/protocol versions have an explicit IV. We need to make sure we
have sufficient room for it in the underlying buffer.
This fixes a regression introduced during the record layer refactor.

CI is relevant

minimal CI fails still

Fixup pushed hopefully addressing the minimal CI failure. I also added a commit to extend the test to include DTLS.

Merged.


Code formatting

Hi,
I´m using fpdart in an enterprise project and along its usefulness I´m also having a great time using it.
One thing that just bothers me a little bit is the dart code formatter often formats the code in a way that makes the code not as readable as it actually is, e.G. when nesting multiple .maps .folds etc... and inside these function there are lots of calls again.
Does anyone has the same experience or noticed this problem? Im not sure how to solve it, thought maybe the fpdart team has some tips to this?

I assume this is not a specific fpdart problem.
The code style is defined by the official dart linter rules which are used in the recommended (package:lints/recommended.yaml) manner in the project.
But I know there are times that make the code harder to read just because of the formatting.
One tip I can give you is to use the Do() constructor when nesting multiple maps (flapmapping etc.). But beware of the downsides mentioned here.
You can also use teardown functions if possible to make the code shorter in some cases or use the _ identifier when naming a variable. This also makes the explicit type annotation not enforced, when using the specific linter rule.

@danielRi as @zellidev0 mentioned this is related to how dart itself formats the code.
There is a proposal for updating how formatting and trailing commas work.
For now you can either add commas where needed to format the code, or another option would be to use the Do notation.


Added INNOG and SANOG

Added SANOG (31 Jul - 7 Aug, Holiday Inn, Kolkata)
Added INNOG (1-4 Jul, IHC, New Delhi).
SANOG is aimed more at intermediate to advanced levels, INNOG is more at junior to intermediate engineers.

Interesting! LGTM 👍


Fix db:create rake

Fixes #14766
@gonzaloriestra can you check it out since you reported the problem first?
Before the latest upgrade to Sequel 4 this was not a problem because Sequel did not crash when loading the model if the DB was not connected/did not exist.
Proper solution is to remove all Sequel model usage from the initializers, but that started to get complicated quickly, due to things like warden needing the User model.

:heavy_check_mark: Acceptance OK


Release PHPUnit 10 Support

Description
It looks like PHPUnit 10 support has been merged into 1.x but has not yet been released
Is there anything I can do to help get this over the line?

thanks for the reminder - i did not realize i forgot to release. here you go: https://github.com/php-http/psr7-integration-tests/releases/tag/1.4.0

Legend! Thanks @dbu :)


Slider under "Our Impact"  moves too quickly to read in one pass.

The current speed almost allows me to read each one as it comes up.  If it were slightly slower, I wouldn't have to do any mouse interaction to read them all easily.

Thanks for letting us know! We will make adjustments so that it cycles through a bit slower.


Any way to keep enums singular when table names are plural?

Hey!
I have the following schema:
model ConfirmRequest {
  type        ConfirmType @map("type")
  ...

  @@map("confirm_requests")
}

enum ConfirmType {
  EMAIL
  PHONE

  @@map("confirm_type")
}

And I'm running CLI tool as follows:
 prisma-case-format --file ./prisma/schema.prisma --map-table-case snake,plural
So, I need to keep enum @@map singular. Do we have any way to achieve that?
In other words, I need to manage enum transform options separately from table ones.
Thanks for great tool!

I think we ended up managing table & enum case simultaneously, so at this point it's "because legacy".
we could probably add --map-enum-case to run things separately, I just need to make sure that doesn't break backwards compat

That would be great!
Do you have time to do this in 1-2 weeks, or will my help be needed?

I'd love your help! I'm swamped at work this week with some new production rollouts.
If you decide to just implement --map-enum-case without preserving backwards compat that's perfectly fine, we'll just trip a 2.0 version bc there are some people using this in production CI/CD systems.
red-green TDD works pretty well in this repo, haven't had any complaints yet. I think the pattern for test cases is pretty easy to repeat, but let me know if it looks weird. Also, I'm happy to provide some directions on what I think needs to be updated, but my gut feeling is that it'll look pretty clear after a bit.
Oh, and I think both yarn and pnpm work, if you don't want to use npm.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 2221 ms

Resolved: Bofrost.at performance has improved in cf3d9c1.


Add Support for AWS::Signer

AWSSigner
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_Signer.html
Resource Types

AWS::Signer::ProfilePermission
AWS::Signer::SigningProfile

This will be helpful to use Code signing profile to be used in Lambda AWS::Lambda::CodeSigningConfig
Regards,

Thanks for the issue. Didn't see this new resource in the release notes.
Added via commit 4e1e63ee4838c3d49c31f4209e1ae5292fc0904f


feature: add codecov

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ba166f1). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #8   +/-   ##
=========================================
  Coverage          ?   46.85%
=========================================
  Files             ?       11
  Lines             ?      350
  Branches          ?        0
=========================================
  Hits              ?      164
  Misses            ?      186
  Partials          ?        0

Continue to review full report at Codecov.

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


Uncaught Exception: Attempting to call a function in a renderer window that has been closed or released. Function provid

An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.0.1
Time: Tue Mar 22 2016 21:56:22 GMT-0400 (US Eastern Daylight Time)
Error:
Attempting to call a function in a renderer window that has been closed or released. Function provid
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object.<anonymous> (C:\Users\andre\AppData\Local\GPMDP_3\app-3.0.1\resources\app\build\inject\GPMInject\interface\mouseButtonNavigation.js:8:8.
    at BrowserWindow.callIntoRenderer (C:\Users\andre\AppData\Local\GPMDP_3\app-3.0.1\resources\atom.asar\browser\lib\rpc-server.js:201:19)
    at emitTwo (events.js:92:20)
    at BrowserWindow.emit (events.js:172:7)

This issue was created automatically inside the uncaughtException handler

Submitted as requested by the GPMDP built-in bug reporter.
This only began happening after the 3.0.1 update.
It appears to occur when I switch back into GPMDP after using another window; I don't even have to interact with GPMDP--the bug report is already in a pop-up.

Also, there's no time-out on this error window; so I have to let GPMDP open a new internet tab to report the bug in order for the notification to go away.

Closing this automatically reported issue as a duplicate of #470


Add all recent projects to the project dashboard

https://github.com/open-innovations/dashboard/blob/main/data/projects.csv

I've added JRF and leeds schools cultural engagement to the projects.csv file in dashboard. Not sure what else needs adding.
@slowe @taz-chiles

[ ] lcc economics

Here is the list that I am aware of. These need to be checked that they are up-to-date in the dashboard file @luke-strange links at the top. But they may also need individual "hub" pages creating/updating. Some may be best on a "World of economics" page on the website rather than have specific hub pages.

[ ] LSIP (perhaps add to "World of Economics" page rather than create another page on our website)
[ ] YFF Phase 2 (add to https://open-innovations.org/projects/youth-futures-foundation/)
[ ] University of Leeds project
[ ] Tax devolution
[ ] JRF North Insight Finder (hub page in progress)

Currently those things are all in the projects dashboard (apart from UoL project - not sure what that is?). The links are as follows:

LSIP link is to the LSIP website. (do we want it to link to a World of economics page instead?)
YFF project link goes to the right place. We just need to add phase 2 info onto that page.
Tax devo goes to Christian's github repo for that project. Should it go somewhere else?
JRF currently links to the github repo for jrf. This can be updated once it has a project hub page.

@slowe there is also probably the Leeds City Council Economic Data Partner, unless that is already taken care of?
Cool, University of Leeds project is also the Leeds-Schools-Cultural-Engagement project. There is a website & repo for this, both on the OI github.
In terms of tickets it looks like there are a few things:

Re: YFF - there is already a ticket for updating the hub page for Phase 2. @taz-chiles has taken this on. YFF Phase 2 shouldn't be a seperate project I think, I think it's probably all just YFF - but I'll leave others to make that call.
There is probably a ticket to be made re: creating a hub page for the 'Leeds Schools Cultural Engagement' project, which will be a joint effort probably between myself and @slowe (Stuart to create the hub page & add website and repo links, and me to help write a blog post).
Ensure there is a ticket for making a project page for JRF

Outside of that, there is something to work out with others about whether LSIP and Tax devo should do on to the world of economics, or have its own hub page which is linked to from the world of economics. (latter of which kind of feels appropriate given there might be various blogs about this)

I've done the stuff I'm involved with on this. I'll leave @ChristianSpence to work with you all on the more economics focussed projects!

Same comment about where this resides as #8 - to discuss with @slowe next week

Yes, this could be attached to the dashboard repo instead.


Jumping to Home or End is limited by local message buffering

If you do a search (e.g. "stream:wg-traits meeting") over a stream with lots of unread messages (>= 300 unread messages or so), hitting "End" to try to jump to the end of the list does not actually jump to the end of all the messages.
For example, it seems like hitting End (or keyboard G) jumps to whatever number of messages is currently buffered, and then loads a chunk of messages (not sure how many, it might on the order of 100 messages). You have to hit the same key multiple times, or use the scrollbar, to actually get to the end of the set of messages. This is frustrating when the user wants to see the most recent discussion related to a search query, rather whatever it was the user happened to last read.

(This is something that is frustrating one of the Rust team members using Zulip for team discussion.)

Hello pnkfelix,
This issue does look mildly frustrating and I will take a look to see what can be done to fix this issue.
Regards,
Travis Z.

@pnkfelix thanks for the report.  I guess the mouse option of "mark all messages as read" does this properly, and we should do something about it.
There's also been discussion that probably search queries should ignore which messages are read/unread for determining where to place you; I think that's https://github.com/zulip/zulip/issues/9893.

Closing in favor of #14971, which is a duplicate with an actual implementation plan.


"npm install -g truecallerjs" this code is not working

"npm install -g truecallerjs" this code is not working and terminal gives me (nmp ERR) ... what can i do for open truecallrjs and how can i work truecallerjs and how can i search any phone number in Türkiye contry...???????

Run using sudo
sudo npm install -g truecallerjs


[ServiceBus] Update README.md to remove uamqp logging

Remove uamqp logging from main README section to backward compatibility section.

/check-enforcer override


Incompatibility With ArchitectureCraft

Whenever I assemble / dissasemble my planes, boats, subs, etc near slopes, pillars, etc from ArchitectureCraft, they turn into the default shape (a wooden slope). Here's my latest.log:
http://pastebin.com/iJJQyYev

So does this happen on assembly, or on disassembly? Also,  could I have a link to ArchitectureCraft?

I've experimented with this, and when I dissasemble, it happens. So I assembled and got on it, moved it to another location, got out of it, fixed the slopes, and drove it back there and dissasembled it. It happened again. So it looks like it happens on both. Oh and here's the link to ArchitectureCraft:
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2489461-architecturecraft-1-0-0-for-minecraft-1-8-0

If I reload the world it goes back to normal. This also happen's with WorldEdit  and other mods. Don't think it's a problem with ur mod. Thanks 4 helping though :)

Hmm, so if you reload the world it changes back, most likely a desync issue
then.
On Tue, Aug 11, 2015 at 3:25 PM jadenPete<EMAIL_ADDRESS>wrote:

If I reload the world it goes back to normal. This also happen's with
WorldEdit and other mods. Don't think it's a problem with ur mod. Thanks 4
helping though :)
—
Reply to this email directly or view it on GitHub
https://github.com/darkevilmac/archimedes-ships-plus/issues/42#issuecomment-130096371
.

You got it. I think it's a problem with ArchitectureCraft. I would tell him, but he doesn't seem to very active. Can you help me?

Closing as it seems to be an issue with that mod more than AS+. Not something I can fix without making a special exception in the code and if I did that for every mod that didn't work I would have A LOT of exceptions to make. :stuck_out_tongue:


perf: refactor ref management

Try to see if we can use some of the code from streams. Right now, we have quite inefficient performSubscriptions on ref update. Maybe we also don't need to keep a copy of dataValues inside Ref component, but read directly from each dataSource store' stream.
These are some random thoughts, but just leaving there for future self.

Another comment:
What if, instead of resolving refs into primitive values inside findAllRefs by accessing whatever we have resolved previously in the dataValues, we mapped each ref value directly to useStream(dataSource.get(storePath))). That way, we would not need to keep track of updating those values or whatever, b/c that's essentially useExternalStore.

Going to close it in favour of another one.


Drop pypy support

If still you want pypy support, please help us.

Have there been any issues?

Simply, there are no resources that is needed to support pypy.
For example, the cause of recent CI errors is pypy, but I do not want to spend time to fix it.


Try to match the first expression fails

I have an expression:
Var
  = _ keyword: 'var' ?
    _ name: Name
    _ '='
    _ value: ( Number / Bool  / Value )
    {
     ...
    }

It tries to match Number but when it fails inside Number, the whole expression fails. It is not going to match Bool nor Value.
Have someone idea why is that?
Thanks for help

Could you add to your message the Number, Bool and Value definitions?

Thanks for answer. Unfortunately I cannot.
Why if it fails inside Number it does not goes further to Bool?

Are you using expected() or error() functions inside your Number rule? That functions immediately throws an SyntaxError, so there is no backtracking after them. If you need to backtrack, you should use semantic predicates to check conditions instead.
If you do not want to deal with tracer setup, you alternatively could try to add a temporal logging to your rule:
Var
  = _ keyword: 'var' ?
    _ name: Name
    _ '='
    _ value: ( n:Number { console.log('Number parsed', n); return n; } / Bool  / Value )
    {
     ...
    }

I use ... ! expression inside Number. Do you think that matters?

Using this complete peggy grammar, I'm seeing correct backtracking:
Var
  = _ keyword: 'var' ?
    _ name: Name
    _ '='
    _ value: ( Number / Bool  / Value )
    {
     return {name, value}
    }

Name = $[a-z]i+
Number = !"0" n:$[0-9]+ { return parseInt(n, 10) }
Bool
  = "true"i
  / "false"i
Value = $[a-z0-9]i+

_ = [ \t]*

I used the ! in Number to prevent leading zeros, and pushed numbers with leading zeros to be a Value (without numeric decoding).  So, the input foo = 10 gives { name: 'foo', value: 10 } and the input foo = 010 gives: { name: 'foo', value: '010' }.   So i backtraced it. The Number wasn't failing. The Number expression matched incorrectly and that's why Var was failing.

@MarcinZmudka would you mind closing this issue if you no longer need help?


Add a config struct to control uart async data framing

This is proposed for comments. Assuming it looks ok, I will document and implement onthe other usarts.

The approach should be independent of any MCU specific flags

I didn't see the need for this given that the construction of the serial interface is entirely MCU dependent (ie you specify the actual USART and pins to use).
Are you suggesting I should make a local copy of the STOPW enum, and them map back to the MCU specific one?

There should be some builder functions to make up the configuration

I'm new to rust, and am largely unaware of preferred coding patterns. Given that the internal implementation is unlikely to change, what's the reason to prefer a builder over a simple struct with a corresponding default value?

Thanks for the answers - I'll follow up with another commit.

You chose to use stm32::usart6::cr2::STOPW to initialise USART2

Is that wrong? I think the MCU crate generated by svd2rust only generates the types for usart6, and then reuses them for the other compatible USARTs.

Is that wrong? I think the MCU crate generated by svd2rust only generates the types for usart6, and then reuses them for the other compatible USARTs.

Actually you're right, I was reading that as capital USART6. However the UARTs have their set of registers produced as uart4 and those are not compatible with the usart6 registers and values, so my point still stands. ;)

Hopefully close to what you had in mind?

Looks good on first glance, except that it's not using the builder pattern. ;)
In your approach you'd do something like:
let mut config = Config::new(115_200);
config.set_parity_even();
config.set_wordlength_9();
...
let mut serial = usart2(..., config);

OTOH the builder pattern returns takes ownership of the structure and then returns the modified structure back to the caller, so you'd end up with:
let config = Config::new(115_200).set_parity_even(). set_wordlength_9();
...
let mut serial = usart2(..., config);

or you could just do it in a single let mut serial line, too:
let mut serial = usart2(..., Config::new(115_200).set_parity_even(). set_wordlength_9());

I'd probably get rid of the set_, too, for brevity sake.
I'll have to inspect the rest of it a bit closer later and give it a test run.
PS: What are we going to do about the other U(S)ARTs? I'm afraid we'll either have to multiply the changes in or we'll have to macrofy it first.

What are we going to do about the other U(S)ARTs? I'm afraid we'll either have to multiply the changes

I assumed that serial.rs wasn't using macros for a reason.
Once the changes on USART2 looked ok, I intended to multiply the changes.

I assumed that serial.rs wasn't using macros for a reason.

My laziness. ;)

I thought that the new method that took all non defaultable parameters was
preferable. But happy to change it to a default instance with an arbitrary
baud rate.
On Wed., 10 Oct. 2018, 08:41 Daniel Egger<EMAIL_ADDRESS>wrote:

@therealprof requested changes on this pull request.
Looks and works fantastic!
I'd like to see a few minor changes and then this is ready to go in.
Please:

move the new() method into a parameterless Default implementation
for Config, you can choose the baudrate however you like, ensure that
the return type is Self
add a setter for the baudrate
new() can go
run rustfmt

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/therealprof/stm32f4xx-hal/pull/8#pullrequestreview-163109644,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB52nvieegwhdVaDQsy7bW15BJ-L63gqks5ujRf1gaJpZM4XM5rG
.

Whether to supply parameters to new or not is a preference thing. Providing a Default implementation is almost always a good thing and there's a clippy lint happily complaining if you have a new method but no default method.

On switching back to a default trait rather than a new() method it seems a little harder to use...
This:
        let config : serial::config::Config = Default::default()
            .baudrate(100_000.bps())
            .parity_even()
            .wordlength_9()
            .stopbits(serial::config::StopBits::STOP2);

doesn't build:
  --> src/main.rs:60:47
   |
60 |         let config : serial::config::Config = Default::default()
   |                                               ^^^^^^^^^^^^^^^^^^ cannot infer type for `Self`
   |
   = note: type must be known at this point

I seem to need to write:
        let config : serial::config::Config = Default::default();
        let config = config
            .baudrate(100_000.bps())
            .parity_even()
            .wordlength_9()
            .stopbits(serial::config::StopBits::STOP2);

is there a better way?

I was still expecting to duplicate to the other USARTs....

Try:
let config = serial::config::Config::default();

BTW. Thanks for your guidance along the way. This is pretty much my first rust code.

@timbod7 Do that in another PR and earn yourself a Hacktoberfest shirt. ;)


Reduce cardinality of path tag

Yesterday, we connected production to Datadog and started seeing metrics! 🎉 Unfortunately, we quickly realized that there were far too many values being sent for the path tag. 😞

To avoid this, I've modified the Jira Axios client to always use Express.js-like route parameters to interpolate user data into paths and to remove URL query parameters. This should reduce the total number of path values we send to Datadog and save us 💰.
✨ Props to @jules2689 for warning of this problem before it happened!

Looks great. Sorry I didn't take a look sooner (I did, but apparently forgot to press "send" on my approve 🙃)


Routes: Migrate the Direction panel to React

Description
Last step of the direction panel migration to React, after sub-parts were already converted separately:

Result and roadmap in https://github.com/QwantResearch/erdapfel/pull/364
Point inputs in https://github.com/QwantResearch/erdapfel/pull/464
Vehicle mode selector in https://github.com/QwantResearch/erdapfel/pull/478

What remained was the panel logic itself, which is now converted to a React container (aka. large stateful component). There are some complex things to manage (ex: mobile-specific view, url management, restoration of the previous view, etc.), but overall I think the resulting component is clearer than before.
There is also a lot of CSS simplification.
Why
This is the last panel still using doT.js \o/

Labeled WIP because I'm still fighting with integration test, but shouldn't be too hard.

Labeled WIP because I'm still fighting with integration test, but shouldn't be too hard.


are these colors keywords?

In the Responsive Web Design challenge adjust-the-hue-of-a-color.md
there are these sentences

Your code should use the hsl() function to declare the color green.

Your code should use the hsl() function to declare the color cyan.

Your code should use the hsl() function to declare the color blue.

As I don't think these colors are keywords, I propose to remove the backticks for translation purposes

Bit of a weird one, tbh.  Those all are html color codes, but they're really just being used as names for colors.  Anyways, it seems reasonable to stop using them as keywords, honestly.

Sure, I agree that they shouldn't be keywords.  I was just speculating as to why they're currently keywords.

I was playing around with the markdown syntax and feel like bolding the colors like this looks neat.
For example:

Your code should use the hsl() function to declare the color blue.

I also tried italicizing:

Your code should use the hsl() function to declare the color blue.

Or I can also bold and italicize it:

Your code should use the hsl() function to declare the color blue.

Let me know what you think looks best


Latest release v0.3.1 is failing with 'esbuild' error

esbuild is not used by my project, it is in use by contentlayer and crashing the build when upgraded to latest release v0.3.1.
Others have faced similar issue with esbuild version in use:
https://github.com/badeball/cypress-cucumber-preprocessor/issues/929#issuecomment-1400825144
Build error: ERROR: Invalid option in build() call: "watch"
https://github.com/evanw/esbuild/issues/2841
error: Error: Build failed with 1 error:
--
23:01:30.823 | /vercel/path0/src/node_modules/.pnpm/esbuild@0.17.14/node_modules/esbuild/lib/main.js:255:12: ERROR: Invalid option in build() call: "watch"
23:01:30.823 | at failureErrorWithLog (/vercel/path0/src/node_modules/.pnpm/esbuild@0.17.14/node_modules/esbuild/lib/main.js:1636:15)
23:01:30.823 | at /vercel/path0/src/node_modules/.pnpm/esbuild@0.17.14/node_modules/esbuild/lib/main.js:953:16
23:01:30.823 | at responseCallbacks.<computed> (/vercel/path0/src/node_modules/.pnpm/esbuild@0.17.14/node_modules/esbuild/lib/main.js:697:9)
23:01:30.823 | at handleIncomingPacket (/vercel/path0/src/node_modules/.pnpm/esbuild@0.17.14/node_modules/esbuild/lib/main.js:752:9)
23:01:30.823 | at Socket.readFromStdout (/vercel/path0/src/node_modules/.pnpm/esbuild@0.17.14/node_modules/esbuild/lib/main.js:673:7)
23:01:30.823 | at Socket.emit (node:events:513:28)
23:01:30.823 | at Socket.emit (node:domain:489:12)
23:01:30.823 | at addChunk (node:internal/streams/readable:315:12)
23:01:30.823 | at readableAddChunk (node:internal/streams/readable:289:9)
23:01:30.823 | at Socket.Readable.push (node:internal/streams/readable:228:10) {
23:01:30.823 | errors: [ [Object] ],
23:01:30.823 | warnings: []
23:01:30.823 | },
23:01:30.824 | _tag: 'UnknownEsbuildError',
23:01:30.824 | toString: [Function (anonymous)],
23:01:30.824 | [Symbol()]: {
23:01:30.824 | error: Error: Build failed with 1 error:
23:01:30.824 | /vercel/path0/src/node_modules/.pnpm/esbuild@0.17.14/node_modules/esbuild/lib/main.js:255:12: ERROR: Invalid option in build() call: "watch"
23:01:30.824 | at failureErrorWithLog (/vercel/path0/src/node_modules/.pnpm/esbuild@0.17.14/node_modules/esbuild/lib/main.js:1636:15)
23:01:30.824 | at /vercel/path0/src/node_modules/.pnpm/esbuild@0.17.14/node_modules/esbuild/lib/main.js:953:16
23:01:30.824 | at responseCallbacks.<computed> (/vercel/path0/src/node_modules/.pnpm/esbuild@0.17.14/node_modules/esbuild/lib/main.js:697:9)
23:01:30.824 | at handleIncomingPacket (/vercel/path0/src/node_modules/.pnpm/esbuild@0.17.14/node_modules/esbuild/lib/main.js:752:9)
23:01:30.824 | at Socket.readFromStdout (/vercel/path0/src/node_modules/.pnpm/esbuild@0.17.14/node_modules/esbuild/lib/main.js:673:7)
23:01:30.824 | at Socket.emit (node:events:513:28)
23:01:30.824 | at Socket.emit (node:domain:489:12)
23:01:30.824 | at addChunk (node:internal/streams/readable:315:12)
23:01:30.824 | at readableAddChunk (node:internal/streams/readable:289:9)
23:01:30.824 | at Socket.Readable.push (node:internal/streams/readable:228:10) {
23:01:30.824 | errors: [Array],
23:01:30.824 | warnings: []
23:01:30.824 | }
23:01:30.824 | },
23:01:30.824 | [Symbol()]: [ 'error' ]
23:01:30.825 | }
23:01:30.835 | ELIFECYCLE  Command failed with exit code 1.
23:01:30.860 | Error: Command "pnpm run build" exited with 1
23:01:31.248 | BUILD_UTILS_SPAWN_1: Command "pnpm run build" exited with 1

ok I fixed it by force upgrade. There seems to have been a problem with pnpm upgrade.


Is There A Doc For Sass Development?

Is there a document to describe the appropriate way to set up Concise for development with Sass in such a way that Concise updates don't overwrite changes?

Not yet, but my advice is to put all your styles in separate files like this:
At the end of concise.scss
...

// Custom
@import "custom";

custom.scss
// All my custom syles in this file

or
// All my custom styles in different separated files
@import "custom/myStylesA";
@import "custom/myStylesB";
@import "custom/myStylesC";

To update just replace all the files except custom.scss or/and all the files in a custom directory.
Currently we are working in the version 3 of Concise and will use this approach.

But if I want to change a Concise Sass variable I need to do that before then end of the concise.scss file.

If you want to change an existing variable you can do it in the same place, for example, if you want to change something in _variables.scss you just rewrite the value. The problem with this is that you'll need to remember the files changed before to update to make a backup.
If you want to add a new variable my advice is to do it into your custom styles (custom.scss or something similar). So you can update without any problem.
The reason to add a ```custom.scss`` file at the end is to inherit all the previous styles. You can do it in another place but maybe you will have some problems, remember the way CSS works (in cascade)
Another advice for this is update manually only what you actually need. Usually there is no need to update the whole thing each time, if you website works you don't need to worry about it. When a new version is released you can check the changelog and see if there is anything you can benefit from the update.

That's not a good system. I think there needs to be a structure in which a Sass developer can work to make design customizations that will not be overwritten by a framework upgrade.
Per haps that can be a focus for a future version?

I completely agree with that, and yes, that's one of the problems we plan to solve with version 3 of the framework. But I must say that is really hard to come up with a perfect solution because the way preprocessors work today, it's really hard to make a framework perfectly upgradable and with zero redundancies at the same time, but we are working in getting the best solution possible.

A way might be for the developer to have the main .scss file call parts of Concise something like this:
@import the concise mix-ins
@import the concise variables

override variables as needed

@import the concise main scss

override individual styles

Could a system like that work?

Yes, that could work perfectly except for the styles; You will end up with redundancies since the compiler won't really override styles like it does with variables, but this might not be a serious problem depending of the size of your project. Sometimes 1kb extra isn't a big deal.

Yes, there will be a probably necessary redundancy between Concise's styles and whatever styles are overridden. Not too bad, unless someone tries to override nearly all of Concise!

Exactly and the core of the next version will be pretty small so I think this is the way to go.
This is almost the same approach we are using with the next version, but we had not thought about the variables so thanks for the idea!


pass conda base path to cluster jobs

Description
The conda base path determined on the main Snakemake process is now passed on to jobs (in particular in the cluster). Fixes #1009.
QC

[x] The PR contains a test case for the changes or the changes are already covered by an existing test case.
[x] The documentation (docs/) is updated to reflect the changes or this is not necessary (e.g. if the change does neither modify the language nor the behavior or functionalities of Snakemake).

Hi, I'm using snakemake on a HPC with SGE. When I submit snakemake jobs using --cluster qsub --use-conda, snakemake still is unable to locate my conda install and I get the error  The 'conda' command is not available in $PATH. When I explicitly pass my conda path to snakemake using qsub -V, snakemake fails to make the required environments with the packages I need (conda list as the shell command in my rule shows only the env that snakemake was called from). Any help would be appreciated! Thanks.


[mgmt] storagemover release

https://github.com/Azure/sdk-release-request/issues/4589

API change check
API changes are not detected in this pull request.


Move vue to peer dependencies

This fixes warning when running app built with rollup and build error when build with webpack for yarn@2 users.
Additionally updated README.md to include note for plugin developers to include vue and @vue/composition-api in their peer dependencies to make them compatible with yarn@2 too.

Great, thanks!


Support for ':' characters in PV prefix

This PR adds support for PV prefixes with contain ':' (colon) characters, such as PANDA:ES. The existing code failed to properly handle such PVs, since the _RecordUpdater class was separating PV name into prefix and record name by splitting the PV name using ':' as a separator. Changes proposed in this PR, replace splitting-based method by explicit removal of the known prefix from the PV name. The record_prefix is added as an attribute of the _RecordUpdater class.
The changes are not expected to modify the behavior of the IOC. Unit tests are modified to reflect changes in the code.

The failing test is test_bobfiles_created. It is not related to changes in this PR, since the test was failing before any changes were made. The new set of files can be generated if necessary.

The failing test is test_bobfiles_created. The failure is not related to changes in this PR, since the test was failing before any changes were made. The new set of files can be generated if necessary.

This is fixed in https://github.com/PandABlocks/PandABlocks-ioc/pull/92


Latest translations not updated

A few weeks ago, the spanish version of the Beyond the Threshold expansion had a lot of text untranslated in the original MoM App. Creators fixed it and updated the texts. But I install valkirie from scratch but these texts are not translated. (you can check it by exploring %AppData%\Roaming\Valkyrie\MoM\import\text\Localization_es.txt and searching for the text of the key COMMON_ITEM_25_AUTOMATIC, every BtT items are not translated).
I think Valkirie is not updating these text changes because te MoM App already fixed it, as I opened the app I shown me the latest updates info with the version 1.3.7 (700).
Is it possible that valkyrie can't refresh these stream texts? the app updates from the MoM original rource? or valkyrie stores it in some Github repo?

To clarify, did you do a reimport?

Yes I did. and deleted evereything from %appData% and restarted from scratch

I can reproduce this, but I don't know where the updates are coming from if Valkyrie isn't getting them.

I can't reproduce this in MoM 1.4.1/Valkyrie 1.6.0d.  If the problem comes back please reopen.


groups: spacing between "sidebar sections" could use additional vertical height

The current implementation of our sidebar section elements omits some vertical spacing we've specified for increased legibility of the interface:

Under the last row in a given "section", the idea is to provide ~24px (or the tailwind spacing equivalent) of vertical margin/padding before the start of the next section:

For the latest spec of the sidebar, please refer to this frame:
https://www.figma.com/file/YLjErBShApNlWpE44nqnbC/Indigo-FW2022?node-id=1929%3A8836&t=fiLduCDLx2OULAe9-1


Add support for onRangeChange when view changes

I noticed that the when you changed the view handleRangeChange was receiving and using the previous view because getView() had a stale prop. This PR fixes that.
I wasn't sure if PRing on this fork was best, but seemed reasonable. I will make a comment in the already approved PR on the original intljusticemission repo that this should be reviewed.
Please let me know if there is anything else I should include with this as it is a feature that I need in my current project and would be happy to fiddle some more. Thanks @jhockett and @jquense!
Referencing #641

Thanks for letting me know about this @drewandrew
Can you elaborate on why the prop is stale from .getView()? I'll look into this more this week

The onRangeChange method is being called from handleViewChange and handleNavigate but only handleNavigate was passing in it's argument (the next date) to onRangeChange. Instead of receiving the next view from handleViewChange,  onRangeChange immediately calls getView() which uses a stale prop because state hasn't updated yet. I think the state is updated via the HOC, uncontrollable, but this doesn't happen until after getView() is called.

Closing as this should be fixed now while still supporting custom views


Rolle's and Mean Value Theorem

Hi ! I would like to add "Rolle's Theorem" and "Mean Value Theorem" about Differentiation.
Kindly assign this to me under GSSoC.

Are u adding a calculator for it? Because theorems are already present.

Okay! Got it!
Thank you.


docker client command with ca file option

[root@~:/root] docker login my-custom.registry.io
Username: admin
Password:
Error response from daemon: Get https://my-custom.registry.io/v2/: x509: certificate signed by unknown authority
[root@~:/root]]

Docker guides to copy the certificate to a specific path(In my case, /etc/docker/certs.d/my-custom.registry.io/ca.crt).
After I put the certificate in that place, the login will succeed.
But is is it possible to flag the certificate to be selected in the docker client command?
(like --ca-file option)

This is the wrong repository to ask this question in. Please ask in https://github.com/docker/cli


Improve AssetController

Description
Asset history are only accessible through Kuzzle standard API and ES query language.
It would be more convenient to have a high level API to retrieve a range of history documents: assets/<assetId>/history?start=12345&end=54321

in the 2-dev version it is possible to find a mesure between two dates. However with the data model it would be interesting to have filter on the type or on the name of the measure.
Find measures between two dates of position type.

@jpdalbi This is actually possible with a raw ES query but I will suggest to add those parameters in this high level API action as well :+1:

This is not very useful because document:search on measures collection already allows to do that


sales.py does not work as shown in video on the vmdk

looks like the vmdk currently available does not seem to work on a few issues.  here's the latest i've found.  any way you could publish the one you used to create the course?  thanks in advance!
student@hadoop:~/Projects/hadoop-fundamentals/spark$ spark-submit sales.py
Spark assembly has been built with Hive, including Datanucleus jars on classpath
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
16/07/08 10:46:03 WARN Utils: Your hostname, hadoop resolves to a loopback address: <IP_ADDRESS>; using <IP_ADDRESS> instead (on interface eth0)
16/07/08 10:46:03 WARN Utils: Set SPARK_LOCAL_IP if you need to bind to another address
16/07/08 10:46:03 INFO SecurityManager: Changing view acls to: student,
16/07/08 10:46:03 INFO SecurityManager: Changing modify acls to: student,
16/07/08 10:46:03 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users with view permissions: Set(student, ); users with modify permissions: Set(student, )
16/07/08 10:46:04 INFO Slf4jLogger: Slf4jLogger started
16/07/08 10:46:04 INFO Remoting: Starting remoting
16/07/08 10:46:04 INFO Remoting: Remoting started; listening on addresses :[akka.tcp://sparkDriver@<IP_ADDRESS>:60725]
16/07/08 10:46:04 INFO Remoting: Remoting now listens on addresses: [akka.tcp://sparkDriver@<IP_ADDRESS>:60725]
16/07/08 10:46:04 INFO Utils: Successfully started service 'sparkDriver' on port 60725.
16/07/08 10:46:04 INFO SparkEnv: Registering MapOutputTracker
16/07/08 10:46:04 INFO SparkEnv: Registering BlockManagerMaster
16/07/08 10:46:05 INFO DiskBlockManager: Created local directory at /tmp/spark-local-20160708104605-73f8
16/07/08 10:46:05 INFO Utils: Successfully started service 'Connection manager for block manager' on port 57473.
16/07/08 10:46:05 INFO ConnectionManager: Bound socket to port 57473 with id = ConnectionManagerId(<IP_ADDRESS>,57473)
16/07/08 10:46:05 INFO MemoryStore: MemoryStore started with capacity 267.3 MB
16/07/08 10:46:05 INFO BlockManagerMaster: Trying to register BlockManager
16/07/08 10:46:05 INFO BlockManagerMasterActor: Registering block manager <IP_ADDRESS>:57473 with 267.3 MB RAM
16/07/08 10:46:05 INFO BlockManagerMaster: Registered BlockManager
16/07/08 10:46:05 INFO HttpFileServer: HTTP File server directory is /tmp/spark-01df407f-52ad-42c9-94d8-95c8674993eb
16/07/08 10:46:05 INFO HttpServer: Starting HTTP Server
16/07/08 10:46:05 INFO Utils: Successfully started service 'HTTP file server' on port 39558.
16/07/08 10:46:05 INFO Utils: Successfully started service 'SparkUI' on port 4040.
16/07/08 10:46:05 INFO SparkUI: Started SparkUI at http://<IP_ADDRESS>:4040
16/07/08 10:46:06 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
16/07/08 10:46:06 INFO Utils: Copying /home/student/Projects/hadoop-fundamentals/spark/sales.py to /tmp/spark-11ec83a1-cf85-4cf3-bac0-7ebc4dbf254d/sales.py
16/07/08 10:46:07 INFO SparkContext: Added file file:/home/student/Projects/hadoop-fundamentals/spark/sales.py at http://<IP_ADDRESS>:39558/files/sales.py with timestamp<PHONE_NUMBER>974
16/07/08 10:46:07 INFO AkkaUtils: Connecting to HeartbeatReceiver: akka.tcp://sparkDriver@<IP_ADDRESS>:60725/user/HeartbeatReceiver
16/07/08 10:46:07 INFO MemoryStore: ensureFreeSpace(163705) called with curMem=0, maxMem=280248975
16/07/08 10:46:07 INFO MemoryStore: Block broadcast_0 stored as values in memory (estimated size 159.9 KB, free 267.1 MB)
Traceback (most recent call last):
File "/home/student/Projects/hadoop-fundamentals/spark/sales.py", line 60, in
months = months.reduceByKey(add)
File "/srv/spark/python/pyspark/rdd.py", line 1375, in reduceByKey
return self.combineByKey(lambda x: x, func, func, numPartitions)
File "/srv/spark/python/pyspark/rdd.py", line 1564, in combineByKey
numPartitions = self._defaultReducePartitions()
File "/srv/spark/python/pyspark/rdd.py", line 1952, in _defaultReducePartitions
return self.getNumPartitions()
File "/srv/spark/python/pyspark/rdd.py", line 391, in getNumPartitions
return self._jrdd.partitions().size()
File "/srv/spark/python/lib/py4j-<IP_ADDRESS>-src.zip/py4j/java_gateway.py", line 538, in call
File "/srv/spark/python/lib/py4j-<IP_ADDRESS>-src.zip/py4j/protocol.py", line 300, in get_return_value
py4j.protocol.Py4JJavaError: An error occurred while calling o36.partitions.
: org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: file:/home/student/Projects/hadoop-fundamentals/spark/shopping/orders.csv
at org.apache.hadoop.mapred.FileInputFormat.singleThreadedListStatus(FileInputFormat.java:285)
at org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.java:228)
at org.apache.hadoop.mapred.FileInputFormat.getSplits(FileInputFormat.java:304)
at org.apache.spark.rdd.HadoopRDD.getPartitions(HadoopRDD.scala:179)
at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:204)
at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:202)
at scala.Option.getOrElse(Option.scala:120)
at org.apache.spark.rdd.RDD.partitions(RDD.scala:202)
at org.apache.spark.rdd.MappedRDD.getPartitions(MappedRDD.scala:28)
at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:204)
at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:202)
at scala.Option.getOrElse(Option.scala:120)
at org.apache.spark.rdd.RDD.partitions(RDD.scala:202)
at org.apache.spark.api.python.PythonRDD.getPartitions(PythonRDD.scala:56)
at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:204)
at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:202)
at scala.Option.getOrElse(Option.scala:120)
at org.apache.spark.rdd.RDD.partitions(RDD.scala:202)
at org.apache.spark.api.python.PythonRDD.getPartitions(PythonRDD.scala:56)
at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:204)
at org.apache.spark.rdd.RDD$$anonfun$partitions$2.apply(RDD.scala:202)
at scala.Option.getOrElse(Option.scala:120)
at org.apache.spark.rdd.RDD.partitions(RDD.scala:202)
at org.apache.spark.api.java.JavaRDDLike$class.partitions(JavaRDDLike.scala:50)
at org.apache.spark.api.java.JavaRDD.partitions(JavaRDD.scala:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)
at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:379)
at py4j.Gateway.invoke(Gateway.java:259)
at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:133)
at py4j.commands.CallCommand.execute(CallCommand.java:79)
at py4j.GatewayConnection.run(GatewayConnection.java:207)
at java.lang.Thread.run(Thread.java:745)
student@hadoop:~/Projects/hadoop-fundamentals/spark$

Yeh, Spark errors are terrible, but this is a pretty simple one once you figure out how to weed out all the cruft:
Input path does not exist:
/home/student/Projects/hadoop-fundamentals/spark/shopping/orders.csv

So, it looks like you just need to unzip the orders.csv file and place it at that path, or you could modify sales.py with the path to the data set on disk.
If you go to the "minimizing the verbosity of Spark" section in this post: https://districtdatalabs.silvrback.com/getting-started-with-spark-in-python -- hopefully that will help you clean up the massive amount of logging text that is spit out.


cannot import name 'compiler'

Hello,
System information
I try to run a code on Google Colab. I'm using Tensorflow 2.2.0
When I try to run my code to import tensorflow_probability as tfp.
import tensorflow_probability as tfp import tensorflow as tf
And then when I execute I get :
ImportError: cannot import name 'compiler'

@LucasColas
I have tried in colab with TF version 2.2.0 and i am not seeing any issue.Please, find the gist here..Thanks!

I tried your gist, and now it's working ! I think it was a problem of version. Thank you !

@LucasColas
I am closing this thread as your issue was resolved.Thanks!


Updated MAINTAINERS.md format.

Coming from https://github.com/opensearch-project/.github/issues/121, updated MAINTAINERS.md to match opensearch-project recommended format.

Codecov Report

Merging #200 (982c63d) into main (65907c2) will increase coverage by 0.16%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main     #200      +/-   ##
============================================
+ Coverage     84.99%   85.16%   +0.16%
- Complexity      376      377       +1
============================================
  Files            52       52
  Lines          1186     1186
  Branches         98       98
============================================
+ Hits           1008     1010       +2
+ Misses          137      135       -2
  Partials         41       41

Impacted Files
Coverage Δ

...earch/geospatial/index/mapper/xypoint/XYPoint.java
74.13% <0.00%> (+3.44%)
:arrow_up:

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

Can we please get this merged? @VijayanB who else needs to approve it?


mopidy-iris: 3.37.0 -> 3.37.1

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Changes just seem to bundle the snapcast server with the Dockerfile0
So these changes appear innocuous to me since it states
This is the most reliable way to get audio out of a Docker instance.


Strong-typed 3D+ heterogenous Cartesian

Cartesian only supports up to two arguments. It would be nice to be able to to for three or more items, all the way up to
Cartesion<T1, T2, ..., T16, TReturn>(
   T1 object1, T2 object2, ..., T16 object16,
   Func<T1, T2, ..., T16, TReturn> resultSelector)

It should be possible to automate this process by generating the methods, similar to what is done for Fold.
(Migrated from discussions in #338. A superset of #488.)

Volunteering for this one.

16D Cartesian sounds excessive. Shall we limit to 8 dimensions and expand if someone ever comes yelling & needing more? I know it's the exact same effort when the code is generated but just challenging the YAGNI argument here. And before I get challenged back for why 16 for Fold then I'll say up front that there even an arity of 16 isn't enough there. The use case for the two is different. There are way, way more chances of finding 16 elements or more in a sequence than 16 sequences!

This is not quite done - the README needs to be updated.


demultiplex exec output into stdout / stderr

另外 ok  	github.com/projecteru2/core/cluster/calcium	1.086s	coverage: 89.7% of statements 覆盖率下降了 0.1%

另外 ok  	github.com/projecteru2/core/cluster/calcium	1.086s	coverage: 89.7% of statements 覆盖率下降了 0.1%


[tf2.0] LSTMCell get_initial_state went wrong when batch_size is a Tensor

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Linux Ubuntu 18.04
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
Not Clear
TensorFlow installed from (source or binary):
binary
TensorFlow version (use command below):
2.0.0
Python version:
3.6.8
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
10.0
GPU model and memory:

You can collect some of this information using our environment capture
script
You can also obtain the TensorFlow version with: 1. TF 1.0: python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)" 2. TF 2.0: python -c "import tensorflow as tf; print(tf.version.GIT_VERSION, tf.version.VERSION)"
Describe the current behavior
LSTMCell get_initial_state went wrong when batch_size is a Tensor
Describe the expected behavior
I think it should gives a good result
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
import tensorflow as tf
a = tf.keras.Input(shape=(10,), batch_size=2)
batch_size = tf.shape(a)[0]
cell = tf.keras.layers.LSTMCell(units=1024)
b = cell.get_initial_state(batch_size=batch_size, dtype=tf.float32)
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/array_ops.py", line 2355, in zeros
tensor_shape.TensorShape(shape))
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/tensor_shape.py", line 776, in init
self._dims = [as_dimension(d) for d in dims_iter]
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/tensor_shape.py", line 776, in
self._dims = [as_dimension(d) for d in dims_iter]
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/tensor_shape.py", line 718, in as_dimension
return Dimension(value)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/tensor_shape.py", line 193, in init
self._value = int(value)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'Tensor'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 1610, in _create_c_op
c_op = c_api.TF_FinishOperation(op_desc)
tensorflow.python.framework.errors_impl.InvalidArgumentError: Duplicate node name in graph: 'zeros/packed'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "test7.py", line 10, in
b = cell.get_initial_state(batch_size=batch_size, dtype=tf.float32)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/layers/recurrent.py", line 2314, in get_initial_state
self, inputs, batch_size, dtype))
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/layers/recurrent.py", line 2752, in _generate_zero_filled_state_for_cell
return _generate_zero_filled_state(batch_size, cell.state_size, dtype)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/layers/recurrent.py", line 2768, in _generate_zero_filled_state
return nest.map_structure(create_zeros, state_size)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/util/nest.py", line 535, in map_structure
structure[0], [func(*x) for x in entries],
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/util/nest.py", line 535, in
structure[0], [func(*x) for x in entries],
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/keras/layers/recurrent.py", line 2765, in create_zeros
return array_ops.zeros(init_state_size, dtype=dtype)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/array_ops.py", line 2358, in zeros
shape = ops.convert_to_tensor(shape, dtype=dtypes.int32)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 1184, in convert_to_tensor
return convert_to_tensor_v2(value, dtype, preferred_dtype, name)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 1242, in convert_to_tensor_v2
as_ref=False)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 1296, in internal_convert_to_tensor
ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/array_ops.py", line 1278, in _autopacking_conversion_function
return _autopacking_helper(v, dtype, name or "packed")
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/array_ops.py", line 1214, in _autopacking_helper
return gen_array_ops.pack(elems_as_tensors, name=scope)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/ops/gen_array_ops.py", line 6304, in pack
"Pack", values=values, axis=axis, name=name)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/op_def_library.py", line 793, in _apply_op_helper
op_def=op_def)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/func_graph.py", line 548, in create_op
compute_device)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 3429, in _create_op_internal
op_def=op_def)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 1773, in init
control_input_ops)
File "/usr/local/lib/python3.6/dist-packages/tensorflow_core/python/framework/ops.py", line 1613, in _create_c_op
raise ValueError(str(e))
ValueError: Duplicate node name in graph: 'zeros/packed'

I could reproduce the issue with TF 2.0 on colab. Please see colab gist. Thanks!

@Yablon Why do you want to pass batch_size as a tensor? obviously it will throw an error as it was not expecting a tensor. Please let us know any reason behind that change? Thanks!

@jvishnuvardhan my code is a little bit complicated and I try to simplify it like the following codes.
I use the official tensorflow_addons module in my code, which is in the original tf.contrib module.
I have to get the initial input for the decoder, and I want to use the batch_size from the input data, because I don't want a fixed batch in my training.
My code goes wrong and I spend a day to find the lstmcell problem.
Does I use tf2 in a wrong way ? how can I make the following codes work ?
Thank you for spending time on my issue. You are very appreciated, and I really want to benefit from the tensorflow 2.0. Hope you give me some advices one that issue.
`
from tensorflow import tf
from tensorflow_addons import seq2seq
from utils import SomeConvolutions, SomeRNNs
class Example(tf.keras.Model):
def init(self, hparams):
# hparams parameters saved here
self.hparams = hparams
# embedding
self.embedding = tf.keras.layers.Embedding(hparams.symbol_len, hparams.embedding_size, mask_zero=True)
# self defined convolution layer
self.convolutions = SomeConvolutions(hparams)
# self defined rnns layer
self.rnns = SomeRNNs(hparams)
# The official tensorflow_addons class.
self.sampler = seq2seq.TrainingSampler()
# The official tensorflow_addons class
self.attention_mechanism = seq2seq.BahdanauAttention(hparams.units)
# the official keras cell
self.cell = tf.keras.LSTMCell(hparams.units)
# official class that wraps a cell and attention mechanism as a cell
self.attention_wrapper = seq2seq.AttentionWrapper(self.cell, self.attention_mechanism, output_attention=True)
# the official decoder
self.decoder = seq2seq.BasicDecoder(self.attention_wrapper, self.sampler)
def call(self, inputs):
# compute embedding
embedded = self.embedding(inputs)
# compute memories for attention
memories = self.rnns(self.convolutions(embedded))
# setup memories
self.attention_mechanism(memories, setup_memory=True)
# get batch_size and input_shape from input, to form initial_input and initial_state
batch_size = tf.shape(embedded)[0]
input_shape = [batch_size, self.hparams.input_dim]
# get initial_state. In decoder wrapper, self.cell.get_initial_state is called, where my issue occurs
initial_state = self.decoder_wrapper.get_initial_state(batch_size=batch_size, dtype=tf.float32)
initial_input = tf.fill(input_shape, self.hparams.init_value)
# calculate seq2seq result
(output, _), _, _ = self.decoder(initial_input, initial_state=initial_state)
return output

model = Example(hparams=hparams)
datasef = tf.data.Dataset(...)
model.compile(...)
model.fit(dataset, epochs=..., callbacks=...)
`

@Yablon Can you create a standalone code with some data? Thanks!

@jvishnuvardhan Thank you for your reply !
After clearing my redundant codes, I think the problem is solved for now. I can train my model since 12 hours ago. I think TF2.0 is better to develop and debug than TF1.x.
Sorry for the interuption.

lstm_cell =tf.keras.layers.LSTM(units=hidden_unit)
lstm_cell = tf.nn.RNNCellDropoutWrapper(lstm_cell, output_keep_prob=self.dropout_keep_prob)
self._initial_state = lstm_cell.get_initial_state(128, tf.float32)
Got  ERROR

ValueError: slice index 0 of dimension 0 out of bounds. for 'strided_slice' (op: 'StridedSlice') with input shapes: [0], [1], [1], [1] and with computed input tensors: input[1] = <0>, input[2] = <1>, input[3] = <1>.
may I know why I am getting this error?

@niranjan8129 Please open a new issue with details of issue and a simple standalone code to reproduce the issue. thanks!


Dataset URL does not work

The dataset url mentioned in data.txt does not work. My guess is the url expires after some time. If possible, can you please push the datasets to Huggingface?

Hi, thank you for your interest. The url should be working now.

The datasets have been uploaded to Huggingface.


Migrate to Github Actions from Travis CI

Fixes #25.

Looks like it ran ok - https://github.com/Nirvikalpa108/sbt-groll/runs/3658461122

Thanks, guys!


Correct AesGcmEncryption.java

In decryption the update AAD was missing.

wtf why was the example working before??? :-/


Build failure on Linux

I am having trouble building Vim on latest Linux Mint 19.2 and Debian 10.2. I am using ./configure with --enable-gui=no. Output from make below:
touch objects/.dirstamp
CC="gcc -Iproto -DHAVE_CONFIG_H       " srcdir=. sh ./osdef.sh
gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1        -o objects/arabic.o arabic.c
In file included from vim.h:250,
                 from arabic.c:31:
auto/osdef.h:18:12: error: conflicting types for ‘printf’
 extern int printf(char *, ...);
            ^~~~~~
In file included from os_unix.h:21,
                 from vim.h:224,
                 from arabic.c:31:
/usr/include/stdio.h:332:12: note: previous declaration of ‘printf’ was here
 extern int printf (const char *__restrict __format, ...);
            ^~~~~~
In file included from vim.h:250,
                 from arabic.c:31:
auto/osdef.h:19:12: error: conflicting types for ‘fprintf’
 extern int fprintf(FILE *, char *, ...);
            ^~~~~~~
In file included from os_unix.h:21,
                 from vim.h:224,
                 from arabic.c:31:
/usr/include/stdio.h:326:12: note: previous declaration of ‘fprintf’ was here
 extern int fprintf (FILE *__restrict __stream,
            ^~~~~~~
In file included from vim.h:250,
                 from arabic.c:31:
auto/osdef.h:20:12: error: conflicting types for ‘sprintf’
 extern int sprintf(char *, char *, ...);
            ^~~~~~~
In file included from /usr/include/features.h:424,
                 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed/limits.h:194,
                 from /usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed/syslimits.h:7,
                 from /usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed/limits.h:34,
                 from vim.h:40,
                 from arabic.c:31:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:34:1: note: previous definition of ‘sprintf’ was here
 __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...))
 ^~~~~
In file included from vim.h:250,
                 from arabic.c:31:
auto/osdef.h:28:12: error: conflicting types for ‘fwrite’
 extern int fwrite(char *, int, int, FILE *);
            ^~~~~~
In file included from os_unix.h:21,
                 from vim.h:224,
                 from arabic.c:31:
/usr/include/stdio.h:658:15: note: previous declaration of ‘fwrite’ was here
 extern size_t fwrite (const void *__restrict __ptr, size_t __size,
               ^~~~~~
In file included from vim.h:250,
                 from arabic.c:31:
auto/osdef.h:66:15: error: conflicting types for ‘strftime’
 extern size_t strftime(char *, size_t, char *, struct tm *);
               ^~~~~~~~
In file included from os_unix.h:139,
                 from vim.h:224,
                 from arabic.c:31:
/usr/include/time.h:88:15: note: previous declaration of ‘strftime’ was here
 extern size_t strftime (char *__restrict __s, size_t __maxsize,
               ^~~~~~~~
In file included from vim.h:250,
                 from arabic.c:31:
auto/osdef.h:74:12: error: conflicting types for ‘atoi’
 extern int atoi(char *);
            ^~~~
In file included from /usr/include/features.h:424,
                 from /usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed/limits.h:194,
                 from /usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed/syslimits.h:7,
                 from /usr/lib/gcc/arm-linux-gnueabihf/8/include-fixed/limits.h:34,
                 from vim.h:40,
                 from arabic.c:31:
/usr/include/stdlib.h:361:1: note: previous definition of ‘atoi’ was here
 __NTH (atoi (const char *__nptr))
 ^~~~~
In file included from vim.h:250,
                 from arabic.c:31:
auto/osdef.h:121:12: error: conflicting types for ‘chdir’
 extern int chdir(char *);
            ^~~~~
In file included from os_unix.h:52,
                 from vim.h:224,
                 from arabic.c:31:
/usr/include/unistd.h:497:12: note: previous declaration of ‘chdir’ was here
 extern int chdir (const char *__path) __THROW __nonnull ((1)) __wur;
            ^~~~~
In file included from vim.h:250,
                 from arabic.c:31:
auto/osdef.h:129:12: error: conflicting types for ‘write’
 extern int write(int, char *, size_t);
            ^~~~~
In file included from os_unix.h:52,
                 from vim.h:224,
                 from arabic.c:31:
/usr/include/unistd.h:366:16: note: previous declaration of ‘write’ was here
 extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur;
                ^~~~~
make: *** [Makefile:3059: objects/arabic.o] Error 1

I don't have any issues building on macOS following build instructions.

I can build fine using ./configure --enable-gui=no && make on Linux Mint 19.2
I am building v8.1.2333

Did you try "make distclean"?

Did you try "make distclean"?

Yes, it's still the same output.

Could we see the output of apt-cache show libc6-dev?

Sure, below:
Package: libc6-dev
Source: glibc
Version: 2.28-10+rpi1
Architecture: armhf
Maintainer: GNU Libc Maintainers<EMAIL_ADDRESS>Installed-Size: 12221
Depends: libc6 (= 2.28-10+rpi1), libc-dev-bin (= 2.28-10+rpi1), linux-libc-dev
Suggests: glibc-doc, manpages-dev
Conflicts: libc0.1-dev, libc0.3-dev, libc6.1-dev
Breaks: binutils (<< 2.26), binutils-gold (<< 2.20.1-11), cmake (<< 2.8.4+dfsg.1-5), gcc-4.4 (<< 4.4.6-4), gcc-4.5 (<< 4.5.3-2), gcc-4.6 (<< 4.6.0-12), libhwloc-dev (<< 1.2-3), libjna-java (<< 3.2.7-4), liblouis-dev (<< 2.3.0-2), liblouisxml-dev (<< 2.4.0-2), libperl5.26 (<< 5.26.1-3), make (<< 3.81-8.1), pkg-config (<< 0.26-1)
Provides: libc-dev
Multi-Arch: same
Homepage: https://www.gnu.org/software/libc/libc.html
Priority: optional
Section: libdevel
Filename: pool/main/g/glibc/libc6-dev_2.28-10+rpi1_armhf.deb
Size: 2113428
SHA256: dbb46d458bf0665d6caeae487f6c62210a754625cc1ebad9efc26d79544ae062
SHA1: acdac21a611164fe162af37d7868f888d2cf4289
MD5sum: f8cb4b9bfc83aa92710c1dadcc20e7c6
Description: GNU C Library: Development Libraries and Header Files
 Contains the symlinks, headers, and object files needed to compile
 and link programs which use the standard C library.
Description-md5: 1bbdc717d9acdb44db940928d570e749

I'll have to test building on RPi later. I'm building OK with libc6-dev=2.28.10 on armhf.

Below output from Mint 19.2:
Package: libc6-dev
Architecture: amd64
Version: 2.27-3ubuntu1
Multi-Arch: same
Priority: optional
Section: libdevel
Source: glibc
Origin: Ubuntu
Maintainer: Ubuntu Developers<EMAIL_ADDRESS>Original-Maintainer: GNU Libc Maintainers<EMAIL_ADDRESS>Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 18812
Provides: libc-dev
Depends: libc6 (= 2.27-3ubuntu1), libc-dev-bin (= 2.27-3ubuntu1), linux-libc-dev
Suggests: glibc-doc, manpages-dev
Conflicts: libc0.1-dev, libc0.3-dev, libc6.1-dev
Breaks: binutils (<< 2.26), binutils-gold (<< 2.20.1-11), cmake (<< 2.8.4+dfsg.1-5), gcc-4.4 (<< 4.4.6-4), gcc-4.5 (<< 4.5.3-2), gcc-4.6 (<< 4.6.0-12), libhwloc-dev (<< 1.2-3), libjna-java (<< 3.2.7-4), liblouis-dev (<< 2.3.0-2), liblouisxml-dev (<< 2.4.0-2), libperl5.26 (<< 5.26.1-3), make (<< 3.81-8.1), pkg-config (<< 0.26-1)
Filename: pool/main/g/glibc/libc6-dev_2.27-3ubuntu1_amd64.deb
Size: 2586592
MD5sum: 5124b57040a51b04d96e190a36c2c8f1
SHA1: 7b948442903694a1211c96809b8f17ca0be542a0
SHA256: e426c70a940a7d0c5c95823a5fd01f26bd8bcb08d109df2f8c96c439da8dc440
Homepage: https://www.gnu.org/software/libc/libc.html
Description-en: GNU C Library: Development Libraries and Header Files
 Contains the symlinks, headers, and object files needed to compile
 and link programs which use the standard C library.
Description-md5: 1bbdc717d9acdb44db940928d570e749
Task: lubuntu-gtk-desktop, lubuntu-desktop, lubuntu-qt-desktop, ubuntustudio-graphics
Build-Essential: yes
Supported: 5y

I am able to build with the same version and OS.

I am able to build with the same version and OS.

Any ideas about what could cause it?

what version did you try this?

what version did you try this?

(Always) Latest master.

I am getting the same error even on WSL with the latest master. Is there something am I missing? Like a dependancy or something else?

What is the distribution and version on WSL?
How do you install the dependencies?
Typical way to install the dependencies on Debian-based environments might be:
$ sudo apt install build-essential
$ sudo apt build-dep vim

When you see an error with build-dep command, you need to edit /etc/apt/sources.list and enable the deb-src entries. Or if you want to install only minimal packages:
$ sudo apt install git gettext libtinfo-dev libacl1-dev libgpm-dev

BTW, auto/osdef.h is created by osdef.sh. Maybe you need to debug osdef.sh?


Standardise & Simplify relocation hand-off for segrep and remote store

Is your feature request related to a problem? Please describe.
Relocation hand-off is a mechanism to transfer the state from an older primary to a recovering newer primary by creating a barrier between in-flight indexing operations and relocating operations and allowing the relocation to complete followed by draining in-flight operations.
Today for native segrep we acquire all indexing operation permits(barrier) and then perform a round of segrep syncing files from the older primary while blocking in-flight requests all this while. This can potentially increase the indexing latency.
In the context of remote store we need to simplify guarantees around a single writer and ensure no two writers are writing in the same primary term. The checkpoint is only published at the end of segment upload. Writes to segments happens as a part of remote refresh listener which is guaranteed to execute inside a refresh lock. Meaning a new refresh cannot start till the previous refresh has concluded including publication of checkpoints and refresh checkpoint upload.
Describe the solution you'd like
One option to simplify this is to acquire single permit for refreshes so that indexing operations and refreshes can happen concurrently(doesn't block indexing operations). Once we are able to acquire all permits, we are sure no in-flight transfer operations(checkpoint publication or remote segment uploads) are happening. At this point we avoid another round of segrep and get to the handoff. The new primary would require replaying the delta operations from translog but that should be minimal(benchmark to confirm). This avoid higher indexing latencies at the cost of replaying the delta operations but at the same time also simplifies guarantees around writers and keeps the design agnostic of the remote store.
Describe alternatives you've considered
Separate permits only for remote store and ensure we are able to acquire all permits for remote store uploads before we handoff

Re-opening this to understand the implication of this change and see if the original approach needs to be evaluated as well.

/cc: @ashking94


Adding a new type of route

Is it possible to include another type of route? I'm talking about this one. https://github.com/gatakka/PGF-Router The performance is quite good and it doesn't uses regular expressions.

I suggest writing a RouterInterface adapter and, potentially, a service container factory for the implementation, and publishing a repository with those. We can then link to it in our documentation as an alternative, and, if enough people are using it, add it to the skeleton installer.
For examples of packages publishing routers, please see:

https://github.com/zendframework/zend-expressive-aurarouter
https://github.com/zendframework/zend-expressive-fastroute
https://github.com/zendframework/zend-expressive-zendrouter


Cannot submit "Support form"

Description
Problem when submitting support form
Steps to reproduce

Go to /en/form-builder/support
Fill out required fields
Submit
See error

Details

Browser: Chrome
Operating system: Mac
Environment: App router PR
Language: EN/FR
Viewport: Desktop

Screencapture
https://github.com/cds-snc/platform-forms-client/assets/38330843/5ee13ed7-0685-4171-86a5-0ada93363de9
Expected behaviour
https://github.com/cds-snc/platform-forms-client/assets/38330843/dd004f8b-8f0e-41b1-961b-20a11eb98dbd

Looks like an issue with the environment. It works locally but not in the PR environment. I'll close this for now


"Writing more data than expected (3494 > 2374)" when trying to install deb packages in Docker

Hello, I'm getting this error when trying to install Ruby in my Docker build:
...
OK
Hit:1 http://security-cdn.debian.org stretch/updates InRelease
Ign:2 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:4 http://cdn-fastly.deb.debian.org/debian stretch Release
Ign:3 https://dl.bintray.com/fullstaq/fullstaq-ruby-apt debian-9 InRelease
Get:6 https://dl.bintray.com/fullstaq/fullstaq-ruby-apt debian-9 Release [1844 B]
Get:7 https://dl.bintray.com/fullstaq/fullstaq-ruby-apt debian-9 Release.gpg [821 B]
Get:8 https://dl.bintray.com/fullstaq/fullstaq-ruby-apt debian-9/main amd64 Packages [2374 B]
Err:8 https://dl.bintray.com/fullstaq/fullstaq-ruby-apt debian-9/main amd64 Packages
  Writing more data than expected (3494 > 2374)
  Hashes of expected file:
   - Filesize:2374 [weak]
   - SHA256:0399fd3ee79ac6cca359112a2bf5f6484a2db80264ea38bcc299bae438504015
   - SHA1:3ce2991459f3edd7906676319720d300af0cae02 [weak]
   - MD5Sum:da2f102eb5e3c121fadeae9a14aad2ae [weak]
  Release file created at: Fri, 04 Oct 2019 14:04:15 +0000
Fetched 2665 B in 2s (986 B/s)
Reading package lists...
E: Failed to fetch https://dl.bintray.com/fullstaq/fullstaq-ruby-apt/dists/debian-9/main/binary-amd64/Packages.gz  Writing more data than expected (3494 > 2374)
   Hashes of expected file:
    - Filesize:2374 [weak]
    - SHA256:0399fd3ee79ac6cca359112a2bf5f6484a2db80264ea38bcc299bae438504015
    - SHA1:3ce2991459f3edd7906676319720d300af0cae02 [weak]
    - MD5Sum:da2f102eb5e3c121fadeae9a14aad2ae [weak]
   Release file created at: Fri, 04 Oct 2019 14:04:15 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c apt-get update   && apt-get install -y gnupg apt-transport-https ca-certificates curl   && curl -SLfO https://raw.githubusercontent.com/fullstaq-labs/fullstaq-ruby-server-edition/master/fullstaq-ruby.asc   && apt-key add fullstaq-ruby.asc   && echo 'deb https://apt.fullstaqruby.org debian-9 main'   > /etc/apt/sources.list.d/fullstaq-ruby.list   && apt-get update   && apt-get install -y   fullstaq-ruby-2.5.7-jemalloc   && apt-get remove gnupg -y   && apt-get autoremove -y   && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100

Dockerfile
FROM bitnami/minideb:stretch

RUN apt-get update \
  && apt-get install -y gnupg apt-transport-https ca-certificates curl \
  && curl -SLfO https://raw.githubusercontent.com/fullstaq-labs/fullstaq-ruby-server-edition/master/fullstaq-ruby.asc \
  && apt-key add fullstaq-ruby.asc \
  && echo 'deb https://apt.fullstaqruby.org debian-9 main' \
  > /etc/apt/sources.list.d/fullstaq-ruby.list \
  && apt-get update \
  && apt-get install -y \
  fullstaq-ruby-2.5.7 \
  && apt-get remove gnupg -y \
  && apt-get autoremove -y \
  && rm -rf /var/lib/apt/lists/*

ENV PATH="/usr/lib/fullstaq-ruby/versions/2.5.7/bin:${PATH}"

Thanks!

Sorry, I think this is only happening when I use the bitnami/minideb:stretch base image.
It works fine when I use debian:stretch-slim


make feeOpt dependent on minimum utxo

Issue Number

Overview

[x] I have make feeOpts dependent on minUtxoval
[ ] I have made fee balancing algorithm be aware of dust threshold

Comments

bors try

bors try


Update openrpc tooling dependency

Contains bug fixes to the js template code that lives in the tooling repo. That fixes bugs that exist in this code and the other sdk code that uses the shared template code.

:tada: This PR is included in version 0.9.1-next.1 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.10.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add getColumns() for the QueryBuilder

See this example:

const query = knex.table('foo').select("test.*")

// ... later

const rows = await query
  .join('bar', { 'foo.bar': 'bar.id' })
  .columns( ...query.getColumns(), 'bar.id as barId')

rows[0].barId// 2
rows[0].id // 1

I looked through the source and didn't find this functionality; but know it is technically retrievable from the query instance, somewhere.
If this is doable some other way let me know, but from my tests multiple .columns() calls simply overwrites columns.

Ok, I just tested it again and .columns() is inclusive. I have no idea how I didn't get that behaviour previously, but hey.


MockFileSystem doesn't throw UnauthorizedAccessException when overriding a hidden file

The MockFileSystem doesn't behave the same way as the real FileSystem.
I know, its a mock, but this would be handy ;)
Testcode (if you want a PR with a real test case, just tell me)
        // Arrange
        var fileSystem = new MockFileSystem(new Dictionary<string, MockFileData>
        {
            { @"C:\\Document\\Stuff\\MyDoc.foobar", new MockFileData("this is hidden") },
        });
        fileSystem.File.SetAttributes(@"C:\\Document\\Stuff\\MyDoc.foobar", FileAttributes.Hidden);

        // Act - this should thrown an UnauthorizeAccessException
        fileSystem.File.WriteAllText(@"C:\\Document\\Stuff\\MyDoc.foobar", "hello world");

        // No Exception thrown, but it should - like in the real world
        // http://stackoverflow.com/questions/2246990/how-do-i-write-to-a-hidden-file
        var content = fileSystem.File.ReadAllText(@"C:\\Document\\Stuff\\MyDoc.foobar");

content contains "hello world".

hi @robertmuehsig
i can not reproduce the behavior of the last call with the real file system.
var content = fileSystem.File.ReadAllText(@"C:\\Document\\Stuff\\MyDoc.foobar");
Following code is used:
    var p = @"c:\tmp\test12.txt";
    File.SetAttributes(p, FileAttributes.Hidden);
    File.ReadAllText(p);

it does not throw an UnauthorizeAccessException exception with .net 4.0.
can you give me more details.

The UnauthorizedAccessException is only thrown when you try to override that file -  reading is fine.

Von: Manuel<EMAIL_ADDRESS>Gesendet: ý24.ý01.ý2015 20:10
An<EMAIL_ADDRESS>Cc: Robert<EMAIL_ADDRESS>Betreff: Re: [System.IO.Abstractions] MockFileSystem doesn't throw UnauthorizedAccessException when overriding a hidden file (#92)
hi @robertmuehsighttps://github.com/robertmuehsig
i can not reproduce the behavior of the last call with the real file system.
var content = fileSystem.File.ReadAllText(@"C:\Document\Stuff\MyDoc.foobar");
Following code is used:
var p = @"c:\tmp\test12.txt";
File.SetAttributes(p, FileAttributes.Hidden);
File.ReadAllText(p);

it does not throw an UnauthorizeAccessException exception with .net 4.0.
can you give me more details.
—
Reply to this email directly or view it on GitHubhttps://github.com/tathamoddie/System.IO.Abstractions/issues/92#issuecomment-71342248.

fixed with #99

:+1: Awesome!


Blobs storage trigger throws exception during compilation

When attempting to build a Function App 2 project configured for blob trigger, it fail while building.
Using Visual Studio 2017 Version 15.8.2. Azure Functions and Web Jobs tools 15.10.2046.0.
Source code on Github here.
Error screenshot

1>------ Build started: Project: BlobFunctionAppTest, Configuration: Debug Any CPU ------
1>BlobFunctionAppTest -> D:\Playground\Azure > FunctionMonkey\FunctionMonkeyBlobTest\BlobFunctionAppTest\bin\Debug\netcoreapp2.0\bin\BlobFunctionAppTest.dll
1>
1>Unhandled Exception: FunctionMonkey.ConfigurationException: CS0246:The type or namespace name 'Uri' could not be found (are you missing a using directive or an assembly reference?) > SourceFile([518..521))CS0012:The type 'Uri' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Private.Uri, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. SourceFile([1842..1870))
1>   at FunctionMonkey.Compiler.Implementation.AssemblyCompiler.CompileAssembly(IReadOnlyCollection1 syntaxTrees, IReadOnlyCollection1 externalAssemblyLocations, OpenApiOutputModel openApiOutputModel, String outputBinaryFolder, String outputAssemblyName, String assemblyNamespace, TargetEnum target)
1>   at FunctionMonkey.Compiler.Implementation.FunctionCompiler.Compile() in C:\wip\myOpenSource\functionMonkey\Source\FunctionMonkey.Compiler\Implementation\FunctionCompiler.cs:line 94
1>   at FunctionMonkey.Compiler.Program.Main(String[] args) in C:\wip\myOpenSource\functionMonkey\Source\FunctionMonkey.Compiler\Program.cs:line 47

What might be the problem that is happening here?
Note: I used the output source in place of FunctionAppConfiguration, it worked as expected.

Thanks for reporting this - I believe its an issue with how an assembly is resolved for Roslyn and am just working on a fix now.

I was able to replicate this using your provided source (thank you very much for that) and then resolve it. v0.18.7 of FunctionMonkey.Compiler is indexing in NuGet at the moment.
Any more issues please let me know, and thanks again!


[requires.io] dependency update on master branch

[Current coverage][cc-pull] is 85.59% (diff: 100%)

Merging [#5][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master         #5   diff @@
==========================================
  Files            11         11
  Lines           368        368
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            315        315
  Misses           53         53
  Partials          0          0

Powered by Codecov. Last update [57223ee...8d9eb8e][cc-compare]
[cc-base-branch]: https://codecov.io/gh/20c/munge/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/20c/munge/compare/57223eef608fda1a29d02b82efe356bd946c6f85...8d9eb8e9b9e0cebe086182853ccac8ca0562ba2e?src=pr
[cc-pull]: https://codecov.io/gh/20c/munge/pull/5?src=pr


Anonymous property not allowed to have some type

Describe the bug
let _: some Equatable = true // error: 'some' type can only be declared on a single property declaration

Expected behavior
The described limitation need not apply to an irrefutable pattern, since there is no harm in regarding it as a single declaration.
Environment
Swift version 5.8-dev (Swift d124b3581b588b8)
I am pretty confident this is an adequate candidate for a first-time issue, but I have not run any tests against the small correction this seems to require.

I'm not sure this is really a bug. There's no property being declared here, the expression is just evaluated for its side effect. What purpose would an opaque result type have here?

I won’t go as far as calling it a bug either, but I don’t see the point in having this exception, unless we have to break sweat to it work.

I think it can be justified as follows: some P declares an opaque return type declaration that is associated with a value declaration. let _: some P = foo() has no associated value declaration, it's a pattern binding declaration whose pattern does not bind any variables. So there is no value declaration to attach the opaque return type declaration to.

hey i want to work on this issue but i'm a beginner to open source. Could you please guide me through it.

I am removing the good first issue label for now because this

needs more discussion
might not be as trivial to implement as originally anticipated
is low priority


Support more syslog message formats

Currently loki.source.syslog only supports RFC5424 formatted messages. In #305 the issue is raised that RFC-3164 formatted messages lead to an error. PR #1556 was opened to address this with RFC-3164 support. There are other commonly used syslog formats, like CEF, by hardware vendors. As the syslog message format cannot be changed in these devices, it would be great if Alloy supported more message formats.
As adding support for every syslog message format might not be feasible, I suggest to add raw as option to the new syslog_format field, which is introduced in #1556 . This option skips any parsing and forwards the complete syslog message as is. This allows adding a 'loki_process' component in the chain and do custom parsing.

I am currently researching the possibility of using Loki and Alloy for collecting logs for our servers and devices, however at it's current state it's a real pain to work with.
For example we have a Watchguard firewall cluster, which works perfectly with syslog-ng as a syslog server, while Alloy refuses to accept logs.
Please add support for more log formats to make our lives and choices easier.

I am currently researching the possibility of using Loki and Alloy for collecting logs for our servers and devices, however at it's current state it's a real pain to work with. For example we have a Watchguard firewall cluster, which works perfectly with syslog-ng as a syslog server, while Alloy refuses to accept logs. Please add support for more log formats to make our lives and choices easier.

You can forward these Log types to a syslog-ng/rsyslog which should convert the logs to RFC5424 which can be forwarded to alloy.

I am currently researching the possibility of using Loki and Alloy for collecting logs for our servers and devices, however at it's current state it's a real pain to work with. For example we have a Watchguard firewall cluster, which works perfectly with syslog-ng as a syslog server, while Alloy refuses to accept logs. Please add support for more log formats to make our lives and choices easier.

You can forward these Log types to a syslog-ng/rsyslog which should convert the logs to RFC5424 which can be forwarded to alloy.

Or use Vector to do the same, but the point would be to use only one service/program to this and not have to learn or use another.