skysight-inc/HackerNews huggingface dataset:
Solitary confinement is not as central of a police reform issue. I still don't see how San Francisco is causing a lapse in police reform here.
What is IS law?
Kind of like not extrapolating that someone hates females if they use a gendered noun?
> And guess what… you have to keep the mocks in sync with the real things

It is a valid problem but it's also possible to write mocks that are small and simple enough that this becomes trivial.

In my experience when testing a module necessitates a complex mesh of mocks and an intricate knowledge of inbound dependencies than this means that the problem are not the tests nor mocks but rather a problem tight coupling. The tests are simply telling us that in an unexpected way.

My rule of thumb is that if I can't mock it with a "every thing at default except what I want to test" than there's something wrong with the code, not the mocks.

And most integration tests can be eliminated by refactoring the code with proper contracts so that If A depends on B which depends on C then testing that A, B and C completes the chain of trust from A to C and doesn't necessitate an integration test from A to C.

> What you almost always want, when mocking, is really just different input data for your module

>What you almost always want, when mocking, is really just different input data for your module, data normally provided by a long stream of collaborators. Just build your program in such a way that you can send it this data, regardless of the runtime (unit test framework, test env or production env). Yes, it is possible and highly desirable and don’t be in denial right now.

Mocks are data in a nice, encapsulated and understandable form. I'd rather have a simple mock than "data provided by a long stream of collaborators". I can't recall how many hours I've lost by trying to reverse engineer huge pile of data and configuration files because the "tech lead" wanted a "life insurance" to make sure we broke nothing.
Friends and family don't bounce back though, you need to repair them, glue them back together etc..
Great writeup! I love the level of detail and that the author touched on strategies they tried that didn't end up working out.
The answer is "it depends" on the particular city, county, and/or state.

Florida is a little unusual in that state law makes a very wide range of information public and easy to get. In this case, the town has actually posted all the relevant documents on their website (https://www.townofsurfsidefl.gov/departments-services/town-c...), so you can just click that link to get the plans.

Other places have varying levels of access to building documents. In SF, for example, DBI maintains plans and other documents, but state law prohibits reproduction without the property owner's consent. A member of the public can, however, make an appointment to view the plans in the DBI office. (https://sfdbi.org/DOP)

But generally, yes, all buildings' plans are maintained by (usually) the county-level office that issues permits.
Tweet is misleading. According to this tweet[1], you need to connect to the network to disable Wifi

[1] https://twitter.com/Lickwidsoap/status/1411675812063891461
that's the thing about paranoia
I'm chronically unemployed at 34, and I really feel incapable of competing in the labor market when I see how people consent to overwork.

I don't have anything against workers, but I really resent that some people believe I deserve to die alone and poor while they consent to overtime without taking a step back.

Some people want to participate in society not for money, status or because they like to work, but just to exist for 5min.

Competition becomes an horrible side of society.
Completely agree. It's definitely not new, but I think we are starting to see the practical limits of the policy.
https://en.wikipedia.org/wiki/North_Atlantic_Tracks
Thaddeus Lowe and the U.S. Army Ballooning Corps
How does an assembly instruction turn into voltage changes on the CPU?
NOTA Mole Tracker Review
> I'm deeply ashamed that my country would block sci-hub given that the current system is preventing scientific development.

Are you in France? In that case you'll find that french academic librarians are extremely open to this stuff. I have participated in some proposals to cancel all elsevier+other library subscriptions and give all that money directly to SciHub, and the librarians were always very receptive to the idea. Unfortunately, this sort of initiative inevitably gets stuck in the upper echelons of some administrative procedure and never materializes. I guess predatory editors have a deeply entrenched influence within the academic institutions, otherwise I don't understand how that happens...
Back and forth sRGB conversion is builtin to the texture sampling and frame buffer output pipelines.
Saw a video today of a simulated collapse that suggests a possible failure mode given the likely parking garage collapse that occurred before primary collapse:

https://www.youtube.com/watch?v=hynHiWE818c
3.8Mbps 1080p is hardly 1080p. Decent quality starts at several 10s of Mbps, and high quality 1080p is in the 200-400Mbps range.

Ideally in the future you would A) be broadcasting directly to other participants, not going through zoom’s servers, which might multiply upload bandwidth needs B) be broadcasting at several 10s of Mbps per stream.

I definitely prefer higher bandwidth vconf. I’m not worried about blemishes, but I want to see people’s minute facial expressions better.
Ask HN: Interactive way to learn Ruby on Rails?
I am using Udemy videos to sharpen my Ruby on Rails skills but following videos is a really slow way to learn web development. Not to mention the slow pace of author moving between topics.

I used to love CodeSchool and looking for something Interactive to learn Ruby on Rails where you build app(s) simultaneously as I am not a beginner. Is there any such platform available on the web?
Also a world of unlimited microwave spectrum.
Ask HN: Does anyone have contact with Higan’s creator, Byuu?
I know Byuu is a controversial person in the emulator development scene. He’s done some things over the past few years that charitably could be described as poorly thought through.

That said, he is a skilled engineer and has contributed a lot to the world of emulator software and ROM preservation. Recently, it was claimed on Twitter he had taken his own life. (https://twitter.com/eevee/status/1409230358977998851?lang=en) However, nobody has been able to confirm whether this is true or if byuu is instead still with us.

Any info would be much appreciated. Thank you.
K8s Base64 Mistaken as Encryption
>I think the point is not that biology is never relevant to politics, but politics isn't inherently based in race. Humans have a huge array of tribal identities and affiliations which cross racial lines.

No one said anything about race, but I guess you could consider it implicit historically. However, I could easily see a tribe of people with multiple races, but biologically connected by their genetic relationships. In fact, without looking it up, I would think around the Mediterranean that was common at some time in the past.

>The idea that "natural" groupings are based on race is absurd.

One, no one specified race. But two, before the rise of empires (and mega-empires) I would defy you to name a single example contrary to that. Before easy transportation, every one local in a society was related one way or another and likely separated from other groups enough for race to count. I don't know how, historically, you can get a more "natural" grouping than that!

>Even in the historical context, there are a peletora of examples where personal interest trumps biological alliances and diverse alliances are formed.

I would be curious if you can name even one historical example that did not start off with some sort of biological context. All large empires that you can name started off as tribes and eventually grew to incorporate others. Small ones would likely be even more biologically concentrated. Granting that some society can grow and start to incorporate other groupings as you suggest.
I think showing 100% is far worse, because then I have to rely on my subjective experience of the interface I'm working with to notice that something is wrong. 100% isn't just misleading, it's wrong on a UX level. At least when it shows 50%, I immediately have a sense of, "wait, that's wrong" and I can even begin troubleshooting and look at the current clockspeed, temperature, core usage, etc.
If one wants to get facts about drug reactions (for example) then sure, there will be articles in reputational journals reporting on studies (that should be objective), as well as straight up reporting, like the adverse reaction data. But as soon as you want context or analysis on how to interpret the information and what to do about it, opinion and world view are involved. There may also be legitimate or groundless views about the trustworthiness of figures reported, potential cover up or under reporting, etc. This all gets magnified when it's about a topic that is being used as rhetoric to change people's behavior.
Licenses explicitly are the set of permissions and limitations for someone to use the code. Even most permissive open source licenses require that you maintain an attribution with the text of the license in derivative works. Copyleft licenses and in particular the GPL put very strict requirements on what types of licenses are acceptable in any derivative works.

In literally no open source license except "do-whatever-you-want-i-dont-give-a-damn-bye"-type licenses like WTFPL are you giving something away for free without limitations. That's not even close to what open source means, at all. Open source and public domain are not synonymous terms. And in those cases where there are literally any terms in a license, use of Copilot obviously violates the terms of the license, unless the user operating Copilot goes back, finds the code Copilot is stealing from, and makes the proper attribution / otherwise ensures that they are meeting the terms of the license of the stolen code.
How about a section on physical destruction? I am often stuck in neverending debated about how to properly destroy plaintext data on physical media. Does cracking a platter suffice? Do I have to grind up every little chip in an SSD? What parts of a laptop have serial numbers that might be used to track down it's owner?
SEEKING WORK | Los Angeles | Remote

My name is Tavi, and I run a solo software/data/bioinformatics consultancy focused on healthcare and genomics. My clients range from small startups to immuno-oncology research labs and pharmaceutical companies. I previously managed a team of engineers at Salesforce.com and led several immuno-oncology research projects at Mount Sinai and with Memorial Sloan Kettering Cancer Center.

I advise on technical strategy and technical hiring, build genomic data processing pipelines, develop web apps for e.g. clinical data analysis, and so on.

I'm eager to chat with anyone in healthcare and particularly with anyone in oncology, whether or not there's an obvious fit right now.

Email: tavi at sequencesoftware.io

Website: https://sequencesoftware.io

LinkedIn: https://www.linkedin.com/in/tavinathanson

More about me: https://sequencesoftware.io/team

GitHub: https://github.com/tavinathanson
It should in-principle be possible to write a branch where the code itself is single-bit-error resistant, in pseudo-machine-code something like:

LOAD [launch1]
COMPARE 0x89abcdef
JUMP_IF_NOT_EQUAL [fail_label]
LOAD [launch2]
COMPARE 0x01234567
JUMP_IF_NOT_EQUAL [fail_label]
LOAD [launch3]
COMPARE 0xfedcba98
JUMP_IF_NOT_EQUAL [fail_label]
BRANCH [launch_label]

You also need to ensure that launch_label and the location of the branch instruction are both more than one bit away from fail_label. You can duplicate the JUMP_IF_NOT_EQUAL instructions as needed - or indeed the whole block before the BRANCH - as necessary to ensure that.
Useful if you’ve never heard of PID controller: https://en.wikipedia.org/wiki/PID_controller
Fortunately there are no night flights to and from the airport here. Nonetheless, depending on weather I can hear them, mostly from/to Paris, France from/to many destinations in Asia, mostly China. They all cross over here, apparently.
You can just disable JavaScript and the site works fine.
People are much more aware of privacy and how their innocuous private life details can be used against them. Thank you Wikileaks for helping Snowden find a safe harbor.

The Collateral Damage leaks greatly reduced the credibility of the US military as a worldwide humanist agent.

The alleged use of chemical weapons by the Assad regime was used as a justification for a full blown invasion of Syria; yet the political push back was too strong and the attacks were reduced to air strikes. Thank you Wikileaks for publishing the cables showing how US had plans in motion to topple Assad since a very long time.

But more importantly people are beginning to question their government and that is a good thing.
Thanks for digging that up, I appreciate it; I didn’t think of looking in the Archive.

We’ll have to disagree about whether her reaction was hysterical. She called my article “ridiculous” and compared it to recommending that people use horse-and-buggy transportation. I was pretty mystified by the tenor of her remarks. One of my points was that Sci-Hub could become unavailable, either globally or locally, so it’s good to know about other ways to get one’s hands on articles. Just mentioning alternatives was offensive to her. We see now that this was not an unrealistic consideration.

EDIT: It’s not ideal to add to your comments using the edit button without marking them as edits. Let me reply to your last sentence by saying I do not think it is sexist to use the word “hysterical”, which has a well-understood meaning apart from its etymology, to someone who happens to be female. In fact, I think it would be very silly to police one’s speech in this way.
Then what is the point of it being there in the first place?
One of the worst things about these disasters is that we will get months of daily reports of things being "hinted at". All the noise means that when the final cause is found, no one will care anymore or remember or they'll remember wrong and swear it was all to do with sinkholes or whatever. We need some quite and some rapid inspection of other buildings. Not hints and opinions.
Ha! AI learned how to generate secrets
Yep, but that idempotency caching layer would need to share keys across all instances, possibly even geographically.

This is a solved problem at the application layer of course, but adding complexity at the higher (LB or proxy) layer ... well, adds complexity there and the benefit is not clear to me.
Wow, I forgot all about AOP, even though I was, briefly, very excited about it.

On a project where "logging" was budgeted as a short, separate task that could be delegated to a junior engineer at the end, I used Spring's AOP to inject performance and usage logs across entire chunks of the program. It worked great and took way less time than scheduled.

I was convinced there'd be other uses for AOP, and kept an eye out for other opportunities for months. Given that I completely forgot this was a thing until now, I think you can guess how often that happened.
Well, yes and no. The music in clubs is often designed to be so loud as to interfere in conversation, on the premise that the less you are able to converse the more you will drink.
iPhone 12 series hit 100m sales globally in April: Counterpoint
It kinda does but kinda doesn't. It puts up a banner to block you reading without registering, but it's pretty easy to remove it from the page if you're comfortable with Chrome's DevTools.

Also, https://archive.ph/huNwk
I mean, you can easily see what the DSN is in any distributed version. This isn't a SaaS. And by the way, it's not a key; it's not even remotely secret.
Location: Los Angeles, CA

Remote: Yes

My name is Tavi, and I run a solo software/data/bioinformatics consultancy focused on healthcare and genomics. My clients range from small startups to immuno-oncology research labs and pharmaceutical companies. I previously managed a team of engineers at Salesforce.com and led several immuno-oncology research projects at Mount Sinai and with Memorial Sloan Kettering Cancer Center.

I advise on technical strategy and technical hiring, build genomic data processing pipelines, develop web apps for e.g. clinical data analysis, and so on.

I'm eager to chat with anyone in healthcare and particularly with anyone in oncology, whether or not there's an obvious fit right now.

Email: tavi at sequencesoftware.io

Website: https://sequencesoftware.io

LinkedIn: https://www.linkedin.com/in/tavinathanson

More about me: https://sequencesoftware.io/team

GitHub: https://github.com/tavinathanson
IMO, experts will understand any popular system
and are happy to use multiple systems in different contexts. So, really it’s non experts who benefit from clear an consistent labeling.

In respect to species the least ambitious definition is groups of related organisms that exchange genetic information. Ring species for example can exchange beneficial mutations from the edges of each branch through intermediaries. https://en.wikipedia.org/wiki/Ring_species

In that context hominids may have had many distinct populations based on survival skills for their local environment and geographic barriers which is enough for adaption to local conditions to take place, but exchanges between groups would still genetically link distant populations across thousands of generations. A<>B<>C<> … Y<>Z

For example it’s extremely unlikely that nobody crossed the Bering Strait even just from 1,000 BC to 1BC. Let alone 10,000 BC to 1492.
Or for the lazy there's the start of Contagion https://youtu.be/-1di7g4Hm1s?t=31
The problem with this argument is that, if not for NIMBYs, growth really could have helped all the people of San Francisco. Dense cities are the places with the greatest opportunity and the greatest mobility (see for example Chetty). But for this to be the case, housing has to be affordable enough for working people to afford. So basically, NIMBYs took something that could have been great and made it awful instead. How is tech to blame for this? Tech provided a wonderful opportunity and the people of SF blew it.

I'd also add that I am a San Francisco native and it was not some midsize paradise in the 80s. It was broker, the schools were worse, the public transportation was worse, there were already plenty of homeless, and, like every other major US city, it was far more violent. The only thing that was better was housing affordability and the niners.
This is a single observation of a discrepancy from a small area in a multi-month long investigation. It's hardly worth commenting on, never mind speculating and extrapolating from.
Our team has used Ray for more than two years across several versions. It makes a lot of things easy that were not, and is especially adapted for our purposes, which include training and deploying a lot of reinforcement learning policies. The AnyScale team is very responsive on the support Slack, fwiw.
I don't think that matters in this case, because the entire point of the log machine is to run crypto operations. If it has such a faulty processor it is basically unusable for the task anyway.
You'd think the compiler would let you know you have a constant that is not labelled as such, like the way `tslint` complains about this incessantly. (I think `splint` for c/c++ may also do this, but I've only briefly used it.)
You don't know how the GPL works. The GPL explicitly requires attribution. I don't understand what you thought you were saying. The GPL places strict requirements on the licensing of derivative works. You don't know how the GPL works.
While this was much more true maybe 10 to 20 years ago, at least 28 days plus the approx 9 US public holidays is the minimum you should expect in a reasonable US SWE position. Many places offer better. Of course there isn’t the same level of legislative protection for holiday allowances as in the U.K. and there are some companies out there offering much less, but it’s increasingly rare in my experience.

I think working conditions relative to the USA have gotten significantly worse in the U.K. for a lot of professional roles over the past 20 years though - the pay offered in many U.K. SWE roles is often risible and the generally anaemic economy since the credit crunch arguably hasn’t helped.
Advice for Young Professionals
https://filebin.net/uwboypi04o23yzj8/Screenshot_2021-07-05_a...

It is explicitly detailed as such. Full disk access actually means full disk access under that system.

> Time Machine backups [...] for all users on this Mac
Then where, pray tell, was Edward O’Grady killed, and where was Kathy Boudin at that time?
It probably eventually reaches the ears of someone who's heard of the concept of a lawsuit, and is deeply afraid of Elsevier making an example of a school by suing it into the stone-age, something they desperately want to do to scare every other school away from Sci-Hub.
Not really. One can support paying for journalism but not scientific articles (because the latter are typically funded other than by journal access fees, meaning journals are engaged in pure rent-seeking).
Or go to https://archive.ph/huNwk
That's easy, since you have control over trusted CAs. And also, not true; it could be done in the TLS library.
Ask HN: Best Framework to build Reddit in 2021?
I am planning to build something like Reddit for our Region (it will mostly be about regional topics).

I found out Reddit is getting 250M comments per month and though we will never be this big, I am wondering what technology stack we should use to build Reddit to overcome scaling challenges.

I believe the DB will be Mongo but what can be the right web stack?
Note: Contest/Challenge Update
THE CONTEST: Can you determine if the change in radio/microwave background radiation (interpolated/imputed from publicly available sources) is able to determine if the location of 1EMMA1 is conditionally dependent (on average over the course of the last 5 years) with any 50 square foot regions around the globe. Demonstrate if what you observe exceeds what is expected by background noise, as is defined by the False Discovery Rate.

A simple example would be to apply the lasso over 50x50 foot locations on a map predicting change in radio/microwave background at 1EMMA1's location from every other 50x50 foot location on earth using data aggregation and augmentation with imputation methods. You may be considered for an interview for a lucrative position at my company for you if you can do it. Public data is available from many sources from around the internet.

HINT: the electrical grid is similar to a giant radar with high resolution interference patterns, what do you find?

Potential approach: Look at a map of change in background radio at low frequencies, combine by layer same location with 0.1 microsecond time lag (like interferometric synthetic-aperture radar with imputation across many sources) while layering the images to constructively interfere and create high resolution image data. Apply Bayes theorem across the image after mapping frequency to colors.

Formula:
P(A|B) = (P(B|A)*P(A))/P(B) ~= exp(log(((mean(other_location_background_change)(background_change_across_locations))+log(my_location_background_change))-log(other_locations_background_change)))

See original link for full details and regulations
What about this qualifies it as an "order" (i.e. worthy of taking offense to), as opposed to merely an imperative sentence (e.g. "don't feed dogs chocolate")?