skysight-inc/HackerNews huggingface dataset:
Imagine the following.

Here's the spectrum of medical knowledge:

-----------------------------------------

Here's where we were in the dark ages:

--|--------------------------------------

Here's where we are now:

-------|---------------------------------

Here's where people like to think we are:

------------------|----------------------

In this scenario it seems like what you're saying and what your parent said are both true (it is true both that medicine is much closer to the dark ages than we'd like to think, and also that we know a great deal more than we knew in the dark ages).
Completely agree. Discipline is only one of many tools at my disposal.

One of the most important things about being a software engineer, in my mind, is the ability to be flexible (I won't say "agile," as that word seems to be pretty much worthless, these days).

One of the disciplines that I've developed, over the years, is writing flexible code; Code that has a future.

One of my favorite text editors is BBEdit[0]. I've been using it since the 1990s. During that time, I've tried others that have been raved about, like Sublime, TextMate and VSCode. I've liked them, but always ended up going back to BBEdit, which has been doing a great job of adapting to the new operating systems and workstyles.

The fact that the app is nearly thirty years old, and started off with a bus factor of 1, says that the original author applied discipline and a "future-facing" design ethos, back in 1992. I can respect that.

I also use Adobe Photoshop, which I first met before Adobe brought it, in the late 1980s. That seems to have grown well.

[0] https://www.barebones.com/products/bbedit/
DLF Ultima Price List Floor Plans and Many More
The DLF Ultima offers residential units in 3/4 BHK configurations and it comes with fully furnished apartments with a complete set of amenities in its crown jewel project naming DLF Garden city with luxuriant green valleys and breathtaking view from every perspective of the residential spaces.
There's a record & tuple proposal that would address this use case (currently served by tools such as Immer):

const foo = #{};
foo = 42; //not allowed
foo.bar = 'baz'; //not allowed

https://2ality.com/2020/05/records-tuples-first-look.html
How does me buying something volunarily from someone who produced it voluntarily force another scumbag to steal?

Please attempt to phrase your answer in a way that hides the fact that you're a scumbag who just likes stealing.
I agree, it would be more upfront to link to their annual report which gives an idea of just how much they depend on the search engine deal for revenue.

https://www.mozilla.org/en-US/foundation/annualreport/2018/
Clang does not check MISRA rules or calculate other metrics that are considered important in embedded industries.

The vast majority of MISRA rules are either purely syntactic (governing things as trivial as variable names) or obvious to the point of uselessness (like "don't violate the One Definition Rule"). The few actually useful ones require dataflow analysis but frankly Polyspace doesn't appear to do a very good job at it. My impression was that it achieved a 0% false negative rate by way of a 99.99% false positive rate. However, we never reported any of these false positives as bugs as the reports likely would have been rejected outright. The bugs we reported were all far more clear, such as the tool refusing to compile perfectly valid code, or glitches in the user interface.

I'm honestly not privy to most of the politics and no longer work in this area, but my impression was that even if Clang were to implement these checks, it would not be taken seriously by auditors as it doesn't come with a price tag or tick other boxes like generating nice PDF reports with violation counts and so on.
"Racism is to blame for everything" say people who won't stop stealing everything
Please don't kill me. https://pcengines.ch/apu2e4.htm

2xmPCIe (m2), 1xmSATA (m2), 1xSATA.

There're also plenty of boards around Ryzen Embedded (V1605B/V1807B/etc) if you need more lanes. There's Udoo Bolt. Sapphire and iBASE also has several boards.

I'm not aware of any decent contenders with multiple m2 sockets based on ARM, if that's what you're specifically looking for. But you can always buy a cable or board that splits or bifurcates a single interface into multiple m2 slots. I haven't tried any of these myself but there are plenty of options on Ali, eBay, or directly from embedded/industrial vendors depending on your cost/reliability preferences.

I've spent quite some time looking around for the optimal low-footprint storage cluster options and eventually ended up with mITX form-factor after realizing I want plenty of RAM and need more cores per node to handle ZFS+gluster+encryption.

There are plenty of options if you don't, though!

I'd advice to check out the APU's, either way. They have served me very well until I started upgrading and have now been repurposed for other use.
I think Conan [1] has wider support in the C++ community. It definitely does not match the Cargo toolchain for integrated ease of use, but it does support CMake directly.

1 - https://conan.io/
Yes, they're literally the second thing one learns about SQL, really. I'm not being too serious about rethinking whether they're necessary, to be clear!

What a strange design decision though. I don't really understand why it is doing this? Why would anyone really think it's a good idea?
> If you wait a couple of years Rust will be like that too.

Debatable. It's also a matter of design choice. Much like Perl, C++ chose to "include everything, be everything to everyone". Almost no modern language does that, if you look around, every modern language is focused and for almost every choice has at least a recommendation if not an enforced choice.

This makes for much better design.

I don't think there is a living C++ developer that knows all of C++, it's impossible. I'd be shocked if Stroustrup knows all of it.
The speed improvements are extremely noticeable
Also the R&D budget for self-driving cars is bottomless.

There's a limit to the R&D budget for assembling THIS year's iphone, above which it's just better to use humans.
The first example here (https://docs.juliaplots.org/latest/) is the Lorentz attractor - just tried it in 1.5 and it works.
Coronavirus has caused nearly 300k more deaths than expected in typical year
Curious to know if any TSDBs (Timeseries databases) evaluated before finalizing on Cassandra to store the traces.
what holds me back from Odroid is their scarce support to updates. I remember the Odroid X series left to ancient Ubuntu and kernel due lack of upstream support. Better buy a RPi4 with a NAS Hat
Yes, we've made some great leaps and they shouldn't be discounted, but neural-science is still in its infancy. We still don't know the exact mechanism of action of many commonly prescribed psychoactive medications. We know they work because, unlike in the past, we conduct rigorous studies, but we can only theorise as to why the work and why they don't have the same effect in all patients. This has real implications for how medicine is practiced, which will undoubtedly make our methods look quite primitive to future generations. For instance, physiatrists are still forced into a 'trial and error' approach when finding the correct antidepressant and dosage for each patient.
Can this builder help me to create a minimalist blogging app which only has text and design in material ui?
> a cross compiler can't replicate the architecture-specific behaviour of the compiled code because the target architecture is unavailable or possibly even nonexistent at the place and time the compiler runs.

I mean, it can't possibly be nonexistent when you write the program, since if you don't have any idea what the target looks like, how can you output code for it? Do you mean physically existent?

I think I see the overall point though, namely that arch specific code would be a mess, with which I agree.
But isn't this okay? I mean, if you really want to switch on some platform specific thing at compile time, then different behavior for different host platforms is exactly what you want.

To me, there's basically two uses of compile time execution: precomputation and codegen. If we look at the following snippet

const std = @import("std");
pub fn main() anyerror!void {
std.debug.warn("{}\n", .{.{
@sizeOf(*usize),
comptime @sizeOf(*usize)
}});
}

we're looking at the size of a `usize`, which is pointer-sized, and we're taking it both with and without `comptime`.
If I compile and run this on my system, it prints out 8 and 8, since I'm on a 64-bit system.

/h/m/t/zig$ zig build run
struct:5:21{ .0 = 8, .1 = 8 }

However, Zig does support cross compilation, and I can compile this for 32-bit mode, and run it, which then gives me 4 and 4.

/h/m/t/zig$ zig build run -Dtarget=i386-linux-musl
struct:5:21{ .0 = 4, .1 = 4 }

It's worth noting that the docs for `@sizeOf` says "This function returns the number of bytes it takes to store T in memory. The result is a target-specific compile time constant.".

> you a: need two different codegens

Won't you need `n` different codegens if you support cross compilation to `n` different targets anyways?
For some recent interviews I have had 2 hour long interviews with 2-3 people in each, so 6 hours as a total seems realistic!

Too bad I didn't get paid for my time!
I drew a diagram of how I read books
Never again with Meson. The developer is a jerk and has dogmatic views on prpoject structure that do not match reality.
A bit of a random, uneducated question, but somewhat related... For anatomists with a strong knowledge of both, which is more complicated?

The human head, or the human gut?

I suppose I'm wondering about the potential for something like this to happen again.
I suspect other solutions also require P=NP.
I also heard that having its own power grid makes it an appealing place to build data centers. Especially for the military who are worried about power-grid-hacking.
Inside KDE: leadership and long-term planning
But then we’re in the dark ages for everything, except maybe siege warfare. So it becomes a meaningless comment.
> Hire whoever you have to hire, fire whoever you have to fire, and do whatever you have to do to get this fucking thing off the bus.

Seems like a good amount of allegory in that article.

Even reminded me of a Soviet era poet, Vladimir Mayakovsky [1]

Seems Slava would rather to be ruled by oligarchs, bribe-taking political family-clans, proteges of sexual predators, and thought police (hiding behind the innocence of cancel culture [2])

May be that sounds somewhat close to Ukraine where the author lived first portion of his life?

[1] https://ruverses.com/vladimir-mayakovsky/
[2] https://defmacro.substack.com/p/against-xkcd-1357
> There is no threat of the central planner being replaced

You are conflating an economic model with a political one. In fact, the central planner doesn't even need to be a person, but a set of assumptions and strategies that can be measured against the benefit they provide and be continually adjusted.

You touch an important point, however. The people most affected by Walmart's central planning, their employees, have no say in what strategies and assumptions the central planner uses and that removes any incentive to provide benefit to them.
If it happens consistently across "dozens to hundreds" of enterprise environments as stated by the GP and with apparently zero exceptions in which they remained simple then, while maybe not a technical certainty, it should be treated as a practical certainty.

Pointing out that it's probably caused by management is not really very useful since there are so few means available for line workers to fix their managers.
I want to:

cppm install library-2.0.0-alpha

like in every other programming language, and be able to develop my project with it.

Why would I ever even want to do 1 or 2? That's the OS package manager's job. The fact that the OS is written in C/C++ is an implementation detail, it shouldn't leak out. The package manager is also not portable, the commands are not the same, the available libraries are limited and frequently incompatible with each other.

Your 3, 4, 5 are all manual steps, if you notice. I don't see any mention of a package manager in there :-)
Show HN: Browser extension for analysing Git repo activity
Not necessarily. If they were to comply fully they’d need to release appropriately licensed source code for all previous versions of the site too. As in, the OP could say: “I visited your site X days ago, please provide the source for the code I ran”.
Tesla Self-Driving Beta Testing Starts Tonight
Is it really?

I thought you generally can scale trains by adding more wagons.
Now you're putting words in my mouth. I did indeed say MTProto 2 was based on standard primitives and no one has publicly claimed it insecure or vulnerable. I did not say to trust MTProto 2 any more than you would trust the Signal Protocol: that is given the information we have on known vulnerabilities one appears about as good as the other.
Peter Schlumbohm
Is there even enough mass market adoption for such an exodus at this point?

Firefox has basically ceded its mass market usage to chrome.

From my subjective experience, the only people I see using it today are technical.
Summary:

> Studying changes in death rate is tricky because although the overall U.S. death rate for COVID-19 seems to be dropping, the drop coincides with a change in whom the disease is sickening.

> So have death rates dropped because of improvements in treatments? Or is it because of the change in who's getting sick?

> To find out, Horwitz and her colleagues looked at more than 5,000 hospitalizations in the NYU Langone Health system between March and August. They adjusted for factors including age and other diseases, such as diabetes, to rule out the possibility that the numbers had dropped only because younger, healthier people were getting diagnosed. They found that death rates dropped for all groups, even older patients by 18 percentage points on average.

> The study, which was of a single health system, finds that mortality has dropped among hospitalized patients by 18 percentage points since the pandemic began. Patients in the study had a 25.6% chance of dying at the start of the pandemic; they now have a 7.6% chance.
Hey HN readers,

My team and I have been researching dev processes and engineering workflows for a while now. While building our main product which is focused on monitoring various engineering metrics (target persona - Engineering Managers, Developer Experience teams), we’ve built a complementary free browser extension that can be used to inspect any Git repo on GitHub, GitLab and Bitbucket - this is inspired by our core product. Any feedback is welcome!

We will gather all the feedback to tweak the current free browser extension but also our main product!

Chrome: https://chrome.google.com/webstore/detail/metamorph/fpmahcai...

Firefox: https://addons.mozilla.org/en-US/firefox/addon/metamorph/

Opera: https://addons.opera.com/en/extensions/details/metamorph-2/
Too much efficiency is dangerous: it makes the overall system more vulnerable because it removes redundancies, increasing systemic risk. Decision processes are not scale-invariant: politics, and therefore susceptibility to corruption, increases, transparency decreases.

Not saying a unified grid is not worth it, but there are downsides that might not be immediately obvious.
Hmm, so does that mean that a GPL'ed software project targetting the whole world and with a variety of international developers should reject contributions from Polish residents?

Or, if we want to avoid software: what's the status of a Wikipedia contribution (CC-BY-SA-3.0) made by a Polish resident? Can I not safely assume that the content is CC-BY-SA-3.0? Must I assume that a Polish author can come after me if I follow the letter of CC-BY-SA-3.0, but not in a way that he or she likes?
I’d argue it doesn’t make sense to fix c++. A language is not about what you can do with it, its about what it doesn't let you do. C++ will continue letting you do everything in the name of backward compatibility.
Absolutely. Depending if 4GB RAM is sufficient for you (ZFS can get really memory hungry depending on configuration).
this is a problem with pretty much every lang used for web dev. Most web apps are behind Nginx or some API proxy etc. to mitigate.
There's always Armbian, or installing vanilla Ubuntu with appropriate modules.
most mutable state is only ever owned by one task/thread

For many applications, this is the way I prefer to structure code these days. If you know that the only part of your program that will touch certain state directly is always running in a single thread, a lot of problems just go away, because whatever you do in response to any given message or other signal is effectively an atomic transaction, regardless of any concurrency or asynchronous behaviour you have going on elsewhere in your system. You still need to figure out how your message passing or other signalling infrastructure is going to work and in particular what will block and what won’t, so it doesn’t answer all of the usual questions with concurrency, but it’s a widely useful strategy and it goes a long way toward keeping things manageable.
That's only the inter-grid exchange capability, over AC1 <-> DC <-> AC2 transformation, not the total one

If you read the article, the US has about the same inter-grid exchange capability for the west and east coast grids.

Japan has alone over 50 GW of solarpower, and that's only a small share of their energy mix.

They produced 1009 TWh in 2015, that'd be an average of 117.95 GW, and usage is seldom average, but with daily peaks. I'd take an educated guess and say their nets can handle multiple hundreds of GW to up to a TW just fine..
Ironically enough I feel like IBM is actually an example of a giant company that, against all odds, is somehow still innovating, at least with its POWER CPUs. They're doing really interesting and open-ended things like CAPI and the upcoming Open Memory Interface.
People keep claiming this, but how has Mozilla 'ceded' anything?

Firefox became somewhat popular at a time when the big player was Internet Explorer, and it was manifestly terrible.

As soon as Google started heavily promoting Chrome (which is, whatever else you might say about it, vastly superior to IE6) people switched to that.

What could Mozilla realistically do to compete against the world's largest marketing company pushing their browser?
Is there a reason you continue to link to outdated articles? This one is from 2013(!) We're getting close to a decade now.

> and thus I didn't (and still don't) think it worth my time to follow their changelog.

I strongly advise you not to comment on topics you don't find worth following. You directly harm a project that has done a lot of good (for protestors in Hong Kong, Belarus, and Russia) with your ignorance.
At some point, that's going to stop being sustainable.

I think C++ could really use what Rust calls generations. Figure out the obviously bad ideas and deprecated them over 10 year cycles.

That would allow the language to shrink again, I don't think it ever did.
In quma this would look like this (when using the default mako templating).

example.sql

SELECT
*
FROM
%(table1)s
JOIN
%(table2)s
WHERE
column1 = "value"
% if use_subset:
AND column2=%(filter_value)s
% endif

def get_data(table1, table1, use_subset=True):
if use_subset:
filter_value = "subset_value"
else:
filter_query = ""

data = cur.example(table1=table1,
table2=table2,
use_subset=use_subset,
filter_value=filter_value).all()

https://github.com/ebenefuenf/quma/
https://quma.readthedocs.io/en/latest/templates.html
>Intel has been using these SSD as weapons / incentives by giving away SSD with enough Xeon CPU volume. One of the few reasons why AMD EPYC hasn't been gaining much ground at all in Enterprise segment.

Intel illegally abusing its market position. Again. If Intel was Chinese they would be sued into the ground.
> you'd need to demonstrate losses

Depending on the jurisdiction and circumstances there may also be statutory damages, punitive damages and exemplary damages.
>There is no single "we" who allocates those resources. That is a fundamental fallacy in this whole way of looking at things. We seem to have this belief that, if only our government experts could find the right aggregate measure and micromanage the economy based on it, everything would work just fine. That belief is false.

Well, right now they are "macromanaging" it away from a system that could possibly work. Central bank policy heavily skews toward capital and thereby into deflation (or at least lack of inflation). Inflation is the treadmill that keeps the economy going and it has been broken for a long time.

The more I get into economics the more I understand that the real world is not meaningfully different from a game in terms of policing. The details are different but general concepts like deflation or inflation are still the same. The fact that economies can only function if money is in the hands of those who are doing the work is still the same. In the most realistic economy games it is even possible to liquidate your company and start fresh after messing it up. So there is now the obvious problem that if you want a growing player base you can't just let the biggest players take over 90% of the market and force newcomers to compete with them and let almost all of them fail like in the real world. Unemployment can't exist in such a game, "unemployed" players aren't playing the game!

Well, the obvious answer to solving unemployment is a job guarantee funded through "printing" money. If people are unemployed they will take the job guarantee which in turn creates new money. Suddenly there are lots of paying consumers but since the guaranteed job doesn't actually increase the supply of goods we get to see inflation among consumer goods. Now you may be thinking that this will cause runaway inflation except it can't. When demand for products increases, so does the demand for labor. New jobs are created which pay more than the job guarantee but they don't cause inflation. It's a self balancing system.
Yes there are some diseases that can be treated very reliably but a large share of commonly occurring issues can't. Also given that modern medicine is largely based on statistics, I have doubts that the sophistication of statistics in use is really appropriate. I think Physics or Psychology do a lot better in that regard. That said, I think many diseases can be treated or prevented with a high success rate without any invasive procedure. For instance the risk of coronary heart disease can be lowered a lot with good diet and mild exercise. It surprises me that doctors never pro-actively mention how to prevent such lifestyle diseases until it's too late. Probably the subject of medicine needs to be broadened a bit.
Directly from the first three sentences of your link:

> Paying people rewards for finding security flaws is not the same as hiring your own analysts and testers. It’s a reasonable addition to a software security program, but no substitute.

Sounds like a reasonable addition to me!
An alternative viewpoint on that situation might be that the database is in need of some serious refactoring/migrating if the app can't deal with its structure. Trying to bend Rails into non-AR database usage is going to lead to tears sooner rather than later IMO. It's just so very integrated.

Having separate applications with (write) access to the same database is similarly going to end in trouble. Suddenly there are all sorts of problems when the database needs a migration and the applications are expecting different things from the same table. This is not really ORM-related btw.

That said, ActiveRecord is not perfect and sometimes a single handcoded SQL query can deliver a ton of value. Profile carefully.
Why do you find that garbage?

The human hand sensors/fine muscle control is insanely good.

I don't think we are remotely close building anything that general-purpose and that precise.