skysight-inc/HackerNews huggingface dataset:
This is pretty good. I seeded GPT-2 (1.5B) with the first TWO sentences from this biomedical passage [source: https://www.ncbi.nlm.nih.gov/pubmed/19254780 ; I show the remaining original sentences, for comparison to GPT-2].

<start>
Yeast cells lacking the mitochondrial NADH kinase encoded by POS5 display increased sensitivity to hydrogen peroxide, a slow-growth phenotype, reduced mitochondrial function and increased levels of mitochondrial protein oxidation and mtDNA mutations. Here we examined gene expression in pos5Delta cells, comparing these data to those from cells containing deletions of superoxide dismutase-encoding genes SOD1 or SOD2.

Surprisingly, stress-response genes were down-regulated in pos5Delta, sod1Delta and sod2Delta cells, implying that cells infer stress levels from mitochondrial activity rather than sensing reactive oxygen species directly. Additionally, pos5Delta, but not sod1 or sod2, cells displayed an anaerobic expression profile, indicating a defect in oxygen sensing that is specific to pos5, and is not a general stress-response. Finally, the pos5Delta expression profile is quite similar to the hap1Delta expression profile previously reported, which may indicate a shared mechanism.
<end>

Here is the generated output (following those first two sentences; I needed to do this in Opera; Firefox did not work, possibly due to add-ons and settings).

<start>
The results show that POS5Delta cells exhibit decreased expression of two of the genes, SOD1 and SOD2, but increased expression of several other genes, including aldehyde dehydrogenase subunits, NADH dehydrogenase subunits 2 (ODU2), cytochrome c oxidase isoforms (OXO3), and cytochrome b oxidase/OXO1, and increased expression of aldehyde dehydrogenase subunits 1 (ODU1) and 1a2. The results also show that loss of two genes, SOA and SOA1, and two genes, SOA and SOA2, leads to decreased expression of aldehyde dehydrogenase subunits 1, 1a2 and 1a3 and increased expression of ODO1 and ODO1a1. The results show that loss of two genes, ODO2 and ODO1b1, leads to decreased expression of ODO2 and increased expression of O
<end>

The output is grammatically / syntactically correct (but o/w nonsensical: e.g. there are no genes ODU1, ODO2 ...).
Chris Sacca took advantage of a similar glitch in the early days of online brokerages. [1] The leverage yielded phenomenal returns before it sent him into $4M of personal debt. It took him years to climb back up to $0.

[1]: https://www.financemagnates.com/forex/brokers/chris-saccathe...
Another legitimate use related to your usecase: check crypto conversion rates without disclosing your interest (as some people and some countries have a negative view about crypto): http://4vhxreysjshbfrib.onion/
(I work at OpenAI. Before that, I worked at Stripe. I've spent most of my software career thinking about how to build effective engineering cultures.)

I think this code is actually well-written and maintainable. This is proven in practice because we've adopted it many places in OpenAI, and I've personally found it very easy to adapt to other use-cases (certainly much more so than the from-scratch Transformer implementations I've written!).

As https://news.ycombinator.com/item?id=21456605 points out, the complexity of the code arises from the complexity of the underlying algorithm. Complexity due to software engineering concerns, like Tensorflow scopes, are elegantly handled. [edited for clarity:] Writing a Transformer in 174 lines of code requires a lot of deep thinking about the right underlying abstractions.

> but essentially as soon as you enter the 'ml engineer/research engineer/research scientist' layer, it's doomed.

We actually don't do this! Our only official technical title is "member of technical staff". (People sometimes choose to self-identify as an engineer or researcher, so you might see that on LinkedIn, but we don't have a distinction internally.) Everyone is responsible for their own code, and people care quite a bit about writing code that others can build on.
Just in case someone doesn't know about r/wsb and thinks it's just a degenerate gambling community.. they're sort of right but there's more to it. It is a community centered around self deprecating humor, basically people enjoy trying to become successful at trading, but they know the reality is that they're not very likely to succeed, so they share their trials and tribulations on r/wsb to make jokes about their own stupidity.

Some people are richer, either because they have good jobs, inherited or had prior success, so they lose more and the community enjoys their posts more.

The idea that you would do something stupid that costs you more money than you could afford (and possibly gets you into more trouble) just so that a group of people can laugh at you and make jokes at your expense is ridiculous, but I get that some people really crave that sort of attention. It goes a bit far to say that they get "social approval" from the community though.
You're talking about a library that is forming the base of multithreaded applications. 99% of other libraries don't have nearly as much unsafe
Because (at least in the US), money is power.
European Physical Society which produces this journal is unrelated to EU, national physical societies have its membership directly without involvement of their countries' governments. IOP Publishing which publishes this journal is based in UK. "IOP" in "IOP Publishing" is Institute of Physics which is also based in UK.

Equating being "a European nation" with EU membership is surely a trolling.
The Time When Screens Were Expensive – and Computers Used Small Screens
It turns out that radar guns are pretty accurate and don't really lose much calibration over time. They simply don't see widespread problems with misbehaving radar guns.

So when the court hears someone complaining about calibration or whatever, >99% of the time it's just trying to weasel out of a ticket on some technicality, and the person was legitimately speeding. The court would have to be stupid to fall for this ploy. Remember, the standard for traffic court violations is not "beyond a reasonable doubt", it's simple preponderance of evidence.
Cell phones are never sold with a speed of service. How could they be? Your speed is determined by congestion, the proximity of the tower, etc.
Equity is to techies what exposure is for artists: a way to con them into busting their humps for the promise of a big payoff that almost never materializes.

I got burned during the first dotcom boom and learned my lesson. Demand the biggest salary and benefits package I can get, and walk out if they offer equity in lieu of actually paying me.
Ask HN: How to Deal with Lowballed Offers?
How do you negotiate if you received a super low balled offer from a FAANG or similar company. Is it good move to accept the offer due to the brand value?
Pretty sure you can do this via https://www.marqeta.com/api (disclaimer: I haven’t personally used; assume you need some $ to get an account).
This is the thing @lotsofpulp that everyone else seems to be missing. The amount of your income that is available to spend on goods after all of your other fixed expenditures. This has been so solidly tracked in terms of stagnant wages and applies to the SMB in the area as well.

Open a grocery and try to staff folks and have consistent supply of goods. Deal with shrinkage, spoilage and inefficient supply chains.

Meanwhile Wal-Mart (or other MNC) has a ton of capital, their employees are on social services and the cost of their goods for this town's store is in a negotiation of not one store but thousands.

People spend what they can. The middle class shows us this in their consumption of target over walmart and other such brand divides.
Take advice from someone who has been investing for the past 10 years and has made ridiculous money while these perma-bears are still poor.

You can’t time the market. Keep buying stocks like they will continue to go up, at the end of the day, if the market crashes and values tank, it’s no big deal. Keep holding your stocks, they will recover, in fact buy while everything is super cheap. If you would have bought back in 09-10 when everything was cheap you would have made mad money like me.

If you are hoarding cash right now, do so with the intent to buy in the next major crash, whenever that is.

Just keep investing, entering at age 30 you are late to the game and need to make up for lost time.

You don’t “lose” until you sell, even if your parents lost value in 09 they would have recovered it all and more after a few years.
There's a big difference between legal and ethical.

And it's not creating liquidity in the market for inventions. It's creating liquidity in state-sanctioned and enforced monopoly rights of inventions.
Cool this is awesome !

I’m going to try to retrain this with a twitter dataset called sentiment140 ( I have already processed it with gpt2 345M).
> forfeit the right to shield yourself behind the document you're trying to tear up.

The Supreme Court disagrees with you. They have taken on cases like this, many times. And they have ruled that one does not forfeit their rights, even if the person does not believe in those rights.
Thanks for the comment @blacksqr!

This calculator is outdated -- the current price of storage oscillates around $0.01/MB. The maximum single chunk size is also 10MB now, and you can send as many chunks as you like.
Fb2iCal – Convert Facebook Events to iCal Files
https://fb2ical.com

I created this little app for my own needs. It takes URL of Facebook event (or event ID) and tries to convert it to iCal files that can be imported in your calendar.

This will work quite well on mobile as it can be used as PWA (tested on iOS). The app stores retrieved files, so you can use the app instead of the calendar if you want to (very basic one though).

I tried to keep things simple with this one, so it has no logins, no database, just local storage. I didn't want to mess with complicated build setups. There is no Facebook API involved. The app basically requests the page and tries to parse the info, this also means that it might not be always reliable. It did work 80% of time for me. I'll probably use their API at some point so it can be more reliable.

For any feedback just submit an issue or contact me directly.
I’m very sorry to see someone who obviously cares so much to be defending this code. This does not follow best practices, and using complexity of the underlying algorithm is just an excuse. Complex code can be beautiful and well documented.

Writing a complex method in 174 lines is not elegant nor beautiful. Writing a well documented file that can take an engineer in a different specialty and bring them up to speed in 1,000 lines is.
It seems like the liability issues here with life-critical equipment should make any lawyer put a hold on this idea, but apparently not?
They do have a device counter, incremented on every usage, to help detect cloning. It's up to the server whether to enforce the constraint that the counter increase on every usage. Unfortunately this means that the token does need a little bit of memory.

I don't know whether FIDO2 has the same design.
I actually disagree with you here. I don't think the code is unreadable, it follows standard notation used in Machine Learning. If you read scientific papers you will notice that e.g. variable names are the same as those used in mathematical formulas that everyone in the field is familiar with. The same goes for parameters, function names, and so on. They are standard notation/naming and only look confusing to people outside of the ML field. Giving them long uncommon names would actually be more confusing.

As someone with experience in ML research I think this code is quite well written compared to what you typically see (a single function with hundreds of lines and dozens of if statements). I can immediately see what any of the functions does, and I haven't even read the paper.
It was priced based on the prevailing price, whereas the actual value fluctuated depending on the economic state and interest rates in the various countries. The UK wasn't the only country which had this problem; the allowed margin of variation had to be massively expanded shortly afterwards to keep a bunch of other European states in the ERM.

Also, the fact that the ERM was structured in a way that effectively benefited Germany over the other members was probably a major contributing factor. Remember, this was right after the fall of the Berlin Wall and German reunification which had huge economic consequences - East German industry was basicsllly wiped out and a huge amount of money was spent on rebuilding its infrastructure to West German standards. Germany got to set its interest rates in a way that minimised the impacts to them, and everyone else was dragged along.
because a lot of it is meant to correspond to math equations so variables names like w, u, v , b ,g match the equations in the papers ? I actually think it's pretty readable, as long as you know what it i supposed to implement (i don't; but i imagine they are implementing a complex graph), and short names help figure out where things go in and out in one screenfull.

Complex graphs are literally a spaggeti of arrows, and this format actually is pretty readable (even though in pytorch it would be more readable). I guess they leave comments out because it's not really possible to understand each line on its own (unless it's an implementation detail); you have to read the paper to know what s going on
The NFL had a specific exemption added to the tax code just for it, so it really isn't a good example anyway. Nobody else could form such a "non-profit" without a literal act of Congress.
Why gold and not 22 LR or 556 NATO?

At least for me, there's not a huge gap between "all the other investments crater to the point that my 10% in gold is useful" and "oh boy looks like things are collapsing now", if that makes any sense.
The article is so confused about the underlying reasons for choosing a decentralized (among Libra members) ledger that it boggles the mind.

It's a legal move. Not a technical one.

Regarding privacy — it seemed obvious to me that privacy solutions for Libra would be build on top of Libra (the so-called "Layer 2") and not within the core protocol.

Stephen's critique here is bizarre and lacks context.
'The Rise of Skywalker' Will Address the Toxic Rey-Kylo Relationship
I understand what you mean but please understand that this code is targeted at people which would at least have some background knowledge, like having read the seminal Transformer paper, "Attention Is All You Need", https://arxiv.org/abs/1706.03762

Most of the code becomes really straightforward once you have.
A lot of the magic constants are the result of multi page proofs (like the GELU constant) that would be impractical to put in the code.

Deep learning research really is a field that requires some amount of knowledge, and it's normal that you don't automatically understand state of the art code. Here is the GPT2 paper
https://d4mucfpksywv.cloudfront.net/better-language-models/l...
Well, that's what you get when you attract idealist people by pretending your motto is "Don't be evil". They keep the company accountable for their promise.
Yes, and exactly because FIDO2 is backward compatible with U2F the definition of UV can't be ambiguous, otherwise you could have older U2F keys that pretend to do FIDO2-UV when in fact they aren't.
CRISPR has such a vast potential to radically change the world (for good or ill) that any significant advances are going to be newsworthy.
Velocity is the exchange of dollars domestically between people and companies.

From FRED:

> The velocity of money is the frequency at which one unit of currency is used to purchase domestically- produced goods and services within a given time period. In other words, it is the number of times one dollar is spent to buy goods and services per unit of time. If the velocity of money is increasing, then more transactions are occurring between individuals in an economy.

Less interaction and transactions are happening between individuals because it is mostly debt to large/global corporations or GDP gains and productivity gains going to the top wealth class.

Essentially low share of GDP productivity and gains are going to labor, consumers have less money to spend due to wage stagnation due to less share, consumers then exchange less money with one another. By itself it could be explained as many things, but coupled with the debt economy and low wages and low worker share of GDP it impacts it.

Real wages and purchasing power have barely budged in 40 years for lower/middle class. [1]

[1] https://www.pewresearch.org/fact-tank/2018/08/07/for-most-us...
Pillars of Great Brands
As a huge fan of OpenRefine, I want to say thanks for introducing me to Sequel Pro.
I don't know this specific site, but it's fairly common to put basic (or less basic) measures against such curl-ing.
The key advance in this work is showing a way to edit without any external inputs to the cell (in the form of DNA templates). This suggests the possibility of in cell feedback systems. I don't get the best vibe from all the rush to market and focus on correcting generic disorders. Is that really what gene editing is for?
"Impede" is the way the word is being used; see definition 2 of the verb here: https://www.merriam-webster.com/dictionary/holdup
I'm not suggesting such a tax generally, just in the cases that people are already so keen to regulate in other (IMO even more harmful/ridiculous) ways.
I was just using 6 & 9 as example values from the ether (maybe Hendrix) - not in reference to any specific loan type.

And yes, Prime is low today.

Also, if you can make a play for real property: buy dirt. It's a good financial play to build equity/wealth.
"Soros did not hurt UK economy. Just bruised some egos at the Bank of England by showing their stupid mistakes."

From the article:

"At 11AM, the British government announced they would increase interest rates 200 basis points, from 10% to 12%. ... [later that day] an interest rate increase of another 300 basis points, from 12% to 15%."

That means millions of ordinary people suddenly, not even overnight but on the same day, found themselves paying 5% more on large loans such as mortgages. To make completely clear, that had a very significant negative impact on a very large number of ordinary people.

Also from the article:

"The cost to British taxpayers was estimated at roughly £3.3 billion."

That's an average of over £128 per tax payer (3,300,000,000 / 25,700,000 tax payers in 1991-92 according to [0]). Again, to clarify, tax payers are not some "egos at the Bank of England", but ordinary people like me and you.

Or to summarise in simpler terms, a small number of the very rich got significantly richer by making a large number of ordinary people significantly poorer.

EDIT: Corrected figures. Thanks @philipkglass for spotting.

[0] https://assets.publishing.service.gov.uk/government/uploads/...
I'm slowly dying of America. Thanks for asking, though.
Ephemeral Storage Solution with Node and Redis
Introduction to YAML: Creating a Kubernetes Deployment
Students loans are a pretty American thing. Not all engineers come from US. Many of us can afford to have opinions.
This is also how many silicon chip manufacturers check for defects. I remember attending a seminar on it in graduate school. Used an ultra fast laser to create a shock wave and then measured the reflections which came back.
the first ten characters are, as far as I know, arbitrary, but the following ten are the first ten plus one dot. Then the rest of the alphabet is the first ten plus two dots
TypeScript 3.7
This seems like a pretty good write up, but I do wonder if it’s necessary? I use grub hub and Uber eats fairly often. If I want to search for a restaurant I would hope it’s just doing a match on exactly what I search with minor spelling checks.

If I’m looking for a dish or cuisine, why not display it in a visual fashion like Uber eats? There’s usually not that many options to actually sift through.

For example the first graphic of the embedding space has a very clear mixture of restaurant names and food items. Feels a bit messy.
"Nearly all men can stand adversity, but if you want to test a man's character, give him power."
Anyone who has managed to figure out anything substantial about SwiftUI has done so purely through a labor of love.

It's a really amazing system, but the sparseness of proper official documentation, Xcode bugs (like marking errors on a line far away from where the problem actually is) and the seemingly secret Swift magic that's used to implement some features, means everyone is stumbling blindly in a labyrinth, relying on each other's shouts to navigate.

Resources like this post and https://swiftui-lab.com and https://mecid.github.io are a godsend.
There is nothing mathematically unsound, I would even say that it should be trivial to transition to a permissionless setting. You just need to implement a proof of stake algorithm. The only questions are: what scheme do we want to implement and when does it make sense to transition. Libra launching as permissionless would be DOA.
> How and how well do you keep track of your mental health, particularly for those with a history of mental health issues

I do some good old-fashioned journaling by hand. There's never been software for this sort of thing that I liked, and it feels more cathartic to write it by hand than to type it out. It does get hard at times, admittedly, with things like a lackluster job searching experience, friends also having issues, and a host of other issues that you run into in life, but such is life. I'm just trying to do my best to get through it :) Actively making an effort to spend time around others definitely helps.
My current mental health has a direct relationship with sleep and exercise, which I guess means that it's as good as it can be (i.e. everything is more or less under my control). That being said - it's pretty good.
Please elaborate. Genuinely curious.
The core and the surface have gone around the Sun the same number of times, but a clock at the core would record less elapsed time for each orbit around the Sun than a clock at the surface.
I grew up in rural Texas and when I visit back home I've noticed the farm stands are considerably worse than what I remember them being growing up. On the other hand I live in rural New England now and the farm stands here are excellent, albeit strictly seasonal.
> CN bookkeeping’s suspect...

IMO Americans are biased to overweight this. It doesn't matter as long as China can keep up appearances better than other countries for long enough. Investors will happily invest in a bubble believing that they are smart enough to get out before everyone else if things go south.

Bad bookkeeping doesn't keep the NBA and Activision from kowtowing to China, I don't see why it would keep people from investing there either.
Bandwidth is finite. On mobile LTE networks, about 35 Mbps is currently pretty average.

The problem is that mobile operators are incredibly underprovisioned. If your plan offers 1 GB of LTE data, at 35 Mbps, you can burn through a monthly allocation in 3.8 minutes. That's an average utilization of 0.0087%, or an underprovisioning by a factor of 11,500.

They sell it as if you're buying 35 Mbps access to the network all month long, when really, you can't use that for more than a few hours even on 'unlimited' plans.

I don't expect 1:1 access so that everyone can use their full bandwidth full time; I don't want to pay hundreds of dollars a month for that. But I'd pay a tenth of that for 1:10 underprovisioned access, and I'm sure that plenty would pay a few cents for the current 1:10,000 underprovisioned service...
There are many small orbital launch vehicles proposed or under development
FAANG or no-FAANG, if they won't offer what you think you are worth, then walk away. I'm assuming you're a seasoned professional and not straight out of college. If the latter, are you sure you know what you're worth?