text:
Add local address to load inventory.

This allows you to call this function from different ip addresses in order to decrease rate limiting.

I'd love to see this merged. Very helpful.

I'd love to see the evidence of rate limiting.

Hi Alex7Kom,
While I no longer have messages for this rate limiting from my previous failures, what happens is you get a HTTP 4XX failure after a enough attempts at loading inventories. As seen in discussions with DoctorMckay here: https://dev.doctormckay.com/topic/215-loadinventory-calls-limit/
Regardless of whether or not the evidence is here for ratelimiting, surely this should be accepted due to the fact that it doesn't only stop that, but it allows you to choose your ip which is making the requests.

I see. What do you think about setting localAddress with setup() as the default for all requests (as suggested in https://github.com/Alex7Kom/node-steam-tradeoffers/issues/266), rather then for each loadInventory call?
Actually, since we already have timeout option that we pass to request module, it would make sense to have a param to pass any options to request.

The problem with that, is load balancing ip addresses, it could still be useful and I wouldn't mind that, but being in control for each request is pretty nice. However why not both? Be able to set your default and being able to modify your ip for different requests might be useful.

I do see it being beneficial to have a default but also change it per request. Perhaps even being able to do so for all requests (searching for pending offers, new trade offers, trade acceptance, etc) and not simply loadInventory.

I'm sorry for the late response!
I implemented passing request options on .setup() in https://github.com/Alex7Kom/node-steam-tradeoffers/commit/fee79637f2dd2618e591d8e8447d6ba6781f4f28. I still consider passing them to every method an overkill, though. Instead, you can create multiple instances of the SteamTradeOffers object with various settings.

authors: Alex7Kom GuruFraser TravisArmstrong


text:
Function types parser script fails at struct type name arguments

Examples of incorrectly parsed functions:

https://github.com/AlexAltea/orbital/blob/51909bafa31b36d2f1c97d982dece7813e2ccaff/tools/ida/db_types.json#L80
https://github.com/AlexAltea/orbital/blob/51909bafa31b36d2f1c97d982dece7813e2ccaff/tools/ida/db_types.json#L95

Contributors are welcome to solve this issue:

Difficulty: Easy.
Code: https://github.com/AlexAltea/orbital/blob/master/tools/ida/generate_types.py
Tasks: Debugging.

another example where the script failed, I guess this was originally inlined somewhere in the header.
https://github.com/AlexAltea/orbital/blob/51909bafa31b36d2f1c97d982dece7813e2ccaff/tools/ida/db_types.json#L2216

@ChendoChap Nice find, thank you! The scripts definitely need some tweaks, regex wasn't probably the best tool for the job. :-)

I can take this one

@AlexAltea as I understand it, this just requires a simple grammar to parse C++ function type signatures, correct? OK to link this python library? https://github.com/lark-parser/lark

The original script only extracted functions whose name start with the 'sce'. Those functions don't seem to be using something that's limited to cpp.
Doing this isn't that hard but it's not that helpful. Since afaik the script only got the signatures and tried to apply them in Ida but most of the (parameters/return type) were undefined types.
So I'd rather have something that's capable of handling preprocessor stuff and can extract all the typedefs related to those types. This does make this issue more challenging tho.

oh shit you're still alive? and yeah I agree with you although I wouldn't mind if non sce functions also got parsed (libc stuff)

@vassilmladenov Lark would be an option. I like the fact that it's written in Python, but maybe it's too low level for our task. I'd much rather have something more targeted and specific to C, that includes common features such as preprocessor support.

@AlexAltea in that case the GCC parser is probably the best choice. It doesn’t look quite as friendly as clang’s but still very usable.

source: gharchive/issue

authors: AlexAltea ChendoChap JaedaC vassilmladenov

repo: AlexAltea/orbital

license: MIT

license_type: permissive

license_source: github-api


text:
SVG Support

Feature request for SVG Support.

This is what I'm using

<input placeholder="scale" id="sizeInput" value="128" />

What??

You can use it to convert svg to png, it's not as good as having it convert while building the application but it did the job for me.

@jespertheend Wtf, dude :) The feature request is about to support SVG for app icons and splash screens, not how to convert SVG to PNG.

I understand that, and I wanted something like that as well, but I'm using this in the meantime as a workaround.

authors: artuska jespertheend v3ss0n

repo: AlexDisler/cordova-icon

license: mit

license_source: bigquery


text:
Archer ac1200 - not working

The error i am getting is :
"Your router is not supported. Please add your router support to https://github.com/AlexandrErohin/TP-Link-Archer-C6U by implementing methods for TplinkC6V4Router class"
Logs
Logger: custom_components.tplink_router.config_flow
Source: custom_components/tplink_router/config_flow.py:48
integration: TP-Link Router (documentation, issues)
First occurred: 12:02:47 PM (3 occurrences)
Last logged: 12:09:14 PM
TplinkRouter Integration Exception - Your router is not supported. Please add your router support to https://github.com/AlexandrErohin/TP-Link-Archer-C6U by implementing methods for TplinkC6V4Router class

@KapurkarSidharth Hi
It means your router doesnt support. Would be great if you could add your router support to this integration

https://github.com/AlexandrErohin/home-assistant-tplink-router/issues/55

authors: AlexandrErohin KapurkarSidharth


text:
[Feature] Option to Execute Command Upon Entering State

As the title denotes, you could designate a command to run for when the state switches to a particular state; it would run once and that would be it until it switches to a different state (assuming the config. file has any command set for said new state).
I'm thinking this could be useful in, say, the battery module to execute a notification to dunst when entering state full or even run a command to suspend when entering the state critical.
I'm assuming it wouldn't involve much more as waybar has to keep track of the state, anyway, so it's just executing a user command along with changing the icon, etc. but I always could be mistaken.

I'm thinking this could be useful in, say, the battery module to execute a notification to dunst when entering state full or even run a command to suspend when entering the state critical.

I was looking for exactly the same feature.

me too!

This sounds like a duplicate of https://github.com/Alexays/Waybar/issues/670

authors: WammKD bhepple fbuetler simonvanderveldt

repo: Alexays/Waybar


text:
DWL Module Pipe Error

I have madcow's ipc v2 patch on DWL and I have the tags module in my waybar config. I keep getting a broken pipe error (error 32) when trying to run waybar in DWL. This results in it crashing. I can run waybar on DWL without the DWL module and it runs just fine and waybar runs fine in River. It seems like something is off with DWL and the IPC right now.

Error log from -l debug
(waybar:20729): Gtk-WARNING **: 15:19:45.089: Theme parsing error: gtk.css:3196:35: Missing closing bracket for :not()

(waybar:20729): Gtk-WARNING **: 15:19:45.089: Theme parsing error: gtk.css:3198:35: Missing closing bracket for :not()

(waybar:20729): Gtk-WARNING **: 15:19:45.089: Theme parsing error: gtk.css:3200:35: Missing closing bracket for :not()

(waybar:20729): Gtk-WARNING **: 15:19:45.089: Theme parsing error: gtk.css:3202:35: Missing closing bracket for :not()

(waybar:20729): Gtk-WARNING **: 15:19:45.089: Theme parsing error: gtk.css:3204:35: Missing closing bracket for :not()

(waybar:20729): Gtk-WARNING **: 15:19:45.089: Theme parsing error: gtk.css:3206:35: Missing closing bracket for :not()
[2023-07-31 15:19:45.107] [info] Using configuration file /home/nephitejnf/.config/waybar/config-dwl
[2023-07-31 15:19:45.108] [debug] Try expanding: $XDG_CONFIG_HOME/waybar/style.css
[2023-07-31 15:19:45.108] [debug] Try expanding: $HOME/.config/waybar/style.css
[2023-07-31 15:19:45.108] [debug] Found config file: $HOME/.config/waybar/style.css
[2023-07-31 15:19:45.108] [info] Using CSS file /home/nephitejnf/.config/waybar/style.css
[2023-07-31 15:19:45.210] [debug] Output detection done: eDP-1 (AU Optronics 0x8294)
[2023-07-31 15:19:45.211] [debug] mpd: Disconnected: enabled interval timer.
[2023-07-31 15:19:45.215] [debug] network: new default route via 10.201.0.1 on if3 metric 600
[2023-07-31 15:19:45.216] [debug] network: wlan0, new addr 10.201.0.144/16
[2023-07-31 15:19:45.216] [debug] network: wlan0, new addr 10.201.0.144/16
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0[2023-07-31 15:19:45.231] [debug] GTK widget tree:
window#waybar.background.top.eDP-1..mode-default:dir(ltr)
  decoration:dir(ltr)
  box.horizontal:dir(ltr)
    box.horizontal.modules-left:dir(ltr)
      widget:dir(ltr)
        box#tags.horizontal:dir(ltr)
          button.flat.text-button:dir(ltr)
            label:dir(ltr)
          button.flat.text-button:dir(ltr)
            label:dir(ltr)
          button.flat.text-button:dir(ltr)
            label:dir(ltr)
          button.flat.text-button:dir(ltr)
            label:dir(ltr)
          button.flat.text-button:dir(ltr)
            label:dir(ltr)
          button.flat.text-button:dir(ltr)
            label:dir(ltr)
          button.flat.text-button:dir(ltr)
            label:dir(ltr)
          button.flat.text-button:dir(ltr)
            label:dir(ltr)
          button.flat.text-button:dir(ltr)
            label:dir(ltr)
    box.horizontal.modules-center:dir(ltr)
    box.horizontal.modules-right:dir(ltr)
      widget:dir(ltr)
        label#mpd:dir(ltr)
      widget:dir(ltr)
        label#pulseaudio:dir(ltr)
      widget:dir(ltr)
        box#gamemode.horizontal:dir(ltr)
          image:dir(ltr)
          label:dir(ltr)
      widget:dir(ltr)
        label#network:dir(ltr)
      widget:dir(ltr)
        label#disk:dir(ltr)
      widget:dir(ltr)
        label#custom-weather:dir(ltr)
      widget:dir(ltr)
        label#battery:dir(ltr)
      widget:dir(ltr)
        box#tray.horizontal:dir(ltr)
      widget:dir(ltr)
        label#clock.1:dir(ltr)

Gdk-Message: 15:19:45.232: Error 32 (Broken pipe) dispatching to Wayland display.

I have the same issue. Was there any change or is there a solution?

My dwl ipc v2 works fine for latest waybar. You can refer to my dwl code, but I don't have enough time to make patches now.
superdwl

My dwl ipc v2 works fine for latest waybar. You can refer to my dwl code, but I don't have enough time to make patches now.
superdwl

Hey, seems like the repo is gone? I just ran into this problem and was hoping for a fix. Sadly there seems to be no way to get waybar with dwl running (with clickable tags).

@tomaskallup :  I still had a local clone and pushed it to https://github.com/maxhbr/fork-of-DreamMaoMao-superdwl
But I was not able to extract a working IPC version out of it into my config.

You can search for the keyword dwl_ipc and the code that contains this keyword is the part of the patch you want , like this

Because dwl is still very immature in some aspects, I have temporarily abandoned the dwl

Thanks for the fork, I took a stab at extracting the IPC logic, but I don't see much difference compared to the original patch. If anything it seems to be missing some fullscreen & floating notifications.
I might try to debug whats happening on waybar side and see if I can atleast find out whats wrong, but I don't have C++ experience, so my hopes are low. Hopefully someone who has experience with C++ & Waybar can chime in sooner or later.

https://github.com/Alexays/Waybar/assets/30348075/afbf7035-0b52-409a-8ca9-179d5b4489cc
My dwl is still working

You maybe can rule out whether the problem is dwl or waybar by running my dwl

authors: DreamMaoMao maxhbr nephitejnf tomaskallup


text:
不会GO想问下使用问题

直接使用login指令就一直报错，是代码里哪里需要改吗？
然后就是菠萝包抓包一直显示SSL证书错误，试了用手机开虚拟机抓包也试了用电脑抓手机的包都不行，可以麻烦问下应该要怎样去抓token吗？谢谢了

已经知道怎么抓取菠萝包的网络包了，但是如何去更改登录API可不可以教一下谢谢了。

项目已经很长时间没有维护过了
看返回信息似乎是接口更改了
迟一些我改改看吧

好的谢谢了，我一般习惯把书传到kindle上看之前都用的orc把书从菠萝包和刺猬猫里导出来，不过太慢了而且有时候识别不准😂。

repo: AlexiaVeronica/pineapple-backups


text:
Error with Sonoff Micro firmware 3.6.0

Hi,
Trying to use the custom component with a newly bought Sonoff Micro I was having an issue where None was being returned by decrypt(), and thus JSON decode was failing. I removed the exception handler from decrypt and got to the root of the issue:
2020-12-21 23:35:34 ERROR (Sonoff_LAN) [root] Uncaught thread exception
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/site-packages/zeroconf/__init__.py", line 1750, in run
self._service_state_changed.fire(
File "/usr/local/lib/python3.8/site-packages/zeroconf/__init__.py", line 1508, in fire
h(**kwargs)
File "/config/custom_components/sonoff/sonoff_local.py", line 183, in _zeroconf_handler
data = decrypt(properties, devicekey)
File "/config/custom_components/sonoff/sonoff_local.py", line 71, in decrypt
ciphertext = b64decode(encoded)
File "/usr/local/lib/python3.8/base64.py", line 87, in b64decode
return binascii.a2b_base64(s)
binascii.Error: Invalid base64-encoded string: number of data characters (741) cannot be 1 more than a multiple of 4

I've isolated the bug (ignoring data4 in decrypt). I will send a PR tonight.

Fixed in latest release

authors: AlexxIT dwf

repo: AlexxIT/SonoffLAN


text:
Alfresco Community deployment with ansible pg_hba.conf.j2 local_addr error

Hello everyone,
I am discovering Ansible, I need your expertise for this error message:
TASK [../roles/postgres : Configure postgresql client auth] *********************************************************************************************************************************************************************************
task path: /opt/ansiblealfresco/alfresco-ansible-deployment-2.0.0/roles/postgres/tasks/main.yml:41
<localhost> ESTABLISH LOCAL CONNECTION FOR USER: root
<localhost> EXEC /bin/sh -c 'echo ~root && sleep 0'
<localhost> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /root/.ansible/tmp `"&& mkdir "` echo /root/.ansible/tmp/ansible-tmp-1657639107.27-13718-160893885570647 `" && echo ansible-tmp-1657639107.27-13718-160893885570647="` echo /root/.ansible/tmp/ansible-tmp-1657639107.27-13718-160893885570647 `" ) && sleep 0'
<localhost> EXEC /bin/sh -c 'rm -f -r /root/.ansible/tmp/ansible-tmp-1657639107.27-13718-160893885570647/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
    "changed": false,
    "msg": "AnsibleUndefinedVariable: 'unicode object' has no attribute 'local_addr'"
}

PLAY RECAP **********************************************************************************************************************************************************************************************************************************
localhost                  : ok=17   changed=0    unreachable=0    failed=1    skipped=9    rescued=0    ignored=0

I am playing this command:
# ansible-playbook playbooks/acs.yml -i inventory_local.yml -e "@community-extra-vars.yml" -vvv

I found out the 'local_addr' is in the pg_hba.conf.j2 but i have no clue how to resolve it.
Need a little help please :D
Regards, Alexandre

Hello,
local_addr should get automatically populated from here, gathering ansible_default_ipv4.address fact from the repo host defined in the inventory (localhost in your case).
From where are you running the playbook? Operating system / platform

The only thing that's needed on your target host, for ansible to be able to automatically populate the ansible_default_ipv4.address should be a default route. Do you have one?

Hello,
local_addr should get automatically populated from here, gathering ansible_default_ipv4.address fact from the repo host defined in the inventory (localhost in your case).
From where are you running the playbook? Operating system / platform

Hello Gionn,
I am running it from CentOS7 fully updated.
It's a full local single host installation.

The only thing that's needed on your target host, for ansible to be able to automatically populate the ansible_default_ipv4.address should be a default route. Do you have one?

Hello AlxGomz
I'm pretty sure I got one. Let me tomorrow to check this and keep you on touch.

The only thing that's needed on your target host, for ansible to be able to automatically populate the ansible_default_ipv4.address should be a default route. Do you have one?

Hi AlxGomz
# ip route default via xx.xx.xx.5 dev eth0 proto static metric 100 xx.xx.xx.0/24 dev eth0 proto kernel scope link src xx.xx.xx.121 metric 100
Default route is ok.
Regards, Alexandre

can you check the version of Ansible you're using? This unicode object's property error makes me think ansible is not dealing repo_hosts list of objects and I'm wondering wether that could because of an older ansible version.
Ideally you should provide info asked in the issue template to avoid back and forth comms.
Thank you.

Here it is:
# ansible --version ansible 2.9.27   config file = /etc/ansible/ansible.cfg   configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']   ansible python module location = /usr/lib/python2.7/site-packages/ansible   executable location = /usr/bin/ansible   python version = 2.7.5 (default, Jun 28 2022, 15:30:04) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
You think I should update it?
Thank you

Yes,
Although we never faced that specific issue, we know of others which happen when using ansible version before 2.12.
For that reason we enforced  2.12+ as a requirement (and also because 2.12 is the currently supported version, 2.9 support has ended)
See this doc for a way to easily match the dependencies
I'm almost sure that's the cause of the issue you're facing so I'll close this issue for now but feel free to reopen it or a new one in case the problem remains.

I do that today and give a feedback!
Thanks!

authors: AlexMutuelleJust alxgomz gionn

repo: Alfresco/alfresco-ansible-deployment


text:
Move sign inside wedge pd, and solve for pressure in euler

Previously, we were multiplying by the sign of a dual 2-form after performing the primal-dual 1-1 wedge product at the outermost "test level." It makes sense to curry the sign-accommodation code inside these wedge product operators themselves.
This PR contains two further improvements to the tests: solving for pressure in the test for Euler's equations, and a standalone interior product dual-dual test set.

Since you're already making changes, this PR should also address issue #76. At the very least moving the only.() call outside the returned function.

@jpfairbanks Can you give this a review this afternoon or Monday? This branch is used for the current NS simulations under investigation

@lukem12345, we had a race condition, I noticed that you have an -a - b instead of -(a+b).

I will run some @btimes and report back if I find an improvement!

I did not find a difference in runtime or allocs.

julia> using CombinatorialSpaces, GeometryBasics, BenchmarkTools;

julia> Point3D = Point3{Float64};

julia> s = loadmesh(Icosphere(5));

julia> sd = EmbeddedDeltaDualComplex2D{Bool, Float64, Point3D}(s);

julia> subdivide_duals!(sd, Barycenter());

julia> ldd = ℒ_dd(Tuple{1,1}, sd);

julia> function myℒ_dd(::Type{Tuple{1,1}}, s::SimplicialSets.HasDeltaSet)
         # ℒ := -diuv - iduv
         d0 = dec_dual_derivative(0, s)
         d1 = dec_dual_derivative(1, s)
         i1 = interior_product_dd(Tuple{1,1}, s)
         i2 = interior_product_dd(Tuple{1,2}, s)

         (f,g) ->
           -(d0 * i1(f,g) +
             i2(f,d1 * g))
       end;

julia> mdd = myℒ_dd(Tuple{1,1}, sd);

julia> u = ones(ne(sd));

julia> all(mdd(u,u) .== ldd(u,u))
true

julia> @btime ldd(u,u);
  820.285 μs (52 allocations: 808.38 KiB)

julia> @btime mdd(u,u);
  822.990 μs (52 allocations: 808.38 KiB)

The types given by @code_warntype is similar for both, just reordered:

f::Vector{Float64}
  g::Vector{Float64}
Body::Any
1 ─ %1  = Core.getfield(#self#, :d0)::SparseArrays.SparseMatrixCSC{Int8, Int32}
│   %2  = Core.getfield(#self#, :i1)::CombinatorialSpaces.FastDEC.var"#32#33"{LinearAlgebra.Diago
ol, Float64, Point{3, Float64}}, SparseArrays.SparseMatrixCSC{Float64, Int64}, CombinatorialSpace
astDEC.var"#30#31"{SparseArrays.UMFPACK.UmfpackLU{Float64, Int32}}}
│   %3  = (%2)(f, g)::Any
│   %4  = (%1 * %3)::Any
│   %5  = Core.getfield(#self#, :i2)::CombinatorialSpaces.FastDEC.var"#34#35"{SparseArrays.Sparse
C{Float64, Int32}, LinearAlgebra.Diagonal{Float64, Vector{Float64}}}
│   %6  = Core.getfield(#self#, :d1)::SparseArrays.SparseMatrixCSC{Int8, Int32}
│   %7  = (%6 * g)::Vector{Float64}
│   %8  = (%5)(f, %7)::Vector{Float64}
│   %9  = (%4 + %8)::Any
│   %10 = -%9::Any
└──       return %10

The i1 function returns Any...

Tracing back through the function calls, the sign function, which returns a vector of positive and negative ones corresponding to the sign of a simplex, is returning ::Any. This is inside of the primal-dual 1,1 wedge product:
``julia-repl
Body::Any
1 ─ %1 = CombinatorialSpaces.FastDEC.:::Core.Const()
│   %2 = Core.getfield(#self#, :sd)::EmbeddedDeltaDualComplex2D{Bool, Float64, Point{3, Float64}}
│   %3 = CombinatorialSpaces.FastDEC.sign(2, %2)::Any
│   %4 = Core.getfield(#self#, :Λ_cached)::CombinatorialSpaces.FastDEC.var"#7#8"{Tuple{Matrix{Int3
2}, Matrix{Float64}, UnitRange{Int64}}}
│   %5 = Core.getfield(#self#, :♭♯_m)::SparseArrays.SparseMatrixCSC{Float64, Int64}
│   %6 = (%5 * g)::Vector{Float64}
│   %7 = (%4)(f, %6)::Vector{Float64}
│   %8 = Base.broadcasted(%1, %3, %7)::Any
│   %9 = Base.materialize(%8)::Any
└──      return %9

Tracing back through the function calls, the sign function, which returns a vector of positive and negative ones corresponding to the sign of a simplex, is returning ::Any.

This is because the type of the orientation is encoded as a type parameter to EmbeddedDeltaDualComplex2D.
One way to work around this is to hard-code Bool a la https://github.com/AlgebraicJulia/CombinatorialSpaces.jl/blob/ab1ea66268c631b3964f023dd2d4d41fdbdfd9ed/src/DiscreteExteriorCalculus.jl#L1101

source: gharchive/pull-request


text:
click issue in features section is done

Description
I have fixed the click issue in features section
Fixes #208
List any dependencies that are required for this change
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

UI /UX changes
Attach gif or screenshot for changes.
Before
https://user-images.githubusercontent.com/54280252/112043050-3b26e400-8b6e-11eb-99fe-22f720a382d9.mp4
After
https://user-images.githubusercontent.com/54280252/112043086-4843d300-8b6e-11eb-92bf-84ff5261154a.mp4
Checklist:

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

Hey @ravikr126 please check PR request.

repo: Algo-Phantoms/Algo-Phantoms-Frontend


text:
[NEW ALGORITHM] Tower of Hanoi implementation using Stack

Description:
I would like to contribute to the AlgoGenesis repo by adding the algorithm for Tower of Hanoi problem using Stack
Checklist:

[x] Contributor in GSSoC-ext

[x] Want to work on it

Additional Information:
Tower of Hanoi is a very common question relating to implementation of Stack. While a more straight-forward approach is using recursion, implementation using Stack will help enhance understanding of the topic.

i want to contibute in this .I have a good approach for this.

authors: kashishchadha prishsha

repo: AlgoGenesis/C


text:
[NEW ALGORITHM]  Operating System Scheduling Algorithm

Description:
I want to add the Operating System's Scheduling Algorithms like

First Come First Serve
Shortest Job First(Preemptive and non-preemptive)
Priority Algorithm (Preemptive and Non-Preemptive)

Please assign this to me.
Thanks @pankaj-bind

not needed


text:
Plain JavaScript with objectsFeature branch

Note: I don't have coding partner this week.
Objectives:

Different ways to create objects in JavaScript.
Create a collection that keeps a list of books
Create a function to add a new book to the collection, with title and author.
Create a function to remove a book from the collection
Display all books saved in the collection in the top part of the page.
Make sure that when a user clicks the "Add" button  a new book is added to the collection.
The new book is displayed in the page.
Make sure that when a user clicks the "Remove" button:
The correct book is removed from the collection.
The correct book dissapears from the page.
Make sure that data is preserved in the browser's memory by using [localStorage]

Hi @Ali-0111
Checking from the Lightouse report, it says that Lighthouse configuration file is missing from your project directory.

Hi @Ali-0111
Searching for the Lighthouse error  ChromeLauncher:error connect ECONNREFUSED ::1:40491 I found a solution to likely this same issue via this link. Let's try implementing the solution found there and see how it works out!
Standing by..
Cheers! 😃


text:
GPU optimizations and profilers

Following additions in the PR:
-device synchronized profilers
-removed print statement in SceCells membrane force method which uses device-to-host transfer
-added CUDA kernels to cell and node logic for force calculations

Hello Philip,
It seems that this pull request is for merging to the master branch. I would prefer to merge you contributions to the code as a new branch. Is it possible to send the pull request as a new branch? Thanks.

Hi Ali,
Since I did my work in a separate branch in my own copy of the repository,
the branch doesn't exist in the main repository. When I made the pull
request, I don't have the option of requesting that  my changes be merged
into a newly created branch (only those that currently exist in your
repository).
You should be able to merge the changes into any branch you would like, so
if you create a new branch for my changes, and then select to have my pull
request merged into that branch, we should have the desired effect.
Please let me know if this works for you.
Best,
Phillip
On Apr 2, 2018 9:27 AM, "Ali Nematbakhsh" notifications@github.com wrote:

Hello Philip,
It seems that this pull request is for merging to the master branch. I
would prefer to merge you contributions to the code as a new branch. Is it
possible to send the pull request as a new branch? Thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AliNemat/SceCells/pull/5#issuecomment-377969958, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AVijk-KbQdGFtxBzH4Fd8O3tQx2Ae9bIks5tklFjgaJpZM4TDQYA
.

authors: AliNemat phillipcpark

repo: AliNemat/SceCells


text:
Segmentation fault

Segmentation fault will be reported when running preprocess, what is the reason for this?

hi @liuhuadai , which repo cause it ?

hi @liuhuadai , which repo cause it ?

The proton repo, thanks for your reply

Sorry, we have not experienced this error in our environment. Generally, Segmentation fault are caused by environment settings. In our experiments, we use torch==1.6.0 and dgl==0.5.3 with CUDA version 10.1. Have you set this up for it yet? Or could you provide a detailed error log?

authors: huybery liuhuadai

repo: AlibabaResearch/DAMO-ConvAI


text:
[Bug]: BedrockException - {"message":"The text field in the ContentBlock object at messages.3.content.0 is blank

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Describe the bug and reproduction steps
0.16.1: Pulling from all-hands-ai/openhands
Digest: sha256:71e4d87b409c3cb3faf303d3c6eb8e04e0b8f7248f883f9a371980557a6ad30b
Status: Image is up to date for docker.all-hands.dev/all-hands-ai/openhands:0.16.1
Starting OpenHands...
Setting up enduser with id 501
Docker socket group id: 0
root:x:0:
Group with id 0 already exists
Running as enduser
How can I help? >> Read `tooling/backends/openhands/prompts/general.md` and `tooling/backends/openhands/prompts/bazel.md` for general instuctions. Your task is to improve the `projects/quicktest` README.md file.
🤖 I'll help you improve the README.md file for the quicktest project. Let me first read the instruction files and then check the current README.md content.

🤖

Give Feedback / Get Help: https://github.com/BerriAI/litellm/issues/new
LiteLLM.Info: If you need to debug this error, use `litellm.set_verbose=True'.

Traceback (most recent call last):
  File "/app/.venv/lib/python3.12/site-packages/litellm/llms/openai/openai.py", line 609, in completion
    raise e
  File "/app/.venv/lib/python3.12/site-packages/litellm/llms/openai/openai.py", line 545, in completion
    self.make_sync_openai_chat_completion_request(
  File "/app/.venv/lib/python3.12/site-packages/litellm/llms/openai/openai.py", line 411, in make_sync_openai_chat_completion_request
    raise e
  File "/app/.venv/lib/python3.12/site-packages/litellm/llms/openai/openai.py", line 393, in make_sync_openai_chat_completion_request
    raw_response = openai_client.chat.completions.with_raw_response.create(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/openai/_legacy_response.py", line 356, in wrapped
    return cast(LegacyAPIResponse[R], func(*args, **kwargs))
                                      ^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/openai/_utils/_utils.py", line 275, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/openai/resources/chat/completions.py", line 829, in create
    return self._post(
           ^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/openai/_base_client.py", line 1280, in post
    return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/openai/_base_client.py", line 957, in request
    return self._request(
           ^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/openai/_base_client.py", line 1061, in _request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - {'error': {'message': 'litellm.BadRequestError: BedrockException - {"message":"The text field in the ContentBlock object at messages.3.content.0 is blank. Add text to the text field, and try again."}\nReceived Model Group=bedrock/us.anthropic.claude-3-5-sonnet-20241022-v2:0\nAvailable Model Group Fallbacks=None', 'type': None, 'param': None, 'code': '400'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/.venv/lib/python3.12/site-packages/litellm/main.py", line 1595, in completion
    raise e
  File "/app/.venv/lib/python3.12/site-packages/litellm/main.py", line 1568, in completion
    response = openai_chat_completions.completion(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/litellm/llms/openai/openai.py", line 619, in completion
    raise OpenAIError(
litellm.llms.openai.common_utils.OpenAIError: Error code: 400 - {'error': {'message': 'litellm.BadRequestError: BedrockException - {"message":"The text field in the ContentBlock object at messages.3.content.0 is blank. Add text to the text field, and try again."}\nReceived Model Group=bedrock/us.anthropic.claude-3-5-sonnet-20241022-v2:0\nAvailable Model Group Fallbacks=None', 'type': None, 'param': None, 'code': '400'}}

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/app/openhands/controller/agent_controller.py", line 210, in start_step_loop
    await self._step()
  File "/app/openhands/controller/agent_controller.py", line 511, in _step
    action = self.agent.step(self.state)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/openhands/agenthub/codeact_agent/codeact_agent.py", line 366, in step
    response = self.llm.completion(**params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 336, in wrapped_f
    return copy(f, *args, **kw)
           ^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 475, in __call__
    do = self.iter(retry_state=retry_state)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 376, in iter
    result = action(retry_state)
             ^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 398, in <lambda>
    self._add_action_func(lambda rs: rs.outcome.result())
                                     ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 449, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 478, in __call__
    result = fn(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^
  File "/app/openhands/llm/llm.py", line 218, in wrapper
    resp: ModelResponse = self._completion_unwrapped(*args, **kwargs)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/litellm/utils.py", line 999, in wrapper
    raise e
  File "/app/.venv/lib/python3.12/site-packages/litellm/utils.py", line 880, in wrapper
    result = original_function(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/litellm/main.py", line 2951, in completion
    raise exception_type(
          ^^^^^^^^^^^^^^^
  File "/app/.venv/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py", line 2148, in exception_type
    raise e
  File "/app/.venv/lib/python3.12/site-packages/litellm/litellm_core_utils/exception_mapping_utils.py", line 338, in exception_type
    raise BadRequestError(
litellm.exceptions.BadRequestError: litellm.BadRequestError: Litellm_proxyException - Error code: 400 - {'error': {'message': 'litellm.BadRequestError: BedrockException - {"message":"The text field in the ContentBlock object at messages.3.content.0 is blank. Add text to the text field, and try again."}\nReceived Model Group=bedrock/us.anthropic.claude-3-5-sonnet-20241022-v2:0\nAvailable Model Group Fallbacks=None', 'type': None, 'param': None, 'code': '400'}}
22:26:00 - openhands:ERROR: agent_controller.py:216 - [Agent Controller default] Error while running the agent: litellm.BadRequestError: Litellm_proxyException - Error code: 400 - {'error': {'message': 'litellm.BadRequestError: BedrockException - {"message":"The text field in the ContentBlock object at messages.3.content.0 is blank. Add text to the text field, and try again."}\nReceived Model Group=bedrock/us.anthropic.claude-3-5-sonnet-20241022-v2:0\nAvailable Model Group Fallbacks=None', 'type': None, 'param': None, 'code': '400'}}
22:26:00 - openhands:ERROR: loop.py:23 - litellm.BadRequestError: Litellm_proxyException - Error code: 400 - {'error': {'message': 'litellm.BadRequestError: BedrockException - {"message":"The text field in the ContentBlock object at messages.3.content.0 is blank. Add text to the text field, and try again."}\nReceived Model Group=bedrock/us.anthropic.claude-3-5-sonnet-20241022-v2:0\nAvailable Model Group Fallbacks=None', 'type': None, 'param': None, 'code': '400'}}
steve_cosenza@Steves-MacBook-Pro quicktest %

OpenHands Installation
Docker command in README
OpenHands Version
0.16.1
Operating System
MacOS
Logs, Errors, Screenshots, and Additional Context
No response

Sorry, Steve, so what happened here is:

we had a quick fix for bedrock on this issue https://github.com/All-Hands-AI/OpenHands/pull/4935
it caused regressions https://github.com/All-Hands-AI/OpenHands/issues/5492
we submitted an attempt to fix it on litellm instead https://github.com/BerriAI/litellm/pull/7177
and we reverted it https://github.com/All-Hands-AI/OpenHands/pull/5539

Unfortunately, the litellm fix worked for bedrock, but not for bedrock via litellm_proxy. That was fixed a few days ago:

https://github.com/BerriAI/litellm/issues/7169

The litellm version for the proxy is now updated in our main, but it wasn't at the time of our 0.16.1. release.

Thanks for the detailed explanation! I'll pick this back up in January, and I'll make sure to upgrade when I do.

authors: enyst scosenza

repo: All-Hands-AI/OpenHands


text:
requirements.txt contains wrong "yaml"

The install for yaml should be pyyaml in the requirements.txt file

oh, will fix asap:)

authors: AllAboutAI-YT johntdavies

repo: AllAboutAI-YT/easy-local-rag


text:
one line breaks by emoji

Hi, that seems to be an upstream issue. Most likely, your font is not using monospaced characters for emojis (that rocket seems to be taking 2 or more columns)
If that is the case, there's nothing I can do...

Hi, that seems to be an upstream issue. Most likely, your font is not using monospaced characters for emojis (that rocket seems to be taking 2 or more columns)
If that is the case, there's nothing I can do...
I can confirm the size considered for this unicode char is:

ah ok check yes now understand thats my font^^

authors: AllMightySauron VidarDev


text:
[Feature Request] DirectX Renderer

Related problem
https://github.com/AllenDang/giu/issues/170#issue-863120297
https://github.com/AllenDang/giu/issues/147#issuecomment-789963826
Your request
It would be useful to be able to use the DirectX renderer, so that the GUI starts even if no "real" GPU driver is installed. I tested the demos from https://github.com/ocornut/imgui#demo and the directX executables work just fine. Is this feasible?
Currently I get: APIUnavailable: WGL: The driver does not appear to support OpenGL
Alternative solution
No response
Additional context
No response

here is C++ Code. We need to implement it like sdl and glfw stuff. https://github.com/ocornut/imgui/tree/master/examples/example_sdl2_directx11

repo: AllenDang/cimgui-go


text:
select row border

How can I style the border of the row that i select.
So I can get something like in the pic.

unn, I've no idea about your pic.. what's that?  could you please mark it or show the whole pic?

here is the mock up of the table.  thank you :)

@wenit123, the border it from .react-bs-table: { border: 1px solid #ddd }  so It's hard to achieve your requirement.
You can try the following example to find some way:
/* eslint max-len: 0 */
import React from 'react';
import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table';

const products = [];

function addProducts(quantity) {
  const startId = products.length;
  for (let i = 0; i < quantity; i++) {
    const id = startId + i;
    products.push({
      id: id,
      name: 'Item name ' + id,
      price: 2100 + i
    });
  }
}

addProducts(10);

// function trClassFormat(rowData, rIndex) {
//   return rIndex % 3 === 0 ? 'tr-function-example' : '';
// }

export default class BorderlessTable extends React.Component {

  constructor(props) {
    super(props);
    this.state = {
      selectedRowKey: ''
    };
  }

  trClassFormat = rowData => {
    // if is selected row, add a class name, so you can control the style on this row by class name
    return rowData.id === this.state.selectedRowKey ? 'tr-function-example' : '';
  }

  onSelect = (row, isSelected) => {
    if (isSelected) {
      this.setState({
        selectedRowKey: row.id
      });
    }
  }

  render() {
    const selectRow = {
      mode: 'radio',
      onSelect: this.onSelect
    };
    return (
      <BootstrapTable data={ products } bordered={ false } selectRow={ selectRow } trClassName={ this.trClassFormat }>
          <TableHeaderColumn dataField='id' isKey={ true }>Product ID</TableHeaderColumn>
          <TableHeaderColumn dataField='name'>Product Name</TableHeaderColumn>
          <TableHeaderColumn dataField='price'>Product Price</TableHeaderColumn>
      </BootstrapTable>
    );
  }
}

BTW, there are some example to show how to style your table

@wenit123, I try out the following solution, give a try :)
/* eslint max-len: 0 */
import React from 'react';
import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table';
require('./test.css');

const products = [];

function addProducts(quantity) {
  const startId = products.length;
  for (let i = 0; i < quantity; i++) {
    const id = startId + i;
    products.push({
      id: id,
      name: 'Item name ' + id,
      price: 2100 + i
    });
  }
}

addProducts(10);

export default class BorderlessTable extends React.Component {

  constructor(props) {
    super(props);
    this.state = {
      selectedRowKey: ''
    };
  }

  trClassFormat = rowData => {
    return rowData.id === this.state.selectedRowKey ? 'tr-no-border-example' : 'tr-border-example';
  }

  onSelect = (row, isSelected) => {
    if (isSelected) {
      this.setState({
        selectedRowKey: row.id
      });
    }
  }

  render() {
    const selectRow = {
      mode: 'radio',
      onSelect: this.onSelect
    };
    return (
      <BootstrapTable data={ products } bordered={ true } selectRow={ selectRow } trClassName={ this.trClassFormat }>
          <TableHeaderColumn dataField='id' isKey={ true }>Product ID</TableHeaderColumn>
          <TableHeaderColumn dataField='name'>Product Name</TableHeaderColumn>
          <TableHeaderColumn dataField='price'>Product Price</TableHeaderColumn>
      </BootstrapTable>
    );
  }
}

test.css
.tr-string-example{
    font-style: oblique;
    color: red;
    background-color: aquamarine;
}

.react-bs-table {
  border-width: 0px;
  border-top-width: 1px;
  border-left-width: 1px;
  /*border-right-width: 1px; */
}

.react-bs-table .table-bordered > thead > tr > th:last-child {
  border-right-width: 1px !important;
}

.tr-no-border-example{
    font-weight: bold;
    background-color: #ddd;
    border-right-width: 0px !important;
}

.tr-border-example{
    border-right: 1px solid #ddd !important;
    /*border-right-width: 1px !important;*/
}

thank you so much @AllenFang  ^O^

thank you for this useful library!
I have another problem.
I get dataSort={true} for date.
Also I added the default sorting in option, because I want the most recent one show first.
However every time I select a row. It jump to the default sorting. how can I fix it? thank you!
render() {
var options = {
sortName: "date",                   // default sort column
sortOrder: "desc",                  // default sort order
}
    var data = [];

    var selectRowProp = {
        mode: "radio",
        clickToSelect: true,
        bgColor: "#F2F6F8",                     // color when it be selected
        onSelect: this.onRowSelect,
        hideSelectColumn: true,                 // to hide the radio select
        selected: this.state.selected,          // update selected row.
    }
return(

                <BootstrapTable data={data} pagination={true} ref='table' selectRow={selectRowProp} options={options} trClassName={this.trClassFormat}>
                    <TableHeaderColumn dataField="id" isKey hidden > ID</TableHeaderColumn>
                    <TableHeaderColumn dataField="date" dataSort={true} width="30" caretRender={getCaret}>DATE</TableHeaderColumn>
                    <TableHeaderColumn dataField="author" dataSort={true} width="30" caretRender={getCaret}>AUTHOR</TableHeaderColumn>
                    <TableHeaderColumn dataField="title" dataSort={true} width="30" caretRender={getCaret}>TITLE</TableHeaderColumn>
                    <TableHeaderColumn dataField="content" dataSort={true} width="40" caretRender={getCaret}>CONTENT</TableHeaderColumn>
                    <TableHeaderColumn dataField=" " width="5" dataFormat={glyphsFormatter}> </TableHeaderColumn>
                </BootstrapTable>

    );
},

})

I fix it like this example https://github.com/Apartments24-7/react-admin/commit/5dc82e8830750fadef7b5f7ba8c116dde816d3cd
but then origin sort arrow is not right and I have to click twice to change the sorting.

I get it thank you  👍

@wenit123, great, feel free to ask me anything :)

repo: AllenFang/react-bootstrap-table


text:
Refine ufs.listStatus granularity for incremental sync

For incremental sync on large directories, a ufs listing at the sync point can be an expensive operation. This PR attempts to address the issue by calculating the lowest common ancestor of the changed file list reported by the ufs.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6971/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6986/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/6988/
Test PASSed.

@gpang PTAL

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/7025/
Test PASSed.

alluxio-bot, merge this please

alluxio-bot, cherry-pick this to branch-2.1 please.

alluxio-bot, cherry-pick this to branch-2.1 please.

alluxio-bot, cherry-pick this to branch-2.1 please.

authors: AmplabJenkins gpang madanadit

repo: Alluxio/alluxio


text:
Fix comma-separated medium types parsing in Helm chart

This resolves https://github.com/Alluxio/alluxio/issues/11778

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/10541/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/10542/
Test PASSed.

alluxio-bot, merge this please.

alluxio-bot, cherry-pick this to branch-2.3 please.

alluxio-bot, cherry-pick this to branch-2.3 please.

alluxio-bot, cherry-pick this to branch-2.3 please.

authors: AmplabJenkins jiacheliu3 madanadit


text:
[ALLUXIO-1771]  Made correction of TFS to Alluxio FS in AbstractFileS…

[ALLUXIO-1771]  Made correction of TFS to Alluxio FS in AbstractFileSystemTest

Thanks for this PR! It looks like your commits aren't linked to a valid Github account yet (see your commits at https://github.com/Alluxio/alluxio/pull/2903/commits) where your icon is gray.
For us to properly credit your contributions, could you please set up your Github account by following the Github instructions here:
https://help.github.com/articles/setting-your-email-in-git/
Then, you can close this PR and reopen the PR and check if the commits are linked.
Thanks!

Can one of the admins verify this patch?

@apc999  Thanks for notifying me! It was because I was using my secondary email addr linked to my Github account and it was not verified previously. Made changes on the account setting and starting a new pull request again.

authors: AmplabJenkins Slyrich apc999


text:
[ALLUXIO-2355] Modify "should only contains" to "should only contain"

https://alluxio.atlassian.net/browse/ALLUXIO-2355

Can one of the admins verify this patch?

ok to test

Jenkins, add to whitelist

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12032/
Test PASSed.

authors: AmplabJenkins ifcharming whai362


text:
No Sign up page

There is no signup page for the website how we can create account??
@Aloneking789 Please assign to me with the label of gssoc-ext and hacktoberfest-accepted with level-2.

Ni sign-up page and login page are needed, it is kind of a portfolio website, if you want i can assign you to edit the home page in which motto section , vision section is needed to be worked on


text:
Fix some crashes related to realm #4454

Closes #4454

According to comments from:
https://github.com/realm/realm-core/issues/5043
https://github.com/realm/realm-swift/issues/5433

repo: AlphaWallet/alpha-wallet-ios


text:
Only return 405 on AssertionError (unable to retrieve pk)

We don't want to return 405's in all situations, only when we weren't able to retrieve the primary key. get_object could fail even if we have the primary key, for example if filter_queryset excludes the object.

Necessary because when user does not have overlord permissions to access, get_object() will raise an Http 404 error.

Updated

Looks good. Can you add a test for the 404 deletion case?

Done

👍  - good to merge once tests pass.

authors: rgangopadhya ryochiji

repo: AltSchool/dynamic-rest


text:
🛑 Veritas MTC is down

In 3afe241, Veritas MTC (https://veritasmtc.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Veritas MTC is back up in ac006b7 after 15 minutes.