Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
opnitro
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
31.
▲
by
opnitro
5y ago
Yup, was just trying to give an example that utilized primitives to make it easier.
32.
▲
by
opnitro
5y ago
"Optimal" in this context means it never repeats the work of beta reduction when it doesn't have to. Ie, evaluating `(\x -> x + x) (2 * 2)` only evaluates `2 * 2` once.
33.
▲
by
opnitro
5y ago
Any evaluation of a functional-based language is going to use this. Here's a simple example: Let's say I have a function `add1` `add1 = \x -> x + 1` (A function that takes a value `x` and then computes `x + 1` And then I write
34.
▲
by
opnitro
5y ago
Right, because Rust provides a real macro system for metaprogramming.
35.
▲
by
opnitro
5y ago
Java & Haskell both have turing complete type systems as well. I'm not a particular fan of C++'s type system, doesn't mean have metaprogramming features is bad.
36.
▲
by
opnitro
5y ago
A type system being turing complete really isn't a problem. You bound the recursion depth in practice, and the chance of a real world programming hitting that limit is minuscule. Lot's of other languages have turing complete type
37.
▲
by
opnitro
5y ago
ie: there would be no "application process" as everyone would have it.
38.
▲
by
opnitro
5y ago
Then if they are not at fault, why should they have their right to vote revoked?
39.
▲
by
opnitro
5y ago
Why do you assume that all homeless people are fault for "not functioning minimally in society"
40.
▲
by
opnitro
5y ago
Hey I have my suspicions but wanted to ask first :)
41.
▲
by
opnitro
5y ago
You provide 3 sources, yet don't cite a source for the claim that ~10k have died from the vaccine. Could we have a citation for that one?
42.
▲
by
opnitro
5y ago
Sure, the name doesn't matter. The type does though. `Functor f => a -> b -> f a -> f b` And it most type systems the law can't easily be captured in the type system.
43.
▲
by
opnitro
5y ago
To be honest with you, you're right in that you usually get that one without trying. Most of the things we think of as mappable obey the identity rules.
44.
▲
by
opnitro
5y ago
Yes that seems right, sorry.
45.
▲
by
opnitro
5y ago
A Mappable would be anything that has a `map` function. A `Functor` is a something that has a `map` function _AND_ obeys the rule that calling `map` with the identity function produces the same result. ie: say I have some value `f` that is
46.
▲
by
opnitro
5y ago
That's not quite true. Many of these proof assistants support some level of automation and proof search. I haven't used Lean specifically, but it's quite common in Coq for projects to write proof search techniques specific to
47.
▲
by
opnitro
5y ago
See: https://twitter.com/LazyFishBarrel
48.
▲
by
opnitro
5y ago
Yeah, the entire premise of this kind of company is asking strangers to give you arbitrary code and then running it. I imagine there ares some important design decisions there that are not trivial to replicate. At it seems the author made _
49.
▲
by
opnitro
5y ago
I don't think this is true. As the author notes, he doesn't have any ability to scale due to simplistic design decisions he made. As the author notes, the hard part of this business is not "write a webserver that takes a prog
50.
▲
by
opnitro
5y ago
I'd suggest reading Ellsberg's book (The Doomsday Machine) detailing the risks imposed by MAD.
51.
▲
by
opnitro
5y ago
This is not true. [ https://www.opensecrets.org/orgs/microsoft-corp/summary?id=D... ]
52.
▲
by
opnitro
5y ago
Check out theseus! It's exploring some of these ideas. https://github.com/theseus-os/Theseus
53.
▲
by
opnitro
5y ago
Fair amount of times I can think of, such as: * Installing a new OS, some installers are cmdline only * Server console * If you've broken your GUI installation and need to fall back to the shell I will say though: I don't know if
54.
▲
by
opnitro
5y ago
Copyrights _are_ property. They can be sold on the market and are enforced by the state. You can _own_ a copyright.
55.
▲
by
opnitro
5y ago
Again, the patent system is mentioned in the constitution. It's not "postmodern". You may not agree with the system (I certainly don't), but "postmodern" is the not correct movement to associate it with
56.
▲
by
opnitro
5y ago
I'm not sure postmodern is the right word to use here? It's pretty standard liberalism in terms of creating/enforcing property rights over things.
57.
▲
by
opnitro
5y ago
This isn't strictly true. It's only true if the entity creating the website needs to extract a monetary profit. Plenty of people make websites (and other products) and happily share them in a community. The benefit they draw is i
58.
▲
by
opnitro
5y ago
And again, even if we restrict ourselves to honest parties, hardware failures happen. Auditing the code tells you nothing about their infrastructure.
59.
▲
by
opnitro
5y ago
The primary difference being the organization being tested explicitly sets up a bug bounty with terms, as opposed to this.
60.
▲
by
opnitro
5y ago
To quote the wikipedia article: A US State Department document made available by the National Security Archive on 10 April 2010 reveals that a démarche protesting Pinochet's Operation Condor assassination program was proposed and sent
More ›