skysight-inc/HackerNews huggingface dataset:
Your question is actually is pretty important as upgrading long running applications is indeed non trivial problem.

The standard approach of versioning the whole workflow is OK for introducing new features but doesn't really support bug fixing. For example, a workflow is expected to run for three months. A bug is found at the end of this workflow definition. The bug is fixed and deployed as a new version, but all workflows that started up to the fix and used previous versions will keep failing for the next three months. So there is a need to patch workflow without changing its version.

The approach Temporal takes is that every part of the code is versioned independently. This allows deploying changes at any time, even for libraries shared by multiple workflows, and doesn't require running multiple worker versions.
For almost any real world application, where people's data and businesses are at stake, developer convenience is a distant priority to security. Of course it's great when we can have both, and making secure solutions the most convenient is key, but Rust doesn't quite get this right yet. If there's a security issue in one of those dependencies you are importing, how do you even know that you are impacted? What about when it's a dependency of a dependency? Making it easy for developers to suck in a huge TCB at build time has some serious downsides.
I love Straus yogurt. I didn’t know they had butter too.
I just switched to Firefox. Haven't used it in a long time. The one feature that helped me switch that wasn't there in the past was the Password import feature. Done and done. Goodbye Chrome after 12 years.
James B. Stockdale was Ross Perot's VP candidate in 1992. He didn't want to brag about his past and he was made fun in the TV because he had bad hearing (due to the beatings he received in Hanoi).
Is competition enough to avoid that manipulation?
That's a great way to summarize it.
How do you prevent forwarding ports? Then one needs to disable ssh access?

Nice that you were a person he felt ok with sharing the mistake with, I suppose that's an important part of being head of eng.
You've been breaking the site guidelines egregiously and repeatedly. We ban such accounts. Personal attacks are not allowed here, and that includes accusing others of shilling, unless you have some specific evidence. Someone else holding a different view from you does not count as evidence. You've been accusing others like this routinely on this site—for example https://news.ycombinator.com/item?id=24787402 and many others.

This comment is so egregious that I banned you for it, but I decided to give you a warning instead, because your overall history contains good comments. If you keep posting like this, though, we'll have no choice but to ban you, because protecting the commons has to take priority. You can't do this on HN, regardless of the evils you're attacking or feel you are.

https://news.ycombinator.com/newsguidelines.html
When you are roaming, your traffic should be tunneled to your home provider and go to open Internet from there.
A dishwasher.

I spent the last 7 years doing dishes by hand due to lack of space in my Appartments. Then recently I found out there are things called "countertop" dishwashers which are half the size of normal ones and fit neatly onto your washing machine.

No longer having to spend 3-4 hours every week on doing the dishes really makes a big difference for me.
C does not support strings, regex and maps natively. You have external libraries that can do it, but from my experience, they are painful to use. String manipulation in general is painful in C and probably not the best language for this demo.

However, if you really want high performance, you can go ahead and write it in C with a custom matching code and a custom data structure for keeping your word count. This will most likely result in hundreds of lines of code, and enough performance to max out a PCIe SSD. However that would be an different exercise.
Related: https://news.ycombinator.com/item?id=24656810
[Article author here] A few notes:

1. I tested with many different sites and configurations in order to narrow down the issue. The screenshots in the article are just a small sample of my tests, for illustration.

2. I'm not logged into Chrome or any Google services. I've gone through chrome://settings and disabled everything Google-related. Nonetheless, although I'm not using those Chrome features, this issue obviously could be related to the existence of those features in Chrome.

3. My goal in publishing the article was to get the issue fixed ASAP. I'm a browser extension developer, so I'm constantly testing with different browsers, including Chrome, Firefox, and Safari. It wasn't my intention to start a browser war.

4. I believe that Chrome is entirely open source, so I hope that someone familiar with the code base will take a look at this issue. The sheer size and complexity makes it a bit daunting for an outsider, but since Chromium has been adopted by other browsers such as Brave and Edge, there are outside developers already working on it.
Thank you for your comment.

We have an investigational product, which means it can only be used in the context of a clinical trial.

All products that eventually reach the clinic have to go through this step and rigorous testing before being available to physicians and patients.
FWIW here's a link to Tetris version from Vadim Antonov, who I believe crossed paths with Pajitnov back in the day:
http://www.kotovnik.com/~avg/old_page/tetris.c
As Vadim says: "The version of Tetris for BSD/386 which feels and looks like the original program running on the DVK-2M computer (this was a Soviet clone of LSI-11/03)."
This article is largely about the phenomenon of alienated conservatives fleeing California, and the cottage industry that cropped up for it; the circumstances of Covid are mostly incidental, and a quick google search for “leaving California” does turn up many articles indicating a conservative exodus back in January.

I was curious about the possible phenomenon of fleeing liberals pushing red states purple, but either that’s not a thing or the author just doesn’t care.

Anecdotally, I think liberals leaving NYC is a very real phenomenon, although I couldn’t guess if the numbers were enough to push the map.
Just did this. Thanks
As pointed out, in section 4 of S.2658 this is explicitly prohibited:

C) PROHIBITED CHANGES TO INTERFACES.—A change to an interoperability interface or terms of use made with the purpose, or substantial effect, of unreasonably denying access or undermining interoperability for competing communications services shall be considered a violation of the duty under subparagraph (A) to facilitate and maintain interoperability based on fair, reasonable, and nondiscriminatory terms.
High quality floor standing speakers, although I would say the average person can get almost the same QOL improvement from $500 bookshelf speakers.

I use them for music, movies/TV, watching videos on YouTube including technical ones, and even occasionally video conferencing.

Wearing headphones for more than 30 minutes is fatiguing and uncomfortable for me. Listening to people's voices on tiny laptop or iPad speakers is even more annoying.

Hearing the bass and midrange in people's voices makes them more intelligible, particularly if they have an accent. It's just 100% more pleasant all around.

And this is purely an aesthetic thing, but it's crazy to me that people seem to listen to music through their phone speaker, let alone their laptop speaker... to me it's unrecognizable.

----

Most people seem to be using the bluetooth speakers these days, which ~10 years ago were extremely bad IMO. Admittedly I found one that is pretty good recently.

But I still think it's very much worth it to have real speakers with drivers, speaker wire, and an amplifier in your home. (Or a powered speaker, although your options are more limited there, and it's more expensive.)

For traveling the right bluetooth speaker can be alright (there are many bad ones), but after a week of traveling my ears are "relieved" when I get to hear real audio again.

----

Also: a single kettlebell for ~$45, which I almost think of as a stretching/circulation device, and a bicycle used for 10+ years.
Buy gold.
"Grandstanding: The Use and Abuse of Moral Talk"
https://oxford.universitypressscholarship.com/view/10.1093/o...

>People used to hold out great hope for a public square in which individuals put petty disputes aside and engage in rational discussion about important issues. Unfortunately, public discourse today—especially on the internet—is full of adults behaving like poorly socialized children, acting out to show off for people they want to impress. In short, they engage in moral grandstanding, or the use of moral talk for self-promotion. Drawing from work in psychology, economics, and political science, this book develops an explanation of why people grandstand when they talk about morality and politics. Using the tools of moral philosophy, it argues that grandstanding is not just annoying, but morally bad. And finally, it explains what we can do to encourage people to support a public square worth participating in, by avoiding grandstanding.
I put myself in a semi news bubble about 6 months ago, no longer check the news daily or watch TV news. Now if I could only stop checking HN multiple times a day....
What's your advice to millions living in dictatorships on how to prepare?
Imagine, that millions of people living in dictatorships around the world have couple of years to prepare for collective actions against future falsified elections. What would you advise them?
Physical Visualizations
That's really cool. Thanks for another great tool.

Now...am I the only one that saw the headline, and wondered if it was a typo (la-you-tit)?
>What other outcome would be expected for foreigners meddling in affairs of other nations?

In most countries for helping people vote, no action at all really.
Just bought the audiobook. About to give it a listen now. Thanks.
I also instituted a news blackout about three weeks ago, with the intent to (perhaps) resume reading the news on Nov 5. In 2016 I spent an inordinate amount of time hooked on election news. This year I decided to spend my time more productively (as a Canadian, I can’t even vote in the US elections, so I’m ultra powerless).

Anecdotally, I do feel happier. I’ve also poured the time I previously spent on news consumption into studying and making music, and it’s just generally a more positive mental environment for me.

I may decide to switch to a less in-the-moment mode of news consumption, such as getting an Economist subscription and only reading the paper magazine when it arrives. Or maybe the NYT Saturday paper only, or something. I feel a duty to be an informed citizen but the ceaseless noise and sense of angry powerlessness doesn’t make me feel happy or satisfied.
I own a dishwasher but I never use it.. I happen to share Bill Gates' opinion about the virtues of manual dishwashing: https://www.cnbc.com/2016/09/30/why-bill-gates-loves-doing-t...
That seems liked quite a good way to handle things, because it lets you do things like cancel, restart, or migrate an in-flight instance on any way including dynamically based on its state. It also lets you handle any number of versions.
California is autonomous until it doesn’t want to be I guess. Pretty sure Newsom called Trump last week for Federal wildfire aid.

Edit:

Getting pretty heavily downvoted. It’s literally what Newsom said he did on Twitter.

https://twitter.com/GavinNewsom/status/1317197526529830912
You haven't answered my question? How I as a reader see which of the functions with different semantic but named the same was used in the Rust version, and how Rust helps me for that?
That makes sense. I forgot about the SoftBank investment.

Still, looking at the thread, I wish people would be less sarcastic and vitriolic when pushing for the spirit of open software to be upheld. Ideally, it should be presented as a win-win, instead of a how-dare-you.
MongoDB can sell an enterprise version with the buttons further apart
I feel that most people would benefit more from reading or watching financial news rather than political news.

Financial news is about numbers and events that pertain to companies relevant to people's everyday life. Financial news is immediately actionable, you could choose to invest your money based on your interpretation of what's going on in markets or various companies. Politics will occasionally creep their way in, but not in a way that dominates the conversation or appeals to emotion.
I don’t think anyone really “learns” CSS anymore. You just look it up when you have to use it.
European banks recently started toying with the idea of passing down negative interest rates to customer bank deposits, so that banks are less squeezed by reserves yielding negative returns (breaking the typical bank business model).

Just think, if CBDCs pass down the negative interest rates to everyone's cash, inside or outside of banks. That's not a currency I would be happy to hold.
A friend of mine bought a tabletop dishwasher even though he has a perfectly good, standard-sized one in his spacious kitchen. He says that cleaning baby bottles and things every night was tiring him out. Now he loads it every night and turns on the Baby Steam mode that sterilizes the stuff after cleaning. Apparently, the dishwasher needs no connection to the faucet. Pour in water from the top and allow the dirty water to run into a bucket.
It's not a big step up when the software was written by a single person who did it to learn rust and doesn't understand the problem domain, over a weekend. Software doesn't need to use unsafe blocks to have dangerous bugs and vulnerabilities.

I would take openssl over most (though not all, for sure) rust cryptographic code. OpenSSL's bugs have not been RCEs for the most part, and many of them could happily exist in rust. The cult like perspective that language choice can make software automatically safe in the absence of things like domain expertise or long term production usage increases risk even where the language itself theoretically reduces them. ( See also: https://en.wikipedia.org/wiki/Risk_compensation )

Especially with the deeply nested dependencies the rust ecosystem seems to me like a ticking time bomb for security disasters. The same bad practices exist in NPM and have already produced a number of high profile incidents, as it repeats in rust there really won't be any excuse but to admit that it resulted from an excess of hubris.
Totally agree. I think mlr is a wonderful CLI tool. It is very robust, and can handle/convert multiple tabular formats including csv, tsv, json, fixed-format, etc. It has a pretty decent text output formatting, with the --opprint flag.

I use to be very comfortable using awk/sed/perl/sort/uniq/tr/tail/head from the CLI for the sort of data cleaning this article is talking about. However, over the past year I've found I use VisiData https://github.com/saulpw/visidata for interactive work.

If I need to clean up the data first, I'll use mlr or jq as input to Visidata. If my data is too dirty for mlr, then I'll use Unix toolbox tools mentioned as input to mlr, jq or VisiData.

VisiData provides some ability to script, but when possible I prefer to have the shell do the scripting with all the tools mentioned as input to Visidata.
It'll be interesting to see what happens as more valley companies go remote (if they do). The cost of living is still outrageous in CA, even after some areas going down as much as 30%.

I've also been seeing more and more interviews/commentary as you mentioned. People in Texas concerned folks coming from places like CA are going to try to turn Texas "purple" and make it the same "regulatory mess" which they fled in the first place.
Yes, that's accurate: https://en.wikipedia.org/wiki/1990_Formula_One_World_Champio...
Show HN: Starboard – Python support for fully in-browser notebooks
Oh, I used that one a few months ago !

Another one https://cssgrid-generator.netlify.app/ that I liked too (and the author is super cool I think, from the github comments).
I'm talking specifically about Chrome. There's no web standard that says what a browser must do about autoplay requests, and Chrome permits a large number of sites to autoplay with sound on.

Web browsers are also capable of determining that autoplay on technically-not-load-but-automatic counts as autoplay. (There's even text in the spec about it.) In particular, they can tell whether it is in response to a user action/gesture on the site or not.
I agree that the second amendment is often debated as to its intended (or proper) meaning, but I think you're talking about first amendment protections here.
As someone who's spent a few decades working in C++ codebases I'm not sure how this is a Rust specific problem.

Last large-scale C++ codebase I worked on took 60+ minutes to compile when you touched the precompiled header.

In fact, I've found it to be common to have binary-only library dependencies in C++ which makes it harder to tell what those downstream dependencies do.
For example, the scourge of "people also ask" at the top of search results, that appears synchronously where the top result was a second ago, and has a randomly-generated container ID to prevent easy blocking. Not an ad, but, equivalently, content that I didn't ask for but that Google, for some reason, clearly really wants me to click on.
When security is a concern, developers can simply avoid using untrusted crates. But concerns over security are not reason for a package manager to not even exist. Pretty much every major language and operating system has a package manager. While supply chain attacks are real, they are not unique to Rust in any way.
HN has a noprocrast feature that might help. Go to user settings to configure
Nice! I think I would have figured it out faster if "save" were replaced with a checkmark. Usually "save" means persistence to me.
Yes, unfortunate domain name. It could at least use a hyphen: "layout-it"

Cool tool though! Great job!
Smart watch.
Worth a read for explanation as to why: https://rb.gy/81ygny
This is beyond the pale. If you post like this again we will ban you. This sort of flamewar is not allowed on this site. Regardless of what evil you're fighting (or feel you are) or what good you're defending (or feel you are), you're not allowed to set fire to HN in the process.

We've warned you before about posting flamewar comments to HN, including ideological warfare and race trolling. That includes religious flamewar also (e.g. https://news.ycombinator.com/item?id=18585085). Given that you not only kept doing it but have been doing it a lot, we should probably ban you, but I'm going to hold off doing that because you've also been posting good comments. We need you to fix this though, so please review https://news.ycombinator.com/newsguidelines.html and stop posting the kind of comments that this site is explicitly not for.
I think it's a subtle problem and it takes more than a few sentences to make the required nuance in the argument clear (or the one line "zingers" found elsewhere in this very thread). But just as one example, see my comment elsewhere in this thread about the use of globwalk in this example. That's bringing in a ton of code when compared to just using walkdir and checking the file extension directly. The crate ecosystem encourages this kind of emergent behavior.

People make the mistake of treating this issue as black and white: either you're for or against code reuse. But the reality is far more nuanced. Often, a dependency will solve a much more general problem than what you actually need, and thus, avoiding the dependency might result in solving a considerably simpler problem than what the dependency does. In exchange, you use less code, which means less to audit/review and less to compile.

Given my position as the author of a few core crates, I actually often find myself advocating against the use of those very crates when the problem could be solved nearly as simply without beinging in the dependency. (I did not author globwalk, but I did author its 'ignore' and 'walkdir' dependencies.)
What if you simply found a few projects people are working on and consulted for them until they got their MVP to market and iteratively improve the product market fit until they have a revenue stream that allows them to pay you for the work you've done? Then you can use that income to do it again for some new projects and get a good reputation built up. I believe you need to initially build a reputation in order to have something to attract clients. It's something I'm doing currently on the side. I both want to see my friends become successful and I also believe if my skills can help them achieve their goals it will validate my strategy. I have about 3 years of pre-sales engineering experience and lots of software development experience so I'm not far off from where you are it sounds like. Best wishes, I hope you find a nice groove :)
> They removed links to a story that violated their published policies.

I am not sure that it matters 'why they censored'.

Put it another way, I do not think it matters if they applied their own ToS rules correctly, incorrectly, selectively or whatever.

I am not sure that their terms of service, allow them to claim protection under 47.230 [1]

I am sure that the position that the fed government investigators will take.

If Twitter folks (or their crowd-sourced moderators, or committees) gray-out/remove/comment on/hide/edit content that Twitter claims 'is not theirs' -- then it is hard to imaging they are compliant with the 'non-publisher' protections of section 47.230.

Imagine if one is a for-profit business, claiming tax code for a non-profit organization.

Their Terms Of Service mentions: 'Making the world better and being charitable. We do not do business with bad clients'.

Does that make that business less criminally liable for claiming taxes of a non-profit?

To me it does not.

[1] https://www.law.cornell.edu/uscode/text/47/230
Use a 3rd party tool like BitWarden or 1Password for password management. It prevents browser lock in.
There are too many changes and refactorings for C++.

Additionally, if the project is owned or influenced by a corporation, the mythical programmers have little influence:

Some authoritarian ex-mediocre-programmer-turned-middle-manager calls the shots and is more anxious to "grow the team" than to ship robust software.
As long as the political "contributions" still flowing into the right politicians, you can bet if there is any change, it will be adding more regulation that is too expensive for small players comply.
The worst part is how easy it is to add derive and proc macros that kill compile times. I have a ~3k LOC project that blows up to over 45k LOC after `cargo expand` due to a dozen or so macros and the compile time is really starting to hurt iteration speed. Sadly, macros are by far one of my favorite Rust features.

I ended up paying for Clion just to get better debugger integration and a quick action for cargo expanding a file in the UI so I can copy paste the macro results into my codebase. I'm hoping that will improve incremental compilation times until I buy a Threadripper workstation.
If you a) run NFS on a public IP address, b) use sec=sys, and c) permit connections from any IP, then yes.

I think that can't be generalized to "The authorization scheme sucks" any more than if you run sshd on a public IP address and permit root logins with a password and pick a guessable password you can conclude that SSH's authorization scheme sucks. There's a number of stronger things you could do and they're perfectly normal.
I've also never seen ads in the Gmail app. Maybe it's because of G Suite.
California Is in Trouble – 340k Public Employees with $100k Paychecks
Try Slashdot 5-6 links a day feels a bit less addictive than the HN 30.
Board games are fun. And with kids around the house I'd rather play risk with them than seeing them spend all their time with their tablets. Distraction in the real world beats distraction online. I should know ;)