HN user

darrhiggs

1,188 karma
Posts71
Comments80
View on HN
blog.heroku.com 8y ago

Container Registry and Runtime GA: Deploy Docker Images to Heroku

darrhiggs
1pts0
www.bbc.com 8y ago

The making of a male midwife (2017)

darrhiggs
1pts0
news.ycombinator.com 8y ago

Ask HN: Struggling to find static site developers in Spain

darrhiggs
4pts1
github.com 9y ago

Show HN: Track in depth Sidekiq::Batch progress

darrhiggs
3pts1
www.bbc.co.uk 9y ago

Brexit: British expats sue EU's Juncker over talks

darrhiggs
3pts0
www.sciencedirect.com 9y ago

The study of acoustic signals and the supposed spoken language of the dolphins

darrhiggs
79pts11
speakerdeck.com 10y ago

CSS for Software Engineers for CSS Developers

darrhiggs
3pts0
www.bbc.co.uk 10y ago

Man ordered to tell police of sex plans

darrhiggs
2pts0
www.bbc.co.uk 10y ago

The slow death of purposeless walking (2014)

darrhiggs
229pts162
www.bbc.co.uk 10y ago

The personal SOS messages the BBC used to send

darrhiggs
2pts0
www.bbc.co.uk 10y ago

Could 'actual innocence' save the broken US justice system?

darrhiggs
58pts93
www.bbc.co.uk 10y ago

Ascension Island, where nothing makes sense

darrhiggs
103pts27
www.melbourneinstitute.com 10y ago

Cognitive function decreases in over-40s working more than 25 hours per week [pdf]

darrhiggs
2pts1
www.bbc.co.uk 10y ago

Mathieu Flamini: Arsenal's biochemical midfielder

darrhiggs
2pts0
www.bbc.co.uk 10y ago

Kettering Cosmos: How school children exposed Soviet secret

darrhiggs
2pts0
www.nextrembrandt.com 10y ago

The Next Rembrandt

darrhiggs
1pts0
www.bbc.com 10y ago

Tribunal rules computer hacking by GCHQ is not illegal

darrhiggs
1pts0
www.scribd.com 10y ago

Introducing the Open Banking Standard

darrhiggs
2pts0
www.bbc.co.uk 10y ago

GCHQ's Christmas card puzzle 'not yet solved'

darrhiggs
4pts0
teropa.info 10y ago

Full-Stack Redux Tutorial

darrhiggs
2pts0
www.bbc.com 10y ago

Tech giants raise concerns over UK draft surveillance bill

darrhiggs
11pts0
www.bbc.co.uk 10y ago

AVG's Web TuneUp put millions of Chrome users at risk

darrhiggs
2pts0
www.davidleeking.com 10y ago

Gentle Reminder about Creative Commons Licenses

darrhiggs
1pts0
www.bbc.co.uk 10y ago

APT tilting train: A laughing stock that changed the world

darrhiggs
63pts25
www.bbc.co.uk 10y ago

Angela Merkel, German Chancellor, Is Time 'Person of the Year'

darrhiggs
4pts2
www.nasa.gov 10y ago

New Horizons Returns First of the Best Images of Pluto

darrhiggs
124pts17
www.bbc.co.uk 10y ago

Paris attacks: Silicon Valley in crosshairs over encryption

darrhiggs
1pts0
www.un.org 10y ago

UN conference reaches agreement on radio spectrum for global flight tracking

darrhiggs
28pts3
www.bbc.co.uk 10y ago

Bloodhound car aiming for land speed record unveiled

darrhiggs
1pts0
www.bbc.co.uk 10y ago

The prisoners fighting wildfires in California

darrhiggs
92pts43

So this is my first open source project.

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...

I believe they are referring to the article

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.

Exactly what I was looking for, thanks. 90 days seems to ring a bell with what google is doing at the moment with microsoft, apple etc. Maybe not so much for (in this case) simply adding the http flag to your plain text user session cookie. But this is what I was looking for, best practices.

Again, thanks for the advice.

Reply to your edit:

Thanks.

Maybe the xxx.org came across wrong. My intention was a government organisation, nothing nefarious.

Exactly. That's how I thought it sounded.

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.

So here seems like as good a thread as any.

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"

Given that I have received downvotes I'll try more concrete example. Imagine that you start dating a someone and they discover your email, maybe you email them. Now they then take that information and try and log into a site that you do not wish that others know you use, this may be a porn site, it may be a group that you associate yourself with, say even a feminist forum. Now if you respond that it's the wrong password people are able to deduce (given that there is also a wrong username error) that you are a user of that service.

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.

The article misses the point that on many sites this is not a security feature, more a privacy one. I have used the 403 http status rather than 401 in the past for this exact reason.

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

> E8 and IE9 still make up 32% of the browser market share and that is a lot to give up if I was to revert to the flex solution

Yes, if you have an even worldwide visitor share. Can I Use[0] puts USA IE9 usage at 3.86% and IE8 at 7.28% (11.14% in total). If your user base is different it would be wise to examine the data before discounting flex-box based on worldwide stats.

If anyone has access to netmarketshare's USA[1] (used in the article) data, it would be nice to see what it is.

EDIT: Also the article's stats[2] are for desktop only. It seems[2] that mobile support is relatively high with Can I Use[0] stating that total USA support = 86.46%.

[0] http://caniuse.com/#search=flexbox [1] http://www.netmarketshare.com/browser-market-share.aspx?qpri... [2] http://www.netmarketshare.com/browser-market-share.aspx?qpri...

> I guess European safety procedures aren't sufficient to eliminate the risk

I believe this would be better stated as 'Spanish safety practices'; the procedures that are meant to be followed seem to be from Medecins Sans Frontieres.

Aside: How do you guys get your hands on all the ISO bits and pieces[0]? I have 4217 but others seem to be ≈$300 each. I don't want to whinge but it makes it hard to bootstrap a startup when things like this require payment, especially if you want a solid database from the beginning.

[0] ISO{3166,4217,639}