Hacker Newsnew | past | comments | ask | show | jobs | submit | delaaxe's commentslogin

It says so in the last paragraph


Right, this whole debug_assert thing is just a tiny bit of syntactic sugar. Everyone starts their C/C++ programs with a dozen lines of #define that wouldn't be necessary if only the authors in the 1980s had the foresight to design programming languages to fit the taste of 2020s programmers. This eliminates one of those lines.

Rust provides some remarkably rich features to help you reason about the assumptions, preconditions and postconditions your code has, but debug_assert isn't one of them.


Can it? How is a child of a variable defined?



Speaking of continuity, how do you get a Youtube video currently playing on the laptop to pause and continue on the iPhone?


pause video on laptop.

go to youtube history in youtube app on iphone.

click the top video (the last thing you were watching)

youtube should automagically continue where you left off.

you must be logged into youtube on both machines.


There are probably multiple ways, but i find the most reliable probably through share -> airdrop to phone.


Good luck syncing notes on mobile with Git


…on iOS you can use the “Working Copy” app to sync Obsidian with Git:

https://meganesulli.com/blog/sync-obsidian-vault-iphone-ipad...


I sync Obsidian notes with Git on my Android phone and I don't see any problem. You can do it the tedious way using Termux[1] or easy way through obsidian-git[2].

[1]: https://github.com/termux/termux-app

[2]: https://github.com/Vinzent03/obsidian-git


there is also the open source MGit available in FDroid. it can work with arbitrary directories, so it is compatible with termux.


You don't need to "find an entity" to sell just $120m worth of BTC, just click the market sell button and you'll still get a decent price


I'd call the latter an audit


And cab drivers must still understand automobile manufacturing?


Developers for which the above argument is clever and persuasive are essentially equating themselves as the equivalent of cab drivers. Their libraries, frameworks, and hardware are black boxes to them that they manipulate in pre-prescribed ways (and sometimes just plain cargo-culting) to achieve a desired result. When their abstractions break down, they have to call in specialists to diagnose and repair them. Of course, they get very agitated and defensive when people point this out and, very much unlike what a hacker would do, try to diminish the value of expertise and skill and call it unnecessary. And, okay, for them, it is.

Yes, a cab driver does not need to understand automotive engineering because a cab driver is, in the non-pejorative, technical sense of the word, unskilled labor. Is that really the analogy you want to make though?


when it isn't clear that the translation has been done automatically, then yes


Heck most times it isn't even obvious that you are looking at a translation rather than the original text. Plenty of times I'll visit a website and find the text a bit weird, then realize it's because Chrome has automatically translated it to English from some other language.


What's wrong with commentary?


Invoke is like a Makefile but in Python: https://www.pyinvoke.org/index.html


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: