skysight-inc/HackerNews huggingface dataset:
Yes. I see the current tech giants as analogous to a Standard Oil that also owned the New York Times and one of the top two or three papers in every other city of the country.
Is the answer even well-defined? Seems like without spaces, there could be strings that decode to multiple possible (possibly nonsense) “sentences.”
If you don't box all your closures, functional programming in Rust gets tedious quite quickly. But if you do, I guess it's no longer that fast...
Is that for a personal or commercial project?
> Nobody would call Barry Goldwater a liberal, even though he very much fit the definition.

Only in the latter years of his career. [1]

1. https://en.wikipedia.org/wiki/Barry_Goldwater
Can you be a lot more specific?
Honestly, it's probably because it's marketed towards gamers. It's a really useful product for sure but the gamer marketing definitely affects people's perception.
Perhaps. But it creates a false and unsustainable culture. If you're going to bootstrap then do so. Afterall, scarcity is the mother of innovation.

Inexpensive or not, unnecessary is still unnecessary. What's next, $3k standing desks?
Hello,

I write this page mainly to prepare for the Code Jam Contest, and also with the hope of understanding a bit how the top contestant could think and write codes so fast.

Feedback to improve the website is much appreciated!
I find it irritating that Washington Post removes the url and replaces it with their homepage so that I have to go back and find the url and open it in a private tab.
I disagree with the answer to #3, you can reverse a Unicode string with "&#8207;". ;)

https://en.m.wikipedia.org/wiki/Right-to-left_mark
From the article:

> We will be dealing with arbitrary precision integers (bignums) in the problem, so let us also make a few assumptions:

> Addition or subtraction of an m-bit integer and an n-bit integer (m <= n) takes O(n) time.

> Counting the number of 1-bits in an n-bit integer takes O(n) time.
The comprehensive guide to building your company swag catalog
My post is a direct response to the Gates Notes article and his appeal for a concerted, coordinated response to this epidemic and possible future ones. I’m making a broader point along similar lines.

The spread of COVID-19 has barely started. Doctors and hospitals can’t physically go out into the population and stop people contracting the virus. Whether a traveller with the virus happens to have been to an area and had transmission contact with people has nothing to do with the quality of the local hospitals and health care workers. That’s just not their role, that primarily comes into play in dealing with the consequences.
Is it realistic to stay at home to prevent colds spreading? People with a cold are infectious for around two weeks, and get up to 4 cold on average a year. You may not be able to do your job from home easily, so that's 8 weeks of sick leave per year just to stop your coworkers getting a runny nose. Assuming you work 47 weeks a year, that's 17% of your work hours spent on sick leave, ignoring other illnesses.

In the UK you would not be entitled to pay for that sick leave unless you had a note from a doctor stating that you are unfit for work, which you would not be able to get for a cold. Moreover it is legal for you to be fired for taking too much sick leave, so you would be putting your ability to pay rent and, over the longer term, your job at risk.
That is a limitation of the Torrent clients.

On top of that, most of them should already be able to understand that certain files already exist; but it seems like it’s more of a file-level feature at this point rather than block-level.

Is there something I am misunderstanding?
> what's the chance that the average person is going to actually have any of these complications?

Yes, that's the question we'd all like to have the answer to.

But we don't know how many mild or asymptomatic cases have resolved, so the deaths/(deaths+resolved) calculation is a known divided by an unknown.
Another commenter has been downvoted for asking for a tldr, but I think it's a legitimate request. Can anyone here summarize?

The intro is so abstract ("stab at lightly theorizing") it doesn't actually introduce any point at all (what is the main takeaway of this light theory?). Skimming through the article it seems to be all over the place topically. The conclusion appears to be a word salad I can't make heads or tails of.

This is already highly upvoted, but I don't have the slightest idea what its point is and am clearly not the only one.

Can anyone who's read it enlighten us what it's about?
> Why is on hold audio sound like a cassette tape?

Because a telephone voice channel is limited to a bandwidth of about 3100hz with a pass band of about 300hz to 3400hz (https://en.wikipedia.org/wiki/Voice_frequency). This is a compromise for reasonable voice transmission, but produces terrible music transmission.

> Are they trying to get rid of me?

The answer for some may be "yes", but that's not the technical reason for the poor music sound quality.

> Why is the music they play so dated?

Most likely guess: copyrights.

> Etrade on hold is the same music for the last, I don't know, 15 years.

Several reasons likely play into this:

1) once set, it is simply forgotten about because it is just working

2) the purpose of the music is not to entertain, but to assure the person on hold that the call has not terminated prematurely.

3) in part because of #1 and #2 the PM's and or those controlling the budget allocations don't see any reason to spend money 'fixing' something that in their mind is not broken.
Greece intervenes refugees with tear gas and sound bombs
Trader Joe's ain't a health food store, that's for sure . . .

Miles of Aisles with processed sugar in everything . . .
Joe Coulombe, founder of popular Trader Joe’s markets, dies
> It arguably makes their mission exponentially harder if they have to deal with novel approaches to securing communications.

NSA and GCHQ would absolutely love it if people used novel approaches to cryptography and started kludging together dumb crypto systems. This makes their stated mission considerably easier.
A less metaphysical take on the concept is to think in terms of how much human thought went into creating the world around you. As society and technology become more complex, the more you have to rely on abstractions to understand everything.
I wish more languages took the Go/Zig approach for async/await and didn't introduce colored functions [0] that pollute your whole scope.

[0] http://journal.stuffwithstuff.com/2015/02/01/what-color-is-y...
How to see it coming: predicting bank distress with machine learning
Coronavirus: Unexplained West Coast cases raise fears in US
> Unless you're browsing HN on Lynx

I actually use elinks to read HN and many sites, but I also use regularly a web browser.

However, I try to keep web-browsing usage as sparse as possible. I launch firefox from the terminal, browse tho wherever I need, and then close the browser window. I abhor to have a browser "always open".
Well, you need to burn a lot of diesel (or it’s equivalent) to produce, store, and transport the hydrogen so I think it goes without saying that hydrogen fuel is worse.
Go remote for a bay area company. High pay without high rent
Who was in charge at the time delegating responsibility?
I cringe to think about what might happen to the greatly improved VA healthcare benefits I now enjoy.
I think you underestimate how pervasive and usable Slack is over email.

Email is still fine and necessary but is mostly for long form asynchronous communication. Organizing email inboxes is a pain. Spam is a pain.

Slack is pre-organized and automatically integrated with a dozen other tools. It’s the beating heart of a distributed organization.
I had the same issue with a Navigon device. The trick was to set the virtualisation software to automatically attach all devices (maybe even on port X) to the VM. After that it worked flawlessly.
The irony of judging someone for "maybe assuming" that they might get in trouble, yet completely assuming that they can work from home.

It's kind of hard to pull bricks at the building site or sell groceries at the shop from your living room, you know, cause of the distance and all that.
These are the five numbers in binary, to give some inspiration for a bit twiddling algorithm:

110
11100
111110000
1111111000000
1111111111111000000000000
What about websites that have good, solid text editors (like vim) integrated into them, and are able to store files locally, and access them via CLI [0]? Could that be seen as part of this text renaissance? Or do you need to have some kind of post modern literary angle to participate in the festivities?

[0] https://dev.lotw.xyz/shell.os ("help" is your friend!)
Both CLang and GCC do it just fine. CLang even optimizes away unnecessary steps when upper half of one multiplicand is all zeroes like in this example.
C# 7 (2017) and higher also allows underscores in number literals.
Kind of an odd article. There's a lot of POS systems out there, and Aloha isn't be best, or the most popular, or the most innovative, or the newest, or the first. There's a lot of competition in the space, but no context is given. It's just... "Hey, did you know POS software is a thing? Well it is! And one of them is called Aloha. The reason Aloha is so great is that it's AMAZING! Did you know Aloha is made by a company that once employed Thomas Watson?!"

Feels more like a corporate press release than anything trying to inform people.

(That being said, I work for a company that integrates with Aloha, among many of their competitors, so maybe I'm not the target audience here.)
No, there’s not for most applications where you don’t need determinism.
> the missing word from my critique would be "fixed" dollar amount

Sorry, are you just saying different people may have different amounts? Sure, sure. But for a given individual the amount has to be fixed across the choices (at least all the choices close enough in time that the money is fungible).

> since there's a guarantee of how much time or bother it might save you, vs a potential downside calculation.

When I decide to wear a mask to the store, there is a guarantee of how much bother it costs me. The only thing that's uncertain is the risk to my life. But, as previously argued, each person should have a linear risk-dollar exchange rate for small risks.
Would someone please post the paywall bypass link?

Edit - https://outline.com/KDNvtL
I Reveal My Attributes: IRMA in Detail
Indeed, I support universal health care and I am fortunate enough to be able to afford private medical insurance as well. I see no contradiction in this. My support of universal health care is part of my commitment to my civic duty, as I see it, and my private health insurance is an exercise of my individual freedom.
There’s always the danger people misuse rng output unfortunately, see math.random() being used for cryptography almost incessantly.
God I wish programmers would atop trying to reinvent copyright law. The FSF has done a ton of work examining copyright law in various jurisdictions. Many places have no notion of "public domain"
Let me ask you a question: what is the intention of responding to me in a condescending way? What do you get out of it? My intention right now is for people not to down play how serious this will become and that this isn't just the flu.

This is the only data we have right now and it's saying this is really bad. You can talk selection bias here, faulty statistics, etc. but right now the death rate is 8% (deaths/(deaths+resolved) not deaths/total infections) and the list of complications is the check list for an intense ICU (no pun intended) visit.
Right?

> In effect, Romu generators are infinitely fast when inlined.

What the hell does "infinitely fast" even MEAN in this context? They can be parallelized easily? The computational cost amortizes well? That it literally requires zero operations to generate output?

This may be something interesting if it packs a lot of the features claimed. But there are a LOT of ill-defined claims on the website, and a fair bit of time spent pointing to the state of current research in OTHER algorithms/proposals as if open questions are an automatic disqualification ("[H]ow can you know whether such a generator has enough capacity for your large job? You don’t know.").

I don't think the guy is a crank, per se-- just excited. But this is the sort of stuff that makes me think that he hasn't done the requisite level of research required before claiming a breakthrough.
> unless they can do it through executive orders

Which will be promptly reversed by the next conservative POTUS, thanks to the skill Trump has shown us.

Changes will have to be codified in law to make them stick from now on.
The disaster in PR was used as a political weapon because we elected sociopaths. If such a disaster happened in the mainland at a larger scale and such a thing happened, I imagine there would be a coup.
I've been looking for something like this for a while now, to store all pages I visit into a personal archive, but all the options I found either involved setting up a proxy and MITMing all your requests (too much effort to set up) or saved to a format I could not easily access.

So far, SingleFile looks like a perfect fit, thanks!
From your second link:

"“What [the data] support is that sure, there may be a few asymptomatic cases … but there’s probably not huge transmission beyond what you can actually see clinically,” Aylward said.

The claim was quickly challenged by an infectious diseases expert who serves on a committee that advises the WHO’s health emergencies program."
I think if I had said this in person it would have sounded a lot less dismissive, but the way I typed it up came off as mean which was not my intention.
Good one! This actually does apply to options trading. Pricing quants may need to be masters of stochastic calculus, Ito's lemma, et al, but if you're trading and not pricing them, this analogy applies: even riding a bicycle, when described with physics equations, probably involves higher-order calculus that would put 2nd order options greeks to shame, but one does not need to understand the maths to learn cycling or even be the world's best cyclist! Similarly, if you trade the same instrument enough, you build "muscle memory" for how it moves, i.e., you get a feel for vega, vanna, et al which is almost visceral. The practitioner may use informal descriptions like, "uh oh, I can feel it bend now" rather than calculus to refer to a gamma-based acceleration of option price, but it is perfectly good enough.
>But why is this the minority opinion at a conservative conference:

Conservative arguments against the government regulating speech have almost always been presented in the context of preventing the government from regulating conservative speech.

Many modern conservatives wouldn't take issue with hypothetical laws limiting the portrayal of nonbinary gender and non-heteronormative characters in TV and film, seeing that as leftist propaganda and an attack on traditional family values.

Write a law requiring a baker to make a wedding cake for a gay wedding, however, and conservatives will take to the streets in outrage.
One things that comes to mind: popcnt(x^(x>>1))==2 for all 5 numbers. Maybe the checking function could start with that condition, then fall back to the slower one-by-one check when that evaluates to two. For most numbers the popcnt check would fail.

edit: Not to mention that all 5 numbers are even, so a parity check could also help for odd number inputs (but it makes it slower for even numbers). I do not think that AVX has anything to offer here though.
why don't you use basecamp ? It does says it replaces quite a number of tools.
How should I calculate compensation between rounds?
I'm an early employee (2) at a pre Series A startup. I've been there a year (joined after seed round) and have been doing fairly well in my role (driving a decent amount of measurable value for the company).
The situation I've run into is that, in part because of our collective success, we've delayed raising our A until later this year. As a result of that, our founders have said that they won't be changing anyone's compensation until the A happens.

I totally understand not increasing salaries until the raise, but something one of the founders said sounded wrong to me. He said that my vesting schedule is effectively a raise for me because the company has become more valuable.

Before he said that, I had thought that my first year total compensation equation was:

salary_value + total_equity * company_valuation_last_year

If that's not the case, then last year my compensation was:

salary_value + 0.25 * total_equity * company_valuation_last_year

which is quite a bit lower than even some pure salary offers that I had. Perhaps this is a bit long-winded, but what's the right way to think about compensation at this stage? Should I be asking for additional equity based on both the fact that we haven't raised salaries yet and that my value has increased in the last year? Or am I missing the point entirely?

My guess on the equation would be that my first-year total cost to the company was $X and that this year, even if I didn't increase in value, they should provide additional equity along the equation:

(X - current_salary) / company_current_valuation
"looking at them, there is no obvious statistical anomaly to say that yes, China is hiding something from us"

Sure, but we wouldn't be able to find any statistical anomaly if China was hiding something because we simply don't have enough data ourselves to determine that.

I feel like your stance may be the opposite extreme of fear-mongering, which is downplaying the potential unreliability of data that many people have good reason to speculate about (as you might've already seen in this thread SARS cases were underreported).
Hotjar does this (collect user feedback in the page) and more and has a free plan. I work there so I'm biased, but yeah.
>This is, arguably, preferable to the 1% investing it in the stock market.

Arguably is the right word.

The global economy is a closed system, so money put anywhere makes its way elsewhere. Spending money in restaurants and shops is most easily visible, but not necessarily any better than other investment.

Even in your example, the 1% putting money in the stock market provides capital for companies as well as income for banks and brokers and finance folk of all sorts (which can then be spent in restaurants and shops). Sure, lower income people have a higher propensity to spend a marginal dollar (because they have to), but that isn't necessarily "better".
“Global health experts have been saying for years that another pandemic rivalling the speed and severity of the 1918 influenza epidemic wasn’t a matter of if but when.“

Short-term-ism is the real epidemic in America. We seem paralyzed in taking preparedness steps in a host of issues that are a matter of “not if, but when.” From Climate Change, to infectious disease.

On individual level, we share some of the blame. I’ll admit that even in earthquake and fire prone California that prior to this current crisis, I’ve never kept more than a few days worth of food on hand. Even faced with a real risk, there’s inertia there — but ultimately realizing that being prepared as a household is the root of resilience for a neighborhood and community. It’s not a selfish act — it’s the responsible thing to do.

But at a leadership level, we seem to be waiting for some shoe to drop in this current situation rather than take proactive steps. We seem two steps behind this thing in the US.
O(n!) is wrong. For an string of length n, there are n-1 gaps in it, and each gap could or could not hold a space, which gives you 2^(n-1) possibilities. The algorithm is at worst basically O(n*2^n). Exponential for sure, but not factorial.

As for solving it, back-tracking recursive descent does the job, though obviously there's not always a single correct answer.

This is not really a "trick question", this is just a regular programming challenge :)
The risk of a smart home and the internet of things: light bulbs aren't safe
I think maybe you interpret the concept a little too literally. The point is that beyond a certain level of incomprehensible complexity, you can no longer model things as deterministic machines - you must adopt a "theory of mind". The abstractions you use resemble those you apply to conscious beings. You don't say "this machine is behaving in this manner because it possesses internal state reflecting X fact about the world and it has been designed to execute Y instructions on that basis" - you say "the computer wants to do Y because it believes X".

The reason we believe in spirits is because it allows us to co-opt our over-evolved social brains to model otherwise intractably complex systems.
PostgreSQL 12.x became available on Heroku earlier this month: https://blog.heroku.com/posgtresql-12
The process of creating websites and mobile apps can be greatly simplified with wordpress themes https://www.templatemonster.com/wordpress-themes.php. Ready templates are designed by professional designers. Patterns can also be used for mobile apps.
> Then "days later" "hundreds of people" become ill at the church.

Days later, South Korean health officials tested people thought to have been in contact with the patient, and hundreds of those tests came back positive. The article doesn't say whether any of those tested showed symptoms (of any illness); the incubation period really isn't relevant.
I've been playing with Miranda a little bit since seeing this yesterday, and man, I gotta say, the quality of the REPL environment and documentation is amazing.

Everything is laid out plainly, and you can learn how to work with the language in a matter of minutes.

Even the readme was one of the best I've ever encountered. It makes no undue assumptions and leaves no work up to the reader. It even notes that one may need to make certain edits to the Makefile on certain systems and, if needed, how and where one should do so (I've had to make several other programs in the past that require more tweaking and don't document the possibility or guide the user at all).

The language itself seems slim and elegant so far, but, if nothing else, I'm amazed at the level of quality of the compiler documentation, the manageable size of the source, and the REPL's design--it encourages you to write entire programs from the REPL, by allowing you to direct output to a file and to invoke an editor to modify the current scripts loaded into the environment--all this without the need for special plugins on the editor side; instead of having to invoke the REPL from your editor, your REPL invokes your editor--honestly it seems like the right relationship and now I'm fairly confused why other REPL focused languages don't commonly support this.

Everything comes bundled too--you don't need to go through some gitbook based tutorial docs in your browser to get up to speed--it's all available right from the system itself.

A lot of contemporary programming languages I've used don't have nearly as good of an onboarding experience. It makes me wonder to what extent this is just a rare case of quality work by great programmers and to what extent its symptomatic of what one can deliver with licensing and funding, as opposed to purely open-source contributions largely driven by community interest.
The time to having it/transmitting it is quick, like 2 or 3 days. Symptoms come later, on average 6 days after that. If you're dealing with a big group of people, 10 days is sort of a smoking gun here.
I like that concept. Don't try to calm them to sleep -- expose them to a higher intensity stimulus than their own urge to cry -- sensorally overwhelmed, but comforted in safety, they fall asleep.
I have an example for you.
A serialization library that supports container classes. It has a generic way to fill lists (vectors), but not all list containers support resize and default-initialize new elements. So somewhere inside a generic template function there is a switch to use or replicate that function.