HackerTrans
TopNewTrendsCommentsPastAskShowJobs

bsurmanski

no profile record

comments

bsurmanski
·3 lata temu·discuss
This would be amazing for Nintendo DS emulation
bsurmanski
·3 lata temu·discuss
To stretch out the metaphor, asking a knowledgeable coworker could be "read from RAM", then documentation could be "read from disk"; or vice versa. But I find having someone to bounce questions off of easier than reading docs
bsurmanski
·4 lata temu·discuss
Not op, but I bought one. It's essentially a Linux laptop with a control interface built in. For emulators and steam games, it's really nice to have an option to play on the tv (with the dock). I don't see it being an especially nice coding experience; you'd need an external keyboard, mouse, and monitor. And without a dock, all it has is a single USBC port. Though it has a full KDE desktop, so it should be feasible.
bsurmanski
·4 lata temu·discuss
It mostly comes down to the fed, and their response to inflation.

If you think their response will reign inflation in check, we'll probably see the market 'crash' and a recession like the late 80s.

If you think their response will be soft, and persistent inflation is the new norm, we'll probably see the market act more like the 70s.

Maybe they walk the line, but I don't see how that's possible. Monetary policy is just so of-the-mark right now.

Another screwball is WFH. That could sap demand for large cities and push demand in suburbs and smaller towns.
bsurmanski
·4 lata temu·discuss
I think for something this checking the source for the generation algorithm is fair game. here it is:

  function randomInt(n) {
    return Math.floor(Math.random() * n);
  }

  function randomPassword() {
    let letters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
    let digits = '0123456789';
    let punctuation = '!"#$%&\'()\*+,-./:;<=>?@[\\]^_`{|}~';
    let s = letters.repeat(7) + digits.repeat(4) + punctuation.repeat(3);
    let length = 14;
    let res = Array.from({length}, (() => 
      s[randomInt(s.length)])).join('');
    return res;
  }
looks like it's 14 characters long, and each character has an independent 72.8% / 8% / 19.2% chance of being a random letter / digit / punctuation. There are 94 symbols total, so 94^14 possible solutions; roughly 92 bits of entropy. Even if you assume 10 letters, 1 digit, 3 punctuations (the "likely" distribution) it's still 75 bits of entropy. You might be able to gain an advantage through knowledge of the PRNG state, but the PRNG in v8 (xorshift128+) has a period of 2^128 - 1.

So not great odds...
bsurmanski
·5 lat temu·discuss
The movie title is: "Anger Management", starring Jack Nicholson and Adam Sandler
bsurmanski
·10 lat temu·discuss
Okay, I tried to graph out taxes between Toronto and SF.

check it out: https://github.com/bsurmanski/TorontoSFTax

It looks like between 60k-200k, taxes in Toronto are actually lower. Between 200k-700k, it is cheaper in SF. At 300k, Toronto tax is about 1.5% more, and at 400k, Toronto tax is about 2% more.

But being realistic, most people in tech would pay less tax in Toronto.

edit: This calculation also does not take into account any other taxes (such as sales tax, or property tax), and is not adjusted for cost of living. SF has an edge in sales tax (8.75% in SF vs 13% in Toronto), but Toronto has a huge edge in cost of living (according to [0], Toronto is 32% cheaper), and property tax (1.14% in SF vs 0.7% in Toronto).

[0] - https://www.expatistan.com/cost-of-living/comparison/san-fra...
bsurmanski
·10 lat temu·discuss
don't forget social security. Social security is 5.65%, whereas the equivalent in Canada is the Canadian Pension Plan, which is 4.95%. And you have great medical insurance built right in. [0]

[0] - http://www.investopedia.com/financial-edge/0411/do-canadians...
bsurmanski
·10 lat temu·discuss
speaking as someone who has lived in both the Bay area and Toronto, I think Toronto has a chance.

The Bay area is a nice place to work in your 20s, but it's not a good place to settle down. With housing prices, homeless population, just a general grime over most things.

Toronto's the type of city you can move to when you thinking of settling down and starting a family. Very clean and friendly. Cheap enough to afford. That and not every Canadian wants to get a visa and live 4000km from everyone they've ever known.