HNHacker News
TopNewBestAskShowJobs

InAnEmergency

244 karma · joined July 31, 2012

submissionscomments
InAnEmergency··on Show HN: PSX Party – Online Multiplayer Playstation 1 Emulator Using WebRTC
You can video chat and play chess at the same time on https://room.ai/
InAnEmergency··on I/O library 6x faster than fmt, 10x faster than stdio.h and iostream
Yep. Like not handling the same corner cases or the same operating systems.
InAnEmergency··on Raising Prices Is Hard
Or just follow Amy Hoy's advice[0] and only raise the price for new customers. They probably could have bumped their prices by more than $1/month (and sooner) if they had taken that approach.

[0] https://stackingthebricks.com/one-weird-trick-to-raising-you...

InAnEmergency··on Reviving an HP 660LX in 2019
(Author here)

I did spend quite a bit of time on your site, linked sites, and webarchive. The files on your site did not work out of the box for me. I did eventually get a combination of kernel and configuration that kind of worked, but I think the CompactFlash card was too big. It stalled out on hard drive interrupts.

InAnEmergency··on What You Need to Know Before Considering a PhD
Five years is not that long for a PhD in the US.

I took eight years but I also got married, worked full time, and started a company before I finished. By the time I graduated, the CS department had started taking a much firmer stance on timelines, with a desire for most students to graduate within six years or sooner.

InAnEmergency··on Ruby 2.5.0 Released
I believe this syntax was only accidentally valid: https://bugs.ruby-lang.org/issues/13939#note-5
InAnEmergency··on Game of Life in Scratch
Not much to the article, so I guess the interesting part is the actual game: https://scratch.mit.edu/projects/164407978/#fullscreen

> It’s a slightly unusual implementation in that the surface of the game is, in effect, spherical – i.e. the edges are effectively a feature of the projection of the surface but left joins to right, top to bottom and so on.

I believe that is a torus, and not at all an unusual implementation choice for the Game of Life.

InAnEmergency··on ‘Diamond-age’ of power generation as nuclear batteries developed
I have a 2012 Lexus that actually tells you "place key on start button" if it thinks the key battery is dead.
InAnEmergency··on Ruby 3x3: Matz, Koichi, and Tenderlove on the Future of Ruby Performance
I think there was a miscommunication in the interview. He meant load/parse/compile time. See http://www.atdot.net/~ko1/activities/2016_railsconf_pub.pdf
InAnEmergency··on An Idea to Handle Left-Recursion in Parsing Expression Grammars (2010)
This article does not cite any references (and is from 2010) so I can't tell if the author was aware that packrat parsing can support left recursion (PDF, 2008): http://web.cs.ucla.edu/~todd/research/pepm08.pdf
InAnEmergency··on FasterPath: Faster Pathname Handling for Ruby Written in Rust
Ruby's `Pathname#absolute?` is doing a lot more work[1]. I don't know why, but it is.

If I change it to just check the first character for the file separator, as I understand FasterPath does, then of course it is faster:

    Warming up --------------------------------------
                original     4.109k i/100ms
                  faster   110.202k i/100ms
    Calculating -------------------------------------
                original     42.645k (± 3.7%) i/s -    213.668k in   5.017595s
                  faster      2.643M (± 4.4%) i/s -     13.224M in   5.013294s

    Comparison:
                  faster:  2643274.6 i/s
                original:    42644.5 i/s - 61.98x slower

My implementation:

    class Pathname
      def f_relative?
        @path[0] != File::SEPARATOR
      end
    end

[1] https://github.com/ruby/ruby/blob/68ebbbfebe5b666cf76ab41f1e...
InAnEmergency··on Fledgling Languages List
Nimrod is listed as Nim, although the URL is still "nimrod".
InAnEmergency··on Rails 5.0.0.beta1: Action Cable, API Mode, Rails Command
Yes: https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/ReleaseE...
InAnEmergency··on Twitter Sees 6% Increase in “Like” Activity After First Week of Hearts
They were testing as far back as June, but probably even earlier: http://mashable.com/2015/06/17/twitter-favorite-hearts-stars...
InAnEmergency··on Why Homejoy Failed
I've noticed this even with Groupon. Walk into place with a Groupon, they offer you the same price but just bypass Groupon. They get a new customer in the door, the customer is fine with it because it's the same price, but the business makes more money because they don't have to pay Groupon their cut.
InAnEmergency··on DEFCON 23 Badge Challenge
This doesn't even mention there was an entire newspaper filled with misdirection (Themela, Enigma machines, Mad Hatter, They Live, chromosomes...) or the Shavian text on the badges (all quotes from Buckaroo Banzai I believe). 1o57 even wore a Buckaroo Banzai shirt...gah.

Edit: Also, "Howdaddyisdoing" is an anagram for "Why did I add goons" which seemed very suggestive.

InAnEmergency··on Dell XPS 13 Review
It's a bit of a pain with the T440s (have to pry apart all the plastic), but still better than paying what Lenovo wants.
InAnEmergency··on Ursula K. Le Guin at the National Book Awards
Her comments seem somewhat related to her book "The Dispossessed" which contrasts a capitalist world with a plausible anarchist/communist world.
InAnEmergency··on Twitter Digits
Have to amend my statement...if the attacker can intercept the SMS in real time, then it is an effective attack:

1. Attacker knows victim's phone number and attempts login

2. Attacker intercepts SMS as it is sent to victim

3. Attacker completes their login process with the SMS code

InAnEmergency··on Twitter Digits
You are assuming that the SMS is like a password and the phone number is like a user name, and that's all an attacker would need to log into the app. However, it doesn't have to be designed that way. There could be another value tying the phone number and SMS to the specific app login attempt, in which case intercepting just the SMS is not sufficient.
InAnEmergency··on Upgrading GitHub to Rails 3 with Zero Downtime
Rails 3 is already only receiving security updates for "severe" issues, see http://rubyonrails.org/security/
InAnEmergency··on Instagram iOS session hijack
As example, HackerOne allows you to link duplicate reports to the original, and all reporters are "thanked" when the issue is resolved. But I think in many cases reporters of duplicate issues do not get any follow up.
InAnEmergency··on Instagram iOS session hijack
> Duplicates of non-public security vulnerabilities should be treated the same as the original reports (including the same rewards consideration process), especially if it was independently discovered.

This is rare for bug bounty rewards. All the programs I am aware of only reward the first reporter.

> By refusing to coordinate with the new submitter, the new submitter does not know if the vulnerability will ever be fixed and is reasonably justified in using public disclosure.

That's kind of what I'm pointing out here. We are missing information about what Facebook actually said and when it was said. The "we already know about it" response could mean "we know about it and are working on fixing it" or it could mean "we know about it and we don't care". In the former case, it is not responsible to publicly disclose the issue until it is fixed. In the later, it is.

A separate scenario is if the company is taking a long time to fix the issue. This is obviously subjective, but in my opinion it is understandable for a reporter to publicly disclose a long-standing issue in an attempt to force the company to act.

InAnEmergency··on Instagram iOS session hijack
"Closed the ticket" as what, though? "Duplicate, working on fixing" or "won't fix"? Because those are pretty different...
InAnEmergency··on What's the most popular Ruby standard library?
A little backwards. In 1.9 you don't need to require "date" to use the basic Date class.
InAnEmergency··on Microsoft takes down No-IP.com domains
This is craziness.
InAnEmergency··on OWASP Developer Guide
Since it appears to be completely non-obvious what is going on here, this is an in-development update of the current development guide (https://www.owasp.org/index.php/Category:OWASP_Guide_Project). More info in that link.
InAnEmergency··on Ruby Security Have You Not
For what it's worth, --trust-policy has been broken since RubyGems 2.0.0 and will not be fixed until 2.3: https://github.com/rubygems/rubygems/issues/859
InAnEmergency··on April 2, 1986: A ‘Laptop’ Computer
I haven't forgotten. Of course, when I got mine it was already at least 10 years old. It started my entire programming trajectory.
InAnEmergency··on RethinkDB 1.12: simplified map/reduce, ARM port, new caching infrastructure
FWIW, I think this will make it much easier to implement drivers. Getting protobufs to work is a real pain.
Page 1 of 3Next →