Better HN
topnewbestaskshowjobs
Log inSign up

Mathnerd314

3,006 karma · joined Nov 1, 2009 (17y ago) · 1,339 submissions

Making the ultimate programming language https://mathnerd314.github.io/stroscot/

In the past I developed SuperTux (http://supertux.lethargik.org) when I was bored.

Submissions

comment 9y ago · link · parent

By the Curry–Howard correspondence, programming is in fact (formal) theorem proving.

Mathematics got a lot less interesting after I realized it amounted to a giant, informally-specified, mostly undocumented body of code designed to run on the human brain... from that perspective it's hard to see why one should prefer mathematics to a well-written software program that does the same thing.

comment 9y ago · link · parent

> Formal etiquette was not aimed at ensuring respect for all. It was, in part, a system to enforce boundaries of race, class and gender at a time when the growth of cities and mass transit forced Americans into close quarters with strangers. Codes of behavior served “as checks against a fully democratic order and in support of special interests, institutions of privilege and structures of domination”

Hence the argument for a uniform mode of address. Oh wait, we already have that: the email address itself. Why does anyone need more than that?

> You will never offend or annoy someone by being overly formal and polite.

You'll offend all the anarchists, and libertarians, and hippies, and probably some other people.

comment 9y ago · link · parent

Related comic: http://www.angryflower.com/1131.html

comment 9y ago · link · parent

odrive has a Linux client, & supports Google Drive: https://docs.odrive.com/docs/odrive-sync-agent

Haven't actually tried it, seeing as I don't use Linux that often, but it's Python and hence reasonably cross-platform.

comment 9y ago · link · parent

Just stick it all in Google Drive, pay the $2/mo for 100GB or $10/mo for 1TB, done. It stores the last 100 versions of each file so ransomware shouldn't be a problem, although apparently there's no way to restore a folder at a time, you'd need to do it individually for each file...

comment 9y ago · link · parent

Haskell has several shell-scripting libraries: https://hackage.haskell.org/package/turtle https://hackage.haskell.org/package/shelly http://chrisdone.com/posts/shell-conduit

ocaml isn't that far off, just even less popular...

comment 9y ago · link · parent

Well, I was trying to shift the focus to "automated valuation model". That's used in other places and seems to be a term of the art in finance, e.g. this Kansas consumer bill: http://kslegislature.com/li_2016/b2015_16/measures/documents... Hence Zillow probably doesn't qualify, since it doesn't do loans or banking.

But the courts are so random; I'm guessing this case will be determined primarily by how much the judge that gets assigned likes technology. It'll be interesting to follow up on.

comment 9y ago · link · parent

> by paying people, we could encourage more work that benefits society

Generally, incentives have no effect on creativity (as measured by a panel of judges), or at most, slightly reduce it as they distract the person from the creative work: http://link.springer.com/article/10.1007/s10683-015-9440-5 And obviously fiscal pressure (loans, bankruptcy, etc.) would have a negative impact. But beyond that it's hard to see any correlation between payment and outcome, hence the argument for a basic income.

Payment only makes sense for the non-creative, "manual" aspects of society (which are responsive to incentives). As more of these manual tasks are automated, capitalism makes less and less sense. That's kind of what Marx was getting at when he said capitalism was "self-defeating", although he too got a little sidetracked by power structures. I still have no real evidence that power structures even exist; they're a nice theory but basically unmeasurable. E.g., Trump is president, the effect on society/culture/business/daily life seems basically nil: http://www.trustedreviews.com/news/trump-win-changes-nothing... http://www.businessinsider.com/trump-do-nothing-presidency-2...

comment 9y ago · link · parent

You can look at his resume: https://www.linkedin.com/in/guido-van-rossum-4a0756/. I'm not sure what "Director of PythonLabs" is, but my guess is it's basically speaking at a ton of conferences about Python. And conference fees are not cheap; he probably made more than the books. Not to mention he still does speaking gigs, keynotes, etc. Pretty much his whole career/professional network came for free, from Python, so he has his pick of jobs or un-jobs

comment 9y ago · link · parent

Generally in law you use a law dictionary, e.g. http://thelawdictionary.org/procurement/, which defines it as "the entire process of purchasing goods". "Entire" there suggests a broad term, hence interpreted inclusively in the context it appears. So in context it's probably something like "commercial use". But there are other questions of applicability, e.g. whether the legislature intended that sentence to only apply to financial loan decisions. It seems like there's no indicator of legislative intent on the original bill https://openstates.org/il/bills/96th/HB1015/, hence it would probably be the plain meaning as an independent clause, but IANAL...

comment 9y ago · link · parent

> nor does this Act apply to the procurement of an automated valuation model. "Automated valuation model" means an automated system that is used to derive a property value through the use of publicly available property records and various analytic methodologies such as comparable sales prices, home characteristics, and historical home price appreciations.

If that sentence applies, I don't think they really have a case...

comment 9y ago · link · parent

I wouldn't say discouraged, just they have to be registered. See the list of all the imports, planned or finished: http://wiki.openstreetmap.org/wiki/Import/Catalogue. In a lot of places pretty much all of the data came from automated imports. People checking the map is good, but manual data entry is a pain and there aren't many doing that.

It looks though like Facebook beat me to the punch: http://wiki.openstreetmap.org/wiki/AI-Assisted_Road_Tracing

comment 9y ago · link · parent

> What is the easiest way to contribute and map out these roads on OpenStreetMap?

Dunno about easiest, but the most effective is probably to just buy the detailed satellite/aerial imagery, (http://microsites.digitalglobe.com/30cm/) run some machine learning algorithms to identify roads, and upload that. https://github.com/trailbehind/DeepOSM https://developmentseed.org/blog/2017/01/30/machine-learning...

comment 9y ago · link · parent

I found some generic tech strategy report: https://www.qualcomm.com/media/documents/files/a-deeper-dive..., it seems like their strategy is to just keep rolling in the money and pumping out chips and IP.

They're still doing random R&D products, so not too much fiscal pressure I guess, although if they keep paying out huge settlements that could change: https://www.technologyreview.com/s/603964/qualcomm-wants-you...

Software-wise their code and maintenance strategy in general seems to suck, they throw the code over a wall and start over when doing the next project: https://news.ycombinator.com/item?id=13685273 Some guys from Google wrote yet another CPU scheduler, apparently it does better than Qualcomm's: http://linuxplumbersconf.com/2016/ocw//system/presentations/...

Obviously they're not making many friends with their legal strategy. The chips are still selling, so the bottom line is sound at the moment. But other companies are developing ARM chips too: https://www.fool.com/investing/2017/03/06/should-qualcomm-in... And there are a ton of lawsuits. So it wouldn't be surprising if Qualcomm suddenly went out of business due to a court judgement, or gradually had to scale down.

comment 9y ago · link · parent

Well, if relevance logic is part of linear logic, and it's a true subsumption relationship, then you're saying Belnap doesn't think relevance logic is relevant anymore. So in other words he's pretty much rejected logic altogether.

I guess it makes sense, his most recent papers are about indeterminism (http://www.pitt.edu/~belnap/futurecontingents.pdf), which logic doesn't handle well, but I'm not quite sure how you'd represent the branching-universe model he uses in a type system. I guess you'd need the history operator he uses, m/h = moment m on history h.

comment 9y ago · link · parent

And that's not really sufficient; words have a life of their own and take on contextual meanings outside of whatever scope they're introduced in. Case in point, linear types come from linear logic, by Girard, whereas relevant types come from unrelated older work by Belnap and Anderson. The simple act of putting them under one umbrella term, "substructural types", erases the older work and means that the article will focus more on Girard's perspective of logic.

Then the article makes the "discovery" that "People who say they want Linear™ Types In Rust actually just want Proper Support For Relevant™ Types.", which is pretty obvious if you know this historical context, and coins yet another term, must-use types, which unsurprisingly has no ™ after it.

I think I get what you're trying to do, I myself used ™ for a little bit back 6-7 years ago, a little bit before I wrote http://insearchoftheultimateprogramming.blogspot.com/2011/04.... But ™ just isn't effective; even if you think you know what a term means, you can't explain it except by its relationship to other terms. And once you forget what that ™ symbol referred to you're just as clueless as everyone else. Whereas URLs are "resource locators" and actually clarify what you intended.

comment 9y ago · link · parent

Yeah, it would be better with coloring. Or better yet hyperlinking to the relevant Wikipedia pages / papers / memes.

Edit: pages such as https://en.wikipedia.org/wiki/Idempotency_of_entailment, https://en.wikipedia.org/wiki/Monotonicity_of_entailment, https://en.wikipedia.org/wiki/Structural_rule, https://en.wikipedia.org/wiki/Nice_guy, https://en.wikipedia.org/wiki/Linear_logic, https://en.wikipedia.org/wiki/Affine_logic, https://en.wikipedia.org/wiki/Relevance_logic (not sure why "Proper Support" is capitalized, that seems to have no referent)

Hyperlinks allow you to directly look up a term by clicking on it, i.e. are actually useful, whereas trademark symbols are just visual noise. Although of course it is possible to over-link as well, see e.g. the wiktionary FAQ on "wikifying": https://en.wiktionary.org/wiki/Help:FAQ#Wikifying, in practice this doesn't seem to happen; it's more the reverse problem of not putting in enough links.

comment 9y ago · link · parent

DRM is basically in the same boat as ads, the user / operating system has all the power. The code is running in a sandbox; it can do integrity/sanity checks of the sandbox, but if the emulation is good it can't look outside the sandbox to discourage "bad behavior" like blocking ads or recording the stream for later.

To paraphrase an old thread: https://news.ycombinator.com/item?id=8439165

> Nobody cares about cracking Widevine to extract 4 Mbps Netflix streams when Blu-ray rips are already available on the Pirate Bay. But Netflix's content, which people do care about, is being shared on torrent sites. DRM is effectively useless.

comment 9y ago · link · parent

It kind of depends on what books you read and what the academic culture is. E.g. in mathematics, it seems books and lecture notes are the main way knowledge is transmitted, and articles are more of an afterthought.

comment 9y ago · link · parent

> the core problem is reading code

Modern codebases are thousands or millions lines of code. Nobody has the time, inclination, or ability to read/learn all of it. So a lot of coding ends up being revisiting old design decisions and searching for the relevant parts of the code. See e.g. https://air.mozilla.org/the-joy-of-coding-episode-93/, he has 10 tabs open and spends a significant fraction of time just switching between them.

> GUI builders

Pretty much all GUI builders are WYSIWYG or markup languages. As I mentioned, I want something declarative: define the verbs and the nouns, guesstimate a usage frequency of the various parts, and generate a UI, without specifying minor details like combobox vs text field. Something like https://blog.mozilla.org/ux/2013/04/firefox-next-evolving-th... (Note April 1 date)

comment 9y ago · link · parent

> In all cases however, the program without the goto statements turned out to shorter and more lucid

This was with ALGOL though; Haskell uses lambdas and is shorter still. I feel like Scheme / callcc might be even shorter. And the difference between callcc and goto is not at all clear.

To be fair, though, he does mention the human-computer interface. Unfortunately this has still not really been explored in the context of programming. There are toy environments like Light Table etc., and the more developed languages come with IDEs, but nobody seems to use them in practice, preferring vim or emacs or whatever.

My guess for this is that writing GUIs in an extensible, modular, and discoverable/usable way is still an open problem. There are style guidelines, e.g. https://www.smashingmagazine.com/2016/06/designing-modular-u..., but those aren't code and don't fit into an Agile-style incremental development model. The only thing that seems usable are constraint layouts, e.g. http://ieeexplore.ieee.org/document/4483218/. But those don't account for all the little UI things, like the efficiency of the interface or which actions are most commonly used. IMO there needs to be some library to just take a bunch of actions/verbs (e.g. Copy to clipboard) and nouns (displayable data stuctures: images, documents, etc.) and turn that into an optimized user interface design, with keybindings, menus, toolbars, dialogs, widgets, etc. And then of course there's the issue that picking a GUI pretty much fixes your choice of programming language, away from any of the functional PL's.

comment 9y ago · link · parent

Theft from grocery stores, while technically illegal, is a rather light shade of crime. Some police will just pay for the groceries: http://www.huffingtonpost.com/2014/12/12/officer-buys-eggs-f...

At least as reported, petty theft seems quite rare; poor people qualify for food stamps, food banks, etc., or just beg/panhandle for money, so there aren't many cases. This profile of them suggests most shoplifters do it more for the thrill than any kind of necessity: http://www.shopliftingprevention.org/what-we-do/learning-res...

comment 9y ago · link · parent

Except on Wikipedia, where words get disambiguated and wikilinked, slowly encouraging people towards a shared vocabulary and understanding. Robots are machines, androids are artificial people, bots are software, robo- is just a general neologism for new concepts. Nobody's hijacked robot, just derived new terms.

comment 9y ago · link · parent

Also see a similar map by the National Park Service: https://www.nps.gov/subjects/sound/soundmap.htm

comment 9y ago · link · parent

Hydroponics is actually a ton easier (at scale): http://www.epicgardening.com/hydroponics-vs-soil/

Seems like a good argument.

comment 9y ago · link · parent

Right, your average American don't "know" a monopoly is bad. In general they won't "know" anything about the subject. But, from their grade school American history class, they probably have some vague recollection of the anti-trust laws passed in the early 1900's to break up the "Robber Barons" or "Titans of Industry", and the corresponding "even rich people aren't above the law" sentiment. So if you say "copyright monopoly" they won't dismiss the need for legislative reform out of hand. Whereas if you use terminology like "legalize piracy" they probably will.

A natural monopoly would be associated with a public utility; probably the various libraries. An electronic library might become a public utility, but so far Spotify, Netflix, etc. have had incomplete catalogs and there's not much support for the compulsory licensing scheme they'd need to make it work (which would be its own public service...)

comment 9y ago · link · parent

The easy version is to just say "copyright monopoly"; everyone knows a monopoly is bad, and by mentioning it you automatically create an association. The fact that such an association doesn't necessarily exist (http://www.copyhype.com/2013/01/three-reasons-copyright-is-n...) is irrelevant, since most people don't reason logically anyway, and of course there are arguments for why there is in fact a monopoly (http://www.digitalmusicnews.com/2014/08/08/copyright-monopol..., e.g. lack of advertising access).

comment 9y ago · link · parent

It's consistent/complete in first-order logic, because Con(ZF) is a higher-order statement and thus can't even be formulated.

First-order logic has a lot of nice properties, e.g. "if a result is finitary in the sense that it can be phrased as a first-order statement in Peano Arithmetic, and it can be proven using the axiom of choice (or more precisely in ZFC set theory), then it can also be proven without the axiom of choice (i.e. in ZF set theory)." (c.f. https://terrytao.wordpress.com/2013/12/07/ultraproducts-as-a...)

1
353637
45