skysight-inc/HackerNews huggingface dataset:
Of course you don’t need parties to hold elections, that’s not what I said. I said they become meaningless rubber stamps since all the different factions are curated by the party establishment to the best of their abilities making any challenge to the establishment at best painfully slow (as in people have to be replaced through death or expulsuon for any blockage to stop) and at worst impossible.

I’m not talking about changing the constitution or policy in a direct democratic way, changing them in a representative way through Western style democracy would be a vast improvement. Because the constitutions of Western governments still leave a lot of political room to manouver, such as taxation. In the US, stuff like that was left out of the constitution because the founding fathers knew they didn’t have all the answers, no one does. Especially not the CCP. Instead, things like basic human rights such as the right to not get locked up and brainwashed because of your religion is enshrined in the constitutions of Western style democracies because unlike taxation or government ownership of enterprises that is really important to make sure all individuals matter.

And yes, changing the constitution is very slow, but if you have a multitude of differences with the government and the majority population, you can still progress politically and change one thing about the constitution where you do find common ground if you’re a competent politician. That’s far faster, more efficient and meritocratic than having to share the vast majority of policy with just one arbitrary party leadership to even be elligeble to run.

All of these advantages are still present even with a two party system, but I prefer the multiparty, parliamentary system we have here in the Nordic countries.
Damn, I was just commenting here earlier today about how hacker news links are not different from ads
You find your audience and you target them directly.
Horseman Global Unveils New Shorting Philosophy Using ETF Flows As A Catalyst

https://www.zerohedge.com/news/2017-04-09/horseman-global-un...
Oh I agree with you, but it seems to be a matter of principals.
Do Amazon and Microsoft make a majority of their revenue from selling hardware? Tesla sells t-shirts and hoodies but that doesn't mean they're a clothing company.
Heap Exploit Development for iOS
Buffet's investment thesis strongly suggests staying away from companies with bad management teams. CEO seems like a self-dealer. I am going to stay away from this Stock.
> That was an utter and complete failure in every sense of the word.

No, if it was a failure the previous system and people would have remained in power. Though some did, there was an irrefutable change - whatever qualms one might have with the new regime.

> And in any case the reasons behind it had nothing to do with a desire for democracy

Each person has their reasons. The Group of Nine would certainly disagree with your claim.
The thing is, the $6m is so... pissant. Like WeWork made Adam a (multi!) billionaire. What is he doing scamming WeWork over $6m?
But there is no reason that they need to be so high. Vanguard Primecap is like .45. Unfortunately it's closed to new investors.
Building in user management has and continues to be a huge priority for us. My background has always been in building complex enterprise software and I was always frustrated in how we needed to build authentication, user management, role-based security, etc. each time. 8base's role-based-security is very strong and easily configurable. In the next few weeks we are releasing a new and improved user management capability that improves the one we have now. We will continue rolling out new application infrastructure capabilities as time goes on so that the backend is overwhelmingly compelling.
I don't see how they ever even got the label of a tech company. It seems really just because they had lease terms that were very appealing to actual tech companies/startups etc., and then said "Hey, we should be a tech company too!" And people believed them.
> it most certainly does provide many techniques to reduce in-Python computation. Have you read the performance section in the FAQ and worked through the examples given ? Have you looked into baked queries , querying for columns and not objects ? These are often quick wins that make a huge difference. The baked queries concept is going to be much more cleanly integrated in an upcoming release.

Most of those techniques boil down to "use SQLAlchemy as a query builder rather than an ORM" - something I wholeheartedly agree with and would love to do, but it is next to impossible because these ORM objects have leaked into the business logic of the application.

> that's typical because a CRUD application is all about its object model and SQLAlchemy is doing all of that work. if you wrote your own object layer using Core then you'd see all the time spent in your own objects<->core layer. This is just the reality of Python.

I'm not trying to say SQLAlchemy is a bad implementation - it's a great implementation with tons of powerful features. I just believe that using anything as an ORM is a bad idea and directly leads to these performance and maintainability issues. Whether that's ActiveRecord, SQLAlchemy or even if someone implemented a similar ORM in Rust.

Some of the performance issues are due to python, but that's not the whole story: if I use SQLAlchemy as a query builder, and only return plain-old-data, I do not see nearly the same performance issues. Not because SQLAlchemy ORM is badly written, just because it has to do more work, create more objects, with more "magic properties", maintain more entries in the session, etc. etc.
This is just one long advertising pitch.
Or just use the ORM directly with a raw query, on a model that represents the results: https://docs.djangoproject.com/en/2.2/topics/db/sql/
really pivots at the end to sell a product that it spent the rest of the article arguing others cant sell?

how luminary and spotify cant pitch to Joe Rogan, then makes no points of how their product would help someone of Joe Rogan's size.

and this completely misses discovery, that Spotify or Luminary would help with.

This just seems like Patreon, with a nice coat of paint

I listen to podcasts alot and have never heard of their early "gets"
> Why would anyone want to do that?

Funny -- I had the opposite response when reading the headline: I can't understand why collaborative authoring isn't ubiquitous in the industry.
One of my favorite parts of watching a blockbuster movie is the credits: I sit there as all those names scroll by just marveling at the accomplishment that this huge group of people collaborated on. ("What a privilege", I often think, "to be able to work on that team.")
I am writing a novel now (mostly solo, sadly), but the best chapter in the book was co-written with my daughter. My creative juices run deepest when they are mixed with someone else's.
Thank you Lisa! Yes, you have a great vantage point, having met us about a year ago. We have been heads-down!
#include <stdio.h>

int main(void)
{
unsigned int plus_one = 1;
int minus_one = -1;

if(plus_one < minus_one)
printf("1 < -1");
else
printf("boring");

return 0;
}

Gotten from S/O.
That's what I heard, yet looking at WP it classifies tomatoes and tomatillos in the same family whereas gooseberries are a different order. I am not versed-enough in botanics to know how relevant this is, but I wonder what is true or not in these.
What's the Point of This Macro?
SEEKING WORK * Vancouver BC, Canada / Germany / Remote preferred *

Technologies: Python, Go, Linux, AWS. Interested in Rust.

Might work on Java, Kotlin or Scala code. Fullstack experience, but prefer backend and scripting.

Résumé/CV: http://lpolzer.com/cv (not mobile-ready yet, sorry)

Email: polzer@fastmail.com

Looking for remote contract or freelance work, but generally open to other opportunities.

I specialize in backend and scripting work, and have worked on a wide variety of projects over a span of more than 15 years. I can ramp up to new tech and environments quickly. My last gig was as a software engineer at Amazon Vancouver for 20 months. I speak German and English. I get work done, and can also communicate with clients to refine requirements. I am honest, and I'm trying to be a fair and decent person at all times.

Note: please definitely do not contact me if your vetting process includes "whiteboard" style coding or take-home challenges, or more than one technical discussion round. My preferred hiring process consists of a "getting to know" chat and a quick review of my sample code, taking no longer than a week. Also, no low-ball offers please, I generally charge at or above market average.

Thanks for reading! Looking forward to your messages. :-)
There's basically some segment of the population who will demand $SOME_DRUG_THEY_SAW_ADS_FOR and will change doctors repeatedly until they can get a prescription for it, even if there are better alternatives that were recommended by the previous doctors. Eliminating direct advertisement won't completely avoid that since there will always be blogs full of crazy nonsense or whatever, but I don't think there's any reason that consumers should be getting targeted for ads for things they can't even legally buy.
I should correct myself and say that Analogies are "Overused". Feynman's teaching style had frequent use of Analogies but as a way to clarify the concept, not manifest the concept using an analogy in a didactic manner to students. He explained things in plain english first.

Analogies definitely have a place in learning but it should be carefully prefaced with a warning that analogies can only go so far. You can't explain Quantum Electrodynamics using analogies or you're misleading the students.
An ode to the Indian software engineer
You can pass a negative number such that num * 64 will underflow and result in a large positive number. (Technically it's UB, but in practice it will probably underflow).

Or as someone else mentions, even without underflow, it will be converted to unsigned since malloc takes a size_t.
CVE-2019-10197
I would strongly doubt it, switching out the core graphics driver doesn't seem like something sensible to push into an ESR release.
What I learned at Kensho this summer
I made a realtime mac demo of the acoustic model part of wav2letter++ including several trained models:

https://github.com/facebookresearch/wav2letter/issues/327

Someone in that thread ported it to linux. This demo is just "acoustic model emissions", which are character level predictions (with no repeated characters), but I have "decoding" (turning into english sentences) working locally as well and I'll post a new demo at some point.
It's because they're doing it wrong as well
It’s all fine to say that active funds can’t outperform index funds... but if it’s a bubble and it crashes, then people in active funds will be having a field day while the people who bet it all on index funds will be left behind like the people who leveraged their 3 homes to buy 5 more during the “real estate always and consistently goes up” days of pre 2008.

The problem with bubbles is that everyone’s a winner and every indicator is confirming the everlasting increase.. on the way up.
> Pseudo random number generators try to mimic real randomness, but don’t have the properties required to deal out 70,000 Z-pieces in a row.

Citation?
1. Is it possible to use the open source Pocket client built into Firefox with any other server, e.g. by specifying another domain name in about:config?

2. Is there an open source implementation of compatible server software, that you could use to run your own server?

The answers to these questions will tell you whether Pocket is open source.
> The block might appeal to users, but is potentially worrying to publishers

This is idiotic because tracking is GOOD FOR GOOGLE and BAD FOR PUBLISHERS. If the saying in advertising is that half of your budget is wasted, why the hell would publishers want to tell advertisers which half?
C++20 concepts are not like Rust traits
Here is a radical idea, with some math as an initial take at backing it up.

First, let's assume we cannot solve the problem now, or in the short term. Short term here is < 50 years. What then?

Second, let's commit ~$100bn to the problem annually for that 50 years, and make that our max investment per year, not counting administrative costs. This amount would increase slightly each year as population increased.

Third, divide that $100bn among the babies born that year (~4million in 2018), using trust funds to get 7% interest, compounded annually at the start of the year with no additional contributions, and untouchable until they turn 50. Do this for the babies born each year.

Fourth, institute a fiscal responsibility education program with the vigor that sex ed was approached with, at elementary, middle, and college levels. No idea what the cost of this would be, but it would have to be factored in.

Fifty years later the first babies born under this program will be able to access their money. Each will have roughly $1.4million, and able to live off 5% annual interest without decreasing that amount ($70k per year). Since a couple will have roughly two people, each of their children should get roughly the same amount. In other words... in fifty years there could be little to no poverty in this country, if only we could think long term.

To put the $100bn into perspective, the annual defense budget for 2019 is $617bn with another $68bn for war funding. So, we could possibly eliminate poverty for $32bn more than what we are spending on the war.

The above plan is all under CC-By-SA 2.0 license, by Bill Barnhill, see https://creativecommons.org/licenses/by-sa/2.0/.
Everyone is building one, but no one has really proven that the market really exists. The cost-estimates I've heard are cheaper than helicopters, but in the same order of magnitude. These UAM vehicles are going to replace helicopters, not your car-based Uber ride.
It could be - but it's also important to note that number is lower than it's ever been, not many do succeed in getting married, and only 14% of respondents had financial reasons for not being married. I think there's a lot to do with the modern zeitgeist in the "too young/not ready" and "looking for the right person" categories.
> Every technology created at Facebook is meant for internal use.

Technology is a stretched term for ReasonML. It's a simple syntactic sugar for OCaml. It uses standard OCaml compiler and standard JS transpilers, like js_of_ocaml and bucketscript.
Do you know where I could find more information about this?
This is very surprising to me.
mister_hn, We are really focused on being a production-ready hosted solution but who knows what the future holds. Keeping options open and eager to hear what you and other users think about that.
Scared to Travel to ‘Dangerous’ Places? Don’t Be
My first ever CS assignment was to build a sudoku solver using MIPS. I remember reading this then and being inspired by the beauty of computer science!
Came here to say this, specifically about Django too. It's pretty bulletproof these days.
If I wrote a program that solves a problem for my employer, then turned around and tried to sell it to them or get royalties from them, it would be a huge conflict of interest, I’d likely get fired, and they’d take it from me anyway due to standard tech company IP reassignment clauses. But if I’m the CEO i guess it’s totally fine.
For anyone who is asking why sites are pushing auto playing videos, this is why. Google is actively pushing video to "increase engagement". All of those "news" sites have a Google Ads rep that tells them increase engagement equals more ad revenue, so they maximize it to the hilt. It becomes the overriding force UX be damned.
Back to kidnapping people off the streets I guess. More friction but gets the job done.
The norel link modifier extension is great to. Stops sites you open from links changeing pages of the previous tabs.
My eyes are rolling so hard right now.

Primaries/caucuses are managed at the state level, and are not controlled directly or indirectly by the DNC. "Bias" means nothing without action, and the claims of "cheating" are completely unfounded (and insulting to the countless thousands of party volunteers who run caucuses and serve as election judges).

Bernie lost by three million votes. Not because of cheating, but because more voters wanted HRC. Period.

edit: Bernie has been languishing at 12-18% or so in the polls since the 2020 race really got rolling. That's Bernie's real base. Losing 2-1 to a colorless apparatchik like Biden does not suggest a revolutionary groundswell for Bernie. Rather, it suggests that the success he had in 2016 was due to other factors. I'd argue that more than half his votes weren't pro-Bernie, but rather anti-Hillary, a symbol of defiance and frustration against her near-coronation by the DNC, without giving actual rank and file voters a say (basically, by discouraging other A-list candidates from running against her).
I think the USP of Node.js was that the majority of devs already knew JS.

What I want to say is, I question the premise that there are as many backend devs who just don't do frontent stuff because of JS as there were frontend devs who didn't do backend because JS wasn't an option.

On the other hand the industry gets bigger by the day, maybe even a small percentage of devs doing Python frontends will be thousands of people :)
In the default configuration, the checksum database currently has 657 level-0 tiles. The raw log data associated with each level-0 tile seems to be about 50KB. You could store the entire current checksum database log in about 30 MiB. You could store the level-0 hash tiles in 5 MiB.

This makes sense right? Cargo, the rust package manager, does replicate the entire package index using git and it is ~250 MiB (~150MiB in .git/) (The cargo index stores much more metadata in a more verbose JSON format). It seems like a very reasonable bet considering prior art.
> not that they made no sense (they can't help that)

Try being a little less rude to the other folks on this thread.
When only white land owning men could vote?
I don't know if it is just me but pieces like this just make me angry at the culture that surrounds SV. It makes me feel sick to my stomach to read this kind of thing even if they are trying to be tongue and cheek about it.
Technically, malloc doesn't get passed a signed value. malloc takes a size_t (which is unsigned). The conversion happens at the call site.
They have different asset classes, different minimums, different historical returns. Etc
Your OS is 'reading' your messages (whether you use smart reply or not)
Maybe that was my problem, many project setup tools do the install automatically, you just need to cd and npm start.
Wrote a solver using basically the same idea back in college. Was kind of fun. Probably some stupid things in there that I would do differently now with more experience.

https://github.com/war1025/sudoku-solver/blob/master/Sudoku/...
For Mac users that want to get away from chrome for privacy reasons, I’d look at safari & the chromium based edge browser. Firefox isn’t in the same league on Mac, it’s not a priority and it shows.
One practical consequence is that the halting problem is undecidable, so if your boss asks you to build a program to check if another program will ever do X, you can tell them "hey that's an impossible task!"
If the settlement was made "without admitting wrongdoing" it will be tax deductible. If it's a fine for breaking the law it isn't.
This is an example of code that would trigger what the OP describes as a "harmless warning"
> No, that isn't. In one thread it reads a value over and over. Another thread will periodically set it. This isn't a race condition and requires no synch[r]onization. On[e] writer thread only, and you're fine.

Sorry, wrong term by me. I meant data race, not race condition (although many would regard the former as a form of the latter). A data race is two or more threads accessing the same location without synchronization, where at least one of them is modifying the value. A data race results in undefined behavior. Here are the relevant sections from the C++ (draft) standard:

http://eel.is/c++draft/intro.multithread#intro.races-21

http://eel.is/c++draft/intro.multithread#intro.races-2

> I just wro[te] something very similar yesterday where I had a counter that is read over and over and an async handler updated it.

If you wrote this code in C++, you created a data race and your program has undefined behavior.

> I had to make it volatile to prevent the the spin on it from optimizing out the load.

volatile may prevent the load from being optimized out, but it does not prevent the data race (because it does not prevent instruction reordering). Your program still has undefined behavior.

Further reading:

https://www.kernel.org/doc/html/latest/process/volatile-cons...

> C++ has a very lose (almost nonexistent) abstract model

I don't know what you mean with "lo[o]se" or "almost nonexistent" but here are a few specifications of the abstract machine that C++ is defined on:

http://eel.is/c++draft/basic.memobj

http://eel.is/c++draft/basic.exec

> There was an int there.

No. Just because you operate on the memory as if it was an int doesn't create an int there.

> Also, those aliasing rules are more about optimization issues

Correct! And those optimization issues are the primary way in which UB manifests itself in your program.
Is this a "who cares" as in it's none of our business, or as in he isn't doing anything wrong? Because generally when you work for a place, as an employee or CEO of anything in between, they own all of your work-related output. Better compensation in terms of salary, options, etc., is the way you're rewarded for strong performance. Self-dealing is generally regarded as a breach of fiduciary duty, and is punishable by repaying the loss along with punitive damages.
There's great photos out there of a Hong Konger using a tennis or badminton racket to hit it back.

I don't believe the foam would work because the burning bit has its own oxidizer. I've seen fire extinguishers used to create a smokescreen and to make floors slippery, but water is enough for the tear gas cartridges (and people here really seem to prefer to throw them back).
you can turn the dead on or off as youve noticed.
with higher karma you can vouch comments that you are sure are not spam, or contribute in a meaningfull ["substantial"]
manner.
Patches have to be in Linus's tree before they land in -stable. That's been the policy for at least as long as I remember. Also, Greg does releases of -stable every week or two -- waiting 8 weeks for patches (that Linus has already merged) makes very little sense.

Yes, fixup patches are something that need to be handled separately but Greg has always handled those properly (and good kernel devs use the Fixes: tags and always Cc: stable on those fixup patches). Not to mention you'd need to handle fixup patches even if you did depend on releases (if a bug was introduced in a released version it's usually fixed by the next -rc1 -- so waiting means the newest kernel is broken needlessly for 8 weeks).
Thanks! So it's a moderator action as opposed to self-delete?
> You cannot, by definition, have a majority of investors beating the market.

You cannot have a majority of money beating the market. It is mathematically possible for a majority of investors (each relatively small) beat the overall market (albeit unlikely).

(I agree with your overall post, but not that line.)
Always use a VPN and incognito mode when accessing any sites for which your interest has value to others that could harm you.

It's not surprising at all that web sites covering medical issues are also tracking interest in those issues, correlating them with identities, and selling them to third parties, perhaps including life and health insurance companies, potential employers, etc.
5 Successful Businesses That Were Based on a Stolen Idea
I think zero-trust goes into a good direction.

https://www.securityroundtable.org/zero-trust-approach-can-m...