skysight-inc/HackerNews huggingface dataset:
> Python has problems scaling to medium-size code bases because programs above a certain size tend to become difficult to reason about.

In mye experience Python programs are not more difficult to reason about than equivalent Java programs. To the contrary an over-reliance on certain design patterns and ubiquitous, inescapable OOP complicates Java code bases, while the static typing is so weak it affords little safety compared to e.g. Python.

Worth keeping in mind a that a Python program will be about half the LOC of a Java program doing the same thing. (See the reference section here [1].) In other words you can get further with Python before passing the complexity threshold.

Bugs are also proportional to lines of code [2], which is another element that favours Python over more verbose languages like Java.

1. https://svese.dev/comparing-java-and-python-is-java-10x-more...

2. https://amartester.blogspot.com/2007/04/bugs-per-lines-of-co...
I agree with you - and you are still missing the point. The enterprises are buying a service. They don't care that it is running on AHWRGGG instead of TLMWBBB (which is soooo much better). What they care about is that it runs, and when it doesn't, that someone fixes it. This is it. Could you run everything on PostgreSQL instead of Oracle? Yes, take a look at EnterpriseDB. I guess Oracle just sells better? (guessing here, no idea)

The money is of course important, but these providers are smart. They take only what they can and not more. Which is still big money. And while Oracle & co. would never make it into any company I can make a decision for, I don't think that keeps them awake at night - there are enough (big!) fish in the ocean.
> KVM performance is orders of magnitude better than VMWare

Do you have any sources for this? I worked at a company developing NFV appliances, we always had much higher network throughput on VMware than we did using KVM without using some type of convoluted vswitch alternative or PCI passthrough.

VMware isn't just a hypervisor, it's an entire ecosystem of VM management and orchestration. You can tie it into AD, delegate different permissions and roles to users/groups, manage upgrades, interact with PowerShell and other APIs, it has integration into Dell and Cisco solutions, all sorts of additional features you won't find running CentOS and KVM without adding more 3rd party software on top and cobbling it together.
HN doesn't want bots, so I am the bot.. :D
Words change in meaning over time. The second amendment has been hit hard by that. In the time period: "Regulated" means up to a particular standard of strength. This is why British regulars were called "regulars," because they had a particular set of equipment. "Militia" referred to the pool of people who could be called to defend the country. In 1776, that meant men of fighting age (14-60). This is different than the voting population, who were specifically landed men, or the population of citizens. In other words, the second amendment called for a fighting-age male population that was as well-armed as the military.

This is why DC vs Heller was decided in the way it was. The "well-regulated militia" before the comma meant something totally different than its current meaning.

As an aside, I think that most modern military weapons should be banned, but that is actually not what the 2nd amendment calls for. The right solution to the problem is to amend the constitution, not try to pass gun control laws and see what a court will approve.
upper middle class and homeowners who prevent more housing built for the poors.
Sometimes you have COVID and shouldn't be walking to a store.
> Ah, yes. A single one.

That's all it takes to debunk your assertion - "... yet we don't have mass shootings." I proved you wrong.

But since you want more... Here's one from this year...

https://www.cnn.com/2022/01/24/europe/germany-shooting-heide...

If you want more...

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

Makes a mockery of your claim doesn't it?
> For production use, presumably you’d use an optimized binary

That particular one is built with -Oz (optimized for the smallest size). Development itself is done with -O0 (no optimizations) because the compile time difference is something like 2-3 seconds vs 15-20.
Notification channels were introduced in Android 8.0 over five years ago. You don't need a newer version of Android, any supported version should do!

For a long time after their introduction, apps were still written for the old notification system, so many users probably missed the fact they could theoretically mute or block certain categories. When apps started targeting Android 8, developers had to use the appropriate channels, but I'm pretty sure it took months for most common apps to support this feature properly: many apps had a single category for all notifications even when they used the new notifications API.
> 2) It's easy to get out of sync with what version of your software corresponds to what branch/tag in each repo.

That's what the `[dependencies] my-lib = "1.0"` was supposed to solve.
Having your own It department doesn't mean you'll be fine for security. Plenty of health systems have their own IT department and have been hit.

But, even thinking of health care systems is thinking of big businesses. How does a road construction company justify an IT department or security team? Think of businesses like that. They have have an IT guy who manages services they use and is an expert at using those.

Most businesses are small to medium in size and non-tech.
898 KB even without compression. Pretty good for what it is. Properly compressed, it’d be well under half that on the wire.

(The server seems to be serving with only extremely mild compression, and none on the biggest part, the WASM. Feeding it all through `gzip -9` cuts it to 408 KB, of which 374 KB is the WASM. `brotli` cuts it to 352 KB, of which 323 KB is the WASM. The HTML, CSS and JavaScript are also largely unminified, and even a simple conservative pass roughly halves their gzipped size. No idea of the state of the WASM, I’m not going prodding inside it just now. I know that I’m never impressed with the JavaScript side of the bindings produced by Empscripten, Rust’s wasm-bindgen and any other such tools I’ve seen—with a little manual effort, I’ve very easily reduced 50 KB files—minified!—to under 5 KB. Optimising such things and immediately discarding the results is a strange hobby of mine.)

For comparison, the similar parts of https://sql.js.org/examples/GUI/index.html are a bit under 1.2 MB uncompressed (most notably excluding CodeMirror), around 450 KB on the wire.
A lot of complexity comes from premature scaling due to cargo cult or ergonomics.

But I argue a lot of complexity and bugs comes from poor/unclear/conflicting thinking. Especially when it crosses boundaries between multiple developers who had to modify it but didn't truly internalize that part/design of the code.
It is an interesting start. You have some analysis in your previous reply. If you have some way to also show those factors influencing results that may be helpful but I am not sure how easy that would be.
Tomatoes that produce as much Vitamin D as eggs
I work in tech, therefore tech is no long fun (even outside of work).
> researchers used renewable cellulose and a common kitchen ingredient, konjac gum

“konjac gum” a common kitchen ingredient, eh? Let me just check my pantry. Odd, seems I am fresh out.
was being fixed. They just marked the issue as resolved and blocked any more comments on the thread.
I didn't quite believe you, but:

> 5. Exponential Thinking

> Our brains think incrementally by default.

> But as Astro Teller said: “It’s usually easier to make something 10x better than it is to make it 10% better.“

That's a whole chapter, containing no information, but at least one piece of non-sense and one bizarre error, placed in sequence as if there's any relation between them.
That's my neighbors to the south. They do have issues with firearms despite being heavily Mormon. My neighbors to the north are Montana. I am not sure what makes Wyoming and Montana unique from Utah in that regard.
My experience is that those things you keep dragging to the next day again and again are one of the following:

* not actually important if you’ve been putting them off for a month
* insanely important but complicated things that need to be broken down into smaller tasks
* important things with a lot of emotional baggage attached; either hand these off to someone who will not have that, or make time to unpack that baggage - unpacking it is usually the harder option and likely to become its own constantly-deferred to-do.
> Why should enterprises deal with Linux directly?

Um... perhaps because it is less costly and will lead to better capabilities, more reliability, less complexity than burying it under 18 layers of apis, containers, and virtual machines.
It takes surprisingly little HDL to describe the hardware of a basic version of Pong.

https://www.fpga4fun.com/PongGame.html
(Ethereum) Smart Contracts are usually written in Solidity, not Rust...
Jack Welch and his students turned companies into steaming piles of crap, not gold. GE, Boeing. A few people walk away with riches, however.
Nah, I don't think so. Most of them will be born in the Netherlands and speak perfectly normal Dutch.
One catch might be that it hasn't been tested at scale. The results are extrapolations from lab testing in a controlled environment.

There's quite a number of inventions and breakthroughs that looked great in the lab but never made it to real world applications.

Remains to be seen if this approach can work in practice and at scale and what the real-world implications would be.
> organic is a term that will surprise you when you learn what it means.

my current understanding is that the organic certification of food in America is a giant success story with many facets; that the negotiation on the meaning of organic for fruits and vegetables was relatively strightforward while the terms for meat products delayed the process and were difficult; that the organic certification has been a success in the marketplace, giving some farms a chance to get profitable with a higher selling price; that organic certification in California is also consistantly forged and that there is an enforcement challenge to curb forged organic certificates and brand marking.

Yes, I am interested to learn more about organic food, and I do buy organic food regularly and often, here in California.
If you find this useful, you may also benefit from the fact that Python compiled to WASM (by Pyodide) also includes a working build of SQLite in the sqlite3 standard library module.

You can try that out in a REPL here: https://pyodide.org/en/stable/console.html

import sqlite3
db = sqlite3.connect(":memory:")
db.execute("select 4 * 5").fetchall()

Or in a full client-side WASM Jupyter notebook interface using https://jupyterlite.readthedocs.io/en/latest/try/lab

I also used Pyodide to get my Datasette SQLite Python web application running entirely in the browser at https://lite.datasette.io - more details on how that works here: https://simonwillison.net/2022/May/4/datasette-lite/
I'm not sure what I'm supposed to get out of this article. The only entities that identifies as being harmed by the new law are... mega-corp banks. I'm supposed to feel sorry for banks now? Excuse me?
Dude you don’t have liquid nitrogen in your fridge? Such common kitchen ingredients. /s
I'm not sure, but the women who interviewed with this guy, if that part is true, would probably be able to sue Google for blatant sex-based discrimination. The DOJ might be able to as well (IANAL). I think all Google would be able to do is fire him, if he was currently still working there. Google doesn't enforce federal law, but they are responsible for themselves and their employees adhering to it.
> Given that this SQLite variant is WASM-based, how does this relate to Cloudflare recent D1 announcement where you can use Workers (WASM) to connect to an SQLite datastore?

They're conceptually similar but, while i'm intimately familiar with the fiddle app, i don't know enough about D1 to know _how_ similar they are or are not.

Note, also, that fiddle is analog to the sqlite3 shell app, not the library API. The library API itself is a separate wasm sub-project.
My phone runs Xiaomi's MIUI and after disabling the stupid "RAM cleaner" popup, I don't get any notifications from the system unless it actually matters (i.e. "battery almost empty").

My Samsung tablet though, oh boy. I tolerate Google Drive the notification after setting up a Google account but I don't need Onedrive or Samsung Cloud or whatever the hell Samsung Free is. I can't believe Xiaomi's iOS-knockoff does a better job at curtailing notification spam than Samsung.
It's pretty much in the difference between a project and a product: by most definitions, a project is a tool for change in an organization, and has a limited lifetime and a limited scope. A product, on the other hand, is a tool for performing some business function (either internally for staff or externally through sales), and its scope can be whatever the business needs.

Typically, a project manager has authority over resource allocation and resource planning, but must defer to the stakeholders for everything else (most importantly, for actual design/implementation decisions). A product manager has authority over the complete lifecycle of his product, including design, implementation and resource allocation.
I still remember a wonderful presentation by Damian Conway a number of years ago about all of the great ways Perl 6 could turn into whatever domain specific language you needed it to be. It was beautiful, I was awestruck. I've always enjoyed Perl as a language. But I walked out of that presentation thinking "That was so beautiful, and I don't want it anywhere near my business." Because the last thing I need is software written in a language I can't hire anyone else to maintain.

At some level that's what I think has happened to Perl in general. I never liked Python much, until I got forced to use it on a new team. Now I'm convinced that it has a really distinct advantage -- there aren't too many ways to write Python, so an experienced Python developer can figure out code pretty quickly. But Perl programs are frequently art pieces that take a lot of effort to truly grok.
There is also Openstack, oVirt, and LXD (does KVM now).
I was diagnosed with mild sleep apnea some years ago. After dealing with the machine for a few months, I decided to do some research on it. It turns out that simply moving your jaw forward when you sleep will keep the airway open if you don't get that much obstruction in the first place. Now I just sleep with a mouth guard, and it works great. Plus it's much more convenient for travel, since these days I only carry a 19-liter backpack with me, no matter where I go or how long I'm gone for.
Not true, EVE, Albion are like that (and probably a good number of others). Some survival type games with PvP features parts of that as well although they are regularly wiped. While the demand is smaller than mainstream MMOs the following is way more hardcore, there is a reason some of these games are going strong after 15-20 years.
I always wondered why Stream was using Python instead of Go. Glad to hear they are able to make the change now. There is no comparison between Go and my Python or Node.js services when it comes to data processing or pipelines.

> Revel, Iris, Echo, Macaron and Buffalo seem to be the leading contenders.

If you're talking about MVC-era frameworks these are fine. However a lot of companies are using Go for microservices so I would highly recommend looking at https://goa.design/ and https://gokit.io/
Darklang Release Schedule
Making ammo is a fairly simple process if one is so inclined to learn. I don't see how this would do anything but make a black market for ammo.
> I’m currently using a tplink wireless router running as AP mode

This is the problem right there. Don't buy consumer network equipment. It is tempting because it is cheap but I personally always end up regretting it. Spend a bit more for the entry-level business line and keep your sanity.

TP-link actually has a pretty decent line of small business switches and APs.
Sorry for nitpicking, but is this a Tokamak? The description is not very clear, I think they are not using a donut shaped confinement device.

Edit: Their webpage https://www.avalanche.energy/ has a few graphics, and they are definitively not using a Tokamak.
It would be funny if the crypto bubble burst and took the rust bubble with it.
Wow, ready to throw out both the first and second amendments. Is there any part of the Bill of Rights that you would actually stand up for?
> 898KB even without compression. Pretty good.

gzip'd it's roughly half of that but that particular web server (althttpd) doesn't (yet?) know how to compress output payloads.
That's amazing and inspiring.

I had thought about making a 5/3/1 app when I got into powerlifting but thought to myself "nah, no one would pay for it and there're so many apps out there already". The inspiration here is that I need to validate my assumptions or really be skeptical about them.

Congrats!
A really good article. It was interesting to read this part:

—-
> A later study expanded on the same hypnotism vs. faking it question, this time using an MRI scanner, which gives more detail when looking at soft tissues. This time, the researchers saw the motor cortex – part of the brain which controls body movements – showed activity in the patients under hypnosis. This suggests the hypnotised people were really preparing to try to move their limb, despite achieving no more movement than the group who were faking limb paralysis.
—-

So one part of the brain was trying to move the limb, but another part accepted the suggestion that the limbs are paralyzed. Fascinating !
Maybe have a mobile app that actual park visitors could use to help map the trails, etc. They could tag cool things they see while hiking ("grizzley bear", "massive tree recently fell") and they could show up in the larger game.
Comparing this to a M1 is weird

I'd compare it more to a Raspberry PI, a toy, not powerful enough to to meaningful things

With a mac mini you can edit raw photos, 8k videos and master some audio

What can you do with a snapdragon on Windows 11 ARM? nothing

I guess it's modern journalism
We didn’t previously produce mass murderers as at anywhere near this rate.

Why are our children so incredibly poorly served by our educational and social institutions, and their families?

What has changed?

Creating mass murderers is the problem, not guns.
> First, opting in to an experimental feature could be a one-liner, “use experimental feature ‘try’” or similar. There’s no point in punishing your valuable beta testers beyond that with a second line that’s entirely redundant with the first one.

It is. "use experimental 'try';" works already.

> The larger problem is the versions. This basically requires someone to update their script headers all the time if they want to keep getting new features.

This is intentional. The largest strength of Perl is that, barring significant security-type issues, a script written in 1995 will still run with the version of Perl you've installed. If you write a script with "use v5.36", you would change that version only if you intend to modernize the script with features from a newer version, and determine that such features don't break the script. This is harder to determine for some features than others, for example applying the 'unicode_strings' feature to an existing script written without it is rather perilous.
AOLServer had a lot of defaults that would magnify the performance issues of TCL. The documentation did not cover all of the necessary configuration options to get a system to scale and you had to dig into driver.c to understand how to tune the system. I think the two big undocumented bottlenecks were maxsok and backlog. I bet if you were writing the same applications today, using modern hardware and Naviserver you would not have to write C modules anymore.
I've noticed a large number of stories on HN related to SQLite over the past few weeks. Maybe it's just random or I'm only now just noticing it, but is there some renewed/newfound interest in SQLite lately? If so, what's behind that?
If you can passively make more money with more characters what stops someone from having a ton of accounts and just funneling resources?
really bizarre that you blame Asians when tech giants exist in other regions. Really didn't expect to see this dog whistling on HN.

Also are you talking about Israel or Bangladesh? They are in Asia too.
Can you elaborate on why you think it's bad to open multiple connections? How would you allow read access while a writer is active without multiple connections?
Some would argue you've just described parts of the Windows OS itself, and updates exacerbate this.
Very much off topic from the article, but I've always found modern South Korean culture to be very interesting. Is there a resource or book that lends more insight into today's mentality/zeitgeist of South Korea?
This isn't "a" tech lead. It is "the" one. And I was wondering why activists are not picking up on him, he was politically incorrect from the day one. Somehow I expected they will go after him sooner or later, probably after some misunderstood joke. It's not really my cup of tea but from what I watched he was always half-serious, or basically playing with the level of seriousness all the time.
What are the chances that we've been visited by aliens?
The problem with this is how you identify the ammo used. If you print on the shell casing, it can be re-used after it is ejected from the rifle at the range leading to reasonable doubt about it's origin. There is also no way to tag the bullet itself. Tagging firearms and regulating them is much much easier. Can you imagine the police checking that each and every shell in a box of 300 is tagged?

With regards to the most recent shooter, as far as I can tell, their only parent was a grandparent who they shot and killed before attacking the school.
Data Pipes
Adblock is no longer enough. It is time for contentblock.
A lot of America's wealth comes from being competitive on a global scale. Google is popular not only in the U.S., but also in Europe and the rest of the Americas. Apple sells phones, computers, and service all over the world. People use these products because they're best-in-class. We may be able to protect the domestic market, but the international market will not be as forgiving.
sql.js is quite similar but not quite the same thing. They produce a high-level wrapper of the C API, but they do not offer a binding of the shell app (which is what fiddle is). The latter requires, due to how emscripten wraps the C function fgets(), hacking the shell in order to get sane input semantics. sql.js has, however, been a great point of reference and inspiration in building fiddle.
It's a valid point, however I don't feel like there's a lot of discussion in e.g. python or JavaScript crowd around it. The post addresses the common concern within Rust community by approximating an answer to the question in title.
I realize that I should have been more precise. I was talking about profit in the colloquial sense where profit = revenues - cost and not the GAAP meaning.

For instance, even when Amazon was “losing money” for years, they were using cash flow to expand. If they were running short of money, they could have just stopped building infrastructure. They had marginal profit unlike companies that are losing money on each sell.