Better HN
topnewbestaskshowjobs
Log inSign up

InAnEmergency

244 karma · joined Jul 31, 2012 (14y ago) · 91 submissions

Submissions

comment 5y ago · link · parent

You can video chat and play chess at the same time on https://room.ai/

2.

Another Reason to Avoid Constantize in Rails(blog.presidentbeef.com ↗)

1 points · by InAnEmergency · 6y ago · discuss

3.

Brakeman Turns Ten(brakemanscanner.org ↗)

2 points · by InAnEmergency · 6y ago · discuss

comment 6y ago · link · parent

Yep. Like not handling the same corner cases or the same operating systems.

5.

Sanitizing, Escaping, and Encoding(blog.presidentbeef.com ↗)

1 points · by InAnEmergency · 6y ago · discuss

comment 7y ago · link · parent

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

comment 7y ago · link · parent

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

8.

Reviving an HP 660LX in 2019(blog.presidentbeef.com ↗)

75 points · by InAnEmergency · 7y ago · 23 comments

comment 8y ago · link · parent

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.

10.

Brakeman Pro has been acquired by Synopsys(brakemanpro.com ↗)

2 points · by InAnEmergency · 8y ago · discuss

11.

Introducing Rain Capital(raincapital.vc ↗)

1 points · by InAnEmergency · 8y ago · discuss

comment 8y ago · link · parent

I believe this syntax was only accidentally valid: https://bugs.ruby-lang.org/issues/13939#note-5

13.

Brakeman 4.0 Released(brakemanscanner.org ↗)

3 points · by InAnEmergency · 9y ago · discuss

14.

Cross-Site Scripting in Rails(brakemanpro.com ↗)

2 points · by InAnEmergency · 9y ago · discuss

comment 9y ago · link · parent

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.

16.

Challenges When Building Commercial Versions of Open Source(blog.presidentbeef.com ↗)

1 points · by InAnEmergency · 9y ago · discuss

comment 9y ago · link · parent

I have a 2012 Lexus that actually tells you "place key on start button" if it thinks the key battery is dead.

18.

One Year of Brakeman Pro(brakemanpro.com ↗)

1 points · by InAnEmergency · 10y ago · discuss

comment 10y ago · link · parent

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

20.

Brakeman Pro Engine Now Available on Code Climate(brakemanpro.com ↗)

2 points · by InAnEmergency · 10y ago · discuss

21.

Brakeman Pro Engine Is Here(brakemanpro.com ↗)

6 points · by InAnEmergency · 10y ago · 1 comment

22.

Galaga: An arcade machine emulator for Windows and HTML5(paoloseverini.wordpress.com ↗)

2 points · by InAnEmergency · 10y ago · discuss

comment 10y ago · link · parent

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

comment 10y ago · link · parent

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

25.

What Makes Brakeman Special(brakemanpro.com ↗)

1 points · by InAnEmergency · 10y ago · discuss

comment 10y ago · link · parent

Nimrod is listed as Nim, although the URL is still "nimrod".

comment 10y ago · link · parent

Yes: https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/ReleaseE...

comment 11y ago · link · parent

They were testing as far back as June, but probably even earlier: http://mashable.com/2015/06/17/twitter-favorite-hearts-stars...

comment 11y ago · link · parent

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.

comment 11y ago · link · parent

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.

1234