Better HN
topnewbestaskshowjobs
Log inSign up

acidbaseextract

576 karma · joined Aug 7, 2016 (10y ago) · 160 submissions

Submissions

comment 5y ago · link · parent

Some more great probabilistic python libraries:

https://github.com/datamade/usaddress - "usaddress is a Python library for parsing unstructured address strings into address components, using advanced NLP methods."

https://github.com/datamade/probablepeople - "probablepeople is a python library for parsing unstructured romanized name or company strings into components, using advanced NLP methods."

comment 5y ago · link · parent

> there is zero evidence of a lab leak besides circumstantial.

First, there are credible, credentialed virologists saying that the lab leak hypothesis has not been ruled out, and that it has been inadequately investigated [1].

Second, there are real anomalies in the Covid genome [2] that seem unlikely to have occurred naturally:

however, several characteristics of SARS-CoV-2 taken together are not easily explained by a natural zoonotic origin hypothesis. These include a low rate of evolution in the early phase of transmission; the lack of evidence for recombination events; a high pre-existing binding to human angiotensin-converting enzyme 2 (ACE2); a novel furin cleavage site (FCS) insert; a flat ganglioside-binding domain (GBD) of the spike protein which conflicts with host evasion survival patterns exhibited by other coronaviruses; and high human and mouse peptide mimicry.

In particular, the furin cleavage site is extremely interesting because it's exactly the type of genetic manipulation done in gain of function research that was ongoing at the Wuhan Institute of Virology. More on the FCS:

Because the presence and coding sequence of a FCS is important for pathogenesis, host range, and cell tropism (Nagai et al. 1993; Millet et al. 2015), the addition of a FCS into viruses has been an active area of gain-of-function research. A FCS can be easily inserted using seamless technology (Yount et al. 2002; Sirotkin and Sirotkin 2020) without any need for cell passage, as previously performed in experiments on virulence and host tropism (Cheng et al. 2019). Insertions to change the properties of SARS-r CoV viruses are documented by Ren et al. (2008) and Wang et al. (2008). Considering that natural mutations have a very low probability to result in a stretch of 12 amino acids coding for an optimized FCS without any known intermediate form in Sarbecovirus, an artificial insertion of the FCS in SARS-CoV-2 may provide a more parsimonious explanation for its presence than natural evolution.

In summary, the FCS confers SARS-CoV-2 enhanced human pathogenicity and has never been identified in another Sarbecovirus. At the same time, FCSs have been routinely inserted into coronaviruses in gain-of-function experiments, and we provide a hypothesis through which the specific amino acid sequence of SARS-CoV-2′s FCS may have been generated through cell culture.

[1] https://science.sciencemag.org/content/372/6543/694.1

[2] https://link.springer.com/article/10.1007/s10311-021-01211-0

comment 5y ago · link · parent

I'd give the a thumbs up to smart_open. Happily used it to have our servers parse data dumps of up to several hundred megabytes on user-configurable remote storage without drama. Seems like it could handle larger files without issue, but we haven't had need to push it.

I can't speak to fsspec, but their filesystem functionality (eg. `ls`, `cp`) isn't something that smart_open has and it does look cool.

comment 5y ago · link · parent

Multilayer interconnect or multiple layers of transistors?

comment 5y ago · link · parent

Describing a patch queue development workflow as a "slightly nicer interface to interactive rebase" does it a tremendous disservice. It's like saying "a database is a slightly nicer interface to a filesystem" — technically true, but a disservice.

comment 5y ago · link · parent

It seems like Phabricator supports this type of workflow, and I really wish there was wider popularity so I could push for it at work. The lab|hub style PR ends up with people falling into giant PRs that are difficult to review.

comment 5y ago · link · parent

Funny to hear that you learned patch queues with mq. mq was my favorite part of mercurial and it's how I learned to use patch queues too.

Thank you for maintaining StGit — I really enjoy it as a tool! topgit is fine, but quite heavy. I don't use stg much at work with squash merge workflows, but I love it for personal projects or when I need to work on a series of commits with intricate change sequencing.

38.

Stop Scrolling and Do the Work(ilyameerovich.com ↗)

1 points · by acidbaseextract · 5y ago · discuss

comment 5y ago · link · parent

Probably the lost ad revenue. No company wants to advertise on those streams. By breaking them out in way where advertisers could opt out of that stream category, suggestive streamers (a huge segment of traffic) would lose money for Twitch.

comment 5y ago · link · parent

https://conferences.computer.org/isca/pdfs/ISCA2020-4QlDegUf...

"Xuantie-910: A Commercial Multi-Core 12-Stage Pipeline Out-of-Order 64-bit High Performance RISC-V Processor with Vector Extension"

From "VIII. NON-STANDARD INSTRUCTION SET EXTENSION"

Targeting at various industrial applications, XT-910 enables a set of custom non-standard instructions, additional to the standard RISC-V instructions. The non-standard instruction extension can be categorized into two groups based on the purposes - memory access enhancement, and basic arithmetic operation enhancement.

A. Memory access enhancement

Memory access instructions usually account for a high proportion in the total number of instructions, so enhancing memory access instructions can directly benefit the overall performance. By analyzing the mainstream applications running on RISC-V, we observed that for the basic RISC-V instructions there is still quite some room for improvement in memory access related instructions.

First, we support register + register addressing mode, and support indexed load and store instructions. This type of instruction extension reduces the usage of the registers for calculation and reduces the number of instructions for address generation, thereby effectively accelerating the data access of a loop body. Second, unsigned extension during address generation is supported. Otherwise, the basic instruction set does not support direct unsigned extension from 32-bit data to 64-bit data, resulting in too many shift instructions.

I'm not certain if they break out the results by individual optimization, but in Fig. 20 in the paper it looks like all their tweaks add up to a 20% boost over the standard RISC-V ISA. Pretty huge.

comment 5y ago · link · parent

I'm glad I'm not in the situation of needing to make the judgement call, but Postgres' ecosystem might be part of the answer. For example, Snowflake has basic geospatial support, but PG has insane and useful stuff in PostGIS like ST_ClusterDBSCAN: https://postgis.net/docs/ST_ClusterDBSCAN.html

Foreign data wrappers are another thing that might be compelling — dunno if Snowflake has an equivalent.

I don't have any numbers but PG has served me fine for basic pseudo-warehousing. Relative to real solutions, it's pretty bad at truly columnar workloads: scans across a small number of columns in wide tables. The "Use Fewer Columns" advice FTA is solid. This hasn't been a deal breaker though. Analytical query time has been fine if not great up to low tens of GB table size, beyond that it gets rough.

comment 5y ago · link · parent

Eh, want is a subtle thing. There's a lot of research around women's declining happiness since the 1970s[1], which implies this change is not an unalloyed good. I blame marketing. A lot of marketing tells women what to want, and marketers certainly have zero incentive to steer women away from consumerism, a career to finance that consumer lifestyle, or the idea that such a lifestyle is "freedom".

[1] https://www.theguardian.com/lifeandstyle/2016/may/18/womens-...

comment 5y ago · link · parent

I'm not even Indian and it's shocking that anyone thinks unification around Hindi will happen. Good luck getting Dravidians onboard with cultural imperialism from the north. To my mind the legacy of English colonialism allows north and south India to remain unified because there's a "fair", common third option provided in cultural conflicts between the north and south. That is exactly what the English language is as a national choice.

comment 5y ago · link · parent

Really cool! Needs more upvotes! I do kinda this with Dropbox, but way more crappy.

comment 5y ago · link · parent

The style was obnoxious I agree. If you're interested in buying an M1 MacBook — I wouldn't buy without being aware of the need to watch SSD writes. It seems like M1 devices with low memory have scenarios that they will use their SSDs crazy hard.

comment 5y ago · link · parent

As you point out, the exact properties that make binary search algorithmically fast can slow it down on real computer hardware.

Branch predictors like low entropy (unsurprising) branches, but binary search is algorithmically fast because it maximizes the entropy (information gained) from the few branch checks that it does make.

comment 5y ago · link · parent

To echo the other commenters, mining is pretty gentle on GPUs insofar as constant use goes. ETH is memory bandwidth limited, so cards can be heavily undervolted and underclocked (while overclocking memory) saving power without negatively affecting hashrate. More power is wasteful. Typical ETH mining GPU temps are around 60C. I'd feel ok about buying a used card off someone who knows what they're doing mining.

The 3080 and 3090 are the singular exception. The GDDR6X runs extremely hot and frankly I think it's going to cause a bunch of early failures for even non-mining cards.

comment 5y ago · link · parent

I had a coworker with ADHD and I'm pretty sure he was prescribed stimulants although he was discreet about it. His patterns of focus were idiosyncratic, and occasionally he wrote code that just oozed "hopped up on addy" stylistically — particularly spurious and superfluous abstractions.

comment 5y ago · link · parent

Which points out the the real answer to the question: Nvidia doesn't want it solved. Not just that they don't care, but they're making more money now — so they don't want it solved.

comment 5y ago · link · parent

Here's a detailed review that answers that question: https://www.servethehome.com/ixsystems-truenas-mini-x-zfs-na... (the video linked there is also good)

On page 5 they tally it up as a $400 difference vs building your own.

comment 5y ago · link · parent

I built a 6 disk TrueNAS Raid-Z2 box two years ago and though it was inconvenient to build vs buying something off the shelf, TrueNAS has been excellent. Does what it says on the tin and continually improving with each release.

Their cloud sync and UPS functionality have been great (flaky power around here). Haven't dug into the TrueNAS' ZFS pool/snapshot management and jails management (FreeBSD's containers) functionality, but both are compelling once I get time and a good project for them. The NAS performing so well has me itching to upgrade to 10 gigabit ethernet around the house once prices come down a bit.

Also I ran the OS off mirrored thumb drives until recently. That was pretty nifty.

comment 5y ago · link · parent

https://en.wikipedia.org/wiki/Tontine

I had thought they were illegal, but Wikipedia says otherwise.

comment 5y ago · link · parent

Completely agreed on the inevitability of that ask.

At risk of extreme overkill the other way, something like Debezium [1] doing change monitoring dumping into S3 might be a viable industrial strength approach. I haven't used it in production, but have been looking for appropriate time to try it.

[1] https://debezium.io/

comment 5y ago · link · parent

Mentioned in another sub-comment, but Clojure's threading macros do this. They do it by making positional assumptions about the implicit argument: https://clojure.org/guides/threading_macros

comment 5y ago · link · parent

Clojure's "threading" macros are exactly this: https://clojure.org/guides/threading_macros

Elixir's pipe is the same thing, though Clojure has a few extra forms to facilitate other variable passing patterns.

comment 5y ago · link · parent

With the depth of your experience, what's your prosumer recommendation? MikroTik?

comment 5y ago · link · parent

Companies often want to release incremental, small features, not major UI overhauls.

Speaking as a product leader who has been in a position to decide on these, I'm not opposed to major UI overhauls, but many that have been proposed to me:

- Are motivated by a design team that wants to justify their jobs or make a mark on a product, with the UI considerations secondary.

- Have major issues and design weaknesses themselves.

- Throw out important aspects of functionality in an attempt to be "fresh and simple".

- Ignore that we had our last major overhaul 12 months ago, and that one was in response to the major ovehaul 24 months ago.

Requiring evolution rather than revolution is a hedge against these problems. I'm not generally opposed to overhauls because I'm familiar with the importance of UI. For example, I'm very unhappy with Robinhood as a trading platform, but damn, switching to Fidelity is painful because their UI is so terrible.

I wish I more consistently got to work with talented designers. I put a lot of effort into getting good designers, as poor designers can wreak havoc.

comment 5y ago · link · parent

Another vote for prettier for JS/TS. The primary projects I work on we made some slight tweaks to the default style (wider line width) and though some people were unhappy about adopting a formatter, there have been zero beefs with prettier's actual output among an opinionated group.

comment 5y ago · link · parent

How do you send someone a git repository as a file? Why would a tarball not work?

comment 5y ago · link · parent

I don't currently have access to the machine and files that I was doing it on, but I'll try those in the morning!
123456