skysight-inc/HackerNews huggingface dataset:
There are a number of problems with locally-run websites.

One is that TLS is married to DNS, and no third-party CA would issue a certificate for localhost. TlS with self-signed certs generated on the spot becomes easy to forge.

Another is that no web browser suppoorts Unix domain sockets or a Windows equivalent as a an access protocol. You are stuck with IP-based access, wee above.

Third is that access to the OS is limited or forbidden inside the browser, for a good reason. Want to run a locally installed compiler from within your web IDE? Tough luck.

Electron solves all of these problems. It doesn't do it in the best way imaginable, but in some cases just a web site cannot be a replacement.
3,000+ default packages? I'm a *nix minimalist, so this makes me uneasy. It really is insane.

I'm digging in my closet for a 32 bit machine so I can put it on bare metal immediately.
> I eat about 1200 calories for breakfast as my body otherwise cannot function for the day.

I used to think this too, until I switched to a low carb diet. The raging fire in my belly, inability to concentrate and overall sluggishness just simply...disappeared.

That’s when I realized that “my body needs X to Y” is unhelpful unless you’ve experimented with lots of different values of X for long enough for your body to adapt.

I’m not saying you haven’t, but I’m just reiterating the importance of tinkering with your approach to diet and exercise. By the time we reach adulthood, our bodies have adapted to years of bad eating habits. Reshaping the hormonal and microbiotic responses may take a few weeks of discomfort/unusual response before seeing results.
That’s great feedback!
> I've oft lamented how byzantine and opaque modern web sites are to tinkerers thanks to things like CSS preprocessors

There was an attempt to get people to release the unprocessed files as .max.css|js (as opposed to min). I don’t think it ever gained much popularity.
Stripe, Square, and PayPal hold back payments from Merchants
Hilariously, in 2008 Google was hugely resistant to this idea. DARPA had just put out an RFP for a new way of running computationally dependent tasks that currently ran on super computers on a 'shared nothing' architecture (which is what Google ran at the time (and I believe they still do). I had done some research in that space when I was at NetApp looking at decomposing network attached storage services into a shared nothing architecture so I had some idea of the kinds of problems that were the "hard bits" in getting it right.

I recall pointing out to Platform's management that if Google could provide an infrastructure that solved these sorts of problems with massive parallelism that currently required specialized switching fabrics and massive memory sharing we would have something very special. But at the time it was a non-starter, way too much money to be made in search ads to bother with building a system for something like the 200 customers in the world total.

I didn't care one way or the other if Google did it so after running at the wall of "under 2s" a couple of times I just said "fine, your loss."
> However, for the browsers that we have now, bookmarks are much better for organization than tabs

By "browsers we have now" you clearly mean "Chrome, the only browser I care about". Firefox can handle literally thousands of tabs with lower memory than Chrome using one or two dozen due to different trade-offs. Very few people ever use that many, but the presumption that no better should be done on the memory front because your favorite doesn't manage it isn't supported by the facts.

Bookmarks aren't used in the same way as tabs by most people and it's telling that your workflow so easily conflates them that you're making criticisms based the rest of us using them differently. I get the impression that what you want bookmarks for would be better done with tab groups for most people? There are certainly a decent number of happy OneTab users out there who're probably closer to your preferred interface than the rest of us, but even on Firefox its userbase is minuscule.
Probably a 64x64 grid.
It is the infantilization of the population. Same way you see now guys in their 20s-30s whose main cultural references are the Harry Potter books and the Star Wars movies.
2D graphics on the GPU is not an open research problem in practice. In real life you either use Direct2D or OpenGL/Vulkan/Direct3D and just... ignore a dimension.

Yes, MSAA 16x is incredibly expensive on mobile devices, and it provides a worse result than a coverage based approach. But MSAA 16x is done by an asic, and is simpler than coverage based AA. It is not even close in performance. A GPU ROP trounces any programmable compute unit as far as performance, it's not even closed. It is done by pecialized, in silico hardware. And in practice MSAA 8x is more than good enough, especially on mobile devices. You certainly will not notice a difference on a phone with a density of 563 dpi between MSAA 4x and 8x, let alone 16x and coverage based.

At those scales, the resolution of the phone is literally greater than the optical resolution of the optical system that is your eyes. There is no point in anything beyond MSAA 4x in reality, and a lot of people with displays in the 200 dpi range just use 2X MSAA while they could use 8X MSAA because they really can't tell the difference.

The final nail in the coffin is that these compute-based rasterization engines so far more or less match the performance of CPU rasterization. This is simply unacceptable when GPU direct rasterization can give results nearly indistinguishable at multiple times the performance and much less power usage. This is literally taking something done by a highly optimized, 12-7nm ASIC, and trying to do it through compute for a tiny improvement. It's absurd.
As far as I remember, mostly Flume (open sourced as Apache Beam and also known as Cloud Dataflow on GCP).

Flume/Beam still provides map/reduce as operations, mind you, but with a much richer processing model.
My experience with IF has taught me that I’m much better at complete denial, rather than moderation. So if I want to reduce my caloric intake it works better for me to say No to everything for 16 hours and only eat for 8, then to try to just eat less and in moderation all day.

It also applies to carb and other reductions. If I allow myself any bread, sweets, etc, I will eat too much. It’s easier for me to eat 0, then it is to only eat a little.
> For most people I'd recommend exercise instead of fasting.

"You can't outrun the fork."

Metabolic studies show that you have to be damn near Olympic calibre in your exercise routine to cause a significant change in caloric consumption by increasing metabolism through exercise. Your body pretty much holds a constant level of metabolism and shunts it around to whichever systems it deems most important right now.

Exercise might give you an extra couple calories of margin (maybe), but you won't lose weight with it alone.

If you want to lose weight, you have to get the caloric intake down. And that's hard because you are fighting biological systems that evolved to store energy really efficiently and to give up that energy only very reluctantly.
It pisses me off when someone reassigns the blame to the user and not to the cancerous Facebook shit and it's scumbag leadership. Just because WE are too stupid to "curate it ourselves".... Here are the three top search results when searching (in DDG) for: Facebook timeline psychological experiment

1: https://www.theatlantic.com/technology/archive/2014/06/every...

2: https://www.theguardian.com/technology/2014/jul/02/facebook-...

3: https://www.forbes.com/sites/kashmirhill/2014/06/28/facebook...

Now then.. are we all so stupid, or is Facebook ran by a bunch of scumbags who care only for "user engagement" no-matter-what? And it may be that some people get confused by its practices, then understand the dishonesty that is causing the confusion and give it up (abandon FB), while others get trapped in it, so net-net FB made more £€¥$ and kept the bad practices.
SpaceX launches 58 Starlink satellites and 3Planet SkySats, nails rocket landing
Evolutions in Data Science
いう付き合ってくれ
That's an interesting point, never thought about it that way. Need to read more about it! If that is the case, then going back to IF might be a problem for me :). Currently I am back on 3 meals a day (12:12) and have eliminated certain types of foods that could cause acidity. And it's working for now.
Whoever wants something very specific that is still hard to reproduce/generate.

In the photography industry there are billions of free images all over the internet, who's going to pay for the next image? Only those who want something specialised that can't be had for free.
Given the medical nature of the storm, I’d really stay within a reasonable drive of a proper hospital. A lot can happen on the helicopter ride to civilization, and that’s assuming the system is healthy enough to offer you one.

If things get really bad, humanitarian aid may or may not come for the cities, but it’s definitely not coming for a cabin in the woods. Are you prepared to live off the land?
Firstly, thanks to the author for taking such time and care with the illustrations.

However, by way of contrast to many of the other comments on here, I found this particular explanation quite unhelpful, both in terms of the presentation communicating the idea as well as the parts of the idea that I was able to glean.

It’s probably an individual thing, but I don’t want to combine things into projects, and I certainly Don’t want to go down the route of having a folder structure.

Having recently converted my somewhat-organised notes into a Zettelkasten workflow, I have been amazed by the freeing nature of the medium. The core of my method is simple markdown files that can be easily written without the aid of any software. I have had fun building a significant amount of automation around the notes - building a traversable and plottable graph, implementing backlinking, templating and that sort of thing, but it is purely assistive and not necessary.

Some sibling comments make the point that BASB seems to be more of a complete theory, where as a Zettelkasten is a method alone. Here, I humbly beg to differ. It is the simple and mechanical nature of the Zettelkasten that frees the mind from the burden of too much information.

This is obviously an individual preference, but I think I’ve found the method that suits me.
I wonder if the kangaroos hopping by create any interference that they need to correct for.
I think it's because the majority of insurance is not purchased by individuals shopping around. Rather, it gets negotiated at a company level, or commonly through providers a level beyond that. So, you have costs and structures that are optimized for large corporations, rather than individuals purchasing. And then these purchasers also don't consider bang-for-your-buck as the top priority the same way an individual might. If you get your insurance through your company, then it's expensive, but not impossibly so, so you grin and bear it. Anything outside of that system, and now you're trying to fight against a massive tide.
Ample eves and solar coatings can make a phenomenal difference.
It’s a wrapper around a web view. Speed is important: https://twitter.com/collected_notes/status/12679273126342287...

Another reason is a lot of features like continuity, slide over, share extension, etc etc. Are not available on web apps.
I'm in the midst of returning from the cloud to coloc.

It's looking like for about $50K in hardware I get x10 the ram/compute/storage/(internal) network I get from the cloud at around $10K/mo. However, it is taking me about $25K in labor to setup. Hosting costs about $1K for a rack and a decent pipe to the server.

So more than a hobby but not approaching real scale.

The main barrier to using a lambda model is if you have anything that smacks of a DB. It would take me $100K+ to transition away from SQL. If you can do lambda w/o a big retool cost, then it is probably viable. If you are just running a bunch of VMs on the cloud, it is pretty expensive.

...

Interestingly, my main client (a very large company) just went the other direction and moved all its compute to a system that is Spark underneath running on Azure. They are trying to decommission some expensive TerraData instances. So far, it is a mixed bag -- it is a big step forward (for them) on anything that is 'batch-oriented' but 'interactive' performance is dismal.

Price appears to be a big motivation. I always forget that most large enterprises run on exotic stuff with crazy service contracts that makes the cloud look cheap.
Why is this flagged? This is a very interesting bug. I would love to see a post mortem on how such things happen behind the scenes. Are there relly too many morons busy pushing ideologies in the comments to actually explore this?
How is this different from using Python Watchdog?

https://pythonhosted.org/watchdog/
> conventions are hard to enforce

This seems to be a thing in the past 5 years or so. I've seen developers refuse to follow the existing coding style simply because there was no lint or prettier rule for it. Like, how fucking hard is it to match the style of the existing code base and not be a dick about it. These are lead and seniors I'm talking about. This is the type of thing junior devs should have learned their first month on the job.

I can't even imagine contributing to an open source project in the '90s or early 2000s and not matching the existing code with whatever I'm doing. I don't care if it's tabs or spaces or whatever variation of if-branch nesting you prefer. When I'm working on code that already exists, I leave my ego at the door and try to make the codebase uniform and coherent.

Hell, the whole reason prettier exists is because we think we can fix these anti-social developers with technology. And of course that doesn't work, so now you need tailwind or whatever.
Oh wow thank you so much!
It would be great if there was a good way to find existing projects that achieve what we seek. Usually, the biggest names are visible, and it's hard to find alternatives that achieve specific ideas.
It's mainly to work around bugs in the system. For example:

site: https://www.shawwn.com/thanks

markdown: https://www.shawwn.com/thanks.page

If you "view source" on the markdown page, you'll see:

Twitter: <a href="https://twitter.com/theshawwn">@theshawwn</a>

The reason is that [@theshawwn](https://twitter.com/theshawwn) didn't convert into HTML for some reason. I assume the @ character threw it off, and I didn't want to drop what I was doing to figure out why. But there are a million small things like that.

For https://collectednotes.com/shawwn/sample-note, I would put GA into my notes.
Data Is (But Should Not Be) Aspirational
This is literally the last paragraph of the post:

> But, sadly, I don't think this year is the 'Year of the Linux desktop'. In general, I think 'Linux on the Desktop' for a mainstream audience is always going to be 20 years away, just like nuclear fusion.
Why not have breakfast but skip dinner?

Eating close to bedtime can cause reflux and FWIW I had less reflux when I fasted after 4pm.
NYC has greenmarkets.

If you visit one, you'll see produce trucked from NY, NJ, PA, MA,.. the furthest I've seen was VT.

It's sort of more local than shipping it from Brazil, but still not the same "local" as in a small town.
I think it's a bit of a shame that the MapReduce concept got the shiny object treatment since I thought it was a nice pragmatic approach to a useful set of problems that are faced all the time and often addressed with ad-hoc programs that make a mess.

People always looked down on those that used Hadoop or somesuch for <1GB of data, but while it wasn't needed from a technology perspective it gave a structure to the project.

Now many places are back in the world of one-off scripts, and I think something of value was lost (even if it was a little ridiculous to fire up a cluster for something Excel or SQLite could handle).
Top composers used to head to Hollywood. Now they’re into games
“Apps” is a pretty vague description of an application, but if you’re writing a server it’s just as easy to “just throw” the app on lambda as it is on EC2.

In general I ask myself if my new server can run on a lambda and if it can’t then I reach for something else. Most of the time it can.
It's always amazing how you (and all others parroting this line) can freely switch back and forth between "he who has the gold makes the rules and that's okay" and "corporations need to support this cause I support", depending on exactly who is getting hurt in each situation.

Come on - you must realize that you don't actually believe your argument as a principle, you're just using it as an excuse because you want Sullivan silenced.
I was thinking of making something similar, along with E2E encryption. Could you add it?

Basic principle is you encrypt the DB or the individual notes with an AES synchronous key with a password that you put through a KDF and then apply your sync method to the individual notes.
Ancient DNA Provides Window into 5k-Year-Old South Asian Civilization (2019)
I couldn't find this, link?
Is it worth using as a default encoder for home movie libraries? Or would it soebd the next decade encoding everything?
I think a version where it’s stored on-device would be nice. I think your concern is correct and I agree :), it currently serves a different use case which is private non-sensitive notes and public ones.
Honestly even if it was the most secure app/web in the world, having a one tap to publish to my website is terrifying :)
The options in the tweet are:
- 320 or less (iPhone 5/SE)
- 375 (iPhone 6/7/8/X)
- 410 (Pixel 2)
- I don't bother

For me and my team, the answer is to watch the usage stats and match the smallest one that our users are regularly using
Sure it is. It is more profitable to sell to a middleman who then sells to the grocery store chains because of volume. If you only sell to consumers, then the amount of food you can sell is significantly lower unless you put together your own nationwide distribution network.

Why haven't these companies reconfigured to switch chains? They CAN do this. It is a matter of time and money to do so, and they would clean up after doing so.

The problem is that everybody is assuming that we will be going back to normal in about 6 months, so anything at that time scale or longer is wasted money from the point of view of profit. Nobody will reoptimize anything until they are absolutely FORCED to as part of an existential threat.

This is all about optimizing for profit at the expense of anything else.
Never used sage but William Stein is a dope skater and I’m always very stoked to have other skateboarders involved in tech.
https://www.rotato.xyz/
That is very exciting to hear. I'll give it a shot. Thanks.
Interesting. That one only affects systems which add their own application-specific SQLite functions to the database after loading it.

That's probably a niche case which doesn't affect most systems. But it'd be good to know about and watch out for in the systems that do.
Does this "just work"? How does it handle classes?

I've been writing my python code in a style that can be hotswapped. Roughly, I use global functions and pass around structs, like C. The function calls are made with `api.foo(data)` instead of `data.foo()`. Then I can just replace `api.foo`'s definition with whatever I want after attaching with a debugger. Example: https://github.com/shawwn/gpt-2/blob/e4868225382e8a475ef3c3d...

I assume there's a much better way to do this, but the class system seems to make it hard to swap things out. Doesn't "isinstance" break if you redefine the class?

EDIT: Oh, this isn't actual hot-reloading for python. Darn. I'm really hoping someone will tackle that... Cool project though!

EDIT2: Actually, this project does seem to reload the modules: https://github.com/say4n/hotreload/blob/0cf3a0b466466f99f8c7... ... so the original question stands.

By the way, you may want to use `import traceback; traceback.print_exc()` to log exceptions. I'm not sure how that plays with python's `logger` class though.
The more I use it the more I like it. And I started out liking it

Didn’t know about the swiping until I saw the video which I didn’t know was on the site.
I was swiping the notes in the list view but there you have to long press.

The share button for posts doesn’t list safari, unexpectedly.

I could figure out how to go premium from the iOS version I guess this is Apples restriction. I was able to set and remove a domain which is listed as a premium perk.
In A Fire Upon the Deep, the Skroderiders' cargo was a one-time pad.
It's thought that aerobic exercise can help resolve hormonal issues that lead to overeating, which if true would mean exercise would help you eat fewer calories.

Anecdotally, my appetite became more reasonable after I took up running. Fat seemed to keep me full longer.
What does it give you over simple server-side rendered templates?
It works for me: https://collectednotes.com/blog/twitter-usernames

See markdown: https://collectednotes.com/blog/twitter-usernames.md
I'm not sure I understand what you are asking. Compiling English to bash sounds like a thing because English is a very imprecise way of describing a set of computational tasks.

Whereas java is the exact opposite. Every single command in java is precisely defined, and does exactly what you tell it to do. Compilers already have 100% effectiveness on doing this.

I am lead to assume that an AI would then compile "what I meant" and not "what I wrote". I'm not sure that's helpful because that sounds like a great way to get random, sometimes, bugs.

If you are getting errors from the compiler it is because your code is imprecise - and the fix there is to make it more precise.

I may have misinterpreted your question, or lack the imagination to see where you are going, so please feel free to expand on your point.
> Edit - The least expensive produce right now is celery at 20 cents pretty pound.

That's insanity, celery has a 90+ growing period [1] but if they can make it work for them. its just the water used and the labor for harvest is worth way more than that. And highlights my issue with Farm subsidies, I can't imagine what the farmer was paid.

I've been to many Asian stores (private to chains) having grown up in SoCal and raised on Cantonese cuisine, and I can't remember seeing something that low ever in even a 99 Ranch, Mitsuwa, Marukai or Hmart, let alone a private place with higher operational costs and overhead.

Then again, most would ruin their reputations if they tried selling rotten berries as SoCal, all of California really, is a pretty well reviewed and subject to backlash in Print media back then and now Social media and yelp and the like.

1: https://www.almanac.com/plant/celery
https://sdacademy.dev/
It is a Polish organization arranging bootcamps around Europe, relatively cheap, 2KEUR for 9 months course.
I took a java course, the focus was on basic concepts, data structures, patterns, functional programming, databases and spring framework, javascript - angular part I've studied on my own
Interesting. I relish the fact that when you google my name you get pages and pages of a semi-famous figure that, honestly, most people haven't heard of.

I cherish the anonymity.
For comparison, here’s Werkzeug’s reloader implementation: https://github.com/pallets/werkzeug/blob/master/src/werkzeug... (when you flask run or call app.run with reloader turned on, it’s handled by this module.)
Thank you! Yes didn’t had time to setup in-app purchases but should be there soon. The swipe gesture is getting a revamp so it will be more obvious on the next update :)
That sounds illogical to me. You define "controlling through something" in a way that makes it impossible.

Yes, nazi lost wwii, no it does not prove their control of langue failed.

No, there being two opposing sides trying to control langue and one of them not winning does not prove control through langue does not work.

Frankly, there are very illogical argument.