skysight-inc/HackerNews huggingface dataset:
Looking at the ~$375-$400 price point, the new 6 core Intel 8700k will compile large C projects ever so slightly faster[1] and might be faster or slower for games depending on which one and othe details. [2][3] I'd tend to go with AMD right now just because they don't play tricks with fusing off certain functions for market segmentation reasons. Basically, look at independent benchmarks close to what you're doing.

For choosing everything else many websites put together system guides laying out a set of compatible components they think are good at the same part of the market. Those tend to be very gaming focused but I think that's a good starting point. Intel just released a new top end chip so they're all out of date but the recommendations here[4] are where I'd advise you to look if you want a new system now. The prices have come down a bit since the guide was written, though.

Or there's the Build a PC subreddit wiki as an information resource. [5]

[1]https://www.phoronix.com/scan.php?page=article&item=intel-co...
[2]https://www.anandtech.com/show/11859/the-anandtech-coffee-la...
[3]http://techreport.com/review/32642/intel-core-i7-8700k-cpu-r...
[4]http://techreport.com/review/32474/the-tech-report-system-gu...
[5]https://www.reddit.com/r/buildapc/wiki/index
I am not comparing it to the UN, but how it is referred to in the media is often misleading, especially the "in the Hague" part. Quite a few articles even dropped that bit and just referred to it as an "UN court/tribunal".

It gave the impression that China is defying the UN, not saying that China wouldn't do something like that, but they didn't in this instance.

And because it is a court of arbitration, both sides have to agree to have their dispute resolved by arbitration in the first place. China did not agree to it.
That sounds like a challenge (but I've goofed off work enough for one day so they'll have to be mediocre solutions):

set(range(2, MAX_NUM)) - {j for i in range(2, MAX_NUM) for j in range(2*i, MAX_NUM, i)}

Or to put it in the same form as the original:

[False, False] + [k not in {j for i in range(2, MAX_NUM) for j in range(2*i, MAX_NUM, i)} for k in range(2, MAX_NUM)]
As someone who's familiar and uses postgres, but not familiar with the more detailed things databases/postgres related where would be a good place to start?

I don't know what I don't know and am not familiar with situations in which the new functionality introduced here should be used.

TLDR: am database/postgres noob. Help?
Correct. While simple, this does have the performance impact you're alluding to. On my 20mbps (down) connection, I peak out at 16mbps on subnet.

The 'double congestion-control' effect can be alleviated by opening 10 or so TLS connections and pumping the packets down those, to spread the effects of TCP congestion control.
Are you paying competitive salaries?
Not really, knights can storm ahead.
Providing factual information to people is in no way intervening in the domestic affairs of another country.
Its not any more ephemeral than the money that our government prints. In steemits case, they are the government and can arbitrarily "print" money. If the government of steemit crumbles, so will its currency. Just like any other government. Every single currency is ephemeral to some variable degree...
You seem to be confused. One could argue that Bruxelles is such “capital”, but definitely not Luxembourg. See: https://en.m.wikipedia.org/wiki/Institutional_seats_of_the_E...
> Also, where's the check whether `i` is actually prime before you start crossing of multiples? You don't need to cross off multiples of composite numbers.

You are absolutely right as the original method seems to specify that. I've edited my answer to show it.

So the function would be something like (untested):

void sieve()
{
for (int i = 2; i*i < n; i++)
if (p[i] == 1)
for (int j = i*i; j < n; j += i) p[j]++;
}

There's the problem, as other posters are saying, that if p[j] == 1 is because it was cleared as non-prime, but I've just tested p[i] == 1 for primality for coherence with the original author.
These are the things no one tells you about working remote
Warran Buffet's opinion isn't relevant here. This is presented as a study providing empirical evidence in support of it's conclusions and as such needs to stand on it's own merit.
You can RMA affected chips (I've done so), which were from early batches (apparently). It's inconvenient but it's not the first and won't be the last piece of hardware that has to be RMA-ed. At least you can RMA them! Intel didn't offer that when TSX turned out to be broken.

After compiling things on an 8 thread Haswell Xeon, and now a 16-thread Ryzen, I really want a ThreadRipper...
> But how does Bank A know to ask Bank B?

Because you tell them to. When you're applying for credit with a new bank, you ask the existing bank to vouch for your history of making timely payments.

In theory the person applying for credit could keep one set of accounts that they always pay and another set which is delinquent but not disclosed, but not disclosing delinquent accounts would be fraud and anyone willing to commit fraud has been able to commit identity theft this whole time without the system collapsing.
I must be a rarity because I prefer the Erlang syntax over Elixir.
Vue.js vs. React: Which JavaScript Framework to Choose for Your Project
I think that giving them something is better than giving them nothing. I doubt the intention of the "starving hacker" level is to only apply for hackers that are literally starving, more just for people who cannot afford it or who feel that higher levels are too much.
I used to do that (and there are out there many commented lines on old projects that are still active).

Now, I backup the source file somewhere for archive, run multiple tests on the new code, and make an obligation for me to deliver a cleaned source file, with no other comments than the one needed.

It's more clear when you go back to your code to not be distracted by old thoughts.
Interestingly, other issues seem to be visible [0], but not this one in particular.

0: https://issuetracker.google.com/issues?q=status:open
Seconded. I also (dumb, I know) agreed to some ToS but have no access.
Here's my Python version. Same thing, using slice-skip addressing to replace the inner loop.

n=1000000
isPrime = [True] * n
for i in xrange(2,int(n**0.5)+1):
if isPrime[i]: isPrime[i*i::i] = [False] * ((n-i*i-1)/(i)+1)
it was public when the post was created, otherwise hackernews couldn't crawl the title
> a failure of society to accommodate the wide variety of human natures

The raison d'être of the society (and the state) is not to "accommodate" anything, especially not some particular aspects of human nature, but rather to suppress them, limit the "natural" freedoms -- in order to create a semblance of order and harmony among humans, which, in particular, makes it easier to control (and protect) them.
The Linux EDAC (for ECC memory controllers) module allows injecting address-based errors (simulating the MC reporting a fault).

You can also use ptrace to corrupt the memory of a process more subtly.
Mini Rulebook for Go short declarations
Congrats on releasing logical replication! No more WAL horror stories, or whole "host to host" replication.

I suspect many larger shops will wait till PGSQL 10.1 before going whole-hog on this feature, but exciting stuff nonetheless!
> genuine question - can this be done in python in a production ready manner ?

It can, but without a type system you lose most of the benefits. You can put monads in there but if you refactor fearlessly the way you would in Haskell (without tests), you'll get production bugs.

> Compare this to design patterns or OO, or reactive programming (via rxjs or whatever) - which are so accessible that they are now the reason to learn a particular language!

Isn't that the same thing? Monads etc. are the reason to learn Haskell.
It's funny that you comment on the story of someone being jailed for being an activist with essentially "shut up it's none of your business"

The idea of taking care of your own backyard seems pretty similar to the old Soviet Union deflection whenever they were met with criticism:

https://en.m.wikipedia.org/wiki/And_you_are_lynching_Negroes

Many countries have issues, people should be able to criticise even if their own situations aren't perfect.

You talk about the majority position. But what about these minorities? Do they feel the same way?
Other discussion: https://news.ycombinator.com/item?id=15408800
Oh yeah, absolutely.

I have 100GB of data in Postgres 9.2 on a single machine. I have it backed up to Tarsnap, and a tonne of spare disk space locally, and can make a snapshot of the machine at the beginning.

I really need to know: What is the general flow for upgrading... can I go from 9.2 to 10? Or do I need to install and migrate to every intermediate version? If there are multiple approaches to this, which is considered the safest (even if the downtime is a little longer)?
I think this article is attempting to make a different point.

It essentially argues (unconvincingly IMHO) that it is difficult to _distinguish_ a (very contrived type of) "perfect" active investor from a "bad" investor whereas Buffet argues that it is difficult to _be_ a good active investor.

These are not necessarily inconsistent but they do have opposite impacts on investment decisions.

To my mind this is dishonest marketing "research" whereas Buffet is making an important point.
No it isn’t. TLS helps ensure you aren’t talking to a rogue server and HSTS ensures you can be spoofed in the first http request to a new server.
This would work. No callback hell a pleasure for eyes!
$999 for a workstation CPU is quite alright.
How did Liu Xiaobo become so important? So much happening for this guy expressing his opinions, wtf?!

If an American or someone from most European countries would express similar opinions wrt his own country's government... nobody would blink a fucking eye, regardless of who gave him what prize...

(And we all know that Nobels for anything except science are 100% bullshit. Heck, I'd even question the relevance of the ones for medicine...)
I attempted to do this as well, but I don't want to enroll my PC in any "insider edition" of windows.

Microsoft, if you're listening "give us a simple signup page so we can use TestFlight without having to move to an insider preview of windows". It's the most ridiculous convoluted way to sign up for testing your app I've EVER seen.
IMHO, better something than nothing, and marketing names should be treated only as suggestions. Even if you haven't read in a long time, aren't currently subscribed, and see an article you find super valuable, it's a good reminder to chip in something.

The LWN model seems an awful lot like public radio in the US, but without the annoying pledge drives. Like you, I both read and subscribe in bursts of activity and inactivity. If it's something that you feel is valuable, and needs support, don't let the names get in the way of donating at the level that you feel you use it.
Taleb is a gifted statistician who often wanders out of his element to make broad, bold, but perfunctory claims about various subjects. You kind of have to take his work for what it is: the work of a really smart, but arrogant guy who likes to shoot first and aim later.

Personally, I prefer his academic papers to his pop-sci blogging and books. But I still can't help reading him. He isn't always right, but he's usually interesting.

I agree with you that he would benefit tremendously from a strong editor.
A Pre-History of Slashdot
I wonder how scalable the service is...

At least with PhantomJS I felt like my system would begin to lockup if there were too many instances rendering at the same time (and it didn't appear to be an issue of too little memory).

Nonetheless, this looks promising.
A Brief Guide to CLOS
It's a shame that keysafe[1] wasn't mentioned. It's a fairly interesting project, where it splits up the key into separate parts (using Shamir secret sharing) and it's encrypted and sent to separate servers. Brute forcing is quite hard because even with the right password it takes more than an hour to recover your key (due to the difficulty chosen for the Argon2 hash). Joey Hess gave a talk about it at LCA[2].

[1]: https://keysafe.branchable.com/
[2]: https://www.youtube.com/watch?v=AYegjnDWvww
> this system is free.

Free? Who pays for the blockchain? Last I looked into it, each transaction requires about enough electricity to power a house for an entire day. That isn't very free.
I'm glad you're asking these kinds of questions, they need to come up more often especially in a software-supply-chain context.

I am a strong advocate of the saying 'trust but verify'. I believe you should closely audit whatever OSS software you are looking at using in light of your threat model.

To get round to your question: Why should I use subnet over OpenVPN/Tinc etc? That decision is entirely your prerogative. Subnet is small (quick(er) to audit), easy to understand, and has the bare minimum functionality needed to implement a VPN with full mutual authentication. OpenVPN and others have far more features and are almost certainty xx% faster. Where you want to draw the line is up to you.
Got it. Thanks! The capital M made me think they were somehow referring to medium.com
Computerbase concluded that the R7 1700 and the R5 1600(X) beat (respectively) the 8700K and 8600K in price/performance for non-gaming uses.

Pretty graphs: https://pics.computerbase.de/8/0/0/8/6/diagramme/70-630.1507...

Somewhat surprising to see AMD in this situation given the console design wins and those being 8 core systems, but for now gaming remains Intel's forte, though.
I know of a few options depending on the desired setup:

- There are USB-C to 3.5mm jacks. Probably the simplest. There are also Y cables that put out a USB-C charging port and 3.5mm.
- I own a Sony SBH54. Converts bluetooth into 3.5mm. Awesome to pair to my phone and laptop, hoping improved specs of Bluetooth 5 shoe up in a new device soon. I have been on Bluetooth audio with their SBH50 and MW600 - the audio quality has improved greatly. I wonder if there's a wireless external DAC.

I heard of an intriguing option yesterday - USB C Digital headphones where the signal remains purely digital.

LG has put dacs into the v20 and a variant of the g6, I kind of wish I had gotten a model with one.

I sense the no headphone jack is here to stay if the reason for it is true (allowing thinner phones).
Congratulations to the PG team! Another great release. Does anyone know when will PostgreSQL 10 be available on public cloud (AWS in particular) as a managed service (RDS)?
Thank you for the well thought out reply! I think this is a good representation of how some Americans think about guns, at least in my experiences from Northern California up through the North Oregon Coast. As a working class yokel, I don't trust the Federal Government to act with my best interests in mind.
The manuals are really well written and easy to access. I would start at the release notes from the manual and then look at the corresponding manual pages.

https://www.postgresql.org/docs/10/static/release-10.html#id...

https://www.postgresql.org/docs/
Ooooooh, there have been a couple projects where I wished I had something like this. Definitely bookmarking this.
Equating invasions, bombings, and direct material support for local factions to "make some objective history available to people who want to read it" is extremely disingenuous.
I don't know what sort of FTA Norway was in the process of negotiating in 2010, but if it's anything like the treaty it signed with Iceland in 2013 calling it a "free salmon treaty" is the understatement of the century.

You can read the full list of tariff concessions by Iceland[1], as well as the rest of the treaty[2] MFA website.

It covers anything from food, tools, machinery, to raw ore and metals to finished nuclear reactors. Almost all tariffs on Chinese goods entering Iceland are set at 0%.

This means that Iceland (or hypothetically Norway in the future) can import say cheap industrial acids from China, and use them to make finished products that could be sold to the EU market using existing EU/EEA trade deals that give preferential tariff treatment to EEA members.

That's the potential conflict I'm talking about. China's setting up agreements where a country with wide access to its internal markets has better access to cheap Chinese goods than other EU/EEA countries.

Which means that either the EU needs to slow down liberalization of trade with Iceland (and perhaps Norway in the future) least they essentially become hubs to evade EU duties on Chinese goods, which'll pull those countries further into the Chinese sphere of influence.

Or it'll need to make similar deals itself, or otherwise live with the resulting trade imbalance with Iceland and Norway becoming re-exporters of Chinese goods.

1. https://www.mfa.is/media/fta-kina/Vidauki-I---Tollaaetlanir-...

2. https://www.mfa.is/foreign-policy/trade/free-trade-agreement...
Yes. But those who make the laws are the direct beneficiaries of the system. The odds of them changing - especially at the disconnect Federal level - are about as good as a cat barking.

I'm not yet sure of the solution. I do know our collective belief in barking cats doesn't help.
Investing returns are objective and quantifiable. That's the opposite of subjective.
This has _not_ the same time complexity as the sieve of Erasthones.
Unlike previous releases, 10.1..2..3 will be just bug fixes. The next major release will be PostgreSQL 11.
Not this particular novel, he has written dozens.
Sometimes I think the point of 'campaign finance reform' in the 1970s was to lower the price of buying off politicians. Certainly when there is a scandal here, people from overseas tend to be shocked about how little money was involved.

I know many people personally who seem to be obsessed with gun rights. Even many people who vote Democrat have a "live and let live" attitude. In the scheme of things, the geographical distribution of votes makes gun control as a litmus test a certain way for the Democrats to be a minority party for a long long time.
Because you might be an individual interested in a fairer economic system?
As others already hinted at in the lwn comments, a keycard without an external keypad or confirmation system gives you a lot less protection than you probably expect: usually your computer will be no more protected from keyloggers able to record that pin and from the execution of requests to the keycard then from the theft of locally stored private keys. Actually in what's probably still most cases a keylogger will be trivial to set up (https://theinvisiblethings.blogspot.com/2011/04/linux-securi...).

A keycard will avoid (with very high probability) the theft of the private keys, but in most cases this is not that important, if an attacker can do individual sign/decrypt/encrypt operations on demand it will be more than enough for him.

Unfortunately for some reason it looks like almost all the recent affordable key-handling devices lack an external keypad. There's either some misconception about their security or some wilful scheme to give a false sense of security to the people who use them (I wrote it tongue-in-cheek but actually we've seen worse...).

Also, it's not true that "a key generated on a keycard cannot be backed up", most devices permit the export and re-import of keys by first encrypting them with a key known only by the device (and not exportable); these will effectively be back-ups, although they're only useful against the accidental deletion of the keys, not against the loss/damage of the device.
By the way, this feature is also notable for being the source of vulnerabilities in many devices that made it possible to extract the raw keys.

P.S. I don't know why the author uses that unusual "keycard" term, I assumed he means smartcards or dongles
What benefit is it to me to show off to my peers?

My peers are not the ones hiring me. By definition it is my superiors hiring me.

Seems like an exoensive way to demonstrate to my peers.

I think it is better to demonstrate by actually doing (building products, providing service, insightful writing, etc).

The fact remains that a person who stakes money into a multi-year process is signalling a few things:

- they have money/credit
- they are time committed
- they work mostly within the system
- they acknowledge the authority/validity of the degree
Pixel's missing headphone jack proves Apple was right
Alphabet Nears Deal to Build Its Vision of a City in Toronto
He’s written quite a bit more than one book (over 25). Sales are >250 million according to his website. His books are practically their own genre in the UK, if second hand shops are anything to go by.
He's saying new software always (rare in pg) has bugs, so you wait some minor versions before rolling out.
Open countries have strong science
Everyone should have been collaborating through distributed code review pushed into repo branches. Take a look at how SmartGit does it
There's no substance. It's multilevel marketing. This is the top post:

https://steemit.com/steem/@ned/explainer-value-flows-on-stee...

It's a great way to build a large audience of money hungry people, probably not a great way to build a community with any kind of value. Nice hair.
Give https://blog.2ndquadrant.com/untangling-the-postgresql-upgra... a read perhaps.
> They guaranteed the indivisibility and independence of Cyprus and did nothing when the Greeks invaded,

Turks, not Greeks

> they guaranteed Ukraine’s borders along with Russia and the USA

The Ukraine situation has much more nuance than you give credit for.

> and never trust the U.K. or USA.

As history shows, every superpower has interests, not friends.
Most of the practical use cases are illegal developed nations (because fundraising should be guarded for the elite). But there will be a developing nation that adopts the token economy, allowing for global crypto liquidity to flood in and be put to productive use. Stocks, bonds, notes, everything will be tradable on the global marketplace without KYC AML garbage. Just the free flow of capital to where it's needed most.
Wonder Unit's Thoughts on Free and Open Source
Obama won the year before Liu Xiaobo, so how does this make sense?
a hobby you can always pick up again whenever.

Harder to comeback to a job and much more awkward to hangout around old coworkers.
How AI Will Keep You Healthy
Funny, I agree with the structure of what his argument and the limitations of Matlab but disagree with the pedagogical conclusions. I learned to drive on automatic transmission cars, and found it a good stepping-stone to learning how to use a manual transmission. I just had to buy a cheap used car to make it happen. Likewise, I started coding seriously using Matlab (well, IDL even before that.) I'm slowly transitioning to Python and (command line) Julia, I think this would be much more frustrating if it weren't for the experience with Matlab. Even reading the occasional block of C code is easier after the Matlab experience.
I used to run a Samsung Chromebook 2 13" with Crouton, so I could run XFCE Linux next to Chrome OS. It was an excellent setup for the money, aside from a few drawbacks:

- ARM processor (excellent power efficiency and battery, but you can't run certain Linux packages, or programs such as Sublime Text)
- Limited storage space (so you must use USB volumes, or server/cloud storage)
- Physical security (chroot runs somewhat at a compromise to security)

Other than those, it really was a surprisingly great little Linux machine. Very lightweight, outstanding battery life, and capable of 99% of what I need as a web developer and for casual entertainment.
I don't think the situations are as few as you report.

The heat/consumptions and single-core speed aspects are not negligible.

In addition (although this is definitely something for a minority of users), I suffered blocking VFIO scheduling issues with AMD (A10) while I didn't with Intel. Even Ryzen seems to be immature for VFIO (but I didn't personally test this).