skysight-inc/HackerNews huggingface dataset:
Got it.

One problem I've run into, is that these things tend to proliferate into a dozen or so global things that people need to remember to deal with (clean up and/or configure) in the test environment.

Since my brain doesn't do memory well, I start getting intermittent test failures from interacting tests that can be painful to debug.

Another problem is that they tend to make the test environment really slow because the fix is often to add a pre or post handler to every single test globally.

Also, the feature might be designed for environment A, but later need to run in environment B. Global state patterns tend to blow up when that happens.

The DB::SetupMock() thing tends to work okay for direct consumers, it's bad when the transitive dependencies need to start doing that for 6-10 different services.

FWIW, I commented elsewhere with an alternative structure that's been working well for me with a different set of trade-offs.

Also FWIW, I've been fighting against global state for so many years, it makes me really sad to see it getting promoted again.

Best of intentions here, not trying to be critical, just trying to share some hardwon experience.
> That is a very understated way to describe one of the single biggest upheavals in life and culture in the history of Western civilisation.

Come now. Black Death? The Depression? Two World Wars? And your main complaint is that your kids are having too much screen time?

I mean, don't get me wrong: in-person interaction is critical, and having it replaced by screen time is certainly detrimental. But not nearly as detrimental as having to sleep in bomb shelters every night, or killing 50% of the population.
Yup, it's certain traits that lead people to go for certain degrees and we use the degree as a quick and fair signal for those traits. If you have a problem with that signal, try develop another one which is at least as quick and fair of a representation of those traits as a degree is.

Also if companies gain a substantial advantage using other signals outside of degrees, you can be guaranteed that their competitors in their industry will follow. In media and marketing, degrees have long been abandoned for other signals such as portfolios and social media engagement
Hmmm. What are the implications from the responsible disclosure point of view?

Some of these results look exploitable.
So you are right that a debugger is very useful for finding bugs.

But not all cooking pans are the same. The non-stick pan might not stick, but does it heat as evenly? Does it control the heat with the same stability? i.e. Gordon might have been being a dick.
Romanian here and not Polish, but Ukraine does hold (former Romanian) territory that it was handed to it by the Soviets, and some part of it by Stalin himself, Ukraine seems to have no qualms about that part of Russian rule.

A conversation can be had about Northern Bukovina, as the Habsburgs had stolen it first (in the 1770s) before it temporarily came back under Romanian rule in 1918, but the county of Herța[2] had been under Romanian rule ever since the first Romanian principalities were formed (in the late 1300s in the case of the Principality of Moldova). This latter piece of land was given directly to Ukraine by Stalin.

[1] https://en.wikipedia.org/wiki/Bukovina#Division_of_Bukovina

[2] https://ro.wikipedia.org/wiki/Her%C8%9Ba
which is true but hard to achieve when the vast majority of our transport is done using them

Many countries have passed laws to make selling new fossil fuel powered cars illegal within the next couple of decades. You might argue that's too slow, or even not possible, but the intent to reduce reliance on ICE transport and move to electric vehicles is definitely there.
I personally consider curl to be a CLI web browser.
Most fossil fuel use is outside of transportation, and within transportation cars and trains are a fairly easy transition. Electrified highways solve the issue for Trucks.

Boats and aircraft are more difficult, but there are a range of viable options for each. For example the US uses a little over 18 billion gallons of aviation fuel a year and produces 17 billion gallons of ethanol per year. It’s not a drop in replacement, but it is much easier than hydrogen or batteries.
Debunking the idea that viruses always evolve to become less virulent
The reason India gets a bad rep because it has a lot of people whose best chance out of poverty is to try and break into tech to make money. So the noise is higher and there is no doubt about it. But thats just because of the population and choices they have. You said US has bad ones but not that many. That is again because if you look at Per capita, there aren't that many devs in US especially people trying to get into tech. Well, that is kinda changing. Nowadays, all these bootcamps popping up are milking money in the US and I am interviewing plenty of people who are bootcampers and can't write a single line of code correctly. So there is that.
DRM-free was absolutely Humble Bundle's initial thing, along with pay-what-you want and a portion going to charity. Just look at the news coverage from back then: https://arstechnica.com/gaming/2010/12/humble-bundle-2-is-li...
The biggest problem is that politicians use and legitimize social networks.
The fact that fb/google etc. have detailed profiles on all world leaders and none of them care because in return they get to farm likes and get their tweets featured in media speaks volumes on how much governments really care about national security or even general privacy.
> I'd rather have everyone fed, clothed, housed and medically taken care of than having a low chance of "winning"

Where do you believe the food, clothing, housing, and medical care/technology will come from in this hypothetical?
A Turkish Farmer Tests Out VR Goggles on Cows to Get More Milk
My advice, don’t worry about it.
@godelski I'm not associated with this project...but on the homepage if you click on any of the icons (e.g. Sheets, Rich Text, Kanban, etc.) immediately to the right of the main logo, it should bring you directly into each of the relevant applications...it allowed me to demo the apps quite nicely.
Ask HN: what does this mean for non-healthcare workers for federal contractors?
Pantone color libraries are leaving the Adobe apps
In the past at least, PayPal has also been known for simply taking funds from your linked banked account.

So maybe it's better to not link a bank account at all, which means leaving funds in your PayPal account until you can spend them (since you have no way of withdrawing).
The difference from your balls is that different "colors" have real-world, serious consequences. When you choose to remove harmless "balls" but not to remove actively harmful "balls", you effectively endorse the latter ones. This is not just a theoretical thing. Due to this choice, millions and millions of tons of CO2 and a lot of radiation were released into the environment and billions of euro put into the pockets of the coal lobby.

> like nuclear plants, whose main business model is dumping external costs on the public.

Actually, this is even more true for the coal. According to available statistics, coal results in more deaths, more CO2, more damage. I admit that I don't know how the insurance works. Where do all those costs for nuclear insurance come from, while the coal insurance is cheap and more damaging?
Of course, if you do different experiments, you get different outcomes - no-one is suggesting otherwise.

> Nothing more mysterious going on with the EM field.

That's precisely the point here - it all works out exactly in accordance with Maxwell's laws, via transmission line theory - see also my other reply (https://news.ycombinator.com/item?id=29934233)
I use vim but I don't think it's a superpower and it's rare for me to need its advanced features. I doubt vim is giving me any edge over $other_editor, I just happen to find it ergonomic and a good fit for me. Maybe I don't use it well enough?

Likewise, I don't feel debuggers are a superpower. It's rare for them to "save the day". It's just a tool that I sometimes go for. The last time I remember using a debugger was a few months ago to figure out a memory leak. hexdump would've worked just as well.
I don't know about things where you live, but where I am (UK, and more specifically Wales, where we have taken restrictions to an absurd degree), most major Covid restrictions have been justified as a necessary response to modelled data.

The OP, and indeed the article linked, is on the topic of modelling and statistics, so that is the subject of discussion.
>Make no mistake who the real offender is.

I don't have any illusions about the cyberattack, my (mild) issue is specifically with Reuters reporting, or their upstream source. Who selectively filtered out the bit they deemed unimportant or harmful or whatever there was on their mind. Reuters' release will be reposted by virtually every English-speaking media unchanged, and they will have no way, time, or desire to verify it, neither will their readers.

Makes me wonder what else they are omitting for my convenience in unrelated topics I don't happen to know anything about.
I love it! It's anachronistic but I guess the vaporwave-art deco-retro motif always was. They should stream this on a wall at Defcon instead of the Wall of Sheep
That's KinderJoy
Many of them already look exploited. You can try informing the owners, but many of the pwned devices are in consumer ISP subnets so I don't think you'll get far. Some of them might be honeypot as well.

It's just a visual thing for Shodan hosts, after all. I don't think the service is finding any new devices, it's just showing random interesting devices from the Shodan database.
We'll have to see how that pans out - I don't weigh intent very strongly when it comes to averting climate disaster.
“This post is also available as a Twitter Thread” struck me as nonsensical as a restaurant saying “This meal is also available as a taxi ride”.
I'd be very interested if your post contains an OpenPGP-CA review. I'm more familiar with "traditional" ways and that project looked very interesting to me.
> I think this is called "green hydrogen"

I'm aware of the term, 'green hydrogen', which is in contrast to 'blue hydrogen' (or as I prefer to call it 'dirty hydrogen') which is a product of methane gas extraction and allows some of that methane to escape.

> but could be used for heating or for hydrogen cars.

I'm under the impression that hydrogen ICE vehicles at scale is impractical due to lack of infrastructure, safety issues etc, at least compared to batteries
Pan-African Payment System Launched – How It Works
TY - I come here to get the real scoop on these "too good to be true" stories.
I've come to the conclusion that people only still talk about Project Cybersyn today because it was visually arresting. There's no clear lineage to modern data systems, but it's cool in certain circles for various reasons including the funky 1970s data seats.
Military veterans of some theater of war are desired exactly because they will perform well in the next theater of war.

I don't think i can fully appreciate how mind-bogglingly huge a company like Google is, so it might well be the case that tacit knowledge, skills and relations acquired in one team don't transfer meaningfully to another. I would have to see it to be convinced however, even more so to make me believe this kind of transfer was the norm.
I humbly suggest 'pie-full' because mmmmmmm.
Mozilla Foundation is a 501(c)(3) nonprofit organization, meaning that (in the U.S.) donations are tax deductible. One of the requirements of 501(c)(3) is to avoid promoting any political candidate or influence legislation[1].

It appears that Mitchell Baker is walking on thin ice, by attacking Donald Trump and in general calling for censorship. There was actually a time when I supported Mozilla enthusiastically, as an innovative open source alternative to the (then) Microsoft hegemony.

Today I avoid Mozilla like the plague; I feel they have betrayed their libertarian roots.

1. https://www.irs.gov/charities-non-profits/charitable-organiz...
Renewables are massively cheaper than anything else on the market today, and this is one of the reasons I am definitely in favor of them. One thing to consider though is that the capacity factor (basically how much of GWh you actually produce from your available capacity) of renewables is less than coal/nuclear plants, so in that case 1GW of solar and 1GW of nuclear is not the same. But even with this taken into account, renewables are the cheapest and there is virtually no chance for this to change in the future.
> If you already knew which if statement to look at, it's irrelevant whether you use a debugger or printf().

That's exactly when it matters, when you don't know where the problem is. You have a big ball of spaghetti business logic and a customer object that is passing through it. At some point the customers total balance is screwed up. You can:

- Read a lot of code and guess where that happens and set a printf or two, if you find it great, if not read more and set more printf's

- Set a watcher on the customers total, and review the logic each place it is modified and ensure it is correct before moving on

The first way you have to build the project over and over again, and you might miss something. The second way guarantees you find the problem eventually, and you only end up building a few times. If we have a project with a 5 minute build time, and a really thorny problem this can be a massive difference.

That isn't to mention the value of doing this in concert with the creation of a unit test that recreates the bug to further reduce the bugfix feedback loop.
You can’t really start with a coding language. Not knowing how to type is a blocker and discourages the kid… with formatting errors and compile errors that will happen. And the slowness of it all to get anything done… Learned this by experience with my kid.

Get the physical book - “25 Scratch 3 Games for Kids: A Playful Guide to Coding”. Graphical way to program.
My eight year old was making games in minutes. And was ‘getting’ it.

Then, when a little older. Get a typing tutor app. Start them on python.

i.e. https://www.amazon.com/dp/1593279906
Does "compromised" actually mean pwn'd or just "i ping'd and it responded"?

Also, what should I be looking for in my own logs to see who is scanning me and using what? 99% its stuff I'm not running (wordpress, mysql).
That's a German brand of sweets LOL
> Heck, look where Ebola is currently wreaking havoc? It isn’t in highly secular Sweden. Or highly secular Estonia. No — it is in various African nations where God is heavily worshipped, church is heavily attended, and prayer is heavily engaged in.

That's shite. I can't follow an argument that would be willing to make a senseless statement. I'm over my limit for accepting ignorance (i.e., people and publications that don't understand the difference between correlation and causation.)
Having full control means that you could also partially disable DRM support. Say, perhaps, by enabling the part that determines an encryption key and decrypts the video, but disabling the part that checks whether the video is being sent to a compliant display rather than to an unencrypted file.

You cannot have effective DRM without taking away full control from the user.
It always struck me as ironic that one of history's greatest fraudsters, who made off with billions in other people's money, had the last name "Madoff."
>This wasnt an organised militia seeking to overthrow the US oligarchy it was opportunist idiots with bad policing

It was both. Some of the groups involved were clearly taking it more seriously than others, even if none of them were really up to the task. Intent still matters.

And the modern interpretation of the Second Amendment would certainly consider one or more of them well-organized militias, once they're at the point of discussing tactics on Discord and color-coordinating their wardrobes.
>Personally I think a video with drink acid in the title seems a little more dangerous

like citric acid? you cant cure stupid by censoring thing they dont understand
I'm not familiar with the literature, but I did read the paper. They looked at military personnel who have had samples taken and saved, and were able to 'go back in time' to look their EBV status at enrolment and later on. They found that either having previously had EBV or acquiring EBV after enrolment increased your risk of having MS.

However, to put things in context, more than 90% of the population will be exposed to EBV, so I'm not 100% sure how to interpret this. It might be better to think of the headline as 'EBV seronegative people are protected from MS', given people who are 'seronegative' (their immune system doesn't show any evidence of them fighting the disease) are the minority population here.

The paper talks about the possibility of a confounding factor and reverse-causation, though I think the focus is too much on the EBV seropositive population and it would be interesting to think about what is unusual about the EBV seronegatives.
The problem comes when a majority of us agree that X is not fit for purpose as it is, but we still get people saying "X is X, why are we talking about Y and Z?"
That was a narrow rejection based on incomplete evidence, as explained in the article. They were relying only on old U.S. data and still believed that the original 2 shots were adequate protection. This was in question at the time and subsequently there’s been a clear consensus that a booster is necessary at least until the original short timing is fixed, and, of course, that was before Omicron greatly increased the risk of exposure.
I agree there's an old-school Apple feel to it. The difference may be that System76 is concerned with user freedom: from coreboot to COSMOS they intend to produce and support FLOSS.

I think if Apple had embraced free software early in its history, it could have known a much brighter future (err, present?). Hell, even HyperCard may still be alive and kicking.
There's no mention of sound or noise in either one of those.
> Computer says no. A human says maybe.

A human says no, but with some social engineering you can often convince it to change its mind. A computer also says no, but with some technical engineering you can often convince it to change its mind.
>> Otherwise there would be sabotage left and right

Sabotage attempts in modern Russia are monitored and persecuted. Non-government orgs and media are declared to be "foreign actors". The opposition is effectively destroyed. Opposition leaders are convicted(unless they had a chance to flee). "Little people" do not necessarily support it, but they afraid for their freedom, their health and their life. You can't blame them for that
That is exactly my point. The way you can eliminate potential injection attacks is by not having libraries which accepts String and treat it as a sanitized input. But once you do that then there is no real reason to be wary of format strings. You can use format strings to build strings, but anything that needs a string that is sanitized against some potential injection attack only accepts a type that represents that invariant.
Wheredjokoat.com – Monitor Novak's status at a glance
Don't know what to think of it, because in .de some supermarkets stock them, but you have to ask for them at the cashier. There they pick the amount you asked for out of a box, where every single one is in hermetically sealed bag. Because of theft, supposedly. Some did it always like this, some only in times of "high demand", like after wearing them has become mandatory in places. Even gas stations stock them here, though more expensive because gas station.

Prices are anything between 65ct and 1.10€ in supermarkets, and upwards of 1.70€ in gas stations. All various chinese brands, no 3M or such. Though they have some certification prints/seals/QR-codes on the bag and sometimes on a paper leaflet in the bag.

edit: we call them FFP2 here, btw.
Norway is a huge energy exporter, but regularly imports because of reduced hydro generating capacity.

I have recently come to the conclusion that hydro is a very good complement to wind because the hydro is dispatchable when the wind doesn't blow. As long as the average wind and hydro together exceed needed capacity, things should be good.

As I understand it, this is what Norway is doing. Importing wind from Germany when there is excess and exporting hydro when there is a shortage.
Maybe there's some weird business logic, not necessarily well-founded, driven by that launch that makes them think it's a bad idea to support it.
Spotify, at least on Windows uses something other than Electron as far as I can tell.
I worked for Facebook and Amazon and used a debugger at both places regularly, on several layers of the stack.
every one says this, yet I've had on multiple occasions debug terrible implementations of lists/stacks. someone's lying
Yes, according to LinkedIn
I've canceled my Humble Monthly a while ago. It's just another online game store at this point, there's nothing of the original spirit left. The amount they give to charity is tiny these days, and there haven't been any games I'm interested in in a long time. I'll buy at GOG tyvm.
A state run police force I am forced to pay for that has qualified immunity sounds a lot more dystopian to me than a private security firm a company hires to protect its business infrastructure.
You are absolutely correct. This is true. There are comparatively few people who work to provide food and shelter.

That said, when I look around me I see massive complexity to accomplish the seeming of a magic porridge pot surplus. I think it may be possible to understate what goes in to producing these things. The food production system requires a whole series of industrialized inputs to work at this level of labor efficiency, so we need to keep those and supporting systems. Food production systems also need food distribution systems, which means ways to harvest, process, package, store, and transport food. This requires its own logistical chains and their supporting systems.

Now we're up to including a bunch of heavy industry, some mining, steelmaking, a cross-continental rail system, international shipping, and last mile logistics. We haven't even gone into how much of this is specialized labor requiring significant training - a lot of it - and what it would take to adjust the amount of work per person involved or spread it over more people.

We haven't looked at housing, its supply chain(s), the educational systems required to train specialists, health care, or administrative systems.

I am in awe of the complexity that goes into making the magic porridge pot work.
That’s an interesting logical leap.
In previous Rust versions, you can't print {0} by printing `{x}`. Adding braces around variables turns them into named variables. For example:

pub fn main() {
let y = 4;
println!("{x}", x=y);
}

To print '{x}', you need to write:

pub fn main() {
let x = 4; // unused
println!("{{x}}");
}
Engineering skill is orthogonal to willingness to put oneself through meaningless bullshit to get a job.
You don’t need to be an owner management in welding (though that is definitely the better path), but you have to be great welder and you have to be willing to work long and hard (most people I know wouldn’t make it through a shift working on a refinery turnaround in PPE on the gulf coast in September).