skysight-inc/HackerNews huggingface dataset:
I wonder if it would be possible for these people and others to produce in a more collaborative manner, perhaps with a shared roadmap, strategy, etc. To me, it seems at least plausible, what's your take?
Would we? It seems possible that some other sensation could be overloaded as well - ie seeing red where others see only blackness...
Seems similar to "fuck", "fuck off", "fuck up", etc; but admittedly taken to a next level. This seems a general property of the Polish language, I recall an image with showing similar behaviour with another Polish swearword: https://i.redd.it/zw28vjrtkbc41.png
> The thing which will never work in terminal is ctrl-c and ctrl-v.

If you enable cua-mode in Emacs, C-c and C-v work perfectly fine as copy and paste. Even in the terminal.

> There are a few comments above about region undo. In vstudio it sounds ugly, but it's trivially easy. Press and hold undo (ctrl-z) and let key repeat until the block appears as you want. Select it, copy. Press and hold redo. Select area. Paste.

That works in practically every editor. The entire point of region undo is that it's faster and more convenient than doing it manually.
An annotation syntax no outside of doc strings. Something PHP desperately needed.

Very similar to Java annotations.
Didn’t they say this about generation X and Amway?
I'm not personally a supporter of the CCP, but I do interact with people who are.

For those who are immigrants from mainland China who support the CCP, there's an element of patriotism with regards to seeing their country becoming a burgeoning superpower and as a form of comeuppance for national shame that stretches all the way back to the unequal treaties during the era of the Qing dynasty.

For people born and raised in the West who support the CCP, a lot of them tend to approach it from an enemy-of-my-enemy angle in opposition to US imperialism (they tend to be aligned along a subfaction of leftists), along with a general skepticism of US media.
Yes, I've also been really surprised by this. The fact that South African wastewater coronavirus detection is spiking dramatically [1] makes me wonder if this variant could be a genuine step up from the current status quo.

[1] https://www.dailymaverick.co.za/article/2021-11-25-the-covid...
they're just functions so they end up in files in ~/.config/fish/functions/

$ alias foo bar

$ function foo --wraps bar --description 'alias foo=bar'
bar $argv
end

these two are basically equivalent. you'll need to

$ funcsave foo

to make it persist. this will write foo.fish into that functions folder.

there's also abbreviations like

$ abbr --add ll ls -lh

which expand as you type. ll won't end up in your history because it's expanded before that.
This is clearly firmware--not very soft at all.
European Union citizens and United States citizens are an extremely heterogeneous group of people, which is the situation at hand. Besides being a citizen, there is truly no shared identity in this situation.

Note: I say this as both a US|EU citizen.
It is truly bizarre to me that someone who is taking a very pro-CCP stance will justify this with reference to propaganda that other nations create...it is really something. Every nation creates propaganda, every nation does not have media controlled by the state, every nation does not have massive propaganda departments that are present at all levels of society...they aren't equivalent, the only reason to draw the equivalence is because you understand that something is wrong but (for whatever reason) have to justify that to yourself by claiming everyone else is just as bad.

It is like the Communist criticism of democracy: oh, elections are all rigged by wealthy people anyway...said from a country with no elections and a one-party state. Ofc.
The ln notation has gone out of fashion with mathematicians. Generally the base is clear from the context, or it's irrelevant.

As someone who has done a lot of mathematics in their life, I've never found this perceived ambiguity to be an issue.
Indeed, this is the obvious risk of allowing a TSMC monopoly, and its "fabless" customers have little justification for complaining.

AMD is not the savior here, nor any other TSMC customer. Intel completely squandered its lead, and now we really need to hope they can catch up and remain competitive. We shouldn't allow TSMC to take total control of the market.
Eh I can think of many areas where Apple is behind its competitors pretty handily. Samsung has more advanced display tech, for example (OLED, integrated touch, polarizer-free, etc.)
Buying all supply is usually called "monopolizing".
At least it's consistent. Verb-Noun
Also, consider how many flights went smoothly because of alcohol.. I mean, outing myself as British here but (every flight) without a stuff gin or three, that woman in-front of me would have had a stern talking to I can tell you! :}
> The saddest thing of all is that an entire generation thinks that wealth comes out of thin air

Citation needed
Why was it censored within 30 minutes? Surely a benign post would not lead to such extreme government efforts.
Go back and read my comment, how can it even be ignorant it was just my opinion about the site's angle and Gruber's writing from that angle just doesn't work anymore.
I agree with you. The communication between AMD and the community has been less than ideal.

I think it's worth noting, though, it's not always as bad as the example in the sibling comment. The RadeonOpenCompute/ROCm repo catches a lot of questions about big features and the future direction of the project. Those are particularly difficult to answer as an engineer. As much as I'd like to, I can't make a product announcement in a GitHub issue.

If you have a specific technical problem and you open an issue on the repo for the corresponding component, you'll probably have a better experience. Some teams are more responsive than others, but that will at least maximize your odds of successful resolution.
WHO calls special meeting on new Covid variant with ‘large number of mutations’
Damn right. Vegemite isn't even shiny...
Had been in the same situation for years. Read a paper, encounter the first equation, scratch my head and search around trying to understand it, give up. That changed half a month ago, after watching the Linear Algebra and Calculus course at https://www.youtube.com/c/3blue1brown/playlists?view=50&sort....

Let me explain a little bit. Just like a foreign language you stopped learning and using after high school, what prevents you from using it fluently is not just the vocabulary and grammar, but also the intuition and the understanding of the language as a whole. Luckily, math is a human designed language, with linear algebra and calculus being the fundamentals. And again, learning them is about building intuition on why and how they are used, so whenever you encounter transformation, you think in terms of vectors and matrices, and derivative for anything relevant to rate of change. By using carefully designed examples and visual representation, Grant Sanderson greatly smoothed the learning curve in the video courses. Try it out and you'll see.

Beyond that, different fields do have slightly different notation. When you first encounter them, just grab some introduction books or online courses and skim over the very first chapters.
Northern Territory authorities 'surge' into remote communities to give vaccines
He was very pro-China until he had to literally escape with his family in-extremis while being hunted down.
One of the (several) unfortunate things about Atom being killed by VSCode was that its extension model was much closer to that of Emacs - everything ran in the main editor process - far more flexible than VSCode, but also with the mass-market appeal of JavaScript.

(yeah, that model led to poor performance, but afaict that's a combination of (a) just JS things and (b) not putting any effort into the design)

> I definitely don't have a lot of trust in Microsoft.

Very wise, given the user-hostile stuff they've been doing in Windows recently...
If there is a shortage of cpu time, then please use pagination instead of dynamically loaded infinite scrolling.

I hate how so many websites manages to break the back button.
Nearly all L7 protocols and their parsers are complex. HTTP is kind of simple, relatively speaking.
Yaay! Me too. Wait.. :/
Just going to link to this from earlier today.

https://front-line-php.com/cheat-sheet

It’s covered under “Attributes”.
Everyone laughing at PHP hasn't tried it for years, I'd bet.
It started clumsy, true, but it became a solid and quite elegant way of doing things.

And by things I don't mean just web development.

The current limitations I see in PHP is that there is not an official multi-core coroutines solution.
Digging to China YT channel. Amazing coverage, objective and very sound.
She clearly says that she was in tears and panicking when he pressured her for sex the second time. There's very little ambiguity there: this is a serious allegation of lack of true consent, not just emotional venting.
> I'm hoping we'll get lucky and a relatively small-scale catastrophic event will occur ... and that lesson will provide the incentive for us to launch a serious project to get our act cleaned up.

The current pandemic makes me pessimistic regarding this. There is basically no wake up and preparations for a 10%+ mortality virus. And that without discussing where the virus came from...
Thankfulness as an end is not necessarily valuable or positive. I think the associated feeling does little to the make the world a better place, I put it in the same category as remorse.

Just as remorse should lead to rectifying action, thankfulness should lead to reciprocal action to provide objective value.

What's interesting is the impetus between internal perception and outward action both share is a sense of indebtedness. Thankfulness becomes a passive accumulation of debt in this lens, whereas remorse casts our hero in a more active role.

I think also actions spawned from thankfulness will be more comedic [dynamic] in nature and whereas those from remorse will tend toward the tragic [static]. The efficacy of either approach will reflect the constraints of the systems they are acting within and how well conceived the individual's solution is.

Not sure where I'm going with this. Spitballing, not preaching ...
90% of Black Friday deals were the same price or cheaper six months before
https://news.ycombinator.com/item?id=29343773
After making the change in the golang version, I saw it go as low as 867.61ms.

The JVM is very good at inlining. It's not perfect obviously, but in this benchmark just using an `int[]` wrapped in a class (similar to an ArrayList) produced quicker results than golang. I'm not surprised, since the golang compiler doesn't generate the greatest code.

I tried with Valhalla, with the following array wrapper, and I saw it run as quick as 667ms.

stretch tree of depth 22 check: 8388607
2097152 trees of depth 4 check: 65011712
524288 trees of depth 6 check: 66584576
131072 trees of depth 8 check: 66977792
32768 trees of depth 10 check: 67076096
8192 trees of depth 12 check: 67100672
2048 trees of depth 14 check: 67106816
512 trees of depth 16 check: 67108352
128 trees of depth 18 check: 67108736
32 trees of depth 20 check: 67108832
long lived tree of depth 21 check: 4194303
0.667455718

This is the Java Tree and array wrapper code I used

inline class Tree {
public int left;
public int right;

public Tree(int left, int right) {
this.left = left;
this.right = right;
}
}

///////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2001, Eric D. Friedman All Rights Reserved.
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
///////////////////////////////////////////////////////////////////////////////

final class TIntArrayList {
protected Tree[] _data;
protected int _pos;
public TIntArrayList() {
_data = new Tree[0];
_pos = 0;
}

public void ensureCapacity(int capacity) {
if (capacity > _data.length) {
int newCap = Math.max(_data.length << 1, capacity);
Tree[] tmp = new Tree[newCap];
System.arraycopy(_data, 0, tmp, 0, _data.length);
_data = tmp;
}
}
public int size() {
return _pos;
}

public void add(Tree val) {
ensureCapacity(_pos + 1);
_data[_pos++] = val;
}

public Tree get(int offset) {
return _data[offset];
}

public void resetQuick() {
_pos = 0;
}
}
What I learned eating at 8k Chinese restaurants
I'm European. The news I read about the US aren't exactly feel good stories either. That's generally not what people are interested in.

There are occasional short articles about some funny internet sensation or what have you but you do read about those from China as well. Like for instance when that elephant herd moved through Southern China earlier this year.
My understanding is that the flare will induce currents in the sub-station transformers, and this is the big problem. Not sure if disconnecting them helps to prevent damage.
Is no one going to comment on for *.pdf assumes no spaces in filenames for the BASH example to be correct, what about Fish?
And I hear over in NK, 100% of people approve of the Kim dynasty.

Weird how great stats they get, gotta get in on their secret.
It's easy for a variant to become dominant just by random chance if the prevalence is low. That's the case here. Alpha and Delta were quite different, they took over when the case counts were high, so it was basically impossible for founder effects to be the reason.

So in this case we need to rely much more on the circumstantial evidence (which admittedly seems pretty solid on a first skim).
A distinction that the CCP is clear to confuse. I believe his wife is Chinese, he lived in the country for a long time and his videos clearly show that he has no real problem with the Chinese people (if you had a problem with Chinese people...why would you move to China? It makes no sense, there must be some psychological bias where people see bigotry everywhere), he just doesn't like the CCP (tbh, his account of why he left China justifies that view, he may not be telling the truth, I don't really care tbh but that is his story). For some reason, people will view not liking the CCP as a slight against all Chinese people but those same people will usually dislike America with same venom they see in others...funny that.

But yeah, his videos are partisan, there is nothing wrong with being partisan and having an opinion. People are free to have opinions whether other people agree or disagree, whether they are justified by reason or changes in the stars. You can also watch a video that is partisan, agree with some of it, disagree with some of it without attempting to generalise that person's views as totally correct or incorrect...most people are not totally correct or incorrect all the time (ofc, this notion of truth is something that authoritarian govts fundamentally disagree with, having a monopoly on objective truth is a source of political and cultural control).
I'd recommend guns germs and steel by Diamond if you're interested in such thoughts. He doesn't cover china, but the book is basically about this topic. Nice easy read, recommended if you've got time to kill over the holidays.
Who is still using PHP anno 2021?
Cyrus was recently exposed as paid by CGTN.

Dumbshill recently posted a clip of an old video of laowhy86, “exposing” him as a racist… which turned out to be taken extremely out of context and edited to be purposely misleading.
I wasn't laughing at it until I tried to follow this link and the server was down.
It would be interesting to send these things to whatever the equivalent to NZ's office of the privacy comissioner is, for example, which would probably lead to sound oversight (until pressure to replace privacy-focused staff with compliant ones eventually kicked in).
double standard: the US propertied class is openly involved in a bunch of wars and regime change operations in a number of countries (which essentially comes down to severe human rights violations). why aren't we boycotting all sporting events held by the US?
The idea of being dumped in the middle of nowhere seems like it has scope for much more vicarious entertainment. Imagine a challenge where a point on the Earth's land surface is chosen at random, and competitors are dropped there (at random times of the year) and told to reach the nearest airport. They could then sell the vlogs to a production company.

Of course there would be rules about not starting in active warzones, or countries where you would be locked up as a spy, but I'm sure viewers would accept that. Also, it would be a bit unfair if a competitor had to start on a remote island, but I recently calculated that 99% of the Earth's land surface is accounted for by continents and islands no smaller than Sicily. The other edge case would be starting in Antarctica, but people do complete solo crossings of that.
> being essentially harmless in the west.

Is their aim to be harmful in the west? My impression has always been that they’re pretty ambivalent about that, they’re more concerned with the internal effect.

I don’t know that people even do think Chinese propaganda is clever! In my mind their skill is overarching control over communication. It’s dumb and brute force but it seems to work.
I do not know about fish, but it behaves correctly in zsh.
Elon Musk Is Running a Giant Pump and Dump Scheme of Life-Shattering Proportions
I agree but I'll counterpoint for just a moment. A lot of mature PHP engineers seem to be from Europe, or rather non-American. I'm often finding it's American salaries that are crazyyyy high, but factor in that health insurance isn't spectacular here it might all balance out.

I've run no numbers, I have nothing but infrences to base this on, but hiring a mature PHP engineer in Europe would 100% be cheaper in the long run than hiring a junior/mid-level JS engineer anywhere else.
> >90% domestic approval rate

I always wonder about these kinds of numbers. Who's asking, and how are they asking? And is there an element of coercion involved?
Maybe a weird but honest question: How is/was software even able to finance itself without subscriptions? People expect updates and support which are continuous expenses.

One alternative, I guess, are full-price major revisions at semi-regular intervals. But won't that result in many people never getting an upgrade because they feel it's not worth it?
Well here's what Cyrus Janssen has to say about accusations of him being paid: https://www.youtube.com/watch?v=hb-6fgN3MZA

TLDR: he didn't only not get paid, he refused payment. Plus the payment offer was not "we pay you to say this" but "we want to license your content for republication" and "we pay you a fee for the trouble of appearing on our show to give your independent opinions".
Alright, but are there really any overlapping concepts between graph theory and analysis? There can’t be many!

The comment you linked to is pretty strange, given the limited number of symbols in the Greek and Latin alphabets, there’s obviously going to be a lot of reuse, but I can’t see how that could really cause any confusion though, unless you’re just grabbing books from the shelf and opening them at random. And even then, it should almost always be clear from context if pi is a number or a plane, and if it’s a function that will be visually distinguished.

I’ve seen non-mathematicians use words as names of variables and functions, it always makes me shudder. I unsuccessfully tried to introduce Hebrew letters as an alternative,when I discovered how to use the in Latex, but it never caught on…

I actually find math notation incredibly intuitive and effective, I think it’s close to optimal. In fact it’s only after getting into programming that it even occurred to me how elegant and magical it is. I understand what things mean and can write things myself, without being able to exactly explain how, or to translate it into a fully specified system that a computer would understand.
+1 on the LG OLEDs, very very satisfied with my CX
Basically any new proof-of-stake chain. Solana, Avalanche, Cosmos...
I think the limitation on methods is related to error handling and reporting, and ambiguity as to whether the "extra" requests on the wire have been processed or not. It's the developers of the tools, who read the specifications, who find the topic "problematic." For whatever reason, there is a mildly paternalistic culture among web plumbing developers. More than in some other disciplines, they seem to worry more about offering unsafe tools, and focusing on easy to use "happy paths" rather than offering flexibility which requires very careful use.

Going back to pipelining, the textbook definition is all about concurrent use of every resource along the execution path in order to hit maximum throughput. As if the "pipe" from client application to server and back to client is always full of content/work from the start of the first input in the stream until the end of the last output. That was rarely achieved with HTTP/1.1 because of the way most of the middleware and servers were designed. Even if you could managed to pipeline your request inputs to keep the socket full from client to server, the server usually did not pipeline its processing and responses. Instead, the server alternated between bursts of work to process a request and idle wait periods while responses were sent back to the client. How much this matters in practice depends on the relative throughput and latency measures of all the various parts in your system.

I measured this myself in the past, using libcurl's partial pipelining with regular servers like Apache. I could get much faster upload speeds with pipelined PUT requests, really hitting the full bandwidth for sending back-to-back message payloads that kept the TCP path full. But, pipelined GET requests did not produce pipelined GET responses, so the download rate was always a lower throughput with measurable spikes and delays as the socket idled briefly between each response payload. For our high bandwidth, high latency environment, the actual path could be measured as having symmetric capacity for TCP/TLS. The pipelined uploads got within a few percent of that, while the non-pipelined downloads had an almost 50% loss in throughput.

If I were in your position and continued to care about streaming requests and responses from a scripting environment, I might consider writing my own client-side tool. Something like curl to bridge between scripts and network, using an HTTP/2 client library with an async programming model hooked up to CLI/stdio/file handling conventions that suit my recurring usage. However, I have found that the rest of the client side becomes just as important for performance and error handling if I am trying to process large numbers of URLs/files. So, I would probably stop thinking of it as a conventional scripting task and instead think of it more like a custom application. I might write the whole thing in Python and worry about async error handling, state tracking, and restart/recovery to identify the work items, handle retries as appropriate, and be able to confidently tell when I have finished a whole set of work...
I don’t understand why this is based on Fedora. Isn’t that more of a desktop distro…? And this seems more aimed at virtual machines running on EC2…? Or am I missing something?

It’s also interesting that at the same time Amazon is sponsoring Rocky Linux: https://rockylinux.org/sponsors/ (Which is based on Red Hat Enterprise Linux.)