Better HN
topnewbestaskshowjobs
Log inSign up

wfunction

3,901 karma · joined Oct 15, 2012 (14y ago) · 1,547 submissions

Submissions

comment 11y ago · link · parent

> Studies even suggest

[citation needed]

comment 11y ago · link · parent

Probably the former.

comment 11y ago · link · parent

> Is that what the /gb/ folder in the path means? ;)

It's what "United Kingdom" in the page title means.

comment 11y ago · link · parent

That says UK.

995.

Computational Complexity of Air Travel Planning [pdf](itasoftware.com ↗)

1 points · by wfunction · 11y ago · discuss

comment 11y ago · link · parent

Whoa, interesting, thanks!

comment 11y ago · link · parent

Would you mind pointing me to something that explains what has happened in the last 5 years that made PCB design so much cheaper? It's quite surprising to read.

998.

Juvenile delinquent: the official guide on how to hack SchoolLoop(medium.com ↗)

2 points · by wfunction · 11y ago · discuss

comment 11y ago · link · parent

Sounds like it completely defeats the point of encryption.

1000.

The Chaos (1922)(ncf.idallen.com ↗)

22 points · by wfunction · 11y ago · 17 comments

comment 11y ago · link · parent

It's more like not letting the CEO of your soccer ball manufacturer play on your team because he can't kick a soccer ball.

comment 11y ago · link · parent

Considering the answer is 1 line, I doubt I would have hired him either...

    def inverse(t): return Node(inverse(t.r), t.v, inverse(t.l)) if t else t
or if you must do it in place, 3 lines...

    def invert(t):
        if t: (t.l, t.r) = (invert(t.r), t.v, invert(t.l))
        return t

comment 11y ago · link · parent

And why would they not be allowed to say no?

comment 11y ago · link · parent

I was thinking the same thing. Why the hell would they say such a thing if the answer is no?

comment 11y ago · link · parent

I believe the POSIX subsystem has some kind of support from the native API that prevents you from writing your own random subsystem and expecting it to work; I don't remember what it was though (it's been a few years).

comment 11y ago · link · parent

If you delete the backing file of (or perhaps even close its handle -- I don't remember) a memory-mapped file, you get VERY bizarre behavior in Windows. I don't remember what it was, but I remember I did it and the behavior I got was quite nonsensical.

comment 11y ago · link · parent

"Won't match native" is quite the understatement.

It's not a question of a 40% speed difference, more like a > 400% speed difference last time I checked.

comment 11y ago · link · parent

Thanks for sharing this, I wasn't aware of the relationship between the two.

comment 11y ago · link · parent

> if you are only using the NT native API then it should work just fine

I believe I had trouble executing any instructions in the new process at all. If you can make it work I'd like to see your code, otherwise I'm skeptical.

comment 11y ago · link · parent

> What are you doing that involves lots of forking?

Running scripts?

Also, try enumerating the files in a large directory hierarchy and compare it with native Windows speed (or Linux speed), it's not even comparable.

comment 11y ago · link · parent

And where is the copy-on-write happening here? If I recall correctly, the problem was that attempting to reproduce fork()'s copy-on-write behavior on Windows resulted in a massive performance hit. (Which, IIRC, contributes to the slowness of Cygwin.)

EDIT: Oh, I'd skipped the part above "here's how it works"... that just says exactly the same thing I said above.

comment 11y ago · link · parent

This project sounds too good to be true. I would be quite astonished if they can make fork() work seamlessly without an amazingly high performance cost. In my experience the only way to do such a thing is to use NtCreateProcess(), but that function itself seems impossible for anyone besides Microsoft to use correctly. (I have tried numerous times and failed, and so have many others.)

comment 11y ago · link · parent

Ah, okay thank you for clarifying!

comment 11y ago · link · parent

I realize there were probably other factors that contributed to the text in that email, but I think what is interesting to know here is:

Were there any other significant factors specific to his business that made you mention customer disputes as such a significant reason?

(Note that I'm not asking what the factors were, I'm just asking if there simply existed any.)

The reason I ask is, I imagine there might have been other similar businesses with a high rate of customer disputes, and I imagine there may have been other factors in his business that could have resulted in you not wanting to work with them, both of which would be reasonable justifications for avoiding this business -- but what baffles me is how a company with "zero customer disputes over [their] entire history" can get an email blaming his customer dispute risk as the primary concern.

Note that I'm not disagreeing with the soundness of your ultimate decision here, I'm just confused by the email you sent justifying it.

comment 11y ago · link · parent

>> A few months ago we started using Stripe as they payment gateway for our marijuana regulatory compliance software

> As far as the Fed is concerned, any support of the illegal drug trade industry is a Felony.

Are you saying the seller has probably committed a felony by selling this software?

Because if true, I would think they would have been incredibly stupid to draw attention to their business on the HN front page, which they do not seem to be.

comment 11y ago · link · parent

It seems to me that they didn't participate in the drug market, they participated in the software market.

[EDIT: redacting the second part of my comment as further information in other comments seems to imply it was probably incorrect.]

comment 11y ago · link · parent

If banking partners are the problem, why did you mislead him by blaming "customer disputes"?

(Pedantic note: I know full well that the second part of the sentence that actually places the blame on the "risk" doesn't mention customer disputes as the source, but the former part does, and since it's clearly intentionally misleading I am asking why it was necessary to mislead him by mentioning customer disputes. Those seem far from the core problem here, if not outright irrelevant.)

1
333435
52