skysight-inc/HackerNews huggingface dataset:
` People in China aren’t free and can’t do anything unless the CCP dictators let them.`

I'm Chinese, I feel assaulted when westerners say anything closer to it, how brainwashed they are and how corrupted your media is. The truth is, human are the same, China is huge, nothing is perfect, but of course people are free living in China, if the government corrupted, there are various way to report, and the local leaders got banished if found evidence valid, the reality is, the government is doing good for its people, if you shouting out lies and creating chaos in public, you will be stopped and condemned first by Chinese people, and any government in the world would be standing out, as it's their duty to do so.

While people here only want to hear what they want to hear, no matter how I explained, it seems pointless, just one last comments, I'm here because I have free life in China, and I have opportunities to study, work freely, less politics, more about myself development, and studying abroad, learning to be open, cooperate with people, respect different culture, and don't make any comments on something that I don't know/understand, put peace ahead, if you are rich and strong, its your responsibility to help the weak and poor, otherwise, take good care of yourself etc. You see, those values are taught and advocated widely and are the basics in any education level in China, and this won't happen without a government guide its people. Anyway, please next time when you read news(mainly media from USA, and its allies, UK, Canada, AUS) about China, just pause a second, and think with your own mind, don't take everything they say, that's it.
this was on the front page yesterday, please check for duplicates before submitting: https://news.ycombinator.com/item?id=26731305
This is not true and no hacks are needed. Since nix only depends on /nix it can be used in combination with ANY linux OS.

Just so that noone runs into issues. This is not completely true. E.g. you cannot use Nix on Fedora Silverblue, because it also uses an immutable filesystem and you cannot make top-level directories like /nix without ugly hacks.

Also, multi-user Nix does not work on most distributions that enforce an SELinux policy (e.g. Fedora/CentOS/RHEL). Incorrect SELinux contexts get set on store files/directories. Single-user Nix typically works fine though.

(These issues can be worked around with rootless Nix, but that is much more high-friction than a globally installed Nix.)
What if I point it back at you and pull the trigger ?
If you need to cut cable because you can’t afford some expenses is that not the definition of “unable to pay bills” the article mentions?
If you ignore all the harm and violence caused by drug traffickers to get the drugs, from production to distribution in their final destination, I guess you can pretend it's just an harmless transaction between consenting adults.
Comcast nightmare: Six months without Internet despite $5k payment
I like cheat.sh. I have this in .bashrc to allow "cheat <cmd>" from bash shell:

function cheat() {
curl cht.sh/$1
}
The problem with Quasar's SSR is that you'll be locked into their CLI tool due to how much undocumented global state changes they do.

If you just want use it as a UI component library in an existing Vue SSR app, you'd have to at the very least:

- Call Quasar.ssrUpdate before instantiating the root Vue app. The devs also stated they have no intention of releasing the type definition for this _essential_ function [1]

- Extract app.$q.ssrContext.Q_BODY_CLASSES and add it to your <body> tag during your render step or else most of the css states will not work

These are the two main culprits I've found. Sadly my SSR apps still feel slightly off compared to a SPA with missing animations here and there.

[1] https://github.com/quasarframework/quasar/issues/8112#issuec...
I agree. I guess people use “alternative” to refer to “treatments” that have not been, are not able to be, or have failed proper trials.
I implemented a "conceptual" lossy text compression a few months ago by using word2vec (glove) to convert each word to a list of floats, laid the result out in a square, then jpeg compressed it at different quality levels. This ensured the decompressed output was all real words, but lowering the jpeg quality basically controlled the descent into synonyms and madness.

This was a follow up to a similar demo where a colleague compressed the raw ascii bytes as jpeg, which started devolving into nonsense (that didn't even look like words anymore) below ~97 quality.

I'm away from my computer for the next week or so but if you catch me after that I'm happy to post some of the results.
Would be interesting to try with some other image formats as well.

--

Could also play with the data layout to make the jpeg curves make sense in a different way. Right now the vectors are stacked end to end, like:

v0 = vec(words[0])
v1 = vec(words[1])
out = v0[0...len] + v1[0...len]

If you consider the vector to be an N dimensional space, jpeg compression probably makes more sense if you lay it out like:

out = v0[0] + v1[0] ... v0[len-1] + v1[len-1]

This would allow the DCT to apply to continuous coordinate spaces from the vectors.

--

Another idea that would possibly have even more sensible output at good compression ratios, would be to train a language model neural network encoder/decoder pair on a text compression task. Teach it to "downscale" and "upscale" text, perhaps in an unsupervised or semi-supervised manner. Then you can also constrain the intermediate form.
> Also, Pluto notebooks are Julia modules and can be imported into normal Julia code

Not "imported", Pluto notebooks ARE regular Julia code. No translation required. In one of the talks, it mentions one of the Pluto-related packages as being "written' in Pluto.
How do you properly test that you mitigated a vulnerability if you don't have a POC? POC's are useful for other purposes than malicious attacks.
Well, George I was born a duke of the Holy Roman Empire and a relative of the queen, so it's not like the picked someone off the streets.

Besides, to a modern democrat, what could be more legitimate that receiving something from parliament?
Can the UK just get rid of the monarchy if it turns into a mess? It doesn't make much sense to me to continue to have a "royal family" if the whole family refuses to be the monarch.
CD Projekt's GoG client has a feature where users can write Python extensions [0] for third party account integrations. To enable this, they ship an entire Python interpreter alongside the app binary [1]. I guess this kind of makes sense, it is way easier than having users manage their own `venv`s and other Python environment stuff. Packaging Python apps for distribution outside of a Python development context is quite pesky.

[0]: https://github.com/gogcom/galaxy-integrations-python-api

[1]: https://support.gog.com/hc/en-us/articles/360024812473-GOG-G...
I find the discrepancy between the bottom four and top two strings gives me trouble in terms of patterns.

The bass has truly portable patterns, which makes it super easy to learn.

Piano is built around octaves, so once you can play a scale in one, it works in any, unlike the guitar.
AFAIK The birth birthday itself is not "required by law" but there are several restrictions for services directed to children under 13.

I can think of the most known Children’s Online Privacy Protection Act (COPPA) and some EU safeguards that prevent you from processing a child's personal data without the guardian consent.

I would also guess that there are content restrictions that might be hard to implement on a Google account and they prefer locking children out of their platform. I do think Facebook and many others applies the same method.

Disclaimer: This is not legal advice
Ask HN: Favorite Healthy-Ish Recipes?
I guess I’m trying to lose some weight but I know for it to be a sustained thing, I need recipes that taste good as well as being healthy. Any suggestions?
Sorry, didn't see that...
I can't remember where I first heard it, but there was a good description of a lot of the new social networks popping up. If you make a community whose founding virtue is "no witch hunts", you shouldn't be surprised when it is primarily used by witches, regardless of the prevalence of witches in general society.
> gave you the thing you wanted and you don't appear to have acknowledge its existence. So I'm trying to figure out the actual issue here.

The actual issue is not of ME not knowing (my question was intended to provide the "typical person not interested" perspective but apparently I failed to do that). As I said, I do know what global warming is.

The issue is that people are stuck between some who will say "look outside, it is -5°C, let's laugh about global warming", some that will say "you should just make an effort and learn", and the ones who will say "the conjecture is that the Navier-Stokes equations shows that laminar wagoo wareeh mawawaw".

I do not see the ELI5 version being broadcasted and pushed with a shovel into people's head. In which case the "look outside..." wins.
Sorry, I should have said animal-based rather than meat, to include milk, eggs, brains, organs, etc. And yes, I eat basically nose-to-tail now, mostly pastured, and feel a hell of a lot better than I did before
This is a PR piece. People do hate zoom, this is zoom trying to rehabilitate their image through their security partner.
The last time I had a bike stolen, it was right under a CCTV camera from the company I was working at. The security people told me there was nothing they could do. The tools are in place, but there's absolutely no desire to use them. The same thing happens with people stealing packages off doorsteps. When I was still on Facebook, there were regular shares in the local groups of pictures of the thieves taking boxes from people's Ring doorbells or equivalent, followed by complaints about the police department having no interest in following up about the crime.
>"Wuffs (Wrangling Untrusted File Formats Safely) is formerly known as Puffs (Parsing Untrusted File Formats Safely).
Wuffs is a memory-safe programming language (and a standard library written in that language) for wrangling untrusted file formats safely. Wrangling includes parsing, decoding and encoding. Example file formats include images, audio, video, fonts and compressed archives.

It is also fast. On many of its GIF decoding benchmarks, Wuffs measures 2x faster than "giflib" (C), 3x faster than "image/gif" (Go) and 7x faster than "gif" (Rust).

Goals and Non-Goals

Wuffs' goal is to produce software libraries that are as safe as Go or Rust, roughly speaking, but as fast as C, and that can be used anywhere C libraries are used. This includes very large C/C++ projects, such as popular web browsers and operating systems (using that term to include desktop and mobile user interfaces, not just the kernel).

Wuffs the Library is available as transpiled C code. Other C/C++ projects can use that library without requiring the Wuffs the Language toolchain. Those projects can use Wuffs the Library like using any other third party C library. It's just not hand-written C.

However, unlike hand-written C,

Wuffs the Language is safe with respect to buffer overflows, integer arithmetic overflows and null pointer dereferences.

A key difference between Wuffs and other memory-safe languages is that all such checks are done at compile time, not at run time. If it compiles, it is safe, with respect to those three bug classes.

The trade-off in aiming for both safety and speed is that Wuffs programs take longer for a programmer to write, as they have to explicitly annotate their programs with proofs of safety. A statement like x += 1 unsurprisingly means to increment the variable x by 1. However, in Wuffs, such a statement is a compile time error unless the compiler can also prove that x is not the maximal value of x's type (e.g. x is not 255 if x is a base.u8), as the increment would otherwise overflow. Similarly, an integer arithmetic expression like x / y is a compile time error unless the compiler can also prove that y is not zero.

Wuffs is not a general purpose programming language. It is for writing libraries, not programs. The idea isn't to write your whole program in Wuffs, only the parts that are both performance-conscious and security-conscious. For example, while technically possible, it is unlikely that a Wuffs compiler would be worth writing entirely in Wuffs."

PDS: Would like to see a future AV1 / AOM / libaom / FFmpeg -- written/compiled in Wuffs...
It's Google's proposal, but it actually affects any entity having multiple domains. Think of publishers like Conde who have multiple magazines, or a company with regional domains (company.co.uk, company.com) or a content site set up for specific company-driven event (thecoolshow.com)... All of these would enable the entity to manage user experiences better, instead of having to do hacks, multiple logins, or other user hassles.
Online JavaScript Compiler
Show HN: Developer Friendly Production Access
If you want to try it out, you can sign up at https://app.cased.com/signup
It's very easy to make a list like this look asymmetrical when your article cherry picks the most outrage-inducing results from your test and disregards any results that don't fit your narrative.
But he's not just talking about the Royal Family. How far do I go back before I don't feel guilty anymore? Should the Italians feel guilty for the Roman Empire slaughtering native Britons?

For me there's little point making people feel shame for what country they happened to be born in - we do not get to choose. However it's important that we do not forget what caused these awful atrocities and make sure that we never let them happen again.

Personally I feel that we do not learn enough about these atrocities at school in the UK, and would be happy if we focused on them more but I wouldn't want people to feel too guilty about things that could not control.
So Neuralink have a large secondary market of FPS players!
It went down the google hole in epub3.
Online GodotCon July 2021 – Call for participation
#1: Don't sign-in/use google services.

#2: Do note, they want 'a' birthday. Why would you ever consider giving them a real anything? Online services that 'demand' unnecessary metadata, where you decide to give metadata to continue to use them as opposed to dropping them, *always* get fake metadata.

Years ago the washington post used to demand some unnecessary metadata to read articles. I was a 98 year old from Mongolia one day, a 65 year old Peruvian for the next, and the answers were different, and fake, every time (I'd clear their cookie immediately to trigger another 'ask' for the next time I would click on a link to them).
Amos Hochstein Comes for Berlin – Political Superfood
I think the answer to this part of it is at the bottom of that rant: the increase in complexity. The barrier you describe exists because there is so much damn complexity in modern systems, much of it unnecessary.
government subsidizes everything to one level or another. to say it is subsidized higher than other sectors within agriculture is more meme than fact. some segments may be depending on your country. in the US we subsidize everything to include corn for ethanol to cotton which we ship to China and receive back as finished clothing.

the issue has always been subsidies are politicians means to show their constituents they are doing their job, bringing home the bacon. however the rules and regulations are stacked such that only very large farms and organizations see real benefit.

US wise, most subsidies are towards guarantees of rates. Dairy and Meat get picked on a lot because they are very noticeable but much of the numbers assigned to them are because corn is a feed product and the biggest crop in the US by far. Throw in that many who don't care for animal farming will then associate any other subsidy they can find, to include WIC payments shows just how much a stretch it becomes Outside of pandemic years the estimates for all of agriculture in the US ranges from the low twenties in billions to highs in fifties. Again, depends on what you count.

The real issue isn't what we are subsidizing in this case but that we don't insure that the small farms are compensated as well as large private and commercial farms are because the regulatory burden puts obtaining such funds into the category of not worth the time and money
Not related, but: the other day I joined a Zoom call for the first time. I had no interest in using a native client, but when you first try to join the call and Zoom tries to download the client, Microsoft Edge warned me that it was “harmful to my device”. For once SmartScreen and I are in agreement.
Global EdTech Landscape in 2021
Isn't it funny that every single person who laments overpopulation never considers themselves to be a part of the problem, and thus, this is why they aren't committing suicide in droves.
We see it as a very universal service, so integration with k8s is definitely on our list, but there are no concrete plans yet. The ACLs are just so generic, you can describe anything with it.
How to Start a New Country
It might be worth noting that your experience can differ from theirs without it being untrue.

I can say that I did Ancient Greece, Romans, Tudors, touched a little on the Spanish Armada before skipping straight to WW2.

Neither of the two schools I attended touched on Colonialism in any recognisable degree, and Slavery was more "We stopped slavery, good job england", when in reality it wasn't done from a place of morality, and instead was driven by mass slave revolts, a decline in plantations culminated by an era of overproduction by slavery, which was leading to economic decline.
Hmm, cannot seem to be able to delete this post for some reason -- please delete if you can...
Putting aside that Zoom is not Facebook, "Zoom's choice to not allow gallery view" sounds very much like, "How long have you been beating your wife?" Zoom has not implemented gallery view. We know nothing about the whys, hows, and whats of the matter.

Look, I prefer webapps when possible and keep mobile apps to a very minimum on my mobile (and preferably from F-Droid, at that). But I also understand that you can only do so much in a release and if your engineering team expertise, backlog, users, sales, EVERYTHING, is centered around native apps. Then damn it, you're going to make your native app look stellar because otherwise your competitors will get a leg up over you.
Not that risable: my 11 year old has gone through the Python Crash Course book and built a basic Django pizza ordering website with a database in a day.

That’s after work his way through much of the book, of course, but... as with any complex domain, the right teacher can make a big difference.
This is amazing, thanks for sharing! I really hate the bloated electron piece of shit. Would love a cli client or pidgin integration.
how many energy providers does your average texan have to choose from?
America may be close to hitting a vaccine wall
I'm one of those weird people who thinks the world would be better if acquisitions didn't happen. Some of my best work is gone from the internet because a large company acquired it and let it rot.
I assume they helped grow new markets and Adobe had to pivot into these “new” markets. All the old users of Adobe are still the users of Adobe. But most new entrants have grown up with new approaches like Canva etc..... I remember when GIMP was the only “credible” alternative to Adobe (acquiring competitors like Macromedia etc). Now there are dozens of alternatives.
Pretty disappointed with the use of autistic as an insult. Really unnecessary and offensive.

I was a lover of hypercard. It seemed to rekindle some if the magic of AppleSoft BASIC when I moved from the Apple II to the Mac in elementary school. I remember being surprised at how difficult it was to program a Mac compared to an Apple II until I found HyperCard. It seemed full of possibility.
Wouldn't "Compatible with Kernel 5.11" be a pretty good/accurate bar? That is if they upstream their drivers or develop their closed sourced ones against certain kernel?
Seconded. We have a bunch like that here in NL.
I find it very interesting that Google will voice support for the Black Lives Matter movement, but it won't allow others who support BLM to monetize their YouTube content. Google loudly and proudly supports their LGBTQ+ employees and marches in pride parades every year, but won't allow advertisers to support LBGTQ+ channels. Google loudly denounced Trump's Muslim-ban but thinks advertising for "Muslim fashion" might cause PR issues so blocks it.

These are not the actions of a company taking a stand for what's right; these are the actions of a company that's always playing the PR game for the sake of their bottom line. As someone who has worked there before, Facebook is just as two-faced in the exact same way.
Thinking this way is not isolated to those locations. For example there has been a huge influx of people buying properties sight unseen and over-asking price in places like Nova Scotia.

https://www.ctvnews.ca/business/where-in-canada-are-house-pr...
He lives 99 years. Most of it in the public’s eye and lots of it in an era where once common ideas are now considered abhorrent. Seems unsurprising to find these quotes and uninteresting to post them
Tips for Writing Code When You Don't Know Where to Start
In math, there are results that say something to the effect of "their is no singular program that can prove all interesting theorems." This is not usually seen as demoralizing by mathematicians, but rather as a guarentee that math will never be "solved." I would think that physicist feel similarly about the apparent non-feasibility of a unified physical theory.
Hacking an old wireless microphone
It should probably be `untar --format gzip`
U.S. Spy Agencies Warn of Threats from Digital Currency to AI
obsceneties in decimals. sigh.
Why Invest in Exchange Traded Funds (ETFs)
Google Blocks Advertisers from Targeting Black Lives Matter YouTube Videos
Oh god I’m not the only one. I tried to host my own personal projects on AWS but could not for the life of me ever get the resources to be turned off.
I work in the insolvency industry in Canada. MNP is a competitor to our firm. Every year they come up with a survey like this which sounds over-dramatic. The insolvencies in Canada are actually down 35% year over year. Most Canadians have been doing better since Covid because of the very generous Government we have and also because most creditors have halted collection procedures. Also, for people who own homes, the meteoric rise in prices has made it possible for them to refinance at sub-2% rates and pay off credit card debt.
Related from same author a few months ago https://news.ycombinator.com/item?id=23584954 "Why Figma wins"
If they haven't been already for 10-15 years.
Now, don't get me wrong, I don't have a horse in this race.

But as a complete outsider, this doesn't fill me with confidence. If Wikipedia is to be believed, NixOS was launched in 2003, so 18 (!) years ago, I assume that's when Nix was created.

The issue mentioned seems quite basic and you're replying that it will be fixed in a new Nix CLI.

This seems like a basic QA fail, I wouldn't want anything like this within 100 km of any production environment I'm working on.

I imagine Nix is underfunded, but few projects come back from stuff like this. If they can't get their stuff together in almost 2 decades, who will ever trust them that they ever will?
If you think that's horrifying, what if I told you that a sufficiently-entitled operator of a given program can alter the flags at runtime ... using their web browser. https://twitter.com/jbeda/status/888635505201471490
This resembles the era of Salesforce vs Oracle. Having everything on the cloud (Salesforce) versus having expensive in-house systems maintained by Oracle/SAP.

Not surprising at this point as Adobe is a mature and slow moving company. What innovations have they done in the last 5 years besides closing down Flash?
You want Electron.