HN user

flying_sheep

424 karma
Posts27
Comments55
View on HN
news.ycombinator.com 6mo ago

Zsh scripts to copy or paste image in Ubuntu / WSL

flying_sheep
1pts0
www.quantamagazine.org 2y ago

New Proof Shows That ‘Expander’ Graphs Synchronize

flying_sheep
36pts5
arxiv.org 3y ago

A Transformer That Solves Small Tabular Classification Problems in a Second

flying_sheep
2pts0
www.smithsonianmag.com 4y ago

The EPA Declared That Burning Wood Is Carbon Neutral (2018)

flying_sheep
2pts0
ca.news.yahoo.com 4y ago

Let's Encrypt's root certificate has expired, and it might break your devices

flying_sheep
3pts0
news.ycombinator.com 5y ago

Ask HN: Is there any alternative to Dropbox?

flying_sheep
2pts6
literatejava.com 5y ago

Checked exceptions: Java’s biggest mistake (2014)

flying_sheep
114pts317
www.chinamobileltd.com 6y ago

China Mobile lost 7 millions total customers in Feb 2020 alone

flying_sheep
2pts1
sqlite.org 6y ago

SQLite Query to Solve Sudoku

flying_sheep
31pts0
literatejava.com 6y ago

Checked exceptions: Java’s biggest mistake (2014)

flying_sheep
3pts0
mathics.github.io 7y ago

Mathics – A free, light-weight alternative to Mathematica

flying_sheep
1pts0
en.wikipedia.org 7y ago

Fallacies of distributed computing

flying_sheep
2pts0
en.wikipedia.org 7y ago

Algebraic automata theory

flying_sheep
1pts0
hyperpolyglot.org 7y ago

Command Line Interpreters: Posix Shell, Cmd.exe, PowerShell

flying_sheep
2pts0
cp4space.wordpress.com 8y ago

Sorting Networks

flying_sheep
2pts0
en.wikipedia.org 8y ago

Free energy principle

flying_sheep
79pts19
developer.apple.com 8y ago

Designing Fluid Interfaces

flying_sheep
2pts0
c4model.com 8y ago

The C4 model for software architecture

flying_sheep
2pts0
szeliski.org 8y ago

Computer Vision: Algorithms and Applications [pdf]

flying_sheep
3pts0
blog.jamesdbloom.com 8y ago

JVM Internals (2013)

flying_sheep
520pts126
m.1688.com 8y ago

You Can Buy 4kg CFCs in Alibaba for RMB 30

flying_sheep
2pts0
blog.ionelmc.ro 8y ago

Understanding Python metaclasses

flying_sheep
2pts0
www.kylev.com 8y ago

Finding my first Python reference cycle

flying_sheep
2pts0
www.zhihu.com 8y ago

如何记高质量的日记/工作日志/学习日志?

flying_sheep
1pts0
hashgraph.com 8y ago

Hashgraph – The Future of Decentralized Technology

flying_sheep
2pts0
en.wikipedia.org 8y ago

Wicked problem

flying_sheep
2pts0
www.dabeaz.com 8y ago

Understanding the Python GIL [pdf]

flying_sheep
2pts0

No no not something on top of the UI stack. They also need framebuffer support so they are big headache to setup on headless server.

What I mean is that we can bring some web tech to terminal natively. We don't even need a separated shell. Security and bi-directional communication is built by default because of UNIX socket. But we still need to think how to handle stuff like cookie, local storage, external CSS / JS, ...

That's interesting idea. If we put into CLI with some ANSI escape code, that may become something real. Imagine a normal terminal app just render part of the UI in web and communicating in UNIX socket. While doing the fancy UI, everything is still controllable with keyboard, and optionally with mouse. The UI will fallback to text UI for older terminal

Thanks for the sharing. It looks interesting but I did not dive deep into it. Just wonder how is it different from SQL trigger which can also ensure integrities?

It's because of survival pressure :-/ I think we are falling in an unprecedentedly large-scale negative-sum prisoner dilemma.

This situation may be naturally evolved, or may be deliberately shaped by people or institutions. In any way, negative-sum can drive people to do irrational decision because the game is not beneficial in all cases.

Human economic systems tend to reward things that are easy to measure, own, scale, and control. That works pretty well for machines, markets, software, and bureaucracy, but it doesn’t work as well for living systems, which rely on diversity, backup systems, and local adaptation.

So we end up with this pattern: we capture the useful order for ourselves, then push the mess, waste, heat, and instability onto the environment.

This is the fundamental nature of human. We can't change it without higher-order regulation. Even in AI training, we assume there is one true distribution and optimizes for it.

We created these systems. And unfortunately, most of us are the unwanted in these systems at the same time.

to harden a system you need to spend more tokens discovering exploits than attackers will spend exploiting them

This is true until certain point, unless the requirement / contract itself has loophole which the attacker can exploit it without limit. But I don't think this is the case.

Let's say, if someone found an loophole in sort() which can cause denial-of-service. The cause would be the implementation itself, not the contract of sorting. People + AI will figure it out and fix it eventually.

They have spent, ... I guess like 10+ years?..., for fixing the slowness and bloated functionality of the File Explorer.

I still don't know how to create a native app so inefficient that, it needs to take more than 500 milliseconds to open a directory

Unison Cloud 2 years ago

Distributed function call isn't that simple. You will soon have various issues like authentication, authorization, compatibility between versions, throttling, retry (e.g. transient error), and so on :-/ The list is so long we could probably write a book about these

AWS Icon Quiz 3 years ago

That's why I think Adobe has made the smart move. They simply use English as the icon, color as the impression.

You can guess via the English if you are unfamiliar with the icon. And easy to spot via the color if you already know the icon.

Let's say if I forget the characters in the Illustrator icon. But I can recognize the icon is Illustrator because of its orange color.

I paid ~100 dollars to buy songs in Taiko no Tatsujin in iOS 4 via In-App Purchase. But around 2 years later they axed the game and I have no way to download it again. First I can still recover it via iTunes backup. But later when iOS 7 is published, the backup just couldn't run anymore. It was just gone. I should have owned them if I pay that amount of money :-/ It was a very fun game.

I had many 32-bits games in macOS but they were all axed, including big titles like Diablo 2 (not the resurrected one), Warcraft 3, and a lot of indie games. This made me realize why no sensible game companies would develop in Apple platforms, unless the games generate revenue continuously (which are mostly pay-to-win games)

God know what Apple would axe next :-/

I have switched back to Windows because macOS is like a second-class citizen in Apple :-/ I am programmer with many Bash scripts in macOS. But the switch is quite smooth actually (thanks to WSL 2).

With the similar price of M1 iMac, I can buy a Windows with a much better GPU (for gaming, deep learning, mining, or whatever) and a 140+Hz monitor. With a high refresh rate monitor the UI is so silk smooth. Expect iOS level smoothness when scrolling web pages.

However there is something I still want a solution. Say the continuation of the current website (between Edge and iPhone). Password synchronization and Notes (the official iCloud web Notes is almost useless).

JsonLogic 5 years ago

IMHO coding logic in JSON is similar to puzzle game. I would recommend to use jq instead.

The End of AMP? 5 years ago

I was thinking why the f*k all the websites were turning into g*gle.com domain? That breaks all the link sharing. I thought if this is the problem of the mobile Safari. Turns out it is G*gle's evil plan to dominate all the WWW traffics :-/

This Democrats vs Republicans story can go down to some low-level stuff. Some of the people "won" in recent decades. They typically live in city, having higher income, enjoying good life and the new technologies. And they have the view points that the others have never had.

Let's say, people in cities are more willing to use EV car. People in small city / rural area are less motivated because of weaker infrastructure. This is unfair to ask the people in small city to make this change if they are not provided enough help :-/

I am afraid people in two sides are getting more divided and more extreme. Don't forget based on the vote count, it is still a 50:50 but not 90:10 fight.

That really depends on how complicate the regular expression is. For me this debate sounds like arguing assembly vs C. We will need some sort of abstraction to develop a higher-level stuff in case we need it.

I love this site a lot. The fun thing is that, the missing of TLS connection will allow people to tamper this site which teaches people how to prevent tampering :)