skysight-inc/HackerNews huggingface dataset:
There's a lot more to unpack from this concept than Ryan's post is letting on. I'm seeing a lot of negative sentiment, largely focused on negative opinions towards JavaScript.

This is entirely besides the point. The emphasis is mostly on V8, which we all know is first and foremost a JavaScript engine. But it is also a WebAssembly engine, meaning several languages beyond JavaScript can execute with the approach he's talking about.

What the post doesn't really go into detail on is how V8 is arguably the most secure runtime in the world. The browser runtime is one of the most battle tested pieces of software ever built. At its core, it enables remote code execution on anyone's machine. It has a robust security model. Your program can't do whatever it wants on the host operating system, unless granted by the user.

Docker Containers were an improvement over Virtual Machines by enabling dependency snapshots and compiled programs on top of an OS. V8 Isolates (translation: chrome tabs) are an improvement over Containers. Cloudflare's discovery here is what enabled them to build their edge network. With a containerized server deploy, you can execute dozens of concurrent, isolated V8 programs without needing to spin up a new container for each of them. The server also has complete control over execution time and memory. If a V8 program consumes more than its budget, it can easily be terminated.

Runtime performance concerns about JavaScript are also misguided. With Rust, it's easier than ever to write native functions that can be executed in JS or WASM. Extending the V8 codebase has historically been so difficult that most people don't even consider it a possibility. With Deno's V8 bindings, snapshots, and core crates, anyone can extend the language ecosystem with relative ease. Programs operating in this model on the edge have already shown to be significantly more performant than their traditional server deploy counterparts. End-to-end latency is all but eliminated, until that edge program needs to fetch data from a datacenter. And for that, the "global state" problem is aggressively being worked on by the major edge providers (sorry Cloudflare KV, we're having a hard time relating with you). Once this has been solved, the web is prepared for some serious optimization.

If you still think "the edge" is a fad in 2022, I'd recommend spending more time learning about it. It's not just JavaScript. Ironically, this architecture is the solution to the web's JavaScript problem, and will be the demise of heavy clients and SPAs.
The FIDO Standard talked about here includes regular security keys, so, if you don't want to use passkey, you can get a physical security key; and while I imagine the push for passwordless will be large, I doubt they'll completely remove passwords anytime soon.
as a related piece of new of today [0]:

> The @github Markdown Preview extension for VS Code now includes Mermaid support!

and since Nim also made front page today I will share how I added mermaid.js support in my very own nimib project some time ago [1].

[0]: https://twitter.com/mattbierner/status/1522003140777701376
[1]: https://pietroppeter.github.io/nblog/drafts/mermaid_diagram....
What does R2 stand for?

> Cloudflare R2 (beta) documentation

> Cloudflare R2 Storage allows developers to store large amounts of unstructured data without the costly egress bandwidth fees associated with typical cloud storage services.

Is is merely (S-1)(3-1)?
But then the website might not look like the designer's glistening perfect vision, that only ever worked properly in their browser on their desktop in the first place.
Fair enough. For what it's worth, I interpreted that choice of words as an element of the casual writing style and the EC2 comment as a fairly accurate, albeit non-technical, description of the service. To each their own I guess.
This looks pretty neat! Once the FOSS self-hostable version is out I might try it out for my local hackerspace, it seems like it might be useful for those little things that are too small to warrant standing up infrastructure at our small scale.
LOL, I was expecting the title to continue "... Fraud, According to $EU_COUNTRY Government". Seems like I don't trust them.
With JavaScript, these kinds of optimizations in an engine make sense due to the web being limited by it and thus speed is a huge factor. With Python, however, if a Python web framework is “too” slow, I would honestly say the problem is using Python at all for a web server. Python shines beautifully as a (somewhat) cross platform scripting language: file reading and writing, environment variables, simple implementations of basic utilities: sort, length, max, etc that would be cumbersome in C. The move of Python out of this and into practically everything is the issue and then we get led into rabbit holes such as this where since we are using Python, a dynamic scripting language, for things a second year computer science student should know are not “the right jobs for the tool.”

Instead of performance, I’d like to see more effort in portability, package management, and stability for Python because, essentially since it is often enterprise managed, juggling fifteen versions of Python where 3.8.x supports native collection typing annotations but we use 3.7.x, etc. is my biggest complaint. Also up there is pip and just the general mess of dependencies and lack of a lock file. Performance doesn’t even make the list.

This is not to discredit anyone’s work. There is a lot of excellent technical work and research done as discussed in the article. I just think honestly a lot of this effort is wasted on things low on the priority tree of Python.
If you require escaping then you may as well stick with csv - better to have the character that needs to be escaped to be common enough that people will run into it during testing.
Given how people are reacting, sounds like even telling the story is enough to make people out themselves

A similar way is to take the candidate out and see how they deal with the waiter.
The Dockerfile mostly work by itself, the only thing you will lack is how to generate the super-admin. Sorry I didn't expect to have any announcement today but promised it will be filled by EOD :)
In the old days you needed to disable zoom in order to get click events immediately, rather than delayed a bit so it can tell whether it's really going to be a zoom operation. Is that still true?
You can drag or modify the items in the diagram and it changes the UML, that's actually pretty neat. PlantUML normally only goes code to diagram.
I remember watching the Watership Down film as a young child and being rather disturbed. I think it set me up well for watching Nightmare on Elm Street when I was about 9 though.

However, I've turned into a fairly well rounded individual (I don't try to murder rabbits or children in their dreams at least). The only downside is that I don't find horror films or rabbits particularly interesting.

Something recently made me think of Moses the raven though.
TL;DR - you can't fix what you don't measure.

Tagging does this.
Good luck with the interview!!
What has worked for me:

- Changing my food environment to be more health-focused. I.E. don’t have sweets and alcohol at home.

- Using a meal prep service. Something like Blue Apron, or a health-focused community cook where I picked up weekly meals.
PBS Lite
The suggestion in that post about how to fix it is good, and mirrors one I read in the Rachael by the Bay blog - type the number of machines to continue:

https://rachelbythebay.com/w/2020/10/26/num/

The take away by both is there is actually something to do which can wake people up when the stakes are high, and they might not be doing what they expect.
I don't work for a social media company. I do see my kids using social media with other kids to communicate and cope.
Ask HN: What do I code next?
I started coding about two years ago because I planned to open a coffeeshop and bookstore and wanted to think about management from first principles by coding a management system. I then started coding a web application to augment the process of reading, writing, publishing and distributing literature, which is my primary occupation. Both projects have come together nicely. I find that they are both truly useful, and I am starting to consider them largely complete. I am endeavoring to hire my first full stack developer to take over and improve upon these two projects, but I feel at a loss in the meantime about what to code next.

Does anyone have a suggestion? I want to code for roughly one hour a day going forward. I enjoy having projects feed into one another meaningfully. For example: I have set up a system to automatically get the metadata of a comic book, automatically price it, image the book, and list the book, so that all that is required of me is to scan the barcode. With this, and offering comics for sale at the coffeeshop, I should be able to acquire collections fairly readily from patrons. The finances of the various operations are all logged in a manner that allows for comprehensive reports to be made of them individually and in concert. My initial thought is to make work on robust graphing functionality so that I am presented with an overview of various metrics related to these project when I wake up in the morning. I can use pyplot, but not expertly. My other thought is to develop some kind of game that is part and parcel with being a regular at a coffeeshop. When I run scripts, I have to do so manually, so maybe some kind of project that helps to automate running scripts would be good. Below is a brief, non-exhaustive overview of the languages, the services, and the like that I have used so far.

-Python
-Flask
-Javascript
-HTML
-AWS EC2
-AWS RDS
-AWS S3
-MySQL
-Stripe
-Web-scraping
-Raspberry Pi

P.S. Are there any full-stack developers in Chicago, Illinois, or nearby states looking for a job?
Great point, thanks for the feedback
Googler here. I agree that the old process was sub-optimal for a series of reasons. My biggest gripe was about the 6 months cutoffs was a problem for projects that are 1) longer than that and 2) on the binary side of things (ie. Hard to measure partial/incremental impact so the project is either launched or still in development). I got burned by that at least twice.

Now, with the yearly cycle, I hope that this will be mitigated. It's too early to draw conclusions about it, but by reading through the docs it seems a net improvement over the old way.
Abortion: one of the few times an american conservative will speak approvingly of “international norms”.
That's why I said "effectively." Yes you can find small groups or individuals but if we want to trash an entire race based on behavior of small groups then maybe you should have another look at US homicide statistics.

The Nazis in Germany have absolutely no political influence and no real cultural influence. The whole ideology is literally illegal there and people get fired just for talking about it.
The syntax is much simpler (albeit less powerful). It's suited to include in a markdown document where you don't know if the recipient is able to parse mermaid diagrams and ensure they get something readable.
I don't understand this intentional misreading of comments that's so pervasive. Even if they're not entirely clear, you can usually deduce what they mean.

Why is his son singled out based on his skin color and unable to do things that his peers are officially sanctioned by the school? Not sure what that sounds ok to you? That seems like regular ole racism to me. That's a bit insane don't you think?
There is the cstore extension, which is pretty much "native" (at some point these terms start to lose meaning... it's running in the same process space and transaction aware, etc.)
Pydantic is quite popular library. Its author is doing exactly this - rewriting its core [0] in Rust. It's still WIP, but readme mentions that "Pydantic-core is currently around 17x faster than Pydantic Standard."

[0] https://github.com/samuelcolvin/pydantic-core
My brother is learning JavaScript and made this game (desktop only)
I was going to say, I used a sequence diagram last week to wrap my head around a threading situation. I think they are a good way to visually model anything asynchronous or thread based, and sometimes also user interaction flows, and I think UML's bad rep (is that fair to say?) means a lot of developers either are not aware of them or think they must have no value – I consider using them a bit of a secret superpower ;)

I do occasionally use ER diagrams for drawing out data models too, but I'm super rough about following the "rules" with both of these. Really just a convenient way to sketch stuff out (usually using PlantUML or Mermaid, as I find it quicker to do in ASCII).
It depends on volumes. Has this been demonstrated or measured? It seems like a market-will-bear valuation to me.
Yes, see their initial announcement post where they showed it’s a backronym.
It happens in neighborhoods too. At one point a neighborhood is full of families with school-age children, so similar people tend to move there. Then 30 years later the same neighborhood is full of retirees and there are hardly any children to be found.
Ha!

A) So the technical reason is that its their primary way of stimulating the economy. It doesn’t mean that it works, there is limited efficacy of doing things this particular way.

B) The nontechnical reason is because they want to. Because they are buying from their buddies, or stimulating sectors of the economy that they have exposure to. And also, nobody else wants to buy low interest rate things. (But thats also part of the technical point: force people to invest in the actual economy instead of the lower yielding risk free things while the individuals pretend it was their own individual idea. But people still didnt really want to do that, although the last 2 years were the natural extreme of this, as people did do it en masse)

When the central bank buys things, the person they bought from has new dollars. And that person slowly pays back those new dollars, while also using those dollars elsewhere in the economy, diluting the supply of dollars and also making sure dollars are still circulating at all. None of those three things happen perfectly.

When they stop buying, they stop diluting the dollar supply. And theyre only slowly receiving new dollars back which they then delete/destroy/permanently remove from circulation. When they sell things, the same occurs: they get more dollars back at once.
We're breaking up with JavaScript front ends (2016)
What mobile browser? On iOS Safari, all the example websites mentioned by the OP allowed me to zoom. I guess Safari doesn’t allow zoom to be disabled by websites? Maybe all browsers should work this way?
Deciding means cutting off. Saying no IS what a decision is
Facebook optimized for an older demographic, the initial users quickly graduated and started to look like adults.

Teens don’t want to catch up with friends spread across the world, etc. But this means the next generation lacked the critical mass of young people which keeps a social network alive. Worse they eventually turned on monetization strategies which are effective for a captive audience but discourage further adoption.

The real question is a new generation will age into Facebook or is it ultimately doomed to irrelevance.
>> Boomers wrecked the world and young people know they need to fix it.

This is the exact kind of BS the parent comment is referring too. The world is full of problems but it’s never been better for most people in most ways.
>I didn't find anything in the NASA article in regards to CO2 levels plateauing. Interesting perspective though. Perhaps this is why the article was removed?

The common argument from climate deniers is that the world has greatly increased the amount of green. I zoomed in on Austin Texas because of Tesla's factory and omg it's so green...

That we seemingly have plateaud on CO2, climate change in general. That tons of the predictions of doom and gloom should have happened already but haven't because of this.

I guess climate deniers also point to.

https://en.wikipedia.org/wiki/Solar_maximum#/media/File:Suns...

https://en.wikipedia.org/wiki/Solar_maximum

We also have been living in a solar maximum since about 1850. Which corresponds with the global increase in temperature that has been proposed to be climate change. Just because the solar cycle changed and is significantly higher completely corresponding with every climate change graph that also usually starts around 1850. This new plateau of climate change as well as CO2 corresponds with the new solar cycle.

https://en.wikipedia.org/wiki/Climate_change#Solar_and_volca...

Solar activity is not considered to be part of climate change at all. Not part of any of the models.

We also haven't named the new solar cycle since 2009 because it might lead to people thinking the wrong thing about climate change.

https://en.wikipedia.org/wiki/Global_warming_hiatus

or

https://en.wikipedia.org/wiki/Global_warming_hiatus#/media/F...

The actual reasoning is that haitus on warming like this occasionally happens. We can't let this knowledge to get out because climate deniers will misuse it to point to these other factors that are not factors at all.
Can we edit the title to be "Please, stop disabling zoom" so that it doesn't look like this is about the Zoom product
Unless you have some way of authenticating all of your hardware with the key, taking it with you still leaves plenty of options for a physical attacker.
I've used Graphviz for a long time and is still my first port of call where I need to produce the graph as a SVG or PNG.

However, if I'm putting the graph into a project in GitHub/GitLab then I'll use Mermaid as it lets me keep it inline in the markdown file itself. It's also makes it easier for other team members to maintain that graph in the documentation as it doesn't require them to run additional tooling.
Google's power to lock people out of their website is already here with Oauth2.

This standard is unrelated; it works by having the browser/device itself sync the virtual security keys[0], much in the same way they sync passwords currently. That's the only thing changing here, giving people the choice (and encouraging them) to sign in via "what you have" instead of "what you know", but along with that they want to alleviate the UX concerns of people not being ready to carry around a separate physical security key.

0: https://developer.apple.com/documentation/authenticationserv...
> There are lots of great ideas about how to tame problematic online behaviour.

Isn't that what all the censoring europeans, chinese, russians, saudis, israelis, etc all say? All censors are trying to target "problematic" behavior.

Your comment is no different than what every tyrannical or oppressive regime espouses. The biggest problem with social media and internet is that it is transnational. Countries and people that value censorship really shouldn't have a say in american social media. I believe they should develop their own social media.

I no longer ascribe to the idea that everyone should have free speech. I believe we should have free speech in america and you should have whatever you want in your own country and own social media. The problem with american social media is that it is trying to appease everyone and as a result, it becomes a race to the lowest common denominator.
Yes, please, I'm sad every time my 55+ year old eyes can't decipher something. Especially when I'm hands-free riding my bike on a sunny day.
It's really only curious if you consider individuals themselves to be "within science" or "pro-science" as some meaningful identity- or category-like distinction. Which, ironically, does feel a bit religion-like. Like participating in an untested or disproved practice is doing a heresy or something.

Anyway people aren't science we are just people. Everyone has some beliefs and activities that they find valuable for themselves in ways that science can't measure or verify. It's fine.

I realize this could come across as pretty negative or hostile and I really don't intend it that way. I think if anything the problem is that we've sort of constructed a framework where practices are valid only if they are scientifically validated, which incentivizes people to use the jargon of scientific validity to justify practices they find valuable.

Something I find consistently funny about fasting particularly that you kind of pointed out: just because it's new to science doesn't mean it's new to us. I fast for religious reasons, my religion has a fasting tradition going back thousands of years. Its personal spiritual benefits are attested by many over much time and I find it so as well. Good enough for me. The fact that tech nerds just got hyped on it and provoked a bunch of studies in the last decades is fun, but literally a few billion people globally fast for non-scientific non-productivity reasons and will continue to either way.
Coronaviruses ARE one of the flu types.

Note that Covid-19 is SARS2 - SARS1 was 10 years ago.
Signals That Drive Us
Hey DALL-E, Finish the Cat Drawing
Where can I read about what kind of performance improvements `__slots__` brings?
Notion also renders Mermaid code blocks inline which I've found really helpful.
> The instructions assume you have a whole PHP dev environment setup-- very frustrating, after some time googling the various errors I kept hitting I just quit.

Sorry you had trouble. Craft definitely has stricter requirements than WP. v4 requires PHP 8, a handful of PHP extensions, and MySQL 5.7.8+/MariaDB 10.2.7+/PostgreSQL 10.0+.

Most modern local dev environments will have everything it needs – DDEV (https://ddev.com/), Lando (https://lando.dev/), our own Craft Nitro (https://getnitro.sh/), even MAMP, etc. –, but I realize these come with a learning curve. We do our best to ease you into it without making too many assumptions in our tutorial, so you might want to try giving it another go with that: https://craftcms.com/docs/getting-started-tutorial/

If you’re a Mac user, you’re going to need to start moving in this direction even to get WordPress running, as built-in PHP support has been deprecated and Apple plans to stop shipping it in future versions of macOS.

> This has been my issue with most Wordpress alternatives-- they assume you are a professional PHP developer, rather than someone who just wants to try a CMS

No argument there. WP is built for the masses; Craft is a developer tool. It doesn’t assume PHP knowledge (the built-in templating system is powered by Twig), but you will need a strong understanding of web standards and basic logical concepts. Or you can get your content out using the built-in GraphQL API, to hook it into a decoupled front-end like Next.js or Gatsby.
True. Difficult comparison when the original creators are no longer around to create. Was just referring to strong fan positions.
> Any suggestions on what to do next?

IMMEDIATELY turn off the power at the main circuit breaker.

NEXT, get a registered/bonded electrician to thoroughly inspect and test your building's power feed, its circuits, its grounding, and its surge protection equipment.

Until you do this, your building is a fire trap waiting to strike.

The building's surge/overvoltage protective devices should all be replaced, or some installed if there weren't any.

Some or all of the wiring may need to be replaced if its insulation was crisped.

Next, get all your electrical appliances checked for safety.
Imagine coding while drinking tequila...
Unfortunately people see accessibility as a burden that a small minority puts on the rest of us, but really it is something that benefits everyone.

For instance, normally sighted people or even people with "normal" nearsightedness, farsightedness, or presbyopia benefit from adequate contrast.

Text "size" is another thing because people should be able to control it, particularly given the wide range of different devices that are out there.