Feature Request: partial object matches for array.find()

Currently I believe you have to match on an entire object, but it'd be excellent if you could match against just parts.
var objs = [{ id: 1, title: 'Object 1'}, { id: 2, title: 'Object 2'}]
objs.find({id: 1}) // should return { id: 1, title: 'Object 1'}

I would just like to see a terse syntax for this, since I use this pattern this quite often. I was somewhat surprised when find didn't behave like this, I guess I was expecting it to be more like a search.
When there's a bunch of these statements in a row in a test case, the syntax I mentioned would make this a lot more readable.

I understand about terse syntax, and I'm all for it... however unfortunately I think this one won't be possible due to the ambiguous nature of the syntax you're suggesting... it would be too unexpected for two different objects to match for no apparent reason.
Maybe you could hold a reference to that object that you're searching on to reuse later? There's a lot you can do locally to improve readability/syntax. If, on the other hard, the objects you're searching for are always changing, then I think in fact the function based syntax will actually most likely be more terse for you....

Perhaps what I'm requesting should be a new function, or perhaps a second parameter to disable exact matching on objects or something. Either way, this could be really useful.
In my case, can't keep reference, because in-between a transformation may occur, all I care about is that the resulting array contains an object with the same id as the original object.

Not to be a downer but I tend to see this as a pretty special case... it doesn't seem like something that any additional syntax or methods would help, and conversely could make things a lot more murky as far as the API is concerned. I'll leave the issue open though... I'm open to ideas and if I get some more people who want this...
In the meantime, can you post some of the code in question? I like to see it to get an idea of what the use case is....

I'm really going back and forth on this one. On the one hand I don't like this idea because I think the fundamental readability is better with the callback form. But then I flip it around and it suddenly seems like a good idea and fairly useful........
It may simply come down to the naming... do you have any good suggestions for a name for this method?

Whoops, I got distracted.
The problem with the name, is most alternatives are simply synonyms for 'find', eg locate, search, rummage, etc, which could add confusion. Perhaps match? But, intuitively I'd expect match to work as find does now and find to behave in the proposed way. Hrm.
How much code would break if you modified the behaviour of find? It would introduce false positives, so I guess that's not good either. Tricky.

Indeed. Find should do a straight find. It makes more cognitive sense and is easier to understand for the developer. Additionally another good point of the Sugar find (and any other method hinging on its functionality) is that it will quickly return if the search criterion is strictly equal ===. This makes objects passed by references very quick to find in an array.
On the one hand I see the usefulness of this, on the other hand I know for sure that I don't want find to work differently as it would be too unexpected....
Let me mull on this one some more....

Sugar find ... will quickly return

I'd like to see benchmarks on that ;)
... I just did a quick benchmark on == vs ===, http://jsperf.com/equal-vs-strict-equal/4
Interesting, == and === don't seem to change the performance (at least in chrome 15.x) ... perhaps a more complex example would produce different result

In this case it isn't the difference between == and ===, but instead strict equality by reference is checked and will return true up front before stepping through properties to compare complex objects. Whether the difference is significant or not is a different question but it will almost certainly be faster.

A little late to this party, but as for a possible name for this method, how about similar?

I had a lot of thought about this one when you first posted, set it aside, came back to it, and set it aside again. I tried out a few ways of dealing with it and didn't like them, and now I think I've come to a solution that I'm going with.
There are a number of methods that use the internal method multiMatch, among them the array methods find, and findAll. Right now when an object is passed to match on, it does a straight Object.equal(a, b) operation, which tells it that all the properties must not only be identical, but also the number of properties in the object must match as well. equal has gone through some revisions and is now quite robust, so this basically means that the object is identical in every way except that it does not need to be strictly equal, or in the case of objects, equal by reference.
After thinking about this a good long time, however, in the case of arrays this kind of a use case is perhaps more trouble than it's worth. Let's think about finding an object inside JSON data, which is what I see as the prime (only?) use case for passing an object to a method that performs matching on an array:
var arr =[{
  name: {
    first: 'John',
    last: 'Bobbins'
  },
  age: 25
}];

To match this object in the array, the entire object would have to be reconstructed, and passed identically. Not only is this a pain, but it also doesn't allow matching of anything fuzzy. The more I think about it having this functionality on findAll is nearly useless as it would only be able to find strict matches on objects in the array, of which there would be (in most cases, presumably) only one, so having it find multiple elements is pointless. @secoif this was probably your exact point when you first filed this issue.
I want to take a new tack on this... instead of a passed object being an exact object to match against, it instead can be thought of as a collection of arguments to pass to multiMatch for the given property. For example, right now you can do the following:
['john', 'james'].findAll(/ja/);

> ['james'];

Similar to this, an object passed to findAll would simply contain a collection of matches for that property... so for example if it were run on the array above:
arr.findAll({ name: { first: /^Jo/ } });

This would, in words, be the same as saying "find any element in the array that has a name object whose first property matches the regex /^Jo/. As it turns out this change was laughingly trivial to make... it simply required iterating over an object passed to multiMatch and recursively calling multiMatch for each property inside it, instead of calling equals on the 2 objects. However it has some big implications:

It addresses the issue @secoif describes above as partial matches would now be acceptable, so entire JSON structures would not have to be recreated just to match an object...which doesn't make much sense in the first place.
Every ability of multiMatch can now be applied to each property, meaning that any property can be matched against a regex... additionally callback methods can be passed for any given property, so complex matching on a per-property basis can take place as well.
By changing multiMatch this functionality is not simply applied to one method, but any method that hinges on it's functionality. This includes:

Array#every
Array#some
Array#filter
Array#find
Array#findAll
Array#findIndex
Array#remove
Array#count

This does mean a big change, and updating may cause some breakages, which is a downside, but I find it unlikely that many people are using this functionality to begin with as it would be quite bothersome when working with JSON data that is undoubtedly a lot bigger than the contrived example given above.
Also note that some methods are defined in the ES5 spec, however they do not work by passing straight objects in this way, which is functionality that Sugar layers on top. This is good, however, because it means we can change the functionality across the board and have better consistency. Finally what I like best is that the previous functionality is still perfectly achievable through a syntax that is only slightly longer:
arr.findAll(function(el) {
  return Object.equal(el, otherObj);
});

... or even better...
arr.findAll(Object.equal.bind(null, otherObj));

... and best of all if you can guarantee that the JSON objects in question do not have varying number/types of properties, the syntax doesn't need to change at all:
arr.findAll(otherObj);

Each property will simply recursively match against the objects' properties. Any "extra" properties will simply be ignored, which I think is much better behavior....
It's taken me awhile to get to this decision but I think it's much better all around...

Hey Andrew, thanks for this, I think you're onto a great solution. Nice one.
My only suggestion would be to make this improvement go into the next major revision, so people know to expect breakages.

Well the next major revision is out! v1.2 adds this "fuzzy matching" as the default for all array methods.. I've taken the time to note ALL methods affected and added it to the changelog plus a detailed description on the blog, so I'm hoping that it should be clear what's been affected.


Add mkdir /data/dataset command

When running the script, a error will be generated saying dataset folder does not exists


Allow for favorites to be created at any location, not just a point of interest.

Users should be allowed to select any location, not just a point of interest, and then get directions or save that place as a favorite.

Thanks for your interesting suggestion !
We will consider to make this feature possible soon !

This is now possible. Click anywhere on the map and you'll be able to add the position to your favorites or share a link with the exact latitude/longitude:
https://www.qwant.com/maps/place/latlon:48.87682:2.37971


FkConsumer.java:57-58: Fake subscribe with...

The puzzle 54-24b9fc66 from #54 has to be resolved:
https://github.com/eo-cqrs/eo-kafka/blob/d78f949e67ac72229c396ec402568cb6573b91c9/src/main/java/io/github/eocqrs/kafka/fake/FkConsumer.java#L57-L58
The puzzle was created by @h1alexbel on 04-May-23.
Estimate: 60 minutes,  role: DEV.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

@0pdd thank you for reporting this. I'll assign someone to take care of it soon.

@0pdd thank you for reporting this. I'll assign someone to take care of it soon.

I see you're talking to me, but I can't reply since I'm not a chat bot.

@l3r8yJ Don't forget to close this ticket before the deadline (2023-05-14T12:12:36). You are past the first half of the allowed period.

@zoeself deregister

@zoeself deregister

@h1alexbel ok, I've removed this task from scope. I'm not managing it anymore.

@l3r8yJ depends on #120

@zoeself register

@zoeself register

@h1alexbel I've just registered this ticket as a task and will assign it to someone soon. Thanks!

@h1alexbel this is your task now, please go ahead. Deadline (when this ticket should be closed) is 2023-07-01T09:59:06.750007.
Estimation here is 60 minutes, that's how much you will be paid.
Remember, you don't have to solve everything in this ticket - you can solve it partially and leave todo markers in the code, which will become future tasks.
If you have any questions don't ask me, I'm not a technical person. Open new tickets instead.
If you don't have time or simply don't want to work on this, you can always resign.


graphback not found 0.14.0-alpha1

If I only install graphback, the graphback executable in node_modules/.bin is not found. Shouldn't it be there when installing graphback? I have to install graphback-cli to get the graphback command to work.

graphback is library. Grapback-cli is command line tool.
The library doesn't require graphql and cli does (without that we will have ugly graphql.js conflicts).
We will need to see if we can pull out all commands to graphback etc. to make this simpler.

Closing as duplicate of https://github.com/aerogear/graphback/issues/1328


Checklist functionality - Not sure if I'm being thick

Taking the example of #28, the following code works, with 1 issue: The helper correctly displays the city names, however clicking on the names, the selected items are not checked.
editable @common_app, :city_ids, url: user_common_app_path(@user,@common_app), type: "checklist", value: @common_app.cities.map{|city| city.name}, source: City.all.map{ | city | {value: city.id, text: city.name} }

Switching the value to be defined as @common_app.cities.map{|city| city.id } results in the checkboxes being correctly checked, but the initial value displayed on the page is now the list of ids, rather than the cities.
This is somewhat problematic.
I don't know if it's just because it's the end of a long day, or if I'm simply fundamentally misunderstanding how the view helper is written but looking at https://github.com/werein/x-editable-rails/blob/master/lib/x-editable-rails/view_helpers.rb#L75-L78 I'm not seeing an obvious solution.
I'm happy to write the patch (if I'm not being super retarded), if I'm pointed in the right direction.

Ended up removing x-editable-rails in the project, issue no longer relevant to me.


Afreecatv VODs page support

Checklist

[X] I'm reporting a site feature request
[X] I've verified that I'm running yt-dlp version 2<IP_ADDRESS>. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
Indonesia
Example URLs
https://bj.afreecatv.com/ryuryu24/vods
https://bj.afreecatv.com/ryuryu24/vods/normal
https://bj.afreecatv.com/ryuryu24/vods/review
https://bj.afreecatv.com/ryuryu24/vods/user
Description
Add afreecatv user vods pages support
Verbose log
F:\downloader\afreecatv>youtube-dl https://bj.afreecatv.com/ryuryu24/vods -o "ryuryu24\Fan VODs\%(uploader)s\%(title)s [%(id)s].%(ext)s" --embed-thumbnail --cookies afeecatv-cookies.txt
[generic] vods: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] vods: Downloading webpage
[generic] vods: Extracting information
ERROR: Unsupported URL: https://bj.afreecatv.com/ryuryu24/vods

F:\downloader\afreecatv>pause
Press any key to continue . . .

thanks!


Fix incorrect service name in readme

Looks like there is some copy pasta errors in the README, thought I'd fix those!

🤦♂ Thank you!


Webinterface doesn't receive data from the API

Hi,
I've set up a new RaspiBlitz v1.8.0 on a Raspi4 with 8GB of RAM. I am able to login to the new web interface, but only see static stuff and spinning wheels:

Sometimes its just a spinning wheel (and after 10 minutes or so (!) it finally turns into the screenshot above):

In the settings, there is no information on RaspiBlitz or Blitz-API versions but the Reboot button works, so there has to be some communication to the API (or does that use a different connection?)

After a reboot its still the same.
The Blitz_API seems to be running:

root@raspberrypi:~# ps aux | grep api | grep -v grep
blitzapi     783  2.2  0.7<PHONE_NUMBER>8 ?        Ssl  13:03   0:46 /usr/bin/python -m uvicorn app.main:app --port 11111 --host=<IP_ADDRESS> --root-path /api

But with this via SSH on the RaspiBlitz:

curl --header "Content-Type: application/json"
--request POST
--data '{"password":"mypassword"}'
http://<IP_ADDRESS>:11111/system/login

I get {"detail":"Not Found"}, with curl -N http://<IP_ADDRESS>:11111/v1/bitcoin/getblockchaininfo the same Not Found
I can't find any logfile for the blitz_api. How can I debug this further?

I have the same problem. I have already done the patch update.

@cstenglein can you help debug this?

I think the path should be http://<IP_ADDRESS>:11111/v1/bitcoin/getblockchaininfo
Otherwise I can look into It more next weekend.

@freerko Maybe try to check what happened with the blitzAPI:
sudo journalctl | grep 'BlitzBackendAPI' -A 100
In the RaspiBlitz Telegram someone had a python issue which resulted in the api not installing a dependency correctly.

Your command didn't return anything as the logs where full of other stuff from the last three weeks.
Weird thing is, after a reboot now the API and Webinterface run without issues for the first time. I didn't change anything and already did several reboots after I've set it up three weeks ago, but now after one other reboot it just works 🤷♂

@rootzoll should we investigate that or leave it closed?

I

I reopned so that we can focus for v1.8.1 to improve on this again.

Same behaviour for me
sudo ./blitz.web.api.sh update-code results with some errors

Building wheels for collected packages: psutil
Building wheel for psutil (setup.py) ... done
Created wheel for psutil: filename=psutil-5.9.2-cp39-cp39-linux_aarch64.whl size=284003 sha256=cf93688db71a43242f64f178c89598d06ab8df8aa62a00c5d329b26861f746f8
Stored in directory: /root/.cache/pip/wheels/90/b2/61/285f7409a9dd2ffa1aa0684602a619f61b4c7b41c7ba7ba7e3
Successfully built psutil
Installing collected packages: wrapt, urllib3, typing-extensions, tenacity, sniffio, setuptools, pyzmq, python-json-logger, psutil, protobuf, idna, h11, grpcio, frozenlist, charset-normalizer, certifi, attrs, yarl, uvicorn, requests, pydantic, grpcio-tools, googleapis-common-protos, deprecated, aioredis, redis, fastapi, fastapi-plugins
Attempting uninstall: wrapt
Found existing installation: wrapt 1.12.1
ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
--- Logging error ---
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/utils/logging.py", line 177, in emit
self.console.print(renderable, overflow="ignore", crop=False, style=style)
File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/rich/console.py", line 1752, in print
extend(render(renderable, render_options))
File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/rich/console.py", line 1390, in render
for render_output in iter_render:
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/utils/logging.py", line 134, in rich_console
for line in lines:
File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/rich/segment.py", line 245, in split_lines
for segment in segments:
File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/rich/console.py", line 1368, in render
renderable = rich_cast(renderable)
File "/usr/local/lib/python3.9/dist-packages/pip/_vendor/rich/protocol.py", line 36, in rich_cast
renderable = cast_method()
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/self_outdated_check.py", line 130, in rich
pip_cmd = get_best_invocation_for_this_pip()
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/utils/entrypoints.py", line 58, in get_best_invocation_for_this_pip
if found_executable and os.path.samefile(
File "/usr/lib/python3.9/genericpath.py", line 101, in samefile
s2 = os.stat(f2)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/pip3.9'
Call stack:
File "/usr/local/bin/pip", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/main.py", line 70, in main
return command.main(cmd_args)
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 101, in main
return self._main(args)
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/base_command.py", line 223, in _main
self.handle_pip_version_check(options)
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/cli/req_command.py", line 148, in handle_pip_version_check
pip_self_version_check(session, options)
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/self_outdated_check.py", line 237, in pip_self_version_check
logger.info("[present-rich] %s", upgrade_prompt)
File "/usr/lib/python3.9/logging/init.py", line 1442, in info
self._log(INFO, msg, args, **kwargs)
File "/usr/lib/python3.9/logging/init.py", line 1585, in _log
self.handle(record)
File "/usr/lib/python3.9/logging/init.py", line 1595, in handle
self.callHandlers(record)
File "/usr/lib/python3.9/logging/init.py", line 1657, in callHandlers
hdlr.handle(record)
File "/usr/lib/python3.9/logging/init.py", line 948, in handle
self.emit(record)
File "/usr/local/lib/python3.9/dist-packages/pip/_internal/utils/logging.py", line 179, in emit
self.handleError(record)
Message: '[present-rich] %s'
Arguments: (UpgradePrompt(old='22.1.2', new='22.2.2'),)
# BRANCH ---> main
# old commit -> a4e9f7bf23e4b30e67aef3fb3c0208c11a2f1cd3
# new commit -> bd19c41fd55648efd4440fcc93c7d6928ef35f4b
# blitzapi updates and restarted

raspberrypi python[1712724]: WARNING:root:Key 'tor_web_addr' not found in Redis DB.

@fusion44 can this be a reason of the API falling into an excpetion and not delivering data

Hmm no, that's not it. The code just returns an empty string if a key is not found:
async def redis_get(key: str) -> str:
    v = await redis_plugin.redis.get(key)

    if not v:
        logging.warning(f"Key '{key}' not found in Redis DB.")
        return ""

    return v.decode("utf-8")

From @ChuckNorrison's the logs above:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/pip3.9'

Maybe a system level Python problem?

python works for me, but the file pip3.9 does not exist on my system

admin@<IP_ADDRESS>:~ ₿ python --version
Python 3.9.2

Another error found in the blitzapi journal with the same reason

Oct 09 23:26:20 raspberrypi systemd[1]: Started BlitzBackendAPI.
Oct 09 23:26:27 raspberrypi python[2134895]: INFO:     Started server process [2134895]
Oct 09 23:26:27 raspberrypi python[2134895]: INFO:uvicorn.error:Started server process [2134895]
Oct 09 23:26:27 raspberrypi python[2134895]: INFO:     Waiting for application startup.
Oct 09 23:26:27 raspberrypi python[2134895]: INFO:uvicorn.error:Waiting for application startup.
Oct 09 23:26:27 raspberrypi python[2134895]: INFO:     Application startup complete.
Oct 09 23:26:27 raspberrypi python[2134895]: INFO:uvicorn.error:Application startup complete.
Oct 09 23:26:27 raspberrypi python[2134895]: INFO:     Uvicorn running on http://<IP_ADDRESS>:11111 (Press CTRL+C to quit)
Oct 09 23:26:27 raspberrypi python[2134895]: INFO:uvicorn.error:Uvicorn running on http://<IP_ADDRESS>:11111 (Press CTRL+C to quit)
Oct 09 23:26:27 raspberrypi python[2134895]: ERROR:asyncio:Task exception was never retrieved
Oct 09 23:26:27 raspberrypi python[2134895]: future: <Task finished name='Task-7' coro=<_handle_gather_hardware_info() done, defined at ./app/repositories/system.py:170> exception=AttributeError("'str' object has no attribute 'decode'")>
Oct 09 23:26:27 raspberrypi python[2134895]: Traceback (most recent call last):
Oct 09 23:26:27 raspberrypi python[2134895]:   File "./app/repositories/system.py", line 173, in _handle_gather_hardware_info
Oct 09 23:26:27 raspberrypi python[2134895]:     info = await get_hardware_info()
Oct 09 23:26:27 raspberrypi python[2134895]:   File "./app/repositories/system.py", line 117, in get_hardware_info
Oct 09 23:26:27 raspberrypi python[2134895]:     return await get_hardware_info_impl()
Oct 09 23:26:27 raspberrypi python[2134895]:   File "./app/repositories/hardware_impl/raspiblitz.py", line 14, in get_hardware_info_impl
Oct 09 23:26:27 raspberrypi python[2134895]:     loads = (await redis_get("system_cpu_load")).split(",")
Oct 09 23:26:27 raspberrypi python[2134895]:   File "./app/utils.py", line 64, in redis_get
Oct 09 23:26:27 raspberrypi python[2134895]:     return v.decode("utf-8")
Oct 09 23:26:27 raspberrypi python[2134895]: AttributeError: 'str' object has no attribute 'decode'
Oct 09 23:26:36 raspberrypi python[2134895]: INFO:     <IP_ADDRESS>:43368 - "GET /lightning/list-all-tx?reversed=true HTTP/1.0" 200 OK

Reflashed my sdcard with v1.8.0 and my WebUI works. Just one box with loading animation left

I have the same error after migration to a proxmox vm, any ideas on how to fix this?
thanks a lot guys! @cercatrova21

Update:
After a RaspiBlitz (Version 1.8.0b with lnd 0.15.2) Cleaninstall on Ubuntu, the Error is still persistent.
I'cant be the only one having this issues, can i manually fix this with a workaround?
thanks

@ChuckNorrison the issue with the one loading box is in the webUI, I created an issue for that: https://github.com/cstenglein/raspiblitz-web/issues/493

after debugging session with @cstenglein we did not find a solution...

Clean Proxmox 1.8 CLN install:
Oct 14 08:04:03 debian python[3531]: ERROR:uvicorn.error:Exception in ASGI application
Oct 14 08:04:03 debian python[3531]: Traceback (most recent call last):
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/uvicorn/protocols/http/h11_impl.py", line 404, in run_asgi
Oct 14 08:04:03 debian python[3531]:     result = await app(  # type: ignore[func-returns-value]
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
Oct 14 08:04:03 debian python[3531]:     return await self.app(scope, receive, send)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/fastapi/applications.py", line 269, in __call__
Oct 14 08:04:03 debian python[3531]:     await super().__call__(scope, receive, send)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/applications.py", line 124, in __call__
Oct 14 08:04:03 debian python[3531]:     await self.middleware_stack(scope, receive, send)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/errors.py", line 184, in __call__
Oct 14 08:04:03 debian python[3531]:     raise exc
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/errors.py", line 162, in __call__
Oct 14 08:04:03 debian python[3531]:     await self.app(scope, receive, _send)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/cors.py", line 84, in __call__
Oct 14 08:04:03 debian python[3531]:     await self.app(scope, receive, send)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/exceptions.py", line 93, in __call__
Oct 14 08:04:03 debian python[3531]:     raise exc
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/exceptions.py", line 82, in __call__
Oct 14 08:04:03 debian python[3531]:     await self.app(scope, receive, sender)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
Oct 14 08:04:03 debian python[3531]:     raise e
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
Oct 14 08:04:03 debian python[3531]:     await self.app(scope, receive, send)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 670, in __call__
Oct 14 08:04:03 debian python[3531]:     await route.handle(scope, receive, send)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 418, in handle
Oct 14 08:04:03 debian python[3531]:     await self.app(scope, receive, send)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/fastapi/applications.py", line 269, in __call__
Oct 14 08:04:03 debian python[3531]:     await super().__call__(scope, receive, send)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/applications.py", line 124, in __call__
Oct 14 08:04:03 debian python[3531]:     await self.middleware_stack(scope, receive, send)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/errors.py", line 184, in __call__
Oct 14 08:04:03 debian python[3531]:     raise exc
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/middleware/errors.py", line 162, in __call__
Oct 14 08:04:03 debian python[3531]:     await self.app(scope, receive, _send)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/exceptions.py", line 93, in __call__
Oct 14 08:04:03 debian python[3531]:     raise exc
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/exceptions.py", line 82, in __call__
Oct 14 08:04:03 debian python[3531]:     await self.app(scope, receive, sender)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
Oct 14 08:04:03 debian python[3531]:     raise e
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
Oct 14 08:04:03 debian python[3531]:     await self.app(scope, receive, send)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 670, in __call__
Oct 14 08:04:03 debian python[3531]:     await route.handle(scope, receive, send)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 266, in handle
Oct 14 08:04:03 debian python[3531]:     await self.app(scope, receive, send)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/starlette/routing.py", line 65, in app
Oct 14 08:04:03 debian python[3531]:     response = await func(request)
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/fastapi/routing.py", line 231, in app
Oct 14 08:04:03 debian python[3531]:     raw_response = await run_endpoint_function(
Oct 14 08:04:03 debian python[3531]:   File "/usr/local/lib/python3.9/dist-packages/fastapi/routing.py", line 160, in run_endpoint_function
Oct 14 08:04:03 debian python[3531]:     return await dependant.call(**values)
Oct 14 08:04:03 debian python[3531]:   File "./app/routers/setup.py", line 31, in get_status
Oct 14 08:04:03 debian python[3531]:     setupPhase = await redis_get("setupPhase")
Oct 14 08:04:03 debian python[3531]:   File "./app/utils.py", line 64, in redis_get
Oct 14 08:04:03 debian python[3531]:     return v.decode("utf-8")
Oct 14 08:04:03 debian python[3531]: AttributeError: 'str' object has no attribute 'decode'

Clean Proxmox 1.8 CLN install:
Oct 14 08:04:03 debian python[3531]: ERROR:uvicorn.error:Exception in ASGI application
Oct 14 08:04:03 debian python[3531]: Traceback (most recent call last):
line 78, in __call__
...
Oct 14 08:04:03 debian python[3531]:     return await dependant.call(**values)
Oct 14 08:04:03 debian python[3531]:   File "./app/routers/setup.py", line 31, in get_status
Oct 14 08:04:03 debian python[3531]:     setupPhase = await redis_get("setupPhase")
Oct 14 08:04:03 debian python[3531]:   File "./app/utils.py", line 64, in redis_get
Oct 14 08:04:03 debian python[3531]:     return v.decode("utf-8")
Oct 14 08:04:03 debian python[3531]: AttributeError: 'str' object has no attribute 'decode'

Hmm this looks unrelated to the original SSE data connection issue. Was there a warning (similar to Key 'xxx' not found in Redis DB. printed in the logs before this error message?

No mentions of Redis in the logs

@fusion44 to reproduce please uninstall the web ui + api from blitz menu and install again.

This will fix the issue
https://github.com/fusion44/blitz_api/pull/159


added support for specifying the ReturnValues option in update

Model.update always returns all the new values in every call. This can have a severe performance penalty in some scenarios. This PR provides a backwards compatible option returnValues when calling update so that the 5 different settings provided by Dynamo can be used:

NONE - If ReturnValues is not specified, or if its value is NONE, then nothing is returned. (This setting is the default for ReturnValues.)
ALL_OLD - Returns all of the attributes of the item, as they appeared before the UpdateItem operation.
UPDATED_OLD - Returns only the updated attributes, as they appeared before the UpdateItem operation.
ALL_NEW - Returns all of the attributes of the item, as they appear after the UpdateItem operation.
UPDATED_NEW - Returns only the updated attributes, as they appear after the UpdateItem operation.

Coverage increased (+0.1%) to 82.61% when pulling edb0d8c4a1cdd8497abff66f7802ae8dae69588d on manast:feature/support-for-specifying-return-values into 388662cdfeb128d8469f19dd04b4f653a16fd4d7 on automategreen:master.

@manast This looks amazing. Thanks so much!! Is there any chance you could add documentation regarding this new feature? We should also probably confirm to make sure there is a test to ensure backwards compatibility, and if not we should add one to confirm the backwards compatibility.
We will try to get this in for version 0.9. Thanks again!!

Thanks again @manast! We'll get this in for version 0.9.


Update Symbol-Packages.md

http://srv.symbolsource.org/pdb/Public is now deprecated.
see https://github.com/NuGet/NuGetDocs/pull/390
https://github.com/NuGet/Home/issues/2837#issuecomment-221270661

Hi @tanaka-takayoshi , we are still in discussing, will update the decision later soon.
Thanks for your support,
Microsoft C&E Localization Team

@tanaka-takayoshi : Thank you for your feedback and suggestion!
The feedback is considered. We will tune part of  your feedbacks in order to comply with Microsoft Style Guide, then release this article in the next loc release round.
See also: https://github.com/NuGet/docs.microsoft.com-nuget/pull/712
Microsoft C&E Localization Team


Tile Request Prioritization

From https://github.com/AnalyticalGraphicsInc/cesium/pull/5306
Notes from @austinEng:
Not ready to merge. A bunch of this is rewrites from my branches which existed before big changes in 3d-tiles happened.

Source/Core/load.+?\.js have been updated to include an xhrHandler which is a callback to which the XMLHttpRequest is passed. This is stored in the request as request.xhr

Source/Core/RequestScheduler.js returns a different Scheduler object instead of RequestScheduler, mostly because I still wanted to look at the old implementation.

Budgets and request servers are not currently being used.

Cesium3DTileset now time slices tile processing which makes moving around much smoother when many requests are coming in. The terrain does not do this (at least I don't think so), so Cesium gets very slow when many terrain tiles are requested. Tile processing also resorts them so the nearest and visible tiles get processed first.

The Scheduler keeps a heap of all the requests that have been made. It has available requests if maxRequests - activeRequests + deferableRequests > 0. This is not what it originally meant, but a deferable request is one that is allowed to be canceled / rescheduled. When new requests come in, they're inserted into this heap. At the end of every frame, every active and deferable request is moved out of the active list and put into the request heap. Then, until we've met the max number of requests,  we pop requests off the heap and start them. Example: If we have a maximum of 50 requests, at the end of every frame, we keep only non-deferable and top 50 requests. All other requests get stopped. When they come back to the top of the heap they will be started again.

Request sorting: if two requests both have screen space error, they are sorted by screen space error. Otherwise they are sorted by distance. Cesium3DTileset keeps track of all the tiles it has requested and updates their distance and screen space error so the requests can be reshuffled.

XMLHttpRequest.prototype.abort is perhaps not supported in some browsers? I had thoughts of adding something like this to check:

    Scheduler.maximumRequests = 6;
    if (defined(XMLHttpRequest.prototype.abort)) {
        var xhr = new XMLHttpRequest();
        xhr.open('GET', 'https://cesiumjs.org/', true);
        xhr.send();
        xhr.abort();
        if (xhr.readyState === XMLHttpRequest.UNSENT) {
            Scheduler.maximumRequests = 50;
        }
    }

HTTP/2 server setup is super simple. I just followed this https://webapplog.com/http2-node/

Currently this approach is reasonable if there is only a 3D tileset. For me, the Philly dataset was loading about 5-10 seconds faster, even without HTTP/2 enabled. However, sometimes it takes longer for tiles to show up because tile processing is time sliced.
Adding in terrain causes many, many more requests in sort of an odd way. It seems like it's continuously canceling and restarting requests. Perhaps this is because terrain and 3d tile request distances are computed differently? I am led to believe this because if both a tileset and terrain are visible, the terrain never loads until the tileset has finished loading.
I tried adding request cancellation to the terrain as well, but everything that was being requested seemed to have been visited that frame, even if I moved the camera fast. I may have been missing something here.
It's difficult to balance how we want tiles to load because while request more tiles at once / using HTTP/2 reduces total load time, it generally takes longer for the closest tile to appear because other tiles are loading as well. The reason that total time decreases with more requests is because just 6 requests may not saturate the network bandwidth available. I think that user experience is better when the nearest data loads faster, but that's very subjective.
This is what I was going to try next. Perhaps continue to use the above heap method but additionally throttle to just 6 requests per server/dataset. The hope is that each data provider only serves us at most 6 things so there's still good throughput per server, but since we still have a large number of max requests, we saturate our download bandwidth. If there are multiple data providers, the number of requests will likely go above the browser max (especially if we're not using HTTP/2), but that's fine because we made the requests in order of priority. Anything past the browser max will just be automatically stalled by the browser.
Yes, HTTP/2 has benefits of compressed headers, binary data, and less TCP handshaking, but for us downloading data is the biggest bottleneck. From what I can gather, use of HTTP/2 is most beneficial when you need multiple things to draw anything at all, we don't need one tile to have been loaded to draw a different tile because they're totally independent, so we might want to try to limit the concurrency here so that each tile downloads faster. However, it could definitely be beneficial if we added an HTTP/2 PUSH to the server when there's additional data (such as textures or shaders) that are separate resources and are needed to draw the tile. It's good to shard them as separate resources on the same server so that they're cached separately and the size of the tile is smaller. HTTP/2 PUSH will eliminate the roundtrip to fetch the textures/shaders, but still respect cached data.
Something else worth testing is if domain sharding is still beneficial. People say NOT to domain shard when using HTTP/2 so that there's only one TCP handshake. But with only one TCP connection, you have less total bandwidth. I think most people say this because they're talking about websites where there are only a couple resources from each domain. The overhead of multiple TCP handshakes the benefits of having multiple TCP connections. HTTP/2 multiplexes the connection, but does that limit it to just using that one TCP connection? Would it be faster if I had 10 simultaneous TCP connections all using HTTP/2?

@lilleyse do you want to keep this open until #3476 is merged into master and 3d-tiles, and then we can just review this as a small PR with the request changes for 3D Tiles?

@lilleyse do you want to keep this open until #3476 is merged into master and 3d-tiles, and then we can just review this as a small PR with the request changes for 3D Tiles?

Yup, my plan too.

@lilleyse any plans for this to merge into master any time soon?

@adunham1962 probably not in the near term. I've been thinking about a cleanup of the tileset traversal and this would likely be part of that.
But actually most of this is already in master. The part that isn't is here: https://github.com/AnalyticalGraphicsInc/cesium/issues/5509

@lilleyse thank you for the quick response. Just to be sure I understand.. the goal of #5509 is to increase tile request performance?

Yeah, #5509 should help with request performance.

@lilleyse awesome, our users will be very happy to see that down the road :)

@lilleyse this is over a year old?  Is any of this PR still relevant?

The notes are still good, but fine to close.

Please move the notes to a roadmap issue or elsewhere if you haven't already.


Video doesn't replay even when "replay" attribute is set to true

react-native: 0.48.3
react-native-video-processing: 1.12.5
platform: iOS
When specifying replay={true} in my VideoPlayer component, the video still only plays once.
Update: occassionally the video will replay once and then stop. Haven't been able to determine which use-cases cause it to loop.

Closing this due to long inactivity, Probably this issue has been fixed in the master branch


[CSL-1015] Fix bad address (Win)

Fix time-warp-np/NTP.Client. Bump up kademlia and time-warp-nt

Or these bumping actually fixes problem?

Wait, stop. It's not. There's time-warp-nt branch cardano-sl-0.4-rc, please rebase NTP changes upon it and use it's HEAD here for csl-0.4-rc. Also, use same kademlia is used in csl-0.4-rc now

@georgeee done. I have downgraded kademlia version in time-warp-nt


chore(package): update dependency-check to version 2.8.0

Closes #27
https://greenkeeper.io/

Codecov Report

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

@@          Coverage Diff           @@
##           master     #42   +/-   ##
======================================
  Coverage    98.9%   98.9%
======================================
  Files           8       8
  Lines          91      91
  Branches        8       8
======================================
  Hits           90      90
  Misses          1       1

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 8b9a175...7416618. Read the comment docs.


Create Wireframe for "Transparency in Communication" Module

Summary
Develop a wireframe for the "Transparency in Communication" module focused on transparency between tenants, ex-tenants, and \ owners in the context of renting a property. Ensure anonymity for ex-tenants and allow configuration of ex-tenant comments for specific addresses.
Description
Owner View

Main Dashboard:

Property List:

Table view of all owned properties with columns for Address, Current Tenant, Rating, and Actions.
Action buttons for viewing detailed comments, replying to comments, and adding new property.

Recent Comments:

A section displaying the most recent comments from ex-tenants, anonymized and associated with specific addresses.
Filter options for sorting comments by property, date, or rating.

Property Detail Page:

Property Information:

Detailed view of the selected property with address, current tenant information, and overall rating.

Ex-Tenant Comments:

List of anonymized comments from ex-tenants.
Options to reply to comments or mark them as helpful.
Configuration settings to manage visibility and notifications for new comments.

Tenant View

Main Dashboard:

My Rentals:

List view of all rented properties with columns for Address, Owner, Lease Start/End Dates, and Actions.
Action buttons for viewing detailed property information, contacting the owner, and submitting a comment.

Submit Comment:

Form to submit a comment about a past rental property.
Fields for selecting the property address, rating the experience, and writing the comment.
Anonymity confirmation to reassure ex-tenants their comments will be anonymized.

Property Detail Page:

Property Information:

Detailed view of the rented property with address, owner information, lease details, and overall rating.

Submit Comment:

Direct access to the comment submission form from the property detail page.
Option to view past comments from other tenants (anonymized).

Acceptance Criteria

The wireframe includes both Owner and Tenant views with clear navigation and interactive elements.
Ex-tenant comments are anonymized and can be configured for specific addresses.
Owners can view and reply to anonymized comments.
Tenants can submit and view anonymized comments on properties they have rented.
The design ensures ease of use and clarity in both views, promoting transparent communication between all parties involved in the rental process.

First Draft
Figma Link

@Meet57  Landing Page, Login Page and Registration Page Look Fine we should start developing on them.

@Meet57  Create a branch in Frontend Repo and put all the images in the wireframe folder and Make an PR.


Refactor fcrepo-webapp-plus to reduce profiles

Resolves FCREPO-2389
What this PR does
Removes the XACML, RBAcl and Audit profiles completely.
Includes the fcrepo-audit artifact by default.
Adds a default large single XML configuration file, with (hopefully) some useful documentation.
Changes the WebAC profile to use a similar Spring config file (as above) with WebAC enabled and the fcrepo-module-auth-webac dependency included.

Just realized I need to update the README, so don't merge this yet.

@whikloj : nice work.

Please also apply my suggestions in webac/configuration.xml to main/configuration.xml.
Note: when enabling the apple-tree... strange things happen.

Maybe the strange apple-tree behavior comes from not changing the "ID Minter".
See: https://jira.duraspace.org/browse/FCREPO-2384?focusedCommentId=53752&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-53752
When enabling the apple-tree, the user should also change from using the UUIDPathMinter to using the UUIDPidMinter.


PyArrow version requirement

Hello! Is the version requirement on the pyarrow package strict?
pyarrow = "^9.0.0"

We would like to use databricks-sql-python in a project that depends on a lower version of pyarrow (8.0.0). We ran into conflicting version issues when using package management tools such as poetry. In our tests it seems databricks-sql-python can work with older versions of pyarrow such as 8.0.0. It would be great if databricks-sql-python can specify a wider range of pyarrow versions for better compatibility.

I have a similar issue but personally I'm interested in using pyarrow 10.0.0. It would be great if this was allowed.

@Tom-Newton pyarrow 10.0.1 is now supported as our v2.2.1 release.
@YS-L I'll look into reducing our pyarrow specificaiton. I think we landed on version 9 because it was the latest at the time we wrote the connector.

Thanks @susodapop 🙂 . With 2.2.1 my pyarrow problem is solved but now numpy is an issue. We are on numpy 1.22.4 with python 3.8. Is there are reason that the numpy requirement needs to be so strict?

I want to make this work for you but I also can't reproduce your installation problem. For your info: note that our specific requirements were dictated by Poetry so we haven't deliberately excluded anyone and thus far our tests run automatically on Python 3.7-3.11 without issues.
You're welcome to open a pull request that modifies pyproject.toml and poetry.lock to meet your needs. As long as it passes our build checks I'm happy to merge it. But this isn't something we're prepared to do on our own because nothing is broken for us.

I created a PR https://github.com/databricks/databricks-sql-python/pull/74. It needs a review and for someone to approve running the build checks.

I created a PR #74. It needs a review and for someone to approve running the build checks.

@susodapop please could you approve running the github workflows

Done!


Wiring detail regarding relays and stepping down voltage.

Hi there,
Was wondering if it would be possible to get some greater detail regarding the wiring setup of the relays and how they connect to the main board. Once they are connected to the main board how is this then addressed by Marlin.
Many thanks.

Hey,
see this link for the detailed wiring.


Fixed a typo in flags.py

Fixed a typo preventing the compile command from specifying where to output the binary.

Thanks!

Thank you for fixing it :)


(maint) change noop_pending in transaction/report.rb to attr_accessor

This will make it easier to spec test from PuppetDB.

CLA signed by all contributors.

noop_pending is intended to be used/accessed the same way as status - it's computed in finalize based on the individual resources status information. It shouldn't be any harder to test than status which is also an attr_reader. I'm not sure why it needs to be directly settable when status doesn't.

@branan having it settable directly lets us to test our logic around handling versions of puppet where the parameter is and is not defined. We don't have this issue with status since status is present in all versions we support.

@branan bump

This PR definitely breaks encapsulation, but the "correct" API of adding events to the report and finalizing it is a lot of complexity to PuppetDB's tests, for very little safety gain in any real-world use of the report API. I'm going to go ahead and merge this.


formatNum doesn't round correctly

[x] I've looked at the documentation to make sure the behavior is documented and expected
[x] I'm sure this is a Leaflet code issue, not an issue with my own code nor with the framework I'm using (Cordova, Ionic, Angular, React…)
[x] I've searched through the issues to make sure it's not yet reported

Steps to reproduce
run L.Util.formatNum(13.714814633131029, 15)
Expected behavior
Since the number already has 15 decimal points I would expect it to stay the same.
Current behavior
It returns 13.714814633131027
Environment

Leaflet version: 1.6.0
Browser (with version): Chrome but verified it in Karma
OS/Platform (with version): OSX Mojave

Additional context

Minimal example reproducing the issue
https://next.plnkr.co/edit/p8zxeYBVQiz0v0FH

[x] this example is as simple as possible
[x] this example does not rely on any third party code

Errors from the 15th decimal on are within the expected precision of IEEE 64-bit floating point numbers. Won't fix.
See also https://github.com/Leaflet/Leaflet/issues/6668 and related.


Distribution to Huawei App Gallery

Describe the solution you'd like
It would be great to support Huawei App Gallery as a distribution store.
Describe alternatives you've considered
No alternatives found yet. Currently we upload apk manually.
Additional context
None

Unfortunately, we don't have any plan to support this store in the near future. However, we appreciate your feedback.


Azure: wrong mail are resceived after deleting a Instance

[Build]
docker 17.7 2018/10/05
[Steps to reproduce]
create a azure instance  -> instance is running
goto subscription and terminate it
[Expected result]
the instance is terminated, all resoures are deleted and a meaningful mail will be received
[Observed result]
the instance is terminated, all resources are deleted, but the following mail is resceived:
Dear user,
The current operation on subscription 'AzureARM_Example1#1a9be903-ae00-433c-86fe-1274813d5198' for customer 'PLATFORM_OPERATOR' has been suspended (Instance: 'azure-192328a5-1c56-460f-abd9-beb5526d0f5b').
Reported problem: Azure returned the following error: Delete Resources failed:
To continue automatic processing, please click the following URL:
https://estst1.intern.est.fujitsu.com:8881/oscm-app/notify?sid=azure-192328a5-1c56-460f-abd9-beb5526d0f5b&controllerid=ess.azureARM&_resume=yes
If the problem cannot be solved and the processing cannot be continued, please terminate the subscription and create a new one.

A wrong mail is still being sent
Dear user,
The subscription 'AzureARM_Example#939d12bc-74bc-4eda-a844-973d61b0da79' for customer 'PLATFORM_OPERATOR' has been terminated but the instance 'azure-9b525b37-a6e3-46d0-b5b1-3b3922a828e0' could not be deleted.
No row with the given identifier exists: [org.oscm.app.domain.InstanceParameter#1019]
With best regards.
This email has been generated automatically. Please do not reply to this email.

I tested with build from 23.10.2018

This looks quite different than the old one. Old one was directly related to Azure controller and the way instance was deleted. An error was thrown by the Azure portal API. In this case, it looks like internal oscm error.

Closed by #168

Dear user,
The subscription 'AzureARM_Example#360d219c-563e-4153-81e0-c616559c8f05' for customer 'PLATFORM_OPERATOR' has been terminated but the instance 'azure-770ca01c-fc63-4e6e-ac97-05bea2ad9a66' could not be deleted.
java.lang.NullPointerException
With best regards.
This email has been generated automatically. Please do not reply to this email.


rcedit.exe crashes in windows server 2012

Hi,
rcedit.exe crashes in windows server 2012 with the following stack trace.
Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	rcedit.exe
  Application Version:	<IP_ADDRESS>
  Application Timestamp:	528436dd
  Fault Module Name:	MSVCP100.dll
  Fault Module Version:	6.3.9600.17736
  Fault Module Timestamp:	550f42c2
  Exception Code:	c0000135
  Exception Offset:	0009d4f2
  OS Version:	6.3.96<IP_ADDRESS>.400.8
  Locale ID:	1033
  Additional Information 1:	1abe
  Additional Information 2:	1abee00edb3fc1158f9ad6f44f0f6be8
  Additional Information 3:	1abe
  Additional Information 4:	1abee00edb3fc1158f9ad6f44f0f6be8

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=280262

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

Strangely when i build from mac (with wine), it just works fine.. wonder whats causing this

Similar situation, rcedit.exe has no effects on windows 7 64 bit;

I had the exact same issue than you with another exe file. I noticed MSVCP100.dll was missing from my System32 folder. It's been fixed after I installed https://www.microsoft.com/en-us/download/confirmation.aspx?id=13523.

Is anyone still seeing this issue with 0.6.0 or later? There were fixes to address the dll issues.


Confusing Bash/Shell syntax highlighting

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.77.2
OS Version: Windows 11 Pro 22H2 22621.1485

The Bash/Shell syntax highlighting becomes very confusing.
For example, the arguments for a command are the same color as the strings. See picture (v1.75.1 for comparison):

We recently switched to a new, better, grammar for shellscript syntax highlighting. The new grammar does a better job assigning scopes to each token, which in this case means that -rf has a more specific scope than before. I think we can improve this coloring slightly to this:


Migrate to ESM

What
Migrate to ESM
More info

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Class 'Yajra\Datatables\Facades\Datatables' not found

Hello, Why i get this error :
Class 'Yajra\Datatables\Facades\Datatables' not found

Cause i never update anything.
My app.php is :
Yajra\Datatables\DatatablesServiceProvider::class,
'Datatables' => Yajra\Datatables\Datatables::class,

How to fix that?

Change follwoing
Yajra\Datatables\DatatablesServiceProvider::class,
'Datatables' => Yajra\Datatables\Datatables::class,

to this
yajra\Datatables\DatatablesServiceProvider::class,
'Datatables' => yajra\Datatables\Datatables::class,

and try.

Still get Error,
Server Error
500

At the first time i install this version :
"yajra/laravel-datatables-oracle": "dev-develop"

May be any way to reset configuration??

try this
'yajra\Datatables\DatatablesServiceProvider',
remove ::class

Still got error :(
Here is my laravel logs :
[2015-12-08 14:15:36] local.CRITICAL: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Class 'yajra\Datatables\DatatablesServiceProvider' not found' in /Applications/MAMP/htdocs/ulp3/bootstrap/cache/compiled.php:6916
Stack trace:
#0 {main} {"identification":{"id":"8593e01b-5cd9-4b85-9707-1fbaf2d10138"}}

I installed "yajra/laravel-datatables-oracle": "~5.0"
its works fine.
dev-develop version not work for me

dev-develop uses Yajra\Datatables namespace which will be tagged as v6.0.0. For the facade, please use 'Datatables' => Yajra\Datatables\Datatables::class, atm.

hmm, I already change to
'Datatables' => Yajra\Datatables\Datatables::class

But it still not work.
And, finally i downgrade to
"yajra/laravel-datatables-oracle": "~5.0"

It works now.
But I don't know why i get that error suddenly.
Thanks for your support :) :+1:

I'm actually still having this issue. Had to revert to 5 to get it to work, but I wouldn't say its fixed in 6.

@shairozan, the Facade file are removed on v6.0 and an alias was automatically registered in the service provider. You need to replace this use Yajra\Datatables\Facades\Datatables to just use Datatables or use Yajra\Datatables\Datatables instead for better IDE support.

This problem still seems to exist . On a Laravel 5.1.29 install i had to change Yajra\Datatables\DatatablesServiceProvider::class to yajra\Datatables\DatatablesServiceProvider::class in the providers array before it worked.
[Symfony\Component\Debug\Exception\FatalErrorException]
Class 'Yajra\Datatables\DatatablesServiceProvider' not found

Your requirements could not be resolved to an installable set of packages.
Problem 1
- laraveldaily/quickadmin 2.0.0 requires yajra/laravel-datatables-oracle ^6.18 -> satisfiable by yajra/laravel-datatables-oracle[v6.18.0, v6.18.1, v6.18.2, v6.19.0].
- laraveldaily/quickadmin 2.0.1 requires yajra/laravel-datatables-oracle ^6.18 -> satisfiable by yajra/laravel-datatables-oracle[v6.18.0, v6.18.1, v6.18.2, v6.19.0].
- laraveldaily/quickadmin 2.0.2 requires yajra/laravel-datatables-oracle ^6.18 -> satisfiable by yajra/laravel-datatables-oracle[v6.18.0, v6.18.1, v6.18.2, v6.19.0].
- yajra/laravel-datatables-oracle v6.18.0 requires dompdf/dompdf ^0.7 -> satisfiable by dompdf/dompdf[v0.7.0].
- yajra/laravel-datatables-oracle v6.18.1 requires dompdf/dompdf ^0.7 -> satisfiable by dompdf/dompdf[v0.7.0].
- yajra/laravel-datatables-oracle v6.18.2 requires dompdf/dompdf ^0.7 -> satisfiable by dompdf/dompdf[v0.7.0].
- yajra/laravel-datatables-oracle v6.19.0 requires dompdf/dompdf ^0.7 -> satisfiable by dompdf/dompdf[v0.7.0].
- dompdf/dompdf v0.7.0 requires ext-gd * -> the requested PHP extension gd is missing from your system.
- Installation request for laraveldaily/quickadmin ^2.0 -> satisfiable by laraveldaily/quickadmin[2.0.0, 2.0.1, 2.0.2].
To enable extensions, verify that they are enabled in those .ini files:
- /etc/php/7.0/cli/php.ini
- /etc/php/7.0/cli/conf.d/10-mysqlnd.ini
- /etc/php/7.0/cli/conf.d/10-opcache.ini
- /etc/php/7.0/cli/conf.d/10-pdo.ini
- /etc/php/7.0/cli/conf.d/15-xml.ini
- /etc/php/7.0/cli/conf.d/20-calendar.ini
- /etc/php/7.0/cli/conf.d/20-ctype.ini
- /etc/php/7.0/cli/conf.d/20-curl.ini
- /etc/php/7.0/cli/conf.d/20-dom.ini
- /etc/php/7.0/cli/conf.d/20-exif.ini
- /etc/php/7.0/cli/conf.d/20-fileinfo.ini
- /etc/php/7.0/cli/conf.d/20-ftp.ini
- /etc/php/7.0/cli/conf.d/20-gettext.ini
- /etc/php/7.0/cli/conf.d/20-iconv.ini
- /etc/php/7.0/cli/conf.d/20-json.ini
- /etc/php/7.0/cli/conf.d/20-mbstring.ini
- /etc/php/7.0/cli/conf.d/20-mcrypt.ini
- /etc/php/7.0/cli/conf.d/20-mysqli.ini
- /etc/php/7.0/cli/conf.d/20-pdo_mysql.ini
- /etc/php/7.0/cli/conf.d/20-phar.ini
- /etc/php/7.0/cli/conf.d/20-posix.ini
- /etc/php/7.0/cli/conf.d/20-readline.ini
- /etc/php/7.0/cli/conf.d/20-shmop.ini
- /etc/php/7.0/cli/conf.d/20-simplexml.ini
- /etc/php/7.0/cli/conf.d/20-sockets.ini
- /etc/php/7.0/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.0/cli/conf.d/20-sysvsem.ini
- /etc/php/7.0/cli/conf.d/20-sysvshm.ini
- /etc/php/7.0/cli/conf.d/20-tokenizer.ini
- /etc/php/7.0/cli/conf.d/20-wddx.ini
- /etc/php/7.0/cli/conf.d/20-xmlreader.ini
- /etc/php/7.0/cli/conf.d/20-xmlwriter.ini
- /etc/php/7.0/cli/conf.d/20-xsl.ini
You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.
Installation failed, reverting ./composer.json to its original content.

I occasionally get this message even when it has been working fine up to that point.
For me, just running composer update fixes the issue.

just delete all files inside a bootstrap->cache folder. And run your project. Bug fixed.

Neither "yajra" nor "Yajra" works. I still have the error with Alaval 5.4 & Datatables v7.
It's been 3 hours I've been struggling with this library, it's exshausting.

@idmeneo sorry for the inconvenience. What are steps have you done so far? Are using a fresh installation or upgrading a project?
Some tips:

Use composer show to double check which version of packages you are using.
Delete all files under bootstrap/cache folder as suggested by @RBBarani.
Delete vendor folder and reinstall all packages using composer install.

Thx for the answer. I finally got it working by downgrading your module to v6.2 and updating all the other libraries.

Try removing syntactic sugar operators like tilde and caret sign in composer.json. Because sometimes they do not allow the exact version to install. The same problem happened to me also. Then run,
comoposer update
Solved the issue for me.

I am getting a problem in version 8.1.0 using laravel 5.5. What do I do about it? I've done the existing suggestions.

@wisnuvb  Namespace and class name were updated on v8. Use DataTables instead of Datatables. See upgrade guide for ref.

right, I have not read the upgrade guide. once it's done. thank you

On v8, Run composer update and use this namespace use Yajra\DataTables\Facades\DataTables;

Namespace and class name were updated on v8. Use DataTables instead of Datatables.
That worked

@victorsteven's  solution worked on a fresh Laravel 5.6 + Datatables 8.7.0

This is use Yajra\DataTables\Facades\DataTables; working fine from my side thanks

I use composer require yajra/laravel-datatables-oracle command and  change below line
yajra\Datatables\DatatablesServiceProvider::class,
'Datatables' => yajra\Datatables\Datatables::class,
It,s work.
Something like this https://appdividend.com/2018/04/16/laravel-datatables-tutorial-with-example/

Use this:
'Datatables' => Yajra\DataTables\Facades\DataTables::class,  // Datatable
D and T should be capital.

Use this:
'Datatables' => Yajra\DataTables\Facades\DataTables::class, // Datatable
D and T should be capital.

I got this error when I was trying to remove the package. To clear the error, go to boostrap > cache and clear everything

Im facing same issue here. code works perfectly on local, but I take it to server and my entire app fails to bootstrap.
steps taken.

I copied yajra from my vendor to server
Copied also published vendor config/datatables.php to server
copied the composer and composer.lock
cleared all in server bootstrap cache

im really frustrated after 2hrs of trying things im seeing here :(

After hrs of trying. I decided to re-upload local code which was working into my shared host server. and it works fine now. Thanks Yajra

I have the same problem with laravel 7 . I execute: php artisan config:cache
And my problem was result.


Append/prepend button to field

I think it might be a good add to let the user use buttons as prepend/addons. There are a lot of uses for it (reseting a field, single-field submit button, show field options etc) and it wouldn't be that hard to integrate. It just needs a few CSS tweaks.
It's currently possible but the CSS result is rather messy : http://jsfiddle.net/9RwWJ/5/

Not a bad idea, thanks!

@markdotto seems like the Issue's tags got duplicated :P

It would also be nice, if you could not only append or prepend but both. E.g. to create an input field with increment/decrement buttons like this: [<] [......] [>]

nice! just a note: the jsfiddle provided above is not looking as intented in Firefox 10. it would be great though to see this implemented.

:+1:

that's exactly what i just want to use today.... and just have to figure out, this have an bug if the elements are buttons. when using an a-tag, it's like i want it to be... but i have to submit my form with javascript... so button would be more "cleaner" or just be nice! :)

when adding:
.input-append .btn {
height: 100%;
}
to my own css file, this will fix given bug in firefox 10.0.2 internet explorer won't accept any changes... :)


test: Fix configuring the Cilium agent

The helpers file was assuming that the test path is mounted into the
target VM at the location "/vagrant", but this is not the case for the
developer VM so if you attempt to run the ginkgo runtime CI against the
dev VM you'll hit this error:
  Expected
      <*errors.errorString | 0xc0004b0900>: {
          s: "cp: cannot stat '/vagrant/cilium': No such file or directory\n",
      }
  to be nil

This change is

test-me-please

Coverage increased (+0.01%) to 45.677% when pulling<PHONE_NUMBER>4403acfbe401ec0d1129ca97f77ae5 on joestringer:submit/fix-ginkgo-dev-vm into ba0b078cf1b13381ebc9f27ab6ab4f1c59176aac on cilium:master.

test-me-please

Runtime tests pass, and these changes only affect runtime tests. Ready to review.

test-me-please


fix: Updated the Git repo and success message in todo tutorial

Fixes blockstack/docs#872
Description
Updated the Git hub repo for todo app tutorial .
What has changed: The Github repo for todo app tutorial (https://docs.blockstack.org/authentication/building-todo-app) was updated from
git clone https://github.com/blockstack/stacks-todos
cd stacks-todos
to git clone https://github.com/blockstack/blockstack-todos
cd blockstack-todos
##What has been fixed
Previously the users were not able to clone the stacks-todo repo since it was not available. With this change, that is fixed.

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


Searching for ieee does not show ieee754 as a result.

Check here andhere

This is basically issue rust-lang/crates.io/issues/159

Closing as a duplicate of rust-lang/crates.io#159


check: speed up by checking less.

We’ve been doing more checking here than is strictly necessary to verify. Unfortunately the slowest case is everything being fine and it’s really hard to improve as they processes we shell out to are slow.
I’ve tried speeding this up with Threads and async IO.popen but neither actually improve things. Further speedup will have to happen in those commands instead.
CC @xu-cheng for review and @josh and @scottjg as this gets the github brew bundle check down from ~1.45s to ~1.15s on my machine. Not fast enough but getting better.

:+1:

:metal:


Userset relationships not working correctly

Checklist

[X] I have looked into the README and have not found a suitable solution or answer.
[X] I have looked into the documentation and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have upgraded to the latest version of OpenFGA and the issue still persists.
[X] I have searched the OpenFGA Community and have not found a suitable solution or answer.
[X] I agree to the terms within the OpenFGA Code of Conduct.

Description
Userset relation is not working correctly on latest openfga version.
I have the following model where the permission to access a job is granted thought this path user > role > permission > job.
The attached store data works on openfga v1.5.6, but stopped working on v1.5.7 and v.1.5.8.
Expectation
User object should have access to job.
Reproduction
Open the following fga playground and run the tests: https://play.fga.dev/stores/create/?id=01J4VF05ZY709AP9HMDP195RDE
Store data
model_file: |
  name: fga-bug
description: 'Store ID: 01J4VF05ZY709AP9HMDP195RDE'
model: |
  model
    schema 1.1

  type user

  type role
    relations
      define assignee: [user]

  type permission
    relations
      define assignee: assignee from role
      define role: [role]

  type job
    relations
      define can_read: [permission#assignee]
tuples:
  - user: user:1
    relation: assignee
    object: role:admin
  - object: permission:readJobs
    user: role:admin
    relation: role
  - object: job:1
    user: permission:readJobs#assignee
    relation: can_read
tests:
  - name: Tests
    check:
      - user: user:1
        object: job:1
        assertions:
          can_read: true

OpenFGA version
v.1.58
How are you running OpenFGA?
In Docker
What datastore are you using?
Postgres
OpenFGA Flags
No specific flags
Logs
No response

@sidneibjunior we are looking into it

@sidneibjunior thank you for this report! I'm going to close this in favor of a CVE: https://github.com/openfga/openfga/security/advisories/GHSA-3f6g-m4hr-59h8


esphome: bwrap: Can't read /proc/sys/kernel/overflowuid: No such file or directory

Describe the bug
When trying to build something with esphome:
bwrap: Can't read /proc/sys/kernel/overflowuid: No such file or directory
Steps To Reproduce
Enabled esphome.
Try to build something.
Expected behavior
That it doesn't fail.
Screenshots

Additional context
ProcSubset  in serviceConfig should  be set  to  the default value "all" instead of  "pid".

You don't need to create an issue just for the sake of creating one, you can enable open a PR and then the discussion happens there.

Ok. Will keep that in mind.


Allowing arbitrary array

We don't enable the flexible mode in any of our projects. However, we have a use case where the input is an object where one of the properties is an arbitrary array.
Currently, trying to map a value to that object results in the following error:
 Type `mixed` in `array<string, mixed>` is too permissive.

Should properties strictly typed as array<mixed> or mixed really reject values? I completely understand this behavior for untyped properties, but it doesn't seem wrong or dangerous for typed properties.

Hi @marcospassos, could you check #248 and tell me what you think of it?


Problems with refund

Hi.
I have a problem with refund feature that makes me doubt how it should really works.
In your documentation you clearly state:

It is required that the payment has one Charge transaction with state Success. If Charge transaction with state Success is NOT present, then it is required that the payment has one Authorized transaction with state Success. From either Charge or Authorized transaction, the interactionId field is being used as originalReference for the Adyen refund request.

And this is how your code works, it's first try to find "Charge" transaction in the payment, and fallback to "Authorization" transaction.
https://github.com/commercetools/commercetools-adyen-integration/blob/master/extension/src/paymentHandler/refund-payment.handler.js#L7
But the problem is that Adyen refund endpoint do not expect "Charge" (in Adyen nomenclature called "Capture")  notification pspRefernces. It's accept only references from:

authorisation response
authorisation notification

In my tests are it's the case - it's work correctly if I use the Adyen payment pspReference (stored in CT Authorization transaction), but do not work with the "Capture" pspReference stored in "Charge" transaction.
I found and when working with your service, but for faster tests you can forge the requests by yourself (you just need a payment in Adyen with "Capture" notification).
Url: https://pal-test.adyen.com/pal/servlet/Payment/v67/refund
POST body:
{
  "originalReference": "...",
  "modificationAmount": {
    "value": 123,
    "currency": "EUR"
  },
  "merchantAccount": "..."
}

My tests: it works correctly when I use pspReference from CT Authorisation transaction, but do not when I use pspReference from Charge transaction. In second scenario I getting notification with error reason Transaction not found after some time.
What I missing? All other features of commercetools-adyen-integration  (including capture) work for me with current configuration.

Hi @wiktor-obrebski,
Thank you for reporting this issue. I had a quick test and I also got an error in the notification like you have. I will test a bit more tomorrow and discuss with the team. I will get back to you with more details.

Hi @wiktor-obrebski,
I created a PR with the fix. Once it will be approved by another dev, we will release it (most likely within this week).

Thank you.


Add registration by receiver type metric

This is to add a metric firing whenever a new registration is created, namespaced by the receiver type of the registration.

@jpaidoussi Ready for review.

👍


[SC] Upgrade to Stratis.SmartContracts 1.2.0

Given the lack of assembly version upgrade, lets make a 1.2.1 in netstandard2.0, and then reference that package

Update to 1.2.1. Changing to netstandard is currently unfeasible.

We can actually remove Stratis.SmartContracts from Stratis.Bitcoin.Features.SmartContracts


ipAddress RAML spec is wrongly stating that some fields are required

The RAML spec of the ipAddress field is stating that groups, discovery and labels are required. But they are optional.
https://github.com/mesosphere/marathon/blob/master/docs/docs/rest-api/public/api/v2/types/network.raml#L85
I created this issue after talking offline to @jdef

https://phabricator.mesosphere.com/D264


404 Error during oxford-pets tutorial dataset loading

System information

OS Platform and Distribution (Windows 10):
TensorFlow installed from (binary):
TensorFlow version: GPU 2.0 beta
Python version: 3.6
Installed using virtualenv? pip? conda?: pip
CUDA/cuDNN version: 10.0/7.5
GPU model and memory: nvidia GTX 1050 4gb

Describe the problem
problematic tutorial: https://www.tensorflow.org/beta/tutorials/images/segmentation
In the segmentation tutorial, with the copied code from the tutorial, when loading oxford pet dataset from tensorflow_datasets I get:
tensorflow_datasets.core.download.downloader.DownloadError: Failed to get url http://www.robots.ox.ac.uk/~vgg/data/pets/data\images.tar.gz. HTTP code: 404.
I can  go to the site with the web browser with no problems (and even download the dataset).
Provide the exact sequence of commands / steps that you executed before running into the problem
from future import absolute_import, division, print_function, unicode_literals
import tensorflow as tf
from tensorflow_examples.models.pix2pix import pix2pix
import tensorflow_datasets as tfds
tfds.disable_progress_bar()
from IPython.display import clear_output
import matplotlib.pyplot as plt
#problematic line:
dataset, info = tfds.load('oxford_iiit_pet:3.0.0', with_info=True)
Any other info / logs
tensorflow_datasets.core.download.downloader.DownloadError: Failed to get url http://www.robots.ox.ac.uk/~vgg/data/pets/data\images.tar.gz. HTTP code: 404.
Am i doing something wrong, or the site structure changed?

@janprz I tried executing the code on Colab but i didn't see any error message. It successfully downloaded the dataset. Please look at the below output.
Dataset oxford_iiit_pet downloaded and prepared to /root/tensorflow_datasets/oxford_iiit_pet/3.0.0. Subsequent calls will reuse this data.
W0731 08:24:33.067447<PHONE_NUMBER>38304 dataset_builder.py:397] Warning: Setting shuffle_files=True because split=TRAIN and shuffle_files=None. This behavior will be deprecated on 2019-08-06, at which point shuffle_files=False will be the default for all splits.

Could you please try once and let us know. Thanks!

Hello, I have tried again, but the problem still exists. I am connected to the internet so I have no idea why I am getting 404, because I haven't edited any url path or something.

@janprz I tried executing the code on Colab but i didn't see any error message. It successfully downloaded the dataset. Please look at the below output.
Dataset oxford_iiit_pet downloaded and prepared to /root/tensorflow_datasets/oxford_iiit_pet/3.0.0. Subsequent calls will reuse this data.
W0731 08:24:33.067447<PHONE_NUMBER>38304 dataset_builder.py:397] Warning: Setting shuffle_files=True because split=TRAIN and shuffle_files=None. This behavior will be deprecated on 2019-08-06, at which point shuffle_files=False will be the default for all splits.

Could you please try once and let us know. Thanks!

Hello, I have tried again, but the problem still exists. I am connected to the internet so I have no idea why I am getting 404, because I haven't edited any url path or something.

I have also tried connecting through the other internet provider with same effect.

Using Colab it worked, but why I can't do it locally on my pc? I want to work later with little or no internet on holidays.

You can download the data from this link
https://www.robots.ox.ac.uk/~vgg/data/pets/

Thanks a lot for the answers,  I have already downloaded it myself manually.
However it is interesting that only this dataset cannot be downloaded by me with tfds.load().
Since the problem isn't resolved I shouldn't close the issue?

Hi,
I've got the exact same problem with a similar setup.
OS Platform and Distribution (Windows 10):
TensorFlow version: GPU 2.0 beta
Python version: 3.6
Installed using virtualenv? pip? conda?: pip
CUDA/cuDNN version: 10.0/7.6
GPU model and memory: nvidia GTX 1060 6gb

That's surprising I am not able reproduce it.  Can you try with TF 2.0 nightly version?
!pip install tf-nightly-2.0-preview

Can you try with TF 2.0 nightly version?
!pip install tf-nightly-2.0-preview

Thanks for your answer,
but I tried it and I still get the same error

@rsepassi Can you please take a look?
https://www.tensorflow.org/beta/tutorials/images/segmentation
Apparently windows users cannot download the dataset with this
dataset, info = tfds.load('oxford_iiit_pet:3.0.0', with_info=True)

im having the same problem

I'm having the same problem I do these lines :
dataset = tf.keras.utils.get_file("images.tar.gz",
"file:C:/Users/Sylvain ARD/Desktop/test segmentation semantique/images.tar.gz",extract=True)
in place of :
dataset, info = tfds.load('oxford_iiit_pet:3.0.0', with_info=True)
but how to get the info please ??
thank you !
bye

Yes, it is still the issue. I have tried yesterday. No difference.
śr., 28 sie 2019 o 14:39 Alfred Sorten Wolf<EMAIL_ADDRESS>napisał(a):

It has been 14 days with no activity and the awaiting response label was
assigned. Is this still an issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/31171?email_source=notifications&email_token=AJGJHH6AFZZKDASWHLVK7H3QGZWZ3A5CNFSM4IH72TN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5K6T5A#issuecomment-525724148,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJGJHH3PKKJQ2H7FQESS4BTQGZWZ3ANCNFSM4IH72TNQ
.

Same here...
I can download the dataset with tf.keras.utils.get_file but then the structure is not the same as in the tutorial, which makes it harder to work on.
It works fine on colab, but it doesn't on windows.
It must be a classic Windows/Linux path incompatibility, since this is the error.
Failed to get url http://www.robots.ox.ac.uk/~vgg/data/pets/data\images.tar.gz. HTTP code: 404.
One could probably edit the code to make it work, but for now I just want to learn how to segment with tensorflow (in order to use it on my own datasets), so I'll just stick to colab. I'm still interested the issue is fixed!

Same here...
I can download the dataset with tf.keras.utils.get_file, or else use another dataset from tfds, but then the structure is not the same as in the tutorial, which makes it harder to work on.
It works fine on colab, but it doesn't on windows.
It must be a classic Windows/Linux path incompatibility, since this is the error.
Failed to get url http://www.robots.ox.ac.uk/~vgg/data/pets/data\images.tar.gz. HTTP code: 404.
One could probably edit the code to make it work, but for now I just want to learn how to segment with tensorflow (in order to use it on my own datasets), so I'll just stick to colab. I'm still interested the issue is fixed!

Hi, the problem is caused by the os.path.join function for Windows.
Open tensorflow_datasets / image / oxford_iiit_pet.py and replace these lines:
85 replace with url = _BASE_URL +" /images.tar.gz "
88 replace with url = _BASE_URL +" /annotations.tar.gz "
I hope it helps you

Hi, the problem is caused by the os.path.join function on Windows.
Open tensorflow_datasets / image / oxford_iiit_pet.py and replace these lines:
84 replace with url = _BASE_URL + "/images.tar.gz",
87 replace with url = _BASE_URL + "/annotations.tar.gz",
91 replace with  images_path_dir = dl_paths["images"] + "/images"
92 replace with annotations_path_dir = dl_paths["annotations"] + "/annotations"
I hope it helps you

This is the correct solution for windows users. Classic unix/windows incompatibility due to path conventions

only replaced 84 and 87 lines in tensorflow_datasets/image/oxford_iiit_pet.py and dataset have been installed successfully
    dl_paths = dl_manager.download_and_extract({
        "images": tfds.download.Resource(
            url= "{}/images.tar.gz".format(_BASE_URL),  # <-- this line changed
            extract_method=tfds.download.ExtractMethod.TAR),
        "annotations": tfds.download.Resource(
            url="{}/annotations.tar.gz".format(_BASE_URL), # <-- this line changed
            extract_method=tfds.download.ExtractMethod.TAR)
    })

thank you
Sylvain Ard
0549507724
0778380991
<EMAIL_ADDRESS>http://sylvain-ard.fr
Entreprise individuelle SIRET :<PHONE_NUMBER>0022
Appt 26 Bât A Résidence Le Patio
83 rue de la Bugellerie
86000 Poitiers
Le mar. 8 oct. 2019 à 22:04, Sergey Yanzin<EMAIL_ADDRESS>a
écrit :

only replaced 84 and 87 lines in
tensorflow_datasets/image/oxford_iiit_pet.py and dataset have been
installed successfully
dl_paths = dl_manager.download_and_extract({
    "images": tfds.download.Resource(
        url= "{}/images.tar.gz".format(_BASE_URL),  # <-- this line changed
        extract_method=tfds.download.ExtractMethod.TAR),
    "annotations": tfds.download.Resource(
        url="{}/annotations.tar.gz".format(_BASE_URL), # <-- this line changed
        extract_method=tfds.download.ExtractMethod.TAR)
})

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/31171?email_source=notifications&email_token=AEWZCR54SZ7M2ROROGECS23QNTRVFA5CNFSM4IH72TN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAVM7LA#issuecomment-539676588,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEWZCRZGKDRWBWR4EF7K4UDQNTRVFANCNFSM4IH72TNQ
.

Hi,
have you ever encountered problem of "NonMatchingChecksumError: file has wrong chencksum" when
downloading the oxford-iiit-pet dataset？ I use tfds.load( )

@janprz
please let us know if the issue still persist

@janprz
please update on the above comment

In fact I got this problem recently, my working envs as below:

mac OSX Catalina 10.15.3
python 3.7 with virtualenv
coding in Jupyter notebook
tensorflow 2.1.0
tensorflow_datasets 2.1.0

After I run the code below:
tfds.load('oxford_iiit_pet:3.1.0')

I got the raised error:
...images.tar.gz, has wrong checksum.

I checked the file size and compared with the version downloaded from official site. It looks like the tfds downloaded the incomplete one with the different size and sha 256 checksum, but the tfds one looks normal and can be loaded by the code.
Thus there are two options to solve this:

Modify and pass the download_config parameter.(Recommended)

builder = tfds.builder('oxford_iiit_pet:3.1.0')
info = builder.info
print(info)
config = tfds.download.DownloadConfig()
# by setting register_checksums as True to pass the check
config.register_checksums = True
cats_vs_dogs.download_and_prepare(download_config=config)

Modify the checksumurl_checksums/oxford_iiit_pet.txt
Just modify the sha 256 checksums and the number sizes of files.

For me, the problem is solved. Thank You!
śr., 31 lip 2019 o 10:36 gadagashwini<EMAIL_ADDRESS>napisał(a):

@janprz https://github.com/janprz I tried executing the code on Colab
but i didn't see any error message. It successfully downloaded the dataset.
Please look at the below output.
Dataset oxford_iiit_pet downloaded and prepared to /root/tensorflow_datasets/oxford_iiit_pet/3.0.0. Subsequent calls will reuse this data.
W0731 08:24:33.067447<PHONE_NUMBER>38304 dataset_builder.py:397] Warning: Setting shuffle_files=True because split=TRAIN and shuffle_files=None. This behavior will be deprecated on 2019-08-06, at which point shuffle_files=False will be the default for all splits.
Could you please try once and let us know. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/31171?email_source=notifications&email_token=AJGJHH7IVRWHYTND6PMNVV3QCFFIVA5CNFSM4IH72TN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3GQCMQ#issuecomment-516751666,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJGJHH5GM726JBXXCLXOH7TQCFFIVANCNFSM4IH72TNQ
.

builder

666

Hi,
have you ever encountered problem of "NonMatchingChecksumError: file has wrong chencksum" when
downloading the oxford-iiit-pet dataset？ I use tfds.load( )

Yes. Same issue here

@rsepassi
As confirmed by you that it is resolved for you, let us know if we may move this to closed status.

Tensorflow updated this dataset to tfds nightly. "pip install -q -U tfds-nightly"
Use this command. Now you're free to use

error download_manager.py
    if self._register_checksums:
        self._record_sizes_checksums()
    elif (dl_size, sha256) != self._sizes_checksums.get(resource.url, None):
        raise NonMatchingChecksumError(resource.url, tmp_path)

Downloading and preparing dataset oxford_iiit_pet/3.2.0 (download: 773.52 MiB, generated: 774.69 MiB, total: 1.51 GiB) to /root/tensorflow_datasets/oxford_iiit_pet/3.2.0...
Dl Completed...: 0%
0/2 [00:32<?, ? url/s]
Dl Size...:
0/0 [00:31<?, ? MiB/s]
Extraction completed...:
0/0 [00:31<?, ? file/s]

TimeoutError                              Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/urllib3/connection.py in _new_conn(self)
158             conn = connection.create_connection(
--> 159                 (self._dns_host, self.port), self.timeout, **extra_kw)
160
38 frames
TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
NewConnectionError                        Traceback (most recent call last)
NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f343b58e470>: Failed to establish a new connection: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
MaxRetryError                             Traceback (most recent call last)
MaxRetryError: HTTPConnectionPool(host='www.robots.ox.ac.uk', port=80): Max retries exceeded with url: /~vgg/data/pets/data/annotations.tar.gz (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f343b58e470>: Failed to establish a new connection: [Errno 110] Connection timed out',))
During handling of the above exception, another exception occurred:
ConnectionError                           Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
514                 raise SSLError(e, request=request)
515
--> 516             raise ConnectionError(e, request=request)
517
518         except ClosedPoolError as e:
ConnectionError: HTTPConnectionPool(host='www.robots.ox.ac.uk', port=80): Max retries exceeded with url: /~vgg/data/pets/data/annotations.tar.gz (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f343b58e470>: Failed to establish a new connection: [Errno 110] Connection timed out',))

@janprz Closing this issue since the issue is resolved  for you.
@x5675602 Please  submit a new issue and we can track it seperately. Thanks!


Info on keys and updated database terminology

I added text about the need to create alternate keys in the tables in order to set lookup fields or use the "Delete rows that no longer exist..." option.
All references of entity/entities were changed to table/tables and field/fields to column/columns.

@ChadAlt Thanks for providing the new information and PR.


AI Docs Assistance

Describe the problem
Hi there, I would love to get into sveltekit and svelte, today most of my education comes from ChatGPT but I'm always feeling like it's not fully caught up with modern sveltekit.
Describe the proposed solution
I'd love it if you added an ai chat to the docs,
there I can ask it to help me write my python-svelte hybrid app and actually get modern recommended practices and code.
You can have a toggle option in the chat to switch between [Svelte Docs only] or [Docs + General] so I can either research something that is svelte specific or ask for hybrid/generic prompts like my example to combine python and svelte, and how it should be done correctly for my usecase.
Alternatives considered
This can sort of be done now with Quivr or others if I start giving it all the docs' urls
But I really recommend you check Quivr out, it's foss, and easily integratable with tokens and an API and seems a perfect base for this case
Importance
i cannot use SvelteKit without it
Additional Information
As I use ai models alot , I like my backend in python
The only downside in python for me is the web integration. Most python-web frameworks are very rigid. I'd love to get svelte into the mix.
I have created a microservice framework with realtime coms, db integration, requests, events and pubsub, and now I want to integrate web connectivity.
I'd love to make a 2 way binded, realtime element in svelte that is connected to my  python code, where any changes in the back send an event to immediately render on the page, and any changes in the page go directly into my python service
Please let me know if you have good material for a Realtime python-svelte stack. I've been looking and it's really hard to find.
A Svelte-aware AI could really help me at this point
Thanks a lot! & All the best !

Btw the current best materials I found so far are:
YouTube - FastAPI+Sveltekit

No. We're not interested in developing (and paying for) something that we really have no idea whether it will actually give correct or useful answers. Projects that take great care in their documentation do so for a reason, and it's so that people can read it, not so that AIs can ingest it and then return a distorted version of that documentation.

No. We're not interested in developing (and paying for) something that we really have no idea whether it will actually give correct or useful answers. Projects that take great care in their documentation do so for a reason, and it's so that people can read it, not so that AIs can ingest it and then return a distorted version of that documentation.

Wow , why so blatant ? Why you close this so quickly? Is this your personal opinion? @Conduitry
I don't think you realize how much value this can bring to people, and yes you can disclaim it by saying that it's experimental
Instead of closing this you should consider getting other's opinions
I think you should put real effort to making sure it's good and puting it on the front page
I think you should take a moment to care about me spending hours going through research and trying to build something with svelte and  consider that this is a supercharger and will greatly help people like me
It's insane to me that chatgpt is not up-to-date with latest svelte and sveltekit docs (which change all the time) you can actually do something about it.
You can use free local models , or let people input their api keys to use if you don't want to pay
But actually, @Rich-Harris should break a deal with vercel to pay for the gpt3.5/4 calls to make sure the answers are highest quality
Honestly don't sleep on this.
This + a foss wix-style svelte Visual website builder should be on your top priority

Hi! Thanks for your suggestion.
tl;dr: GPT lies, can't have lies in official docs
The thing is, the AI engines like GPT 3.5 and even 4 are actually quite inaccurate. These are made to write out text like humans do, but they are not fully accurate about what they're writing. This poses the challenge of showing inaccurate information in the official docs.
MDN, for instance did this experiment recently. their version gives off wrong information in some cases. Imagine if you go to MDN and it tells you wrong information about what css grid: span 1 / 1 does.  Or maybe we won't see MDN Ai again for a year or two while GPT 5 or 6 or a newer and better engine comes out. Only time will tell.
So learning from their mistake, we feel it's not right to have such a thing in official docs. I believe @ghostdevv is looking into ways of integrating GPT4 in our discord server, so you'll still be able to use GPT trained on svelte docs within our discord.
Hope that answers your questions!

So learning from their mistake, we feel it's not right to have such a thing in official docs. I believe @ghostdevv is looking into ways of integrating GPT4 in our discord server, so you'll still be able to use GPT trained on svelte docs within our discord.

Yep! Soon :tm:

Very happy to hear :) @ghostdevv
Anyways I hope you reconsider, if some already  train or setup an LLM with up-to-date sveltekit knowledge and good feedback is coming, please make a port on the docs' site
I'm guessing soon we'll get tools that can just permissionlessly injest any large docs site , like svelte's, and we'll just be able to do that. But still it will probably be a slow rollout to early adopters. And I would much rather do this in your svelte space. See the orange.
(Or wait till react and Vue do it and play catch up)
Anyways for now I will just do like the good old days, post aomething in the discussion or issues, share my progress, get natural language human feedback & suggestions , and hopefully solve my issue.
Thanks a lot and all the best !


Sequence Pair Enumeration Does Not Kick In

To reproduce:  pytest -vvv -s tests/pdk/finfet_pdk/test_placer.py::test_binary_pfet
The constraints (Floorplan and SameTemplate - auto-generated by compiler) should result in a single sequence pair for the top-level placement problem (with only three variants). Therefore, enumeration is expected. However, log file indicates that simulated annealing is used.
Netlist:
.subckt power_cell vccx vcca vg
xmp0 vcca vg vccx vccx p m=4 nf=4 nfin=4
.ends
.subckt binary vccx vcca vgfix vg[0] vg[1] vg[2] vg[3]
xi0fix vccx vcca vgfix power_cell
xi0[0] vccx vcca vg[0] power_cell
xi1[0] vccx vcca vg[1] power_cell
xi1[1] vccx vcca vg[1] power_cell
xi2[0] vccx vcca vg[2] power_cell
xi2[1] vccx vcca vg[2] power_cell
xi2[2] vccx vcca vg[2] power_cell
xi2[3] vccx vcca vg[2] power_cell
xi3[0] vccx vcca vg[3] power_cell
xi3[1] vccx vcca vg[3] power_cell
xi3[2] vccx vcca vg[3] power_cell
xi3[3] vccx vcca vg[3] power_cell
xi3[4] vccx vcca vg[3] power_cell
xi3[5] vccx vcca vg[3] power_cell
xi3[6] vccx vcca vg[3] power_cell
xi3[7] vccx vcca vg[3] power_cell
.ends binary
.END

Floorplan:
        {
            "constraint": "Floorplan",
            "order": True,
            "regions": [
                ["xi3[0]", "xi2[0]", "xi0fix", "xi3[4]"],
                ["xi3[1]", "xi2[1]", "xi0[0]", "xi3[5]"],
                ["xi3[2]", "xi2[2]", "xi1[0]", "xi3[6]"],
                ["xi3[3]", "xi2[3]", "xi1[1]", "xi3[7]"]
            ]
        }

Even without enumeration kicking in, the placement should finish very fast. With solution caching, there should be only 3 unique ILP problems to solve.

I'll look into this.

There are some failing tests. I'll fix them shortly

@srini229 , the tests failing on CI are also failing locally:
FAILED tests/constraints/test_constraint.py::test_aspect_ratio_low - AssertionError: ckt_aspect_ratio_low: No results generated
FAILED tests/constraints/test_constraint.py::test_boundary_max_height - AssertionError: ckt_boundary_max_height: No results generated
FAILED tests/pdk/finfet_pdk/test_placement_grid.py::test_cmp_on_grid_ilp - AssertionError: ckt_cmp_on_grid_ilp: No results generated

Triaging test_constraint.py::test_aspect_ratio_low , no solution is found even without the AspectRatio constraint.

@soneryaldiz Fixed it now. There was a stray line from the previous check-in.


Fastlane 2.150.0 breaks enterprise use of iTMSTransport (fastlane-plugin-transporter)

New Regression Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Regression Information

Breaking version: 2.150.0
Last working version: 2.149.1

Regression Description
We require a patched version of iTMSTransporter and use the plugin - https://github.com/mgrebenets/fastlane-plugin-transporter - to ensure CI can deliver via our secure network
This change changes the behaviour:
https://github.com/fastlane/fastlane/pull/16640/files#diff-e4392686971e0801abe75321cc8a4c90eb2f2c971734d8cc88b0ac5fef5ee12d
The use of xcrun in the builder causes the Xcode bundled version of Transporter to be used ignoring FASTLANE_ITUNES_TRANSPORTER_PATH
ITMS_TRANSPORTER_PASSWORD=YourPassword xcrun iTMSTransporter -m upload... etc
previously the plugin would utilise the custom installed version
/Users/homedir/itms/java/bin/java -Djava.ext.dirs=/Users/homedir/itms/java/lib/ext -XX:NewSize=2m -Xms32m -Xmx1024m -Xms1024m -Djava.awt.headless=true -Dsun.net.http.retryPost=false -jar /Users/scibanja/itms/lib/itmstransporter-launcher.jar -m upload... etc
The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.

Thank you so much for the information keep suggesting us such informative post i will recommend this post to others mygiftcardsite

@scibidoo I think this should do it! Do you mind testing this out? https://github.com/fastlane/fastlane/pull/17502 😊

Tested this and it works 👍🏽 thanks @joshdholtz