skysight-inc/HackerNews huggingface dataset:
The USA had exactly such laws, before they were struck down in the Supreme Court as unconstitutional in the landmark case Citizens United. The reasoning was that the right to free speech was protected at all scales and all categories absolutely, and thusvspending any amount on any political speech like buying ads was protected. The only way for such a law to pass now would be to either have the Supreme Court overturn this decision (unlikely, its still recent) or to change the constitution to specify political speech spending as unprotected by the right to free speech, which is even less likely given the supermajority needed, the natural conflict of interests with the entire existing political class, and thr sacredness with which the American people view the constitution, and that part of the document specifically.

I personally think Citizens United is the worst thing to ever happen to democracy, but I fear a revolution after a prolonged slide into deep oligarchy might be the only way it ever changes.
This is super cool! Will use with my team!
Have you been to Buccees and Whataburger yet? Try both if you haven’t. Welcome!
> What about completely anonymous donations? If the receiver doesn't know who is giving the money, how could it act as a bribe?

It would be pretty hard to set things up so that donations were not only anonymous, but non-verifiable (as in, it should be impossible for a donor to prove to a recipient that they were the one who donated). This attribute in voting systems is part of 'coercion resistance' (as in, if you can't prove how you voted even when you want to, there is no point in trying to coerce you into voting a particular way). In a payments system, we can call it 'corruption resistance'.
I was shocked by that. Does anyone who knows more about this or foreign policy in general want to enlighten us? What motivated Australia, Japan, and SK to sign on to this? Do they not fear alienating the US? I suppose once we scuttled the TPP they had no alternatives?
India can try to join later if it changes its mind. RCEP puts a lot of pressure on India either way though. It's kind of interesting how India decided that free trade with 30% of the world is less valuable than protecting its manufacturing from china. If India adopted the chinese model (what americans call "cheating"), it could probably compete against china even with a free trade arrangement, but they're probably not going to do that.
> Part of making sure "truth prevails" is having open discourse about topics. That involves people with "Wrong" ideas the ability to talk.

Yes, but for that to work, the discourse has to between people who are actually seeking out the truth and who have the ability to recognize it. Dead-enders and nutjobs fighting to spread (often obvious) lies do not qualify.
Learn to value criticism that can actually make you better. It's all about self reflection and how someone else interacts with the world views your achievement. You don't have to listen to people all the time. Also sometimes you can do everything right and still receive criticism. Someone (like myself) can always find that one thing wrong with what you did. These things don't bother me.

Over the years I've just learned to get over it. You can't make everyone happy. Unfortunately you take up an aloof selfish nature by doing so. Criticism doesn't affect you. You take it as input and gauge whether or not there someone worth modifying your behavior over. You just keep trying to achieve whatever object you are pursuing. In the end, why does it matter?! A quote I heard somewhere a long time ago but can't remember where was something along the lines of "Those who are remembered are worth criticizing. Those who are not, were of no issue." In a lot of ways this exact example reminds me the episode from TNG where Picard dies and relives his life. He takes the safe route and doesn't even end up on command. Q than revives him and he got to experience what it was like if he chosen the "safe lane" in life. Always having a positive impression and people relying on them, but not the Captain of the ship (where he has often received criticism from all over the galaxy).

Criticism in a nutshell means you're doing something. Something enough to make someone upset. It's up to you to learn about yourself and understand why you're possibly in the wrong. You cannot always go through life living apathetic to how you affect others. You sometimes need to learn when to humble yourself for show, and prostrate yourself for prestige.
I actually moved to the Bay Area because long term it has the best compensation when accounting for cost of living that I calculated for net take home pay unless I wanted to move over to NYC fintech (definitely don’t want to). While $300k+ is a pipe dream in most of the US, it’s attainable in the Bay Area working for a big tech company as a modest goal.
Yeah outside of Lubuntu I’ve had bad luck with resuming sleep on laptops. My desktop doesn’t ever go to sleep (Nvidia 1660x) but that’s because over the years I’ve just had so much trouble. I’d still take Fedora or Ubuntu over Windows any day as that’s my only complaint. Then again I’ve been a Linux users since 2006 so to I’m amazed at how great driver support is now even compared to a few years ago.
hacker news is a democrat board.
Edit: When the Supreme Court had an Activist majority.
Thanks! Will add OAuth soon!
IoC container is not DI and IoC container is a pattern with a lot of downsides. In Ruby, I use [the doctrine of useful objects](http://docs.eventide-project.org/user-guide/useful-objects.h...), which without a gem is very clear, no meta magic and it boils down to just DI with setters and getters. Simple and effective.

And it has the power of locality over an IoC container.

That being said, please remember that a class and a closure are essentially the same thing with a different syntax.
On what basis do you pick a definition for a globe being "upside down"?
Dictators can be stabilizing especially if they prioritize calm and stability, which Xi / current 5 year plan does. Xi's entire socialist modernization scheme is supposed to continue until 2035, so we know China at least wants stable external environment for that long.

Ranking hides context. China plans to double nuclear stockpile to around 600, but that's still 10% of what US current has at 6,000. Charitably 15% because US is slated to reduce stockpile to 3,800.

China is a massive oil importer whereas US fracking makes it a net producer. This means China _must_ maintain SLOCs and maritime trade, whereas US has incentive to disrupt it.

XJ/HK/Tibet can protest and it would be a relatively minor disruption because they account for ~1% of the population, the disruption in HKs case is only because anglosphere is making it a geopolitical issue. HK under NSL has moved _up_ Global Finance Centre Index this year, overtaking Singapore. Stability is good for business. And as Singapore demonstrates, one party systems is fine for long term financial prosperity.

XJ had terrorism, but that's completely suppressed by the security architecture. Compared to US prison industrial complex, even if China jails every Uyghur rather than the alleged 1M+ right now, lifetime likelihood of being detained for Chinese Muslims (total population 80M) would be less than US Blacks at 28%. Rising pork prices is more of a concern of CCP than minority protests.

Incidentally, food security and dependency on oil / resource imports is broadly why China benefits massively from global stability and existence of multilateral systems. Whereas US is largely self sufficient and can step back and watch the world burn. Ultimately, China needs stability, whereas US doesn't. Indeed US can afford to disrupt stability for everyone else, perhaps even sufficiently so at US relative gain.
> It’s really odd to me that California is perceived to be such a problem while the area is so economically productive. It’s a very odd type of cognitive dissonance where something is both a model to be copied and a mess at the same time by the same people.

it's only odd if you think economic productivity is the sole determination of what makes a desirable place to live. regarding SF in particular, it's phenomenal what has been accomplished there, don't get me wrong. but this has to be weighed against the fact that a "starter home" costs $1mm, the rate of petty crime rivals that of the most dangerous cities in america, etc. it's not cognitive dissonance to acknowledge that, while great things have been accomplished, a lot of stupid mistakes have also been made.

and by the way, I don't think the ban on non-competes is usually what people are thinking of when they describe california as a mess.
The interior of the spacecraft definitely looks “modern” with those large screens like Tesla’s for heads up display.
Are we sure that applies to Apple in particular?

I presume the exact terms of Apple's license agreement with ARM are not public, so who knows exactly what is in it. It might have different terms from what ARM offers in the general case.
If you don't have any genetically-afflicted ailments, hell if you're still a healthy 18-35 year old, then I'd say maybe layoff on the moralizing about the some imagined pure beauty of letting "nature" take it's course with the human species.
Is that a lot of money?
Sorry, I didn't check back on this comment after posting it, I hope you'll see this.

It's manual. What you get with Arrow is an efficient way to store structured data in a way that values for the same column (same dimension) are together on disk rather than having each record with all its fields together. So if you're storing say a dataset of users with a 64-bit user ID, an IP address, a timestamp, and a country code you'd define a Schema object as having these 4 columns with the size of each one (here 64/32/32/16 bits for example) and then you'd start writing your records block by block. A block is just a set of records and Arrow will mark the start and end of each block. Up to you to decide when to start and end a block, I use 100k entries per block but haven't played much with different values.

In pseudo-code it'd be something like this when reading just the user IDs:

VectorSchemaRoot root = arrowReader.getVectorSchemaRoot();
BigIntVector userIdVector = (BigIntVector) root.getVector("user_id"); // gets this 64-bit dimension from the schema
// ... more vectors defined, one for each dimension
List<ArrowBlock> blocks = arrowReader.getRecordBlocks();
for (ArrowBlock block : blocks) { // go over all blocks
arrowReader.loadRecordBatch(block); // *actually* reads the block
for (int i = 0; i < block.getRowCount(); i++) {
long userId = userIdVector.get(i); // offset is within the current block
processUserId(userId);
}
}

The code in this example will only go over the user IDs, and will read them very quickly. So yes, you have to implement any sort of querying capabilities yourself. In my case it was simple set of queries like "get distribution of dimension X" where X can be a parameter, or "filter records where X < minX || X > maxX", also with parameters, etc. Just a handful in all.

For a limited set of queries and not something like full SQL, this was perfect. I found this article very useful to get started: https://github.com/animeshtrivedi/blog/blob/master/post/2017...
Bootstrapped: From Almost Shutting Down to 100 Paying Customers
The example in this article is horrible. The author will not accept bug reports without payment for "support". I'd posit that no reasonable open source project has such a position.

Sure, without payment there may not be any expected turnaround time or immediate response, but being unable to submit a bug without paying is absurd.
Hyperloop’s First Ride, Apple Chips in M1 and More in This Week’s Top News
Sorry I wasn't clear.

The first frame is the Mercator projection; the whole conversion (See GP: "..I think any digital map that lets you zoom out more than a hundred miles or so should be an accurate 3D projection" and then the reply "I think Google Maps already does this at least") is about now on GMaps you can enable "globe" option, which uses a more accurate 3D projection.

The video shows before/after enable globe option.
libertarianism has either been about weed or drugs

I'm not sure what libertarianism you've been looking at. Certainly stopping the war on drugs is one plank of the libertarian platform, but it's only one small piece.

Other issues include stopping America's eternal military actions, reining in public debt, stopping abuse of police power (some overlap with BLM here!), ensuring that civil liberties such as speech, voting, self-defense, and sanctity of private property are protected, and so forth. There's a LOT there (and so assuredly there's space for everybody to find disagreement). It's just wrong to claim that it's all about weed and drugs.
I watch/read a lot of history and I am always curious, if you traveled back in time how would you treat gout? Without medications to manage uric acid what would you do for Ben Franklin, DaVinci, Michelangelo or Charlemagne? Have them lose weight? Stay away from foods X, Y, and Z but eat more of A/B/C? Does exercise help/hurt? Are there any herbs etc that we know today would lower uric acid which you could find with your vast Future Knowledge?
> Your average user is not going to open a command prompt and dig into Openssl.

That's why I said that the browser should provide that feature.

> There are (or were, I haven't used them for a decade) browser-specific APIs for generating private keys locally, but they were very flakey, and the whole UX was very confusing for users.

That's a UX issue that can be solved if the time was put into it

> And after this, the user can only sign in on the machine in which the key was created. Your average user will not have a clue how to move certificates and keys around between machines.

They shouldn't be moving/sharing keys between machines at all. What could be done is to implement a mechanism to associate an additional device with the account. Perhaps something like sending a CSR from the new device and then using the first device to confirm that it's a legitimate request.
I am using pop on an oryx and my external monitor doesn’t wake up from sleep. Most flat pack apps don’t work right - especially anything electron based.

Zoom is a hot mess and fractional scaling still doesn’t work right.

I just tried disabling the hidpi daemon in hopes my monitor wakes up correctly. We’ll see.

All that said I am addicted to the speed of the OS compared to windows or Mac OS. I feel like I’m using the full power of the laptop.

I’ve not tried plasma but I miss a lot of my Mac shortcuts like super + left or right going to the end of the line. Still don’t have that working.

It’s so much better than it used to be but I would love to see one of the desktops reach the same level of polish as Mac or windows 10.
We’ll need more than one vaccine to beat the pandemic
Please don't post flamebait to HN. We don't need this here.

https://news.ycombinator.com/newsguidelines.html
I think it is unfair to say he is not cut out for a startup. If he has trouble doing some of those things, he needs help from someone who is good at those. People in a startup have to wear a lot of hats, but they don't have to wear every hat.
Exactly. If they don't sign, they get left out. And then what? wait until the US somehow decides to join and only then join?
If I contribute $2000 to a party or a politician, and Charles Koch contributes $2M, which one of us is going to get the ear of our representative when we call?

In my case, some intern will dutifully take my call. In Charles Koch's case, he will have that congressperson's direct phone line. When he goes to Washington, they'll have a sit down meal together. Hell, if he wanted it, he could have asked for and received a cabinet position or an ambassadorship.

That isn't just free speech -- that is derailing democracy. By limiting contribution amounts, it will make the elected less beholden to big donors.
I donated a three-figure amount to a US Senator’s re-election campaign, and received a personal thank-you phone call from them several months later. It was an open-ended conversation and I would have had the same opportunity OP described had I not been so flabbergasted.
> Make the countries on the globe removable (magnetic?

Countries as jigsaw puzzles pieces, made with soft Silicone, should work as well
It will be useless, since ALL countries in RCEP want to run current account surplus and no one really want the role to absorb surpluses, i.e running current account deficit and ditch capital control and let their currency float.

For this to even work, someone has to run current account deficit and runs capital account surplus (play the role of the US). No one is willing to lol.

NY times actually summarizes it pretty well: It has little impact on legal work, accounting or other services that cross borders, and does not venture far into the often-divisive issue of ensuring greater intellectual property protections https://www.nytimes.com/2020/11/15/business/china-trade-rcep...
And I’m the opposite, always running into annoyances on Windows. It’s that our brains are trained on two different systems not that either is superior. I live in the terminal anyway except for VSCode, Chrome and Steam: so the DE doesn’t really concern me I use the default on Fedora and Ubuntu.
To be fair, I expect people to at least make it to the second sentence of an article on Hacker News before rushing to criticize people in the comments.
it's such nonsense, especially if you are even remotely computer literate. I'm working on an article about it, but I used snow leopard for 12 years with no ill effects (until this year!) and only finally left it because of the tyranny of HDCP
Funny how these things work. For many years while I was dual booting I had a bluetooth receiver that I used regularly with Linux, where it just worked, but was never able to get it working reliably on Windows.
We don't need an existence proof, we need a proof of impossibility.
Flamebait will get you banned here, especially on racial/ethnic topics. We don't want the predictable and toxic material that leads to. If you'd please review https://news.ycombinator.com/newsguidelines.html and stick to the rules, we'd be grateful. Note this one: "Comments should get more thoughtful and substantive, not less, as a topic gets more divisive."

Most comments in this thread, even the ones with a negative tinge, show some evidence of earnestly wrestling with the topic. Your post does not. Please don't post like this here.
Imo great engineers produce a lot of good to great quality work fast. They care about the big picture and get involved with the actual domain they're working in. They see code reuse opportunities and friction company wide vs only whatever team they're on. Great software engineers will write tools, packages, and guidelines that the entire company can use- not just their small team. They know how to standup to management and produce quality work that users actually want.
$10k is a lot of money outside high COL areas. where I live, that could easily cover the move and six months of living expenses while a single person sets up a new life.
I guess I can see military and extreme sports applications, but is there a mass market application I'm missing?
Overtime after 8 hours, allowing sitting if you don’t need to stand, mandatory 30 min breaks after 5 hours, same min wage for all workers regardless of tipping, health insurance mandate, Medi-Cal, to name a few.

I have a relative with an advanced degree in a state without labor laws who has to work 12 and 13 hour shifts with zero breaks standing up.
"Purchase Article for $37.50"

No thanks.
+1 to this -- invested in a desktop earlier this year to tinker more with ML projects, and dual-booted Windows and Linux (Ubuntu 18 LTS) on separate SSDs with separate HDs for data storage for each system.

I have spent 95% of my time in Linux, and only get into Windows for a game or two that I haven't bothered to figure out a Windows VM setup for.

Definitely recommend Linux for those looking for dev machine alternatives to a Mac. There are certain finiticky things when setting up, and it doesn't have the immense MacOS polish, but I would say it's 80-90% of the way there to a good, intuitive dev machine that gives you a very similar experience to a Mac programming setup.

Note, I'm referring to a desktop setup, no idea about how it works with laptop hardware and I have a MBP for my portable needs.
I have to use golden egg roll fork but it has been very impressive what it will run.
Distributing property to individuals is what gets that growth though, rather than property rights. Property rights are meaningless when only a couple people own most property.

Growth has stagnated because we've stopped taking land away from its owners to give it to new upstarts, and strong unions which redistributed power and thus wealth back to labour have been neutered by the rich.

A simple counter example: despite having very low taxes, Ireland is not an economic powerhouse; just a hideaway for money. Same thing with Delaware
To be fair this true on both OSs in the last 5-10 years. You can just upgrade to the newer versions so no need to uninstall.
People in general are terrible at predicting the future... I don't think being clairvoyant is a quality that should be expected out of an engineer or anybody.

This whole time estimation thing is akin to predicting when the next hurricane or earthquake will occur. The main problem is business people don't understand that so they place this unrealistic burden on engineers.

A manager or business guy who needs constant and very accurate time predictions is a sign of a bad manager that is overly reliant on engineers and lacks understanding of software. A good manager should have the technical knowledge to make a technical guesstimate himself (that will also likely be wrong) and have the foresight to be able to manage delays and allow for buffer time.

A great team of people creating a product consists of both great Technical product managers and great software engineers. A rockstar software Engineer alone may not have the ability to manage the politics of unrealistic expectations.
If you find yourself creating a lot of single-use abstractions, I think you're probably doing something wrong. In particular a lot of containers (I know Autofac) support Func<> very well.

As for ceremony and semantic load, I can't argue here, though I think following DI restricts some of the semantic load that comes with abstracting mainly through inheritance and through managing stateful dependencies.
The association between quality-of-life metrics, like wages, and per capita GDP, doesn't disappear when an economy becomes developed.

And China is a highly market-based country, which saw a massive decline in poverty after its pro-market reforms that ended many state subsidies and recognized private property rights, as the Atlantic article I provided above explains.
The privacy fight is heading to the office
I use the esrap packrat parser in Common Lisp for computational chemistry file formats. I've written half a dozen parsers with it and had a few written for me by others. They are easy to write and easy to maintain - even when I don't look at them for a couple of years. I am happy to not have yacc and bison in my life anymore (no offense intended).
It literally does. As the source is available, you can always compile whatever version you happen to have the sources for. Nobody is forcing anyone to upgrade, there's just no guarantees either.
Cuba would be an example otherwise? Despite having the nearby superpower trying their hardest to destroy Cuba, their communist system continues to work fine
Tulsa is not a safe city:

https://okcfox.com/news/local/oklahoma-ranked-14th-most-dang...
You have to differentiate between a rewrite with vs without looking at the original. A clean room rewrite is generally accepted (i.e. derive spec from original, then have the spec implemented by someone who does not know the original). Looking at the source while writing some kind of copy of it is a violation (legal and ethical). As per the thread there, the FB person did indeed see the original.