skysight-inc/HackerNews huggingface dataset:
Interesting interview; thank you for doing it. Here's a few questions.

You say that for end users, ALSA just works, and you tend to encourage it for newbies. What are the tradeoffs? What kind of latency penalty am I taking by using ALSA vs JACK? Can it scale to as many channels?

What's your preferred JACK frontend? The UbuntuStudio UI has some nice bridging set up out of the box, so you can e.g. play Youtube while Ardour or Reaper is active. QJackCtl certainly works (and offers a UI around the patchbay you describe) but it doesn't have that feature at least.

Does Pipewire aim to solve the problem of persistent device names? I had a bit of an adventure figuring out how to set up ALSA so that it didn't constantly give new numbers to my audio interface, USB midi IO, control surface, etc (which was painful, because it meant having to reconfigure the DAWs after each reboot.) Once I found the right howto, it wasn't too bad, but it'd be nice if that was taken care of.

Do you have any background knowledge on Bitwig's weird MIDI setup? They support JACK audio, but not JACK midi, so you have to do this weird juggling act to bridge midi to ALSA, which was too much friction for me to bother with (and so I don't use Bitwig.)

Finally, is there much difference between audio interfaces in terms of latency as long as they are USB class compliant? If there is, are there any good references that you know of? Or is it a case of experimentation?
Excellent question. What do you think?
There's a lot of variance between 0% and 100% suppression of speech.
Agreed. I really like them...

Though ... his live streams are pretty revealing. I recommend watching a few of them, as it will probably change the way you view his other content, both in the positive sense and in the negative.
Thank you for sharing that. Really strongly recommend everyone to watch this video, a rare glimpse at the people inside this nightmare
> Yeah, but 99% of projects aren't anywhere close to long lived. Most products fail to launch. Most products that launch shutter within a few years. Having a code base survive long enough in close enough to its original state for a commit message to be meaningful a year later is unlikely outside of a few cases.

A lot of companies run code in production that was written years if not decades ago. Being able to look at the commit history and blame output helps in terms of getting some context about what was done and why it was done they way it was when the original authors have long since left the company. In my company, we still have some code written back in 2005 still running in production.
I think it's comparable to Harry Potter. Actually, Harry, Ron, Hermione, Hagrid and Dumbledore set way better example than any person in the bible, while not requiring anyone to believe the world of Hogwarts to be true.
Is this using ncurses?
Thanks for the link, Still think there is value in asking for peoples directly.
Yeah, things were very bad for 10 year-old me: in English, the slimmed-down binder we use around here for, well, filing, is called a file. It made absolutely zero sense that "a folder is a collection of files" and "a file is a document". We didn't use folders, and a real-life file usually had several documents.

It was pretty stupid but it made sense on its own after a while.
> The word itself means gene-killing.

No, it means (in the etymological sense rather than the denotative sense, since the UN definition is the primary denotative use in the modern world) race-killing. The “geno” is from the Greek “genos” meaning “race”, not from the English “gene” (the English “gene" ultimately is descended from “genos” also, through the German “pangen" a hypothesized ultimate unit of heredity, which etymologically is “all-race”.)

> Whether china is actually trying to wipe out or is being oppressive isn't clear when the UN definition is used.

The convention for the prevention and punishment of genocide includes certain forms of group oppression as well as direct killing because historically those kinds of group oppression usually precedes and paves the way for direct killing, and are also themselves an indirect means of killing (by reducing ability to survive and thrive.).
Not quite. A better analogy would be Books in Portugal are in Spanish or vice versa.
Shapez
The "Lancet Surveys" were very controversial : https://en.wikipedia.org/wiki/Lancet_surveys_of_Iraq_War_cas.... Numerous critics doubt the results.
> it is really easy to un-share code by copying it into multiple places but it is very hard to unify duplicated code

Code that already exists has a gravity, a presumption of correctness. That presumption is very difficult to overcome, especially for programmers new to the codebase. An abstraction you think of as temporary will be, to those who come after you, simply the way things are done; breaking it apart and re-forming it is, for them, fraught with risk. It's good to keep this in mind as you make commits.
Tnere is truth in this! I've also seen that some of the most successful projects with the highest performers are the most full of duplicate code.

The operating theory is to be first to market in order to capture the largest market share and be the market leader. Programs are just tools that can be rewritten later. That's similar to any large tech company today that "innovates" then apologizes later.
David Mumford on Reading Spinoza
Any independent confirmation of those allegations?

In my personal experience Meduza articles are near the top for some topics and several years ago Dozhd was popular as well, also sometimes I get links to opposition LJ blogs. Also there was a large shift to Telegram channels from traditional websites.
Congratulations on Ardour 6, it really seems like you focused on the right things!

What are your thoughts on MPE and Midi 2.0 in Ardour?
> Amiga's 1024x768 screen

What Amiga did you have?
The problem with the shift to flat design wasn't that it stopped being "fun", the problem was that there was a whole bunch of things being communicated to users by the previous, non-flat designs that got lost in the transition, and that flat design doesn't have a good alternative for:

- Not using shadows and lines to separate panels, and using solid color blocking or whitespace instead is much more confining, design-wise, and greatly limits possible information density. Sure, all that whitespace looks great in presentations, but it's like the difference between a designer kitchen from a magazine and a place where I can actually cook.

- Panels that are raised up or recessed using shading provide an obvious hierarchy, giving users valuable cues as to the relation of the elements. With shading and depth, it's obvious that items in this toolbar affect the items in this panel below it, one is subservient to the other. With color blocking, it's all just rectangles next to each other.

- Buttons that are slightly raised up have an affordance for clicking, and there's no way in hell you can confuse them for a label - it's much easier to overlook that 'the label with blue text' is actually a button, while the label with black text is just a label.

- Ostensibly, a flat design contains fewer distractions. But ironically, in reality, a human brain may have a much harder time understanding an interface when everything is flat and looks alike, than when elements have depth and distinctness to them. More information communicated does not always translate into more cognitive load in processing it - often the opposite is true.

Sure, I understand the urge to rebel against skeomorphism (that faux-leather in the iOS Find my Friends app was an abomination) but they threw the baby out with the bathwater. I'm glad to see a lot of these changes being slowly walked back with successive versions of iOS - in the linked article the comparison between the "tabs" (segmented control) in iOS 12 and 13 really showcases how a shaded design can look both less distracting and convey more information than a dogmatically flat design.
Only if you think a three-atom molecule capable of awareness.
What a Better Social Network Would Look Like
> It is an attention to argue that the founding principles of this country are open to legitimate debate and that people who love America can hold that some of them were simply wrong without loving America any less.

So you agree that it's an attempt to attack the founding principles.

> What I don't get is this newfound attempt to argue that what we once called the Great Experiment is immune from criticism, to portray the success of America as an inevitable result of the holy prophets who gave us the Constitution on stone tablets and not the work of men who made mistakes and learned from them.

Nobody is saying that the founding principles are "immune from criticism." But they are the bedrock on which our country is built. And they warrant more deference than the kind of arguments Parsa is making. Parsa's ad hominem is not a logically valid basis for criticizing the founders' principles regarding gun rights: https://en.wikipedia.org/wiki/Ad_hominem. The founding principles deserve better than that.

Societies need shared principles. When I became a U.S. citizen, I took an oath to "support and defend the Constitution." What does that mean? To me, that means buying into the basic premises of our republic. Free speech, freedom of religion, protection of private property, equality before the law. And yes, also the right to bear arms. Those principles aren't immune from criticism, but to make society workable the burden for doing so must be high. A functioning society can't relitigate its founding principles with every routine policy debate. But that's exactly what Parsa's argument invites. If we shouldn't give full effect to the second amendment because many founders were slaveholders, we can cast aside every constitutional principle for the same reason. Federalism, private property, free speech--we get to relitigate everything on a blank slate.
Retrobatch – flexible batch image processing for Mac
A Nature paper [0] suggests that 66 or even 95 percent of the cases could be avoided, had China acted on the coronavirus 1 to 3 weeks earlier [1].

[0] https://www.nature.com/articles/s41586-020-2293-x

[1] https://www.theguardian.com/world/2020/mar/11/research-finds...
I cheated for most of the things like that.

I have tiling turned on in my DE, I didn't even realize that things were supposed to be moving until I was almost done.
What good is Linux and free software if the hardware won't let us run the programs we want? Computers could ship with a preconfigured Linux distribution that does all sorts of abusive things and since we wouldn't have the cryptographic keys to the machine it's impossible to do anything about it.

In the future, all computers could very well be just like video game consoles: devices which refuse to run software not cryptographically signed by their true owners. Software development kits are restricted to corporations and likely provised under strict licenses and NDAs. Users are supposed to just consume content within the narrow context defined by corporations. We're not supposed to create or change anything. They don't want us to be able to run software they don't approve of.
> As of July 2020, I’d suggest picking actix-web if you are writing a production API in Rust.

What about server rendered websites that aren't API? Which framework would you recommend in this case?
It’s also easy compared to solving new problems, so it can be an emotionally safe way of feeling productive. Failure is difficult to measure until the abstraction falls flat on its face months later, at which point it can be chalked up to the demons of “changing requirements”.
doesnt seem so
I would like to reply positively to what it is you are insisting that chapter and verse does to the Holy Scriptures. Your reply is beautiful and it is helping me reflect on how I will be presenting information in a forthcoming book on ancient biblical history.

To the defense of the creator(s) of this web application, I feel that the chapter and verse divisions have been in existence, and problematic, for a very long time.

For certain reference work this is a wonderful tool.
Other way around, droplets are bigger and more effectively filtered usually.
This seems to only support rendering. If you also want interactive use, another library which does things like this is Urwid:

http://urwid.org/examples/
The premise is 100% spot on. The bigger question is-- is there a market for all the ridesharing and food delivery businesses at 2-3x the cost? These services have seen subsidized rates for so long, any consumer remotely price conscious will have sticker shock.

The article focuses on unemployment benefits, but that's scraping the surface. Health care and paid family leave need to be included in benefits packages as well.
>there’s no way you can simply stroll through one on the way from one city to another

Maybe! I could be wrong. My memory has been degrading for eight years and the situation has hopefully been improving! I'd go try to retrace the journeys I took on Google street view, for my own edification and yours, but of course, it's unavailable for China.
> It's different though. We're the good guys.

No. The difference is that the US did not set up concentration camps in Iraq. That's an important detail, I think.
That's.... only sort of true. California was actually almost depopulated at the time of US conquest. The Spanish (mostly via disease) had essentially wiped out the native population, and there was very little hispanic re-settlement of CA by 1846.

A lot of the remaining population was Native, which (shocker!) did not actually speak Spanish as a native language -- they spoke their own native languages. There was a Spanish mission system TRYING to "civilize" the remaining natives, but it was floundering by that time.

The actual real native languages (not Spanish) are gone, for all practical purposes. Arguing whether Spanish or English is the "native" language is sorta nonsensical, given that the Americans only showed up a hundred years after the (mostly failed) Mission system started teaching Spanish.

I don't want to get into a fight as to Spanish or English is a native language or whatever, but it's pretty deceptive to argue that most of the hispanic population in CA is leftover from the US conquest -- actually very little of it is, the vast majority is from immigration after 1846.
Sure it fits perfectly: https://aaron-fischer.net/tdn (sorry, post is written in German)
I didn't mean Mozilla would abandon X11 entirely, only cease developing new features (like video acceleration) for it in preparation for eventual abandonment.

I can totally see them beginning that process soon, like "tomorrow" soon.
Oh yes all those units of Iraqi children were sure ready to battle. What kind of disingenuous take is this. The cold reality is: I will justify anything my group does no matter the cost and I will condemn what the other group does. I will consider myself just and good.There, I described 90% of humanity, and that will be our downfall. All the rest is posturing and window-dressing.
The Ongoing Accomplishment of the Big Five
I find that first comment particularly insightful.

However, I am not sure about the order of state and coupling. To me it seems to depend on the language, as for functional languages, avoiding state is king and in object oriented environments, coupling could be a more important factor.
It looks like this is using the ATmega 1284 which has 4 times the flash (128 kB vs 32 kB) and 8 times the RAM (16 kB vs 2 kB) as the 328.
The people schooled in the West already have power, democracy would weaken their positions not strengthen them.

Plus democracy and other Liberal institutions (rule of law, equality, education, social engagement) are basically collapsing throughout the Anglo-sphere. Touring the ruins of the coliseum doesn't exactly make you want to live in antient Rome...
This happens all of the time for enums in structs especially during (de)serialization and returning a zero value and an error.
func DeserializeState(raw []byte) (State, error) {
type Foo struct {
State state `json:"state"`
Data map[string]string `json:"data"`
}
f := Foo{}
err := json.Unmarshal(&foo, raw)
if err != nil {
return ???, err
}

}
s := DeserializeState([]byte(`{"data": {"key": "value"}}`)
fmt.Println(s) // prints 0 oops
But that paper, at least in the abstract, talks about preventable deaths in China. The anti-communists talk about China being to blame for the deaths in other countries because those countries had no warning.
Nobody is saying "America is great shut up". America has very serious problems, both currently and historically. The point of this piece and the other commenters in this thread in defending America is not that we should ignore the problems. It's that we should work towards fixing them in a positive way, not a "fuck America" sort of way.
Are you aware of any movements that aim at solving the problem you are referring to?

I am not a chapter and verse person, and almost my entire understanding of the Bible comes through my own remembrances, all paraphrasing now, of what I learned when I was younger.

I often wonder if there's a great many people out there like myself. Seems like there is?
There is nothing in the Node ecosystem to replace Django’s ORM, migrations, or admin.

In my startup, I’m using a typescript/node backend to serve graphql, while still using Django for migrations and the admin. It’s a bit odd but works fine.

If you’re starting a new project, I’d strongly consider using Django for the whole backend, with graphene for graphql, and create-react-app on the frontend. Apollo’s type generation is a big help in keeping the two parts synced.
>good guys

If you're laying off good workers who ostensibly helped build a company you run from the ground up, you're actually a vulture and I think most people would probably agree your job is immoral.
Unfortunately not my area of expertise, so I don't have particularly interesting or insightful opinions to give on the matter.
These results aren't reproducible when both are compiled with -O3 (similar results with -O2):

ojc_parse_str 1000000 entries in 709.300 msecs. ( 1409 iterations/msec)
simdjson_parse 1000000 entries in 450.724 msecs. ( 2218 iterations/msec)

In those results simdjson is roughly 60% faster.

Telling simdjson we have aligned input gives us further improvement:

simdjson_parse 1000000 entries in 369.234 msecs. ( 2708 iterations/msec)

About 90% faster. Example changes:

simd_parse(const char *str, int64_t iter) {
simdjson::dom::parser parser;
int64_t dt;
+ auto padded = simdjson::padded_string(std::string_view(str));
int64_t start = clock_micro();

for (int i = iter; 0 < i; i--) {
- simdjson::dom::element doc = parser.parse(str, strlen(str));
+ simdjson::dom::element doc = parser.parse(padded);
}
dt = clock_micro() - start;
Shockingly different. The -O3 option made hardly any difference with OjC but more than a 10x difference with simdjson. I'll be removing the claim from the OjC readme.

Thank you for being civil with your reply. Much appreciated.
I strongly dislike this article because the title is much broader than most of the substance of the article.

Advising not to overextend an abstraction is inarguable.

The actual title "Duplication is far cheaper than the wrong abstraction", and the thing that people will really discuss, is a loaded statement that's going to need a lot of caveats.
> In my view you should make it a habit to write optimized code.

It depends on your domain.

If you're writing for embedded, or games, or other things where performance is table stakes, then sure.

If you're writing code to meet (always changing) business requirements in a team with other people, writing optimized code first is actively harmful. It inhibits understandability and maintainability, which are the most important virtues of this type of programming. And this is true even if performance is important: optimizations, i.e. any implementation other than the most obvious and idiomatic, must always be justified with profiling.
Need Help with a Network Stresser
I'm pretty new to stressing networks that usually aren't my own and need help figuring out how to make the packets I send not be from my ip
Personally, I think social media needs to be successfully rebranded as social cancer
My favorite example of really bad abstraction is add/edit crammed into single popup/model. You know edit is basically a copy paste of add so "ding ding ding here goes DRY!" in a junior mind. But quickly enough it shows up that some properties can be set in add, whereas in edit they have to be read only. Quite often you get also other business rules that can be applied only on edit or make sense only when adding new entity. But when you create first version they look a lot like the same code that should be reused.

For me this is really good example of how similar looking code is not the same because it has different use case.
It seems to me that the thrust of this sub-thread is a debate over narratives. One narrative is "America is basically good, but it has serious problems, and we're working on fixing them". Another narrative is "America is basically bad, we should burn it to the ground and start over". Neither of these narratives are right or wrong, because all narratives are false. But I think one of them is more useful than the other.
Crazy early (1985!) example of a recipe markup system, RxOL:
https://web.archive.org/web/20021105191447/http://anthus.com...
> the code works fine and doesn't actually need abstraction

Well, maybe it works fine. We didn't see the other 97 lines to verify that they actually include all the integers from 3-99 without skipping or duplicating any. (NB with a loop this verification would be trivial.)
I’ve seen this “hot take” a few times before and even see developers that I would have considered very good agree with it. Consider that all code is computation, this is the point of a computer: to compute. Consider that abstraction doesn’t seem valuable -to you- for a multitude of reasons. Perhaps you’re using a flawed paradigm that emphasizes objects over computation. This would obviously mean abstraction -increases- the difficulty of reasoning about your code. Perhaps you don’t have a mental map of appropriate abstractions due to a lack of education or knowledge gap, this could lead you down the path of creating abstractions which reduce duplicate characters or lines of text but are not logically sound (“leaky abstractions.”) All of these things come together in a modern “enterprise” software environment in just the right way such that abstraction starts to seem like a bad idea. Do not fall into this line of thinking. Study functional programming. Study algebraic structures. Eventually the computer science will start to make sense.
That's the entire point of hiring McKinsey and friends to "announce/order" layoffs. The consultants are the scapegoats on which the workers direct their fury, while the management which explicitly hired the consultants for this gets off scot-free and in many cases is even rewarded for "reducing payroll cost".
Yes good sir, they only did it in Guantanamo, and the other black sites. More Iraqis were killed by Americans than Uyghurs by China. Both are MONSTERS and fuck the people who justify it.
Yes, writing a for loop in another language to generate code instead of just writing the same loop in the language you're already using? Common technique, nothing wrong with it whatsoever.
Doesn’t seem appealing to me either, but I don’t think this is Linus doing what he must to survive. He’s got a lot of options so this is presumably what he prefers.
Harry Potter. It sets a great example of friendship and love and teaches faith in better tomorrows - and does a better job at that than the bible. It also does not teach magical bullshit as if it was real and does not tell people how to behave or what is right or wrong.
Commit messages cover the entirety of the change, and only exist in the context of the commit it is attached to. A comment is without exception outdated by the next commit, unless it is rewritten for that commit.