skysight-inc/HackerNews huggingface dataset:
More like they ignore dangerous criminals in order to focus on inconvenient "honest" citizens.
This is patently untrue. I have a close friend currently working two SWE positions, roughly 60h/wk in total, and has been doing so for about a year with only positive feedback thus far. Both are publicly traded Big Tech companies, neither of which are known as being dysfunctional or problematic. There are more people doing this than you'd like to think. Check out the Discord for this community if you're still doubtful - you'd be surprised at the combination of companies people are able to perfectly fulfill expectations for.
Even for closed source apps, reverse engineering efforts (for sufficiently popular binaries) often find backdoors. This sort of auditing only works because each end user gets the same binary blob. (And if not, there’s a reasonably high likelihood of detection.)
You make a good point. It's more effective to learn something for a 'real' project, rather than to learn it as a random exploration. At least there's a goal, something to aim towards.

I'll take that to heart. Best of luck for your side projects.
Came here thinking they were able to fake a legit covid test. Instead they waste their time in one of these crappy rapid tests. Where I live no government body accepts results from these anyway, I'm not sure what's the point of faking a test that is already considered to be unreliable anyway.
The power to survive , but in general, power.

And that drives the process of evolution(biological, economical, technological, others), towards more complexity.
Cannot use self-driving functionality in my country and I think this is pretty much the only useful feature of software invading cars.

I understand that manufacturers would want to have that inhouse of course. Not just for better development that builds knowledge, the key to any engineering companies, but also because you can react more flexible if supply chains get disrupted.
> Because it’s cool?

Because it works for me?

You seem to be acting like I'm an M$ shill out to convert people. In actually someone that uses both, stated my reasons for why, and enquired as to if my assumptions are based on outdated information that I may need to reevaluate in order to remain a competent developer rather than a tribalistic one such as yourself.

> The packages ecosystem is fine and always has been.

That statement is the exact same energy as "because it's cool". Every system is fucked in someway and ignoring those flaws in discussing them just belies denial or naivety.
Not to mention motivated reasoning/perception. Is this positive test going to mean you’re going to cancel your holiday plans and lose thousands of dollars?
I like it! The filters make for a simple yet convincing glitch effect even with the basic block generation algorithm.

If you would like to go an extra step to make it look even fancier, you could try introducing some more block variation (e.g thin lines, squares, rectangles) that could be done with noise based tiling (e.g simplex/perlin). Throw in some RGB shifting and image cropping for some of the blocks and you'll probably get something real nice.

I implemented a glitch effect some time ago using what I described above, you can see what it looks like (under glitch transition). Hopefully it can provide some inspiration :-)

https://aeroheim.github.io/midori/
I'm not sure it matters. Hysterical people do not make good choices. When the hysterical people who run the system do nothing to calm their hysteria or the public's, the result is chronic unreasoned decision making, rapid flip-flopping, and the overall appearance of bad faith.

The knee-jerk reaction to bad faith
interaction (from all people) is "I don't know what, but not that." The knee-jerk response of the powers that be to mutiny is to exercise more power. The feedback worsens the situation.

If we would stop trying to manage rapidly-evolving situations with to-down legislation, returned individual freedoms, and all took a deep breath, I'm sure the populace (who certainly don't desire the death of their friends and loved ones) could find a reasoned solution that is at least as effective as what we have now.
> In reality, the encryption standards (SM1, SM2, SM3, SM4, etc) in China allows strong encryption.

Those are not strong encryption standards. They have dual key escrow such that the government can backdoor the connection with their own key. Those are China made encryption standards for use primarily with government products but they are attempting to also force them on the general public.

> I don't see any clues stating that China forbids encryption technology with a key greater than 256 bits.

That is exactly what this results in, because your choice is either a government backdoored encryption method (which basically means it isn't encrypted at all) or a non-backdoored encryption method that is limited to a key size no greater than 256 bits.

I will note, with this over reliance on dual key escrow. If a foreign government were to steal that key through espionage without China's knowledge, it would let say the US government to backdoor China's own government communications.
I feel like rust being intense is highly dependent on how you use it and your choice of frameworks. Building up huge types to avoid any dynamic dispatch for instance will suck the fun right out of trying to get an application to compile.
If it's a "fight over and over" situation, the ratcheting dynamics are important.

IE, "we" need to walk away from a win with something more than "status quo defended." Otherwise, the situation is "hold ground until we fail."
Maybe. We should swap sometime. I'm always open to new shiz. :)
What budget? At 256 bits (and even far less) it's not a question of money. It's a question of energy. We don't have enough energy production to even execute a single repeating adding instruction that bit-flips 256 bits of data registers to just count up from 0 to 2^256-1, and even if we did we don't have computer setups capable of ingesting such energy. Never mind the fact that encryption rounds and result analysis increases the energy consumption some hundred orders of magnitude.
Maynard Keenan from Tool had a good line about this he’d use in interviews. Something like, “you get a shortcut to transcendence that you spend the rest of your life developing the ability to get their naturally“
> - once you’ve taken your picture, you need to: 1) remove remaining silver halide that wasn’t exposed to light, 2) “fix” the remaining silver so it’s stable

There's a developing stage before before your step 1).

Developing causes areas of silver halide that were, in effect, only partly converted to silver (the so-called "latent image") to undergo full conversion. It's quite a complex process.

https://en.wikipedia.org/wiki/Latent_image
I love all the negative comments here. This has been going on forever and has eagerly been embraced by many many many companies outright, and is done very frequently.

It is called...

"consulting"

I think on HN you'd get far more "yes I do this" if the overemployed is side consulting.

That "second job" has far less expectation of time and permanence.

I love the misspelling of "mediocore". So ... apropos.
Nice! I've experimented a bit with bijective compression for making glitch images myself (mostly because it was easier and more fun than trying to make a practical bijective compressor).

I did a burrows-wheeler transform (the central technique of bzip2) on the pixels of an image, edited a few pixels in the transformed image, then inverted the transformation. It gave me results like this:

https://imgur.com/a/bHQreKy

I'm sorry the code isn't (even) presentable enough for Show HN :)
Interview of the 555 creator, which I find fascinating:

https://www.youtube.com/watch?v=j3vpu67uu28
Yes, but is incrementing a mutable variable properly constrained and typed?
> Nobody today can memorize an epic like the Illiad today like people routinely would in Socrates' day.

They can, and occasionally do. It tends to be people with a lot of spare time, or interested in memory techniques. And it probably helps if you know (ancient?) Greek, so it actually still rhymes. But it isn't super useful, so people generally don't.

If you paid people a living wage to recite the Iliad, you might get some more takers. We kinda do that, except it's actors in theatre plays or films. Sure, they don't take days to recite, but e.g. people put on several, different plays a year.

> It is certainly faster to look something up than to learn it

If it's faster to look it up, why bother learning it? Conversely, if someone had to look it up often, I bet it would be learned. Spaced repetition and all.

> The same with auto completion. Sure you can type faster, but it also means you, as a human, become less capable because you've never needed to hone the skills necessary to program without it. Programming without autocompletion is available in any text editor, even on paper.

I loathe this argument. Compilers or interpreters (computers in general) are sticklers for the exact spelling. Humans aren't; I still understood what you meant when you misspelled "Illiad". Why exactly spend the time and brainpower knowing exactly what something's called, as long as you have a rough idea of how the code works. Or, why spend the time typing it fully if you can have it auto-complete? When do you have to program in any text editor? Or even on paper, where the exact syntax can't possibly matter? (Equally, I'm sure that if this was a necessary skill, people could pick it up - occasionally they do, like for whiteboard interviews.)

Humans are very capable, and also lazy (one of the best engineering qualities). Don't mistake having no reason to do something with not being able to do something.
This disproportionately affects all encrypted data.

Also, I imagine a lot of non-nefarious encryption is done to hide data from the same entities that would be in control of the proposed back-door.
> ...removed from Steam.

What do you mean?
We've banned this account for repeatedly and egregiously breaking the site guidelines. Not what this site is for!

If you don't want to be banned, you're welcome to email hn@ycombinator.com and give us reason to believe that you'll follow the rules in the future. They're here: https://news.ycombinator.com/newsguidelines.html.
The no-brainer basic usage of any pre-commit hook is to make sure you don’t waste minutes while waiting for your build to finish and then end up with a failure because you don’t have a new line at the end of the file. So, adding lint(ers).

Making sure every commit have a ticket reference (and auto add it from the branch name if possible) is a fantastic convenience that also avoids commits referencing the wrong ticket.

You can also have a sanity check on what branches you don’t want to cowboy commit on unless you deliberately want to, like the main branch.

Black is a tool that is better to run on save. The key to a good pre-commit hook is that it has to be _fast_ otherwise parts of the team will stop using it.
Why are examples useful? Is there an example of "This is the minimum that counts as positive"? What if I am unable to visually distinguish that example from a negative? If I am able to visually distinguish them, then what if there is a line but it's fainter than that minimum? You can't guarantee that both of these are impossible, because different people have different visual capabilities.
Let's wait for a second opinion from Optimus Prime.
Indeed, there's also considerable variability in the different lateral flow tests. If you don't read the instructions then you may not work out the differences when the next set come along.

In the UK we have, amongst others I'm sure, the NHS branded boxes, Flowflex, and Orient Gene.

Some require swabbing nose and throat, some are just nasal swabs.
Some require 2 drops onto the device, some require 4.
Some require a certain amount of time to be left in the buffer solution, others just a set of steps of pushing/turning/squeezing the swab in the buffer.
Some require waiting 30 minutes (minimum), some are 15 minutes (minimum) and 30 minutes maximum.
etc.
> If they can get their hands on a governmental private key, which is unlikely.

But those private keys aren't going to be created by the government. They will be created by Facebook, Signal, Telegram etc., who will then hand over one of them to my government, one to yours, and one to each and every government that makes a similar law, from Argentina to Zimbabwe. And they could just as easily hand over another to <insert billionaire or other non-governmental figure you dislike here>.
Can you tell us what set of 64 characters it encodes to?
They're just horribly modified versions of western standards. And no they're only used by governments in China. The general public still uses TLS.
Yes, but note the absence of syntactic support. Effects will be usable for writing libraries and experimentation, but routine use won't be very ergonomic until a later release.
Most crimes leave a lot more evidence than just communication; physical illicit stuff, suspicious money transfers, blood, witnesses.

The only exception I can think of is distribution of child porn. Everything else has a massive real world trace that can be used to convict the perps.
How is recording audio not a "special event"? If it requires the user or system to do something to make it show up, it's a "special event".
Has iOS just not been implemented yet or is there a technical hurdle?
Meanwhile, Belgium has a thriving terrorist community.
Shell Money isn't commodity currency. It's cere-money
HN is not a jobs board, please see the FAQ for relevant sections.
"Why would you be arrested for taking drugs?"

Because it's illegal?

"The "think of the children" argument is based on personal experience, mind you, I sincerely hope for you that you will never understand the relation, ever."

1: I doubt it

2: You too, I hope that you (or your children!) will never be prosecuted for a victimless crime.
Best Python Libraries of 2021
Which country is that? You probably haven't dug deep. If you live anywhere in north america, the EEA, china, russia, india or australia, then I'm aware of such efforts and I don't exactly follow this closely. I just live in Belgium...
> If I am not in the house or I am asleep it is a waste of energy to heat it.

I agree, which is why I use a multi-stage programmable thermostat. Once again, it turns off when I leave, turns back on a bit before I get home, lets it warm/cool a bit while I sleep, and then starts back up around when I wake up.

> I find it weird that you get indignant at the idea of a little more automation than a timer.

If you're manually telling it you're on your way home that sounds like less automation to me. Personally I'd take the tiny bit of efficiency hit having it heat the house maybe an hour or two off from my regular schedule than having to micro-manage turning my thermostat on and off on a more expensive device that will probably be eventually bricked.

I'm just saying, the vast majority of the quality of life improvement from your internet connected thermostat could have been achieved with just a 7-day 4-stage programmable thermostat that has existed for 20 years. Its nice you're happy with your expensive device that's beholden to some cloud server, I hope it stays online for a few more years.
The guys involved are licensed for pretty much anything.

If you watch the "hydraulic press channel" you'll know these people (Pommijätkät); he's collaborated with them a number of times on their "beyond the press" channel. Pommijätkät also have their own youtube channel.

https://www.youtube.com/channel/UCcMDMoNu66_1Hwi5-MeiQgw

https://www.youtube.com/c/Beyondthepress/videos

https://www.youtube.com/channel/UCr1cNqiNxK46w93zw9KfTLg

The Tesla explosion is on both the "beyond the press" channel and

https://www.youtube.com/watch?v=DG9Izqp6WWU

https://www.youtube.com/watch?v=7_9aVzf5fC4

Yet another data point reinforcing why I will NEVER own/buy an EV. I'll keep my gasoline and diesel vehicles, thank you very much!

Edit2: it seems they are using Semtex/C4 - they say it's faster than dynamite which with the size rules out ANFO or AN explosives.
Or the response to anti-human policy is just "Not that", and the policymakers are scrambling for another way to shove it in.
The spin-off from the busssard ramjet that seems real is the magsail brake. The ramjet’s drag is very real but the thrust is elusive.

(E.g. if you were going to use the CNO cycle to fuse 4 H -> He4 you have to stop the H, retain it for minutes so the decays in the CNO cycle have time to happen, then eject the He4 and lose only a minute fraction of the heavy elements.)
No doubt.
To me all this relates to an implicit dualism and just not taking mental health seriously still. I just don't think we ever will while viewing the mind as one thing and the body as another. There will always be this bias that we would consider morally really off if discussing a "physical" health problem.

Even being aware of this I have a bias with typing out "mental health" without realizing it.

We are probably doomed until "brain health" replaces "mental health" in common language.

I had really bad social anxiety about a decade ago but the treatment for my ingrown toe nail was so much better and taken more seriously than a problem with my brain. The first person I went to about it had a community college degree and said they didn't believe in medication. Just incredible.
> The problem is that ligature substitution is “dumb” in the sense that it only considers whether certain characters appear in a certain order. It’s not aware of the semantic context.

In many code editors (even my terminal with fish shell!) this is not true. Ligatures are broken up when the text changes style due to syntax highlighting. Syntax highlighting can consider context, so if there is a mistaken ligature, this can be fixed by changing the syntax highlighting rules.
Ok, we've changed the title back to the article original - except with s/MOFCOM/China/.

Submitted title was "China forbids data encryption using a key greater than 256 bits". Submitters: please follow the site guidelines, which ask "Please use the original title, unless it is misleading or linkbait; don't editorialize."

https://news.ycombinator.com/newsguidelines.html

If you want to say what you think is important about an article, that's fine, but do it by adding a comment to the thread. Then your view will be on a level playing field with everyone else's: https://hn.algolia.com/?dateRange=all&page=0&prefix=false&so...
The US constitution also offers limited protection - it's subject to interpretation by judges, and re-interpretation by a growing body of people who think that it "needs to be updated" and "is a living document" and "is not absolute". Your fight for your rights will never end, as evil people will always be elected to office. Just because your officials are not literally Hitler doesn't mean that they won't be trying to infringe upon your rights.
+1 for Metrist. Great product!
Yup! And that leads to situations just like this. I'm not saying it's right or wrong. I'm just saying that people who depend on not being surprised by stuff like this prepare for stuff like this because it happens, in whatever form it takes.
Totally agree. OCaml is, in general, a better choice for engineering and real-world application. I think Haskell gets a lot of attention because it's interesting (for lack of a better word). I don't mean "OCaml is a boring language", but rather "Haskell was specifically designed as a playground for advanced ideas in type theory, so lots of weird things happen in that ecosystem." For doing personal projects for fun, I'd rather work with Haskell, but for getting things done probably not.
Salsa20 Diffusion (2005)
Probably a dumb question but why are there links to 2 btc addresses for each key, not just 1?
This circles back to being kinder to oneself and to enjoy the process. I am probably just being too harsh on myself and not actually having fun/enjoying the projects themselves. I'm obsessing over some 'goal' when the real goal should be to enjoy building something and seeing it grow, regardless of outcome. Thank you!
The point is the military wants people who are easy to control: people who are controlled by their emotions are easy to be controlled and molded. Being amenable plays into it, but so does having emotions without life experience to judge and harness those emotions
Isn't this more or less the idea behind plan 9?
Lots of disinformation here. Let's start from the top:

1. Veganism isn't a diet, it's a moral belief system. Diet is merely one manifestation of that belief system.

2. "Proteinless garbage"? What is this, the 90s? We've moved beyond the silly misconceptions that protein = meat. Do your research, please. Hitting daily protein goals is absolutely trivial on a vegan diet. Seriously, it's stupidly easy.

3. Animal agriculture is an astounding contributor to global emissions. Kurzgesagt just did a great video on the subject: https://www.youtube.com/watch?v=F1Hq8eVOMHs

We invite you into the 21st century, when you're ready. You'll have to leave the macho "I don't eat rabbit food" delusions behind, though.
Ligatures are display only. They are not part of any language syntax I know of.
I think that attacking the electronic component leaves behind less evidence of tampering with the device.
Not really. There is an “unmaintained” paid plug-in (unmaintained in the sense of not being updated since a year and advertising compatibility with Sublime 2 and 3 only).
It's nothing to do with "Europe" or anywhere else, or consumers.

The reason the Chinese government is uninterested with the "bad press" around repression of minorities in their country is because the know corporations will always take profit over ethics, and will happily contract Chinese factories in the name of being "competitive" -- which boils down to bigger payouts for the executive class.
Maybe, but is blurry CSAM still CSAM? If not, then they could just distribute the blurry thumbnails instead of this hash.
TLDR: Blood, sweat and tears

We have our own fully custom UI toolkit with a platform abstraction layer. Since we're the only users of this toolkit we have the flexibility to quickly make sweeping changes that can go all the way from the platform, through the toolkit and to the application code. We also generally make platform integration a priority - which you can see from about ¼ of the changelog being platform-specific fixes. This would probably make a good blogpost some day :)
Vim Plugins by Tim Pope
I think you are looking to find b such that a + b = 1 mod n. The problem is to find b such that a x b = 1 mod n.

That only has a solution if a is relatively prime to n, and generally the best way to find that solution is to use the extended Euclidean algorithm [1].

Briefly because a and n are relatively prime, there exists integers x and y such that ax + ny = 1 [2]. The extended Euclidean algorithm finds x and y. But ax + ny mod n is just ax mod n, and so we have ax = 1 mod n. The b we seek is x.

[1] https://en.wikipedia.org/wiki/Extended_Euclidean_algorithm

[2] https://en.wikipedia.org/wiki/B%C3%A9zout%27s_identity
This: "> the proposed passage that would have forced companies to decrypt encrypted data upon request by the authorities"
You'll have to do better than linking the entire history of the US Senate if you want to prove that the only reason the US has two senators per state is slavery. I don't doubt that it factored into it at the time, but to tell people in Alabama that the sole reason their vote is valued how the way it is is due to slavery seems incredibly revisionist and ignorant to me.

Consider that in Canada's House of Parliament, we similarly have votes in rural areas overrepresented compared to their urban counterparts. Did that system arise from slavery as well? Of course it didn't, and any Canadian suggesting so would be laughed at.