skysight-inc/HackerNews huggingface dataset:
XML is absolutely excellent for markup. There's no competitors here.

Markup consists of two things: a scalar (a string usually, but can be a binary sequence) and associated structured data: smaller scalars, records with fields, and lists (there's no "etc." here, that's all).

The structured data are either discovered in the scalar by parsing or added to it by marking it up. Parsing applies to binary data and artificial languages (although there are parsers for natural languages as well), marking up to structures that cannot be parsed out, but can be added manually, usually during authoring, but also during after-the-fact indexing.

XML stores both the original scalar and the structure together in a single piece. There's extensive tooling for processing the result.

Practical examples:

1. Parse a C file and do something else with it than compiling. E.g. you want to publish it, index with cross-references, transform maybe: XML shines here (you'll normally want to add XSLT to it).

2. Author text and do something with it. If it's Markdown, apply a minimal parsing and save the resulting AST in XML. Same for reST and any other format out there: just get it into XML as soon as you can and process the XML from that point. Whatever you want to produce (XML, man pages, PDFs), XML toolchain will help you to get there.

3. Mark up existing text. E.g. you have a collection of letters and want to index all references to people. XML would be a very good choice here too. (I'd say that marking up and indexing all existing texts of the humanity would be a very important project. There's already a lot of effort to publish them, and marking up and indexing is what naturally comes next.)

4. I'd venture to say that even binary formats would benefit from conversion to XML and back because of what's possible with XML toolchain (I'm thinking mostly about transformation, but indexing would also be good.) E.g. read a collection of MP3 files, parse them out into what they have (ID3 tags of different versions at the beginning or end, APE tags, other such tags, and MPEG frames), and then do what you want: index by anything, clean up, add extra information that cannot be expressed in tags (classification for classical music or argentine tango, for example) and so on.

PS: Since XML can store structures alongside a scalar, it can also store structures alone: just drop the scalar. It's a very good format for structured data, absolutely not as bad as it's usually painted. Much better than JSON, actually. But you have to prepare it well.

PPS: Scalars and structured data are, of course, the natural parlance of all other programming languages out there, so everything XML does you can do without XML. But it also means that XML is not as foreign as it appears. There is some friction between getting data out of XML and putting it back, but it's about same as with SQL.
If it's confused between a plastic bag and a human, it hasn't recognised it.
> I understand that there might be concerns of de-anonymisation, but it makes no sense. If the Spanish government wanted to track someone they already can, with a court order.

Bingo! Is there a court order here?
>just exactly like in C! What's the difference besides the particular syntax?

On that part none. But Oberon is "memory-safe and garbage-collected", so you don't use that aspect for 99% of the program (whereas in C everything is like that).
Rancher Labs' Longhorn Project for Kubernetes Joins CNCF
Wow, was that as brutal as it sounds? Not necessarily wrong, I've seen the result of the "old guard" slowing down and missing the point of radial changes, but what happened to the people involved in the DVD rentals? Were they laid off? Or transitioned back when the major decisions and direction had been set? Just curious really :)
We are pushing out documentation (worked examples etc.) as fast as we can so hopefully it will be come more understandable. In terms of making money, we'll launch a hosted platform in the near future.
Show HN: ofc-Bootstrap – Get Your Own OpenFaaS Cloud PaaS on Kubernetes
Not sure how this relates to the story. Why did you post it?
Mindfulness is being aware of what goes on in your mind. How can anyone argue that it's a BAD?

How is staying blind to what you're actually thinking good in any way? All it does is make us a reactionary creature, which is exactly what you need to be to burn a whole society to the ground.

Thanks Guardian, this is exactly what we need.
More violence, more escalation, more rash decisions. Journalism 2019 - and they ask for your donations.
Show HN: Deepfake: The End of Video Authenticity?
There's video about looped run-outs and multiple groves as well: https://youtu.be/yIoAYU_r0Uk
Another ranty tabloid-like article from MSM.
Meditation doesn't "depoliticize" stress, it allows you to move on for the moment and postpone your stress/thoughts.

Anyone doing meditation probably knows that those thoughts will come back, meditation is not exactly a "full stress-relief" like lifting weights, doing intense exercise,ranting,sex,etc.Arguably the deepest fears/stress don't go away depending on the severity, in which case, again, meditation is not to blame for ameliorating a troubled mind.

Feels like the author is just mad there's less "activism" because of meditation.Clearly upset about the fact that her wishes don't get attention while people get on better with their lives thanks to some "neat tricks" we've learned about our brain.

"Mindfulness" is really the most subjective thing ever, and it's rather hard for one to develop a technique to set their minds straight on their objective during the day.Looks like some people think this "life-style" is overrated just because they can't do it themselves.Obviously being a journalist/intaking a lot of news daily will make you more stressed than not,which makes it harder to "cope".
As soon as I read "meditation may be the enemy of activism" the image of the Vietnamese monk Thích Quảng Đức burning himself to death in 1963 popped up in my mind.

From Wikipedia (https://en.wikipedia.org/wiki/Th%C3%ADch_Qu%E1%BA%A3ng_%C4%9...)

"Đức calmly sat down in the traditional Buddhist meditative lotus position on the cushion. A colleague emptied the contents of the petrol container over Đức's head. Đức rotated a string of wooden prayer beads and recited the words Nam mô A Di Đà Phật ("Homage to Amitābha Buddha") before striking a match and dropping it on himself."

"Photographs of his self-immolation were circulated widely across the world and brought attention to the policies of the Diệm government. John F. Kennedy said in reference to a photograph of Đức on fire, "No news picture in history has generated so much emotion around the world as that one.""
SWI Prolog deserves a moment as it is amazing. Terminus uses it not because of some ideological position but as it is the best technology for the job.
They directly sell proprietary tools and services to governments, including cruel and oppressive totalitarian governments who use those products and services to spy on, imprison, torture, and kill journalists, dissidents, activists, and political rivals. There's no justifying it whatsoever. It's not like these are consumer products which some governments happen to use; leaks show they work very closely with governments to provide support. They take feature requests and bug reports from those governments. They sit on calls with them.

If they had announced they were blacklisting those governments as customers, maybe they could've partly repaired their reputation, but that would destroy their entire business model, so they don't and won't. Their total addressable market is strictly capped. They need every government in the world as a prospective customer, else their business probably isn't financially sustainable. Ethics stop where sales start. In response to all of the reporting, they actually do claim to now be factoring ethics into their sales decisions, but the rigor behind it seems extremely questionable, to say the least. [1]

There is absolutely no other employer someone could work for (besides those in the same niche, like Hacking Team, or military contractors that work with such governments) which is anywhere near as unethical as companies like NSO. Not Facebook, not Google, not even CIA/NSA/FBI, probably.

Also, you can't liken living in a country with a government who you know does unethical things to working for an employer who you know does unethical things.

[1] https://www.nytimes.com/2019/03/21/us/politics/government-ha...

>The company has established an ethics committee, which decides whether it can sell its spyware to countries based on their human rights records as reported by global organizations like the World Bank’s human capital index, and other indicators. NSO would not sell to Turkey, for example, because of its poor record on human rights, current and former employees said.

>But on the World Bank index, Turkey ranks higher than Mexico and Saudi Arabia, both NSO clients. A spokesman for Israel’s Ministry of Defense, which needs to authorize any contract that NSO wins from a foreign government, declined to answer questions about the company.
So basically you're saying that somebody should be jailed for N years because maybe, in the future, someone else related with the same movement might use some level of violence to achieve... something we still don't know, in circumstances we still don't know?
Wow.
It doesn't. That's your interpretation reading between the clear lines of text. It is being promoted by high stakes journalism and corporations though. No conspiracy needed, as it brings desired results. The motive is clear and not ulterior. Companies want to keep you happy so that you can be exploited more, and if that falls they want you to internalise blame for your own mental state. If you internalise mindfulness, you might be amenable to internalising other values beneficial to the company.

Article does say that the practice can make odious status quo palatable, removing a source of discontent and thus activism.

There are comparisons between the style McD was sold and mindfulness, but nowhere do I see implication that it is some kind of conspiracy.

Article has an ethical dig at neoliberal values at the end, equating them to magical thinking.
Fellow T1D in the UK Here. I'm coming towards the end of my 'trial period' with my FreeStyle Libra and I am shocked at how much I have been able to take control of my glucose levels. I have never had particularly bad control - but finger pricking 4 times a day is like using your phone light in a pitch-black forest. There are so few data points that it is nearly impossible to identify patterns. The sheer amount of data that you have access to with the sensor is amazing. You've gone from 4 data points a day to a minimum of 96 (if you are scanning once every 8 hours). Within a few weeks I had adjusted my basal insulin dose resulting in much more stable blood sugar during sleep which has gone a long way to improve my general health and wellbeing.

One other aspect of the FreeStyle Libre that I was not expecting was a feeling of accountability. When I was just finger-pricking I could essentially hide high blood sugars. Say I had eaten some sweets or something, and forgotten to take my insulin, I could sort of hide from the responsibility of that high reading by just taking my insulin when I remembered and testing in a few hours - my Consultant would never know. However, now I am aware that my sensor is going to read that high sugar, and that makes me feel accountable for it - so I have seen my insulin taking get more consistent, and this has resulted in less hyperglycemia and hypoglycemia (as a result of mistiming the insulin and whatever I have eaten).

On your point about accuracy - I have found it to be a little out in the extreme highs or lows - for example there have been a number of times when my sensor has given me a reading of, say, 2.4. However when finger-pricking I might be 3.9 or 4. Now this could be because the reading is about 15 minutes behind, and since that moment my liver has pumped out some glycogen. But I have had similar accuracy issues when high - say above 18. Having said that, to me this is not a problem, and the accuracy between 4 and 18 is pretty spot on (apart from one sensor that went bananas and was reading at least 15 above what I was for about a week).
Interesting that Tesla, with what I would have assumed to be a much more sophisticated system didn’t do as well.

Anyone care to have a guess why?
The whole point of weapons is to help murder civilians. If weapons were only useful when pointed at military personnel, nobody would fear an invading army or even bother putting up resistance at all: what is that army going to do, exactly? Just get into street fights mano-mano without weapons?

Weapons are created so they can be pointed at living things, regardless of who they work for. I'm not defending NSO but let's not pretend selling exploits is any different to e.g. a Tazer or rifle manufacturer.
Just to follow up on this funnily enough, the Wireguard guys actually did call a kernel function: https://news.ycombinator.com/item?id=21391308

And again, like before, the reaction to this is just hilarious to me. "It's a kernel bug." - Yeah, sure, but your users don't care, and your users shouldn't have to care. Because this an easy problem to fix, and if you're worth your salt as a developer you should fix it. Evidently Wireguard isn't worth it's salt.
Production-Ready Docker Images
You can lose points when you pick design that has less community support (less people liked it). This is to prevent situation, when someone would just kept voting on random designs. We also wanted to add an element of uncertainty when voting. When you would only be able to gain points, voting would quickly become boring.
> to recover without having to abandon and emigrate

Very true! Many colleagues I met here were ex-nokians. It seems that the market was able to absorb at least a bunch of them over time.
alias rm trash
This. It's not the glass specifically (you can still buy cheap androids with polycarbonate screens), but the capacitative touchscreen, which is more expensive and requires a much fancier controller to read. But without it, either you have to use a stylus, which despite Samsung's belief hardly anyone wants, or press fairly hard. And you can't do multi-touch at all.

Capacitative touchscreen + "real" web browser (not WAP!) was the key capability of the iPhone. The fact that it subsumed the already successful iPod was a big benefit too.
I think I started watching this a few years ago and never finished it which is sad because you are correct that this was fascinating. Maybe I'll give Prolog another go.
"there's something to the argument of accepting what is and being calm and present to the moment"

Ah, but that's what they want - something to reduce our immediate suffering and distract us with a pleasant fantasy so we can all keep slaving away at those dark satanic mills without question - "the sigh of the oppressed creature, the heart of a heartless world, and the soul of soulless conditions";-)

But more seriously, I'm not disagreeing with you, and I'm not wholly convinced by the article's argument. It strikes me as like saying antibiotics are bad because they don't encourage good hygiene and can be misused e.g. overuse on farm animals. Well yes those things might be true, but it isn't the antibiotics that are the problem. Its like technology, it in itself isn't good or bad, it is people and what they do with it that makes it one or the other.
Who is disputing that there are clearly worse alternatives? Pick almost any part of history.

You're talking about alternatives to the status-quo. Sure, there's lots to be improved, that's not what the disagreement is. The disagreement is whether to have a calm conversations and plan for a better future, or - like the Guardian suggests - burning it all to the ground because capitalism = bad.
As someone who was once addicted to nicotine himself I should point out that people could just choose to not be addicted to it. It's not difficult.
I didn't know about the second link. Thanks!
I used to work for a company that ran entirely on adsense, (Directories and such) then Google changed the way websites ranked to be more social media friendly and every website tanked. Shares and likes became more important that keywords and semantics and the owner did not know how to adapt to the new SEO model.
Feel free to come up with a solution. In the meantime governmental power must be limited to prevent abuse.
In her closing sentences, she did say "In the coming weeks, I’ll post about how to build strategy and technical leadership skills with the goal of deliberately cultivating a long-term career as an engineer."

I guess you need to stay tune for her next blog post.
Buddhism is not just meditation. It is a big ethical system.

By stripping ethics from it you would stop all its activism.
Beginning of pranks to come with self drive cars.

Imagine when someone realised you can slam on the brakes in front of X brand of car and it prioritises avoiding the car in front over all else
Prayer is concentration. Mindfulness is not concentration.

There's a huge difference that you have to experience with practice in order to begin to appreciate. Learning how to get out of your typical all-consuming "thought loops" is a skill worth having and cultivating.
> If you assume each process needs, say, 16MB of contiguous space

Unfortunately I’m not sure that’s a good assumption, due to the stack and heap needing to exist even for statically-linked binaries.
> 1# Brain
> performance: 9,000 - 337,000 TFlop/s
> power: 20 W.

Yeah, not really.

These measurements mostly rely on the entire brain firing all at once, while a real brain does not do that.
As the recipient of an MIT-licensed binary, you have no rights. As the recipient of a GPL-licensed binary, you have the right to ask for the accompanying source code.

Sounds like freedom to me.
This is the "lifeandstyle" section, as per the URL.
And then, you install an ad-blocker-blocker-blocker
I was a full time Python dev but the complexity of the work required wasn’t interesting enough for me. I wanted to move into web dev. So in 2014 I sat down and wrote an FTP/SFTP client in 100% Javascript (a plug-in for an editor). It impressed enough people that I eventually moved into a web dev role. If you write something that seems involved/complex enough, people will credit you as being capable in that language.
Thanks for the heads up! I guess my life as a software developer made me a bit too scientific here.

Have you found a way that helps you with loneliness?
There are a scarce few facts in there, about origins of the commercial training practice and size of the market, as well as a few companies that benefit from it. That's about it.

Opinion pieces, no matter how biased and disagreeable, are still necessary. Facts do not make one think on their own. I would like more facts in them.
The question is : How many fires are there in CA yearly? It's like 2000 to 4000 different fires that start at different places in the same season.

And how many of those were started because of PG&E? 2? 3?

But PG&E has to pay for every fire they cause, because they can. And now they don't want to.

The consequence.
The richest woman you've never heard of: Kirsty Bertarelli
Kirsty Bertarelli wrote Black Coffee shortly after meeting her husband in Sardinia,
who was her inspiration for the song
http://bit.do/ffbKz
Correct me if I am wrong, but Apple Pay solves this, does it not?
Just the first statement says alot about the writer:

> It is sold as a force that can help us cope with the

> ravages of capitalism, but with its inward focus, mindful

> meditation may be the enemy of activism.

Every interaction I've had with mindfulness so far hasn't been that it was "sold", it was just simply offered. It's not an organized religion or ideology, from what I've seen there doesn't appear to be a hidden agenda. I've personally found it quite interesting to reflect on the subject of mindfulness and my (current) conclusions I have regarding how to live my life - there's a lot of overlap.

It's not something that exists to "help us cope with the ravages of capitalism". Political ideology aside, it's simply there to help you think and act more freely by understanding your thinking and acting. My friend who studies mindfulness says (para-quoting): "it's about understanding your actions and why you take them, it's about separating yourself from your immediate reality". I think most people could potentially benefit from such an idea. In general I believe people should take more time to "do nothing" and reflect.

As for being "the enemy of activism", if clear thinking is the enemy of activism, I think this says more about the current state of activism than it does about mindfulness. In general, I believe we shouldn't be striving to produce a society who dedicate their lives to activism. It's perfectly okay to be an activist, but there has to be more - life is short after all.
That fits well with the analogy of the distant overlords with no connection to either production nor the end user.

To them, we're all just interchangeable cogs in the machine, our input and experience is not important, we're just supposed to fit in a predefined box.
Does it though? Do we have any kind of data about it?

If it helps one activist and million corporate drones and people looking for status quo, the practice is not on the whole a friend of activism. So what are the numbers?
Vector Trace Cells in the Subiculum of the Hippocampal Formation
How to secure WordPress website from hackers In 2020
>The bio companies of the future will take learnings from predecessors in other spaces: consumer, enterprise, fintech, and beyond.

The horrors have just begun.
> The cost of labor is an input into the production of basically all goods we consume.

True but most products are not produced in America, the products that are made in America, are made by robots, the cost of labor on goods in America is just not significant.

In contrast to services which are all done in America by American people this is huge.

> This is good for ALL consumers. However at the end of the day, labor’s gotta eat. This is where welfare comes in.

You got your classes mixed up the working class are the consumers not the rich. A rise in wages for workers means consumers have more money to spend which is good for consumers and business.
Engineering is the opposite of evolution. No?
Doing asynchronous calls in React functional components the right way
> our phones are fully in the future ... But our computers are still kind of in the past

I wonder if our app-based ecosystem is really the "future". The reason is simple: apps lock you down. Apps store your data somewhere you don't have access to, and you can't control your data. Sometimes you even can't move your work to another device. On the other hand, file-based storage naturally encourages data migration.

Also, file-based storage allows 3rd party integration. You can use applications from different companies and of different purposes to work on the same piece of data. Even in case of software development, source code can be edited with various editors, compiled with compatible compilers, analyzed with lints and formatters, and revision-controlled through git, svn, or random custom solutions, where all those tools are developed by different parties. I don't think app-based ecosystem can achieve this level of freedom, versatility and flexibility at once.

So, no. Files are not the thing of the past, nor should be buried deep below "future" stack. It should be kept as an official backdoor to give users precise control over their data.
I am afraid the GPL simply isn't worth the paper it's not written on these days, due to the community's idealistic standpoint of "negotiate, not punish". Without the legal teeth of an actual threat of litigation, or the actions of a "rogue" employee like this one, there's no motivation whatsoever to comply. Violations are absolutely rampant.