332 karma · joined Jul 7, 2014 (12y ago) · 199 submissions
https://www.hackerrank.com/cyorir
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
"Solutions at the time included various attempts to compile Haskell to JavaScript while preserving its semantics (Fay, Haste, GHCJS), but I was interested to see how successful I could be by approaching the problem from the other side - attempting to keep the semantics of JavaScript, while enjoying the syntax and type system of a language like Haskell."
https://leanpub.com/purescript/read#leanpub-auto-about-the-a...
comment 6y ago · link · parent
> which for me is a litmus test as to whether you are a "crazy leftist"
Implying that those who disagree with you are "crazy leftists" might be one reason for a downvote, for a start.
comment 6y ago · link · parent
https://github.com/seq-lang/seq
I think you might be interested in looking at multi-paradigm languages that use static/inferred typing and combine the functional and imperative paradigms. Some worth taking a look at might be OCaml, Nim, and F Sharp. Nim leans more towards Python, OCaml and F# lean more towards Haskell.
https://en.wikipedia.org/wiki/OCaml
https://en.wikipedia.org/wiki/Nim_(programming_language)
https://en.wikipedia.org/wiki/F_Sharp_(programming_language)
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
Samples here: https://github.com/google-research/google-research/tree/mast...
comment 6y ago · link · parent
[0]: https://github.com/google-research/google-research/tree/mast...
comment 6y ago · link · parent
If we're issuing challenges, then I challenge you to prove that every single journalist IS lying by omission.
A lie by omission is intentionally leaving out facts to misrepresent the truth. Another way to describe it is that a lie by omission is the cherry-picking of facts.
This differs from providing a limited subset of the facts for other reasons. You may not have all the facts yourself, you may not be certain of every fact you have, you may be practically limited by the amount of information that you can convey to your audience (perhaps because the audience only wants to read a 1-page article instead of 10, or perhaps because you don't have the time to write 10 pages instead of 1). In none of these cases are you necessarily lying by omission, as long as you choose to present facts that are representative of the broader set of facts that you have instead of cherry-picking facts to match a given narrative. You may still have implicit bias; that does not mean you are lying by omission because you are not necessarily intending to be biased.
Do you believe that every single journalist is intentionally skewing the truth and cherry-picking their facts to match a hidden agenda? I don't.
comment 6y ago · link · parent
modelzoo.co is good for finding the best/most-used models but remains far from being a complete zoo and lacks a sufficient list of models for certain tasks.
For a while I liked the GAN Zoo which was specifically for GANs, but I guess there got to be too many GANs so it is no longer maintained.
comment 6y ago · link · parent
f1 = (df[“col1”] == condition1)
f2 = (df[“col2”] == condition2)
df[f1 & f2]comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
Voting residency requirements are weird because they differ from state to state, and can be very vague when it comes to maintaining residency. As far as I can tell, Pennsylvania's 30-day residence requirement only applies when registering to vote; as long as you maintain a voting residence in Pennsylvania, you can vote in subsequent elections as you do not need to register again between elections. According to Article VII of Pennsylvania's election code (qualifications of electors), however, you lose your residence if you move to another state AND do not intend to return to Pennsylvania OR you move to another state AND intend to make it your permanent residence. So it depends on the parent poster's intentions of whether they view MA as their permanent residence or they don't plan to return to PA.
comment 6y ago · link · parent
Well change in support/recognition of transgender issues has been very rapid over the past 5-10 years.
"More than six in ten (62%) Americans say they have become more supportive toward transgender rights compared to their views five years ago."
Source: https://www.prri.org/research/americas-growing-support-for-t...
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
"Dozens of Facebook employees pushed back on Mr. Bosworth’s conclusions, arguing in the comments section below his post that politicians should be held to the same standard as other Facebook users. They debated whether Facebook should ban or remove posts by politicians, including Mr. Trump, that included hate speech or forms of misinformation."
This is heartening, at least. I hope these employees prevail.