News for hackers. Stuff that matters.

aboutruby

Re:Show HN: IP-Api.io – Geolocation by IP on Wednesday March 27, 2019 @04:18AM (#19498915)
> 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

I guess the price of old accounts is going up a bit.
Re:All InfoSec News in One Place on Monday March 25, 2019 @04:06PM (#19486269)
No exploit-db and seclists?
Re:Apple announces Apple Card credit card on Monday March 25, 2019 @03:47PM (#19486099)
I hope someone does this based on Stripe's API. https://stripe.com/issuing
Re:Wave – A private and unique messenger for iOS on Monday March 25, 2019 @08:54AM (#19482036)
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.

Re:Apple iPhone SE Available on Apple Store Again on Monday March 25, 2019 @08:10AM (#19481819)
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.
> We are in urgent need for donations in the form of server resources. Please contact us at [email protected] if you are able to help. We appreciate it!

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

Re:Untrusted – a user JavaScript adventure game on Sunday March 24, 2019 @04:45PM (#19478656)
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).

I could definitely see something like this happening in European countries under health concerns.
Re:Ask HN: Is Hacker News Being Astroturfed? on Saturday March 23, 2019 @01:58PM (#19471490)
It was a while ago, I don’t create new accounts for ban-escaping but for privacy reasons.
Re:Calculating the mean of a list of numbers (2016) on Saturday March 23, 2019 @01:04PM (#19471250)
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.
Re:Alleged Child Porn Lord Faces US Extradition on Saturday March 23, 2019 @09:56AM (#19470456)
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.

Re:Show HN: Everything I Know Wiki on Saturday March 23, 2019 @09:01AM (#19470274)
> move files around until it feels right

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

Re:Why I no longer use GitHub (2018) on Saturday March 23, 2019 @04:33AM (#19469608)
> 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.

Re:Ask HN: Is Hacker News Being Astroturfed? on Saturday March 23, 2019 @03:26AM (#19469436)
> 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.

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

Re:Why Mailchimp is no longer in the Shopify App Store on Friday March 22, 2019 @09:33PM (#19468500)
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.

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.

Re:Endlessh: An SSH Tarpit on Friday March 22, 2019 @08:19PM (#19468161)
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.

Re:Discord Rejection Email on Friday March 22, 2019 @08:11PM (#19468126)
In general it would much better if companies put the words Rejected or something similar in their email subjects.
Re:CVE-2019-5418 – File Content Disclosure on Rails on Friday March 22, 2019 @03:53PM (#19466256)
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.
Re:Ask HN: What happened to server-side rendering? on Friday March 22, 2019 @03:40PM (#19466134)
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).
Oh thanks, thought it was a footer under the audio player.
Should probably say [audio] in the title (it's 30 minutes without transcription).
Re:I Don't Like Debuggers (2000) on Friday March 22, 2019 @10:28AM (#19462806)
Hmm didn't think this was real when I saw (but seems to be very real after checking):

> And quite frankly, I don't care. I don't think kernel development should be "easy".

Previous discussion on HN from 2015:

https://news.ycombinator.com/item?id=10814514

Re:Pretty PuTTY – Better PuTTY Settings on Friday March 22, 2019 @08:22AM (#19461826)
Thanks, here is the file or iTerm for instance: https://raw.githubusercontent.com/morhetz/gruvbox-contrib/ma...

Tried it but much too pale for me, I use iTerm's default dark colors + a fix for a lighter dark blue: https://gist.github.com/localhostdotdev/42c2b7b1c5d737e260ca...

Older »