1,129 karma · joined Jan 9, 2019 (7y ago) · 472 submissions
comment 7y ago · link · parent
comment 7y ago · link · parent
- 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
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
And by googling: https://www.ycdb.co, https://newyclist.com
comment 7y ago · link · parent
comment 7y ago · link · parent
> - 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
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
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
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
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
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
> 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 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
comment 7y ago · link · parent
> 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
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.
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