skysight-inc/HackerNews huggingface dataset:
You can do something like this on Linux:

inotifywait -m myfile.py -e 'CLOSE_WRITE' |
while read line; do python3 myfile.py; done

It will be more responsive than a busy while-sleep loop.
You're right. I was thinking about the decoding side (where total power for displaying the video should be minimized) but was unclear above.
Yes, that's true for me too. I've been practising 16:8 IF for almost ten years now and this is definitely one of the reasons it works. I eat big meals consisting of traditional foods. I see others people's "diets" that don't work and they are always weird foods that aren't actually nice and weird portion sizes that aren't satisfying.

The other thing I've realised is it doesn't have to be about watching the clock every day. What I actually do is just eat lunch and dinner every day and that's it. It doesn't really matter when those meals are, which means I can adjust easily to accommodate socialising, for example. The diet that works is easy to adhere to. If you have to think about it every day and shape the rest of your life around it, it will not work (unless you're a professional athlete maybe).
If you send someone several TB of random data on hard disk, you can now very securely send them several TB worth of encrypted data. It's many years of audio of reasonable quality, 1tb is about 72 days of raw 44.khz 16 bit stereo audio. With some speech codecs, that could be years of voice data. One time pad can be bigger than a notepad.
This reminds me a bit of mdwiki http://dynalon.github.io/mdwiki/#!index.md which was just an index.html in a folder of markdown files.
I would suggest having a look at Microcks (https://microcks.io) as a way to produce mocks from OpenAPI contracts, Postman collection or other assets...

Full disclosure : I am the founder of the project ;-)
Windows 9x had long file name support.

If we’re speculating, my guess is that they chose “x64” for symmetry with “x32”. Or woodruffw’s suggestion: https://news.ycombinator.com/item?id=23513591
I got it working well in a large project but I basically designed auto reloading into deep parts of the framework. It's not something you can safely bolt on, and I'm honestly not sure I recommend the sanity impact of trying to build it properly (e.g. ran into a bunch of memory leaking even once I had it working safely). But there are some kinds of programs you can't really restart on every change.

The biggest caveat of these kinds of single file reloaders is they completely fall apart when you import between your modules. For example, if `a` does `from b import obj` and `b` does `from c import obj`, and you modify `c.py`, `a` and `b` will both have a stale reference to obj (which might be a primitive or even interned type like a string or an int, so it's not like you can mutate it as a solution).
Showcase your project/product for free
This implies that marketing isn’t a “need,” which couldn’t be farther from the truth — great product is easier and easier to build so great marketing becomes more valuable and more essential every year. Most SaaS startups succeed or fail on the back of their marketing org. Engineering can generally build what’s asked of them.
Hey, this looks great.

One thing you might want to consider is having one domain for a website about collectednotes (collectednotes.com) and another for hosting user's blogs (collectednotes.blog for example) because it is currently not clear what urls are official and made by you and which are just blogs made by anyone.

For example, https://collectednotes.com/accounts/ is genuine and made by you whilst https://collectednotes.com/account/ is a blog I just created. To me there seems a very real risk of users being mislead.
Sorry, it is Windows that is lagging behind. As a Linux user I find myself insecure running applications from the web. Distribution maintained packages is the way to go. And package managers has GUI shells - last time I used it was Ubuntu Software Center [1] on Ubuntu 9.10. Looks like these days it is Ubuntu Snap [2].

Windows finally catching up with winget [3], already GUI shells by 3rd party developers [4], some day may be part of the installation. I do not know why it took so long, there is no Chrome both on Steam Store and Microsoft Store. Looks like Microsoft tried to bend developers [5], but what's with Valve?

Searching and downloading of installers, keeping them is such a crappy experience. On Linux is 1000% better.

[1] https://en.wikipedia.org/wiki/Ubuntu_Software_Center

[2] https://en.wikipedia.org/wiki/Snap_(package_manager)

[3] https://github.com/microsoft/winget-pkgs/tree/master/manifes...

[4] https://www.google.com/search?q=winget+GUI

[5] https://www.theverge.com/2017/12/19/16797358/microsoft-googl...
This ignores the impact of advertising and FB's advertising algorithms, which promote stories from Fox etc. onto the feeds of users who otherwise wouldn't see them. Thus I don't think you can say this is an accurate representation of what people do "when left on their own."
> You can just store it at the datacenter.

What do you think is ‘the’ data centre? There’s no single universal data centre. And most people don’t have a data centre, or access to one.
Very well executed. I think I’d be a heavy user if the focus was more on private rather than public notes.

Markdown plus an API feels like a great idea. Apps like this would be very useful for teaching the kinds of thinking used in computer science.

They encourage writing instructions for the computer in plain text and then building upwards from there. This is a much more powerful way of operating a machine than the top down with apps, in the old ICT style of learning.

Markdown is a great introduction to the concept of telling the computer what to do, rather than doing what the computer lets you do.
I love how the creator just rolls with the adverse-like feedback though! Seems like a cool dude!
Very large yards make for good neighbors.
It has to encode 32 GPR's and three-operand instructions so instruction encoding is a bit cramped, even in 32 bits. 16-bit encodings are reserved for "compressed" special-case forms of existing 32-bit instructions.
Someone get me Deadmau5's number! https://music-grid.surge.sh/?fbclid=IwAR3Xc0-eQGjjQxebL2UJW4...
Let’s jazz
https://music-grid.surge.sh/#1353-1348-2568-2580-1354-1288-2...
You know that Twilio also has... documentation... right?
Even a "normal" 3 meal pattern involves fasting overnight. That's why we call the first meal breakfast. This is just extending that overnight fast to 16 hours.

I think if you tried to eat 3 meals in 8 hours you'd eat smaller meals. Otherwise you'd be stuffing yourself full.
Sorry, but that's not really hot-reloading. It's only reloading a file.

Why do we only get hot-code-replacement and edit-code-and-continue-debugging from microsoft and sun(oracle)?
It is very good, but the reader needs to be aware that the replication crisis in psychology did not stop short of the experiments described in the book. Caveat lector.

https://retractionwatch.com/2017/02/20/placed-much-faith-und...
Google adds experimental setting to hide full URLs in Chrome 85 address bar
I like that the business plan is made clear.

Not explaining how they make money is one of the top reasons I won't use a "free" service.
Ask HN: How is Wix able to promise unlimited bandwidth?
A number of website builder (or web hosting) companies advertise unlimited bandwidth, possibly along with unlimited storage. Most of them have fine print in their T&C which cap these "unlimited" bandwidth/storage offers using some other technique. For example:

- BlueHost: https://www.bluehost.com/unlimited-hosting & https://my.bluehost.com/hosting/help/2274

- DreamHost: https://www.dreamhost.com/legal/acceptable-use-policy/

- Squarespace - https://www.squarespace.com/acceptable-use-policy/

- Vercel - https://vercel.com/docs/v2/platform/fair-use-policy

I can understand unlimited storage (with prohibition for things like file sharing, image hosting, etc), because storage nowadays is very cheap.
However, that is not the case with bandwidth, especially when you're using 3rd party CDNs.

Wix seems to be using a mixture of Fastly and Cloudfront, but doesn't seem to put any rider/fine-print on bandwidth usage. Consider their support page on storage and bandwidth: https://support.wix.com/en/article/about-storage-and-bandwidth

How are they able to deliver on this promise? Isn't this a liability sitting on their balance sheet? Or, if you cross some unspecified bandwidth threshold, do they terminate your account using some other generic clause in their legal T&C? Has anyone faced this first-hand?
> How do you start? Agatston told me to start by skipping one meal a day, usually breakfast.

This sounds especially odd to me, as skipping breakfast has long been one of those well-known ways to accidentally gain weight... (explanation typically being that you end up hungrier at lunch/dinner and eat more over the whole day)
It doesn't need to because it's implementation details.

Where it's needed such as in modelling the very important implementation detail of parallelism on multi-core machines to ensure correctness (such as with model checkers like Spin) then stuff like buchi automata are used, but that's dragging maths into the real world to solve real world problems. Turing machines don't live in the real world.

Please just stop.
Same worked for me, not eating anything after 4pm greatly reduced my refulx. Also maintaining strict sleeping and eating schedule helps.
> blocking the caries vaccine for decades

Please give more details.
How Did Singapore Avoid Police Brutality Trap? Conscription and Local Police
For those using Bazel, there's ibazel:

https://github.com/bazelbuild/bazel-watcher

It's great, I use it all the time, especially with unit tests.
The Human Rights ideology is a con. No one is willing to make it real, i.e. to wage war to force other nations to conform to it. Absent that it will continue to be internationally irrelevant, window dressing that occasionally effects marginal decisions and never impacts anyone powerful.
VisiData: An interactive multitool for tabular data
Google has a ~0.2% hiring acceptance rate, which is much more selective than the vast majority of software companies. For Google developers to be "normal people", the hiring process would have to be absolutely terrible.
This is just one of my favourite things I’ve played with in ages. Thanks for making it!

Here’s one of my many attempts at tunefulness https://music-grid.surge.sh/#162-2628-33-16-130-593-2048-388...

Can someone explain how it works musically? Why does (almost) anything you make sound good?
That's what I mean, if you don't intend to become a weird coffee person black coffee is just not a pleasurable experience for most people.

Starbucks made coffee appealing for a vast amount of the population by legitimising to drink 350ml of milk with lots of sugar by adding an espresso. If you are part of this crowd, the sad truth is that zero carb energy drinks are the more realistic morning beverage alternative for you.
Not to mention when the processing of huge set of data is not for having a short answer but to process the data into an other form, the same size or still big.
Even if the data is massively distributed from the start the communication and aggregation of distributed data between processing or client nodes might be a considerable bottleneck. Different aspects might desire different logic for distribution otherwise the performance suffers, but rearranging for the sake of processing might ruin the overall performance of the task.
I think the best choice is still Raspbian. I was running Raspbian+Fvwm2 at the time.
I think he didn't mean X, Y, Z as other places but as colleagues / co-founders? So a candidate that is able to tell you something like: "I'm a great engineer, but I really learned a lot from working with Bob who is amazing at building teams and Mary who is the best at finance" demonstrates being a better team player than someone that "can do it all" themselves.
We can't even design systems to properly take advantage of multiple cpu cores yet.
I disagree. I've had all of the most expensive coffees including Blue Mountain and Kona. I just don't think coffee is nice without some fat and/or sugar. It has a really bitter, astringent aftertaste that just isn't pleasant. I don't know why it's controversial. There are many foods (maybe even most foods) that aren't particularly nice on their own.
I'm doing exactly the same since almost 1year, but still I'm not seeing much benefit from it. Like I still have belly fat, I wonder how do you eat when you break the fast and how do you avoid binging? I'm not gonna lie, after 15-16h I start to feel hungry and as soon as the fast finish I tend to eat something pretty caloric & fatty (ie: cheese or nuts)
Kicking Complexity to the Curb with AWS Sam
This is neat :) I hope my 32 row composition sparks joy in some https://music-grid.surge.sh/#512-1024-0-2376-132-16-8-1188-6...
The explanation is a load of BS. This "brief disappearance" has been going on for >12 hours now and as far as everybody is aware only one person is affected by this.
That's no worse than what applications often already do when they use a simpler file format.

But you also have to worry about SQLite (reasonably) refusing to operate because it tries to make a locking call and gets an error response. I think there are options to turn that off, though.
Listed.to seems really cool as well
Well, at least the title is exactly informative, instead of making me guess what the conclusion of the article is about.

I tried IF for a while. Had mixed results (mostly positive, just not as positive as expected). Willing to try again.
Roasted *, but I disagree. Nespresso is easy, but it's expensive and even at best it tastes like hot garbage. You can grab aeropress for like 30 dollars and throw in a metal filter for like 5 dollars and that's already capable of making single cups of excellent coffee for years.

My current aeropress and filter are from 2012 and I'm not really in need of an upgrade any time soon so it's honestly a very affordable brewing device.

I do agree on the beans though, freshly roasted beans are more expensive and on top of that a grinder would also be a good idea. You can get a decent electric burr grinder around here for a bit over 60 dollars. On average, I buy both cheap and expensive beans, the cheaper ones are around 10 dollars per kilo and the more expensive ones are around 60 to 70 dollars per kilo. Quick maths tells me that a 8oz cup of the cheaper stuff comes down to about 13 cents and the more expensive one just under a dollar so definitely cheaper than any cafe and this is 3rd wave artisan type coffee we're talking about.

Aeropress is basically idiot proof as well, anyone can make a decent cup of coffee with it so I don't really buy into the Nespresso argument here either. For an investment of under a hundred bucks, you can most definitely enjoy extremely good black coffee at home with very palatable running costs as well. I'm happy to expand if anyone has _any_ coffee related questions.
You: It’s immediately clear that it’s not a nuanced argument he seeks to make, in his view protestors and rioters are one and the same.

Tom Cotton: Those excuses are built on a revolting moral equivalence of rioters and looters to peaceful, law-abiding protesters. A majority who seek to protest peacefully shouldn’t be confused with bands of miscreants.

You're doing exactly what Cotton warns against just a paragraph later from the part you quote. I'm actually baffled.

If we can't agree on things said in a single straight forward op ed, how are we (humanity) ever going to have any real conversation? Is this the Great Filter of Fermi's Paradox?
"Codomain and range are not the same" - Umm. Interesting. Not aware of this.

"I learned about 'one-to-one and onto' functions instead of 'bijective' functions" - For a beginner? The former. Past beginner? The latter. It's context.

The "strange symbols" I only came across when searching for are described as double-struck. I only found that recently. I only found out yesterday they were also called Blackboard, while replying to others here. Difficulty in finding symbol meanings are no way the hard part of maths, though.
Any plan for Android? Also, native desktop (Mac / Windows) app?
That's why Hadoop, for example, moves the calculations onto the storage nodes, if possible

You make a good point about I/O and I actually wanted to comment something along the lines of "why not Hadoop?" since the programming model looks very similar but with less mature tooling.

However, now I think about it, the big win of serverless is that it is not always on. With Hadoop, you build and administer a cluster which will only be efficient if you constantly use it. This Serverless setup would suit jobs that only run occasionally.
I find a lot of contemporary art awful.

Yes, I did not do it because I find it awful. When something is "though provoking" (a blank painting, or the urinal discussed elsewhere) I am simply reinforced in my opinion that people think differently (and obviously my thinking is the most appropriate). There is nothing to provoque here, just diffrent galaxies of concerns and thoughts.
I know this is the standard advice and surely people need to pay attention to their diet, but exercise is not so marginal.

For example running or swimming for an hour seems to be around 8-900 kcal based on various websites.

Now that's not nothing, but also people won't do it daily for sure. I think nutrition advice is really hard because people already (have to) factor in the likelihood of following the advice by a general average person, their propensity to lie to themselves to be in denial, etc. If you actually (not just in your daydreams) do a lot of daily exercise (not just drive to the gym and read Facebook), it will matter in terms of calories.

I'm not saying this to counter your advice. Advice is hard, it is tangled up in motivational systems etc. but sometimes people may get the wrong idea in the other direction. It is true that exercise cannot make up for bad eating habits especially if you eat back more afterwards because you believe you earned this. I think that whole type of relationship to food is unhealthy (junk binge is reward, fast and exercise is punishment). A few sit-ups won't undo a chocolate chip. Etc etc. But regular exercise all else equal does have a significant effect. Yes, nothing is all else equal, but then we end up making so many assumptions on how people will react that the whole debate is infused with assumptions like, but then you will lie to yourself and actually follow the opposite advice and so I need to tell you this other thing.
Thanks for the comment, Elon
In my Firefox on a Macbook the animations seem janky. The toast example does not work at all. When something like the drawer opens, the main content part of the page jumps and moves to the side a bit only to jump back when the drawer gets closed. On every page there's an empty light blue box at the top which just wastes space and makes me scroll.

That being said, many of issues don't seem to be present in the Vue version linked in another comment. Though even there some animations are not smooth and for example the up/down arrows on the slider number input just don't work. And for something that's supposed to provide a unified UI the styles between React and Vue versions are totally different, even the font size and weight. That slider number input that I mentioned looks completely different: shapes, positions, colors etc.

Too many issues for my taste. Unfortunately that seems par for the course with many frontend frameworks.
Apple's xip format is based on xar, not xz.
Some critical notes, I see some people find my story exciting, but don't take this as a manual. I want to temper things a bit.

I am very, very chaotic. I thrive where inequalities are and think they are necessary, it is a necessary evil, we need them as human race to progress in my view. The people I look up to are for example John Mcaffee, Elon Musk even Trump. And I have mixed sympathies with the BLM movement and the alt-right. I like conflict, I will search actively for it and if I get bored I will create it.

I don't want a static one world government. I want diversity of cultures, different views on things, ideas that smash together. I don't want America to become Europe. I want to enjoy the wonderfully weird Japanese as they are, although I never really will get them or can become them. I like to work with others that are truly different from me, not some mirror of western values. I want people to have a place which they can call their own, which is very different from other places. I want the west to protect itself, but not impose it values on others. That is how I view life and that is what I want.

It is good that I found peace of mind for myself and my environment now. I will stop the therapy session now. This is what I want to write to my fictional friend. I feel sad and happy now. It is weird. :) And I burned another account and I went a bit in overdrive. That happens when I get in touched with the emotional side of things. I find emotions hard. Sorry for the blog post.
DBAs use ed, sed and related Unix utilities for removing create, drop and bad events from multi-GB dump and binlogs.

Source: DBA.
I updated my comment to say “impossible in the general case” which is more accurate, but I’d be interested in knowing more about that project - how big was it, and how did handle some of the tricky bits?

Like, module A creates a class/function that is consumed by module B and C. If you change module A, how did you know to also reload B and C (recursively)?
> pretty, freetype-like font rendering is super expensive when you have a lot of text to show, and can't really be done (at least I have definitely not seen infinality-level beauty from the state of the art) on the GPU yet

This is exactly what Pathfinder does. pcwalton is on this thread and is the main author of that.

https://github.com/servo/pathfinder#features says:

> Advanced font rendering. Pathfinder can render fonts with slight hinting and can perform subpixel antialiasing on LCD screens. It can do stem darkening/font dilation like macOS and FreeType in order to make text easier to read at small sizes. The library also has support for gamma correction.
Neat. Here's my composition: https://music-grid.surge.sh/#10-164-80-288-0-208-552-1024-29...
And don't forget that maybe more than 20% of the normal water intake are due to food, not just drinking [1], so if you eat less you need to compensate water intake accordingly.

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5084017/
Can see this being exploited in some fashion for phishing attacks..
Haven’t tried it yet, but https://www.npmjs.com/package/msw looks very interesting. It uses Service Workers in the browser to intercept requests to the APIs, instead of running a real mock server.

There’s support for mocking in Node as well for SSR and jsdom tests.
Having been very much from the modernist camp, a few years ago I read some Norse mythology followed by some Greek. Whatever I knew of Indian mythology was mostly through festivals, stories told by elders during childhood and some children's books. Norse felt pretty much tribal in comparison and Greek was a bit better than Norse, still it felt short of childhood memories. So I started to dig up more about Indian, and boy it took me a while in wikipedia figuring out the chronology and even the different kinds of literature that existed, a real rabbit hole. I have just about started out and got a long way to go.
Yeah, and neat alcohol tastes lovely.

I’m an enthusiastic drinker of coffee and alcoholic drinks and when I started drinking them they tasted vile and needed lots of other flavors to disguise how awful they tasted. The first time I had coffee of any kind, quite milky, I wretched. Some people just hate the flavor of coffee enough never to get over it, same as some people can never find an alcoholic drink they like.