HNHacker News
TopNewBestAskShowJobs

psuter

1,520 karma · joined May 13, 2013

https://psuter.net
submissionscomments
psuter··on Open-sourcing Facebook Infer: Identify bugs before you ship
Symbolic reasoning involves a lot of term-matching and term-rewriting. These tasks are best accomplished in programming languages that have first-class support for recursive terms (aka. algebraic data types). Popular candidates these days are OCaml, Haskell, Scala.

While I am not certain the premise holds (OCaml dominance), one possible explanation is that many programmers were introduced to ML/OCaml through the compiler construction course and Andrew Appel's book.

psuter··on Los Angeles' Booming Creative Class Lures New Yorkers
Midtown is not particularly expensive (for Manhattan). It's on par with Upper West Side, and cheaper than many neighborhoods downtown.

http://www.mns.com/manhattan_rental_market_report

psuter··on Tupper's formula
The 543 digit number encodes log(10^543, 2)~=1803.8 bits, and the image is 17x106=1802 bits. It's going to be hard to fit it in there.
psuter··on The Z3 Theorem Prover released under MIT license
Either I misread the parent's question or (s)he edited it. I had read it as "[...] cases where Z3 will say sat, but not output a proof when you ask for it", and was simply trying to clear up the misunderstanding that a 'sat' answer should come with a proof.
psuter··on The Z3 Theorem Prover released under MIT license
Models are not proofs (in fact they're the opposite). In SAT/SMT, a proof is a sequence (a tree really) of deductions that show that you can conclude "false" from the set of initial assumptions, and that, therefore, there is no model.
psuter··on Scala: Where it came from, Where it's going
Code with many implicit parameters and higher-kinded types is hard to compile, as the compiler needs to solve essentially a Prolog-ish unification problem. Scalaz is a popular library written largely in this style (e.g. [1]). (FWIW I've never seen 1 line/minute.)

[1] https://github.com/scalaz/scalaz/blob/series/7.2.x/core/src/...

psuter··on Dark Patterns: Inside the interfaces designed to trick you
The article is by the curator of that website, as mentioned in the first two sentences of the author bio.
psuter··on My experiences through GrubHub's IPO from start to finish
Very interesting and educational read. Even if you know a little bit about how IPOs work, reading through the complete timeline helps understand the roles and the steps involved.

One question that came after reading:

    The underwriter won’t move forward unless they get a very
    high percentage (99-100%) of employees/shareholders to sign
    a lock-up.
What are the incentives for employees to sign such an agreement? It sounds like the only point in the process where an (organized) group of employees could have some leverage?
psuter··on Banking Startups Adopt New Tools for Lending
Looks like the focus of the article is on alternative techniques to determine creditworthiness. Lending Club, as I understand, relies mostly on traditional credit scores, which does not make them particularly innovative for this particular aspect of lending.
psuter··on The Rise and Fall of the Lone Game Developer
I have played Colonization for countless hours and yet had never seen the manual, thank you very much for pointing it out!

Incidentally, for many years, everything I "knew" about the colonial & revolutionary times in the US, I had learned from Colonization and Day of the Tentacle :)

psuter··on Leon – An Automated System for Synthesizing and Verifying Scala Programs
Good catch. Leon indeed currently models the `Int` type as mathematical (unbounded) integers. There is a project in the works to correct this semantic difference with Scala, and have `Int` be signed 32-bit bitvectors and `BigInt` be the mathematical integers. At that stage, Leon will also be able to generate the kind of bound checks you were expecting.

For the types of problems we had been looking at, the current state is arguably not a major issue (if you are really building a list of 2^31 elements, you're probably facing other problems), but for the sake of being formal, the semantic mismatch must be addressed.

psuter··on Leon – An Automated System for Synthesizing and Verifying Scala Programs
For the verification part, the main paper is "Satisfiability Modulo Recursive Programs", SAS 2011 [1]. For the synthesis part, the most up-to-date paper is "Synthesis Modulo Recursive Functions", OOPSLA 2013 [2]. As is usual with CS papers, searching for the title in your favorite search engine may or may not help you find a PDF version.

I'm an author on both papers, so feel free to ask any questions here as well.

[1] http://link.springer.com/chapter/10.1007%2F978-3-642-23702-7...

[2] http://dl.acm.org/citation.cfm?id=2509555

psuter··on Why I’m Giving Up My Passport
As a green card holder, you are already taxed as a US permanent resident (ie: in the exact same way as a US citizen, regardless of where you live). If your bank knows and hasn't forced you to close your account, they're probably OK with having you. If they don't know, well, use your best judgment.
psuter··on Antivirus Companies Shouldn’t Have Hidden What They Knew About Regin
I do on my (Windows) work laptop, because the company that owns it justifiably insists I do. It's completely transparent, except for the odd days where an upgrade to VirtualBox or VMPlayer will introduce new "hardening" features, that the AV software will happily flag as a terrible threat.
psuter··on Immigration is about talent, not costs
J-1 visas can come with a requirement to spend time away from the US after they expire. One of the motivations is to avoid keeping specialty workers away from their home country if their work is in demand. (How a {country,occupation} pair gets classified as in-demand is an entirely different question.)

http://www.yale.edu/oiss/immigration/common/j1scholars/home....

psuter··on Swiss reject additional immigration curbs
I remember reading from an SVP/UDC official that they picked the black sheep imagery not because it is racist, no no, how dare you, but precisely because the expression works in all national languages.
psuter··on Swiss reject additional immigration curbs
An alternative explanation is that they (or maybe 'we'..) voted to preserve the statu quo. A quick look through historical vocation results will tell you that this is as strong a predictor as it gets.
psuter··on Cloudscale – Swiss virtual servers
I guess this is a good time to ask, then: can anyone recommend a good VPS provider with servers in Switzerland? (as in: not in beta, but available today)
psuter··on EU’s New VAT Rules Could Create a Mess for Startups
My understanding is that a similar law is under consideration in the US? (Marketplace Fairness Act)
psuter··on Investigation of an Airborne Aircraft Carrier Concept (1973) [pdf]
The Smithsonian has (had?) a great exhibition on the history of navigation techniques. Some content is available online too [1], including this newsreel showing some navigation techniques [2].

[1] http://timeandnavigation.si.edu/

[2] http://timeandnavigation.si.edu/multimedia-asset/clipper-pil...

psuter··on How secure is TextSecure?
I've been using Threema [1] without any issues, and it works on Android and iOS. The user experience is on par with WhatsApp, I would say. The source is not available, so you must be willing to take their claims at face value [2].

[1] https://threema.ch/en/

[2] https://threema.ch/press-files/cryptography_whitepaper.pdf

psuter··on Tim Cook Speaks Up
What an excellent article, thanks for sharing.

    "Despite such evidence, one reason why Americans find it hard to believe Buchanan
     could have been gay is that we have a touching belief in progress. Our high
     school history textbooks’ overall story line is, “We started out great and have
     been getting better ever since,” more or less automatically. Thus we must be
     more tolerant now than we were way back in the middle of the 19th century!
     Buchanan could not have been gay then, else we would not seem more tolerant now."
psuter··on IBM Paying Globalfoundries $1.5B to Take Unit in Retreat from Chips
This may answer the natural question of "why not just shut it down, rather than pay to have it taken over":

    > In a 10-year partnership, Globalfoundries will supply IBM with
      Power processors in exchange for access to IBM’s intellectual property
I suppose it's one way to cut losses while not sacrificing short-term access to the technology; after all, 1+ billion is "only" one year of losses, according to the article.

An intriguing move in any case. I wonder if anyone can point to previous examples of a company paying to have a division acquired?

psuter··on Airbnb in the City – New York State Attorney General's Report [pdf]
Of course, just like my rent is not pure profit for my building management company. The real question is, at what price were these units put up for rent on Airbnb, and how does it compare to market rents? The GA report says they cannot know because of the data anonymization.
psuter··on Airbnb in the City – New York State Attorney General's Report [pdf]
Very factual and concise (the report is 15 pages excluding appendices). As may have been known, the AG does not apparently care about users renting out shared rooms (or at least, one at a time). Some salient points below.

    > 1,406 hosts (six percent) acted as "Commercial Users," running larger
      operations that administered from three to 272 unique units

    > In 2013, over 4,600 unique units were each booked as private short-term
      rentals for three months of the year or more. Of these, nearly 2,000 units were
      each booked as private short-term rentals on Airbnb for at least 182 days — or
      half the year. While generating $72.4 million in revenue for hosts, this
      rendered the units largely unavailable for use by long-term residents. [...]
      Units dedicated primarily or exclusively to private short-term rentals accounted
      for an increasing share of revenue over time.

    > [The] 10 most-booked private short-term listings on Airbnb in 2013 [...] averaged
      1,920 booked nights *each*.
psuter··on Feminist video-games talk pulled after massacre threat
Cherry-picking is made considerably easier by the abundance of loaded cherry trees: https://www.youtube.com/watch?v=5i_RPr9DwMA

    GAMES REFERENCED IN THIS EPISODE:
    Assassin’s Creed 2 (2009)
    Assassin’s Creed: Brotherhood (2010)
    Bioshock (2007)
    Bioshock 2 (2010)
    Dead Island (2011)
    Dishonored (2012)
    Dragon Age: Origins (2009)
    Fable 2 (2008)
    Far Cry 3 (2012)
    God of War 3 (2008)
    Grand Theft Auto IV (2008)
    Grand Theft Auto V (2013)
    Hitman: Absolution (2012)
    Hitman: Blood Money (2006)
    Kane & Lynch (2007)
    L.A. Noire (2011)
    Mafia II: Joe’s Adventures (2010)
    Metro: Last Light (2013)
    No More Heroes (2008)
    Papo & Yo (2012)
    Prototype (2009)
    Red Dead Redemption (2010)
    Saints Row (2006)
    Super Mario Galaxy 2 (2010)
    The Darkness II (2012)
    The Witcher (2007)
    The Witcher 2 (2011)
    Thief (2014)
    Watch Dogs (2014)
psuter··on Scala – The good, the bad and the very ugly
I agree that the criticism is fair. It does seem to come from someone with relatively little experience, but if anything, that makes it more valuable. Languages need adoption and new adopters by definition have no experience.

Regarding IDE support, which inevitably comes up when discussing Scala, an honest question: what are good IDEs for Ruby, Python, Clojure, JavaScript, Haskell, OCaml? Is there a good IDE for C++ besides Windows-only Visual Studio? For C? It seems that Scala always get compared to Java in that domain, but in my experience Java is the exception, not the norm.

(Edit: I assume support for CLR languages is great too?)

psuter··on Best Papers vs. Top Cited Papers in Computer Science
Conference organizers are well aware that best paper awards are not perfect predictors of importance or popularity. Many top conferences specifically introduced separate awards ("most influential", "test of time", etc.) granted e.g. 10 years after publication.
psuter··on Americans abroad are giving up their citizenship as banks shut down accounts
It's 50k in "financial accounts", which includes retirement funds, and the financial institutions expose themselves to enormous penalties if they fail to report a single customer.
psuter··on Americans abroad are giving up their citizenship as banks shut down accounts
Note that if you are a green card holder, you are subject to the same rules, and face the same denial of service by the financial institutions.
← PreviousPage 3 of 6Next →