skysight-inc/HackerNews huggingface dataset:
Ask HN: How to prepare website for national TV ad traffic?
Hey HN!

I am building a website for a client of mine and they have been informed that they will be given a 2 min ad spot during a popular national college sports events this fall (~7m viewers). What tools/services (Hosting, CDN etc.) should I use to ensure the site is able to handle a huge concentrated spike in traffic. Additionally are there common pitfalls I should avoid when building the site?
That won't help in the case of full-disk encryption.
>but the solution here is to understand and address why so many millions of people voted for him,

Why? They elected Trump to address those concerns. If he can't or won't, the rest of the country is under no obligation to do so on his behalf.
If the government can throw you in into a re-education camp at a snap of their fingers, that's not economic prosperity in my book. Better to be poor and free than economically sufficient at the pleasure and whim of a dictator.

The entire concept of economic prosperity is meaningless outside a free market with due process protections. If the government can take away your prosperity for no reason at all, it's purely arbitrary and ephemeral whether or not you actually have it at any given moment.
> Its package ecosystem isn't nearly in the horrible state that node's is

I propose that the dictionary entry for 'faint praise' be updated to include this example.
I would like getrandom[0] to be in the standard library. It simply abstracts over the platform random and is even used by the standard library itself.

[0]: https://crates.io/crates/getrandom
> It isn't threatened because of its powerful military

Seriously? You'd expect an invasion from Canada, or Mexico?

I am not against a powerful military, but it seems the US has gone way beyond that and mostly projects its force around the world, with poor results to show for everyone including the US.
you're using too many words to say something simple. that and the comment comes off a little as "well i can see the point of X, but I can also see the point of Y"... which isn't really saying anything. Just my 2 cents.
While you're not wrong, aliasing tech (or even "high-tech") to mean exclusively software seems quite insulting to the rest of technologies.
You might be thinking of a recapitalization.

If you have done multiple rounds of investment already, and need to raise more capital... and the cap sheet is "dirty"-- having non-involved investors, major blocks of shares for employees that are no longer there and were involved on past projects, etc... It can become difficult for a new investor to invest, particularly if the company is otherwise troubled.

After all, the investor wants to make sure there's enough upside for A) them, B) key executives, and C) new employees hired/the incentive option pool. They also do not want to be 6th in line, or whatever, for liquidity preferences. So they may demand that the capital structure of the company change.

Management / the board are generally obligated by fiduciary duty to not recapitalize if there's any reasonable option to protect existing shareholders. But if the only way you're getting a fundraise done is with a recap, it happens-- after all it is still looking out for existing common shareholders in getting them something instead of nothing.
The Art of Electronics: The X Chapters
The answer is that we have a system of checks and balances in the federal government which are meant to ensure that one branch doesn't overshadow another. The states and the electoral college were supposed to add another layer of said balance, but what they've done is shifted power further towards the federal government advancing rural interests.

Many of those rural areas could not survive without the federal government's aid because they already suffer from dwindling infrastructure and population. Now if you want to break apart the federal government entirely from the equation, then you would also have to agree to let those rural areas die out instead of being propped up through subsidy and taxes from the urban taxpayer's pocket. Otherwise you would be arguing that not only do the rural states get to dictate policy, but they also get to benefit from the GDP generated by the urban states. Why is it fair then, for the federal government to give preferential treatment?
This movement predates Donald Trump by decades, I don’t really think you can paint it in that light UNLESS you are putting him up as a strawman, as the legislator quoted in the article clearly was.
Do you think the CCP will ever respect two systems?

How do you think autocratic governments handle corruption compared to democracies?
Share them the document 9 leak:

http://www.chinafile.com/document-9-chinafile-translation

It's a memo that warns of the 7 deadly "Western Values."

Some of the key points in the memo is that the Communist Party is above the law, and that party members should not encourage any form of constitutional governance or separation of power. You as an individual have no right to due process, and so that means if there are powerful party members that do not like you, they have every power to not follow any rules, and so they can kidnap you and torture you and seize assets from you without any form of judicial independence, and because independent media isn't allowed you cannot just reach out toward the public for help. In fact, the Chief Justice of China has said:

"[China's courts] must firmly resist the western idea of “constitutional democracy”, “separation of powers” and “judicial independence”. These are erroneous western notions that threaten the leadership of the ruling Communist Party and defame the Chinese socialist path on the rule of law. We have to raise our flag and show our sword to struggle against such thoughts. We must not fall into the trap of western thoughts and judicial independence. We must stay firm on the Chinese socialist path on the rule of law."[https://en.wikipedia.org/wiki/Zhou_Qiang]

You see , this is one reason for the Hong Kong protests, in that they do not trust the Communist Party since the party doesn't have to play by the rules.

Explain to your friends that there is a limit to what you can trust in any media, even in the West. You always have to look at who owns in the media, and the majority of the media in Mainland China is controlled by the Communist Party. Hence, you cannot really trust the Mainland Chinese Media would be critical of the party actions/mistakes . In fact from the memo, it says any "historical reassessing" of past party mistakes isn't allowed as it threatens the face of the party. The "Fourth Estate" or "Free flow of information" also threatens the party's position in power. I suggest showing your friend this video on how the party has been constricting the free flow information about the Hong Kong protests: https://www.youtube.com/watch?v=EpFE49oo__8 to build this alternate reality of what is happening on the ground.

Lastly, make the point to separate China as a country from the Communist Party itself. Criticizing the party dosen't mean criticizing him/her as a Chinese person.
> Now you’ve got to ship everything back to the seller, and then the seller has to ship the waste to their actual processor

That’s actually an interesting idea.

If it actually worked that way, there would be an amazingly high incentive for sellers to minimize packaging waste.

It would also have a side effect of making high-waste packaged goods much more expensive than low-waste packaged food, promoting the purchase of eco-friendly packaging.

I wonder if there’s a less radical way to implement these kind of market incentives.
All of this can be addressed with best practices. Just enforcing lint rules can mitigate the majority of your complaints. Flow and Typescript can take that even further. Webpack will streamline your process.

My primary complaint would be that working in Javascript is absurdly difficult for the beginner. It's ridiculously hard to understand the fundamentals when they have been a moving target since the early 2000's.
Perhaps everyone is?

https://en.m.wikipedia.org/wiki/Millennial_whoop
You say "it's true" and yet you continue to say something completely tangential to what I said?

I did not state any position on the matter at hand.
Potentially, but I am sure you find use from zooming around in 3d before going into streetview and taking a closer look, as being able to look on from up is a useful perspective. At least I can find streetview disorienting at times.

Maybe it just comes down to personal preference. But having a finer scale of 3d, another level in google maps for example, seems like a logical next step.
In a somewhat related vein: it would be really fantastic if Github allowed the same SSH key (in my case: a Yubikey-resident SSH key) on multiple accounts; we use separate accounts for different clients, and Github's refusal to allow an SSH key to be used on multiple accounts means I can't use Yubikey SSH keys for those.

I get that this is a niche-y concern. :)
Not only is there the inherent moral value of freedom, but from a purely material standpoint, if the government has the right to take away your precious job and full belly for any reason, you don't really own it at all.
Blanket statements about "web development" are not reasonable to make because there's such a wide variety of applications.

Is using TypeScript, Webpack, React, and 20 other external libraries "too complicated" for a static marketing site? Probably. For a 200,000 LOC complex productivity tool? Probably not.
Yes you need a keyword dump to get past the recruiter and accomplishments+impact for the hiring manager.

Even for hiring managers knowing what technologies you used at your recent roles is helpful; they want to know how quickly you'd be able to get up to speed and it makes it easier to conduct technical interviews if they know which tech you're comfortable with. A summary section for tech isn't as helpful since it's unclear how long you used X or Y tech
That doesn’t change anything. The 10th century is still 1019 years before this year. Just like 20th century fox means 1901-2000. I get what you are trying to say, but language is used to convey ideas. If the words you use to convey your idea doesn’t match up to what the rest of the world thinks, then it is you who is wrong not the rest of the world. To argue against it is to argue against modern conventions. Example: What year is it?

If you give any other answer than 2019 then you are wrong.

Same thing for... when was the 10th century?

Another great example is the imperial system. Just because the USA uses miles doesn’t mean they are right when writing down their units in miles. Every true scientist knows it should be kilometers and makes fun of the individual who used miles. Why? Because the majority of Earth uses kilometers not miles.
XxHash in Scala – Outperforming Existing Java and JNI Implementations
JAMstack on https://www.netlify.com/
Detecting Fake Pills with Nuclear Quadrupole Resonance
The above poster is saying that Trump shouldn't have been allowed to be president because he didn't win the popular vote. This means that, under the above poster's scheme, they wouldn't have any president fighting for them at all, and I doubt CA would suddenly start caring about them were that the case. I see this as an abandonment of the poor in favor of the rich and powerful.

If Trump fails, then he fails. But that's a lot different from completely disenfranchising many states when it comes to the presidency.
And if Ohio or Florida has election fraud? The electoral college doesn’t firewall off election fraud. It creates vulnerabilities by concentrating voting power.
And carrying anyone who opposed them into economic ruin (to say the least) in a reeducation camp.

Not to mention that most of that was enabled by IP theft, abuse of workers, lack of safety and quality standards, and other dishonest means.
>> There is no provision for secession in the US Constitution.

There's no provision forbidding secession either, so they technically very much can. All that's not forbidden is allowed.
It would be nice if Box<dyn Trait> implemented Trait. Then we would be able to write the function only once with parametric polymorphism and then at callsite decide if we want to monomorphize for the given type or not.
The amount of anecdotes of "my Chinese coworker/girlfriend/wife" (never boyfriend/husband) is brainwashed and the savior complexes that arise is intriguing. In general, mainland Chinese nationals / ex-Citizens who work in the west are typically well educated and intelligent. Why is it so hard to believe that they have reconciled both Chinese and Western narratives and arrived at the conclusions that they feel is appropriate having dual perspectives and experiences, i.e. they have broader understanding of the topic than one lens and if overwhelmingly these people are still pro-Chinese positions, then perhaps incorporate that data instead of dismiss it as brainwashing. If seeing your extended families quality of life improve every year and experiencing first hand Chinese tier1 cities and infrastructure eclipsing development in the west is brainwashing, then I hope the West adopt it.
> For example, city folks are more likely to vote for increases in property taxes - not that they care too much since they only have a tiny apartment - but it hits the people outside of the city with lots of land (for farming) really hard.

Firstly, property taxes are levied at the town(ship) levels in New York State. Secondly, property taxes are levied on the assessed property value of the property in question, which will be $1-5000/acre for agricultural land, so an $800,000 Manhattan studio will have the same assessed value of up to 800 acres of farmland. Thirdly, property taxes on farm land are fully deductible business expenses, while property taxes on your primary residence is not.

Finally, it doesn't come through in text, but allow me to spend the next seven minutes laughing on the floor at the notion that city dwellers are blase about their property taxes going up.
I do. I spend 3 months/year there.

Cops are very corrupt and most people won’t even report traffic accidents. If you are a foreigner/non-vietnamese, many hospitals won’t even treat you. Abject poverty, aside from a couple of big cities.

Some may like it because with a little money, you can get away with anything.
I agree that in many cases a much simpler API would suffice, but it strikes me as odd to suggest adding a convenient but insufficient-for-security API to the same standard library that protects HashMap against DoS.
Yeah, see, I think it's anachronistic and odd that Java comes with GUI stuff included! That seems niche and better relegated to a library to me.
Would you say that someone having to own a car and buy gas so they can drive to the polling location is a poll tax?
It's really pretty simple if you actually care about results.

Is it aluminum? Recycle it.

Is is not aluminum? Don't recycle it.
And that all sounds well and good to most people, until it's their dad who the leaders decide should be shipped off to a re-education camp. But it's too late at that point; even if I go around yelling to everyone that my dad's not a terrorist, they know just as well as I once did that yelling at government leaders means I'm a cheap agitator with nothing better to do.
That sounds stressful, I'm sorry to hear

How often does this sort of thing come up in freelancing? On average, do freelancers make as much as full time employees over say a 5 year span?

(For absolute emergency cash, you could hit up a temp agency and probably be working tomorrow while you wait for new contracts. The pay would be terrible but its also almost zero commitment - you could leave the day you sign your next contract)

edit: based on your submission history since at least 2014, it sounds like things have been bumpy for a while now.

"Ask HN: About to be homeless, any ideas for a junior dev?"
https://news.ycombinator.com/item?id=7854029

"Ask HN: How to get first Dev Job with no shipped code"
https://news.ycombinator.com/item?id=9827867

"Ask HN: How would you raise $200 in 3 days?"
https://news.ycombinator.com/item?id=7727241

I'm not sure what the answer to your short term problem is, but you may need to look at some bigger-picture solutions in the long term. I hope things work out for you!
So what? He's Canadian. Good luck to the debt collectors trying to collect that.
This might well be what I'm talking about, thanks for giving it a proper term.

Still, keep in mind that the examples I was explicitly told about were for companies who were going to be acquired in less than 6 months (so there was no new round of investment), and that the recapitalization affected not only the ex-employees (which is terribly dirty and dishonest in itself), but also the existing non-key employees who happened to be there for a long time and got significant equity by joining early (which is a tragedy).
The older I get the more I find myself browsing LinkedIn. I actually enjoy some of the deep conversations in closed groups.
The sorting absolutely should be done downstream, ideally with robots doing the vast majority of the work.
In what way are they segregated? This seems like a flip and irrelevant inflammatory comment to me.

Apologies if there’s a direct linkage that I’m simply missing
Maybe that's YOUR concept, but not everyone's. If you go to Wikipedia, you can look at citations from a variety of sources, which doesn't depend on Google. You could go to the website of various news organizations and search through their archives, which also does not depend on Google.
One sovereign political unit (the Ottoman Empire) was weakened by ethnic nationalism (alongside political decay, external pressure, etc.); ended up in war; and the Balkan region was broken into several small states. Instead of being able to make regional policy, amortize common costs, suppress local divisions under a common rule, communally defend against outside pressure/threats, etc., these new states were weak and unstable. Ultimately their conflict drew in outside powers and led to the first world war.

The suggestion in this context is that if a library is replaced by several pieces, they will adopt different conventions, duplicate effort, not interoperate as freely, etc., instead of benefiting from a unified vision and design.
Gridlock is good. The last thing I want is control by one party.
Worth noting for anyone who thinks "why bother recycling", this is specifically about plastics.

If you have metal, aluminum especially is a very valuable recyclable, so definitely keep recycling that.
> Second, the layer of indirection as it exists today does nothing. Electors aren’t free to choose a president. They in most cases must elect the person they pledged to elect and if they don’t they instantly get replaced by a new elector who will. What purpose does that serve? Seems to me like we should either buck up and actually allow these people to elect a president, or abolish the whole institution as it currently is a farce.

That is not correct. There has just been a ruling that the states cannot impose these sorts of restrictions on the process already delineated in the US Constitution.

Please see https://www.thedenverchannel.com/news/politics/federal-appea....
Cruise was founded about 5 years ago which is what I was saying on my previous comment.
I can't speak specifically to North and South Dakota, but having lived in both Arizona and Colorado I can tell you they absolutely are different places culturally and politically.

Speaking to your second point, even in the EU this can be the case. Look at Wallonia and Flanders in Belgium. Spain is also a good example, Catalonia especially.
How do you accommodate breaking changes to the public interface of std?
Proof that the cyber security industry is an overlooked dark horse, full of opportunities.

Too bad it gets overshadowed by AI, cryptocurrency, VR/AR. I guess it's unsexy and not necessarily new. But there's a lot of money in it.
In fact, if you see light from 10 billion light years away, as far as the photon is concerned, it just left, traveled for zero time, and hit your eyeball.
Webpack is a godsend. Do you not remember Gulp?

Or....Gradle...?

Modern JS is a dream to work with. The days of pre-transpilation and modularization with hundreds of script tags and giant IIFE's and worrying about cross-browser was a total mess. It finally feels like the web has matured as an application platform and I've been waiting for this day for a long time.
I've been told Chromium saw some measurable benefits from reducing binary size over code-inlining. (sorry, I'm not able to provide a citing).
I also wonder if New Relic is an acquisition target as well.
Recapitalization like this would generally not happen before an acquisition-- because it would likely be a breach of fiduciary duty.

There are other things, though, like carve-outs.

If company A is being acquired by company B, and company B needs key people from company A to stay, and the employees do not have enough upside for company B to be assured they'd stay... you might set aside some acquisition proceeds for those people. This tends to hurt both investors and past employees.
I know its for-profit, but I hope members of the Gnome community pitch in where they can. This phone would be a big deal if it was a success.

If I wasn't so busy lately, it would be neat to try to get the Anki AppImage working on it
This is frankly ridiculous. Conservatives at the National Review - of all people - should understand that consequences exist and should be meaningful. If Kevin Hart made homophobic comments in the fairly recent past, why should we assume he has changed? He never apologized on his own; in fact, he repeatedly refused to apologize until public pressure made it unavoidable. He almost certainly would never have taken back his comments if they were not brought to public attention by someone else. Not if he lived three lifetimes.

This is why many people are not satisfied with a simple apology; it rings hollow because it is hollow and purely self-preserving. Life isn’t: “Press button here, apologize for bigotry, erase everyone’s memories.” The shit you say matters, whether 8 seconds or 8 years in the past, especially when such behavior was a regular part of Kevin Hart’s set for a long time, not an off-the-cuff comment.

Many people knew that homophobia was a bad thing 8 years ago. Treating gay people with respect is not a new invention.
>Article II provides that “each state shall appoint” electors “in such manner as the Legislature thereof may direct.” So Minnesota could decide to have the state legislature appoint its electors, without a popular vote.

Technically correct but as per the 13th (?) amendment, when a state denies any male citizen aged 18 or over and not a felon the right to vote, said states representation in the electoral college and congress is recalculated as though they didn't have said residents. Therefore if Minnesota went through with this they would have no more than the baseline 3 electoral votes.
Who is "the community" and who isn't? Are you sure you trust the core language developers more than people writing libraries?
Is getting a full time job an option? You seem to have marketable skills.
https://en.m.wikipedia.org/wiki/Free_base

>Freebasing is a more efficient method of self-administering alkaloids via the smoking route. For example, cocaine hydrochloride decomposes at the high temperatures necessary for smoking. Free base cocaine, in which the cocaine alkaloid is "freed" from the hydrochloride salt, has a melting point of 98 ℃ and is volatile at temperatures above 90 ℃, therefore providing an active drug for smoking. After inhalation the alkaloid is absorbed into the blood stream and rapidly transported throughout the body. However, since blood is buffered with carbonate at physiological pH (near 7.4), free-base amines will be rapidly converted back into their acid form. In fact, 94.19% of cocaine will exist as the acid form under equilibrium at pH=7.4, calculated using the Henderson-Hasselbalch equation assuming a pKa of 8.61[1].