Better HN
topnewbestaskshowjobs
Log inSign up

aboutruby

1,129 karma · joined Jan 9, 2019 (7y ago) · 472 submissions

Submissions

comment 7y ago · link · parent

It's a redirect to: https://erik.itland.no/what-did-google-get-right (I was just checking for url shorteners)

comment 7y ago · link · parent

Stack Overflow is such a mess I prefer helping people on Reddit / Discord / Slack nowadays.

SO is becoming read-only in my opinion.

comment 7y ago · link · parent

Preaching what I like, and I'm not into extreme performance much:

- Ruby for most things (most generalist language I know)

- JS for whatever can't be done in Ruby

- Other languages when anything really can't be done (or a magnitude harder) in JS or Ruby

I think just trying out to make some simple thing (e.g. an Hacker News scrapper) in different languages will tell you much more than any person's opinions.

https://learnxinyminutes.com helps grabs the basics of a language quickly (especially as you are familiar with other languages).

comment 7y ago · link · parent

> Free plan ‐ 12000 queries per month

That's nice. Maybe a free plan without an API key would be nice to try without registration.

Also you might want to integrate it to geocoder ip lookup: https://github.com/alexreisner/geocoder

comment 7y ago · link · parent

I guess the price of old accounts is going up a bit.

comment 7y ago · link · parent

No exploit-db and seclists?

comment 7y ago · link · parent

Also: https://yclist.com

And by googling: https://www.ycdb.co, https://newyclist.com

comment 7y ago · link · parent

I hope someone does this based on Stripe's API. https://stripe.com/issuing

comment 7y ago · link · parent

Seems like there is a "password" required to encrypt/decrypt but the app's descriptions says:

> - No Sign Up / Log In / Usernames / Passwords.

So I'm guessing this password is stored server-side and the passwords are associated to device ids.

Seems like it would read your contacts and then send them to their servers too, not a fan of doing that personally.

I'm not sure why the app mentions encryption/security as it seems far from being the main point of the app.

comment 7y ago · link · parent

So happy to see so much people that like their SE, I bought something like 10 of them and still got mine and it's the best phone I ever touched.

comment 7y ago · link · parent

> We are in urgent need for donations in the form of server resources. Please contact us at team@instantbox.org if you are able to help. We appreciate it!

And I can choose CPU cores, Memory and duration (default 24 hours). No surprises there.

comment 7y ago · link · parent

It's quite amazing (and quite a lot of ways of cheating are disabled). I got to level 14 by making my player basically become the same as the arrow keys to direct the bot.

Reminds me of the good days of "find the next level" games where the clue could be in an image metadata or just about anything (modern CTF are on a whole other level).

comment 7y ago · link · parent

I could definitely see something like this happening in European countries under health concerns.

comment 7y ago · link · parent

It was a while ago, I don’t create new accounts for ban-escaping but for privacy reasons.

comment 7y ago · link · parent

In ruby you need to use bigdecimal:

    precision = Float::DIG + 1
    require 'bigdecimal'
    a = BigDecimal(8.98846567431158e+307, precision)
    b = BigDecimal(8.988465674311579e+307, precision)
    mean = (a + b) / 2
    puts "Works" if mean > [a, b].min && mean < [a, b].max
    => Works
(edit: I used 0 first and it works fine but converts to precision 15 instead of 16 (which is the maximum on my computer) for some reason, I may file a bug for this)

Works for small floats too:

    smalls = [1.390671161567e-309, 1.390671161567e-309, 1.390671161567e-309].map { BigDecimal(@1, precision) }
    mean = smalls.sum / smalls.size
    puts "Works" if mean >= smalls.min && mean <= smalls.max
    => Works
One could also use BigDecimal("8.98846567431158e+307") but seems like the numbers are coming as floats.

comment 7y ago · link · parent

https://en.wikipedia.org/wiki/Freedom_Hosting

Looks like it was an exploit in the older version of Firefox that Tor Web Browser is based on. And the exploit was using JS, so, like Wikipedia mentions, using NoScript would have prevented the attack.

comment 7y ago · link · parent

> move files around until it feels right

Which I find true too, modulo obvious conventions like bin/ doc/ public/ etc.

comment 7y ago · link · parent

> if you are attached to your CIs then there are probably decent FOSS solutions for that

https://drone.io is open-source and works very well.

I personally can't stand Gitlab's interface and general slowness.

sh.rt (which kind of became https://sourcehut.org) looks much better but it looks like you need to be logged in to see most of the content.

About abuse on Github, I only had issues with posting email addresses in public gists (even if they are public ones), and saw repo owners editing other people's comments, which should not be a thing.

About Github's source code, it's not open-source but you can host it with Github Enterprise and actually look at the source code (it's a very simple encryption of the source code as far as I remember).

Anyway, since Microsoft's acquisition of Github I started to worry of the general direction Github is going to but so far they haven't messed up too much IMHO.

comment 7y ago · link · parent

> We're pretty meticulous about responding to everyone who contacts us with such concerns, so I'm wondering what could have been going on there.

I'm talking about past experience with previous accounts.

> Please don't impute astroturfing or shillage. That degrades discussion and is usually mistaken. If you're worried about it, email us and we'll look at the data.

Ok, never saw this rule actually, thanks.

> Finally, attacking the person you're replying to like that by casting groundless aspersions on their posting history is a violation of HN's civility rule.

Yes, I never look at people's post history, not sure why I did. I also usually never reply to other people's comments and should be more strict about that.

comment 7y ago · link · parent

> Customer Obsession

> Leaders start with the customer and work backwards. They work vigorously to earn and keep customer trust. Although leaders pay attention to competitors, they obsess over customers.

Listed first on both https://www.amazondelivers.jobs/about/culture/ and https://aws.amazon.com/careers/culture/

comment 7y ago · link · parent

Shopify:

> Shopify has had growing concerns about Mailchimp’s app because of the poor merchant experience and their refusal to respect our Partner Program Agreement. Our terms require app partners to share all important data back to the merchant using Shopify’s API to help them run their businesses.

Mailchimp:

> Throughout these negotiations, we refused to agree to terms that jeopardize our users’ privacy and require us to hand over customer data acquired outside of Shopify. From our perspective, that's not our data to share.

comment 7y ago · link · parent

Link to mentioned quote: https://twitter.com/paulg/status/398642023529345024?lang=en (7 Nov 2013)

comment 7y ago · link · parent

Full text is:

> At both Viaweb and YC, every minute I spent thinking about competitors was, in retrospect, a minute wasted.

Follow-up tweet:

> It may be useful for some companies to think about competitors. That's why I didn't phrase it as a general rule. In particular it may be useful for more established companies to. If a startup has to, though, they're probably doomed.

Also a quote from Jeff Bezos:

> “If you want to get to the truth about what makes us different, it’s this: We are genuinely customer-centric, we are genuinely long-term oriented, and we genuinely like to invent. Most companies are not those things. They are focused on the competitor, rather than the customer. They want to work on things that will pay dividends in two or three years, and if they don’t work in two or three years, they will move on to something else. And they prefer to be close followers rather than inventors, because it’s safer. So if you want to capture the truth about Amazon, that is why we are different. Very few companies have all of those three elements.”

As a side note, I added […] in the title to show this isn't the complete text but it got scrubbed then removed.

comment 7y ago · link · parent

Realistically if you do a massive scan you have to handle all kinds of behaviors and this would be a debugging point basically ("oh my script is stuck, let's add a timeout").

The thing is most people will not see the trap as malicious but as a "misconfiguration" on their end or the other person's end (network or ssh in this case).

I see your point but then I never heard of honeypots getting some kind of "revenge" for instance.

comment 7y ago · link · parent

In general it would much better if companies put the words Rejected or something similar in their email subjects.

56.

“Every minute I spent thinking about competitors was a minute wasted”(twitter.com ↗)

442 points · by aboutruby · 7y ago · 157 comments

57.

WpGoogleMaps 7.10.41 – Reflected XSS (WordPress Plugin)(security-consulting.icu ↗)

1 points · by aboutruby · 7y ago · discuss

comment 7y ago · link · parent

It's kind of all other the place but there is: blog, twitter, mailling list, github, brakeman, and all the little rails communities informing each others.

comment 7y ago · link · parent

Most people have realized it's actually complicated to do it right and just gave up on server-rendering their React apps (e.g. Reddit).
12345
16