skysight-inc/HackerNews huggingface dataset:
> Why is gold so expensive? Around 90% of it is being hoarded, not used industrially. People think it's valuable, the supply is limited, therefore it is valuable. Same with cryptocurrencies.

I'd say it's quite different. Governments that hold gold often do it because they expect gold to keep its value, not because they are expecting the value to increase massively (I can't think of any government leaders advocating that their country buy a lot more gold to get rich quickly). People who hold cryptocurrencies, on the other hand, seem to say that enormous fluctuations in value (including massive decreases in value) are acceptable because eventually the value might skyrocket. The reason people hold gold and the reason most people hold cryptocurrencies seem to be the opposite of one another.
Likewise one could make the argument it is dimensionally incorrect to compare abundance of a particular cryptocurrency (bitcoin) with all the different element in the periodic table.
I use it. My use case is:

1. After properly setting it up, do sporadic updates when necessary without worrying that the whole thing falls appart.

Much better than Linux ;)
Weex is another RN equivalent for Vue:

https://weex.incubator.apache.org/

Not nearly as mature as RN though.
the second I looked at the example on the homepage and saw this:

sort(@)

I'm like nope! What is this "@" symbol? Why can't that be "name"? I'm already passing judgment that this library will be a nightmare to use which isn't good.

Now I know I can read the docs and eventually what I can pass the sort expression and what it all means, however, this is an issue I come across more and more with new libraries in programming... show simple examples, not "smart" or complicated ones. I shouldn't have to read through docs to try to decipher an introductory example. There is a reason every programming language starts with "Hello World".
The Dell EMC PowerEdge R7425 is a dual Epyc server in 2U format, sold by Dell. The top end Epyc chip gets you 64 cores (128 threads). The core density is competitive, along with its supported IO device (eg: NVMe drive) density.
If they had changed the license when the community asked, that would have been listening to the community, but they didn't.

Changing the license because people are leaving the project only shows that FB cares about itself.
And the main solution for that is just install the GNU tools you prefer from ports or packages. Super simple.
I'm afraid it's just practice. Lots and lots of solving problems until the definitions, methods, and techniques are burned into your mind.

Once you have the background knowledge, everything is a lot simpler. Learn whether each theorem has an easy proof or a hard proof. If it has an easy proof, you can forget it (deriving it when you need to; an example is the contraction mapping theorem [1]). If it has a hard proof, you can forget it and look it up when you need to.

[1]: https://www.patrickstevens.co.uk/how-to-discover-the-contrac...
Even after 1.5 years of using vi at work, I still constantly get stuck trying to exit. Like I hit Ctrl+C or something, or ZZ with caps lock off, I don't even know. Then it's like "Type :quit to exit" or "Entering video mode" or "Press Shift-something to capture" and I do this random button mashing of Escape and q and ZZ that eventually gets me out, but I never know what I did.
US charges 13 Russians and 3 companies for election hacking
Most of the expense is that it's an IV, so you need a trained nurse to administer and oversee you having it in and out; at least, that's what the doctor who ran the practice I did this at said, and given the cost of ketamine, it made sense.
I live in Phoenix and applied to their beta program. Haven't heard a word since but I've seen a few passengers riding in them. My guess is that they're hand picking people with compelling stories for marketing reasons.
That does sound incredibly callous. Why is "productivity" you go-to measure of worth?
I could not care less about downvotes, but I enjoy discussion. And I certainly think people would like to disagree with me, but it seems none are really able or willing to form coherent counter points - which I think puts a very sad frame on the disagreement. So I thank you for changing that, though I think there's something you may not have considered in your logic.

At the most basic level we can view a company's profitability as a price vs demand curve. If your price is too low then you're leaving money on the table. If it's too high then you're also losing money since you could earn more by charging less to more people. And I'm sure you'd agree that all companies are really trying to maximize that curve.

But the thing here is that competition is not some tertiary element not considered in our basic price vs demand curve. It's in most cases the single biggest driving factor of the demand function. When there's no real competition, you can increase your prices quite recklessly - see Time Warner or Comcast. But the amount that Amazon can increase their prices is strictly limited due to competition. If you're going to buy an electronic component do you buy it at e.g. New Egg or Amazon? It doesn't really matter if its the same thing - you're just going to go with wherever is cheaper in net (e.g. factoring in rewards/shipping/etc), even if that price difference is really quite small. The point here is that while you may think that Amazon could raise their prices let's say 5% and see a 1-2% growth in profit, but this is a question that they are undoubtedly constantly researching - and they disagree.

----

And in any case this is literally the case for most all small margin businesses. For instance WalMart has 2.3 million employees and $13.6 billion net. Our $1k/year raise costs them $2.3 billion, or 1/6th of their entire available income. The only companies that are truly lush with money are companies that sell their product at extremely high markups, or companies whose product enables the minimize labor, such as software. For instance Apple, as an example of the former, nets $48.4 billion with 123,000 employees. A $1000/year raise there would work out to 1/400th of their available revenue. Google/Alphabet, as an example of the latter, had a bad year last year, but generally net around $20 billion on 72,000 employees. Their $1k raise works out to about 1/278th of their available revenue. It creates an ironic result that few people would complain about the wages Google or Apple offer, yet they actually offer their employees a far less 'fair' share of revenues than do the companies that people consider greedy.
Not to mention the question that the older language had a perpetual patent license for anyone using the software (subject to termination under the now much-discussed rare circumstance of suing FB).

So long as you were using the software under those conditions, it would be an interesting argument for how that patent license could now be unilaterally rescinded. (The new license doesn't say anything about it.)
Everyone should read

https://www.kalzumeus.com/2011/10/28/dont-call-yourself-a-pr...

Tl,dr: do not be the guy who writes code in x language for y bucks / hour and applies to vacancies online. Be the guy who generates business value and talks to people in the industry. Start doing it today!
Last time I checked, XML was uncertain which validation should I use. DTD, Schema, other solutions. Each has syntax/structure and 1st page explanation so cryptic, that I don’t even understand where do I begin.

I don’t like js/json at all, but for json (and without much js knowledge) I can roll out simple validation in less time than is needed to understand these schema formats. If my structure is dynamic, omg it will be hard to explain it to declarative validator. If it contains value-level type logic (graphs, references), I bet second phase of validation by hand is inevitable anyway.

A second thing, full-blown xml is alien to any structures of simple languages and cannot be serialized like jsonlib.encode(foo). You create nodes, set attributes, build trees, all that mess. It feels like using a 17th century official mail ceremony to send “)))” to your buddy.
I'm certainly a datapoint for feeling unable to speak about my opinions (n=1).
I live in Phoenix and applied to their beta program. Haven't heard a word since but I've seen a few passengers riding in them. My guess is that they're hand picking people with compelling stories for marketing reasons.

Gotta say though...it's quite amazing to see 5-10 SDCs/day.
I personally prefer merging via squash since it keeps a linear commit history without polluting the history with tons of intermediate work-in-progress commits.

A linear history is helpful when debugging since it makes git bisect a lot easier. Having individual PR commits in the history makes git bisect useless since it’s unfortunately common for individual PR commits to leave the system in a broken state.
I was replying to the original post but what doesn't make sense to me is that you loose all future productivity and value that these people create.
This is not that new. And it happens to be the JSON query language built in to the AWS CLI tools.

For last 3 - 4 years I see lots of AWS CLI examples piping through jq. That’s an extra dependency that’s not necessary when this is built in.

Here’s the author’s idea of intro materials (posted Jan 2015):

http://jamesls.com/how-to-easily-explore-jmespath-on-the-com...

I’ve found him very responsive on bugs and (provably useful) feature ideas.
I would prefer to go with the known name and well-established company, instead of LET, for email.

For example, Vultr offers $2.5/mo servers from two locations and they are proven, to be trusted hosting company. In case your IP has a bad reputation (you can test it right after spinning an Instance), you can just shut the server down and create a new one with fresh IP.

Problem with both Kimsufi and Online.net is that if you will get a bad reputation IP it is quite hard to get a new one. I have dealt with OVH and a blacklisted IP I have got on a new server and they were expecting me to contact blacklist providers and request whitelisting, which took time and resources.
Yeah I love that smell, stink isn't the way I'd describe it.
The sad thing is the algorithm fixed zero problems for me. And it introduced the problem of hiding things that I did in fact want to see.. for no good reason other than apparently for their engineers to feel like they did something. Because how can they justify their paychecks when the newsfeed sorting order hasn’t changed since its prime of ~2009?
Or read the man pages. Which are better in the BSDs as their target audience tends to prefer proper documentation to google searches.
It's less complex since there aren't attributes. Of course, if you like attributes, then that's a downside.
America is one of the biggest (land-mass wise) and most diverse places in the world. There are tons of experiences to have. Treating America or the American experience as some cohesive whole or some shared experience is the most repeated fallacy in these types of conversations.

There are cities in America with public healthcare, and then there are cities that don't. There are cities that value greenways, public transportation, and diverse cultures, there are cities that value your freedom of transportation (i.e. a car) over everything. There are cities that have great public shelters and food kitchens and then there are cities where everyone opens their door and every place of worship tends to be a food kitchen, and then there are, of course, cities that don't do much of either. And while there isn't an explicit "free" education, there are hundreds of universities that will fully subsidize your cost of education (Harvard being one prominent example).

> Generally people in those countries don't need to worry about food, shelter, healthcare. No matter what poor choices they make in life these things will be provided.

This purported truthism is categorically false however, when your nation suffers an influx of new immigration, refugees, etc, such as what America has experienced most of it's existence. . Then all of a sudden, the money in the public coffers starts to run dry -- Greece is a great example -- the government almost went broke (well, I should say, went more broke) footing the bills for all the refugees streaming into the country. I am not saying that this is a bad thing -- good on them and bless them for that -- but at the end of the day, people's attitudes and perceptions on their perfect little "my government takes care of us" story gets changed when all of a sudden your government no longer has the means to take care of everyone. And since Europe is much closer to many of the conflicts happening in the world ATM, many countries in the Eurozone are seeing first hand the effect of this.
Ketamine was both the best and most depressing depression treatment option I've ever tried.

Within a couple of weeks after having had the initial round of six treatments in two weeks, I was the most functional and productive human being I've _ever_ been - things that used to be impossible or utterly agonizing to complete were as trivial as they "should" be, I was enjoying life, it was great.

After a couple of months of periodic booster treatments, over the course of a week, I felt it completely drain out of me, and no variance or repetition of ketamine treatments has been able to reproduce it since. (We spent months varying dosage levels, frequency, and trying a few OTC things that the doctor had seen synergize ketamine response in people before, to no avail.)

It was...possibly the single worst experience of my life, feeling that slip away, and now having recent crystal-clear memories of how much that fog had been complicating my life.
It all comes down to the navigation. Use a native navigation, then you're good to go!

https://github.com/ueno-llc/react-native-starter
Sure, but that undermines the part of the premise of a BSD-style OS, where you have an "omakase" base system, maintained as a monolith with known and clearly stated assumptions around compatibility and interoperability between the components of the base system.
The point I was making was that you shouldn't use a "special" language for validation at all - you should just use a library in a regular language to do it.

Anyway, code:

yaml_text:

John: Yemen
James: South Sudan

python code:

from strictyaml import load, MapPattern, Str, Enum
import pycountry

result = load(
yaml_text,
MapPattern(
Str(),
Enum([country.name for country in pycountry.countries]),
)
)

full disclosure: I wrote the validation library ^^
So when will Fedora be doing RISC-V builds on real RISC-V hardware? That will be an interesting milestone.
A new way to flash your toast notifications in android's status bar
load the data into a database (sqlite is very good). use the database. delete the database.
Vim for starters – the minimum you need to know
Each step is a transformation

X | Y | Z

The @ is the result from the prior transform.

I would've preferred _ from scala, but meh.
Linux 4.14 and 4.15 Get KPTI Protection for 64-bit ARM – Phoronix
Just because you don't like something doesn't mean you think it is immoral.

For example, many people against Facebook simply want to be in better control of their online identities, and have privacy. I am in this boat. I don't think Facebook is 'evil', or sharing my data with 3rd parties is a 'sin'; I just think society would be better off if privacy of this kind were more strongly controlled by individual choice, rather than the whim of a corporation.
MIT researchers develop new chips for IoT and neural networks – SD Times
People become just furious at the existence (especially when they never write xml by hand) of closing tags. Because the XML people wanted to be able to spot unclosed elements before they reached EOF and because they thought it would be nice to be able to report what was actually unclosed we're going to have to just accept a world in which programmers will use absolutely anything before using xml.

see also: hating pascal's 'end' instead of '}' or claims that python is readable because it doesn't even have '}'
Compressing Radix Trees Without Too Many Tears (2017)
Fine details how state-of-the-art deep learning systems generate image captions
That's the only advantage I see in JSON but it's a good one.
That's true for drawing one straight line, sure!

The question here wasn't whether the language is easy to use, the issue raised in the article was whether the language & dev environment are pre-installed, how hard they are to install, and then how hard the programs are to share after you're written them.

No version of BASIC is being shipped with any OS today. You still have to download the language and a dev environment on a brand new (Windows) computer. And when you share a BASIC program, you either have to build an executable that will run on someone else's machine, or the recipient has to install BASIC on their own. (The article was about sharing code & learning to code, so a binary isn't ideal.)

JavaScript and the dev environment, on the other hand, comes with every new computer, on every OS, because browsers are pre-installed.

BTW, is this modern basic? That looks like what I remember from DOS 2.0 in 1980. :P

To be fair, you're comparing HTML canvas API to BASIC's native line drawing, this example doesn't actually say much about the JavaScript or BASIC languages. And it doesn't compare BASIC's graphics to canvas's... with canvas you can draw curves and bitmaps and do transforms. I'm not familiar with whether BASIC can do that these days.

In my experience, canvas is quite easy to use, even compared to BASIC. I know you were joking, but incomprehensible is what I'd use for, say, Vulkan or DX12. JS+canvas is very comprehensible and easy, at all times, in my opinion.
> A tokenizer is not a language parser.

It's not a tokenizer it can transform a token stream to another token stream with a given function which can be some language parser/just rust code producing desired rust ast.

> No, quasi-quotations have nothing to do with a macro-expander.

My bad, i was confusing it with mixing evaluation.
Fishing for Disaster (80s short about video game programmers)
No one, my parents retired at 55 and haven't been "productive" in the GDP sense for over 20 years.

The original post that I replied to said but what doesn't make sense to me is that you loose all future productivity and value that these people create.
JSON Schema, at least, can refer to a URI for the definition of something, and that URI can refer to only a specific section of the JSON document to which it points.
What Linux distribution were you using – something like Gentoo?
New studies zero in on roots of depression and how ketamine affects it
Ah, I thought you meant that my construction would behave differently from a sum type if abstract types were involved, but it appears that you are actually worried that having non-disjoint unions available breaks abstract types by revealing their implementation details.

I agree that being able to change the internals of a module without breaking external code is a good thing, but unlike other security guarantees, abstract types can break merely by having a stronger type system which is able to prove strictly more things (such as whether two types are equal). That makes implementing completely leak-free abstractions quite difficult.

It can even be hard to tell which language feature exactly causes the leak. In your example, it is not just the existence of the union type that causes the problem, but the operation "is T", which you probably assume to be of type "forall a. (a | T) -> Bool" or something. Obviously, that operation is doing all the work of looking at the underlying implementation and leaking it.

While you couldn't meaningfully type such an operation without union types, having unions in your type system does not mean that such a function will be available. Although working with unions without being able to tell the types apart would be quite inconvenient, you could nonetheless remove that ability from the language, either completely (effectively requiring all unions to be disjoint) or by having special markers to enable or disable it (similar to Haskell's type class constraints).

Flow doesn't go to such great lengths because it is still built on JavaScript objects, which don't really have a concept of privacy. If there were private symbols (i.e. unique properties which can only be accessed by the module which defines them), you could trivially implement abstract types similar to Haskell's newtype wrapper as { [some private symbol]: implementation-type }. Until such a thing is added, you'll have to limit yourself to disjoint unions to avoid abstraction leaks.
GitLab offers this as a merge option, and I really dislike it for this exact reason. Worse still than not knowing which merge is associated with the commit is that you can't even tell the difference between reviewed commits and those which were simply pushed directly to master.

IMO it's far preferable to have an explicit "merge" commit referencing the PR in question, whether that that is a --no-ff merge or a single linear squashed commit.
Might as well just keep everything in a relational database to begin with, in that case, and generate JSON from the query results.
Pretty funny short film from a couple of years ago - didn't get too many views so I thought it was worth sharing.
I think using it as a safe battery is a neat idea. I understand there are significant losses as compared to li-ion batteries, but the fact that the system has a longer lifespan is really interesting.

It's a way to preserve energy during surplus. As a gardener I'm constantly balancing inputs and outputs. A huge tomato harvest eaten raw off the vine is the most efficient use.

But during a huge glut, I cannot eat the tomatoes fast enough so I start freezing tomatoes and produce sauce.

I trade energy, and human time and labor to extend the shelf life of the tomato.

In this sense, from my naive perspective, A hydride fluid battery if cheap enough to build/install would be a great way to store surplus energy from solar / wind / etc.
I like FreeBSD’s sane layouts, awesome documentation, and simple administration. But seriously the handbook is documentation gold.
I feel like high income Americans might be addicted to living above their means (tons of cars, everyone owns a big house, etc.). Im pretty cheap (and dont have kids/mortgage yet) and I got laid off my job. Basically unemployment covered all my expenses with a decent chunk left over to save and I just kept my work insurance with COBRA. Since I just saved a lot of money working I could theoretically be job hunting for almost 2 years before my emergency fund was empty assuming no unemployment income. But im also an entry level tech employee so its not hard to find a new job at a high salary relative to most people.
Did they analyse European preventative care programmes too? Maybe preventative care can save money, just not in the US ?
> There are cities in America with public healthcare, and then there are cities that don't.

Could you expand on this? I was unaware of any cities in the US with public healthcare.
Might be something i install to a vm as a project. Not seeing any compelling reasons to switch from arch except zfs
I recommend every person who buy a hardware for GNU/Linux to buy one that runs well out of the box with Debian main.

It is a hard requirement I suggest to my friends. May be they run Ubuntu/Fedora, but if it runs well with Debian or linux-libre, rest assured, it should work with any Distribution.

I haven't yet seen much Laptops of notebooks to recommend though. https://h-node.org/ seems to be the only good reference.
Wifi comes up ?

VPN reconnects ?

USB's and Card readers stay mounted ?

Audio mixer volume stays the same ?

Youtube videos and music player resumes ?

uptime shows the correct information ?

All of this out of the box in 2015 ? That must have been the year of linux on the desktop.