skysight-inc/HackerNews huggingface dataset:
Technology choices are complex, so there are always some plausible reasons.

But at this point, I think PostgreSQL should be the default choice for most people for new systems, and then move away if you have some real problem with it. The chance of regret is a lot lower with postgres.
this misses the point. There do exist untranslatable idioms, and puns are an easy example. They rely on language-specific features like rhymes (or sight-rhyme) or homophones that are not preserved across corpora.

You can absolutely make a "direct" word-for-word translation of a pun in english to, say, russian. It's just not a pun any more when you're done. Often there are no "pun equivalents" with totally different words, because usually they hinge on culturally specific references that also don't translate well.

Basically none of this matters when what you're interested in is subway directions or ordering food or whatever, but it becomes intractable really fast whenever you're interested in talking about something more meaningful.
Never heard these claims. Source?
Is this a deliberate lie or a massive mistake?

I'm asking to know if I should use my userscript to block you as a deceptive actor here or if I should just leave it at a down vote.
In American high school I learned not just about Nathan Hale and Martin Luther King Jr., but also about Nelson Mandela, Mahatma Gandhi, and Sophie Scholl. These figures are famous for the strength of their moral beliefs, the brutality they endured as a result, and their perseverance despite such adversity.

On these points, I think Liu Xiaobo is of equal merit. This would explain his visibility in the West. If students in China aren't taught similar stories or values, then I could understand the difficulty to relate.
Why Nerds Should Not Be in Charge of War
How does someone “not use” ECC RAM when their computer contains it?

Computer reliability should be a rising tide. Up-and-to-the-right is the goal.
That anxiety is fueling ico scams

I just buy Bitcoin and sit on it
Some WinCo and Albertson's near Seattle have a large red coffee machine, where you can't get a decent cup for $1. Similarly, Starbucks has been providing the "Starbucks Microsoft" machine to Microsoft and other offices for over a decade.

Like self-check, this is another instance where we have the automation but do not use it. Automation is eating the world, except where it's not.
Modern B-Tree Techniques (2011)
I was playing around with Puppeteer the other day and was wondering if it was possible to render a web page to a single page PDF (a page with fixed width and variable height). Basically like creating screenshot without losing the text information. This would solve a lot problems such as sticky elements hiding text like in this example [1].

[1]: https://url-to-pdf-api.herokuapp.com/api/render?url=https://...
This is a policy who's primary goal is to ban other browser engines. They make exceptions for lots of other app types like games.
Five Facebook Ads Designed to Divide America at Russia’s Behest
I wonder how hard it would be to run a couple pages of dense print (though in a monospaced and consistent format) through an OCR system.

I might play with Tesseract[1] this weekend and see if this is even a feasible idea. If so, it makes the paper key storage a lot more palatable.

[1]:https://github.com/tesseract-ocr/tesseract
Or they just cover the same interest areas? New Intel chips come out and both Slashdot and HN cover it, but not because someone is copy/pasting articles, it's just a story that both would cover.

Slashdot has a lot less "Everybody should switch to strongly typed functional programming language X" articles than HN, while HN definitely has fewer Your Rights Online type articles.
In a previous post here or on reddit it was kind of implied that Yandex used MySQL exclusively. Glad to hear that PostgreSQL is also used there.
Chrome extensions to flag VCs as good or bad on the web
I predict Hong Kong's Basic Law won't last the 50 years. Provides too many freedoms and human rights to the Hong Kongers.
Pretty sure they don't allow you to download and execute code even if not using a JIT, unless it is an educational app. There are multiple policy reasons browser engines can't be on iOS.
Meh, let it stay there. It has always been as optional as every other "requirement" on there.
Those same officials who will smooth over the future problems are happy with the press today. SA is coming off today as a herald of the green future. That's good press regardless of eventual outcomes.

(Remember also that SA is currently involved in a messy war against a neighbour. We must assume that any and all news is being carefully managed.)
No, App developers are able to find out if Edge (or Chrome or Firefox) is installed on your device to give you an option to open links inside it, but most apps don't do that and you still can not change the default browser.
I second that, in most cases, 64GiB is enough for workstation clients.

I can think of some reasons to have twice, four times, or eight times as much though. You can almost never have enough block cache, after all. Local testing databases come to mind. Also, tracing/profiling Elixir programs takes up enormous amounts of memory. My colleagues at my last company did not have enough RAM to generate meaningful profiles of our system, 64GiB was just barely enough to get a signal out of it. Rather than spending a month working on the profiler, it was nice to be able to get some data out of it as-is.
I just had a chat with a friend about another problem of working remote: How to meet people. This gets harder when you can't personally hangout with your colleagues.
Mostly when you live in a country different than your own, where they speak another language it can be challenging.

I gave him these tips, but I would appreciate if you share some advice about it:

- Join any kind of sports club or whatever group of people that you share interests with.
- I sometimes use Couchsurfing to meet people. The app has something called hangouts that lets you meet people that are close by.
- Working from a coworking space could also help.
- Joining a language school is another option; you meet people and learn the language at the same time.
Exactly. I'm amazed at how blithely people dismiss the impact of bit errors. A random bitflip could break anything! That's terrifying.

Even if it's just in a float, it looks like a single bitflip could change FLOAT_MAX to NaN. That could hurt.
No & yes. Microsoft just got back on its original course, building software that's usable by as many people as possible.

I highly recommend Satya Nadella's new book Hit Refresh. He states Microsoft wants to build software for all platforms & reminds people that Microsoft has been building software for the Mac since 1982. Somewhere along the line they got off course & tried to lock people into their own platform. I suppose success does that to a company.
I think part of the reason for this is that you shouldn't be web browsing with old software. It's unsafe for you and others that your hardware could damage.
Elon Musk Wants Mars. We All Should
Migrating to Postgres will certainly be significantly more work than going to MariaDB for you. But I would still recommend you consider it, because Postgres is safer, more powerful and has fewer edge-case behaviors. If your systems are highly-wedded to MySQL's idiosyncrasies, the difference in cost may be too high for you to do it right now, but I would seriously consider it.
I thought Pentium was just because the Trademark office was scoffing at registering just a string of numbers. So instead of 586, they called it Pentium.

Core was a total change in design representing a very different lineage than the current at the time Pentiums, so it makes sense that they'd change the name.

I'm not sure that I see a similar external pressure in this case.
It's a preview, dude.
Properly close a frozen SSH session (2012)
Wish they had called it PostgreSQL X :)
HN is a latter day Slashdot, but there are differences. Slashdot curated the news whereas HN is mostly a list of pointers with references to articles.
Polco: Help drive positive change in your community
>Some people should not be in this industry -- not because they don't have the chops; but because they don't actually want to put in the time and effort to develop their skills. And it is an overwhelming task.

This is something that is near and dear to my heart, so I'm gonna take the opportunity to rant on it a bit. There are quite a few high-paying and fast-moving fields.

Pretty much everything under medicine or law moves is moving on a week-to-week and even day-to-day basis, just like software development. Unlike software development, practitioners in these fields get paid to stay up to date, as part of their day jobs. Lawyers spend a good chunk of their days just reading the latest case reports that are relevant to their field, and boy howdy do our legal systems churn out a lot of reading for them to do.

It's pretty much only in software development that we expect professionals to stay up to date and develop new skills /in their spare time/. There would be a lot more 1% developers out there (or rather, we'd be able to look for the 5% or 10% rather than the 1%) if companies were willing to have their teams spend 4 hours a week training, but no one is willing to do that.

I have guesses on the causes of this industry-wide unwillingness to train, but one thing is for sure: this situation will never resolve itself as long as we honestly and unironically expect members of the field to spend their evenings and weekends learning new algorithms and languages instead of playing with their kids or chilling with their mates.

You know why so many developers settle for mediocrity? Because mediocrity pays the rent, and no one is supporting their path to excellence.
I 100% agree, it does limit releases too...but they are changing this with the next Windows release. They are going to make Windows more modular too in the future.
All good points, which I (as a remote worker for several years) have encountered myself. Worth a read.
I've used both mysql and postgresql and they worked just fine for my needs.

But I have always been curious: how does postgresql (or even mysql) stack up vs proprietary databases like Oracle and Microsoft sql server?
Good, that makes it less 'urgent' at least. Though, I really hate the clunky way partitioning works in Postgres<10... I might have to take the time to rework my partitioning at some point.
Yes.

At least for their high-end server parts, Intel has docs on how many turbo bins you get. AVX can also slow things down all on its own (it reduces the available turbo). A co-worker of mine is (hoping to) speak at KVM forum about this as relates virtualization.

Ah, found some docs for the Core i5: https://www.intel.com/content/www/us/en/support/processors/0...

There's a nicer version of these somewhere with graphs, but I'm on my phone and it's early :)
I've always been a fan of Twibright Optar.[1]

"Optar stands for OPTical ARchiver. It's a codec for encoding data on paper or free software 2D barcode in other words. Optar fits 200kB on an A4 page, then you print it with a laser printer. If you want to read the recording, scan it with a scanner and feed into the decoder program. A practical level of reliability is ensured using forward error correction code (FEC). Automated processing of page batches facilitates storage of files larger than 200kB."

[1] - http://ronja.twibright.com/optar/
You're right. There is no equivilence. People present tons of evidence and theories on 4chan with no pretense that it is anything but someone's interpretation which you can choose to agree with or disagree with.

On CNN, they present utter lies as if they were undeniable truth and call you a conspiracy theorist if you suggest their own privately held opinion that Trump being a russian spy is a "nothing burger".
If the goal is conciseness, let's use K.
Start with a range:

1+!20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Prepend runs of 0 of each length with 1:

(1,&:)'1+!20
(1 0
1 0 0
1 0 0 0
1 0 0 0 0
1 0 0 0 0 0
1 0 0 0 0 0 0
1 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0 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0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0)

Sum the rows of the matrix:

+/(20#1,&:)'1+!20
20 0 1 1 2 1 3 1 3 2 3 1 5 1 3 3 4 1 5 1

Find indices with exactly one factor:

&1=+/(20#1,&:)'1+!20
2 3 5 7 11 13 17 19

Generalize to any upper limit x:

{&1=+/(x#1,&:)'1+!x}100
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97

As an afterthought, I realized it's easier and equivalent to work from a 0-based range:

{&2=+/(x#1,&:)'!x}100
2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97

I couldn't precisely remember this function, but I'd seen the approach before and it was easy to build up piece by piece in the REPL.
A workstation will be used or at least turned on 24/7. The one I just sat down at sure is. So when calculating costs one should include daily power consumption (power used + cooling needs). Some of these new intel chips run very hot.
try this one:

http://www.aaronsw.com/weblog/hatethenews
> Insecure or maybe well known as imposter syndrome hits me hard many times from when I started as an iOS developer

Used to feel the same when the Python-crowd harassed me on choosing PHP over Python for webdev. I got my revenge when the python-devs i knew started rewriting their entire projects in ExpressJS/NodeJS due to scaling-related issues and mine still outperform them after 5 years of service.
Good thing you didn't have access to a condom dispenser.
what is the best way to shard on postgres?
I feel like they’re burying the lede a bit in this one:

“PostgreSQL 10 provides better support for parallelized queries by allowing more parts of the query execution process to be parallelized. Improvements include additional types of data scans that are parallelized as well as optimizations when the data is recombined, such as pre-sorting. These enhancements allow results to be returned more quickly.”

This sounds HUGE. I want to see detailed benchmarks and examples of the kind of workloads that are faster now.
I think there's room for nuance; particularly because the partners are both of the same political organization and each has governing experience under their belts: one as an executive and the other as a legislator and high-level appointee.

Now if we had a situation like in Alabama where George Wallace used his dying wife to get around term limits then I would call it grade A fuckery; but the Clintons were both qualified to hold the office on their own merits, marriage not withstanding.
Your response, as do most such Agile defenses, suffers from the No True Scotsman fallacy.

The problem is that if, when faced with example after example of something labelled 'Agile' not working, one discounts each as not 'truly Agile', then once one subtracts all those examples of Agile not working from the Agile literature there's nothing concrete left to prescribe other than "keep trying stuff until you find something that works for you."
PostgreSQL is really better at executing arbitrarily complex queries, and the documentation is so much better.

PostgreSQL also provides additional features like LISTEN/NOTIFY, Row Level Security, transactional DDL, table functions (like generate_series), numbered query parameters ($1 instead of ?), and many others.

In my opinion, the only reasons for choosing MySQL/MariaDB are if you absolutely need clustered indexes (also known as index organized tables — PostgreSQL uses heap organized tables) or if you architecture relies on specific MySQL replication features (for example using Vitess to shard your database).
DeepMind's Richard Sutton- the Long-Term of AI and Temporal Difference Learning
In my experience Singaporeans only talk about food.
As soon as this is implemented directly into Firefox and easily accessible, I'll ditch chrome for good. I rely too much on separate profiles to give this feature up.
To add another example, WebVR API cleanup was inspired by Microsoft that joined the group working on this API. Edge isn't yet shipping WebVR, but they are helping with the work.
Not so much a reason to not use it, but something to keep in mind: queries such as `SELECT COUNT(*)` tend to be a bit more expensive in PostgreSQL compared to MySQL/MariaDB. This doesn't necessarily mean they're always slower, but it's something you should take into account.

Another thing to take into account is that updating between minor versions (major versions per 10.x) is a bit tricky since IIRC the WAL format can change. This means that upgrading from e.g. 10.x to 11.0 requires you to either take your cluster offline, or use something like pg_logical. This is really my only complaint, but again it's not really a reason to _not_ use PostgreSQL.
I'm not convinced that these "computers in the classroom" programs actually help students learn.

Computers are a great lever for amplifying effort when producing something (ie: a "bicycle for the mind").

But technology is just too seductive of a distraction when trying to learn.

Plus, tablets are not even computers. They are built for consumption, not production. They aren't even good for note-taking.
They are trying to say "Please don't fire us - even God would have down years!". Although this depends quite a bit on when you start. They start in 1927, if they started in 1932, God might never be fired.
Are you saying The Hunger Games isn't a valid, as well as popular, commentary on wealth inequality and Western militarism?
All browsers on iOS are not using their own render engine, Apple doesn't allow it.
I concur. I was hit (again) today by a choice of MySQL made a few years ago: https://medium.com/@ngrilly/dont-waste-your-time-with-mysql-....
You are contradicting yourself.

It is scalable. It scales linearly (and for practical purposes indefinitely) with the amount of money you spend on AWS Lambda. It might not have a nice constant factor, but it is scalable.
Really good beef is expensive in Singapore, and the locals don't have that much of a culture steak. So there's a bunch of bad restaurants for western expats, and some very high end ones.
Lumenier / GetFPV | VP of E-Commerce | Full-time + On-site Sarasota, FL | http://www.lumenier.com/ https://www.getfpv.com/

We're the largest e-commerce supplier of drone parts based in North America and growing fast. We're looking to hire a full-time VP of E-Commerce that can completely take over our e-commerce platform.

Key requirements are:

Understanding of Magento, Google Analytics, PPC campaigns, online marketing

If you like drones, and more importantly building/racing drones, working at Lumenier is a blast.

My contact info is in my profile (I'm an hands-on advisor to the company)
When you print it, you can add a column for each line with a few characters of the hash of that line for quicker location of typos when typing it in (provided that you write a script that does the check).
DX4-120? Listen here, sonny, I'm not sure that first AMD CPU you had conveys authority to speak about today's multi-threaded performance. And this opinion comes from someone who's first AMD CPU was a DX2-66, so clearly I'm less wrong. :-D
This is a key requirement to make this useful to the power user.
Feels like the Slashdot guys chased the wrong end of blogging. Rather than seeing what Drupal/Wordpress saw (building the site is the real money) the Slashodt folks chased the advertising/traffic side to their site. It seems really obvious now, 20 years later, that they should've spent time on Slashcode and made that better for a larger audience and they could've maybe turned out to be something like Drupal or WordPress now.

I totally love slashdot still, tried like hell to run Slashcode many years ago, but it always feel like they were focused on Slashdot.org rather than making slashcode work for many other sites.

(really not meant as a criticisms at all, just thinking about the good old days and what its like looking back now)
Probably some unthinking tester was just using the same string in both fields (e.g. “test”). As a developer I’ve learned over the years not to do that. That tester should have their work attitude adjusted and their methods thoroughly reviewed.
With logical replication in PG 10 the wal issue shouldn't be a factor going forward :)
Turns out generating a ML model is pretty easy too, even after training in Python. There's a simple 2 or 3 line conversion from keras/sklearn to an ML model.

http://stsievert.com/blog/2017/06/11/coreml/

I verified this because I'm a graduate student studying ML and I'll likely use this.
But the Ryzens being compared... consume quite a bit more power than the intel parts they are being compared against.

That said, yes, if power consumption is no item, the Ryzens look better. If you are looking for power efficiency, go with the intel parts.
> If you find it difficult to imagine use scenarios for blockchain, look for deficient markets caused by the need for centralized trust: monopolies and oligopolies. In each, you'll find an opportunity to create a more competitive market through blockchain.

How? This is just vague handwaving that doesn't actually explain how the blockchain can solve real problems. As of now, bitcoin is the only demonstrable use case for a blockchain, and while I don't think anyone could convincingly argue that bitcoin is useless, it's not going to cause an economic revolution like the advent of the internet.
Pachet Slim Formula and XShape
I guess I was very lucky then. But I was definitely better off than without Google Translate.
thats more an artefact of the fact that most of our prisons were built in the 1800s.

2 in a cell is common.

Until the 90s they never had indoor plumbing either, only buckets in the cells. https://en.wikipedia.org/wiki/Slopping_out
Unfortunately the fish farming industry lobby in Norway is too strong to adhere to those principals when negotiating with China.
Jesus H Christ, one would expect more from a national organization dedicated to vending machines.

Wikipedia has more and better info: https://en.wikipedia.org/wiki/Vending_machine
If anything, ZFS checksumming lets you get by without ECC and still be confident in your data...
What if you volunteer enter this arrangement? Marriage with kids being a prime example.
Is the Digital Health Industry Failing or Flourishing?
That's irrelevant, those aren't single transactions. If you can trade $15 Million in a single transaction in bitcoin without effecting the price, I'll say it's becoming liquid.
The idea is that the mount points are only accessible from inside the safe. The open safe is easy to move, the closed one less so.
Thank you for the thoughtful reply.

I don't agree with you that our current gun situation is worth it as insurance against tyranny, but I can at least understand where you're coming from.

I think your "gun-ignorant" argument amounts to gate-keeping. People's opinions on gun control still matter even if they don't use the same lingo as gun-lovers.