Better HN
topnewbestaskshowjobs
Log inSign up

crazypython

4,542 karma · joined Jul 18, 2019 (7y ago) · 1,228 submissions

Submissions

comment 5y ago · link · parent

> The MobileCoin Consensus Protocol solves the Byzantine Agreement Problem by requiring each user to specify a set of peers that they trust, called a quorum. Quorums are based on the real-life trust relationships between individuals, businesses, and other organizations that compose the MobileCoin Network.

How does this solve network splits or honest disagreements?

comment 5y ago · link · parent

How does Stellar Consensus prevent double-spends?

Imagine I have a private key to an address with 10 coins. Imagine I spend the same amount of money (10 coins) on Mars and Earth at the same time. There is a 10-lightminute gap between Mars and Earth. Assume Mars and Earth have a similar number of Stellar nodes. What happens in Stellar Consensus?

comment 5y ago · link · parent

Declaring statements are pure data. "int add(int, int);" is a piece of data, not a series of instructions. It may as well be a 4-tuple: (int, "add", int, int). You could convert each class declaration to a series of 4-tuples and put it in a CSV file. Database rights are much weaker than copyright.

> Take a program that works and remove the declaring code.

Actually, it will work just fine, because you the implementation necessarily has declarations in them, and you can generate declarations from the implementation.

comment 5y ago · link · parent

"The fourth statutory factor focuses upon the “effect” of the copying in the “market for or value of the copyrighted work.” §107(4). Here the record showed that Google’s new smartphone platform is not a market substitute for Java SE. The record also showed that Java SE’s copyright holder would benefit from the reimplementation of its interface into a different market. "

comment 5y ago · link · parent

Indeed, and that website only uses 2010 CSS features.

336.

Bill Gates is the biggest private owner of farmland in the United States. Why?(theguardian.com ↗)

7 points · by crazypython · 5y ago · 1 comment

comment 5y ago · link · parent

Semantic HTML, CSS, Vanilla JS, and JAMStack.

Semantic: embed data directly in HTML. If I have a list of wines with categories, each wine's "class" attribute has a class for each category.

HTML: can be generated by anything and consumed by anyone. Great SEO.

CSS: These websites were all made with the same HTML, only CSS changing. http://www.csszengarden.com/

Let's imagine we have a checkbox, that when checked, should dim every wine that is not a white wine. Next to it is a div of wines, with the "container" class. The div contains wine elements.

3 lines of CSS:

    input[type="checkbox"].whiteWine:checked + .container > :not(.whiteWine) {
        opacity: 0.5;
    }
You can replace the checkbox's appearance with an image, a video, just about anything– it doesn't have to look like a checkbox.

This would take many lines of JavaScript in any other framework.

Instead of attempting to warp HTML into a UI library, this uses HTML as a data format, and CSS as a way to present that data.

comment 5y ago · link · parent

D is another choice. It has good C compatibility and C-like syntax. It's not hot, but it's old, and thus more likely to survive

comment 5y ago · link · parent

Hmmmm, how would you test, for instance, a rendering engine?

comment 5y ago · link · parent

> Unit testing

In the game development, videogames are primarily tested by humans. Games are highly interactive pieces of software often running on a variety of hardware with complex agent-based simulations. Are all game developers "amateurs"? I don't think so.

comment 5y ago · link · parent

This is terribly overengineered. He just needs a static CDN host– such as Surge.sh, Netlify, AWS CloudFront, or Cloudflare. Everything can be calculated clientside.

> It’s worth pointing out that for all the criticism, the Next.js + Vercel combination meant that I didn’t have to worry about scaling the site at any point. There were millions of hits, and sometimes thousands per second, and it all just worked. The basic page continued to load in less than half a second under all that load.

Static sites have that too.

comment 5y ago · link · parent

Dlang has better metaprogramming capabilities and compiles extremely fast. https://forum.dlang.org

343.

VS Code Server – Run Visual Studio Code in the Cloud, Right from the Browser(linode.com ↗)

2 points · by crazypython · 5y ago · discuss

344.

Quickening Based on Inline Caching for Python(bugs.python.org ↗)

1 points · by crazypython · 5y ago · discuss

345.

Cloud CPU Benchmark Amazon, Alibaba, DigitalOcean, Google, Linode, Azure [pdf](marketing-assets.us-east-1.linodeobjects.com ↗)

3 points · by crazypython · 5y ago · 1 comment

comment 5y ago · link · parent

Please add enough documentation to use FicusJS without prior knowledge of Web Components! It's very important for adoption as a framework in its own right with web components as one component.

comment 5y ago · link · parent

Minimalist web frameworks are better in my opinion. Less code that can break, less friction between you and DOM.

comment 5y ago · link · parent

I wonder what benefits a license brings.

It seems like the entire thing is under a FOSS license. https://www.collaboraoffice.com/terms/collabora-online-mplv2...

comment 5y ago · link · parent

LibreOffice and Collabora Office both have an online version, which works in the browser.

350.

Icecast: A directory of internet radio stations(dir.xiph.org ↗)

3 points · by crazypython · 5y ago · discuss

351.

LibreOffice Online: the HTML5-based/cloud-based version of our office suite(wiki.documentfoundation.org ↗)

28 points · by crazypython · 5y ago · 6 comments

352.

Give me a non-fungible token of the contents of your wallet(smbc-comics.com ↗)

1 points · by crazypython · 5y ago · 1 comment

353.

GNU Guix: Liberating, dependable, and hackable(guix.gnu.org ↗)

4 points · by crazypython · 5y ago · discuss

354.

Childhurds and GNU/Hurd Substitutes(guix.gnu.org ↗)

9 points · by crazypython · 5y ago · discuss

355.

Collabora Office: The enterprise-ready edition of LibreOffice(collaboraoffice.com ↗)

178 points · by crazypython · 5y ago · 68 comments

1
111213
41