skysight-inc/HackerNews huggingface dataset:
Why do you need all those permissions?

Follow and unfollow accounts for you.

Update your profile and account settings.

Post and delete Tweets for you, and engage with Tweets posted by others (Like, un-Like, or reply to a Tweet, Retweet, etc.) for you.

Create, manage, and delete Lists and collections for you.

Mute, block, and report accounts for you.

See your email address.
> There's zero accountability for the media.

In this context, I'm not sure what you mean. SCMP is a Chinese mouthpiece.

Who would be holding them accountable?
Japan spent a billion dollars in 1980s money to build AI.

Investors piling into self-driving doesn’t mean it will work. It is pretty clear at this point that even if it happens the timeline is such that 100% of the me-too venture investments are going to fail completely with perhaps a few exceptions that get acquired by bigger fools first.
> Everyone nods and say you should, and then keep writing code without checks,

Well, I would take points off for not checking return values, although TBH my basic course did not have file I/O (they would use input and output redirection instead, to keep the programs focused on more fundamental things).

> And while I'm ranting, the same goes for undefined behavior. Of course you shouldn't rely on undefined behavior. Of course of course. But maybe, just a little pointer casting is fine?

That's a trickier subject, because it's not just the hassle of checking return values, it may mean your whole approach to implementing something may go down the drain. Also, it's much less obvious; and compilers don't make an effort to warn you about it; and telling the difference between _undefined_ and _implementation-defined_ behavior is an art which few master (and I'm not even one of those few).

This is entertaining to watch regarding UB:

CppCon 2017: Piotr Padlewski “Undefined Behaviour is awesome!”

https://www.youtube.com/watch?v=ehyHyAIa5so
"Ironically, in my experience, just bouncing off ideas of one another is not the way this works well. What you can end up with is people throwing their ideas into the ring just for others to find faults in it. In the worst case, this can turn into a competition who knows most and who is smartest."

This right here is exactly why I learned to say nothing in brainstorming sessions and try to dodge then outright if I can.

My experience is these are typically for someone higher up in the pecking order needing their own ideas validated.

My usual work around is if something needs to be done, quietly work on a POC on your own and solicit feedback or even bring in stakeholders.
Against Alcohol
Sure, but here are the facts:

1. Very few things should be kept in the refrigerator more than a few days due to risk of contamination. Garlic and oil is recommended no more than seven days

2. Under normal refrigeration, to it's fine to keep garlic and oil in a non airtight container, as supported by the above links

I didn't suggest any longer term storage and the idea that I'm espousing something dangerous is somewhat silly given those facts.
Avoid functions in WHERE clauses

Avoid them on the column-side of expressions. This is called sargability [1], and refers to the ability of the query engine to limit the search to a specific index entry or data range.
For example, WHERE SUBSTRING(field, 1, 1) = "A" will still cause a full table scan and the SUBSTRING function will be evaluated for every row, while WHERE field LIKE "A%" can use a partial index scan, provided an index on the field column exists.

Prefer = to LIKE

And therefore this advice is wrong. As long as your LIKE expression doesn't start with a wildcard, LIKE can use an index just fine.

Filter with WHERE before HAVING

This usually isn't an issue, because the search terms you would use under HAVING can't be used in the WHERE clause. But yes, the other way around is possible, so the rule of thumb is: if the condition can be evaluated in the WHERE clause, it should be.

WITH

Be aware that not all database engines perform predicate propagation across CTE boundaries. That is, a query like this:

WITH allRows AS (
SELECT id,
result = difficult_calculation(col)
FROM table)
SELECT result
FROM allRows
WHERE id = 15;

might cause the database engine to perform difficult_calculation() on all rows, not just row 15. All big databases support this nowadays, but it's not a given.

[1] https://en.wikipedia.org/wiki/Sargable
It's all a replay of Harold Bloom. "They say all bad poetry is sincere. And Maya Angelou is very sincere." He laments that her work achieves undeserving canonical status, and no one wants to disagree for fear of being called racist.
Will this work in the US with a US SIM card?
I liked Kodak's division of the year in 13-months with roughly 28 days. Only one month would be different, with 29 or 30 days.
Ah that is interesting. I work for a school for Deaf learners who use sign language. We rely on having good quality video so we can see each other. Your description of video degradion matches my observation. Unfortunately this is not suitable for our use case. Zoom maintains high quality video really well on the same connections meets will degrade quite badly. I've always thought there should be a switch to decide which of video or audio should receive priority.
Solely under threat of upcoming litigation, yes, they now rip people off half as much.
> "Conditional on being hospitalized for any reason" gives you an exceptionally useless number.

It tells you what to expect if you're a doctor working with hospitalized patients, or if you run a hospital.

This is why they did the study.

> if I say 0.01% of total hospitalizations are young people with ebola, that doesn't let you conclude anything about whether catching ebola is "quite low risk" for that group.

1) that's not what this study calculated. You still don't understand it.

The equivalent study would be "of young people hospitalized with ebola, what percentage of them die?" (and BTW, the answer would be: "a huge percentage of them"...unlike Covid.)

2) They weren't trying to say anything about catching the virus. I understand that you really want to use this paper to make the claim, but it's just not relevant.

They took a population of young people hospitalized for Covid, removed the pregnancies, and looked at what happened to the rest. That's it. It doesn't tell you anything about "catching Covid". It does tell you that if you're young and not obese, not diabetic and don't have heart disease, you are overwhelmingly likely not to die from it.
Unlimited free downloads is not an inconsequential benefit. Imagine if Spotify tried to host their downloads on a SquareSpace account, how many microseconds would it be before that account was banned. Even a 10 Mb APK isn’t cheap to host when you have millions of monthly downloads.

And then you can just ignore all the ancillary services that add value to being on an App Store, such as app review, marketing promotion, international market access, etc, etc.

It’s as if you somehow think all those services appear out of the air instead of requiring thousands of expensive employees to design, build, test, and maintain.
China declared the "end of poverty" in China this year.

https://www.bbc.com/news/world-asia-china-56194622

This was 40 year program initiated by the pragmatist Deng Xiaoping, when 800,000 lived in poverty.

Poverty is defined as making ten Chinese dollars a day, or about US$1.60.
I've just started my software business and will surely be looking for someone at this level to learn hands-on soon. Bigger companies will often (in my personal experience in the UK) take people on to train up.
"At first they came for the people that wanted everyone to have health care, then they came for the people who wanted LGBT people to be treated fairly"...
Evaluating Modest SaaS Business Ideas
wow this is mauvelous
Seems like more than a few people need to understand the scientific method.
I have zero faith in a system that relies on giving keys to the layman without backups. People already lose their phsical keys all the time. Digital keys will get lost a lot more often and you will end up with lost patient records. You will need to provide a backup option, which in turn makes encryption obsolete.
The infrastructure is also amortized across both users and uses.
I've been working on an app I describe as "Visual programming meets Photoshop" (https://pixel.gl, just a prototype though). Any chance I could contact you for some advice/feedback? Or could you elaborate on what kind of missing API and automation features Photoshop should have?

Also, have you tried Pixelmator? It's a native Mac app, it doesn't have any automation features either but it's slick and has great performance.
> In a pre-mechanised world, most commerce and activity simply remained local.

In the Bronze and Iron age the horse (and cart/chariot) served the long distance and fast travel market.

A horse is more versatile than a bike or even a train. It can go on more variety of terrain. It is able to feed itself on food (grass that we can't eat). Unlike a cow it can even do this in the winter (horses in their natural habitat on the Eurasian steppe survive winter because they can push snow aside to get at grass underneath). It produces manure which is useful for agriculture. And it can be trained to pull heavy equipment of both a dragging kind (sledge, plough) or rolling kind (cart, chariot). The chief advantage a train has is the ability to ship ridiculous quantities.

Long distance trade and travel was more common than you think, even back into Eneolithic times. Indo-Europeans and their horses spread all the way from the Black Sea to what is now Xinjiang in China in about 3500 BCE and kept a trade route going back and forth for a long time after.
> I'm not really sure if desegregation in many coastal cities is even possible right now while private schools remain.

It's not just a problem of private schools - it's families having the ability to move to a different district.

If you're affluent enough, no one can force you to send your kid to a given school. They want to bus your kid? Move to the suburbs. They want to bus from the suburbs? Send your kid to private or religious school? Ban those? Hire a nanny/tutor. So forth and so on. As you pointed out, there's not benefit academically for these advantaged kids, so this understandable why there's push back. Some people aren't going to value being exposed to other communities enough to outweigh the inconvenience of busing their kids.

We could try to make these communities more desirable to live in, but 1) we're assuming we haven't tried making them desirable (and if not, why not), and 2) we risk pushing out the poorest of the community and negating the benefits for those families. It's a big, hard problem - how do you go about improving a failing school in a poor neighborhood without changing the neighbors in the neighborhood?

I was too young to remember the 70s, but, from what I understand, busing occurred mostly between neighborhoods in the city, often moving kids from one poor community to another. If you were in a neighborhood with nicer schools and busing was enforced, you moved. And the politicians and judges enforcing busing certainly didn't send their kids to these schools - if they lived in these communities at all.

Unless we start telling people where they can live and how they can raise their children, I don't think this path is viable.
Ronald Reagan, the man with blood in his hands for sponsoring terrorism in Central America while arming an enemy, ignoring AIDS, using mass incarceration, kicking mental patients to the curb and purposely delaying the release of American hostages for political points? fuck him.
Seems like more work (having 2 code based for two different OSes) for little reward.
I'm curious if there are any good use cases for browser push notifications out side of chat web apps. I keep meaning to disable them globally because I can't think of any.
Ah I see. My employer uses teams quite heavily for its other features but we use Zoom for meetings.
So, could multiple single units be coupled together?

I assume that would be less expensive than creating larger circuit boards, shipping and packaging.
I guess they could change the link to https://github.com/gco/xee/blob/master/XeePhotoshopLoader.m#... and put the (2007).

Although I'm somewhat inclined to give the Google juice to b3n.org since they went to the effort to dredge it up, and it appears to be a legitimate weblog.

In the early days of the web this would've been a very normal use of a weblog and no one would have thought twice about it.

I guess I would liken it to re-posting an image, except it's just copy/pasting the text.

There is some degree of media creation in putting a frame around the specific block of text. Like a photograph.

Screenshotting a block of text like this and putting it on Instagram would also be a normal thing to do. Although it would be shittier to disseminate because there could be no backlink.
Good point, it probably is :) I was looking for some other example that would have been potentially provocative to a clear ally and was coming up short. But it turns out the USN actually publishes a list of the places where they engage in these exercises and the specific claims that they are refuting through the exercise (https://news.usni.org/2021/03/10/pentagon-2020-freedom-of-na...) so anyone who wants to can run down the list and see allies like Korea on the list in addition to countries like China and Iran where the relationship is a bit more contentious.
https://community.fly.io/t/can-i-set-a-billing-limit-per-mon...
Well if they don't follow the treaty they can sail wherever they like.
Didi Chuxing Said to Have Filed Confidentially for U.S. IPO
Well, it’s easy to comply with ADA cheaply if you do it right the first time but a pain in the ass to retrofit things later.

At least with webdev the problem is most people stumble into it and are not formally taught much about webdev specifically if at all. My undergrad never taught me a single thing about webdev practice. It’s not like, say, architecture, where you not complying with accessibility regulations will be taught formally, or later when you actually implement it some code compliance inspector is going to deny you a permit to build. It really is the wild west in webdev still.
That's correct. The RdRp was published as RaBtCoV/4991 in 2016, and that's how the link to the Mojiang mine became known. The first publication on SARS-CoV-2 didn't mention that, instead referring to the virus by its new name RaTG13, but others made the connection:

https://www.preprints.org/manuscript/202005.0322/v2

Of course that's not evidence of anything malicious; the renaming and failure to reference might have just been inadvertent. But it's still a bit weird, and it unquestionably shows at least a 2.5 year delay between sampling and publishing even a fragment of the genome.

That delay isn't evidence of anything malicious either. Research takes time, and any group in any discipline has a backlog of unpublished work. The WIV didn't stop sampling in 2013 though, and no one outside China's physical control knows what else might be in their collection.
We didn't test it yet, but probably not. In UK (where the author of article resides) yes. Sim card is soldered in.
> What should you write?

You should try closing once, and if it fails, either die (e.g. with abort() ), or do something meaningful and relevant to your specific situation.

> Ultimately there is nothing strictly correct to write,

If that is the case for you - then definitely abort().
Yes it is a postproduction tool and built for compositing but even for still images it is light years ahead of photoshop. It is also rock solid and extremly fast. Simple stuff such as writing a png is 100 times faster.
Not necessarily, although I do appreciate the overall quality of discussions here. Reminds me of a very good 00's forum (yes I am a youngling)
The default is hard to use. However, I've found it better than the open-source alternatives I've seen (mainly AirBnB datepicker) if you test across {Chrome,Firefox}{Desktop,Mobile}.

I also wasn't suggesting the built-in should be mandated, just that if you replace it you either provide a way to downgrade to the built-in or make your replacement at least as accessibile. If you make your replacement usable with only a keyboard you'll be nearly there anyway.
Dude, I'm so jealous that you haven't even heard of DevOps. I don't know where you must work but please give me a job.
They had a software glitch, and the flight was pushed back a few days while they investigate.
> The diff is implicit in the difference in tree structure;

I can only interpret this as, "the data is not described as diffs." There's a meaningful difference here and I'm not being picky about it. To some extent, you can convert between a diff structure and shared structure, but that doesn't mean that the differences aren't meaningful.

Two structures may be isomorphic but they represent data in different ways and the operations have different algorithmic complexity.
Standing while at work is not bad for you. Who told you that?
That's great, thank you! I had a ton of fun on that one.
Lingva Translate: Free and Open Source Front-End for Google Translate
languages refer to i18n and not programming languges
languages refer to i18n and not programming languages
Yes, put it in terms of churn mitigation, compliance, security, and data integrity and you can absolutely sell maintenance at your performance review
Wouldn't a blockchain make you vulnerable to a 51% attack? Imagine someone now has access to most people's health data - I'd imagine that's worth billions even on the black market.
The executives are employees of the Mozilla Corporation, not the nonprofit.
How would you put it, then?
Just for the folks who could find this interesting. We are making an SDK for reading, changing, and viewing PSD and other formats (Adobe Illustrator, Adobe XD, Sketch, and Figma) outside of design tools. I believe this can open new use cases such as design to code automation, linting design data, etc.

We also have a universal design format that tries to unify as many features as possible. The SDK is going to be open sourced in a few weeks. Right now we offer REST API. You can check it here http://opendesign.avocode.com/.

I'm trying to do "build in public" kind of marketing on my twitter account for this https://twitter.com/PetrBrzek.
Unpopular opinion: Firefox is allowing itself to be phased out, and contributing to a less free internet, with their business moves. It was hugely upsetting when they axed their dev team mid-pandemic.
Before modern computers, the word "computer" described a person who performed computations. It was not a word invented for the machines that did that.
I think waiting a full minute is a perfectly justifiable trade-off for a dystopian future that at least forces people to have an iconic '80's handheld strapped to their hip. If we're headed toward a dystopia, we can at least try to set the stage for a certain standard of aesthetics.
Every system requires sooner or later another system on top. https://en.m.wikipedia.org/wiki/Chaos_theory
Thank you! I made those in Keynote, exported as video, and then basically freeze-framed each slide to align it with the voice-over.
It makes diffs harder because maintaining the indentation rule (sometimes, depending on what is on other lines) requires changing every line of the query if you go from “INNER JOIN” (equally, outer/right/cross join) to “LEFT JOIN” (equally, full join).
You're right. And it needs to have a text component so version control can be managed with things like git.

Imagine binary blobs for the actual bitmaps but all operations on the bitmaps are sequentially translated to code, then simplified on save.
fsync() is not part of the standard C library. You won't be able to use it on, say, MS Windows. (Although maybe rust has it?)
Apple won’t help you during weekends. Our experience. There are dependencies, you at first don’t think of.
Every system requires sooner or later another system on top. Entropy is increasing. https://en.m.wikipedia.org/wiki/Chaos_theory
It appears that the exemption noted by others for businesses with fewer than 15 employees only relates to the obligation to accommodate employees, not customers. [1]

For example, one of the links provided elsewhere is to an EEOC website. The EEOC is the Equal Employment Opportunity Commission, which only relates to employment, not to accommodating customers.

1: https://www.accessibility.com/blog/do-small-businesses-with-...
Unfortunately, Twitter allows only 3 tiers of permissions. ListTweet requires both Read and Write permissions as it creates Lists for you based on underlying clusters automatically. https://developer.twitter.com/en/docs/apps/app-permissions
That is good news. Such a user hostile idea so hopefully it never comes.
The International Fixed Calendar was a work of elegant beauty and it’s a shame we are not using it.
> There’s a bell curve of software engineering ability in the world. There’s a few super geniuses, a bunch of smart cookies and a whole lot of people in the middle.

We see the effects of that throughout our industry and yet it's never publicly acknowledged.

> And remember, hotshots are equally ungrounded. Lots of good engineers you meet at Google were hired at straight out of college. They have no idea how the sausage is made anywhere else.

One of the most eye opening experience one can do is 3x the compensation for a software role and see what caliber of engineers it attracts. I remember one company who did that for college hires and they were shocked. They had been whining for a while about the "talent shortage" and that it was hard finding folks in the local market. Turns out the folks they really wanted to hire were there all along, just invisible.
Good advice but hard to accept and harder to practice. I always carry a pocket knife and sometimes a walking stick or umbrella - animals haven't yet figured out umbrellas.
Despite Chile's Speedy Covid-19 Vaccination Drive, Cases Soar
It's on their FAQ page.
Misleading title. This is a beginner introduction, no mastery to be seen. The examples are confusing and partly misleading.
SCMP is Hong Kong based. Probably the largest English language paper in Asia and has been around for ages. It is also quite critical of mainland China.

Here is the same story from an Indian newspaper:

https://www.thehindu.com/news/national/india-protests-us-nav...
From the Wikipedia article on the South China Morning Post:

Since the change of ownership in 2016, it has been alleged to be on a mission to promote China's soft power abroad.[9] According to critics, it is moving away from independent journalism and pioneering a new form of "propaganda".[9]

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

There's a lot more in the article on bias at that organization. Bottom line: this publication carries propaganda, and the Chinese government has strong incentive to drive a wedge between India and the U.S.
Yeah, but who voluntarily wants another Google product?
> Gottfried Leibniz suffered no small amount of flak for his conclusion that the reason the world looks the way it does is because it's already "the best of all possible worlds": you may think you see an improvement, but you lack divine understanding and therefore you don't see how it would actually make things worse.

Isn't this line of thought disproven by a single improvement? People before the improvement could have argued along the same lines and then be proven wrong.