skysight-inc/HackerNews huggingface dataset:
Give it up. Mocks are mostly useless.

If you want testable code, the first step is to separate computations from effects. Most of your program should be immutable. Ideally you'd have a mostly functional core, used by an imperative shell.

Now to test a function, you just give it inputs, and check the outputs. Simple as that.

Oh you're worried that your function might use some other function, and you still want to test it in isolation? I said give it up. Instead, test that other function first, and when you're confident it's bug free (at least for the relevant use cases), then test your first function.

And in the rare cases where you still need to inject dependencies, remember that most languages support some form of currying.
My guess is that all the battery is used and the extra capacity allows for a "full" charge without really getting full. It could also let the range stay at the original level for a lot longer as the battery deteriorates. I would hope so anyway.
Adding Sensors to Every Ship Entering the Arctic Could Help Map the Uncharted Se
For what its worth, you are describing Carlins newer specials. His career spanned over 40 years. And yeah look at the shift in tone just from the names of his HBO specials

1977 On Location: George Carlin at USC

1978 George Carlin: Again!

1982 Carlin at Carnegie

1984 Carlin on Campus

1986 Playin' with Your Head

1988 What Am I Doing in New Jersey?

1990 Doin' It Again

1992 Jammin' in New York

1996 Back in Town

-------------------------

1999 You Are All Diseased

2001 Complaints and Grievances

2005 Life Is Worth Losing

2008 It's Bad for Ya

If you are interested, check out his older stuff like Carlin on Campus. "A Place for My Stuff" [1] for example.

[1] https://www.youtube.com/watch?v=MvgN5gCuLac
Seattle Startup Vets Takes on Google with Helm, a New $499 Personal Email Server
Honestly the "solutions" portion of this article was fairly weak to me. Or at least they were thing that have been fought over before and need to be won still. Perhaps also start looking at solutions constructed differently then the ones on already hard-fought political paths.

One example: a Social Wealth Fund distributing a universal dividend

https://www.peoplespolicyproject.org/projects/social-wealth-...

One thing I don't really like about that specific proposal is that it proposes a single federal management agency of the fund. I think politically and risk-distribution wise it would work out better if the fund were distributed in management. So split the single large fund into a single federal collection, and its management divided into state or regional subfunds so that state residents can both watch and be involved in their respective state's management.
"...dealing with genuinely random phenomena is rare. More common is that our knowledge is limited."

Quantum mechanics is the best thing we have to an exactly correct physical theory, and it is tied completely up with probability. So probability in the form of "genuinely random" is very fundamental.

As you go up from that level, our knowledge is limited at every turn, so it's hard to separate the one from the other ("genuinely random" vs. limited knowledge).

For example, you may have a large-scale physical system governed by differential equations, but the boundary conditions are not exactly known or knowable, or the governing equations are not closed (i.e., they depend on other things outside the system).
Are you using USG or an edgerouter? I've had trouble with broadcast based access for printer and Chromecast Discovery. Curious as to how you've resolved that issue.
Tipping is the best way to achieve the desire outcome of hospitality workers being adequately paid until there's a plan to address the first-mover issue I raised. I also want a frictionless consumer experience but I recognize that there are competing incentives between corporate actors which obstruct optimization.
Who decides what is an OZ or not? I honestly would be surprised if the person(s) who gets to decide what is or isn't an OZ now and in the future hasn't already been bribed by an interested investor.
Google admits censored China search project
Google Maps Adds EV Charging Station Info
Former Top Waymo Engineer Altered Code to Go on 'Forbidden Routes', Report Says
New York Attorney General Expands Inquiry into Net Neutrality Comments
I wish we can design the web better. Maybe a human readable breadcrumb instead of reply?id=18250367&goto=item%3Fid%3D18249755%2318250367
Driverless Car Hype Gives Way to E-Scooter Mania Among Technorati
I would be surprised if user complaints were the motivation for syspatch. More likely, the author built something he found useful, and contributed it to the project.

Most of the time on the openbsd email list, when a "user" suggests a feature or asks for a change to something, the reply is something along the lines of "sounds great, where is your patch?"
There are disposables but they are pretty discouraged due to environmental impact. I don't see them getting much traction.
It's cheaper to cause mischief than to maintain dominance. If we wanted to destabilize Chechnya, for example, we could do so for an infinitesimal fraction of the current US military budget.
Beyond Psilocybin: Mushrooms Have Lots of Cool Compounds Scientists Should Study
That sounds very interesting. Did you open source any parts of your code, write any blog posts about it or give any public talks about it? I would love to read/watch whatever you have available to the public :)
Do you have any more info on the “buying failing businesses” strategy?

A
I agree. Thanks for bringing this up – it's definitely something we think about.
Jurisdictions, Sovereignity, War-Budgets and Public-Debts
Someone Used a Deep Learning AI to Perfectly Insert Harrison Ford into “Solo: A
I am wondering why Pioneer Square, one of the hottest locations in Seattle, has been classified as an OZ.

Aside from the crippling poverty outside the doorsteps of all the tech company offices that is. ...
I needed those paragraphs about YouTube and Twitch, thank you
Palm Is Back with a Mini Companion Android Phone That's Exclusive to Verizon
Colm MacCárthaigh on how AWS prevents libssh-style problems
Does anyone think a Facebook set top box with a streaming camera is a good thing
Major Facebook Investors Want Mark Zuckerberg Out as Chairman
Επανέναρξη με τα ματς της Παρασκευής
Chrome 70 Won't Ship with a Patch for Autoplay-Blocking Web Audio API Which Brok
Do you think all businesses should be vertically integrated?
I feel sure you can figure this out if you think really hard.
Why Politicians Don’t Always Listen to Political Scientists
Deja-XNU
Will dancing robot dogs keep dancing or think of something else?
NASA Astronaut Details Fall to Earth After Failed Soyuz Launch
National Geographic Picture Atlas of Our Universe (1980). I loved that book as a kid!
>I think reading Lazarus Long as a simple wish-fulfillment projection of the author is overtly simplistic.

I agree. I think Heinlein just really tried to write from the point of view of the character. When Lazarus Long was the pov character, he seemed super human.

But when seen from the pov of other characters, his negative traits were much more apparent.
i think they already have chat, as being shown on the app store pages (https://play.google.com/store/apps/details?id=app.coffeechat , https://itunes.apple.com/de/app/coffee-chat-app/id1416814458...)
Researcher Finds Simple Way of Backdooring Windows PCs and Nobody Notices for Te
The biggest pandemic risk? Viral misinformation
My thoughts on "good" vs "not very good":

I live in Saint George (very far Southern Utah). It's beautiful, the weather is great (if you like hot and dry), and Washington County is very small compared to Utah County and surrounding areas. Traffic is becoming something of a problem and the area is going to be under constant road construction for the next 20 years if growth continues.

There are very few software companies in the area: PrinterLogic, BusyBusy, Mango Voice, and perhaps a few others. If you do move to the area, make sure you have plenty of remote opportunities or are willing to commute to Las Vegas daily (about 90-ish minutes one way).
In this case, they don't leave it on the table, they're wireless. They bring it to you at the end. It's not the Chilis experience.
I think if you are in china you probably can buy all the parts you want for cheap. It is just that these parts aren't in Europe/US. But I think the main point isn't manufacturers making repairing expensive, it is them making buying new stuff so cheap. It's just not worth the time and hassle to repair most devices. Buy the cheapest device you can find, if it breaks, replace it. Still cheaper than buying the high end, expensive one.
Doesn't sound like full spectrum light. I'd live to see the CRI on those things.
Remote South Atlantic Islands Are Flooded with Plastic
ICE has a history of horrible treatment of detainees, it abuses its authority and I find it strange that small government conservatives love it the most.
Thank you Caroll Spinney for helping teach generations how to be compassionate, patient and respectful of your neighbors. You brought to life custumes and characters that will forever define Americana
U.S. Job Openings Hit Record High of 7.14M
Not only that, but this poor person has to use capital gains for this ...
I'm just gonna put it here because I can:
https://www.youtube.com/watch?v=_ul7X5js1vE
When Your Day Job Isn't Enough
Japan to flush Fukushima water 'containing radioactive material' into the ocean
Atlassian Launches the New Jira Software Cloud
Earth on Pace for Fourth-Warmest Year on Record, NOAA and NASA Say
Samsung Announces Galaxy Book 2, a 2-in-1 Windows 10 S Hybrid with Gigabit LTE a
60 years ago we were scaling down from the largest scale military action in human history and in the process of repurposing industrial capacity from military to peacetime.
Technically, yes
Number of Robocalls Placed in the US Surged by 50 Percent in the First Half of T
It's still concerning, because supposedly non-functional crap can still affect our legal system. Like how the court-reporter's unofficial headnote for Santa Clara County v. Southern Pacific Railroad Co. became important for the doctrine of corporate-personhood.

Much like DNA, if you leave something around there's a chance a mutation might activate it.
Essential Products, Startup from Android Creator Andy Rubin, Lays Off 30 Percent
Sony Tries Using Blockchain Tech for Next-Gen DRM
Chinese Phone Maker Huawei Launches Mate 20 Pro Featuring In-Screen Fingerprint
Taxing businesses on total revenue would prohibit entire classes of businesses, for example stock brokerages, bond market makers, ebay, and amazon's 3rd party marketplace. And did you know that grocery stores are low margin?

Hell, if you average them over the economic cycle, airlines and car production are low margin.
EBay items from China about to get more expensive
Facebook Lured Advertisers by Inflating Ad-Watch Times Up to 900 Percent
Qualcomm's New Wi-Fi Chips Are Meant to Rival 5G Speeds
It would be great to have some data on these designs, for example avg time aloft, max distance travelled. May be users should be able to report this and you can do average or median?
Filling out and finding ways to minimize taxes due to 1040 Schedule Ds, that regular feature of tax season that people making $50k/yr or less know and love.
Amazon Worker Pushes Bezos to Stop Selling Facial Recognition Tech to Police
One of the World's Largest Organisms Is Shrinking
This is wonderful. Long ago MS Publisher had templates that allowed you to build paper airplanes. I remember discovering this as a kid in elementary school with my friends.
Enhanced autopilot is now $5k up front or $6k later. It used to be $4k up front or $5k later.
Couple thoughts.

1) bug report: your input on describe yourself is set to email, which messes with my keyboard on my phone. Have that be text input, the other to email as it is.

2) like the idea, connecting influencers can be relevant for sales referrals, recruiting, or networking. All seem like good monetization opportunities.

3) it feels tricky to get the balance right between in person vs phone call contact. Looking forward to seeing how you’re going to handle that.

Good luck!
Chrome 70 Arrives with Option to Disable Linked Sign-Ins, PWAs on Windows, and A
No, the average of white people was normed at 100. I'm saying the average case is that people are the average of their parents. I'm not a genetic determinist and I am not an environmental determinist, but there is vast amounts of evidence that IQ is, for a large proportion of the causality, a heritable trait.
The Internet Apologizes
Top apps make everyday tasks even easier with Siri Shortcuts – Apple Newsroom
Should We Replace Politicians with Random Citizens?
Slack Doesn't Have End-To-End Encryption Because Your Boss Doesn't Want It
Bill Gates' tribute to his friend Paul Allen
Taking the question in good faith, here a few examples drawn from the example above.

* The neighborhood is mostly burnt down, derelict, or razed: think of the important stories in your life and where they took place, and imagine those places transformed, not into a high-end sushi bar, but cracked sidewalks and rubble.

* A generation of home owners probably lost the majority of their wealth

* The city lost tax revenue and struggles to provide basic services like streetlights or the enforcement of law.
I give the post credit in that it provoked your comment and some potentially enlightening discussion for someone not entirely familiar with the study of human behavior (like me). For instance, I would have thought that twin studies might be considered reliable for purposes of accounting for genetic confounds with respect to aspects of human behavior. It sounds from your comment that they are not.

On the OP getting warned, it wasn't immediately clear to me if the objection was more about a) knowledge that Matthew Yglesias didn't read the study and therefore was not in a position to summarize his analysis with a pithy analogy and be quoted, b) the use of any pithy analogy itself, or c) the use of an analogy that seemed to explain a confounding issue? There seemed to be some additional, non-obvious context missing (at least to me) that led to the warning.
Contaminated basewater database
TimescaleDB is for time-series data, which is half-way to being one kind of temporal data.

Full support for both kinds of temporal data ("valid time" and "transaction time") requires a bit more engineering.

The PG support for the TSTZRANGE data type, operators built on it, and indices built on those operations, was part of a previous phase of adding support for "valid time" temporal data.

https://pgxn.org/dist/temporal_tables/ is an extension implementing a prototype of "transaction time" temporal data, though in modern Postgres, you can do this much yourself.

In both cases, none of the SQL syntax specific to temporal queries has been implemented yet. Rather than a distinct view and backing "current" and "history" tables and etc., you should be able to just have a table that represents all of those things, and do queries on its components using different syntax. (Sort of like how S3 versioned bucket resources work.)
Feats of engineering performed with just a sheet of paper. Amazing!
Facebook Plans Camera-Equipped TV Device, Report Says
Cuttlefish wear their thoughts on their skin
EBay Files Lawsuit Against Amazon Over 'Seller Recruitment'
Don't forget the US subsidizes the defense of European nations. How prosperous would they be if they had to defend themselves against foreign invaders?
Actors Are Digitally Preserving Themselves to Continue Their Careers Beyond The
Does the US have more illegal immigrants as a proportion of it's population than other Western nations? I'm asking because I genuinely don't know. (I was tempted to put quotes around illegal immigrants because it's a fairly contested term but that would have possibly set the wrong tone)

I do get the sense that every country thinks they are a special case with regards to immigration. We definitely seemed to go through that phase in the UK.
Also that exact C example can be written almost verbatim in Julia, so C isn't "better suited" for even these small kernels, because one can drop to low level with even clearer syntax in julia
The Results of Your Genetic Test Are Reassuring. But That Can Change
Medtronic Locks Down Vulnerable Pacemaker Programming Kit Due to Cybersecurity C
I was a programming teacher some years ago and I would sometimes grade two submissions, which had both gotten full marks from the automated tests but where one was 150 loc and the other 500 loc. The most surprising part was that if I read the longer submission first, it would never really seem like there was that much excess code to take away. But obviously there was.

> My personal anecdotal experience is that OOP lends itself well to very very large codebases.

In my experience Java / C++ style OOP creates very very large codebases in the same way. I think its quite surprising that many engineers don't seem to have any idea how much waste there is in their "clean" java code. (Or C++ that follows the same style).

I also almost always find it far easier to read dataflow oriented code or functional code compared to their OO counterparts because all the state transitions are made absolutely clear. In OOP, your system state is spread across every file in the project. Compare to, say, a website implemented using React/Redux. I can inspect a single object to see the entire state of the application. When there's a bug, usually either that object has the wrong value (so I know how to fix it). Or the object has the right value and the bug is in the rendered component. Easy peasy. In comparison, in a java program the bugs often show up between classes. They end up relating to the relative timing of function calls that mutate state. Or the lifecycle of objects conflicting in weird ways. Its much worse for comprehension and much more work to debug. (And yes, I've spent years working in both styles professionally.)
The Rate at Which the World Is Getting Online Has Fallen Sharply Since 2015, New
Pioneer Square is not a hot location; all of the tech action is happening to the north in SLU and a bit into the downtown retail core. Pioneer Square is a dump and sketchy as hell.
Weird, spooky noises heard in Antarctic ice shelf
Apple continues their work on a Travel App, even if it's at a glacial pace
NASA's 'brilliant' plan for a cloud city of airships in the atmosphere of Venus
From Phonograph to Bluetooth Music players, this is how music players have evolv
AT&T offloads 31 data centers
Thank you for your thoughts and the bug report – just committed the fix

Agree with 2! Can you elaborate on 3) ?
Tesorio (YC S15) Is Hiring Senior Front End Engineers and Lead Data Scientist
Twitter publishes archive of 10M tweets from Russian bots
The Plight of Julian Assange
Open source control panel VestaCP breached
Chinese City 'Plans to Launch Artificial Moon to Replace Streetlights'
Enjoying High-Res Graphics on a Text-Only TRS-80 Model 4 from 1983
I still cannot believe that forced binding arbitration is a legal thing. It's like a "If a law to stop us exists, this ULA is above the law" clause.
This is deeply untrue for conda. Even very complex environments build in less than a minute. I can believe there are corner cases where conda is very slow, but claiming conda takes 5 minutes for trivial environments is flat out wrong. Perhaps it is issues with a firewall, VPN connection or something else, absolutely no chance that is from normally executing conda.
Google's CEO Says Tests of Censored Chinese Search Engine Have Been Very Promisi
Oh, that would be surprising and great!
Facebook Posts May Point to Depression, Study Finds
Meanwhile apparently 80% of diet and weightloss supplements are tainted [1] so as sound as the science no doubt is I'm currently leaning towards the "let's not take pills if we don't have to" mindset.

[1]
https://www.reddit.com/r/science/comments/9ocr6y/80_of_diet_...
Apple gives US customers the chance to download their data with privacy update
Except a browser doesn’t send cookies from one random domain to an “image” hosted on another domain, hence no “theft”. Cross origin cookie rules have been the same for eons.
Oppau explosion
Exploring Recurrent Isolated Sleep Paralysis
Yes please. Lower crime, more economic opportunity, walkable cities.

What exactly is bad about it?
Amazon Doles Out Freebies to Juice Sales of Its Own Brands
Apple 'Deeply Apologetic' Over Account Hacks in China
I continue to be baffled why people are baffled that most people prefer not to travel in cramped, enclosed spaces with random strangers and without the option to carry more than what you can hold in your hands. Sometimes people even have more than one small child with them. Is that really so hard to understand? The personal transport vehicle has been desirable from the beginning of time and now (almost) everyone can afford one. The big downsides are traffic congestion and space taken up with parking and roads. Those can be almost completely mitigated with cheap tunneling tech and automatic driving. Musk and friends are serious working on both of those projects also.
In Admissions, Harvard Favors Those Who Fund It, Internal Emails Show
Most of the traffic lights that have vehicle detection mechanisms don't pick up motorcycles so you end up treating red lights more like stop signs if there is no one around.
Used a linux laptop for the last 2 years for work. It was built as a linux laptop and had driver support from the vendor. Zero issues running Ubuntu. Forced to move to Windows because I changed roles and need to make more powerpoints and docs and use Skype (which really doesn't work well under linux) but I also lost a lot of really great programs. Mostly I use WSL for real work now if I need to.
TLDR;

The Opportunity Zone program is designed to provide tax incentives to investors who fund businesses in underserved communities.

Investors are able to defer paying taxes on capital gains that are invested in Qualified Opportunity Funds that in turn are invested in distressed communities designated as Opportunity Zones by the governor of each state. Up to 25 percent of the low-income census tracts in each state can be designated as Opportunity Zones.
Dungeon siege used an "Entity/Component" framework. That's a very different thing to an "Entity/Component/System" framework.
Also, townley please feel free to contact me at pydeveloper22@gmail.com

Thanks
Open-source multi-label image database
This was not the lack of gentrification. This is the effects of unemployment. If a high end sushi bar would “revive” the neighborhood, it would only be because the residents were forced out. So what’s the point? I’d rather care about the people in the neighborhood (...which does involve maintenance) than how the neighborhood makes people feel. People live there. This lazy attitude towards justifying gentrification is disgusting. It’s a hard problem that deserves thought, and this is just classism.

HN, your viewpoint is clear. Try visiting oakland! It’s getting more photogenic every day.
It's certainly something they might do. It wouldn't be totally out of character for MS. But there's no evidence that they're "trying to push their own store and close down Windows gaming for themselves".