Comments (4)
- no
- sure
:)
from stacker.news.
Couple questions:
- Should stackers in hiding be included in each category?
- Top 5 for each category?
from stacker.news.
While working on this, I think I uncovered a bug in the top spenders API response
![image](https://private-user-images.githubusercontent.com/128755788/315855939-cc2c33f8-edf5-4ef6-a613-9dfae904d47d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4OTc2OTMsIm5iZiI6MTcxODg5NzM5MywicGF0aCI6Ii8xMjg3NTU3ODgvMzE1ODU1OTM5LWNjMmMzM2Y4LWVkZjUtNGVmNi1hNjEzLTlkZmFlOTA0ZDQ3ZC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMFQxNTI5NTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00MDY4ODM4OTM2MzA4ZjQ3ZGI0ZDhlYmE4NmVhNzBlNmZlNmFlOGM3Y2ViNGFkZGI3ZGViNWZhMjdiNWZjYjk0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.ly2Kyf0wWgUxjt5lIaOWQZYFM9WfbXrhtaEotSdh8AI)
Notice how Scoresby has spent more than grayruby but is listed below GR. Similarly, DarthCoin has spent more than davidw but is listed below him.
I think it's because of this line in the User resolver.
Note that the switch case for spending in the resolver is spent
, while the API request is using spending
here.
Should I fix this bug as part of this issue, or file it separately? A simple fix is likely as easy as adding another switch case to support spending
mapping to the spent
column.
from stacker.news.
I confirmed the above issue is also happening in localhost, so I do believe it's a bug. I checked in the fix in the PR for this newsletter change, it was a simple one liner.
from stacker.news.
Related Issues (20)
- Feature Request : Fee Credit HOT 1
- Feature Request : Custom Zaprank
- Make polls anonymous HOT 2
- Images are no longer reserving vertical space HOT 2
- Ticker in Sticky Header Does Not Inherit Changes HOT 1
- implement sndev fund_nym HOT 2
- Invalid freebie comment edits via /:id/edit
- Add popover support for markdown links to sn items `[]()`
- Search anomaly, is ":" in the title throwing something off?
- Comments non-deterministically missing after submission HOT 7
- Set a reasonable boost max HOT 1
- Can't withdraw sats to Alby Extension HOT 2
- Addition of Naira(NGN) to fiat currencies
- "Unable to get image fees" HOT 1
- Sats forwarded to anon don't go to rewards HOT 1
- Feature Request: Arrows to flip through photos HOT 2
- Prevent new account creation from /login
- Add 'This day on SN' to empty /search page
- Limited rights for "anon" account HOT 2
- Syntax highlighting HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stacker.news.