skysight-inc/HackerNews huggingface dataset:
Mock things like database access, or better yet pass the database connection via an interface and create a test version of the database access so you can create a database-like thing for your tests (e.g. an in-memory database).

If you are depending on another component of the application (a lexer, a JSON class, a maths function, etc.) don't mock that because if that class breaks you want tests to fail instead of silently passing because the broken class/function was mocked.

If you are depending on thirdparty libraries, don't mock those unless you have to (i.e. if you cannot run the tests). This will help avoid unexpected bugs after upgrading libraries or if supporting different versions of a library.

If you are writing code for a complex infrastructure (e.g. an plugin for an IDE), try to use test-specific versions of enough of the infrastructure to get the rest functioning, and use the real versions of as much as you can. This will help pick up issues in your code when new versions of that infrastructure make changes -- you want your tests to fail in this case, as the real code would fail.

Understand why your tests are breaking and address that. Use @Ignore as a last resort. If APIs or behaviour has changed, update the code and tests to reflect that. If you are supporting different versions, create version-specific compatibility layers.
Whenever Boeing started being run by beancounters instead of engineers. Thats when it started going downhill.
Yes, it could overwrite any program, but (if I recall correctly) it hit OS file most of the time simply because they were always open. It was a very rare bug, because it had to combine both corruption of the VM to allow the write to happen, and a bug (e.g. a pointer error) that would write to the program's code page. The actual modification would usually be very small, and wouldn't change the file size.

And yes, it was a serious bug, that might have been responsible for why Windows seemed to have a "half life". Over a given period of time, each system had a chance of corrupting itself. Some systems would be fine for years, but many needed to be reinstalled after a ~year.
It would also be harder for her to build an audience and make money from it in the first place.
They aren't doomed offhandedly, plenty of original content streaming platforms make money. However they won't help with people getting crushed by YouTube; I can't just create an account and start uploading to their HBO/Netflix analog.
Article says "low-priced panel imports from China".
There is ~30% Govt. subsidy in costs for residential installations. Also, https://solarrooftop.gov.in/rooftop_calculator

Does anybody here know the percentage of panels actually produced in India and major solar cell(mono/poly) manufacturing(not assembly) plants in India?

Edit: (old data) https://en.wikipedia.org/wiki/List_of_photovoltaics_companie...
I'm guessing due to lower labor costs and permitting costs.
Linux, in fact, had its X Window System practically from the beginning, so your recollection is 100% false.

Most people could not use Linux because it did not run Windows programs, or anyway because they did not feel competent to install it, but it needed no more machine than W95. OS/2 needed no more machine either, and would run Windows programs more reliably than Windows could, but cost real money and also had to be installed.

NT was pretty crashy back then, too, and a huge resource hog besides, and many Windows programs didn't run on it either. Vista was an even bigger hog. 10 is hundreds of times bigger, but RAM and disk got cheap, so we don't often notice.
At $793/KW, a 10KW system means no electric bill after 3 years. If the lifetime of the system is 20 years, that's at least 15 years of free electricity.
I wish gocui had a simpler us-ascii based theme so I wouldn't have to fix utf-8 when connecting to remote in screen.
Or Evernot.
No, but if you say "fuck the church" while you're staying at the podium people will probably show you the door. Wikipedia is a private organisation and can handle disputes how they see fit. You don't have legal rights to wikipedia editing.
Packing for anything is perfect candidate for checklists. I even made one for going to the gym which which is something i do regularly but still very often manage to forget some mundane thing like shampoo, padlock, member card, socks, water bottle.
Hey cool. I mean basically everyone knew something else had to be involved. Thanks for the update.

I didn't know how to include the oxford comma in my comment, but briefly considered how :)
Lilly Ryan gave a great talk at linux.conf.au 2019 linking arsenic use in wallpapers to computer security: https://www.youtube.com/watch?v=egi8Lm5W3FY
I Cracked Your Password
Written by a loser
Introduction to Envoy proxy load balancing concepts
From the graph in the article it is pretty evident that the margins are very low compared to other countries. This is a case of the government doing something that makes sense for the growth of the country rather than letting privately run companies make large profits.
Even that’s not entirely fair. You’re not just missing out on salary, but opportunities for growth and advancement. And, depending on your field, you might also be unable to keep your skills honed.
It may be helpful to look into the Adverse Childhood Experience (ACE) test and the research around it. It helped me gain an objective perspective and overcome patterns of family dysfunction that impacted my psychology.
Spot on - in fact over time what we're seeing happen is the authors of the OpenID Connect standards submitting the parts as RFCs to the IETF. The OpenID Foundation is able to move a lot faster than the RFC process whilst coming with similar benefits of protection against patents etc. Obviously there's always speed vs quality tradeoffs, but given the number of interoperable OpenID implementations and the adoption into various openbanking systems (e.g. the UK OpenBanking standards) then it seems like (with the benefit of hindsight) the OpenID Foundation made some good choices.

From example, the request object in OpenID Connect (that can prevent authorization request parameters from tampering) is only just now coming out as an RFC https://tools.ietf.org/html/draft-ietf-oauth-jwsreq-19
Manager Tools is amazing: the single best source of practical guidance for managers that I know.
Typical New York Times, and typical for that kind of discussion.

In such discussions, the image is always of a mother resigning from an interesting and important academic job. Presumably it is mostly academics who discuss such things, and NYT readers are also mostly academics. So when they think of mothers and careers, they think of interesting academic jobs.

In reality, most women (and men) don't have such interesting jobs. The most common job for women is shop assistant, followed by nurse (or vice versa, don't remember for sure - numbers from Germany a couple of years ago). Now nurse might be reasonably interesting, but not irreplaceable like that lawyer. And arguably, you would be doing the same job as at home (changing diapers), only not with your children.

Sorry it annoys me that this women styles herself like some sort of hero, when other people are forced to make that choice out of financial necessity.

Obviously it is a valid choice to prioritize her job, like she did. The annoying part is the claim between the lines that she is somehow special and going against the societal pressure.
Well I was watching this video of Jordson Peterson yesterday.
https://youtu.be/44f3mxcsI50?t=2537

It has some great ideas and pretty much somesup every thing. Watch little bit longer as he goes from one subject to another and then come back to point.
> Renewable energy now generates a third of global power capacity.

I find this remarkable and uplifting, because if I ask myself whether I could live using only 1/3 of my current electricity consumption, my answer is that I would have to make sacrifices, but relatively painless ones.

And this is the baseline - renewable capacity is only going to grow.
And this isn't about "legal rights", it's about the internal process of Wikipedia that people are protesting.

But I see this is going to be a "it's a private organization, you mustn't critique it" thread.
As another atheist, that sounds (taken at face value) pretty good to me. Community is massively missing for many people and having a structure that provides that is very attractive.

Not disputing your points, just would be nice to have an equivalent without the religion and other negative side effects
That's QA, not the sort of testing we are talking about.
In case QA happens to find some bug like that, after the fix, we should include another test case with the formerly breaking one
That doesn’t really apply here. There was no rule before about temp bans prior to this. Of course it was in poor taste, but it should have not have resulted in temp banning since there were no prior rules in place.

In your situation what if I now had misspoke and when expecting a temp ban, somehow get perms banned due to new rules? Their was no due process and the wikimedia foundation is no better than an authoritarian government.
The temperature delta will be less since most of the earth is "cold" relative to human preference. We're one of the least cold tolerant species without artificial clothing. Pretty much evolved for the tropics
This human seems miserable.
Also a schism between those who benefit somewhat and those who don't.

For many countries this is also a domestic divide rather than the traditional nationalism soaked debate that most people or news orgs focus on.

Southern US stands to lose a lot more from the charts I've seen. Surprised it isn't raised a lot more by their representatives.
From the Reddit comments someone wrote:

"Can't have the evens, they aren't random. 1 and 9 are too close to the outside. 5 isn't random, it's right in the middle! 3 is too low. Leaving 7"

It does feel like the type of biased logic that would run through your mind in the moment — interesting to think, if we have such 'fallacies' on simple stuff, what level of blindspots do we have on more complex split-second decisions.
Headline aside, this is really well reported.

Kudos to the journalist and buzzfeed for putting in an effort to understand the relative dynamics and for linking directly to the underlying discussions.

Wikipedia is one of the few very large venues online that I feel really had moderation done right (HN isn't in the running due to not being very large. :))-- sites like reddit, twitter, facebook just get capricious bans handed out essentially at random--- on those sites earnest and serious harassment usually goes unaddressed while petty staff qualms or favors for connected parties are about the only thing that reliably gets addressed. (And I am speaking directly from experience)

Having a community that governs itself is really the only thing with a chance of scaling, but for that to work the community has to also own itself: Few will invest the labor required to maintain effective self-governance if they feel they are facing capricious overrides, creating an environment where they're working for someone else (without compensation) rather than for themselves.

For a long time Wikipedia was a shining example here, but this incident suggests to me that it may not be anymore.
> it's not totally infeasible that someone else could put in a competing water main

In reality it is entirely unfeasible though. Because as soon as the competition would start digging the incumbent simply lowers prices. The newcomer would need crazy and very rich investors to enter the market - the incumbent has a nice cache flow, which they can and do use to force you out. Unless you are Uber and investors are willing to pay for you to become the monopoly your suggestion won't work. Especially since if the goal simply was competition the margins would not be nearly good enough for such a kind of investment, which only makes sense if you yourself, the newcomer, strife to replace the old monopoly with yours.
You write "something like 70% of all tax revenues that are raised".

Isn't that another way of saying there's extreme economic inequality?

I mean, if 10 people controlled 99% of the wealth in the US, and the rest were below the poverty line and didn't need to pay income taxes, then those 10 people would pay 100% of all income taxes.

(I say "income taxes" because even the poorest pay sales taxes and other taxes; sales taxes are at the state level or lower.)

But, even though those 10 would pay 99% of the taxes, that doesn't mean its unfair.

So, just giving the numbers you gave doesn't really say much about the situation, does it?

You write "if the government were to outright confiscate the wealth of the 1 percenters, that would fund the government for just a few weeks".

That's .. not right, is it? I mean, the 10 richest Americans, as listed at https://www.worldstrendingtopmost.com/2017-2018-2019-2020/ce..., have a net wealth of $562.9 billion.

"The U.S. government's total revenue is estimated to be $3.643 trillion for Fiscal Year 2020." says https://www.thebalance.com/current-u-s-federal-government-ta... .

So, those 10 alone would pay for 2 months of the federal government.

Table 3 of https://www.nber.org/papers/w24085.pdf says there are about 635,000 households worth at least $10 million. If I do the math right, that's enough to fund the government for 2 years.
Only when someone else is subsiding the grid, which under net metering acts as a battery for free.

That's not sustainable, especially as the price of solar drops making it a no brainier.

The true cost of solar includes enough batteries to cut the grid connection, or buying and selling energy at market rates, which will involve generating many more kWhs than you consume.

That said, we desperately need a carbon tax which would help swing the pendulum back even without net metering.
It's a breaking of process. Why couldn't ArbCom have handled this? Wrecking a good process to get handle one particular thing is trading away long-term stability for that one thing. Bad trade.
I'm sure the distribution would change, but not sure it would be closer to uniform. It's now a completely different problem: choose a number most resistant to guessing. For example, if the participant hypothesises that your guess will be a "random" number chosen by you, she should always pick 10.
This won't get anywhere, I bet money on this.
Even knowledge of the existence of such a system could be used to bully people. If the victim knows that such a system is in place, then the bully can claim to possess imagery from the system. The system's public existence bolsters the plausibility of the claim. Fear of the system leaking becomes a source of terror.
From: https://tech.slashdot.org/comments.pl?sid=155912&cid=1306981...

Good luck with that son, but I'm sorry to tell you that Microsft did NOT help IBM code OS/2 so it would run Windows. As a matter of fact, Microsoft did far more to STOP OS/2 from running Windows and Windows applications. When Microsoft was releasing betas of Chicago( Win95 ), IBM had Chicago apps running under OS/2. When Microsoft found out, they changed the OS so that a very small portion of the Win32 resources loaded up at the 1GB memory address. This was so OS/2 could not run ANY Chicago applications or the OS. It worked because OS/2 supported virtual memory up to 512MB.

So you got that WAY WRONG. The bit about Microsoft licensing issues preventing opensourcing OS/2 is correct.

LoB
It may be worth mentioning that going to the ergodox layout requires a not insignificant learning curve. I can type at a fast speed (around 144 WPM before losing accuracy) on a standard board, but trying to pick up the new layout was really painful - I eventually ended up selling mine after a month of trying to adapt.

Part of this is my weird typing style (I occasionally cross fingers over to the other side of the board to type certain words at certain times - you can't do this on a split board), and part of this are function keys and enter being placed right around the spacebar area, in a zone where you normally can just depress your thumb and not have to think about the positioning too much.
And this is with old industries dragging their feet for so long. Imagine how far we could've been if lobbying wasn't so bad and the US had lead the way with renewable energy a decade a ago. We'd be way past 50%, probably closer to 2/3 by now.
What Is a Stream?
This was the first default in the interbank market so it broke the implicit credit guarantee in the interbank market. So this is a reform that is long overdue but they have to start from somewhere.
EWS is a common party theme in swinger clubs at least.
Perhaps it was related to cost of landline calls back then?
> Eh? There already are decentralized social networks available to use. This doesn’t add up.

I agree. They've always existed in one form or the other, it's just that nobody gave a fuck. Mastodon kinda changed that by attracting about half a million monthly users. A tiny, tiny number for a social network, but a gigantic number for a decentralized social network.

This website is good for the overview of the "fediverse" (collection of social media services talking together via open protocols): https://the-federation.info/

Hell, name a social network, and I can name at least one attempt at decentralizing it: Twitter (Mastodon, Pleroma), Instagram (PixelFed, Anfora), reddit (Lemmy), YouTube (PeerTube), SoundCloud (Funkwhale), Medium (Write.as) etc. An obvious one that I haven't listed is Facebook, but that thing has so many features that a viable alternative heavily depends on which Facebook features you actually use.

I see nothing wrong with this strike, but I don't see how spreading awareness helps if you don't point to the most obvious solution available.
The Shining also has many of these https://www.youtube.com/watch?v=_u4A5tJ2j3o
I've already said it but once again: I can't access this website at all on mobile: I first land on an RGPD warning except that I can't refuse cookies and tracking directly from it so I need to follow a link, which doesn't have any settings either but un bunch of other links, and it continues. After the tenth link followed I just gave up. Fuck you Techcrunch, fuck you Oath, fuck you Verizon Media, fuck you Yahoo Consent.
From: https://tech.slashdot.org/comments.pl?sid=155912&cid=1306964...

We wrote a large body of building automation software subsystems in OS/2. There was no easy way to provide the same functionality in Windows, so it was never cost effective to port it.

To this day, we keep the central routing server and all the subsystems in OS/2 boxes that are treated like embedded control systems, and have written Windows 2K-based interface code that proxies everything as BACnet devices.

OS/2 was a good combination of modern OS services (named pipes, threads, etc.) and easy development. Given how simple it was to access serial ports, we could easily interface via DigiBoard multiplexers and such, and could write a new system driver (including reverse engineering time) in less than six months.

I'm the primary contact for IBM in our office, so they've been flooding me with information about porting these apps to Linux, which sadly, may never be cost effective.

I am very sorry to see this event, even though I fully understand and appreciate all the factors that led to OS/2's demise. It's like watching a very dependable ship being sent to the bottom of the ocean because it's too expensive to keep it afloat.

Oh well...

Tim
It's a terrible idea. Go to csscareersection on Reddit and search about the company. You will find plenty of feedback on that Company.
To my knowledge my chess club has no formal rules about insults either, but I know that if I started to say "fuck you" to the owner, he'd throw me out.

If the person in question needs formal rules to not behave anti-social, maybe staying a year off wikipedia is a good opportunity to figure that out.

Seriously we're dealing with adults here, not children. Which actually goes to the root of the problem, the type of personality that spends so much time on editing the website seems to have a problem with very basic civility.
Take it a step farther and the photon isn't even truly nessicary. The recoil experience when the photon was emitted, and the push felt when it is absorbed should match exactly, and essentially correspond to a single, equal, collision event to the right observer.
This is great news! India is extremely energy deficient and imports a large quantity of oil. Reducing petroleum dependency can help reduce poverty in India as more production can be consumed domestically and not sent abroad.
It’s actually just a humblebrag
Looks like the author showed up in the comments here and added some more details.
Neither of you need to; the article contains a link to https://bitbucket.org/openid/connect/src/default/How-Sign-in... where a bunch of experts have analysed the current (beta) signin with Apple against the spec. In particular it's "signing with apple on the web" that they've analysed, which is open for anyone to analyze using the developer tools in a browser etc.

Apple are actually following the OpenID standard, that's why the list is differences is concise and to the point. Several of the pieces that are missing/different are items that were added to OpenID to prevent attacks that have been used against pure OAuth 2.

Many of the potential attacks relate to fooling the third party sites as to what happened, so it is difficult/impossible to mitigate them with magic on Apple's side.

(disclaimer: I'd listed as a contributor on above doc. I'm writing here in a purely personal capacity.)
Congratulations on your wealthy family and very sorry for your champagne problems...
What indications are there of toxic behavior? Rude, as in a lack of kindness, is not necessarily an indicator of toxic behavior. Toxic implies harm. I completely understand that some people have big tears and when water spout engages at maximum velocity the world has temporarily ended in a dark pit of epic oblivion, but in the real world disagreements are a natural thing that can result in beneficial outcomes.
Exercise may have different effects in the morning and evening
As a sidenote, most surveillance technology is unproven, at least in the sense — that there is no good scientific proof for increased security by using it.

I believe most surveillance tecchnology is better suited for ass covering/acountability than for any real increase of security and safety.

This is the difference between stopping something from happening vs figuring out afterwards what caused it.
I created Timelines - a social network that allows people to own their data.

Timelines stores your data in a specific folder on your Google Drive which is sandboxed from all your other data on Google drive.

Check it out!

https://www.timelines.co
I think you're oversimplifying people.

Lots of people want to lose weight while also loving the taste of delicious food that makes them gain weight. Same with smoking, drinking, recycling, etc.

It really comes down to the cost on people to do something.

If your building didn't provide a recycling bin, you probably wouldn't take the trouble to take all your recycling to a recycling facility.

If none of your friends used social media, chances are you wouldn't either.
I guess you don't remember when it came out that a Windows 95/98/Me machine, running nothing at all, would crash spontaneously after, what? 39? days, when a time counter rolled over. No one had noticed, in years prior, because: No one had ever got one to run that long.

Boeing 787s need to be fully power-cycled every few months, for identically the same reason, although its time counter ticks less frequently. They would fall out of the sky, otherwise. It is just lucky somebody noticed before it happened, because there has otherwise been no need to reboot it.
I clear my YouTube search and watch history about once a week. Partly because of privacy, but also because a single binge of, say, metal casting videos does not mean I want them recommend ever again in the future.