darrhiggs | 8 years ago | on: Show HN: Track in depth Sidekiq::Batch progress
darrhiggs's comments
darrhiggs | 10 years ago | on: Weave and Docker for Mac: The bridge between local and remote services
[0] https://en.wikipedia.org/wiki/DOT_(graph_description_languag... [1] http://www.graphviz.org/
darrhiggs | 10 years ago | on: Cash: An absurdly small jQuery alternative for modern browsers
(requests) https://developer.mozilla.org/en/docs/Web/API/Fetch_API http://caniuse.com/#feat=fetch
(css selectors) https://developer.mozilla.org/en-US/docs/Web/API/Document/qu... https://developer.mozilla.org/en-US/docs/Web/API/Document/qu... http://caniuse.com/#search=queryselector
darrhiggs | 10 years ago | on: Things every React.js beginner should know
With regards to redux-thunk, have you taken a look at redux-saga[0]? Any thoughts?
darrhiggs | 10 years ago | on: Math.random in V8 is broken
Specifically with Postgres I use the v1mc version as it provides the added benefit of using "a random multicast MAC address instead of the real MAC address of the computer"[0].
[0] http://www.postgresql.org/docs/9.4/static/uuid-ossp.html
darrhiggs | 10 years ago | on: Adblock Sold to Mystery Company
darrhiggs | 10 years ago | on: Clipboard.js: Modern Copy to Clipboard
[0] http://thenextweb.com/apps/2015/08/20/chrome-is-finally-gett...
darrhiggs | 10 years ago | on: What's Coming in PostgreSQL 9.5
[0] http://www.postgresql.org/docs/current/static/ddl-schemas.ht...
darrhiggs | 10 years ago | on: Memory alloy bounces back into shape 10M times
darrhiggs | 10 years ago | on: Nepal earthquake, magnitude 7.3, strikes near Everest
darrhiggs | 11 years ago | on: Passport Index – How much power does your passport have?
[0]https://en.wikipedia.org/wiki/Visa_requirements_for_French_c... [1]https://en.wikipedia.org/wiki/Visa_requirements_for_South_Ko...
darrhiggs | 11 years ago | on: Why do women have periods when most animals don't?
[0] http://www.bristol.ac.uk/arts/exercises/grammar/grammar_tuto...
darrhiggs | 11 years ago | on: Python vs. Ruby – The Workshape.io Smackdown
> The skills and time load sections both re-inforce that Python is more heavily linked to Data Science than Ruby. Ruby is more of a web technology with strong affinity to front-end technologies and iOS.
darrhiggs | 11 years ago | on: Deleting any Facebook album
Again, thanks for the advice.
darrhiggs | 11 years ago | on: Deleting any Facebook album
Thanks.
Maybe the xxx.org came across wrong. My intention was a government organisation, nothing nefarious.
darrhiggs | 11 years ago | on: Deleting any Facebook album
But is it my responsibility to spend time reporting this to them? Should I leave the vulnerability for others to take advantage of, if they come across it? How do I know that others aren't already doing so?
With this specific vulnerability it could be used it to build an address book of emails, {home,work}addresses, telephone numbers etc; given the nature of the app.
darrhiggs | 11 years ago | on: Deleting any Facebook album
What do you do when you think a company would just fix the bug based on your report and not pay out anything? I have seen so many bugs in the wild like this. For example a site in the uk where I can get access to any account I wish.
Are there any data protection laws that would provide leverage? How would you make first contact with a company that doesn't advertise a bug bounty program?
Does this kind of email seem ok?
"Hi, I have seen a security vulnerability on your site. How do I report it? What do you pay?…
May you respond in the next 7 days or I will be forced to take this to xxx.org for the protection of your users"darrhiggs | 11 years ago | on: “Invalid username or password” is a useless security measure
darrhiggs | 11 years ago | on: “Invalid username or password” is a useless security measure
Imagine you put your email on your cv and this is done to see if you a member of a democrat or republican website, and you are not offered a job based on your political views.
Imagine that you use your email to sign up for a government service and they take that email, do as described above, and use the information in the future to discredit you in some way.
Maybe I have missed the point, but I personally think that this is a also privacy issue and only looking at it from the perspective of UX may have undesired consequences for people.
darrhiggs | 11 years ago | on: “Invalid username or password” is a useless security measure
RFC 7231[0] suggests something similar
"An origin server that wishes to "hide" the current existence of a forbidden target resource MAY instead respond with a status code of 404 (Not Found)."
with RFC 7235[1] suggesting the use of 403.
"A server that receives valid credentials that are not adequate to gain access ought to respond with the 403 (Forbidden) status code […]."
[0] https://tools.ietf.org/html/rfc7231#section-6.5.3 [1] https://tools.ietf.org/html/rfc7235
I am creating a rails app that helps move data between two sites and I wanted to keep the users informed of the complex, and slow, background work that was being performed outside the http request response cycle. The functionality that comes with Sidekiq Pro was a half decent solution but I wanted the progress on the front-end to show something more detailed than something like 16/42 units of work complete, especially as some units of work were far more time consuming than others.
The result is Sidekiq::TrackableBatch[0]. Check out the demo app[1] that shows how it could be used in the context of a e-commerce site. The demo (source[2]) uses action cable to update the UI.
I hope somebody finds it useful.
[0] https://github.com/darrhiggs/sidekiq-trackable_batch#usage [1] https://sidekiq-trackable-batch-demo.herokuapp.com/ [2] https://github.com/darrhiggs/sidekiq_trackable_batch_demo_ap...