skysight-inc/HackerNews huggingface dataset:
It's slow and expensive in MySQL too, assuming you mean InnoDB storage engine. Recent versions of MySQL can parallelize a COUNT(*), but that only helps so much.

The "shortcuts" you're thinking of may be from the MyISAM storage engine days. Since MyISAM doesn't have transactions or MVCC, it can maintain a row count for the table and just return that. But MyISAM is generally not used for the past decade (or more), as it just isn't really suitable for storing data that you care about.

Storage engines with transactions cannot just store a row count per table because the accurate count always depends on your transaction's isolated snapshot.
The most disturbing thing of all is that they just let the threats of reprisals slide like that. They can do what they want about the cheaters, but the students making the threats should have faced immediate expulsion.

It's the worst kind of corruption, because all other forms of corruption hinges on everyone staying silent and playing along. Anyone who espouses the "snitches get stitches" attitude needs to be socially ostracized, because they are a menace wherever they go, whether in academia, industry or public office.
My experience with an M1 Air has been more than adequate for moderate rust usage and all around development. The mini is actively cooled and gets an even bigger power budget. I think the studio is way overpowered for your needs and you would be quite happy with a mini (I have a mini for the family PC but I use the air for dev more often)
Yes - imagine inventing Fast Fourier Transforms without a computer.

Or the original continuous Fourier Transform, with just a pen and paper.

Or Heaviside's simplification of the Maxwell equations. Or calculating planetary orbits with perturbations.

Incredible leaps of imagination.
In Britain, 'corn' is a generic word for any cereal grain.

https://www.quora.com/Why-do-the-British-call-wheat-corn
Do not ship to your real address, use a dead box. Your vendor may be an informant, or may become one, while your address is in their file.

The rest is mostly good advice.

You can add plausible deniability by running tails out of a USB stick, with a second decoy system which you use often enough to watch questionable porn, in order to justify having it when the police finds it.
Yes, gcc 10.1 has introduced support for the SVE2 intrinsics (ACLE).

Moreover, starting with the 8.1 version, gcc began to use SVE in certain cases when it succeeded to auto-vectorize loops (if the correct -march option had been used).

Nevertheless, many Linux distributions are still shipped with older gcc versions, so SVE/SVE2 does not work with the available compiler or cross-compiler.

You must upgrade gcc to 10.1 or a newer version.
> I don't think politics belongs in open source software.

Politics will always be there, even if they aren't talked about.
I never do "rm prefix" in a dir. I always do "rm ./aDir/prefix" for example. This assures I'm not globbing outside a directory (or just a directory) and tries to help assure I'm not shooting my own foot.

Yea, i love up 1 directory before I delete anything.
South America’s unknown ancient path
Elon Musk thinks the American work ethic is alive and well in China
Speaking as an 'older person', many of the opinions I held as a 'younger person' turned out to be completely wrong. That's the problem with being 'older' you get the benefit of experience and seeing how certain ideals actually play out.

Many of these people you now hold in contempt were once just the same as you are now and changed as they became older and wiser - just like you will.
Or middle management at a large company.
I feel that school is criminal and I deeply resent how my childhood was spent due to school. So I'm going to opine on it.
I've heard good things about the Focusrite Scarlett series. Those are USB class compliant audio interfaces, so they should work in a lot of places (Linux, Android, iOS).

Edit: looks like the presonus and Steinberg USB audio interfaces are class compliant too. So the Presonus AudioBox USB 96, Steinberg UR22, and the Focusrite Scarlett 2i2 should all do what you need. I have a Steinberg UR44, and it works fine but the preamps are a little weak IME.
I had assumed a single oval-shaped display and headset, along with notches for cameras. I also don’t see slightly displaced cameras as causing a significant problem. Brains are pretty adaptable to vision changes.
Not debunked in the same way that religion was never debunked :p
So eat a diet of mostly fruit (comes premAde from nature) and boiled potatoes. It’ll e x10 more healthy than the alternative nd save time
This is great thanks for putting it on my radar.
> I've just interviewed for Google and Meta. In total I went through 8 individual coding interviews.

Curious, were there any questions about what you think of their company ethics, and if you have a problem with it?
My guess is that it works for certain airlines. I tried the three next flights fromthe local airport. Some of those are just one letter and three numbers. That makes it pretty hard to make assuption regarding the meaning of the code, without having a reference.
You can turn also turn your head and move around in your room, i.e. your whole room could be full of separate displays, or just pieces of code floating in space. It's not just how much you see at a time, but how easily you can switch context.
> Crappy code

Being able to come up with an algorithm in a reasonable time doesn’t make it crappy. No wonder you can’t pass those.
https://archive.ph/dn6EE
You don't need after-the-fact curving for that, though.

When I set (free-form written, math/CS) exams, I always made a point of designing the exam in a way where I didn't really expect anybody to get more than 90% of the points. I also made sure that students knew this.

I always set grade brackets before grading (e.g., 80% of points gets you an A, below 35% is a failing grade, and so on). I always ended up with a pretty reasonable grade distribution.
Can you install TrueNAS on it?

It’s unclear if one could install TrueNAS on a Synology, QNAP, Teramaster etc. Sometimes hardware is not supported.
The purpose of a gun is hunting, self-defense and deterence. Except in the hands of someone intending to murder.
Yes but the difference than build, maintain and move a traincar + all the rest needed by it to function vs not building, maintain nor move such trains is very measurable.

Just as a simple home-made curious math: did you ever try to compute how much resources are needed to build cement, iron to made CA, iron for rails, metals for electrical infra dedicated to trains and rolling stock etc vs how much resources to build small personal VTOL/STOL to serve people in a vast riviera?

Just consider that factories to build VTOL/STOL use very little steel, far less then rails, they use much aluminum a bit of copper and others minerals that pollute far less to be prepared and recycled and far less energy, such factories can be nearby mines/metallurgic industries/districts since they can fly directly their product, no heavy logistic required. No special infra, just a bit of flat natural soil. Sure, they demand energy, and they are LESS easy to power with renewables, but just compute how much less resource they demand initially and how flexible they are. Consider that they can last 50+ years with regular entertainment AS TRAINS but not as rails who demand much more work to be kept in good working conditions. Consider their recyclability.

Just see https://i.redd.it/3gpp18t6d6291.png where red area and green area represent the same population, at two different mean density, than consider an hypothetical society, a far less dense one, where we still have some dense area/hub/district for specific purpose (campus, factories etc) that for some reasons can't be distributed efficiently BUT THE REST is distributed. How much daily commuting we need? All eligible jobs WFH are done FH, most jobs are in a short range/locals. No complex metro/tall buildings and the hyper-big resources they needs. Anything can change since there is physical space to made changes etc. Is really utopia? I bet not. Actually seeing the actual real world the SOLE areas that have had a constant mean quality of life, good enough economy where rivieras. Sometimes cities have done better, economically only, but then they fall. Rarely very low density areas have done better. Rivieras have kept they status in almost all situations including wars and catastrophes. They do not demand cities to exists, while cities demand both rural and rivieras to exists since they consume foods, goods but they almost produce nothing behind the tertiary sector. Rural areas need industry. Rivieras normally have (some) industries embodied, residential and work areas mixed, they might be not totally self-sufficient but they are the least dependent on anything else. So, why keep concentrating in cities just to flee when something happen like with covid discovering that being in nature is better for those who can or like in China where cities was the richest and prized areas and now cities have unemployment far bigger than rural areas and much more foods provisioning issues? It's just habit? Just "we always do like that so we continue"? Something else I miss?
> I purchased the same model of disk from two different vendors to decrease the chances of getting two disks from the same manufacturing batch.

I prefer mixing brands/models instead. Two vendors _might_ get you a different batch, but you could be choosing a bad model. I ended up building mine from three different WD models and two Seagate ones. I'm paranoid and run with two spares.
Manual memory management is important if GC will blow your latency, throughput, or jitter budget. Keep in mind that latency can easily be amplified by artificially increasing contention or any number of other issues.

Even something as simple as a constraint solver can easily find that memory management overhead dominates if they don't do something interesting. Work per deallocation can be extremely low in that domain, and anything like checkpointing can make the new memory access patterns sufficiently non-trivial that the GC isn't likely to be able to recognize it.

A lot of software probably doesn't care though I don't think.
I understand most engineers work under industry exemptions. The ones that do not will have to work under a PE or be a PE themselves. In those cases, the work has been determined important enough to require the additional accountability of a PE stamp.

I'm not a big fan of credentials, but I understand when credentials become a proxy for something valuable. In some cases, the value of a PE is accountability and the legal authority for a PE to push back when they are being asked to do something unethical/unprofessional. I think one of the central issues of this thread is that the credential of a college degree has become so watered down that it has lost a lot of value.
You can sorta do this with Zig, but the file you're importing has to be written with that in mind. "Modules" in Zig are just structs, so you can create instances of them (I'm handwaving a little bit here, but that's the gist of it).

// Greeter.zig
const std = @import("std");
const Self = @This();

name: []const u8,

pub fn greet(self: *Self) void {
std.debug.print("hello {s}!\n", .{self.name});
}

The above file is equivalent to the struct:

pub const Greeter = struct {
name: []const u8,

pub fn greeter(self: *Greeter) void {
std.debug.print("hello {s}!\n", .{self.name});
}
};

---

// main.zig
const Greeter = @import("Greeter.zig");
const greeter1 = Greeter{
.name = "Joe",
};
const greeter2 = Greeter{
.name = "Sue",
};

pub fn main() !void {
greeter1.greet();
greeter2.greet();
}

A lot of data structures in the stdlib are in written in this style.

EDIT for comparison, a non-standalone version would be written like this:

// greeter-nonstandalone.zig:
const std = @import("std");

pub var name: []const u8 = "nobody";

pub fn greet() void {
std.debug.print("hello {s}!\n", .{name});
}

// main-nonstandalone.zig
const greeter = @import("greeter-nonstandalone.zig");

pub fn main() !void {
greeter.name = "Joe";
greeter.greet();
}
had me at biceps
I think this meant for social purposes, more than academic ones
> Essentially how long it takes to translate from mental understanding to working cod

Congrats, you just invented whiteboard interview.
Thanks for the link. I read that and largely agree with it's
position. Some of it I disagree with as I think many aspects of
digital technology pose a genuine hazard to young people.

But my remark is really about how, in almost 200 comments we've gotten
distracted and almost entirely avoided dealing with the arguments on
their merits.

While made of smart and sincere people, in-toto governments are
idiots, and dishonest idiots at that. We can surely take that for
granted. But they remain idiots because we, as citizens, fail to
correct them. Have all the "experts", advisors, consultants,
lobbyists, think-tanks, specialists and witch doctors not understood
the first thing about the complex dynamics of strategic limitation of
information hazards, scale, freedoms, or enforceability, to come up
with such a blunt and naive bill? How can we "hackers" help them see
better? Or do we also not understand, and the only solution that will
prevail is "Shut it all down!"
Everything that makes working with databases easier
Analogue Pocket: A multi-system game handheld and a digital audio device
I don't know, but if I could install NixOS without difficulty, it should be possible. I installed Ubuntu server on it at first and that also worked fine. No tweaking necessary at all. You just flash the standard x64 installer on a USB stick, plug it in, and install like you would on any PC (because it basically is a PC - it even has a working HDMI port).

Edit: Looks like someone did a writeup for TrueNAS on a TerraMaster: https://joelduncan.io/freenas-on-terramaster-f2-221/

Also: https://mightygadget.co.uk/how-to-upgrade-the-terramaster-f4...
> As I understand the situation, usually quantum mechanics uses correlation for examples of entanglement where it appears that, yes, the stronger functionally dependent would hold, and, thus, be more appropriate.

Not really, since things can be weakly entangled, and thus measuring one thing doesn't totally determine the other. The kind of entanglement where you have perfect correlation is usually only achievable in certain strange situations, like EPR entanglement. In that case it can be seen as perfect correlation though, which I don't see as being any different from the functional dependence you speak of.

In most cases in quantum systems, we have some correlation but not perfect correlation (e.g. squeezed states of light), and since we have that whole spectrum of behaviour, with maximum entanglement (e.g. some kind of EPR) being the extreme, we choose to use correlation to quantify the entire spectrum of possibilities.

Also from a more philosophical point of view, we expect to treat different degrees of freedom separately. If you have two particles but measuring the momentum of one gives you perfect knowledge of the other (i.e. EPR), it still doesn't really make sense to say p' = -p, or whatever, since conceptually p' and p are momenta belonging to two different subsystems. The most neutral way of stating it is that the momenta are perfectly correlated.
https://www.reddit.com/r/IdiotsInCars/
I agree, some do but more should dare I say need to follow suit.
> The final result is a chip that lets AWS sell each Graviton 3 core at a lower price, while still delivering a significant performance boost over their previous Graviton 2 chip.

That's not correct. AWS sells Graviton 3 based EC2 instances at a higher price than Graviton 2 based instances!

For example a c6g.large instance (powered by Graviton 2) costs $0.068/hour in us-east-1, while a c7g.large instance (powered by Graviton 3) costs $0.0725/hour [1]. Both instances have the same core count and memory, although c7g instances have slightly better network throughput.

I believe that is pretty unusual as, if my memory serves me right, newer instances family generations are usually cheaper than the previous generation.

[1]: https://aws.amazon.com/ec2/pricing/on-demand/
> Just make sure to get one that runs in IT mode or you have to mess with the firmware.

In case some people wonder what "IT mode" is, as I used to some years ago, what you basically want is a card that will expose the drives directly to the OS, as opposed to "volumes".

In other terms, if the card is a RAID controller, it may insist on you creating arrays and only expose those. You can circumvent it by creating single-drive arrays, but it's a pain.

Some cards can do both, but it's usually not advertised. Non-RAID cards also tend to be cheaper. Others (usually LSI) can be flashed with a non-RAID firmware, but again, it's less of a hassle to not have to do it.
Maybe you're the enlightened one here or maybe you're just rationalizing an awful and lazy part of the hiring process for many companies.
That determination would need to be done client side and is therefore vulnerable to spoofing
There's a sense in which I agree and sense in which I disagree. I think we can coherently attribute intention to self-organizing and self-controlling systems as long as we expand the notion of "agent-hood" to be unnaturally broad, and then consider anthropomorphising as a subclass. But then we'd also have to consider "plantapomorphising", "canidpomorphising" as analogous effects of projecting the properties of what it means to be one kind of agent onto another.

I don't find this repugnant. We don't fully understand or control the conditions of plant growth or dog raising. But in both cases we have developed deep enough understandings of the self-organizing properties of either system (to be clinical), to both allow for their lives to be lived, yet at least within the guidelines we set for their evolution; both in breeding and in facilitation and stewardship.

The difference with AI is the depth of legibility that we assume is feasible due to its formal and symbolic nature, yet the paradox of its unpredictability and adaptability that we want (to a degree), were it to solve useful problems for us. And due to the sheer efficiency and power a scaled up deep learning system has, the kind of intentionality it can produce (were it be able to be said to have any intentionality at all) would be so foreign as to be naively inconceivable and strange.

Limiting ourselves to formal and systemic descriptions will help sustain our sanity for sure. But if we do pass the threshold of AGI (even of subhuman intelligence) we will need to consider the magisterial debates of whether or not machines of silico nature are distinguishable in meaningful ways from those of flesh, and whether a Butlerian Jihad is the answer to keep the supremacy of flesh in play. These choices of stewardship and scale integration are unique to our species.
I was always pushing to take 16-18 units (5-6 classes), so never any extra time to "savor" the details, or deep dive into areas of interest.

If I did it again, I would take the minimum of 12 units (3-4 classes)... assuming I could afford to stay in school for 6 years. At the time, I was racing to graduate and get a job.
Absolutely need to check out 3Blue1Brown on youtube, especially for visual learners.
I think the impoverishment varies. We have much better computation, telephony, medicine and many other corners of society. The poverty appears when you measure things that must be shared, like living spaces in a major city. Apartments in NYC are dramatically more expensive. In general, the population growth means that we have to share more and that often looks like poverty. What? A four bedroom home can't be purchased by a teacher on a single salary the way it used to be? That's because so many more people are around.
Was You’ve Got Mail Trying to Warn Us About the Internet?
Optimising engines for generator type use works no matter the fuel. In fact it makes them easier to adapt to a range of fuels, i think.

I'm still a fan of ethanol fuel: all the "its so bad" press uses transparent trickery in their arguments like considering the brewers grains waste instead of value added feed; and so on. The "we can use it now" advantages outweigh a lot when pinch comes to shove. That we can produce ethanol locally and small scale is I suspect the biggest reason it fell out of favor.
Ask HN: Has anyone here lost money long term angel investing?
Just wanted to share my appreciation for not just this post but all your work in recent times! Been following your trail since your post about Google promos and the set of useful projects you've been working on since then.
The first mastodon

page I really wanted

to follow
Germans can be efficient when they need to. It's just governments generally aren't so efficient. But they still get shit done.

I'd say it's actually much worse in the US in terms of the government's ability to get anything done related to infrastructure. Bad roads, rolling blackouts are a regular thing, etc. And of course there is the complete lack of any form of high speed rail connections anywhere in the US. Apparently it's impossible to get anything done on that front for decades now.
Building your own NAS Server by hand may be a nice project, but if you would like to get something up and running quickly, you should consider prebuild servers like Dell T* series or HP Microserver. It is real server hardware, supporting ECC RAM and by far less work to build, often providing (semi-)professional remote management.

If you plan to build a budget NAS and enough room is not a problem, I personally would recommend to get an old and used Dell T20 Xeon E3-1225v3 with min. 16GB ECC DDR3 RAM, 2x10TB Seagate Exos ZFS RAID and a bootable USB Stick with TrueNAS or if you prefer Linux, TrueNAS Scale / OpenMediaVault.

If room IS a problem, you could get a HP Microserver Gen8 or higher with a Xeon the config above.

- Server Cost: 150 Bucks

- Total Cost: 650 Bucks (150 for server, 500 for HDD)

- Power Consumption: 33W Idle, 60W Heavy File Transfer

- Silent enough without modding the fans

- Ethernet-Transfer-Speed: 110MB/s on 30% System Load

I do not own a 10Gbit ethernet card, but I'm pretty sure, transfer speeds with 10Gbit would be acceptable, too.
Sorry, I meant less "how long until they catch up to trunk" and more "what is the downtime / operational burden of performing major upgrades like".

With separate storage and compute it seems tantalizingly possible to have low-effort zero downtime upgrades for the user, which would be a huge selling point.