[documentation improvement] better breakpoints explanation.

How does breakpoints really work? Documentation is not very clear about it.

It doesn't explain what does the number mean.? (is it the max-width, or min-width).
It doesn't explain what happens to properties which are not defined in the breakpoint:

Does it take the values defined "outside" the breakpoints?
Does it take the values defined in the higher or lower breakpoint?
Or maybe it takes the default values and ingores other breakpoints values?

Lets consider the following example:
$('#js-slider').slick({
    infinite: false,
    slidesToShow: 1,
    responsive: [{
        breakpoint: 640,
        settings: {
            slidesToShow: 2
        }
    }, {
        breakpoint: 320,
        settings: {
            infinite: true
        }
    }]
});

I assume that the plugin follows the mobile firs approach, so:

from 0px to 320px. infinite is set to false, slidesToShow is set to 1
from 320px to 640px infinite is set to true (explicitly defined), slidesToShow is set to 1 (because it inherits values defined outside the breakpoints)
from 640px to ∞ infinite is true (inherited from the previous breakpoint),  slidesToShow is set to 2 (explicitly defined)

Correct me please if I'm wrong. And If I'm wrong then I might be not the only one who doesn't fully understand the docs.
If I'm right, then still it would be good to fix the example given in the documentation. If the plugin follows the mobile first approach then it would be better to define lower breakpoints before the higher ones.

Just throwing in a few cents here if it helps:
I tried both of the following and they appear to give to same results.
I noticed that in both cases, while the carousel functionality 'unslicks' when resizing the window (and changes the slidesToShow value as expected), it doesn't 'reslick' when resizing back.
`
$('.carousel').slick({infinite:true, speed:500,
responsive: [
{breakpoint:3000,
settings: 'unslick'
},
{breakpoint:1000,
settings: {slidesToShow:3,slidesToScroll:3}
},
{breakpoint:750,
settings: {slidesToShow:2,slidesToScroll:2}
},
{breakpoint:500,
settings: {slidesToShow:1, slidesToScroll:1}
}
]
});
$('.carousel').slick({infinite:true, speed:1000,
responsive: [
{breakpoint:500,
settings: {slidesToShow:1, slidesToScroll:1}
},
{breakpoint:750,
settings: {slidesToShow:2,slidesToScroll:2}
},
{breakpoint:1000,
settings: {slidesToShow:3,slidesToScroll:3}
},
{breakpoint:3000,
settings: 'unslick'
}
]
});
`

I noticed that as well let me give you my 2 cents:

For some reason the plugin is NOT mobile first you have to set it to true.
Also the plugin is not responsive back but i think that could be fixed with a jquery event handler  or something, for me it's not that big of a deal…

Here's what I made
$('.carousel').slick(
  respondTo : 'window'
  mobileFirst : true
  responsive : [
    {
      breakpoint : 1200
      settings :
        slidesToShow : 3
        slidesToScroll : 3
    }
    {
      breakpoint : 768

      settings :
        slidesToShow : 2
        slidesToScroll : 2
    }
    {
      breakpoint : 480
      settings : 'unslick'
    }
  ]
)

You've done most of the work, here, already :)
Why don't you create a wiki page for it, @kenwheeler can you turn on the wiki ?

@simeydotme is it me your asking? lol if so, how can I do that? I've never done a wiki thing before :stuck_out_tongue_closed_eyes:

well, all comments in the thread contribute to a full an detailed explanation :)
I agree there could be a better documentation than the one currently... the options are:

Pollute the readme with the details
@kenwheeler  spends a bunch of time updating the demo site
@kenwheeler turns on the Wiki and we can all contribute :)

Let's see what Ken says

@simeydotme
I'd love to improve the docs. But first I'd like to know are all of my assumptions correct. One is wrong for sure: the plugin is not mobile first by default. So my assumptions might be correct only if I set mobileFirst to true.

I don't know what all the bitching is about mobileFirst being an option.  I've already stated we'll consider making the version 2.0 mobile-first on @mike3run's thread.
If you really want to contribute -- not just moan that we won't make everyone's website break by switching to mobileFirst -- then go ahead and figure out the way it works (it's actually very simple) and create a fork with a new file called: RESPONSIVE.md with all the necessary documentation.
I'll be very happy to review and merge.
Si.

@simeydotme
I never complained the plugin is not mobile first. It was only my assumption and I was wrong (I didn't notice mobileFirst option in the documentaion).
The point of this topic was not to complain but to clarify how does mobile feature work because the documentation is not clear enough for me.


cp: cannot stat 'ratbagd.service': No such file or directory

Hello again. I hate to be a bother but after compiling and installing ratbagd I try and install the dbus  portion as it states to do. However after each command I get the these errors.
richard@Mercury ~ $ sudo cp dbus/org.freedesktop.ratbag1.conf /etc/dbus-1/system.d/org.freedesktop.ratbag1.conf
[sudo] password for richard:
cp: cannot stat 'dbus/org.freedesktop.ratbag1.conf': No such file or directory
richard@Mercury ~ $ sudo cp dbus/org.freedesktop.ratbag1.service /etc/dbus-1/system-services/org.freedesktop.ratbag1.conf
cp: cannot stat 'dbus/org.freedesktop.ratbag1.service': No such file or directory
richard@Mercury ~ $ sudo cp ratbagd.service /etc/systemd/system/ratbagd.service
cp: cannot stat 'ratbagd.service': No such file or directory

I was also wondering if there are any plans to create a package for this project and put it in a repository?

Grmbl, another oversight we missed when switching to Meson.
Try this, from the toplevel source directory (e.g. ~/ratbagd if you cloned the repository into your home directory:
$ sudo cp dbus/org.freedesktop.ratbag1.conf /etc/dbus-1/system.d/org.freedesktop.ratbag1.conf
$ sudo cp builddir/org.freedesktop.ratbag1.service /etc/dbus-1/system-services/org.freedesktop.ratbag1.conf
$ sudo cp builddir/ratbagd.service /etc/systemd/system/ratbagd.service

If you used any other build directory (i.e. not simply builddir as suggested in the README) adjust accordingly.

I was also wondering if there are any plans to create a package for this project and put it in a repository?

I don't think this is up to us (more something for distribution packagers), but I could be wrong here. In any case, development is still ongoing so it might not be wise to package just yet (i.e. see #31 and https://github.com/libratbag/libratbag/issues/179)

I was also wondering if there are any plans to create a package for this project and put it in a repository?

I don't think this is up to us (more something for distribution packagers), but I could be wrong here. In any case, development is still ongoing so it might not be wise to package just yet (i.e. see #31 and libratbag/libratbag#179)

Well, there are already packages for Arch, Debian and Fedora (not ratbagd for Fedora I must confess). But yeah, it's up to people willing to maintain those package in their distro to add those packages.

Grmbl, another oversight we missed when switching to Meson.
Try this, from the toplevel source directory (e.g. ~/ratbagd if you cloned the repository into your home directory:
$ sudo cp dbus/org.freedesktop.ratbag1.conf /etc/dbus-1/system.d/org.freedesktop.ratbag1.conf
$ sudo cp builddir/org.freedesktop.ratbag1.service /etc/dbus-1/system-services/org.freedesktop.ratbag1.conf
$ sudo cp builddir/ratbagd.service /etc/systemd/system/ratbagd.service

If you used any other build directory (i.e. not simply builddir as suggested in the README) adjust accordingly.

the last line is the solution to my unit file not found issue, thank you


jpegli reduces noise in images

Some photographers (like me) intentionally use digital noise in their images for effect. Reducing noise should be a function of my image editing program, not my file compression algorithm. I realize that sacrificing image fidelity for compression is nothing new, but doing so in a way that makes specific aesthetic choices (i.e. "to make the internet faster and more beautiful") is crossing the line into image manipulation. Between this and all the AI enhancement my cell phone camera does, we'll soon be living in a world where it is literally impossible to create a photo that isn't "beautiful".

What about with higher quality settings?

I think that's the purpose of compression
Jpegli works by using a number of new techniques to reduce noise and improve image quality.

I think that's the purpose of compression

Reducing noise is the purpose of filtering and other pre-processing, which can aid compression down the line.  It may be a necessary evil to improve compression results, but it does indeed change the aesthetic nature of the images.
I would certainly hope that the library scales noise reduction along with the compression level.  There are a lot of paint programs out there that will do chroma sample reduction on JPEGs regardless of how high a quality setting you choose.  I hate when they do that.

@zygoballus If you want to preserve the artificial noise, why don't you use lossless WebP or JXL?

Once the support is more widespread, I'd recommend looking into lossy JXL's ISO noise setting. Then you can set the amount of noise you want in the image without making it any harder to compress


how to use find api to regex data

I want use selector {field_name, '$regex', "/data/i"}
find data
mongod-2.6version is ok
mongod-3.0version is badValue '$regex' to a string

report this error <<"Can't canonicalize query: BadValue $regex has to be a string">>
mc_connection_man.erl line 57

who can help me?

I ll check this issue.

I have mongodb 3.0.4-1
and when I am making regex query - I got no errors.
I can say, that mongo strings represents erlang binary. So you should specify <<"/data/i">>. It is strange, that 2.6 version takes it.
Are you able to get any result in 2.6?

P = mongo:find(Pid, <<"test">>, {<<"sku">>, {'$regex', <<"abc123">>}}).
<0.90.0>
mc_cursor:rest(P).
[{'_id',100,sku,<<"abc123">>,description,<<"Single line description.">>}]

mongo --version
MongoDB shell version: 3.0.2

Cursor = mongo:find(Conn, <<"userinfo">>, {<<"x_nickname">>,{'$regex',<<"ddf">>}})
Result = mc_cursor:rest(Cursor)
but Result is empty(not regex data return)

mongo client can print my data

Try replace Cursor = mongo:find(Conn, <<"userinfo">>,
{<<"x_nickname">>,{'$regex',<<"ddf">>}})
for Cursor = mongo:find(Conn, <<"userinfo">>, {<<"u_nickname">>,{'$regex',<<
"ddf">>}})
2015-07-03 11:22 GMT+03:00 wuchuguang<EMAIL_ADDRESS>
[image: my_db_data2]
https://cloud.githubusercontent.com/assets/1677247/8495358/980d1624-219f-11e5-9c5d-75700f26e29b.png
mongo client can print my data
—
Reply to this email directly or view it on GitHub
https://github.com/comtihon/mongodb-erlang/issues/73#issuecomment-118272118
.

Replace x_nickname for u_nickname

thx


ProgressReportIntervalElapsed event is getting FAILED for TUNEIN podcast with tag as a DELAYED

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
ProgressReportIntervalElapsed event is failing in TuneIn music service.
We are getting offset value as 1800211 as target value is 1800000. This means there is no problem with offset value, the value is correct. Even though its getting failed.
We have tried to generate MVT report for TuneIn Podcast many times with Pure SDK v1.17 but always ProgressReportIntervalElapsed getting failed with tag as DELAYED.
As mentioned in below snippet that, event failure will get tagged as a DELAYED when the lenience is more than 3 seconds. But after comparing all the reports, the observation is as, even though the lenience is more than 3 seconds, we are getting event as pass
Note (Reference- https://developer.amazon.com/en-US/docs/alexa/mvt/cert-requirements-mvt.html) :
Consider an utterance where the time between the play directive and the PlaybackStarted event was 8 seconds, which is above the maximum 3 seconds lenience for this event. This case would be tagged as a DELAYED failure by the MVT.
Please check the below snippet of ALL PASS report, timestamp of play directive is 11:11:58 and the timestamp of PlaybackStarted is 11:12:05. This difference is about 7 seconds which is greater than 3 seconds, even though we are not getting failure as mentioned in above note-

Please check the below links for DEBUG9 logs and AQT reports-
DEBUG9 logs drivelink :: https://drive.google.com/file/d/1OZaoYzwkJ2VqevdHhdBaGiOXRbtmm58z/view?usp=sharing
AQT results for reference- zip file:: https://drive.google.com/open?id=1SXm7K1240_etxGTgCbC4FH20WOd6yku4
Always we are facing the failure as delayed. We need your help to in this issue.
Below is my observation that -

Event is sent from AVS-SDK on time but its taking time to reach the server.
AVS-SDK is taking time send the event

Could you please let me know which can be the reason of failure from above observation.
Need your help to debug this issue.
What is the expected behavior?
ProgressReportIntervalElapsed should get PASS
What behavior are you observing?
ProgressReportIntervalElapsed is getting failed with tag DELAYED
Provide the steps to reproduce the issue, if applicable:
Use the checklist provided by MVT to test
Generate report through MVT report generation tool
Tell us about your environment:
What version of the AVS Device SDK are you using?
  AVS SDK 1.17

Tell us what hardware you're using:
Android
Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

Hi @dipalisb, I couldn't correlate the DEBUG9 log file with the AQT report as they seem to have executed at different time; the log file is on 2020-06-03, while the report is on 05/22/2020.
I would suggest you to contact your Amazon Business Development Representative and working with us through the appropriate channels. Closing the ticket, but please feel free to reopen if you have further questions.


raw_id_fields is not implemented

If a M2M relationship has a lot of values loading the change will page will take a long time. The default admin uses raw_id_fields to handle this https://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.InlineModelAdmin.raw_id_fields

我也遇到了同样的问题。怎么解决？


Fixing some typos and updating powershell

This document probably should be reviewed; there's a number of open issues that are valid.
#871

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

Thanks @nromyn,
We appreciate you taking time to make this better!
Thanks,
Corey


do not verify file checkpoint on startup when no local config exists

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.8 out of 9 committers have signed the CLA.:white_check_mark: henryzhx8:white_check_mark: EvanLjp:white_check_mark: yyuuttaaoo:white_check_mark: quzard:white_check_mark: RoboticShark:white_check_mark: linrunqi08:white_check_mark: qiansheng91:white_check_mark: liangry:x: 笃敏笃敏 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[Broken] Funimation

Checklist

[x] I'm reporting a broken site support
[x] I've verified that I'm running yt-dlp version 2021.09.02
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ ] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] Command-line config: ['-v', '--add-metadata', '--merge-output-format', 'mkv', '--username', 'PRIVATE', '--password', 'PRIVATE', '--user-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko/20100101 Firefox/92.0', '-o', '/mnt/f/dl-animes/Funimation/%(title)s.%(ext)s', '-f', 'bestvideo*+bestaudio/best', 'https://www.funimation.com/v/steinsgate/turning-point']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] yt-dlp version 2021.09.02 (zip)
[debug] Python version 3.8.10 (CPython 64bit) - Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4
[debug] Optional libraries: keyring, sqlite
[debug] Proxy map: {}
[debug] [generic] Extracting URL: https://www.funimation.com/v/steinsgate/turning-point
[generic] turning-point: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] turning-point: Downloading webpage
[generic] turning-point: Extracting information
ERROR: [generic] Unsupported URL: https://www.funimation.com/v/steinsgate/turning-point
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 584, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/generic.py", line 3713, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.funimation.com/v/steinsgate/turning-point
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 584, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/generic.py", line 3713, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.funimation.com/v/steinsgate/turning-point

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1214, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1239, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 600, in extract
    raise ExtractorError(
yt_dlp.utils.ExtractorError: [generic] Unsupported URL: https://www.funimation.com/v/steinsgate/turning-point

Description

When I used it on Sunday 12/09/2021 it was working normally, I even downloaded 2 complete series. When I went to use it today, it started giving it as an unsupported Funimation url.

How did you get a 'v' in your url? What region are you from?

My region is Brazil. I removed the 'v' for 'pt/shows' and it worked, I couldn't tell you why my region changed.

My region is Brazil. I removed the 'v' for 'pt/shows' and it worked, I couldn't tell you why my region changed.

Can u post this log of this working?
AFAIK none of the regex covers this pattern
r'(?P<origin>https?://(?:www\.)?funimation(?:\.com|now\.uk))/(?P<lang>[^/]+/)?(?P<path>shows/(?P<id>[^/]+/[^/?#&]+).*$)'

r'https?://(?:www\.)?funimation\.com/player/(?P<id>\d+)'

r'(?P<url>https?://(?:www\.)?funimation(?:\.com|now\.uk)/(?P<locale>[^/]+)?/?shows/(?P<id>[^/?#&]+))/?(?:[?#]|$)'

@Ashish0804 It does.

OPs link is https://www.funimation.com/v/steinsgate/turning-point
It doesn't have shows

OPs link is https://www.funimation.com/v/steinsgate/turning-point
It doesn't have shows

Yes, we established that already, the regex doesn't cover the new /v/ url.

can someone confirm the /v/ url is in fact valid and not a user error

can someone confirm the /v/ url is in fact valid and not a user error

Yeah i can confirm this is valid (tested using an US IP)

Valid and used throughout the site now. Tested with Scarlet Nexus.
https://www.funimation.com/en/shows/scarlet-nexus/the-moons-secrets/ takes you to the webpage with info and embeded video player.
https://www.funimation.com/v/scarlet-nexus/the-moons-secrets takes you to a full page video player.

Curious, would either of these work for the regex? The first is very relaxed for what it can take, then other not so much but I can't seem to get it to close the group id, but then again I am a super beginner at regex.
(?P<origin>https?://(?:www\.)?funimation(?:\.com|now\.uk))/(?P<lang>[^/]+/)?((?P<id>[^/]+/[^/?#&]+).*$)
(?P<origin>https?://(?:www\.)?funimation(?:\.com|now\.uk))/(?P<lang>[^/]+/)?(?P<path>shows/|(?P<id>[^/]+/[^/?#&]+).*$)

just changing the regex is not a sufficient fix. Usage of mobj.group('path') will need to changed since we need to automatically redirect the /v/ page to /shows/ internally

Yep, I see that now. Well hopefully it's at least a step in the right direction. :-)


Update readme

OK, but the README does't contain a single word on that this module actually does. I got subscribed to the notification of this repo (I don't really know why) and I can't tell whether it's of interest to me.


Fix crashplan checksum

Thank you for the contribution. It was merged directly as 0cf96459b12799fd38d3d841c500b4b62f3cd075 to keep commit history cleaner. Your contribution is still credited to you.

:+1: thanks for getting it in so quickly


Disable Rollback

Hi :) I just found this package and i like it. However i don't need the Rollback Support and it seams like i am unable to just disable the feature. Do you plan on supporting this?

It creates up to 10 files which i don't want/need.

I don't think would be any point of using this package then. It's used in my project(s). 😅 Why not just write to a simple file?

Well.... i agree haha. Thanks for the fast reply


feature-wip create or replace to overwrite table (#21834)

feature-wip create or replace to overwrite table (#21834)

I am not yet sure if my implementation approach is correct, so I haven't developed test cases. Please review it first to ensure the approach is correct. If the approach is correct, I will add the test cases immediately.（我还不知道我的实现思路是否正确，所以测试用例还没有开发。先麻烦review下已确保思路正确，如果思路正确，我会马上补上测试用例。）

@morrySnow Thank you for the code review. I have added test cases and regression tests. However, I am not yet very familiar with the focus of test cases and regression testing, so my writing might not be good. I look forward to your guidance！

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46 seconds
stream load tsv:          544 seconds loaded<PHONE_NUMBER>9 Bytes, about 131 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>1 Bytes

hi, @davedwwang   you can resolve the conflicts,then add case ,thanks.


New project file format for Fable

Thanks to the work of people like @enricosada and @7sharp9, F# projects are quickly moving to dotnetcore and Fable could join the trend before 1.0.0 release. This may also be a good chance to decide if we want a specific project file for Fable or even if we just want to add the list of F# files directly to fableconfig.json. I'd like to listen to the opinion of other people but some of the ideas I've been having recently are:

Add files field to fableconfig.json and include the F# files there. It would still be possible to keep projFile as a fallback, but to ease maintenance and mainly to avoid user confusion I'd prefer to remove it.
Possibly also add a srcDir field (where F# files are to be found), which has been requested by some users.
Load Fable.Core.dll by default.
All of this would make much more sense if it's also supported by Ionide. This could also give opportunity to other benefits. For example, for Fable projects we could load fake FSharp.Core and System libraries that only include methods supported by Fable, so FSAC would warn against any non-supported method already at design-time. The only problem is that developing Fable projects with other IDEs, while still possible, will become foreign.

Please tell me what you think and if you have another idea, just shoot it out!
Ping @Krzysztof-Cieslak, @tpetricek, @mastoj, @fdcastel, @davidtme

I see Fable as an alternative to F# compiler (fsc.exe). One which outputs JS code instead of IL bytecode. I don't see it just as a "fancy way to generate JavaScript". For me, it's important the source compiles both to IL and JS.
I've been using Fable to port existing F# libraries to JavaScript . So, my .fsproj files are already set and it would be nice to keep the projFile option to avoid to maintain two lists (one in .fsproj and another in fableconfig).
That said, I would like to stretch this discussion a little... :sweat_smile: (Food for thoughts!)
We already have a perfectly good file for including source files and to set project options: .fsproj!! So... why do we need another project file"? Shouldn't .fsproj suffice?
I know... it is not the most loved format. But what can we learn from .NET Core and their attempts with project.json? Why they gave up creating their own project file and went back to msbuild-like projects (.csproj / .fsproj)? Would Fable gain any benefit adopting the existing project files instead of keeping its own?
I surely can see the benefits of keeping our own project file. Simplicity and ease-of-use -- specially for new users -- being the most obvious ones. I'm just playing devil's advocate here.
Also, the cost of adopting msbuild-like projects includes the tooling support (nobody wants a new user editing a .fsproj manually).
For the ping list, I would love to hear @dsyme opinions about this subject :wink:

We already have a fable.config but I think adopting a single file for that and the project would be a really good step, I mean everyone hates msbuild and there's no real reason to keep it for fable especially as it needs its own config anyway.  The F# compiler itself has no real need for the fsproj as it has its own way to read dependencies etc anyway.
Support in ionide should be fairly easy too as its just an extension of the project.json support thats already completed.

I’m currently using Visual Studio 2015 with my fable project so using .fsproj just works for me. Wouldn’t switching to a fable.json file for the project just be helping people outside of the Visual Studio environment at the cost of us VS users?
Also I’m using symbols which mean my code adapts depending if fable or msbuild builds it. Everything I need is in one place that my tooling controls.  We have the Forge for .fsproj in VSCode so why change?

Because a common request coming in is to have a sane build/project format, fsproj is not that.
Look at other ecosystems where things just work  like cargo in Rust and Hex in Elixir.

uh oh!
As I wrote on twitter yesterday: If I ever have to learn a new build system/package manager I am gonna rage quit programming forever.
I personally don't like the .NET build system at all. The reason being that its mostly alien to me as I have been working with js/node mostly for the last 5 years.
But honestly that is a bad reason to be against either one of it or request a new one.
I guess we would have to decide to either stay close to the .NET eco system and its build systems (msbuild, FAKE) or to use one of the many JavaScript ones (Gulp, Grunt, lalala...).
The decision imo should be made on where we expect the most developers to come from.Are we expecting more .NET/existing F# devs moving to the Node/Browser environment or JavaScript people coming to F#? (Has anybody a good source for crystal balls?)
I am slightly leaning towards a FAKEish build system - AND I would strongly oppose building a Fable specific one. This would only alienate both potential groups AND it would drain resources that could be used for other more urgent tasks.

@robkuz This isn't for a new build system, this is about a configuration file.
While it would be nice to get rid of the .fsproj file this would break all of the tooling in atom, vscode, and VS
The srcDir option introduces new issues with file ordering.
It still could be useful to have the option an ordered file list in the fableconfig.json like if for whatever reason you have src files in the project that you don't want transpiled with Fable. Synchronization across the two project files would still be an issue that could only be effectively mitigated via tooling, but who wants to write that? 😛 (ultimately an ionide-fable plugin to help with fable dev would probably be worthwhile to handle scaffolding, init config files, toggling settings, etc)
Another option for handling config as part of a larger build process is to make a FableHelper module for FAKE

Fable is quite different to the usual F# projects as all refs end up being npm's fsproj doesnt quite fit in at all for anything complex, loads of .net crud when the output here is JavaScript.

Hi @robkuz, you made very good points. I'll try to clarify some of your questions:

fableconfig won't become a build tool. It would just contain a list of files (and in some cases dll references) to be passed to the F# compiler.
FAKE is not linked to MSBuild, it just contains some helper functions to call MSBuild. It wouldn't be difficult at all to add some helpers for Fable, FAKE already contains helpers for npm. Fable itself uses FAKE to build the project and the web.
Besides FAKE, I'm not sure it makes sense to try to keep Fable within the .NET build ecosystem because this is not possible. You need to use JS tools like Webpack to operate on the generated JS code: minimification, bundling, tree shaking, hot reloading... fsproj happens to be the standard way to list F# files to be passed to the F# compiler but there's a lot of information there that's not needed for Fable: debugging, optimisation, document generation, platform targets...
About package management, as most Fable users have to use npm anyway to install JS dependencies, I opted to distribute Fable tools through npm too, to avoid forcing two package managers (Nuget/Paket & npm).
About users, as you said it's difficult to know where they'll come from the most. At the beginning I thought most Fable users would be experienced F# developers willing to write web apps in F#. But now I'm seeing that there may be many developers approaching F# through Fable and it makes sense making the path as easy as possible for them.

I think this is also related to Fable philosophy: keep F# as close as possible to JS and don't try to hide the JS ecosystem from .NET developers. In that sense, it'd be better to keep things simple and put the file list directly in fableconfig. But what worries me mostly is:

Projects targeting both .NET and JS, as @fdcastel pointed out (there shouldn't be that many though).
Visual Studio users, as @davidtme says. I understand they shouldn't be alienated, but I cannot avoid being biased since I use VS Code+Ionide on OSX ;)

Maybe a good compromise could be to add the file list to fableconfig and still fall back to projFile if not present (this is actually what happens with code parameter right now, which accepts a code string and has precedence over projFile). Would that be acceptable?

@cloudRoutine ah well, you are right (and I was reading it wrong). yeah than the issue might not be as large as I assumed it to be - nevertheless my conclusion stays: shouldnt all the stuff that is outside of the default toolchain (and with my limited knowledge .fsproj seems to be part of that) again be within a default build system. To me all that is fableconfig.json should belong into a FAKE script (FAKE becoming(?) the default build system for F# and even for quite a bit of the overall .NET eco system).
For example we could have a fable init that could create a skeleton build.fsx which can be changed by the developer

You could probably put all the info you need in a simple npm package.json file to be honest.  The fsproj file just doesn't fit fable that snugly, that especially obvious as the fableconfig.json is present.

Also I don't really want the typical F# stuff with Fable projects, fake and paket, JavaScript tools, packages , and scripts are what need to be managed here.

As much as I love FAKE, forcing users to scaffold a FAKE project to compile a simple script would kill Fable. Take into account what's need to start:

User must have Mono/.NET installed (when Fable moves to dotnetcore this won't be necessary anymore, I'm not sure when FAKE will move).
.paket/paket.bootstrapper.exe
build.cm for Windows users
build.sh for Unix users

And...

When running build for the first time, .paket/paket.bootstrapper.exe downloads Paket
Paket downloads FAKE
Then finally build.fsx can be run

Too many steps for a "Hello World!" program ;)

@alfonsogarciacaro If it’s easy to implement the fableconfig that falls back to projFile then I can’t really see the problem, then it could be a progressive enhancement for uses who want it.

@alfonsogarciacaro thanks for the clarification.

if we make an ionide-fable plugin we could probably get the tooling to work based solely on the data in the fableconfig.json although this could create some conflicts with an existing fsproj file. I'm not sure whether it'd be better to add fableconfig support to forge, or have that just be a part of the ionide-fable plugin. the advantage of building it into forge is that forge could get you up and running with fable right away and could be the common backend for vscode, atom, and w/e other editor might want to use it.

fable it's js, should try to embrace the current default js experience. so node and npm.
It's a transpiler? let's give the same experience as other transpiler, like coffee or babel, so js devs already know that, less stuff to learn. It's not special.
Ideally it can produce easy a npm package, who can be consumed by other js packages.
I think fable shouldnt do the same mistake as F#, to initially try to target only c# or .net devs. JS devs >>>> C# devs >>> F# devs. The js devs want a good language, and already expect to transpile (or babel).  Know what? F# is a good language.
so:

like coffee, just npm
as babel plugin

like coffee, just npm
i think go all the way npm is nice, like coffee-script or other language, see devDependencies
updating the coffe example:
{ "name": "ethopia-waza",
  "description": "a delightfully fruity fsharp varietal",
  "version": "1.2.3",
  "src": [
     "fsharp/waza.fs"
  ],
  "devDependencies": {
    "fable": "~1.0.0"
  },
  "scripts": {
    "prepublish": "fable -o lib/ -c src/fsharp/waza.fs"
  },
  "main": "lib/waza.js"
}

sources in src/fsharp/
fable in devDependency as nodejs utility ( .net core, xplat, no mono :smile: )
prepublish task to run fable --config package.json -o lib/

fable can read src property of package.json
as babel plugin
all in babel, so like jsx or http://babeljs.io/docs/plugins/transform-react-jsx/
that's my preferred way, because fable already use babel.
ides
About ides (like visual studio), i think it's easier to improve the nodejstools extensions, because already does everything (prepublish) and should embrace having different language (coffee, fsharp, etc).
If you want to use compiled libraries output in a fsproj, just add a nodejs proj, and a msbuild task to prepublish (or add existing directory as <content path="lib/*"/>, better ihmo)

Having a tool to convert from .fsproj to fableproject.config would be probably enough for people using .fsproj for some reason. Then fable doesn't have to know about .fsproj. Make separate small composable things help keep them simpler.

Survey opened, please vote! https://twitter.com/alfonsogcnunez/status/745536448703520768

@thinkbeforecoding I think a new tool to convert .fsproj files to fableproject.config could create extra work especially since fable can already read .fsproj.  It would also have to pass all the arguments and I guess somehow handle the watch command.
My setup is very simple VS2015 with Task Runner kicking off fable (with watch) & webpack (with watch) at start-up.  I also have Suave server in the same solution which share the same model file for easy JSON parsing. In one place I have all the code for my entire project. I have some Fake task to publish but it’s the same sort of thing.
I hope with all the changes this really easy to use work flow won’t be broken

I think we should use Xebec (or at least Xebec-compatible file format) [as replacement for both fsproj and fableproject.config]. We just need to poke Dave enough to publish anything ;)

The result of the survey is almost a tie and probably doesn't justify removing support for Visual Studio. Some people have also asked about the reasoning behind the question and given choices. I probably haven't explained things well, partly because I wasn't sure yet about the best way to improve the Fable experience and how much work would that involve. I'll try to fix that here:

This is not about building: compilation to JS is done with Fable and other JS building processes (bundling, minimification, etc) should be done with JS tools like Webpack. This won't change.
This was mostly about making it easier to start with Fable, particularly for people who don't know .NET. I was considering mainly two things: 1) listing F# files directly in fableconfig.json so no complicated .fsproj or other tooling would be needed; and 2) hiding types and methods not supported by Fable in the IDE autocompletion.
To achieve both objectives: recognising a new project file and passing a minimal FSharp.Core lib to FSharpAutocomplete, it's necessary to modify the IDE. I was thinking on Ionide because currently it's the most flexible and actively developed F# IDE.
I understand when people say this can still be compatible with fsproj but, as I'm sure the maintainers of any successful OSS project (for me, this is the first one) perfectly know, it takes a lot of commitment to keep a project alive and at one point it's necessary to consider very carefully how to better spend the limited time that can be dedicated to it. I may be wrong, but I'm not sure it's worth to start work on the points above (with the support and documentation overhead it would entail) if this will only benefit a small part of users or may even add confusion to Fable development.

All in all, I think it's better to keep Fable as is for now. I really appreciate all your comments and suggestions which help me know better which are the real needs of Fable users.
BTW, thanks to @7sharp9 we have already started porting Fable to dotnetcore. At least this means users won't need to have anything installed to give Fable a try, so the entry barrier will be lower than it is now :)

Focusing on Javascript based tooling and distancing from vs formats will always be a win in something like fable.  I think its a shame not to improve on the fsproj format and focus on what fable needs.   It is kind over overcomplicated as it is.  That was my initial experience with fable I found it a little frustrating to get going, lots of moving parts.

A bit of overly optimistic speculation, but what about using project.json? If .NET Core migration plan after RTM goes back to using .fsproj again, perhaps there will be tooling created (and open-sourced) to convert project.json to .fsproj, which may then be used in perpetuity to maintain project parity? There is already conversion from project.json to .xproj so it's not completely unimaginable.

Closing this for now. We'll focus on fixing bugs and improving documentation, samples before trying crazy things like this one ;) Thanks a lot everybody for your insightful comments!

I'm sorry for the late reply here :)
I work daily with Javascript and Typescript, and I'm currently doing some experimentations with Elm. Both have a very simple json config file that can be manipulated directly. And that's how most devs do it. When I started studying F# some weeks ago, the fsproj file was the biggest barrier.
So it seems it's a matter of dev target: if you want to be appealing to current JS / TS / Elm devs, you'll need to let any dependency to fsproj go. If you want to be appealing to people already using Visual Studio or other open source F# tools, you can stay with fsproj.
Targeting the giant group of current front end developers seems the best option for me!

Hi @lucasmreis, thanks for your opinion. I think the same as you and that's why some of us were proposing to list the project files directly in fableconfig.json. However, after deeper consideration and consulting the community, it's become clear that's it's not possible of even desirable to have a clear cut from .NET as it would be very difficult to replace all the tooling and we still need dlls for example for type providers. Also, one of the guidelines of Fable was to bring to JS all the power of F#, not only the language but also its ecosystem.
In any case, I still think fsproj is a big hurdle for lightweight editor users so probably from now we will insist in a workflow using F# scripts or even a F# script to list all files to be compiled, something similar to what Paket does to load dependencies onto F# interactive.

Another late reply. I agree with those that fsproj isn't a good format, and the reasons .NET core moved back to csproj is because the .NET community outside web were lacking behind, so that isn't a good example of why we should stick with fsproj. I also think of fable compiler as a transpiler and focus should be to integrate well with the web frontend community. If one could run the build easy with NPM, that is NPM triggers fable and not fable trigger NPM as I think it is now, then it wouldn't be that hard to integrate with the taskrunner in Visual Studio.
The way I picture it in my head for a larger project is to have a simple F# Suave application, it could be in a standard fsproj console app. In that project I define all the models that I might want to share between client and server. Then I have would like to have a client folder where I keep all the stuff fable should compile, and a simple NPM build script that triggers the fable build of that folder. I picture myself those as plain fsx-files referencing the models in fs-files.

@mastoj  it seems like orchestrating that process is easier with a fake build script

@cloudRoutine, I agree that fake should orchestrate the over all build process to build both server side code and client side code to make a complete deploy package, but I think fake should delegate the client side building to NPM as the landscape is now. There might be scenarios where you don't use F# or .NET on the server and in those scenarios forcing fake would be a show stopper for some.

Fable is a command line tool and it's easy to integrate it with npm or FAKE as per user's needs (it's being used like this at moment), so I don't think it requires any particular change for this.


Incorrect md5sums after running reshard_fsdp.py on OPT-175B

I recently got access to a link to download the OPT-175B shards by filling out the Google form. I downloaded the 992 shards following the instructions here, and then checked that the md5sums of the shards matched what is given here.
All of the 992 md5sums matched, so I ran the metaseq.scripts.reshard_fsdp script to consolidate them into 8 files. Like in the example at the first link, I set --skip-optimizer-state True and --unflatten-weights True. I ended up with the 8 files with the resharded model checkpoints.
However, when I checked the md5sums of the resharded checkpoints, they do not match what is shown in the instructions at the first link (repeated here). In the instructions, it gives the following md5sums for each resharded checkpoint:
934def0c596e01dfb849fa65b73e01aa  dict.txt
75a37753dd7a28a2c5df80c28bf06e4e  gpt2-merges.txt
cf410ee085c5c69c957bb1f6d8456596  gpt2-vocab.json
343a4ac67acf952e3287a270d4bc430c  reshard-model_part-0.pt
becb3f4d6bbc9a7e48539f0007a8ffa1  reshard-model_part-1.pt
1dac146a02256b0ca1dd482e3bf3e8e4  reshard-model_part-2.pt
d4806579a1cd8980ed6d626add9bd68c  reshard-model_part-3.pt
c5054a509eac01d78f1486feb00589f8  reshard-model_part-4.pt
bf24e54c033dc4712602f1222c9ef453  reshard-model_part-5.pt
9a705f5ca36996adfe08e9ef82f4a340  reshard-model_part-6.pt
91e7f6b87c802a6c8ed9a34a4be9d7e7  reshard-model_part-7.pt

However, I got the following; while dict.txt, gpt2-merges.txt, and gpt2-vocab.json match, none of the .pt files do:
934def0c596e01dfb849fa65b73e01aa  dict.txt
75a37753dd7a28a2c5df80c28bf06e4e  gpt2-merges.txt
cf410ee085c5c69c957bb1f6d8456596  gpt2-vocab.json
14284cd62d00166bf4a16b7ac43b4946  reshard-model_part-0.pt
bd9daba744d65f628e24a561ebc692ae  reshard-model_part-1.pt
8e3b35dfd55ad6dc6340458ad7c7c3a1  reshard-model_part-2.pt
48f1f189b33976392e7e64677382c6b7  reshard-model_part-3.pt
9e5906c44cef3f4996aec6f02fe01bef  reshard-model_part-4.pt
32b69d07dce2dd6b38f987a09a3286dd  reshard-model_part-5.pt
e9b9de69f5373d1435a8b2e9a3093d7e  reshard-model_part-6.pt
99349ce86ed401f715759dca68c35358  reshard-model_part-7.pt

I'm not sure what to try since the md5sums for the 992 original files are all correct, I haven't modified the metaseq.scripts.reshard_fsdp script, and I'm running it using the same options as in the example (all I changed were the input and output directories).
What's your environment?

metaseq Version (e.g., 1.0 or master): N/A
PyTorch Version (e.g., 1.0): 1.13.1
OS (e.g., Linux): Red Hat Enterprise Linux Server 7.9 (Maipo)
How you installed metaseq (pip, source): N/A
Build command you used (if compiling from source): N/A
Python version: 3.9.16
CUDA/cuDNN version: N/A
GPU models and configuration: N/A
Any other relevant information: Can't think of anything else, but I'm happy to provide any more information that might help.

@mawilson1234 This is probably related to the recent changes we introduced in #698, where we additionally retain shard_metadata to help reshard consolidated checkpoints. Let me update the docs to include new md5sums. Thank you for letting us know.

That was indeed the cause of the issue; everything matches now. Thank you!

@tangbinh have you confirmed new checksums udpated here outside of the work @mawilson1234 has done in his post? Using setup instructions followed by reshard_fsdp instructions I received the following new md5sum checksums for reshards:
b0ea734369ec223ebdaea79929ea9ff8  reshard-model_part-0.pt
0782475925ef19a125614aeaf55cbfcb  reshard-model_part-1.pt
c29569635ec1d6ef7348b9331f7eeafb  reshard-model_part-2.pt
e2a3fa645c52ad8efc9b91a7d8912431  reshard-model_part-3.pt
04b2d47e42ef253c84e5c6748ccf5789  reshard-model_part-4.pt
40e3bb060ad75c915658b483a6021850  reshard-model_part-5.pt
84d0a78282e3d9fc21fff71b05b21661  reshard-model_part-6.pt
4cd9a318c75edea1584b610cc99dd0c8  reshard-model_part-7.pt

I have also confirmed the md5sums for the 992 original files are all correct and my environment setup is identical to @mawilson1234's above aside from python 3.9 running in conda on EC2. If they are, not sure what could be wrong since all I also changed were the input and output directories.
Additionally, will the updates in #698 cause reshard_fsdp not to work correctly if I have copies of the 8 resharded checkpoints with the old checksums?


Old version used in launch scripts

The bat scripts try to launch an old snapshot version rather than 4.2.1

I realized there is already a pull request to fix this...


Features: note default behavior + size of the pop-up

I like the plugin.
I can think of a few rather simple (I expect) features that would help me and others.

Switching the plugin on/off on a per-file basis. Probably with a global default (off unless otherwise specified or on unless specified)

the ability to use specific definition files in a Note (can be combined with the previous feature)

to change the scale/size of the pop-up. I find the defaults too big.

Thanks for considering.
Best,
Tjeerd

Hi, yes for 1 and 2, you can follow issue #45, I will likely go with your suggestion of a per-file selection of definitions. For 3, that's doable too, I'll look into that. In the meantime, you could try manually altering the max-width and max-height of the  definition-popover class in styles.css to override the default behaviour and change it to your desired size. Just make sure to add the !important tag to make them take precedence.

Added a configuration to override size of popover in 0.19.0


Emit a deprecation warning on an encounter of a String field when deriving Properties

Description
Makes the derive(Properties) macro emit a warning when encountering a field of type String in the struct, which suggests to use AttrValue instead.
Adsing this warning raises 2 questions:

Should it also report using other string types in Rust's standard library as deprecated?
Should we fix the tests which now raise the new warning or should we leave them as they are for them to be the tests for the new warning?

Checklist

[x] I have reviewed my own code
[x] I have added tests

I couldn't find a way to explicitly test if a warning is emitted by a derive macro, but there are already some tests that raise this warning, for example here

I couldn't find a way to explicitly test if a warning is emitted by a derive macro

You can write a failing test in the packages/yew-macro/tests directory, which will check the stderr for the failed tests.
You can add #![deny(deprecated)] at the beginning of the test to make it an error.

Wait, it doesn't emit a #[deprecated], I tried that but the warning message wasn't too user-friendly, I just used proc_macro_error::emit_warning!

On the other hand, I'm not sure about emitting a #[deprecated] for something that's not supposed to be deprecated

The lints are supposed to be opt-in: https://github.com/yewstack/yew/pull/2882

On the other hand, I'm not sure about emitting a #[deprecated] for something that's not supposed to be deprecated

If this is not a deprecation, then IMO, it should be classified as a lint (undesirable usage). Which means it is not in the scope of a procedural macro to do it but a tool like clippy.


Ros automation

cool! Can we get the FW build tools also in there as default? I'm referring to the install commands used by Travis. Since Travis supports Docker, I would assume that we can get that way end-to-end testing. Merging this now.

We can also make a separate container with the FW build tools. But I don't recall Travis now supporting docker. They setup a new farm that runs on Docker yes, but you cannot deliver your own container to build things (at least not yet). Although there is still that "hack" with sekexe that makes it possible. What would be your goal? Automated tests over SITL?

I completely misinterpreted their Docker announcement, I just read the details, thanks!
Yes, I'd like to do auto SITL tests. Shouldn't be that hard now that we have most things in place. The OSRF is preparing a Jenkins test server which should be suitable, but given that we already have a Docker image I'd also be happy to get e.g. an AWS instance. Would you be interested in lending a hand setting that up? What infrastructure would you need for it?


Broken Navigation with a specific configuration

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/swiper-default-react-forked-5kpc2j?file=/src/App.jsx:486-500
Bug description
The Swiper navigation is broken when using these configurations together:

loop = true
Breakpoints

A decimal slidesPerView value (e.g. 4.17)
slidesPerGroup > 1 (e.g. 4)

Expected Behavior

the Navigation start from the first slide
by clicking to the next or back arrow it moves by slidesPerGroup slides

Example:
slidesPerGroup: 4
slidesPerView: 4.4
current slide: 1
expected slide after right arrow click: 5

Actual Behavior

the Navigation start from the last slide
if you click the right or left arrow, the swiper doesn't shift the given number of slides (slidesPerGroup)

Example:
slidesPerGroup: 4
slidesPerView: 4.4
current slide: last slide
actual slide after right arrow click: a fraction of the first slide

Removing the loop = true, or the slidesPerGroup works as expected.
Swiper version
8.0.0
Platform/Target and Browser Versions
Chrome
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

Swiper v9 comes with fully reworked and now different loop functionality. If you have similar issues in Swiper 9, open a new issue with a CodeSandbox showing the issue.


Rural addressing

I would like to submit my center line data.

Hi @mvasquez1955, thanks for your interest in OpenAddresses! Where are your rural addresses based?
So far we're able to process point data (lat/lng address points) and parcel data (we derive centroids). But support for road centerline data (with address interpolation properties) hasn't been added yet.
Do you have address points or parcels instead?

I can offer you our address points.
From: Nathaniel V. KELSO<EMAIL_ADDRESS>Sent: Thursday, July 13, 2017 10:34 AM
To: openaddresses/openaddresses
Cc: mvasquez1955; Mention
Subject: Re: [openaddresses/openaddresses] Rural addressing (#3211)
Hi @mvasquez1955 https://github.com/mvasquez1955, thanks for your
interest in OpenAddresses! Where are your rural addresses based?
So far we're able to process point data (lat/lng address points) and parcel
data (we derive centroids). But support for road centerline data (with
address interpolation properties) hasn't been added yet.
Do you have address points or parcels instead?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openaddresses/openaddresses/issues/3211#issuecomment-315132438,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ack0XteDJ8yg-zjxMAhcA6ofJf3MZMXoks5sNkcPgaJpZM4OXM20
.[image: Image removed by sender.]

Great! What's the download address?
(We can also take DVD delivery but prefer live downloads.)

Can I email them to you?
From: Nathaniel V. KELSO<EMAIL_ADDRESS>Sent: Thursday, July 13, 2017 2:57 PM
To: openaddresses/openaddresses
Cc: mvasquez1955; Mention
Subject: Re: [openaddresses/openaddresses] Rural addressing (#3211)
Great! What's the download address?
(We can also take DVD delivery but prefer live downloads.)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openaddresses/openaddresses/issues/3211#issuecomment-315199864,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ack0Xh4DQKc9l8JO0rXdUoty-tfhBlx1ks5sNoSDgaJpZM4OXM20
.[image: Image removed by sender.]

Please feel free to email us at<EMAIL_ADDRESS>

Sure!
<EMAIL_ADDRESS>Are you the author or custodian for the data?

On Jul 14, 2017, at 15:30, mvasquez1955<EMAIL_ADDRESS>wrote:
Can I email them to you?
From: Nathaniel V. KELSO<EMAIL_ADDRESS>Sent: Thursday, July 13, 2017 2:57 PM
To: openaddresses/openaddresses
Cc: mvasquez1955; Mention
Subject: Re: [openaddresses/openaddresses] Rural addressing (#3211)
Great! What's the download address?
(We can also take DVD delivery but prefer live downloads.)
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openaddresses/openaddresses/issues/3211#issuecomment-315199864,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ack0Xh4DQKc9l8JO0rXdUoty-tfhBlx1ks5sNoSDgaJpZM4OXM20
.[image: Image removed by sender.]
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Custodian
From: Nathaniel V. KELSO<EMAIL_ADDRESS>Sent: Friday, July 14, 2017 6:04 PM
To: openaddresses/openaddresses
Cc: mvasquez1955; Mention
Subject: Re: [openaddresses/openaddresses] Rural addressing (#3211)
Sure!
<EMAIL_ADDRESS>Are you the author or custodian for the data?

On Jul 14, 2017, at 15:30, mvasquez1955<EMAIL_ADDRESS>wrote:
Can I email them to you?
From: Nathaniel V. KELSO<EMAIL_ADDRESS>Sent: Thursday, July 13, 2017 2:57 PM
To: openaddresses/openaddresses
Cc: mvasquez1955; Mention
Subject: Re: [openaddresses/openaddresses] Rural addressing (#3211)
Great! What's the download address?
(We can also take DVD delivery but prefer live downloads.)
―
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/openaddresses/openaddresses/issues/3211#issuecomment-315199864
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/Ack0Xh4DQKc9l8JO0rXdUoty-tfhBlx1ks5sNoSDgaJpZM4OXM20
.[image: Image removed by sender.]
―
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openaddresses/openaddresses/issues/3211#issuecomment-315494181,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ack0Xp3grQJiUK8cvR8j-B2UzFnw-t9dks5sOAHogaJpZM4OXM20
.[image: Image removed by sender.]

Hey @mvasquez1955, We'd still love to get your data into the project! Anything we can do on our end to make this happen?


Added model converter updates to CHANGES.md

@tfili updated CHANGES.md

@pjcozzi do you want to add this to master before the release?

Yes, I'll merge when ready.


Make a 1.40 official release

For packaging in Brew/Conda can you please make a release?

Hi Torsten,
have created a release v1.40.0 now.
Best regards, Thomas

Thanks @rattei !

As it was not yet in bioconda I have added the recipe (PR merged today so will be available soon).
The command to run it in graphical mode is:
gepard
and to run in command line mode type:
gepardcmd

I did package it Brew - never got to Conda sorry!


Discussion on some additional feature enhancement: rtmps and access control of publish/subscribe.

For stream publish/subscribe through docker-nginx-rtmp container, I want to add/implement the following features:

The rtmps protocol support.
The access control, say, based on username/password.

Any hints will be highly appreciated.
Regards,
HY

Hey @hongyi-zhao,

I don't think rtmps is supported by nginx-rtmp, but there are some guides posted in that thread on how to set it up via stunnel.

https://github.com/alfg/docker-nginx-rtmp/issues/25

What type of access control are you looking into? Any more detail or an example you can provide?
You can also check out the notify directives to make use of authentication:
https://github.com/arut/nginx-rtmp-module/wiki/Directives#notify

What type of access control are you looking into? Any more detail or an example you can provide?

To be frank, I'm really a green hand on livestreaming. From my current understanding, when it comes to it access control, I mean something like the following :
Constrain the publishing source of the stream, say, using the username/password pair.
Constrain the playback of the stream, say, using the username/password pair when the user accesses the stream URLs.

My experience is limited on this part, but from my understanding you can authenticate the user to your own API using the on_publish or on_connect directive from the Notify docs I linked. You can pass query parameters as part of the stream key:
For example, if you are connecting via:
rtmp://localhost:1935/stream/hello?key=foobar123

You can use the query parameter as a key.
In your nginx.conf, you can define something like this using on_connect or on_publish, which will send a request to that URL when the user attempts to connect:
rtmp {
    server {
        listen 1935;
        chunk_size 4000;

        application stream {
            live on;

            allow publish all;
            deny publish all;
            on_publish http://api.example.tv/auth;
            notify_method get;

            exec ffmpeg -i rtmp://localhost:1935/stream/$name
              -c:a libfdk_aac -b:a 128k -c:v libx264 -b:v 2500k -f flv -g 60 -r 60 -filter:v scale=1920:-1 -preset superfast -profile:v baseline rtmp://localhost:1935/hls/$name_1080p2628kbs;
       }
    }
}

Then on your backend API, you can write an auth handler for http://api.example.tv/auth that can validate the name and key, then respond with a 403 or 200 accordingly.

Thanks for your notes, I also find another example given here.

Sounds good. Can this be closed?


Deployment to vercel using vercel-edge preset fails during build stage

Environment
Package Manager: npm 9.6.5                                                                                8:53:53 AM
ℹ Current nuxt version: 3.5.0                                                                                8:53:53 AM
ℹ Removing lock-file and node_modules...                                                                                8:53:53 AM
ℹ Installing latest Nuxt 3 release...                                                                                8:53:56 AM
- Node Version:     v16.19.0
- Nuxt Version:     3.5.1
- Nitro Version:    2.4.1
- Package Manager<EMAIL_ADDRESS>- Builder:          vite
- User Config:      nitro, runtimeConfig, app, modules, content, image
- Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
- Build Modules:    -

Reproduction
I set the config to:
export default defineNuxtConfig({
	nitro: {
		preset: 'vercel-edge'
	},

Describe the bug
App deploys fine using default Vercel preset, but when changing it to vercel-edge, the app fails at the build stage on Vercel:
[09:41:28.240] [info] [nitro] Building Nitro Server (preset: `vercel-edge`)
[09:41:36.156] [error] [nitro] Error: Could not load /vercel/path0/node_modules/unenv/runtime/npm/consola/core.mjs (imported by node_modules/unenv/runtime/npm/consola.mjs): ENOENT: no such file or directory, open '/vercel/path0/node_modules/unenv/runtime/npm/consola/core.mjs'
[09:41:36.156]
[09:41:36.156]
[09:41:36.156] undefined
[09:41:36.157] [error] Could not load /vercel/path0/node_modules/unenv/runtime/npm/consola/core.mjs (imported by node_modules/unenv/runtime/npm/consola.mjs): ENOENT: no such file or directory, open '/vercel/path0/node_modules/unenv/runtime/npm/consola/core.mjs'
[09:41:36.157]
[09:41:36.213] Error: Command "npm run build" exited with 1
[09:41:36.530] BUILD_UTILS_SPAWN_1: Command "npm run build" exited with 1

Additional context
I was just following the docs from here: https://nitro.unjs.io/deploy/providers/vercel
Logs
No response

Hello, just to note that I have the same error with the cloudflare preset.
Happened after building a fresh yarn.lock, I see in the diff unenv went from 1.4.1 to 1.5.0 and added consola to its dependencies.
I've already tried running npx nuxi upgrade --force too.

Can confirm 1.5.1 fixed the issue on my side. 👍


Constant blocked requests

Is adding followers no longer feasible? I have random sleeps between my actions of 90-120 seconds each. First it requests the profile, waits another random 90-120, then follows it, and repeats that for about 10-20 follows every 2 hours but before it even follows the 2nd or 3rd one it gets banned for a day.

I gave up trying to follow/unfollow/like using the api a few months ago because I experienced the same thing. I built some macros for my android phone using tasker, and I trigger them from my code using autoremote.

My program seems to run fine, have followed over 100 people thus far without any issues other than "InstagramGetUserFollowersResult" failing.

Addressed in rewrite or no longer relevant.


feat($tooltip): support for custom triggers

The $tooltip service now has two ways to customize the default triggers.
The $tooltipProvider takes a trigger option and the *-trigger
attribute can be applied to a single element.
The $tooltipProvider's trigger option overwrites the default value
but the attribute will overwrite both.
A few logical default triggers are supported out of the box and have an
associated map to determine which hide trigger to use. mouseenter ->
mouseleave, focus -> blur, and click -> click. If any other
trigger is provided, it will be used to both show and hide the tooltip.
Custom hide triggers are not yet supported as they would require some
code trickery due to the way $observe works.
Closes #131

@monkeymonk I want to do the same thing. No luck so far.  :+1:


Bag contents in wrong path

Bag contents are getting put under . when unpacked, but get replicated correctly, this is ok but might make debugging failed bags harder

Adding some tracing to the unpacker, and this is what I see:
11:53:58.808 [ScalaTest-run-running-S3UnpackerTest] DEBUG u.a.w.p.a.b.services.s3.S3Unpacker - Processing archive entry b21000633/._fetch.txt
11:53:58.808 [ScalaTest-run-running-S3UnpackerTest] DEBUG u.a.w.p.a.b.services.s3.S3Unpacker - Uploading archive entry b21000633/._fetch.txt to wellcomecollection-storage-staging-ingests/alex-unpacker-testing/b21000633/._fetch.txt
11:53:58.942 [ScalaTest-run-running-S3UnpackerTest] DEBUG u.a.w.p.a.b.services.s3.S3Unpacker - Processing archive entry b21000633/fetch.txt
11:53:58.943 [ScalaTest-run-running-S3UnpackerTest] DEBUG u.a.w.p.a.b.services.s3.S3Unpacker - Uploading archive entry b21000633/fetch.txt to wellcomecollection-storage-staging-ingests/alex-unpacker-testing/b21000633/fetch.txt

Ah, but this doesn't happen with the Intranda bags!
I think this might be something that the macOS tar command is doing.

Ah, I think this is it: https://stackoverflow.com/a/8766757/1558022

This is an S3 console bug caused by the macOS tar command being annoying. I’m inclined to ignore, as uploading bags from macOS isn’t a common use case.


Change slippage calc and add error feedback to JSON

Also adressing @pkretzschmar 's request. Should close #60  (at least the first half).

@PabloCGL no I think you had it right! Sorry for not making the comment in the issue. You were calculating Slippage correctly I was just surprised that it wasn't higher!


[designspace] Where to store varible font-specific data

It is common to set different family name and other related name data on variable fonts and static instances, but looking into DesignSpace v5, I see no designated place to store these.
There is <variable-font> but it seems to be designed mainly for creating subsets of designspace (to build a variable font, all axis settings needs to be duplicated as any missing axis will be sliced at its default value, if my reading of documentation is correct) and it does not seem to have any of instance attributes other than name and filename.
Should <variable-font> be extended to be able to handle this, or this not what it was designed for?

I think this is related to https://github.com/fonttools/fonttools/issues/2608, we can probably support the new lib keys in both <instance> and <variable-font>, if <variable-font> is the right place for this.

Yes that would make sense I think

that would make

what exactly would make sense?
Not clear to me why the current <variable-font> element is not suitable for this. Is the supposed duplication of the per-VF axis settings the main concern?
my understanding is if no <variable-font> elements are provided, then the DS is intented to build only one implicit VF target. But if one or more such <variable-font> elements are explicitly provided all of those get built.

on rereading this I see now, you're proposing to add additional attributes to variable-font element for setting different family name and other related name data. Sure, we can do that. Or we can use the lib...

I wanted to say the proposal from Colin to have  fontinfo data for instances (and so for variable fonts too) would make sense to me.
In splitVariableFonts, when making a per-VF designspace, the lib of that designspace is the lib of the  element mixed with the lib of the original full designspace that we're splitting. So it means the full designspace V4 representing only 1 VF can also have in its global lib the same fontinfo data.

fontinfo data for instances (and so for variable fonts too)

but instances (at least for the static instance UFO build pipeline) do correspond to UFOs with their own fontinfo.plist, and it's the UFO spec that defines the meaning of those attributes. For variable-fonts there is not such correspondance.. It would feel weird to link to UFO spec for VF attributes.

That's the discussion Colin was having in the other issue: https://github.com/fonttools/fonttools/issues/2608
I'm not sure it's that weird to rely on the UFO spec for the meaning of these fields; sure the UFO and designspace specs are two separate things but the UFO spec is good at describing this fontinfo stuff, why not reuse it?

hm maybe we could restrict to support only the fontinfo fields that start with openType...

I mentioned a similar situation here: https://github.com/fonttools/fonttools/issues/2916

My intention with #2608 was reducing the amount of adjusting I need to do via a build script after those UFOs are generated, I would still love fontinfo.plist-level manipulation of individual instances there. I grant that it is not as useful for the <variable-font> section because the relationship to a UFO is not 1-to-1, but certain non-interpolatable values may be useful to set directly in the same manner. Particularly names.
I would still love to have the same amount of control over things like familyName and styleName, etc that I already have with <instance> element, so that at least may be a starting point.

Similar to #2606


Improve UI of Contact Us page

Is your feature request related to a problem? Please describe.
Current UI of Contact Us page can be improved.
Describe the solution you'd like
I would like to modify it.
Have you read the Code of Conduct?
Yes

You can start working on the issue @SachinMittal1766

Kindly Update regarding your progress so far @SachinMittal1766

Hi.. is there anyone working on the issue
If not I will be glad to work upon it.

I want to work on this issue under JWOC

I want to work on this issue to enhance the UI for a better interaction

I want to work on this issue under JWOC

Sure, give it a try.

i want to contribute to this issue under JWOC, please assign me

I want to contribute by making the contact us ui attractive, please assign me under JWOC.

Assigning it to @Coder-Srinivas as i didn't get any update since 2 weeks

Please label the issue under jwoc

I would like to work on this under JWOC


Fix the bug that fallback does not support more than one output

Signed-off-by: liangtao07<EMAIL_ADDRESS>Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #811
Type of change
Please delete options that are not relevant and/or add your own.

Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the style guidelines of this project (You can use the linters)
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas and hacks
[x] I have made corresponding changes to the documentation
[ ] I have added tests to verify my fix or my feature
[ ] New and existing unit tests pass locally with my changes

cc @inocsin

I have ran run_cpp_linter.py locally and modify the code format.


节点长度计算不正确

测试代码：
package main

import (
	"fmt"
	"time"

	"github.com/phuslu/lru"
)

func main() {
	cache := lru.NewTTLCache[int, int](1024)
	for i := 0; i < 1000; i++ {
		cache.Set(i, i, time.Hour)
	}
	fmt.Println(cache.Len())
}

运行输出：
tests (main) → go run main.go
999

期待输出 1000.

cache.Set(0,0,time.Hour) not work

I am interested this issue and will take some time to investigate it, hope I can get the root cause, but it would be better if we get some suggestions for @phuslu.


Video / Walkthrough instructions for using

Appreciate the effort here, great learning project. Would love to see a step by step view on deploying this and then using this.

Hi,
Thanks for your feedback.
Deployment part is not completed yet, but at first it will be based on docker-compose, and then I will setup Kubernetes deployment.

looking forward to your posts on this project~~


Replacements missing stripes of land

Describe the bug
Block replacements are missing random 8x8 patches, usually lined up together.
To Reproduce

Setup a replacement
Log in

Logs/Screenshots/Videos
config:  https://pastebin.com/NnVW1Wkz
screenshots:   https://imgur.com/a/Bun1EZT
Versions (please complete the following information, do NOT say "latest"):

Minecraft: 1.12.2
Mod Version: 2.2.0
Forge 1.12.2-<IP_ADDRESS>47
Quark-r1.6-178

Try again with 2.3.0 and comment if this is still an issue.


ExchangeOnlineManagement 0.3555.1 connecting with MFA enabled account results in session refresh on every command

Every command causes a refresh/relogin for the session:
"Creating a new Remote PowerShell session using MFA for implicit remoting of "Get-Mailbox" command ..."
And trying to pipe one command into another results in error "Cannot invoke the pipeline because the runspace is not in the Opened state. Current state of the runspace is 'Closed'."

@officedocsbot assign @yogkumgit

Hi @js-ware, thank you for your feedback.
The Exchange Online PowerShell V2 module is currently in Preview. If you have any feedback, concerns, or are facing any issues with the EXO V2 module, please send an email to exocmdletpreview[at]service[dot]microsoft[dot]com (email address intentionally obscured to help prevent spam).

@dariomws306  Thank you very much for the contribution and sharing this explanation. @js-ware
Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


formatter not formatting macros

class Bla
  macro bla(some1, some2)
          value = {{some1}} + {{some2}}
        end
end

expected
class Bla
  macro bla(some1, some2)
    value = {{some1}} + {{some2}}
  end
end

Macros are text content without a format, there's no way to format them right now. This is also something I'd like to improve, maybe macros shouldn't just be text content but be parsed by an almost regular parser. The problem is that some things will stop working. For example this:
macro foo(x)
  var_{{x.id}} = 1 # This isn't a valid program without knowing what x resolves to
end

To explain this a bit more, imagine this:
macro foo(x, y)
  {{x.id}}s 1 {{y.id}}
end

foo "put", " + 2 + 3"

The above is totally ridiculous, but it works. This is because the macro content is like a template language, it has no semantic. Just after putting everything together it is parsed. And you can see that there's no reasonable way to format the above.


feat: update ESLint react rules

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


SCM - have the ability to update the base branch

GHPR extension picks wrong base branch when: I branch off of main, create a commit without upstreaming it, then branching of this branch and adding a commit without upstreaming it. I then switching back to the previous branch and upstream it and move back to the child branch again and upstream and create a PR.
Start from main branch:

git checkout -b test1
create a commit for test1 (do not upstream)
git checkout -b test2
create a commit for test2 (do not upstream)
git checkout test1
upstream branch test1
git checkout test2
upstream branch test2
create PR with GHPR extension from branch test2
🐍 picks main as base branch, would have expected test1

Additional info:

githubPullRequests.createDefaultBaseBranch: auto
Not using a fork
git log includes git config --local branch.test2.vscode-merge-base [88ms]

I will take a look as the "base branch calculation" is implemented in the vscode.git extension. //cc @alexr00 as FYI.

@benibenj showed me this, and my suspicion is that because the second branch is created before the first branch has an upstream, the first branch isn't getting picked as the vscode-merge-base.

Since the merge-base is shown in the incoming/outgoing history graph, it is being computed when a new branch is created. As @alexr00 called out, since the first branch does not have an upstream when the second branch is created, we default to the default branch. I think that it would be confusing to automatically recalculate the merge-base, however I think that users should have a user gesture to be able to manually change the base that is being shown.

Closing this issue since "incoming/outgoing" has been moved into its own view which will implement its own way to select the branches that are being shown in the graph.


Use URL for FetchContent

Use URL and URL_HASH for everything, for the reasons described in the
comment.  Versions of everything are unchanged, except for tl::optional,
which is now on an actual release (1.1.0).
Tested locally that this works with no dependencies installed on the
system, with cmake 3.20 (cmake 3.19 doesn't seem to be available on pypi
anymore)
Topic: fetchcontent-url-download

Reviews in this chain:
└https://github.com/symforce-org/symforce/pull/301 Use URL for FetchContent

#
head
base
diff
date
summary

0
f4c5b132
30bd18e3
diff
Feb 24 15:07 PM
4 files changed, 25 insertions(+), 26 deletions(-)


Debug available data in mail template - e.g. dump - not working?

Description
It seems to be kind of impossible to debug available data in a mail template by e.g. using dump as that doesn't seem to be rendered at all.

This should be not necessary when this feature is generally available
https://github.com/shopware/platform/blob/trunk/src/Core/Framework/Resources/config/packages/shopware.yaml#L132-L135
Can you try it with FEATURE_NEXT_12654=1 in your .env with the trunk branch

However, it won't help in case the initia e-mail template is setup during plugin configuration because there the admin preview is not available. Here dump would still be helpful, especially in combination with e.g. mailhog

One more possible issue regarding this, even if I see what variables are available, I still don't know which association are joined etc. so it is helpful but not the same as dump.


Start time of probe timestamp

Dear team,
We are trying to calibrate the timestamps of the received images with a standard unix timestamp (like time.time() in python for example). We realised that the timestamp that is being sent with the image is basically the countdown from when the probe was turned on, but we can't find the time in which the probe was turned on.
We are referring to this timestamp:
https://github.com/clariusdev/cast/blob/master/src/include/cast/cast_def.h#L56
Is there any way to find the start time of the timestamp of the probe?
Thanks a lot in advance!

as the probe generates the timestamps for the frames, and as it runs an embedded platform and does not care about the time of day, the timestamps are based on a monotonic clock, and hence, there is no way to accomplish what you are asking, only the precise difference between incoming frames. if you want to use your own timestamping method when receiving frames, this would probably serve your purposes better and still be quite precise (ie. < few ms lag)

Hi Kris, Thank you for your comment and sorry for the delay. After speaking to the support and asking for a feature request, we will wait for their answer. Closing this thread.

Hi Deanzadok,
Is your problem solved? I have the same problem now.


File uploader: component update

Acceptance Criteria:

Helper text for "Button" variant should follow form item convention (and/or just use the form item) and be font-size: var(--goa-font-size-2)

Wrapping the GoAFileUploadInput in a form item now works correctly for this case, this is no longer an issue.


Fix auto launch

Codecov Report

Merging #58 (8dea3a8) into master (b62828c) will decrease coverage by 0.05%.
The diff coverage is 12.87%.

@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
- Coverage   32.50%   32.44%   -0.06%
==========================================
  Files          61       61
  Lines       11384    11412      +28
  Branches      178      183       +5
==========================================
+ Hits         3700     3703       +3
- Misses       7506     7526      +20
- Partials      178      183       +5

Impacted Files
Coverage Δ

src/clj/skylobby/fx/players_table.clj
1.58% <0.00%> (ø)

src/clj/spring_lobby.clj
13.24% <0.00%> (-0.05%)
:arrow_down:

src/clj/spring_lobby/client/handler.clj
32.12% <0.00%> (ø)

src/clj/skylobby/fx/replay.clj
62.51% <8.24%> (-1.31%)
:arrow_down:

src/clj/spring_lobby/util.clj
69.05% <55.55%> (-1.32%)
:arrow_down:

src/clj/skylobby/fx/battle.clj
66.83% <66.66%> (+0.08%)
:arrow_up:

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 b62828c...8dea3a8. Read the comment docs.


Change deployed deepstream ip

Change deployed deepstream ip

Note: Have just done small tests on this since I cannot test this feature to its fullest until it is actually deployed.

Since we are changing the service name to gameclient, the other repos will not work unless those pull requests gets through aswell.


Originator ID is not saved when creating Items

Creating item with a given Originator ID
Request
curl -X POST -H "X-API-KEY: Hc2BHTn3bcrwyPooyYTP" "http://testing.whiplashmerch.com/api/items.json" -d 'sku=SOME-SKU-KEY&title=EEE&originator_id=123123123'

Response
{"available":false,"created_at":"2015-10-01T07:24:27-04:00","currency":"USD","description":null,"exp_quantity":0,"height":null,"id":150182,"image_file_name":null,"image_originator_url":null,"image_updated_at":null,"is_bundle":false,"length":null,"media_mail":false,"packaging":false,"price":"0.0","quantity":0,"returnable":null,"scancode":null,"sku":null,"street_date":null,"title":null,"updated_at":"2015-10-01T07:24:27-04:00","vendor":null,"weight":null,"wholesale_cost":null,"width":null,"originators":[{"group_id":null,"original_id":null,"provider":"api"}]}

Note that, the response does not contain any originator_id field.
When requesting item via the originator ID, we provided
Request
curl -X GET -H "X-API-KEY: Hc2BHTn3bcrwyPooyYTP" "http://testing.whiplashmerch.com/api/items/originator/123123123.json"

Response
null

As we can see, no items are return for the given originator ID.

It seems that requesting items via Originator ID always returns null

This does indeed seem to be a big. Your code should be correct, and I'll update this on our end, and post back soon.

This is fixed and will be deployed shortly.


refactor(StateVariables): Change max_block_number to max_timestamp

The max_block_number property is used to constrain things like SharedMutable (#5490), but choosing delays in blocks is both awkward and prone to issues if the block time ever changes. It'd be much better if we could have these work with actual timestamps.
A problem with using timestamps would be that if block production were to suddenly halt, transactions would become invalidated due to having expired, which would not occur with block numbers. This may or may not be an issue.
The change itself is simple to make, since the entire structure is already there - it's simply a matter of changing the assertions and initializations to use time instead of block numbers.

Another issue with using block numbers is that we're unable to magically change this value for testing purposes - we must actually mine full blocks, which is quite slow. This makes us want to have short delays (e.g. 3-5 blocks). But it's also error-prone if tests need to send more transactions, potentially unintentionally pushing past the block of change.
Changing the time on the other hand is instant and cannot result in accidental errors.

A problem with using timestamps would be that if block production were to suddenly halt, transactions would become invalidated due to having expired, which would not occur with block numbers. This may or may not be an issue.

Using blocks, a halted network does not move any of the delayed actions forward, whereas using timestamps it'd be possible to have a value change to through without actors having the opportunity to react to this. I'd argue however that this sounds like a network issue and not an application one.

max_timestamp doesn't seem to be a well-liked name, we'll go with include_by_timestamp instead.


Non-string discriminator values have undefined behavior (3.0.4)

Fixes #3475

The "undefined" wording was chosen to allow implementations that make a good-faith effort to accommodate non-string values to remain compliant.  However, new implementations are not expected to implement any sort of type coersion, and this guides API designers away from that expectation.
If accepted, I will port this to 3.1.1.  For 3.2.0 we might either want to strengthen this to outright forbid non-strings or define a mapping for at least certain non-strings (e.g. booleans).

Since there are two TSC approvals here, I'm going to hit the merge button - the TSC emphasized again in today's TDC call that the 2nd TSC approver can merge, so I'm assuming I can merge with 2 TSC approvals.


flet app packaged as MacOS App startup issue

Description
I'm seeing issue when flet app packaged as MacOS app starts. It works fine within a .venv and while running flet run main.py. Only the packaged macOS app doesn't work / start
App : https://github.com/kspviswa/pyOllaMx
Code example to reproduce the issue:
not applicable
Describe the results you received:
Traceback (most recent call last):
  File "<string>", line 40, in <module>
  File "<frozen runpy>", line 229, in run_module
  File "<frozen runpy>", line 88, in _run_code
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/main.py", line 3, in <module>
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/prompt.py", line 3, in <module>
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/search.py", line 5, in <module>
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/__pypackages__/pydantic/v1/main.py", line 339, in __init__
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/__pypackages__/pydantic/v1/main.py", line 1100, in validate_model
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/__pypackages__/langchain_community/utilities/duckduckgo_search.py", line 33, in validate_environment
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/__pypackages__/duckduckgo_search/__init__.py", line 10, in <module>
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/__pypackages__/duckduckgo_search/duckduckgo_search.py", line 14, in <module>
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/__pypackages__/docstring_inheritance/__init__.py", line 89, in __init__
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/__pypackages__/docstring_inheritance/__init__.py", line 75, in __init__
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/__pypackages__/docstring_inheritance/class_docstrings_inheritor.py", line 88, in inherit_docstrings
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/__pypackages__/docstring_inheritance/class_docstrings_inheritor.py", line 136, in _inherit_attrs_docstrings
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/__pypackages__/docstring_inheritance/docstring_inheritors/bases/inheritor.py", line 115, in inherit
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/__pypackages__/docstring_inheritance/docstring_inheritors/bases/inheritor.py", line 127, in _inherit
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/__pypackages__/docstring_inheritance/docstring_inheritors/bases/inheritor.py", line 268, in _inherit_sections
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/__pypackages__/docstring_inheritance/docstring_inheritors/bases/inheritor.py", line 334, in _filter_args_section
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempH56BGa/__pypackages__/docstring_inheritance/docstring_inheritors/bases/inheritor.py", line 209, in _warn
  File "./inspect.py", line 1244, in getsourcelines
  File "./inspect.py", line 1081, in findsource
OSError: could not get source code

Describe the results you expected:
macOS app to start and function
Additional information you deem important (e.g. issue happens only occasionally):
It happens only in my recent version of app. Only thing I added was more logic that includes some duckduck-go search api usage
Flet version (pip show flet):
Name: flet
Version: 0.19.0
Summary: Flet for Python - easily build interactive multi-platform apps in Python
Home-page:
Author: Appveyor Systems Inc.
Author-email<EMAIL_ADDRESS>License: Apache-2.0
Location: <path/to>.venv/lib/python3.12/site-packages
Requires: cookiecutter, flet-runtime, packaging, qrcode, watchdog, websocket-client, websockets
Required-by:

Give your requirements.txt file (don't pip freeze, instead give direct packages):
duckduckgo_search==4.4

Operating system:
MacOS 14.3
Additional environment details:
Flet pack command used :
flet build macos --build-version '0.0.2' --copyright 'Viswa Kumar 2024 ©' --project 'PyOllaMx' --company 'PyOllaMx'

This looks suspicious:
...
File "./inspect.py", line 1081, in findsource
OSError: could not get source code

Not sure what sources it's trying to load, but be aware that during the packaging all .py files are compiled to .pyc.

I tried renamed other unreferenced / used .py files to .py1 and kept just the actual files. But still no luck
Traceback (most recent call last):
  File "<string>", line 40, in <module>
  File "<frozen runpy>", line 229, in run_module
  File "<frozen runpy>", line 88, in _run_code
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/main.py", line 3, in <module>
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/prompt.py", line 3, in <module>
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/search.py", line 5, in <module>
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/__pypackages__/pydantic/v1/main.py", line 339, in __init__
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/__pypackages__/pydantic/v1/main.py", line 1100, in validate_model
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/__pypackages__/langchain_community/utilities/duckduckgo_search.py", line 33, in validate_environment
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/__pypackages__/duckduckgo_search/__init__.py", line 10, in <module>
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/__pypackages__/duckduckgo_search/duckduckgo_search.py", line 14, in <module>
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/__pypackages__/docstring_inheritance/__init__.py", line 89, in __init__
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/__pypackages__/docstring_inheritance/__init__.py", line 75, in __init__
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/__pypackages__/docstring_inheritance/class_docstrings_inheritor.py", line 88, in inherit_docstrings
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/__pypackages__/docstring_inheritance/class_docstrings_inheritor.py", line 136, in _inherit_attrs_docstrings
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/__pypackages__/docstring_inheritance/docstring_inheritors/bases/inheritor.py", line 115, in inherit
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/__pypackages__/docstring_inheritance/docstring_inheritors/bases/inheritor.py", line 127, in _inherit
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/__pypackages__/docstring_inheritance/docstring_inheritors/bases/inheritor.py", line 268, in _inherit_sections
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/__pypackages__/docstring_inheritance/docstring_inheritors/bases/inheritor.py", line 334, in _filter_args_section
  File "/var/folders/rd/nsmb4_7n0lx599jrv5sl21400000gn/T/serious_python_tempzWHgaN/__pypackages__/docstring_inheritance/docstring_inheritors/bases/inheritor.py", line 209, in _warn
  File "./inspect.py", line 1244, in getsourcelines
  File "./inspect.py", line 1081, in findsource
OSError: could not get source code

I'm going to add https://github.com/flet-dev/serious-python/issues/71 and we'll see if that fixes that lib.

@FeodorFitsner - I did a little check . I commented out the code that explicitly uses the duckduckgo search api, but kept the rest of the stuff. The packaged app worked. Next I included the search.py but just didn't use it in my main.py. Result was still positive. Only when I call a func in search.py that uses DDGS, I'm seeing this error.
One more point to note is that, even though my code is not async, the ddgs library apparently inherits sync version from async version. While running my app in local mode, I saw few warnings, but the app was still functional. However when I pack that into MacOS app, that's where I'm facing this current issue.
Just my 2 cents for you, if it helps in understanding the issue.
PS: I have also opened an issue with ddgs library as well https://github.com/deedy5/duckduckgo_search/issues/183

@FeodorFitsner - My issue got fixed . Thanks to https://github.com/deedy5/duckduckgo_search/issues/185 . Feel free to close this issue . My app is now packed and released here : https://github.com/kspviswa/pyOllaMx/releases

Thanks for letting know!


chore: add help text for --bootnodes

Moves the bootnodes flag to NetworkOpts
Adds help text

Codecov Report

Merging #948 (afb9c80) into main (c41bdd9) will increase coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #948      +/-   ##
==========================================
+ Coverage   73.74%   73.76%   +0.01%
==========================================
  Files         292      292
  Lines       32256    32261       +5
==========================================
+ Hits        23788    23798      +10
+ Misses       8468     8463       -5

Flag
Coverage Δ

unit-tests
73.76% <0.00%> (+0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

bin/reth/src/lib.rs
10.00% <0.00%> (-2.50%)
:arrow_down:

bin/reth/src/node/mod.rs
0.00% <0.00%> (ø)

crates/primitives/src/forkid.rs
96.30% <0.00%> (+0.05%)
:arrow_up:

crates/net/network/src/session/active.rs
84.84% <0.00%> (+0.18%)
:arrow_up:

crates/net/network/src/manager.rs
49.38% <0.00%> (+0.20%)
:arrow_up:

crates/stages/src/stages/sender_recovery.rs
94.14% <0.00%> (+1.80%)
:arrow_up:

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