skysight-inc/HackerNews huggingface dataset:
One of the biggest issues I have found is that I can sometimes not easily create a test for code that I have modified because it is part of a larger class (I'm coding in C++). This normally happens when I cannot extract the function out of the class and it relies on internal state, and the class is not already being tested.

Love to know if there is an easy way of doing this!
I think the fact that people are listing different sets of extensions they trust is good evidence that you can't just say "this list is the only list of extensions you can trust"
It’s just how we Indians keep telling ourselves we didn’t really lose those wars against China. But we literally were thrashed at will and when they (China) kind of got tired or thought they taught us a lesson they stopped.

Exactly the same way our close neighbours Pakistan keeps thinking they didn’t really lose any wars against us.

Even the people who were not even a foetus during those wars. Emotion trumps facts it seems.

Being in denial for so long.
How this American nationalist drivel doesn’t get flagged is beyond me…

Wait no it’s not this is the HackerNews, you all eat this up with a spoon

Now go ahead and shadowban me again :*
I find it particularly interesting that they post this as if it's a discussion to be had with the community yet they've already gotten permission[1] from developers by asking them beforehand, in private.

[1]: https://github.com/audacity/audacity/discussions/932#discuss... (comments from developers themselves also exist further down in the thread)
> Did the Vietnamese people win the war? No. They've been living in poverty for 50 years and most of them still are in 2021, 50 years later.

Do "the people" ever win a war? Something like 600,000 - 2 million civilians died in that war. If you're implying that people would be better off ecconomically if the other side won, that seems highly speculative with no evidence to back it up.
Victorias ridiculous tax on Electric Vehicles has passed, starts July first 2021
Also, I recommend adding a "Report" button to the page, so that would-be buyers can report if they arrived at a checkout page through fraud/misrepresentation.
>WMDs in Iraq

Some interesting reading regarding this:

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

It turns out that there really were some WMDs after all. I'm not sure they were enough to justify war, but I don't suppose that matters at this stage.
A recommended reading https://www.amazon.com/Refactoring-Improving-Existing-Addiso...
> The bomb killed all of his family members and all the pigs he raised and left him with nothing. He cried and vowed to fight till he dies.

That's why Sun-Tzu teaches to always leave an escape route for enemy, otherwise he will fight to the last man and inflict more damage than giving up.
Vietnam is similar to China - the cities have a small middle class, a few very wealthy yet most of the country is quite poor, some of them brutally poor.
But how does this compare to living in a developing country with fewer prospects? Are they committing suicide at even greater rates, yes, no, why?
Sadly, it can be summed in just three words, “it’s just business”.
In git each "block" includes the previous "block"(s)' hash. Is it a blockchain or a hash tree?

I would say that in practice what differentiates a blockchain from other applications of hash trees is a mechanism for consensus, not whether the blocks being formed into a trees conceptually represent time or not.
What happened in 2017 that was completely unresponded to that dwarfed the pandemic when the world shut down.
DING DING DING
That part is true, but communists killed millions more. There is no perfect history to love, sad ?
Yeah, I can see why. I made an extension and did this so that I could encapsulate some famous public websites for an internal app.

There are lots of legitimate use-cases to disable this stuff.
There are plenty of reasonably trustworthy extensions. The logic of "it is a cybersecurity and privacy product, therefore it is the only thing I trust" is kind of terrible. That's if anything a category of products that is full of strange software, see "antivirus" software
Let's just say the government is super evil and they covered up 99 deaths every 100 deaths for some reason, although we have no evidence that they did. They lost 50,000 people.

The US lost half a million.

Are you happy now?
USA fought a very similar war in Korea 10 years prior.

Would you rather live in North Korea or South Korea right now?
UBO is good cause like the whole internet trusts Raymond Hill (gorhill).

And 1000s of eyeballs are on those works.
Or the transportation industry. I drive a truck, no stand-ups here (yet), but my boss has a daily standup.

The technicians in the shop have a daily standup.

Or the road construction industry. When I'm driving around 8 in the morning I see those guys in a standup.

In a truck stop this morning two of the staff were talking about the upcoming "huddle." Because they're a team, you know.

It's like Invasion of the Body Snatchers.
I'm not a native-born American and don't feel like I have skin in that game. I just feel like in war, there may be victors, but there are no winners. Especially in the modern age, if you get in a war, all sides lose. Victory is just a matter of who manages to lose less.
Yeah, I'm genuinely surprised at how little stain there is on Belgium's international reputation as a result of this. I guess part of it is that the Belgian people themselves had relatively little to do with it while it was happening, and that the affected individuals largely don't speak English, but in terms of "a country goes out and messes up millions of other people for terrible reasons", it's ... up there.
One thing that would help a lot is if julialang.org offered downloads with a bunch of common packages baked into a sysimage (modeled roughly of of anaconda). My rough estimate of packages to include would be
Plots, BandedMatrices, DifferentialEquations, CSV, DataFrames, Flux, PyCall, (and probably some others). Having a distribution with a lot of the heavy hitter built in would make workflows using those packages much snappier.
Their CEO awarded herself freedom of speech award.
Looking for Maintainers for Lucia.js
> Maybe the amp is bad in the monitor?

Yeah the AMP and the DAC.
You’re very close to his actual quote, he was referring to the horrors of mutating shared state: http://number-none.com/blow/john_carmack_on_inlined_code.htm...
As developers consider quitting, here comes the next big skills crisis [UK]
Anecdotes aside, I wonder if this is really true. I wonder if it has been tested. Poker bots are strong enough that it should be testable. Is there really a scenario in which a stronger bot reliably loses to a group of weaker bots?
That’s discounting the scores of people who prefer to watch cinema in black and white. Many movies are now coming out with black and white variants (Snyder cut of Justice League, Mad Max: Fury Road etc) black and white isn’t going anywhere. Saying this is like saying people won’t want to read books any more because digital text exists.
I've only kicked the tires on Julia a bit, but it seems like while methods are less likely to clash, they still might if you happen to use the same name and argument types? Or maybe unexpected method resolution causes a bug?
Photos are also fake, did you know the past wasn't really black and white?
C) victim was not supposed to escape and talk d) was part of great China propaganda about how China will conquer the world
Firefox Performance Tweaks
Robot with Laser Kills Weeds
Ode to the Robot Butt or Is It to Erlang Pattern-Matching?
I'm not trying to defend American policies in Vietnam. But Vietnam became independent in 1954, albeit split between North and South. The Vietnam War as typically understood by Americans, and as encompassing most well known atrocities, wouldn't begin for another 10 years.

Also, American and, more generally, anti-colonialist and anti-imperialist discourses tend to infantilize people in these countries. I doubt the Vietnamese had a simplistic, love-hate relationship with either the French or the Americans even after the innumerable atrocities. Just like in every other nation even the masses were and are capable of complex strategic, mixed-motive thinking. Look at the sheer devastation America has caused in Iraq and Afghanistan, yet AFAIU neither most Iraqis nor most Afghanis wish for U.S. involvement to completely disappear. Americans would never believe themselves capable of pressing a war out of pure spite, anger, or retaliation; yet we somehow think other groups do? IOW, there's something problematic in thinking that what fundamentally drove the Vietnamese was a response to American atrocities. Far more likely (and consonant with the notion that all communities around the world tend to behave similarly) is that those atrocities exacerbated underlying, primary dynamics. Afterall, the merchant class by definition didn't tend to live on rice farms. They were centered in the cities.

The U.S. tried to implement many of the same policies the British did in Malaysia. During the communist insurgency in Malaysia the British corralled ethnic Chinese (the primary supporters of communism, such as they were--i.e. it wasn't that simple) into cities and towns. (To this day ethnic Chinese can't own rural farms outright in Malaysia.) But Chinese communities were already mostly urban, and were of course a minority (20-30%). It was a plan that arguably worked by accident. But such a strategy was never going to work in Vietnam because the dynamics were totally flipped. That would have been much more obvious if the U.S. saw the ethnic divisions for what they were.
The only fact that wasn’t known at the time was how long we hadn’t figured out a zoonotic origin for the virus. That’s the only one.

To your second point, if there are things that cant be explained about the theory using available evidence we need to conduct an independent investigation. The CPC is not allowing us to do this. It raises questions as to why.

And to your last point, Daszak directly lied about having no conflict with the research in question, it wasn’t a failure to disclose without prior prerogative. It was a direct lie.

I understand your skepticism and I’m not even saying that WIV was the source. I’m trying to present you an argument that shows it’s just not that outrageous of a thing to raise questions about. We need to be able to have these discussions. The original linked article was about censorship, and I hope you’ll agree that we need to be able to talk about these things without being accused of racism or having an agenda.
South Korea literally wouldn’t exist today without UN intervention.
That actually seems less horrifying to me. That feels like those NFTs at least acknowledge that they're basically trading cards. It's not an "NFT of a trading card" it's "an NFT which stopped pretending it wasn't just a trading card."`
I don't get this. This is literally what the 'one level of abstraction' rule is for.

If you can find a good name for a piece of code I don't need to read in detail, why do you want to make me skip from line 1458 to line 2345 to skip over the details of how you do that thing? And why would you add a comment on it instead of making it a function that is appropriately named and I don't have to break my reading flow to skip over a horrendously huge piece of code?
No? My point is that Vietnam and China have a centuries-long history of antagonism; to take China's support of the North during the Vietnam War as anything other than realpolitik is to miss the greater context.

https://en.wikipedia.org/wiki/China%E2%80%93Vietnam_relation...

FWIW, I agree with you regarding the dangers of communist purges- I lived in Laos in the late 70's/early 80's. I saw plenty of first-hand examples of what happens.
I already don't trust my employer not to fuck me over if it benefits them. So not much changes.
I didn't want to look at all the adds on the original page
>doesn’t need to be aesthetically pleasing, or well-equipped, or air-conditioned (or even have walls or a roof!"

They're clearly talking about my sagging back porch/deck. And I've tried working out there, but the problem is the noise, particularly of the highway about 250 feet thataway.

Otherwise, in good weather, sure.
I see, thanks.

Anyway, it does not disprove my point about countries which became dependent on US, and civil wars where one party is supported by the US.
Various countries which were "bombed to hell and back" are doing well now. Various Europe countries, Korea, Japan, etc
Modules could have signatures and be parametrized.

https://wiki.haskell.org/Module_signature

https://ocaml.org/learn/tutorials/modules.html
Ublock Origin only exists because gorhill's original Ublock became evil due to a critical management mistake onboarding an untrustworthy parry. Everything is a risk.
He ran a consultancy and knew how to pump out books into a world of programmers that wanted books

I was around in the early 90s through to the early 2000s when a lot of the ideas came about slowly got morphed by consultants who were selling this stuff to companies as essentially "religion". The nuanced thoughts of a lot of the people who had most of the original core ideas is mostly lost.

It's a tricky situation, at the core of things, there are some really good ideas, but the messaging by people like "uncle bob" seem to fail to communicate the mindset in a way that develops thinking programmers. Mainly because him, and people like Ron Jerfferies, really didn't actually build anything serious once they became consultants and started giving out all these edicts. If you watched them on forums/blogs at the time, they were really not that good. There were lots of people who were building real things and had great perspectives, but their nuanced perspectives were never really captured into books, and it would be hard to as it is more about the mentality of using ideas and principles and making good pragmatic choices and adapting things and not being limited by "rules" but about incorporating the essence of the ideas into your thinking processes.

So many of those people walked away from a lot of those communities when it morphed into "Agile" and started being dominated by the consultants.
Also this seems fishy:

> Organs from Muslim donors are often preferred by other Muslims because they are “halal.”
Okikio/animate – animejs but built on the Web Animation API
I can understand the concern. It can mislead people about what the past really looked like.

An example: this same model colorized the Golden Gate white: https://camo.githubusercontent.com/3487a03626fd86d4f8c814636...

In my case I wasn't too concerned, since I was sharing the photos with my family, who understood they were artificially colorized. My father even asked me if it was possible to choose specific colours in articles of clothing, since it got those wrong. Nonetheless, to me and my family, it made our old photographs seem so close and alive, which made it worth it.

A good compromise may be to mark these retouched photos with a small watermark indicating that they have been altered. By the way, I think the colab instances running this model have the option to add watermarks for this reason (https://colab.research.google.com/github/jantic/DeOldify/blo...).
N. Takahashi, Y. Matoba, T. Sato, H. Koike, SHIRI: Buttocks Humanoid that Represents Emotions with Visual and Tactual Transformation of the Muscles, Advanced Visual Interfaces 2012 (AVI2012), 2012.
Could someone with pull PLEASE tell Chrome/Firefox to make 'Video Speed Controller' a default feature in their respective browsers. Its a must-have for me but it feels like something that could easily be made a default feature in a browser.
Word tip: “cease to exist” rather than “seize”
Apparently it's 7th grade social studies stuff to note that the Puritans that were driven out of Europe were far more militant and fundamentalist, hence why they decided to leave in the first place, to be able to practice their far out of the mainstream religious practices.

And continuing out 7th grade social studies stuff, we then note that Western civilization in Europe evolved far differently when it came to religious influence on society compared to America. We literally have cereal and circumcision as methods to curb masturbation. Do you see anything like that in Europe? It's not even close.
> The researchers observed that the accuracy of news sources the Twitter users retweeted promptly declined by roughly 1 percent in the next 24 hours after being corrected. Similarly, evaluating over 7,000 retweets with links to political content made by the Twitter accounts in the same 24 hours, the scholars found an upturn by over 1 percent in the partisan lean of content, and an increase of about 3 percent in the “toxicity” of the retweets, based on an analysis of the language being used.

Rule of thumb, you can disregard any social science paper where the effect size is single digits.
It’s not entirely fake. These colorization processes exaggerate information about the grayscale tones that our eyes can’t pick up due to subtlety or unfamiliarity with the time, place or people depicted. So while the colorized photos are not entirely faithful, they do tell us more about the scene the photo captured.
Those responsible for what happened there received due process of law and were punished.

Communists, on the other hand, either suppress or celebrate their own atrocities.
This was in 1954 when the country was divided. What bombing are you talking about?
You seem to have raised a fair bit of money. What's your business model?
Yes, I know, and South Koreans had to fight ~40 years after the Korean War to gain that right. That's the point I'm trying to make: a war is never about good guys beating bad guys, and when it ends nobody goes home as a victor and lives happily ever after.
Key detail, from the new USB-C 2.1 spec:

> Extended Power Range (EPR) voltages (28 V – 48 V)

So so so good. Love it. We are so good at switching DC power these days. I am so happy to hear these connectors might have these voltage ranges in them. This is fabulous.
I thought this was up in Troy Township (Wood County), not in Troy (the city, in Miami county).
Using Twitter to find links for Unscatter
Deployment of giant robotic arm at Chinese space station raises concern in US
I have a friend who served as a tank gunner in Vietnam. Has was wounded and sent home. He ended up with 4 teeth left after his jaw has been shot.

He refused to accept that the US lost. No amount of reasoning would make him budge on that opinion. I dropped the subject as it was a risk to our friendship.

I understand where he is coming from though. To have lost so many friends in addition to his personal injury, it would mean to him that it was all for nothing if he were to acknowledge it as a loss.

[edit - a word]
> these things are literally what the Clean Code book advocates for

I'm not sure I understand what you're saying, I might be missing your point. The Clean Code book advocates that the ideal function is a single digit number of lines, double digits at the absolute most.

In my mind, the entire process of writing functions that short involves abstracting almost everything your code does. It involves passing data around all over the place and attaching state to objects that get constructed over multiple methods.

How do you create a low-abstraction, bottom-up codebase when every coroutine you need to write is getting turned into dozens of separate functions? I think this is showcased in the code examples that the article author critiques from Clean Code. They're littered with side effects and state mutations. This stuff looks like it would be a nightmare to maintain, because it's over-abstracted.

Martin is writing one-line functions whose entire purpose is to call exactly one other function passing in a boolean. I don't even know if I would call that top-down programming, it feels like critiquing that kind of code or calling it characteristic of their writing style is almost unfair to top-down programmers.
Many people in the US never accepted that they were defeated. And the US media did a good job of never making this point (the defeat against Vietnam) clear. It is a version of the "lost cause" phenomenon of the US south.
GP very much did not say to trust security and privacy products in general. They said to trust two such products in particular, which are well-established and trusted. There are prominent examples within the past few months of "privacy" extensions embedding trackers and monetizing user data.
In war there are no winners, only widows.
I hope governments investigate further on those testimony , how can Chinese people stay silent about that? About such mass torture stories?
> I pay for G-Suite and I have access to live-human chat support.

Yep. The only reason I pay for G Suite is so I can complain to a human when something in Google is properly fucking up. They hate me but they always talk to me.
Can you specify which policies are a nightmare to develop on? As a security-minded UI eng, I warmly welcome any new security policies that enable me to harden my applications and prevent exfiltration of sensitive data.

Edit: typo.
How many wars did the US win (as in "achieved the political goals") since WWII?

Korean war: half won, half lost.

Vietnam war: lost.

Grenada invasion: sort of won.

Gulf war 1991: I'd say won, despite Saddam staying in power.

Gulf war II: I'd say lost, despite Saddam deposition.

Afghanistan: lost, despite the killing of bin Laden.

Syria: can't tell yet.

It's a pretty depressing tally.

With that, I'd say that the US was on the winning side of a number of wars before that: WWII, WWI, Mexican war, Spanish war.
There are certain abstractions that can cause real problems: XML-driven DI, bad ORMs, code generators, etc. But, in general, I agree: people are generally too unwilling to refactor aggressively.
> What is a good compromise for our international landing page in India?

> Translate to 8 Indian languages

That is not a compromise at all, that's a full solution
> I'm a big fan of Julia. It does live up to its speed claims. I've implemented the board game Go in Python, Rust, and Julia and Julia is definitely closer to Rust in speed. Same algorithms were used for all implementations.

"Closer to Rust than to Python" is a wide range. Almost any non-scripting language (e.g. Java, OCaml, Haskell, Dylan...) would qualify, and that's normally not enough to give them a reputation as "fast".
> Those responsible for what happened there received due process of law and were punished.

LOL The ONLY person that received ANY punishment was Calley, and he was sentenced to life only to serve three years of house arrest.

"were punished" is a joke.
Stainless steel rebar is quite real, and becoming more common for bridges. It's essential for concrete exposed to salt water, which includes bridged de-iced with sale. Order now.[1][2]

There's epoxy-coated rebar, but that's on the way out. Quebec has already banned it. One scratch, water gets in, and corrosion starts. Also, the epoxy can be damaged by UV, like when there's a stack of rebar out in the sun.

[1] https://www.outokumpu.com/en/products/long-products/rebar

[2] https://stainlessrebar.com/
A better solution is for Google to hire more people to help with moderation. It's just that Google doesn't want to spend more money, it wants to make more profit.
Are you asking if the vietnamese people are winning in the crazy scenario drzaiusapelord suggested where viet nam is a super power - i think the answer is an obvious yes. But that's an unrealistic scenario.

Would they have been better off if france agreed to decolonize instead of trying to hold on to their failing colonial empire with force (leading to everything that came to follow)? Maybe we'll never know.

But i don't think there's any particular reason to assume that if the south won they would be any better off. South Vietnam hardly seems like it was the most stable/well run of governments - they were into fixing elections and persacuting buddhists, etc. Hardly what i would call an ideal state.
Starlink: A Review and Some Hacks