skysight-inc/HackerNews huggingface dataset:
My understanding is that every front end server has at least one connection (on a dedicated thread) to every other front end server.

Assuming they have say, 5000 front end instances, thats 5000 file descriptors being used just for this, before you are even talking about whatever threads the application needs.

It’s not surprising that they bumped into ulimits, though as part of OS provisioning, you typically have those tuned for workload.

More concerning is the 5000 x 5000 amount of open tcp sessions across their network to support this architecture. This has to be a lot of fun on any stateful firewall it might cross.
Mozilla did and does employ a lot of people outside of silicon valley.
A bigger issue is IANA. The way that IP addresses are managed and controlled is really disadvantageous for smaller entities. The organisation itself should be moved to Switzerland as a start.
Exceptions tend to prove the rule...
Good to know

I'm glad Vim is running fine on Rosetta, still, if you wanted to compile it from source, it really shouldn't be too hard.

(Rust is a harder problem, so I wouldn't worry too much, still, once the dependencies are downloaded and compiled it's usually fine)
It’s good, healthy and all, but knowledge-intensive endeavors still need a bit more than self-esteem and can-do attitude?
On congestion control (un)fairness and active queue management (AQM)
Ok, I really am arguing in good faith here. Not intending to spread disinformation. Would you mind spending the time to conclusively correct me?

So. Are you saying that the R number given by the government is derived from data only from random sampling, and that other test statistics do not feed into the estimate at all?

I’m not a statistician or epidemiologist and I find that very hard to believe. But I will honestly be happy to have learned something if you can teach me otherwise.

My understanding was that longitudinal studies using random sampling were used to check and correct the numbers derived from the actual test numbers for the real population. That meant the longitudinal studies would have been even more important early on when access to testing was poor, because the sample distribution was obviously skewed wrt the whole population.

Again, I really would appreciate a substantial rebuttal, link or otherwise.

Thanks
> The scientific method only works because the rules of the universe happen to be simple

Are they simple though? That's not the impression I get from physicists, eg, the famous Richard Feynman quote: If you think you understand quantum mechanics, you don't understand quantum mechanics.

We haven't even managed to find a unifying theory yet, but the current contenders, like Loop Quantum Gravity are anything but simple.
""‘Believe in yourself and anything is possible’? Nope, it’s just not true."

This is such a great quote. I honestly hate people that spout nonsense like anything is possible if you just believe, and that if you don't, it's that you obviously don't believe enough"

Well, it is the same with, you can do anything if you want it enough.
True, but in a tautological way.

You want to levitate, but can't? Clearly you don't want it enough and still have doubts.

So all in all just a quite useless statement.
Threat9 / Routersploit
The+Mastery+of+Self+by+don+Miguel+Ruiz+Jr+Domestication
Frickin' love FlashFloppy. It and a GoTek emulator let me quickly revive an old Amiga to working order.
8 GB when using Android emulator and Xamarin has been a pain for me, but my iMac doesn't have a SSD drive (it's got an Apple Fusion drive). The machine was swapping all the time, e.g. when alt-tabbing between Android emulator and Xamarin.

After upgrading to 24 GB the machine became very usable.

I wouldn't ever want to go back to 8 GB. Perhaps 16 GB might be usable for iOS and Xamarin development, especially if the Android emulator can run in some kind of HAXM [0] mode, but for ARM processors ... not sure if that's possible right now. I'm sure the SSD also makes a big difference compared to my Fusion drive right now.

Still it feels safer (more future-proof) if the machine has a bit more memory than 16 GB.

---

[0]: https://github.com/intel/haxm/wiki/Installation-Instructions...
As someone who has had to run and maintain build systems for several (sadly far too) large projects (5MLoc+), I want a product that sells me on how easy it is to create _correct_ builds, and how impossible it is to create incorrect ones.

So much wasted time goes into diagnosis of incorrect results from incremental builds that most people who implement CI systems never use incremental builds, and always build from scratch. Developers are far too used to having to do things like 'make clean' because their build didn't work quite right. Efficiencies are then gained by doing things like ccache/Gradle build cache, which trace their dependencies better than most naively written build systems do.

Edit: zig is a beautiful exception (https://ziglang.org/download/0.3.0/release-notes.html#cachin...)
Export your emails to zip in Thunderbird
A tidbit from the article: Ball Corporation is based in Indiana. Which doesn't immediately seem a compelling location for glassmaking until you realise that a key input was found there. Natural gas.

From the Indiana gas boom. Of the 1880s, as the article mentions. But not the hubris and decline which characteried it:

In 1886, Indiana's first commercial gas well when George W. Carter, William W. Worthington, and Robert C. Bell, hired Almeron H. Crannell drill another well in Eaton. Crannell reached gas at a depth of 922 feet (281 m). When the escaping gas was ignited, the flame reached 10 feet into the air. Other gas wells were drilled, and in instances, the escaping gas was ignited to advertise the discovery, with the assumption the gas inexhaustible. The resultant flame was called a flambeaux.

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

The gas attracted energy-intensive manufacturing, notably glas manufacture, including the Ball Corporation (in Muncie), and the Hemmingray Bottle and Insulating Glass Company.

Of course the supply was not infinite, as much as 90% was burned in flambeaux, and by the early 20th century other energy sources were substituted as the last dregs were exhausted.

But the echo of a squandered nonrenewable resource remains in Ball canning jars.
I don't think this kind of behaviour is reflective of HN as a whole- there are very many thoughtful people sharing their thoughts here
Nit: companies fine people quite often.
Sure, but I don't see how any of that challenges the point I was making about TFA's explanation for people's sudden interest in canning jars being implausible.

Sure, there's a lot to be said for making things yourself. But people who are hunkering down for economic hard times are not going to suddenly become interested in spending more money on higher quality food. Doing just the opposite of that is more likely.
As I understand it: The rules are simple, but not necessarily intuitive.
Unless you use anything that does JIT compilation (e.g. JVM), e.g. JetBrains IDEs are really slow onder Rosetta.

Another pain point is code that relies heavily on SIMD. AVX/AVX2/AVX-512 instructions are not translated, so in those cases you'll be using slower kernels. My machine learned models are ~10 times slower with libtorch under Rosetta. Though they are competitive when compiling libtorch natively.

(Source: I have used an M1 Air for a week, but decided to return it.)
I'd be less worried about components and more worried about a human being awake for a week straight.
Yes, this. I'm reminded of a great Captain Picard line after Data fails his game of strategema:

"It is possible to make no mistakes, and still lose. That is not a failing. That is life."
I don't think you've been in stores much then. The entire experience is designed to be anti consumer and to trigger impulse purchases as much as possible.

Some would say this is the impact of late stage capitalism. There is no money left to be made on conventional purchases, but instead the profit is in trickery or deception.
It’s impressive but doesn’t the need for a “good” prompt kind of show it doesn’t have the strong reasoning required to do the task you’re describing? Also there’s some interesting critique here https://www.lesswrong.com/posts/ZHrpjDc3CepSeeBuE/gpt-3-a-di...
As if someone who is ready to spend 150k$ (minimum) on a car chooses between EV and ICE based on that. Beyond unbelievable, almost as if Trump was ever elected president of the US.

Nitpick, as I'm on my throwaway account: HN should ban users who post twitter links for life.
Is your concern that Amazon employing people to work on the open source project will dramatically alter its direction? From what all I've seen I am taking the public comments at face value: Amazon wants to use Rust long term, so they are putting resources into ensuring Rust's long term viability. I think that there are exist few things that Amazon could possibly want that from this effort that wouldn't also be desired by the ecosystem at large. Changing the language isn't something that is done in the dark, the RFC process is as transparent as it could be (although it is not actively promoted to the entire community, which does produce the "why wasn't I consulted?" reaction from time to time) and that process will not be changed to become more opaque.

Rust the project is resilient because although it was significantly shepherded by Mozilla, it's been years since it relied on any single company or even individual for advancing (although there are many people whose contributions are very important).

Rust the language is stable, if "incomplete", as there are many language "features" that are still needed (by "features" I don't necessarily mean "adding new things" as some might be worried about, but rather "making existing features work in more places" which although they complicate the implementation of the language simplify the usage of the language).

Rust the ecosystem has advanced by leaps and bounds in the past couple of years but is still green, particularly if you want to use anything outside of the beaten path trail blazed by hobbyists and early adopters. Writing new crates people might want or bringing existing crates up to production quality requires resources: people, money and time. Amazon, Microsoft, Facebook and Google are four large companies that are providing some of those resources. Lots of other companies and individuals are as well. I see these developments as a good thing.
USA is only 5% of the world population what happens there is vastly insignificant outside of it.

Android is on 75% of European phones, the CEO of the fortune 500 company I work for uses an Android phone, same goes for the vast majority of the management there, many highly influencial politics own Android phones, that's simply a spurious correlation

https://tylervigen.com/old-version.html
Make build configurations can be difficult to understand for newcomers in the industry. If the goal is to obscure the code, by all means continue using the older tools.

If the goal is continued maintenance, then encouraging new engineers to explore and read the codebase with tools they can comprehend is critical.

disclaimer: have not used these particular tools, but the domain is nice and polite
How to Seize Control of a Router with RouterSploit
It's open source, if you want it, you can add support for it. Which is a lot more than what you can do for a lot of other development tools that only run on Windows and have lackluster or no support on Linux.

Also, they might just not have Windows developers or a use case for running the tool on Windows, so even if the cost of adding Windows support was zero, they'd have to go out of their way to test it. A lot of open source code might run just fine on Cygwin, but most people choose not to support Cygwin because damn near no-one uses it anyway.
You asked good questions; and got great answers. great example of what this site is for if you ask me.
It’s not just a choice. It’s also the kind of tooling the people developing the system have at their disposal.

For example, if all I have is a MacBook running macOS and Docker, how can I reasonably expect to port this to Windows? I haven’t owned a Windows machine for 10 years.

I am the author of Buildbarn, a build cluster implementation for Bazel/Pants/.... Buildbarn also doesn’t support Windows. If someone sent me high quality patches for Windows, I’d merge them for sure, but nobody has. Sorry you are ‘stupidly disappointed’ in me.
United States are a disfunctional country, we already knew
Basic was, and still is, an excellent language for introduction to programming. Yes, there are things you shouldn't do, but that applies to every programming language.

There is nothing quite so simple, pure and fun as the older programming languages. Everything is a little bit bloated today - but it is infinitely much better when done right than you could ever do with these old languages.

for introduction, kudos! just mastering the branch/loop/return you have learned the basics of all programming.
Make is not written in Golang/Rust/Haskell and lacks a cool logo and hip landing page.
And how is the store supposed to carry 50 different brands of tea catered to the 5 bags that you buy once a month?

They are losing business because there is no route to competition on a local level.
Amazon is making this a lot easier now, too, with Kohl’s acting as return hubs.

I’m able to just drop off the item without packaging or label or really anything except my name and other info like the order number. Couldn’t be much easier (if you have a Kohl’s close).

I’m sure for areas that don’t have Kohl’s, they’re working on figuring out how to make returns as easy as possible (relative to the b&m experience).
It's quite the opposite actually. HN has a ridiculous Apple bias (the flood of blogspam mentioning M1 should be evidence of this), and any comments critical of it are shouted down. They can literally do nothing wrong in most eyes.

NO company can, or should be above criticism. You will see comments critical of _all_ large companies in HN threads, but only comments defensive in these threads. Imagine a comment like yours on a thread about Amazon or Facebook.

I have gut feeling of my own - that many people identify with their Apple products (identity politics) and are personally offended by any criticism that the organisation receives.

--

Edit: To put it in a little perspective... I invite you to view the contemporary Amazon thread. What would happen if you posted that everyone should focus on AMZN creating jobs and hiring people rather than criticizing them?

https://news.ycombinator.com/item?id=25237552
I've used powerdns for years to run our company DNS and it has been fantastic. We have now, unfortunately, moved to the cloud.
I would agree, with the exception that I’ve noticed really CPU heavy things like builds that take > 1 min still complete a lot faster when plugged in, even on a full battery. I assume they still need to throttle somewhat when only running on battery.
The problem with Make is that it’s never just Make. It’s also Autoconf, Automake, m4, and god-knows-what-else. If Make is so great, why are people resorting to generating the Makefiles? There’s clearly some kind of deep UX problem there.
This is great.

I learned on Basic XE on an Atari XE, then GFA Basic (2, 3, and 3.5) on an ST. I still find reading Basic code to be considerably easier than most other "starter" languages. GFA was remarkable for its time, with its compiled code executing with performance rivaling some of the C compilers on the ST.
You never even have to leave your chair, it's the future.
Before the pandemic i saw many people make multiple trips per day to different retail stores. This isn't new behavior for these people and disincentivizing their behavior is going to be difficult.
They were comparing m1 vs the intels that are in MacBook Pros, not any intel.
I used to work at the Davenport and recognized the building immediately from the pictures. I didn’t realize there was a major fire at One Broadway. Glad you made it out safely and thanks for the advice.
I think it’s 1. people find makefiles confusing, and if someone’s introduction to the concept is a large project they may never pick up the basics and 2. Make’s fundamental assumptions: that each command creates a single, sensible artifact that is the input for the next phase, maps poorly to the dynamic build processes of browser and phone ecosystems, which are themselves barely controlled explosions of complexity
They tried/are trying those things because they believe there's a non-zero probability of success. Belief in success being a possible outcome is pretty fundamental to accomplishing any goal or strategy in general.
Amazon also has clear quality and counterfeiting issues. I now purchase durable goods from the retailer's website rather than through amazon. My recent amazon purchase history is mostly consumables like snack foods and rice. Clothing, electronics, cookware, and almost everything else valuable gets purchased from somewhere else. This is also because the experience of shopping on amazon is extremely frustrating - they keep trying to force lower quality products on me instead of the things I want. It feels more and more like a digital walmart with fake brand names, sketchy products, and even sketchier fake reviews.

For example, a search for "snow pants" turns up products by Arctix and Outdoor Ventures. Outdoor Ventures is presumably a knockoff of Outdoor Research, a reputable cold-weather clothing brand. Outdoor Ventures seller page says their actual company name is "FUJIANSHENG SHANGFEI ZHIYI YOUXIANGONGSI". And Arctix is presumably a knockoff of Arcteryx, and seems to be owned by a very small financial services company in NY.

I rarely feel like I'm being presented with accurate or meaningful information when I look for things on amazon.
Have you come across any other interesting resources? I've recently been delving into topics surrounding echo state networks for my thesis, so I'd appreciate any pointers.
And interestingly they were once affiliated with Ball aerospace as well.
There is probably plenty of people like us that do this. VS Code remote development feature is quite popular which indicates many people are going with this setup.
What is easy or useful for one person to understand is often much less so for another.
Nobody sensible is going to rewrite everything in Rust all at once. They'll start with new tools or things they needed to refactor anyway. Then use it where it's appropriate (it's certainly not a universally applicable language, the tradeoffs Rust makes are well known). Maybe someday AWS will have replaced all their Java with Rust, but I suspect some bits will stay Java for quite a long time, or migrate to Kotlin or some other garbage-collected language.
Ask HN: How hard will porting and compiling for the M1?
Microsoft has an the Surface Pro X which is based on
Microsoft SQ 1,2 chipset powered by Qualcomm's 8cx.

I believe they have Windows 10 on Arm, Office365 on Arm.
I am unsure what support other application has but for the moment let us focus on applications that are ported and works fine on the SQW.

They also have a very minimal Windows 10 for Raspberry for Arm Cortex-A72

Linux has several Arm based releases and I dont know many of them.

Now we have OSX ported to M1 and a few application ported to M1.

If we start with the M1 and for a second focus on Linux running on the M1, SQ2, and Raspberry.

My question is: How difficult is to port an application written and compiled on Raspberry to run on the M1

Is it like ab AMD64 <-> Intel x64?
Mostly similar / compatible instruction sets with proprietary extensions that are custom and requires two sets of code, one for each if you want to make use fo those special instructions?

Or do you need to compile the code specifically for the M1 specially for the Raspberry PI and specifically for the SQ2? If I take a command line app I have written and running on SQ1 and copy it over to an M1 based machine, will it execute?

I presume the graphics instructions is quite different between the 3 and that requires specific compilation?

The neural engine, I am having a really hard time finding concrete information on, such as instruction set.

The MacOs abstracts its details with libraries that talks to the neural engine.

When Linux is running on the M1 the compiler would need to know about that instructions as well.

These are all based ARM at the foundation at least.

Also how hard would it be for Microsoft to get their Arm based Windows 10 os to run on the M1? That will probably never happen so the reverse might make more sense.

Will it be possible for enthusiast to create an M1 hachintosh from Window compurs running SQ2?
How does it compare with the rohloff system?

Anyways it seems to be significantly more expensive thus I don't think it will become widespread.
> The reason it has been stuck to 16GB is precisely because Intel mobile chips did not support any more than that up until a year ago. So rather than blaming Apple, it should rather be placed on intel.

That is not true, example CPU I had in my old laptop:
https://ark.intel.com/content/www/pl/pl/ark/products/78939/i...

Supports 32GB RAM, released in 2014.

The reason some older laptops didn't have more RAM was twofold:
1. Either the BIOS wasn't written with such support
2. There were no RAM sticks big enough (no 16GB in a single SO-DIMM) so you could have 2x16 - but there are currently since a year or two, SO-DIMMs with 32GB RAM, so you could easily reach 64MB in a laptop.
>GP is saying that they likely did not do the math or that they prioritized short-term gains over the long-term impacts of their decisions as for-profit entities typically do.

No, GP said they did not consider future impact, period. I said that entities can consider future impact and still choose short term profit (and that it is often rational to do so). I then pointed out that assuming someone else didn't do the math because their results are different than your results is egoistical.
Apparently the only name that comes to my mind now...
This is really common and works pretty awesomely. MySQL is extremely battle tested and there’s lots of experts out there for it.

FB built a similar system to maintain their graph: https://blog.yugabyte.com/facebooks-user-db-is-it-sql-or-nos...

It’s a ton of tiny DBs that look like one massive eventually consistent DB
No need to use Rosetta:

$ file `which vim`
/usr/bin/vim: Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit executable x86_64] [arm64e]
/usr/bin/vim (for architecture x86_64): Mach-O 64-bit executable x86_64
/usr/bin/vim (for architecture arm64e): Mach-O 64-bit executable arm64e
I used to live in that past, and you know what, it was great to be able to sell development tools to developers instead of being forced to work only with enterprise customers, the only ones left willing to pay for tools.
Though I don't think I ever met him personally, I like many here was very moved by his ideas and his ethics and his works and am really saddened to hear this news. Like you I also have questions and would like to hear more. I always find it helpful in grief to just hear what happened. Was it a mechanical malfunction? Was it a lack of fire alarms? Was it arson or murder? Was it suicide? It's extremely sad, and only 1/1000 deaths in the US are now caused by fire, and am just wondering how it could happen to such a smart, young, generous person.
The same OS limits would apply to new instances, unless they knew the root cause and forced new instances to be configured with larger descriptor limits, which is....well, hindsight is 20/20, no?
This is a bit odd that you're jumping into a discussion between two other people and you're trying to make it about yourself.

But please do carry on reaping and continuing things. :)
I disagree. They most certainly need cars, they just do it byproxy. While they certainly reduce their footprint by not having a personal car, they exist at the far end of a very carbon heavy chain that allows populations of our size to exist.