skysight-inc/HackerNews huggingface dataset:
Yes. 110% attributed to learning about unit-tests and gems/CPAN in grad school.

IMO there is a big fallacy about the "just get it to work" approach. Most serious scientific code, i.e. supporting months-years of research, is used and modified a lot. It's also not really one-off, it's a core part of a dissertation, or research program, if it fails- you do. I'd argue that (and I found that), using unit-tests, a deployment strategy, etc. ultimately allowed me to do more, and better science because in the long run I didn't spend as much time figuring out why my code didn't run when I tweaked stuff. This is really liberating stuff. I suspect this is all obvious to those who have gone down that path.

Frankly, every reasonably tricky problem benefits from unit-tests as well for another reason. Don't know how to code it, but know the answer? Assert lots of stuff, not just one at a time red-green style. Then code, and see what happens. So powerful for scientific approaches.
> software that everyone has to be running the same version at runtime for it to work

Have you ever attempted a flag day? Even at a small scale organization it's a nightmare - imagine trying to do it at Credit Card Processor (tens of millions of devices) or Google's (billions of devices) scale.
No, there's a discussion upthread about running on Darwin that specifically says you have to run as `bash ./foo` first time and `./foo` thereafter because it overwrites on disk.
And that scientists also are rarely supported by programmers, or if they are it's an unstable and unappreciated position.
> This is some strange reasoning that I have yet to seen myself. If you can do the hovers states/drop down menus in CSS, why not do them in CSS, even if you're using React?

Because when requirements change and your hover animation needs some additional flare to it in certain cases, you'll be glad that you had automated unit tests to verify original behavior still works along with your customizations.
There's a long and fascinating story about cancer as a metabolic disease. Turns 98% of modern cancer research on it's head.

I wish I could give a 200 word summary, but that would not do justice to the decades of research behind this approach.

Instead, I direct you to a book that could well save your life or the life of your friends and family: Tripping Over the Truth: The Metabolic Theory of Cancer[0]

[0]: https://www.goodreads.com/book/show/23496164-tripping-over-t...
It’s not even about being targeted specifically. It’s about the complete loss of sandbox and safety guarantees. There is a lot of LHF here.
DC is a fairly unique american city, in part due to the height restriction and weird layout of the major arteries.

I often don't feel like I'm in an actual city when I walk around in DC. when I'm not right next to a monument or government building, it feels more like a particularly dense suburb. if someone else is driving, I might not notice that we've left silver spring and entered the city proper.
We all tend to change time passing. Me and the person married 15 years ago are most definitely two different persons today. So marriage is an effort of will to be renewed each day. Children can help as they may strengthen your will to stay together in their interest. Economics have a major role too. If the couple is well off together, this may help too. I think humans are not born to be monogamous, but they have been (poorly) programmed to accept that by religion and society.
"The performance benefits are evident" is a bit too authoritative to me. Would you mind giving a summary of the performance benefits?
2016 piece by Alain de Botton.
Then I used the wrong words. My point is that human text is essentially encrypted using a particular model of the world as the encryption/decryption key. You can't derive the key from the cipher text.

For example, if I give you the text 'the car is red', there is no watly to imagine the meaning of this phrase (in any sense of the word 'meaning') unless you have some understanding of what cars are, what red is, and what it means for a car to be red (which is somewhat different from what it means for an apple to be red, for example).

It is interesting that with enough statistical analysis you can begin to decipher certain parts of the true message without knowing the cipher key. But this only works for those parts where you have a large corpus of text talking about them, and there are many common human needs or experiences that do not have such a corpus. It is also very easy to capture answer/response pairs in the corpus and repeat them, seeming to have high accuracy, but in fact failing to generalize more than meets the eye.

For example, with enough compute power, you could build a machine that, for any query, would find the most similar such query in all of its training data, and respond with the continuation of that query (which could be an answer or a follow-up question). This could be quite impressive in conversation, while doing nothing to elucidate anything about human intelligence, and being wholly unable to adapt to any novel situation.
Cucumber.js Tutorial with Examples for Selenium JavaScript
Both DC and Seattle are old cities where growth has happened recently. So the new build is shaped or at least influenced by the surroundings.

It's easiest to look at new places, or rapid growth places since 1960. You need to look regional vs. "the city". The areas around Atlanta are a great example. The area around the Atlanta Braves stadium exemplifies modern development -- a shopping mall posing as a city, with Comcast, a theatre and the baseball stadium as anchor tenants. The assembly square area just north of Boston is a similar thing.

Philosophically, on one extreme you have a real "organic" city like NYC, Chicago, Seattle, etc. On the other you have a corporate campus or malls that started popping up in the 1950s and 1960s. Modern development requires much more capital, so you end up with bland campus/mall environments controlled by one big entity. Once developers scale out, you end up with more vacancies, etc as it makes business sense to leave storefronts vacant due to tax law and other factors.

Even outside of big developments, modern buildings turn out to be a hybrid. End users don't own the buildings, so the REIT/leaseholder/developer wants it to look as prestigious as the market demand as cheap as possible. So lots of cheap glass and stucco to quack like a nice building. Usually the fittings, doors, etc are garbage. Best example of this is a medical arts building. The nicer ones will have a weird sculpture, but everything else in public areas are the cheapest available materials from the carpet tile to the elevators. CFOs managing a portfolio of 2,000 buildings see value in saving $0.08/square foot on carpet tile.
>It has no clue. There are an infinite number of antecedent temporal events.

Right, determining the cause of the pot boiling given only local information about this one event is impossible. But that's not a good representation of learning from a real-world data set. A real training corpus might also have an example of a pot boiling in a campfire, a water heater heating up water using fire, someone touching an open flame and going "ouch!", fire burning down a house, etc. All these examples taken together can reasonably lead one to infer that fire causes things to become hot. This is the kinds of regularity found in real world datasets and a good learning algorithm will extract this regularity in the course of predicting the dataset.
> Also, couldn't ADAS be an issue? Sending the driver lagged lane encroachment info, for example.

"Lagged by how much?" is the qualifier that determines if that is a problem. 100ms wouldn't be a problem, 200 could cause issues but likely wouldn't result in crashes.
Great VSCode Extensions for Python
How did they have revenues of $740 million, expenses of slightly more than $1 billion, but lose $580 million?
The same is true of HN comments, it seems :)
The Dreaded Lanternfly, Scourge of Agriculture, Spreads in New Jersey
Transportation of food is an issue, it also damages or controls food quality.
Certain types of food (usually the tastiest varietals) don't transport well.
Climate change may disrupt large portions of growing zones / home gardens in the next 5-50 years.
Food in stores is grown & treated for how it will look on a shelf in a grocery store.. Not for nutritional value or taste.
Implementing a custom image segmentation neural network in Snap's Lens Studio
Your question reminds me of a russian humorous story somewhere from the 90s or early 00s. Called "Wooden Computational Machine", it describes an wooden computer created for the russian zar and the chaos that ensues. The author is called Maxim Samohvalov, but I couldn't find an english translation. If someone can find such, please, share.
The two main problems in academia are that a) few researchers have formal training in best practices of software engineering, and that b) time pressure leads to "whatever worked two minutes before submission deadline" becoming what is kept for posteriority.

When I started working as a full-time researcher, I had come from working two years in a software shop, only to find people at the research lab having never used VCS, object-oriented programming, etc. Everyone just put together a few text files and Python or MATLAB scripts that output some numbers that went into Excel or gnuplot scripts that got copy-pasted into LaTeX documents with suffixes like "v2_final_modified.tex", shared over Dropbox.

Took a long time to establish some coding standards, but even then it took me a while to figure out that that alone didn't help: you need a proper way to lock dependencies, which, at the time, was mostly unknown (think requirements.txt, packrat for R, …).
> We need a new way to communicate the realities of climate change ...

It looks like this was removed from the front page in about an hour. We’re not even allowed to talk about this topic on HN so I’m not too optimistic about more ambitious goals.

It’s pretty clear we’ve decided as a society that we’re going to follow the road we’re on, and stick to it hard, and see where it leads.
> represent a true COVID-19 resistant pattern or are just reporting anomalies.

Probably anomalies. We're talking small, small population groups on isolated islands.

I mean it's possible there is a Polynesian DNA thing that helps make them resistant, sort of a smallpox-in-reverse advantage, but my money says it's just because 1) super isolated, and 2) because of point 1 they can very effectively filter traffic and quarantine those who are questionable.
The findings are very interesting - who would one learn of the foods to eat to create a positive gut bacteria environment?
The reward system also prevents dead ends from being identified, publication of approaches that did not lead to the expected results or got nul results, publishing confirmations of prior papers, etc.

Basically, the reward system is designed to be easy to measure and administer, but is not actually useful in any way to the advancement of science.
Personal speculation:

There's nothing about this that someone in Babbage's time could not have build. Removing the negatives from that statement ... this could easily have been built in Babbage's time.

However, it would not have been. A literal Turing machine needs a huge tape and a very, very long time to be able to do useful calculations. Babbage's Difference Engine could be seen to be immediately useful performing a task that was essential at the time. Babbage's proposed Analytical Engine was less obviously immediately useful, but it could do things that were obviously on the way to be useful, so might have got some speculative funding.

But a naked, vanilla Turing Machine is so obviously not (directly) useful, and no one of the time would having funding building one that was big enough to do anything of practical interest.
> We need to swap the Romantic view for a tragic (and at points comedic) awareness that every human will frustrate, anger, annoy, madden and disappoint us — and we will (without any malice) do the same to them. There can be no end to our sense of emptiness and incompleteness. But none of this is unusual or grounds for divorce.

I appreciate the author's optimism, but there is indeed a threshold of consistent patterns of anger and frustration that warrants divorce. Some people are just very good at seeming reasonable in certain circumstances; human beings are some of the cleverest organisms around.
If the same project had been packaged with Nix, it would probably still compile. People regularly checkout older versions of nixpkgs to get access to older package releases.

One of the key property is that the build system enforces all the build inputs to be declared. And the other one is to keep a cache of all the build inputs like sources because upstream repositories tend to disappear over time.
Ive seen job listings for "scientific programmers" where what they're asking for is a scientist who happens to know a little programming.
As someone who worked with bits of scientific code: Does the code you write right now work on another machine might be the more appropriate challenge. If seen a lot of hardcoded paths, unmentioned dependencies and monkey-patched libraries downloaded from somewhere; just getting the new code to work is hard enough. And let's not even begin to talk about versioning or magic numbers.

Similar to other comments I don't mean to fault scientists for that - their job is not coding and some of the dependencies come from earlier papers or proprietary cluster setups and are therefore hard to avoid - but the situation is not good.
The low-cost-of-labour-country way might be to pay a couple full-timers $300/month to continuously check it and manually update the page.
Why should a court intervene in the contracting of two private parties? Epic started this fight by intentionally breaching an existing contract with Apple, only so they can get better terms.

Microsoft does the same as Apple, it makes money off micro-transactions and the ability for its competitors to sell on Xbox/Microsoft store, use trade dress, and be included in those hideous green media cases.

Last I checked Epic, Steam, Origin, uPlay, Google, Amazon, SetApp, most retailers, etc... do the same practice to varying degrees. Shrewd business practice != injustice/anticompetitive practices, just because a company has a large market share or is personally abhorrent to you.
They want job growth but building up a sustainable knowledge based service sector (and to a lesser degree) a skilled manufacturing sector is really hard. You need high quality universities, some mechanism to attract talented people, a thoughtful tax structure, multiple large companies willing to relocate for bootstrapping, infrastructure for startups, and an industry that isn't highly centralized around existing hubs (you're not going to be the biotech place when Boston and SF already are, for example).

Building up a tourism sector to generate jobs is trivial in comparison and it's a idea everyone can wrap their heads around without any specific domain knowledge.
Customs Filing Broker Services
Consultant Specialist in all aspects of U.S Imports like, ISF Filing, ISF Entry Bond, Customs Clearance, Customs Bond and many more. ISF and Entry | Atlantic, New Jersey | 207-518-7999 | 800-674-9567.

Email: isf@isfandentry.com
Skype: isfandentry@yahoo.com
Website: https://isfandentry.com
Yeah, it was like poison for dragon: cheap, but super effective. Very nice.
Unit testing, readability version control, documentation, etc are all engineering practices for the purpose of making ongoing development organized (especially for teams).

Why would a researcher need to do this, when in most cases all that they use is the output, and in CS/math it's only a minimal prototype demonstrating operation of their principle?

All of the other stuff would certainly be nice, but they don't need to adopt our whole profession to write code
Closed source research isn't publication, it's advertisement.
> Using cxx does not, in fact, remove any `unsafe` blocks- thus it is not "lying," nor is it "the ultimate evil." (Such hyperbole makes productive discussion in this space rather difficult...)

If I can write an unsound Rust program using autocxx or cxx safe Rust APIs, then these APIs are unsound.

Whether these APIs are macros or function calls does not matter. There is no distinction at the API level about whether incorrect unsafe code is expanded, or called into. The API is safe, and for these crates, the currently-safe API introduces undefined behavior.

cxx will be fixed to require unsafe, but AFAICT autocxx usecase is to satisfy Chromiums requirements which require completely avoiding unsafe.
Data is much trickier because your data source for medical, education or even just regular businesses don't want the added legal weight of making data freely available.

This is obviously a shame, I was working on segmentation of open wounds and most papers include a "we are currently in talks with the hospital to make the data available". If you contact the authors directly they will tell you that their committee blocked it because the information is too sensitive.
I was a vocal atheist back in my university days, but ironically most of my friends were highly devout Christians... studying Physics of all things.

I was trying to explain to one particular such Christian friend that the problem with religion is that "The fish is the last to know that it lives in water". That is: it seems obvious that "Our religion is the one true religion" only if you hadn't travelled and realised that everyone thinks that, but doesn't agree with you. In a context of a Christian country, a Christian upbringing, and a Christian government, this is not so obvious.

She disagreed, and said very firmly that she does notice such consistent trends. "I would know if I lived in water."

We were in a packed lecture hall. In reply, I said simply:

"Everyone single person in this room is wearing jeans, except me."
Our school district's entire eLearning plan relies on Zoom for full day live streaming. Basically every teacher of every class live streaming all day. Not sure how many other districts and colleges had similar plans.
Mine does.

I swear 40% of the idiocy of science code is because people fundamentally don’t understand how file paths work. Stop hardcoding paths to data and the world gets better by an order.
I support the idea of re-starting the web. Although, I believe the new web should be more deeply differentiated from the current one than what's offered by the author. Decentralized payments, notifications, persona-based authentication, privacy, content aggregation, structured data should be deeply ingrained in the new web, instead of being an afterthought. Re-starting the web requires a thorough analysis of what's lacking in the current web, and an open discussion on addressing the shortcomings in the new web.

Also, while not it doesn't have to be compatible with the current web, there should be mechanisms that translate the new web into (maybe limited) form of the current web, to utilize at least some of the tools and standards.
> Scientists really need to publish their code artifacts, and we can no longer just say "Well they're scientists or mathematicians" and allow that as an excuse for terrible code with no testing specs.

You are blaming scientists but speaking from my personal experience as a computational scientist, this exists because there are few structures in place that incentivize strong programming practices.

* Funding agencies do not provide support for verification and validation of scientific software (typically)

* Few journals require assess code reproducibility and few require public code (few require even public data)

* There are few funded studies to reproduce major existing studies

Until these structural challenges are addressed, scientists will not have sufficient incentive to change their behavior.

> Scientific code needs to have tests, a minimal amount of test coverage, and code/data used really need to be published and run by volunteers/editors in the same way papers are reviewed, even for non-computer science journals.

I completely agree.
i think this deserves a nitpick. when we say “makes” wrt a person, it means their gross salary/income. here, it refers to revenue. that’s misleading.
It's the outcome of having centralized power. Markets require competition to operate. We erected barriers to competition through regulation and lack of antitrust enforcement, so markets consolidated. Just enough competition to put up a fig leaf and claim they have some, not enough to actually be effective.

The entire dichotomy is a fraud. The problem is centralization, not whether the centralized power is a state or a corporation.
This is why everyone needs a therapist and as a couple you need one too. I definitely married the wrong person.
Solaris 10/11 are still heavily entrenched in the telecom/ISP industry. Not going away anytime soon.
Arguably Pieter might be at this point already and he doesn’t care. With the right tech and more people he could scale some of his businesses further but he deliberately doesn’t want that as its diminished returns for him, personally.
How to stream to a Facebook page and closed Facebook group simultaneously?
Hey guys,

Has anyone streamed from Zoom to Facebook page and closed Facebook group simultaneously without using third-party software?

I tried to find the way, but couldn't find anything.

If you've investigated this issue but there is no solution. The second question is:

Will 'Watch Party' in the closed group work for live broadcast on the Facebook page?

Thank you for your help.
I moved from suburban GA to suburban CA recently and my plan/price stayed the same but my service went from 75/25Mbps to 1/1Gbps.
I'll concede that most US cities are probably not worth traveling to for the architecture alone. most US cities I've visited do have some hidden gems though. it's not stuff you'd easily find researching for a vacation though. when possible, I try to stay with a friend who already lives in the place I want to travel too. I've always been pleasantly surprised by what a city has to offer when I travel this way.
I'm sure there are many, but cellular network coverage (industrial) and products to connect easily to it (consumer) both seem like limiting factors.
> So, while I dig a little further, I think it’s fair to warn people to take this with a grain of salt. Use the language yourself and come to your own conclusions as OP did.

I'm sure with the experience you have with Go, you can open a pull request to their notes to fix this issue.
Having had that exact experience - yeah, that can be a big problem too.

Researchers and engineers can work really well together, because the strengths of each role complement the weaknesses of the other, and I think it would be very nice to see that actually happen some day.
Code written in Oak still works in Java 14. You can still write `public abstract interface BlaBla{}` and it still works. If it doesn't work (due to reflection safety changes in Java9), it sill surely compile with newer compiler.

Another thing, are tools used to compile still available? I tried to compile my BCS Android+native OpenCV project and failed quickly. Gradle removed some plugin for native code integration, another plugin was no longer maintained, it had internal check for gradle version and it said "I'm designed to work with gradle >= 1.x < 3.x" and just refused to run under 6.x ... I would have to fork that plugin, make it work with newer Gradle or find replacement. I was obviously too lazy and stopped working on that project before I even started.

I'm sure if (would) put more effort into making the build process reproducible, it would work effortlessly, but I didn't care at the point. I wrote it using beta release of OpenCV that's also no longer maintained, because there are better, faster official alternatives available.
sort of. like linux is tricky because linux implies a set of compromise and automouse requires a different set
Sounds like simplicity for the win.

The complex house of cards we currently stand on seems fragile by comparison.