skysight-inc/HackerNews huggingface dataset:
Yup, I would conclude that if the heavy smokers in this city have a lower rate of lung cancer than the rest of the inhabitants in that city that smoking doesn't cause cancer.
You are referring to things that were agreed to in international treaties and trade negotiations - again these sorts of things are super common
I would generally recommend poetry over pipenv.
If your C/C++ is sane, then your code was already written with lifetimes in mind and enforcing them is not a big deal.

There will be places, no doubt, that you cannot do it, but if you can easily cover 80% of the code, that is way better than nothing and then you can work on redesigning the 20% (perhaps even rewriting it in another language since it has to be changed, for instance to Rust). Same argument as Rust uses for unsafe blocks.

There have been specialized annotations for things like mutexes for a while in several projects which help static analyzers prove things too, so it is not new.
All of the images are taken straight from Wikipedia as far as I can tell. It certainly seems... strange... that this would break specifically in the UK and the US, at the exact same time as controversy about Churchill is rife.
I don't think they have a policy about whether we can contribute to open source software. They certainly don't care what we work on outside of work hours, and they probably wouldn't care very much if we contributed code to those projects inside work hours either, assuming it wasn't taking up time they'd prefer get used on company/client work.

So I think people's answers to your question will generally fall into three categories based on how tech orientated the company is and how big they are in general.

1. Companies that outright encourage open source work, perhaps even during work hours. I think quite a few FAANG companies are like this, and obviously the likes of Mozilla or Automattic would be as well.

2. Companies that disallow it/try to put limitations on what their employees can work on. Usually tech companies, though sometimes just large organisations in general.

3. And those that flat out don't care/don't control what employees do outside of work or don't know what open source is. My experience is that many agencies and mom and pop companies tend to be like this, as do those that are completely unrelated to the tech industry.
Why would it drop engagement?
> he willingly published a piece that he said could be dangerous.

That’s rich. No, he did not say that. He said some readers may find it dangerous. It does not mean he himself finds it dangerous.
I have undergone several ketamine treatments for depression. I have had 1 positive session out of 9 total.

Some trips were 'fun' others were not. My first experience with it was quite rough.

The positive experience went as follows:
pure nothingness. (I refer to it internally as `#cat brain >/dev/null`)

It was incredible. Hope that I can silence all the noise in my brain. It was peace. It may have been zen. I've wanted to kill myself just so I can return to that level of peace. I haven't because I shouldn't. But it gives me hope that I won't feel this way forever.

I have tried a variety of audio therapy and cognitive direction while undergoing treatment to assist the process.

Examples include:
(a) concentrated positive thoughts {thinking of a happy place/directed peaceful imagery}
(b) "not thinking" just let the trip take me wherever it goes. {this may be the best course of treatment}
(c) soothing sounds {nature sounds, music used while meditating, etc}
(d) guided meditation

The most recurrent theme I experienced (the trips would include visual and auditory hallucinations) would be repeating geometric patterns and a techo/dub-step style of music. These were pleasant experiences that I didn't mind, although I felt that they didn't quite do the trick.
> This is abstracted in YAML so that anyone who uses any modules does not need to know the language it is written in. Only the YAML syntax.

And the declarative and imperative language you've built on top of that.
Is he being accused of disclosing information that got someone killed?

Or of assisting a hacker?

If he's not accused of doing the first, then this is hardly relevant to his case.
This is awesome. Do you have a template for the document? Any other tips like how did you find the name of the appropriate legal contact at PayPal?
interesting! something like JSFiddle but more integrated to your project?
Repository of mahjong stuff from the /mjg/ threads
You might have issues with the toolchain kernel headers being too new.
We could, or we could just say that Taibbi has very little credibility when it comes to declaring moral panics. Reasonable people can, I guess, disagree on this.
Well, it's what most FB users aren't reading. My theory/hope is that they visit normal news stories outside of Facebook, so when they see the same headline on FB, they think "ah I've read that already". Meanwhile when the user sees a click-baity title on FB, they haven't heard about that on mainstream sites, so they end up clicking on it...
I used to say the software project would be done two weeks after the last change to the requirements and specifications. No more "just one more thing".
Britain’s monuments are coming under scrutiny – and so is its violent history
Nonlinear Junction Detector
I've seen Mitogen, but that to me looks like lowlevel ssh paralelization library. Great project, but it doesn't seem to provide any abstractions, for example declarative package manager wrapper, that would work on multiple linux versions.
RTFM

https://www.sqlite.org/security.html
Can you explain more? I deal with a shocking number of poorly supported binary formats, and this tool looks awesome. Buuuuttt... a lot of these formats are “headers with offsets to structured data”. They’re intermixed logs, so multiple incompatible bi art formats are freely mixed in the same file.
I like Janet, and the internals matched well with what I had in mind.

It doesn't require root, though the root mode works a bit better at the moment due to it having better sandboxing, but not fundamentally so.
Bugs found in database management systems with SQLancer
Social Media works by curating content that a user like and building a safe bubble around the user by showing them the content that will positively reinforce their belief systems. Thereby keeping them shielded from views that are challenging or contradictory to their belief systems. Creating a positive reinforcement loop for the user to depend on it even more.
wow! never considered books as a source of information for this. This could be super useful, something that google doesn't currently do.
> rightly

Case in point about the difficulty in covering politics in a manner most would consider neutral.
But he always pulls his punches when it comes to the right. His book, "Ship of Fools," is the perfect example. He's insincere.
and the address generation units do double-duty as low-latency, high-throughput add-and-shift units, via the LEA instruction.

For example,

lea eax, [ecx+ecx*8+42]

is equivalent to eax = ecx * 9 + 42, so you get a multiplication, an addition, and a move (without destroying the source register) in one instruction.
What else would you like to see? I put screenshots on homepage but I want to make sure homepage is as explanatory as possible.
Remote and WFH Tax Assistance
Op is python programmer who is using python for everything for more than 13 years, so there you have the reason. I am also writing my own programming language .. in python: https://github.com/Bystroushaak/tinySelf
Social Media works by curating content that you like and building a safe bubble around you by showing the user the content that will positively reinforce their belief systems. Thereby keeping them shielded from views that are challenging or contradictory to their belief systems. Creating a positive reinforcement loop for the user to depend on it even more.
> be contradicting one side or the other.

Or both. Both American parties are full of contradictions.
Have you considered attaching a kernel debugger, or symbolicating those panics?
That's pretty awesome. I wonder how this is the orange guy's fault?
Would be awesome if it had a selector to change the mode while keeping the same grid selections.
Are you equally concerned about left-wing activist lawyers trying to murder four cops with a molotov cocktail?
Surprised you're being downvoted.

Let your mom know that the majority of violence against most races comes from other members of the same race, especially in highly segregated societies. For example, 84% of White victims are killed by Whites, and 93% of African American victims killed by African Americans.
I can comfortably reach 3 keys with each hand. Its awesome. I bind stuff that isn't really used much during normal typing to the remaining 3 thumb keys. I would never go back to a keyboard without a thumb cluster after using this.

The Keyboardio is a similar idea, with the drawback IMO that its not ortholinear, but it has a better thumb cluster.

The Dactyl Manuform is another great option. The shape of it makes it easier to reach all 6 thumb cluster keys.
Seems like we need to automate more of the food industry.
It is indeed very surprising to see the sharp drop in Covid-19 cases in Germany.
If I understand correctly, this is also not a randomized trial. I am not sure how they constructed the "control" group here to which they are comparing. It is a synthetic group where they extrapolate cases from n-7 days where n is the day of introduction of mandatory use of masks?

It is hard to not be tempted to think about several confounding variables that could have played a role in the drop that is seen, like people being more vigilant, following distance guidelines, working from home more often, the list goes on. Nevertheless, it was an interesting read.
Hi - you will need to pip install the requirements into a virtualenv. Then set $PWPWORKERS (eg to 1 to start with) and run serve-gunicorn-flask.sh. That will get you a gunicorn instance up and running. From them on you'll need to set up nginx, pgbouncer and postgres. I used unix sockets between all of these but using TCP/IP is fine. The data generation script is checked in, as is the schema.

Before you start you should know that Tudor M (see a PR on the project) experimented with changing the query patterns (to three queries, but not a count(*)). It doesn't change matters and the basic reason for that is that nothing has changed - simply having more blocking or non-blocking IO is irrelevant to throughput - except that the more yields you have the more problematic your response times are going to be under load.
I’ve long thought it would be great to map the stars further out than Earth’s orbit using parallax, but thought at that distance you’d need several observatories; but this should be good for stars at right angles to New Horizons and Earth.

Of course just having one set of observations a long way away is also amazing. From the point of view of interstellar probes it was quite strange the distance to local stars had such large errors.
That's because the CIA and the Department of Defense worked around the clock to prevent that from happening. Former Director of National Intelligence James Clapper wrote in his book, "Facts and Fears: Hard Truths from a Life in Intelligence"

> After Manning's arrest, Assange seemed intent on dumping as many classified documents onto the internet as he could, as quickly as he could. In my last few months as USD(I) and my first few months as the fourth DNI in five years, my time and attention were also taken up by the efforts at DOD and CIA to deal with these document dumps. Teams were on standby in both places to sort quickly through whatever was exposed in an effort to find names and identifying details for people in Iraq and Afghanistan who were helping the US war effort, and then try to rescue them before the Taliban or Iraqi insurgents could find and kill them.
No way are you fitting a normal operating system on there.

You can certainly compile rust to fit on there without any trouble though, you just have to try... the same way you have to try to compile any language in that sort of environment really. You can get to about 30kb while still keeping the standard library [1], you can get something with a fully featured web server in a few hundred kb [2].

[1] https://github.com/johnthagen/min-sized-rust

[2] https://jamesmunns.com/blog/tinyrocket/
Using something the way it was designed isn't an inherent virtue nor a reason to do so. Nothing is designed perfectly.

> "grey-rectangle width-500 clickable"

Oof, this is starting to feel like working with a Microsoft product.
https://music-grid.surge.sh/#1024-2049-2624-0-512-3330-2112-...
I agree, he does not believe it to be dangerous. That's kind of my point. He does not believe it to be dangerous, but many of his readers and even black journalists have acknowledged it is. At this point you either accept that black journalists are saying this piece is dangerous or you reject it, you can't pretend it to be indifferent.
YAML may be human readable, that doesn't make DSL built on top of YAML by people who know shit about building DSLs less pain. You don't really write YAML, on the higher level, you interact with Ansible via interface, that on the lowest level uses YAML.

> I see no practical benefit to requiring devops people to use one scripting language over another, when there are so many equivalent choices to accomplish the same tasks.

I actually agree. I am a python programmer, for me, python makes perfect sense. Blogpost doesn't say that you should use python, just that I find pyinfra nice.
By "possibilities", I mean the possibility as an alternative to (or major safety improvement on) C++, which is what the article is talking about: "Microsoft has deemed C++ no longer acceptable...needs to move...best choice on the market today is Rust".

Ada is a possibility, but it's just not there and does not show signs of being there soon. There's probably not a net movement from C++ to Ada today, and there is no reason to expect differently over the next 5 years.

Rust is not a sure bet either. Lack of major real systems is a big question mark. But basically the article's thesis makes sense to me.
It should only be feared if:

1) You believe that the press did a good job during this unusual period.

2) You consider some of the sins of the past to be the fault of partisan press, at least in part.
I feel this! I use GitHub stars more than I admit to, especially when it comes to unique libraries that I'll never find via google.
This is most certainly relevant. It may not be proof, but it's notable evidence; and not the only one.
I like this one. It has a nice rhythm to it, like a chase scene in an 8-bit video game.
> Which problems should we be solving? You cannot use the scientific method to answer that question. The best you can try and do is use empirical evidence and science to strengthen your position, in an attempt to convince others and/or yourself.

Demonstrably false. This belief is poisonous and should be avoided in all cases. (ask yourself how you decide whether to fix your plumbing or to buy a new couch, for instance, on a limited budget.)

We evaluate the problems that we should be solving through a cost-benefit analysis. We can estimate the expected value of various options on a decision tree and estimate the cost of various problems to society. We can ask constituents to estimate the dollar value of the harm they face from the continued existence of various problems. We can also ask them to estimate how much they would be willing to pay from their income, to solve a given problem. This gives a subjective estimate based on individual preferences. We can include weighted objective measures whenever possible.

The explanatory power of various models can be tested and argued for/against in rational good-faith debate. For any equally favoured models that suggest a particular allocation of resources, we can perform competing tests e.g. a county can adopt one policy for a given time, while another county adopts a different policy. After the testing duration, outcomes are evaluated and the best policy adopted by all.

Where there is an inability to evaluate models comprehensively and it is still difficult to form conclusions as to what problems should be addressed, we can ask interested/affected parties to take part in a prediction market, in which they can place bets on likely outcomes of various policies. We adopt the policy and solve the problem for which the majority of bets indicate a high probability of success. The winners of these bets keep their winnings.

This is a rudimentary form of how the scientific method is applied to social problems. This kind of analysis is the most rational and effective tool when running one's own life, household, company, university, government, planet.

> The best you can try and do is use empirical evidence and science to strengthen your position, in an attempt to convince others and/or yourself.

1000 x NO! Please do not ingest such a poisonous idea. We use the data we observe to determine the beliefs we should hold; we do not use beliefs we hold to tell us what data to observe.
Try listening to your parents instead of educating at them.
CSS files already have source maps, which give you the map between the original and compiled class name.

You need better developer tooling that would show the pre-compiled class name when viewing the DOM. Feeds into the "better developer tooling" concept.
Ask HN: How does your company/industry handle supply chain changes?
I had to devote a large percentage of a previous job to juggling supply chain changes from 3rd party suppliers with the expectations of my customers. (We're talking semiconductor components.)

Part of our value prop was giving our customers better-than-average lead times for last orders and deliveries. We were somewhat able to do this by sticking to mainstream technologies, but we were a bit player & sometimes had to violate our policy.

We used a standard document to communicate scope, SKUs, timeframes, reasoning, ... and would issue these to our salesforce to personally insure our customers got the word.

It seemed like a good system, albeit old-fashioned.

This has got to be a cross-industry problem and not limited to physical, requires-some-integration products. Software APIs fall into the category.

Is there an industry out there that does a good job of this? What's a best practice?

Thanks very much.
Mozilla is funded by google.
I downloaded Blade Runner 2047 in AV1 (search for `av1` in qbittorent), tiny size and it looked fantastic! I can't wait until more releases are made with this codec. Youtube will save a ton of money and people on networks like Ting will be able to stream content and not pay ridiculous amounts of money.
If you were an investor in Facebook, instead of Facebook investing excess cash, wouldn't you prefer Facebook to return the excess cash to investors? Then if you agree that investing in startups is a winner, you could reinvest the cash through some venture fund? Or if you disagree and feel that there's a better use for the cash, such as investing in index funds or paying off your student loans or buying a yacht or whatever, you could do that instead.

One of William Bernstein's Efficient Frontier articles summarises some research on this:

> In the December issue [of Journal of Finance] Jarred Harford found that cash-rich firms destroyed 7 cents of corporate value for every dollar of cash reserves held. How does this happen? Let’s take two firms, both of which are considering a project or acquisition of marginal value. The first firm is cash-poor, and must obtain the capital from a bank, or a stock or bond issuance. This necessitates scrutiny of the project from the outside. The second firm is cash-rich, and thus requires no outside scrutiny—they can simply cut a check. Clearly, the cash-rich company is much more likely to make this potentially unprofitable investment.

> Rajan, Servaes, and Zingales look at the performance of large conglomerates, and find that investment capital tends to flow most readily to its least productive divisions. The more highly diversified the company (i.e., the less related its component businesses) the more dramatic the effect. What is most interesting is that Harford's research found that cash-rich companies are more likely to make diversifying acquisitions—in other words, to turn them into the same companies that this paper shows are the least efficient.

> [...] the February JoF contains an absolute gem from La Porta, Lopez-de-Silanes, Shleifer, and Vishny on dividend policy around the globe. Their primary finding is that in so-called "civil law" countries, such as most of Latin America, Scandinavia, and southern Europe, where investor protection is the weakest, dividend payouts are low. In so-called "common law" countries—basically the world’s English-speaking nations, where investor protection is excellent—payouts are high. Which gets back to Graham’s basic premise; investors prefer dividends and take them whenever the law and culture allow. The authors reinforce the points made by Graham and the other pieces; "failure to disgorge cash leads to its diversion or waste, which is detrimental to outside shareholders’ interest."

> But what is most remarkable about this piece is its tone, which is almost Menckenesque in its description of modern corporate ethics. They describe a Hobbesian world in the kind of plain English rarely seen in academic finance; "Firms appear to pay out cash to investors because the opportunity to steal or misinvest it are in part limited by law, and because minority shareholders have enough power to extract it."

-- http://www.efficientfrontier.com/ef/700/agency.htm
Honestly I don't understand the python community anymore wrt. their module system. It looked fine when I learned programming with python but the more I learned about it and what is possible the more I got irritated.

Pythons module system is in the end in my opinion fundamentally broken, and the python virtual env's are also in the end just a hack to somehow make it work. I think it's kinda sad that the hack to somehow make it work became the standard solution.
Author here: it's an extremely obvious application! 'saagarjha points out that I chastise myself later on for missing it while trying to contrive samples. I'll blame that one on writing this post in the middle of the night :-)

With respect to the tone: it's a little flippant, sure. I work professionally on research programs that involve binary translating x86 (and other CISCs) into various representations for program analysis; what you're seeing is some of my frustration there bubble up.
Haha!! I thought it was only me using sqlite as my go-to file format in apps.
I do use Docker, but that is a tool for completely different purpose. I need something else for configuration of all my physical machines; virtual server, physical server, several notebooks and so on.
Matt Taibbi's hyperbolic demagoguery is so notorious CJR actually published a piece asking people to stop dunking on him so much.
Mountain bike reviews will frequently mention wheelbase, and most brands I’ve been perusing lately will mention wheelbase in their geometry section.
Even with the best of intentions, DOM structures can change without advanced notice. Instead of scraping via DOM structure, why not screenshot a webpage and use OCR? I think the solution to the scraping problem is being viewed narrowly.
> Sounds like the NSA who couldn't point to a single instance of stopping any type of terrorist attack/operation despite collecting anything they could get their hands on.

This can’t be true - there are plenty of sources citing foiled plots and we see similar publications from other governments (EU and beyond) citing similar justifications. A quick google yields:

https://abcnews.go.com/Politics/nsa-director-50-potential-te...

https://www.politico.com/story/2013/06/nsa-leak-keith-alexan...

https://www.independent.co.uk/news/uk/crime/gchq-foiled-terr...