skysight-inc/HackerNews huggingface dataset:
You pointed at the I/O safety notice in Rust's documentation, but now you've pivoted to saying you were really talking about something different.

But wait a second lets go look at that notice again. Rust is yet again delivering a safety feature C++ just does not have. This actually wasn't in Rust 1.0 -- the safety notice didn't appear then because the I/O safety work landed much later. These safe I/O properties are really useful (even if they're not magic, hence the notice) and C++ doesn't have them.

What's particularly going on here is that on a Unix Rust has types named OwnedFd and BorrowedFd which represent file descriptors, these are quietly just a 32-bit integer with a niche, because -1 isn't a valid file descriptor, that's a niche, so Option<OwnedFd> is the same size in memory as a 32-bit integer.

The result is that Rust gets to do the same trick with file descriptors as it does with pointers - a Rust program working with fds uses the same size data structures as you'd write native C (or thin C++) to work with file descriptors, but where that C or C++ would need to remember to write checks for the -1 file descriptor in Rust that's seamless anyway because it is Option<OwnedFd> so that's None.

On Windows they don't have file descriptors, but they do have Handles, the Handles are much more muddled, and so we can't optimise them as well (actually it's a wonder Windows manages to keep all these balls up in their air they're juggled so frantically, there's a lot of references to Raymond Chen's blog) but again Rust provides I/O safety for these types.

This is the purview of a programming language and Rust does a much better job, I wouldn't have gone out of my way to call attention to it, but you did apparently because you mistook this feature (which C++ doesn't have) for a different feature which C++ is bad at.
I guess the "and" on 3(b)(i)-(ii) clears up my concerns of "any" website/app.

(B) a covered company that—
(i) is controlled by a foreign adversary; and
(ii) that is determined by the President to present a significant threat to the
national security of the United States following the issuance of ...

Thanks for the link to the text.
I'm interested to see how this plays out. TikTok is popular enough that I can imagine it's making enough money outside the US to just let them ban it and not sell. The whole thing is interesting to watch from a non-China/US perspective. It feels like a move to make the US government look strong to its citizens. A move that, unusually, can have bipartisan support. It feels like propaganda really. And judging by the comments here and elsewhere it seems to be working. Of all the 'threats' faced by the US, a Chinese social media app is really at the bottom of the totem pole. US elections are far more influenced by nefarious actors on US owned social media platforms - but nobody wants to do anything about that.
Another way to look at it is the fact that China does not let American social media in its market. Why should America give China access to it's markets when that's not reciprocated?
Atlantic articles in a nutshell.
Driving into water is incredibly rare compared to having rain enter the sensor and unintentionally open all the windows.
Show HN: Diagramming tool that helped me understand codebases much faster
I built Code Canvas, a canvas where we create diagrams and link their components to source code in a two-way mapping:

1. Click on the diagram component to reveal the underlying source code

2. Click on the source code block to reveal which functionality it serves in the big picture on the diagram

- The app also has a simulations feature where we can create tutorials and runtime simulations directly on the diagram.

- The diagram stays in sync with source code changes. It has a companion scanner that runs on new pull requests to ensure the relevant components of the diagram are updated before merging the PR.

This app allowed me to understand code much faster and also offload the mental fatigue of trying to reason up the big picture by browsing through endless lines of code.

I recommend clicking the "Learn More" button for a 1-pager summary before you hit the demo button.

- App link: https://code-canvas.com
- Discord server: https://discord.com/invite/t3ezMyMPqr

After the demo go back to the main page to load your repository and start building your diagram!

Nasser
-------

P.S. This is the first time I am putting the app publicly, so any feedback is appreciated!
> Sigh. If you refuse to actually read the findings of Feist...

Well, since I've litigated this issue in federal court (with a major credit bureau as our client), I feel pretty confident I have read Feist in its entirety quite a few times. Perhaps you should reconsider your approach here.

> the piece of mind for closing a possible legal venerability

This is moving goal posts. The advice I would give a client is a question of acceptable legal risk and cost-benefit analysis. By contrast, you claimed that there was "a very good argument for the wordlists meeting the criteria for copyright," which is a different question that sounds solely in legal analysis.

I have only done a cursory search, but I am not aware of any case law that establishes that a list of words based on whether the word is known, rather than on a creative editorial decision, is amenable to copyright. When asked, you became emotional and condescending, rather than providing any support for your position. As it stands, there appears to be no basis in law or fact to support your "very good argument."
Tell that to China, where there is one time zone for the country (when by geography there would probably be three or four for an east-west oriented country like it is). Yes, the official time is far closer to solar in Beijing than it is in Urumqi, but it is hardly unworkable.
There was one recently in Finland. Here’s an article that reports it as a failure:

https://phys.org/news/2021-06-finnish-basic-income-short-ter...

I picked that one because it seems “fair” in the sense that they clearly are taking a negative spin on it, and I like basic income. It includes lines like:

> Moreover, even though all job search requirements were waived, participation in reemployment services remained high.

They label this as a failure, because it didn’t increase the participation. But, it looks like a fairly good outcome to me.
My point is more that: the engines are built by a different company, the tickets are sold by different companies, the airports are run by different companies. I am not making a distinction between large aircraft and medium aircraft, I am saying that Boeing is cog in a much larger wheel, and market dynamics dictate much more than meets the eye. As I mentioned, I am not on Boeing's side and the cost cutting is obviously having impacts. We are arguing about the idea that you think it is a simple fix and common sense fix, and I promise you it isn't. But if I am wrong, I guess I hope to see you in the boardroom soon!
Okay, let's keep timezones. You still don't know if it's appropriate to call your friend in Australia at 8AM their time, even if it totally is in Switzerland. Nor do you know whether calling at 8PM will interrupt someone's dinner or not.

Even within the same timezone, countries/cultures differ. And even within the same country/culture, people differ.
Yes, it was done with Grindr in 2019.

https://www.cnbc.com/2019/03/27/us-pushes-chinese-owner-of-g...
"There are an estimated half a million -->redwoods<-- in the UK and more are being planted, partly due to their public appeal. In the wild, they are endangered with fewer than 80,000 -->giant sequoias<-- remaining in their native California range." (arrows mine)

Giant Sequoias (Sequoiadendron giganteum) and Coast Redwoods (Sequoia sempervirens) are two different trees!

Note: It seems that my California nomenclature uses "Redwood" to refer specifically to Coast Redwoods, whereas other regions use "Redwood" to refer to all 3 species of Sequoioideae (Coast Redwood, Giant Sequoia, and Dawn Redwoods"). Also, funnily enough, Coast Redwoods are of the genius "Sequoia", whereas Giant Sequoia are of the genus "Sequoiadendron"

I've long been aware of a thriving population of S. Sempervirens (Coast Redwoods)[1] and a non-zero population of S. Giganteum, but such a thriving population of S. Giganteum is new to me.

The article focuses specifically on S. giganteum, but the references to "redwoods" throw me off.... I'm sure it's accurate, but I'm going to have to read the source paper.

For those in Southern California, there's a grove of Giant Sequoia's on Mount San Jacinto that were planted in the 70's by the Forest Service. [2]

[1] https://www.redwoodworld.co.uk/locations.htm

[2] https://gizmodo.com/these-sequoia-trees-are-thriving-175-mil...
Given that this passed by a wide margin and largely bipartisan support, it is very unlikely that litigation challenges would be able to stop the ban.
This is fascinating. I think this nuanced approach to shifting the perspectives and beliefs of the population of an adversarial nation is exactly the threat that is being missed by other commentators saying "what does TikTok do that's so bad anyway?" The point is that it is extremely subtle and yet very powerful...if China can convince US citizens that China deserves to rule Taiwan, for instance, the US government may find itself without the popular support or political will to take action to protect Taiwanese democracy in the event of an incursion by China.
Yep, and that's why physically defeating the device is always better than relying on the other party to honor their word. Disconnect the wireless module/board and they can't send your data.
Wheel falls off United Airlines Boeing 777 and crushes cars in San Francisco
Sweet. There's already a team pursuing a class action over the shutdown of The Crew. Here's another opportunity to pursue.
> boeing is needed for national sovereignty concerns. Same reasons all other countries have flagship carriers.

Is there a connection between flag carrier airlines and aircraft manufacturing? That never occurred to me, since most flag carriers fly Boeing and Airbus like everybody else.

But I guess for larger states, like Aeroflot / Air China, they probably subsidize the local manufacturers?

In any case, I'm inclined to push back against your assertion that this is the "same reasons [sic] all other countires" have them - I don't think very many flag carriers are supported because of manufacturing concerns, or that the relationship is similar to the US State's relationship to Boeing. That seems like a stretch to me.
Why do you need a huge asterisk about the editor control library this app is using? Many text editors follow this pattern:

Notepad++ : Scintilla
Notepad.exe : Win32 EDIT control
TextEdit.app : NSTextView

It’s not like you can download and run Tiptap as an application, right?
JIT compiling is the term your most used to it being used with but JIT has been around in other fields for longer, and just means what it says... Just In time :)
As another interesting idea: How about abolishing time zones so a day is evenly distributed around the earth. I.E. your clock is slightly faster/slower than your east/west neighbors clock is. And since your phone is a computer with gps it can smoothly add and remove time as you travel east/west.
...what 'intelligence' would they be gathering though? What actionable intelligence could be cleaned from someones TikTok viewing habits?
> Login.gov does not provide a sufficient level of identity assurance (IAL2 [1]) to serve as the IDP for this pilot and IRS functions in general (ID.me liveness check and facial recognition).

IRS functions in general when conducted via paper or electronically via existing third parties also do not have to this level of identity assurance, so its kind of hard for me to believe that this is a hard minimum for the function. That justifies compromising privacy.
> Machines currently are at an amateur level, but amateurs across the board on the knowledge base.

No, and that is a one of their limitations. LLMs are human-level or above on some tasks - basically on what they were trained to do - generating text, and (at least at some level) grokking what is necessary to do a good job of that. But, they are at idiot level on many other tasks (not to overuse the example, but I just beat GPT-4 at tic-tac-toe since it failed to block my 2/3-complete winning line).

Things like translation and summarization are tasks that LLMs are well suited to, but these also expose the danger of their extremely patchy areas of competence (not just me saying this - Anthropic CEO recently acknowledged it too). How do you know that the translation is correct and not impacted by some of these areas of incompetence? How do you know that the plausible-looking summary is accurate and not similarly impacted?

LLMs are essentially by design ("predict next word" objective - they are statistical language models, not AI) cargo-cult technology - built to create stuff that looks like it was created by someone who actually understands it. Like (origin of term cargo-cult) the primitive tribe that builds a wooden airplane that looks to them close enough to the cargo plane that brings them gifts from the sky. Looking the same isn't always good enough.
Of course nobody is blaming literal MBAs. We are blaming this kind of managerial culture best symbolized by Harvard Business School and MBA programs.

The whole idea that no matter what a company does, a generic degree holder, with an education heavily centered on accounting and finance can be the ultimate decision maker without taking into input any other aspect behind financials and accounting.

Most business type have this misguided idea that we engineers don't value business and financial knowledge. We do, what we question is the hubris of business people that seem to believe that domain knowledge is not important, and that managing a soft-drink manufacturer is the same as manufacturing a tech company. It is not.

The problem with your analogy, is that no nurse are being taught on nursing programs that all that matters is what they learn on their programs. If this happened, yes, nurses would be worse nurses by having those degrees.
https://sts-news.medium.com/youre-doing-it-wrong-notes-on-cr...
> Never mind the destructiveness of wanking itself.

I could maybe, maybe! buy that porn has some negative problems.

But if you seriously think that self pleasure has any negative problems it invalidates everything you are trying to say that I don't even feel like taking the time to respond to the rest.

Self pleasure is an incredibly important part of discovering yourself, study after study has proven that.

Everything else you said is just the usual puritanical views and I am not going to hold Isreal up to a beacon of what societal views on sex should be.
I'm not advising anyone else about how they deal with their taxes, so I'm doing nobody a disservice.

If not wanting to have my data exposed to yet another data broker makes me "super-privacy-sensitive", then so be it. As currently implemented, this program is simply a nonstarter for me because of the use of id.me.

I am immensely disappointed because I really want to be able to file my taxes in the way this program is aimed. Well, what I actually want is for the IRS to compute my taxes for me and send me a bill, but this would be better than nothing.
The basic benefits of free trade (based on comparative advantage) do not require both parties to engage in it

They make a superior dancing video app, so then engineers in silicon valley can go work on something else instead
Maybe I should say half as much hardware. Performance is too subjective. But nobody else can charge $800 for an extra 64g of ram. My point is their thoughtfulness about their ecosystem is what allows them to de-commodify their hardware. There’s a price for RAM, and a price for RAM in an Apple computer.
China bans a shitton of Western websites. What's wrong with reciprocating? Free trade should go both ways, shouldn't it?

I would definitely be more okay with allowing Chinese websites/apps in the US if China wasn't banning so many Western ones: https://en.m.wikipedia.org/wiki/List_of_websites_blocked_in_...
This is embarrassing. Silicon valley couldn't compete with garbage like YouTube Shorts and Instagram Reels so they lobbied congress.
Here's a must read that helps newcomers understand one of the problems Guix attempts to solve: https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_Ref...
Without knowing the specifics of your situation, I would slightly suspect client/configuration if you’re encountering encoding issues. In my experience, integrating ssh and ssm is quite stable (provided you’re using OpenSSH and not a specific language client’s own implementation of the protocol).
People so eager to defend Apple from "monopoly" that they completely ignore the point, which is equally valid when you are not a monopoly but have a extremely sturdy market penetration.
What makes you think this isn't at least partially AI generated content?
Transparent alternative to Trustpilot to avoid fake reviews
This is a solution that is still in validation phase.
New York Times denies OpenAI's 'hacking' claim in copyright fight
24/96 for audio distribution makes no sense. If you don't believe me, fine, I'll have to link this for the 1000th time: https://people.xiph.org/~xiphmont/demo/neil-young.html
> A lookup table for what?

Probably just about anything you want, as is already commonly available.

Mostly, I expect nations would have official business hours for public employees which would be easily searchable if you needed to call someone on another side of the world, which is not any more difficult than looking up what time zone they live in is now.
Heng Li recommends Rust (author of some of most used bioinformatics software)
At its time the L-1011 was the most advanced passenger jet in the skies. https://en.wikipedia.org/wiki/Lockheed_L-1011_TriStar
The live service craze reminds me a lot of the WoW clones that got made in the years following WoW's success. As with MMOs, I think an average person's ability to interact with multiple live services is limited. Keeping up with more than 2 or 3 "seasons" or "battlepasses" is usually impossible unless you have the kind of free time that only kids in school have. Also just like with MMOs, the quality and quantity of new content generally depends on revenue coming in. This sets up a very strong "winner take all" dynamic where the most popular games can ship large, frequent content updates while smaller games often dwindle and die off. It seems like there's little room for modest success with a live service unless you're catering to a niche genre or audience.
It turned my black dog into a beagle!
Obsidian isn't terrible, I just wish I could open a single Markdown file. README.md is pretty common; any arbitrary location can contain a .md file that I might want to open.

Marker looks a lot worse, though. I gave my 'project' a name and selected a folder—one containing a big hierarchy, tbf, but the app gave no guidance. All I get now is a blank window, even when I restart. There doesn't seem to be any menu item that will let me create a new project or recover from this state. I guess I'll have to reinstall...

This is the problem with the 'project' (or 'vault') approach, IMO—if I'm just opening a file, I know what that is, what it means. When your app revolves around some bespoke notion of whatever a 'project' is, and that's the first experience of your app I get, that's not great.
Got it. I think they get banned for a while and then fold. Unless Beijing decides to take a hard line, which they might, though hundreds of billions funds a lot of R&D [1].

[1] https://www.theinformation.com/articles/tiktok-owner-boosts-...
https://archive.is/3qz8h
The URL works better with spaces instead of plus signs.

https://neilyoungarchives.com/news/1/article?id=MY%20RETURN%...
So in the summer you want school to start 4 hours after sun up, but in winter you want it to start 1 hour before?
West painted itself as the defender of freedom, democracy and free markets

China is not free, not a democracy, and not a free market, so there no hypocrisy. What was crazy was supporting the one sided relationship where we export our industry and production capacity to China while they block and steal from our businesses.

I'd support TikTok in the US if China gets rid of their firewall.
FYI: TikTok is banned in China
I would probably just look up sunrise/sunset for the country.
See also, one Australian town's insistence on UTC+08:45 despite not being recognised by state or federal governments https://en.wikipedia.org/wiki/UTC%2B08:45
42 bit is not that much to begin with, you can brute force a simple cryptographic hash in minutes.
TikTok is banned in China.
Yeah it’s sickening how the CCP is able to push their hoof cleaning agenda on americans /s
Is every heterodox narrative immediately "intolerance" in your view?
This is really a stretch of the situation. Boeing models are commercially competitive and they share a marketshare that is just about equal to Airbus.
The thing that would probably be in the lookup table would be official government business hours or something of that nature. It could also be schools, shops, or restaurants. That gives you a good idea of when "daytime" has started regardless of if it is winter or summer.
McDonnell Douglas was when Boeing went to shit.
You're limiting the information US Citizens can get from the outside world - therefore you are limiting their freedom of thought and access to information.

I think it's a dangerous road to go down, the US is already extremely inwards facing and suffers from not knowing much about the outside world. I've had hundreds of US Citizens talk to me face to face who don't know what language we speak in Australia, don't know we use different money, not know the seasons are backwards, not know it's a 15 hour flight, not know we don't have a president, etc. etc. (this list is endless). US Citizens are not very well educated about how things work in other countries, clearly to their own detriment.

Just yesterday I was talking to a friend in the US saying my friend has 18 months fully paid maternity leave and he almost fell over. His wife got 10 weeks.
Many countries do things better than the US, and it's dangerous to limit US Citizens learning about that, else they will have no notion things can be (and are) better elsewhere, and should be improved.
just another few years of solving moderation before you can finally add support for basic media types
JWST confirms Hubble tension, challenges current cosmological understanding
Ah they beat me too it: https://qntm.org/continuous
Scaling Waymo One safely across four cities this year
Age Determination in Fish
I mean I kind of felt like the website is unique, classy, and likely speaks to a part of the author's character.
No no. The idea behind abolishing time zones is that everyone then lives on the same schedule. It's just that for some people the work day will be in the middle of the night, etc.

Some longitudes would probably wind up more sparsely populated than others, but the world's large population of night owls would finally be able to truly coexist with...you lot
I always felt weird about this, i still cant really wrap my head around userspace tcpip stacks, it just feels... weird
Can you build a SQL VIEW and access that from teable?
Mysterious 'unparticles' may be pushing the universe apart