skysight-inc/HackerNews huggingface dataset:
"Good riddance to XML" is a bit much. Did you read the article? XML is ideal for representing tree structures. Pick the tool for the job.

For example, XAML does an excellent job in declaring your UI. Its use of namespacing, and how you can use child nodes to declare properties of an object, makes it highly flexible albeit slightly verbose.
Yup. (And saying it's _even worse_ than what you describe.)
> Numbers can be expressed, they just have to be parsed on the client.

But client has to know that they're numbers. So you can't just parse XML into JavaScript object without any knowledge about its structure.

> For array, child elements are ordered and form an array naturally.

But you can't express array of 0-length this way without explicit knowledge about structure. And you can't distinguish array of 1-length from an ordinary value without explicit knowledge about structure.
But sh is not a top-level domain.
> People like Tim Danaher should be behind bars.

And the VCs who enable and amplify such behaviors. These are the real power players who give the Tim Danaher's the confidence to continue with their terrible actions.
You misunderstand how end to end encryption works and what the vulnerabilities were. These are not MITM attacks. I suggest you read the article or the affidavit, they do a good job explaining what happened.
>>Indeed, sometime I'm also floored about the lack of openness here.

Quite the opposite -- there is complete openness in this thread about the technical aspects of the circumvention or use of the technique, plus open and timely reminders regarding the potential legal ramifications of executing this technique in certain jurisdictions.
Interview with the CEO of DeckRobot, Anton Urbanas
I agree with you. I don't think you can learn anything without messing with it and it's in our best interest to learn and mess with it. On the other hand I most certainly would not want to see the SV mentality applied to a field that could bring about a global pandemic.
That's right. And without that return to investors, PG&E would not have the private capital it needs to operate.
PG&E has a long history of diverting tree trimming funds into dividends. Here’s a fine that the PUC hoped would change their behavior in 1999: https://www.sfgate.com/news/article/Tree-Trimming-Pact-Lower...

Private companies are only more efficient when they have competition. This public regulated monopoly business is nonsense.
The degree of the fire is determined by the forest. California needs to get to the point where people can light a random tree on fire and not have a total catastrophe occur. You can't outlaw fires, they are inevitable and the forests have evolved to burn regularly.
If you're interested, Scott Manley gives a good intro to the way rocket engines work, and in particular turbo pumps[1] at ~3:30.

[1] https://youtu.be/4QXZ2RzN_Oo?t=212
The Ages of Successful Entrepreneurs When They Started
product-market fit can never be achieved using this algorithm, since a product is never found: in achieveProductMarketFit.ks, _uncertainty is set to 1.0. It needs to go below the 0.8 threshold in order to get out of the loop, but _uncertainty is never updated anywhere so it can never happen.
So achieveProductMarketFit won't ever return any product. QED ;)
beautiful! I enjoy how the morphs surprises me, making them hard to predict.
Linux Foundation Introduces a Telemetry Policy for All Projects
XML also has a LONG history of being used for UI in stuff like QT, which is great.

The one problem I see is that as developers, we shouldn't give a rat's ass about the otuput format's readability when compared to the API ergonomics. If the API for describing the UI is good enough (Can I do stuff like "App.Transition(App.findOne(Sidebar), 500, {width:"1%"}, {width:"30%"}, Ease.EASE_IN_OUT)" or is it a 300loc tutorial?) then the storage format at the end of the day is not THAT important, at least for me, a guy who does a lot of GUI work every day.
He is reviewing code. But with emails as underlying tool. Is there no better code review tools?
I believe they mean that the insulin+metformin+diet regimen isn’t keeping sugar in a reasonable range.
I am pretty new to this space and I have a couple domains registered for some site ideas I would like to pursue in the future. Do all non-.com domains have these kind of restrictions? I thought they were always recommendations? How and why would Google ever think it is cool to restrict how I use a domain, other than the obvious illegal activities I guess?
I'm not saying it never gets cold, just that the climate is much warmer than, say, Wisconsin.

I grew up in Southwestern Ontario and we had days were school was cancelled due to cold, not snow. They were worried about frostbite on any exposed skin.
> No easy answer, taxes will have to be raised by a lot

The alternative to raising taxes is to cut bullshit government spending and tax breaks for mega corporations, or enforcing taxes against the rich.
> Simple Does Not Mean Ugly

Sure, but that's obvious.

Simplicity of use and the simplicity of appearance are two different things. Of course, one doesn't mean the other.
I think you might have wires crossed, .new is a domain. So if github buy repo.new then they can host on it. Good names are first come, first served

If Pizzahut bought pizza.new they could host a webservice on there provided the webservice resulted in something new.
>"Altogether, parties supporting Catalan independence received 48 percent of the vote."
> 48>40

Support for independence and voting share of parties supporting Catalan independence are two different things. Heavily correlated, sure, but not equivalent.
People using Mac hardware never seem to be aware of how simple life is with select + middle click
The Fall of the Berlin Wall – Archive, November 1989
A lot of people ask about creating new Markdown files and giving them "draft" status in TinaCMS. This article does a good job explaining how to achieve that.
1. Why is parsing a tree which is encoded in JSON easier?
2. Why does it matter if an element is in an attribute or in child elements. You need some kind of schema anyway, right?
I'm working on https://tacticalvote.co.uk and volunteered during the 2017 snap General Election too.

# Tech

Our site handled a lot of traffic at the last snap election. 2.6m unique visitors in the 5 weeks before the vote, a crazy number during the last 48 hours.

To accommodate this we have a static site builder, with our data in Google Sheets. We monitor github for changes, Sheets for changes, and auto-generate the site. The site builder translates the Google Sheet into JSON.

This then pushes a Cache Purge instruction to Cloudflare. Cloudflare is configured to cache everything at the edge for hours, but in the browser for minutes... meaning we serve virtually nothing from the origin server, and over 99% of reqs from Cloudflare caches.

Doing this meant we had to design everything to just be static HTML and JS. It works well.

We communicate in Slack, use MailChimp for email mailouts, and have a GSuite account with some alias emails.

# What is the org like?

No-one is working on this full-time, but we have a team of ~5 people who all do just a little. It's no burden for this to exist, and the costs are virtually $0 outside of the election period.

The only cost we have is MailChimp during the election period, so we will be crowdfunding to allow us to keep people informed about changes, etc.

We are very much a small group of individuals from wildly different backgrounds and political beliefs who happen to have a common goal but for different reasons. We aren't trying to convince each other about "why" to do this work, only that the goal makes it worth it even though different individuals have different goals.

# Why am I involved?

It is not as if I necessarily believe that the Tories are vile, Labour is better, etc. (Though some in the team do express this.)

What I personally believe is that we should have proportional representation, and that mass tactical voting is an important step towards progressive candidates and progressive parties before we can reach a full PR system. Mass tactical voting applies pressure and encourages progressive behaviour.

My contribution then, is towards fairer election systems.
Test of RuNet
I am more worried if AWS.new will mean new EC2 instance or new Lambda ️
Hiring Digital Marketing Analyst
There are very specialized filters for extreme stretching, e.g. ‘PaulStretch’ is popular among the ‘800%’ stretch-meme crowd. But it adds a distinct ethereal quality. Audacity seems to have this filter, and might be alright at stretching in general.

Command-line `sox` also does slowing down better than ffmpeg at speeds like 0.7, but dunno about 0.3.
Because I can't buy pizza.com but now I have a shot at pizza.new I guess. Some companies are willing to jump through hoops if it gets them a good domain
How Many Developers Will Be There in the World Until the End of 2019?
>"Inequality" doesn't mean that even the poorer part of a society has slid backwards.

Unfortunately it does, in two ways. One is objective, the other can be argued, but is my opinion nonetheless.

1) Inequality has seen the "poorer part of a society" slid backwards in many objectively measured standards of living, from infant mortality to overall life expectancy, to home ownership, retirement savings, and so on. Those are in absolute (and inflation adjusted when needed) values, worse than in the past.

2) Humans are not mere animals, and their progress, self-respect, etc are not just absolute, but also relative to the overall resources available. We don't compare ourselves to cavemen era people or to 1928 people, but to what's available today. More people having less share of their society's wealth is a slide backwards, even if each has more toys than someone in 1970s or 3000 B.C. had. In other words, "median share of society's wealth per person" is also a metric to keep track of over time.

(And the more important stuff, like homes, health care, education, are increasingly priced out of reach, even relative to 1970 or 1980, so that's a slide backwards whether seen relatively or in absolute terms).
The common proposed solution there is putting it in a specific bit of ocean in the western equatorial Pacific where there are far fewer chances (now, with climate change who knows) of hurricanes and other storms.

I imagine if we ever have the means to actually construct one though we'll probably also have good super conductors and crazy super capacitors and could probably just build superconductor lightning rods up and down the length of it that dump into super caps which then power the climbers and HVAC.
In order for me to answer that, you must be more specific about the purpose of the representation.

For the purpose of authoring comments on Hacker News (HN), I for one am grateful= that HN doesn't make us type out HTML. I also doubt very much that HN stores our comments in a different representation (e.g. HTML) than the one they were authored in.
Particularly in the face of expensive renewables mandates. One way to soften the blow of the RPS was to defer maintenance.
What kind of preventive maintenance are you accusing them of neglecting? Because it appears to me they were under immense pressure to stop wildfires without actually cutting down any trees. Cutting down trees is something California went to great lengths to stop doing around 2007 or so, by ending logging and forest brush operations/controlled burns, and are now reaping the rewards.

https://www.sfchronicle.com/california-wildfires/article/Rad...
Tips to Deploy Production-Ready Applications in Kubernetes
The forest is trying to manage itself but is being prevented by humans. Forests are supposed to burn occasionally. We have prevented this from happening. Now there’s far too much old dry foliage to burn, so when a fire starts, it gets crazy. Smoky the bear is the unintended enemy of the forest.
I would highly recommend it. Setup is incredibly easy (VSCode has great plugins for it), the language is simple to read/write and compiled Nim is very fast with small binaries. I also really like nimfmt to keep my code tidy so I don't need to worry about it. Nim compiles VERY quickly and errors seem to be easy to comprehend. It's definitely one of my go-to languages for most of my projects.
Actually I would argue with this: Plex used to, but now find themselves trying to “legitimize” and sacrificing user control in order to do it.

E.g: All logins (including local LAN) go through their servers.
> So we’ve effectively tied two pieces of critical infrastructure together and made one dependent upon the other.

Worse: POTS and ISDN landlines are getting shut down left and right (at least in Germany, probably also in the US) as there are simply no linecard manufacturers remaining. Everything is switched to CPE-terminated VoIP crap (ever tried sending a fax with a fax machine linked on a consumer VoIP circuit?). So even if you HAVE a landline, its usability for 911 depends on the DSLAM having backup power (which many only have for 24-48h).
> JSON for lists, XML for trees
No. JSON is a recursive data structure that can represent trees as well.

It's easy to make a concise representation of DOM trees as JSON: http://m1el.github.io/jsonht.htm

I find it really sad that people don't know or consider s-expressions to represent trees.

(Department {:name "Scranton Branch"}
(Employee {:name "Michael Scott" :title "Regional Manager"}
(Department {:name "Sales"}
(Employee {:name "Dwight Schrute" :title "Ass. Regional Mgr"})
(Employee {:name "Jim Halpert" :title="Head of Sales"}
(Employee {:name "Andy Bernard" :title="Sales Rep"})
(Employee {:name "Phyllis Lapin" :title="Sales Rep"})))
(Employee {:name "Pam Beesly" :title "Office Administrator")))
The Economist is trying to convert 1m YouTube subscribers into paying members
Show HN: Beating Hinton et al.'s capsule net with fewer params and less training
Hello HN,

I recently posted a work-in-progress paper, along with code necessary for replicating all its results, at:

https://github.com/glassroom/heinsen_routing

Among other things, the code in this repo outperforms Hinton et al.'s recent state-of-the-art result in visual recognition[0] while requiring fewer parameters and an order-of-magnitude fewer training epochs.

Most of the original research we do at work tends to be either proprietary in nature or tightly coupled to internal code, so we cannot share it with the world. In this case, however, I was able to remove all traces of internal code and release this as stand-alone open-source software without having to disclose any key IP.

I've reached out to academics in different groups for feedback, and the response so far has been positive, although most have only skimmed the paper. It will likely take a few weeks to get proper feedback from academia.

In the meantime, I figured there are a lot of super-smart, knowledgeable people on HN who would love to take a look at this and share their thoughts. Please feel free to ask questions. Let me know what you think!

[0] https://ai.google/research/pubs/pub46653
Indeed many typewriters lacked 1 and 0,; you just used l and O
What’s the contemporary equivalent of a kid opening a lemonade stand?
Yet there are still games you can buy with no DRM, and there have never been more games available for purchase than now.

There’s an abundance of games, and yes, some of them have a shelf life and abusive to their customers. Those games are what I would call ephemeral experiences, or at least they are deeper into the ephemeral experience end than games available for purchases.
You know, when XML looks like this, I don't mind it so much:

<Employee name="Michael Scott" title="Regional Manager">
<Employee name="Dwight Schrute" title="Ass. Regional Mgr" />
<Employee name="Jim Halpert" title="Head of Sales">
<Employee name="Andy Bernard" title="Sales Rep" />
<Employee name="Phyllis Lapin" title="Sales Rep" />
</Employee>
<Employee name="Pam Beesly" title="Office Administrator" />
</Employee>

The thing is, XML in the real world never looks like this. In the real world, XML has an avalanche of obscure namespaces, weird "<![CDATA" things, unreadable attributes, incomprehensible structure, and god knows what else.

The simplicity of JSON is an advantage: it prevents people from mucking it up with too much nonsense like this. Of course, you CAN make unreadble JSON as well, XML just makes it so much easier.
That's how you get legal DDoSing.

4chan would get a few thousand people to file requests for things like "all CIA agents deployed in Russia" and trigger a billion dollars in legal fees.
Yep, to some degree. Though what I would love in an xml-based UI description language is the ability to opt into default system behaviors, while maintaining the ability to use whatever semantic naming convention that fits my application.

I wrote this code in another comment, but imagine if you could hook functionality to an element via defined attributes. With custom elements, you have to add the functionality via a script, and they aren't system functions (from what I can remember, I may be wrong).

<LabelList list>
<LabelItem label listItem>
</LabelItem>
</LabelList>

In the above code:

- the LabelList element hooks into the systems "list" behavior

- the LabelItem element hooks into the systems "label" behavior

- the LabelItem element hooks into the systems "listItem" behavior
Counterexample: the Apple watch design.
I wonder if a joint hardware-software development project could benefit KiCad in a similar manner that the Open Movie Projects have helped Blender’s development.

For those who don’t know, Blender has developed a few complete animations/shorts with artists and developers working jointly, thus bringing in real world experience to the project.

I wonder if something similar could be done with an open hardware project.
Why would anybody have the "smart idea" to put anti-government source code on a centralized source code management website? This was probably on purpose to gain some media attention...
Very old and very relevant:

https://motherfuckingwebsite.com/

http://bettermotherfuckingwebsite.com/

And if you search for "motherfucking website", you'll find a million similar, satirical versions of a website inspired by that first one.
How about Reddit mods?
It depends where your benchmark is.

Writing a browser that passes acid tests and supports all the standards (old and new) as well as the sites that aren’t standards compliant but users might still expect it to work; that is an insane hard task. But building a console browser that supports a subset of standards and has no Javascript support is a much easier job (read: “easier” as in relative to the former task).

Much like building a kernel + CLI shell is easier than building a fully multi-tasking OS with GPU accelerated GUI compositing, stable ABIs, modular driver model, and full support for 99% of common hardware.
That domain appears to not be registered
Those dividends are necessary to raise the private capital necessary to run PG&E. It's not a charity, and it's certainly not a "market." It's a state-sponsored monopoly. The only other ways to fund it are increased energy prices or tax dollars.
Why is this so controversial? The contaminant does not seem to be described anywhere, nor any consequences of this contamination.

For all we know Juul shipped 1M mint pods contaminated with strawberry flavour. The fact that the story completely avoids this is a bit suspicious.
Reddit certainly would. Moderating a top subreddit is definitely as much work as most part time jobs, and essential to that site actually being good.
Amazing work ! Congrats !
Years of experience > "the article"

JSON is a tree structure. It is dictionaries and arrays mixed together in a hierarchy.
Insanely cool. Also see this work by the same author: https://www.youtube.com/watch?v=6du033n-J3s
How to Train for Creative Work Like an Athlete
> PG&E pays out dividends out of profits. The amount of profit it makes is strictly regulated by the government, based on the California Public Utility Commission’s rate-making.

If you want to blame the state for PG&E management decisions, you are essentially saying that PG&E’s shareholder ownership and its own management are irrelevant, in which case they are at best a superfluous expense that should be avoided by making PG&E’s functions the domain of a publicly-operated utility.
Small Business Automation: A Guide to Getting Things Done
I've seen a lot of XML vs. JSON discussion that misses the point why developers like me love JSON so much, at least until things get really big, or you want to add another 9 to your reliability [1].

JSON is so easy to get started with. Some of this is precisely because of the lack of schema.

In Java with the GSON library, encoding/decoding is one function call and for the things I've been doing this just works at least 90% of the time. I've managed to add a JSON option to several endpoints in an application in something like 1-2 hours, including writing tests.

Back when I did Java as a full-time job and we were working with XML a lot, there were whole proccesses and workflows and validations and annotations to get the thing working properly. I think you also had to add a few extra stages to the maven compile process back then to get the schemas and all properly set up and loaded. It's not so much a fault of XML as a format, as of the whole "enterprise" tooling that we were asked to use around it. I really hope that this has got easier now.

It's almost as if the XML library people were thinking in the waterfall model where you specify everything up front, and the GSON people were thinking in the agile model.

[1] https://rachelbythebay.com/w/2019/07/21/reliability/
> XML, really? It’s bloated and outdated. Why not use JSON? It’s the future.

Who says this? XML is a great general markup language that every one all ready knows, it's a perfectly valid choice for most things, please use it.

Just don't make yet another bloated outdated markup language like YAML, any "optimisations" turn out to be opinion that doesn't justify the time spent learning a new language.

Do you really want to be known as the guy that made YAML? No you don't.
What’s wrong with Adobe Animate?
I always try to give good advice.
Obviously rates and mortgages amplify price increases but they are not the root cause, which is... supply and demand.

Prices are driven up because people compete to buy a limited stock.

Restrictions on mortgages and higher rates to not necessarily make desirable areas more affordable. The absolute prices might be lower, indeed, but fewer people will also be able to afford the mortgages.

For effective and sustainable affordability there is no alternative to balancing supply and demand.
["div",
"The ", ["a", {"href": "https://www.json.org/"}, "JSON format"],
" was invented by ", ["em", "Douglas Crockford"], "."]
‘Lady Gaga of Math’ Splits Macron’s Party by Running for Mayor of Paris
Very well said, exactly my opinion as well.
> it's the underscore insensitivity that makes it difficult to use standard search tools.

I personally don't like the feature, but what do you find difficult about using /my_?[vV]ariable/ to search for any of myvariable, my_variable or myVariable?
Exchanges are subject to AML
How is this unlawful without robust network neutrality legislation? They’re not claiming ownership or redistributing it, and I’m sure they’d argue that this shouldn’t have any side effects.

I’m far from a fan of Comcast but this doesn’t seem like something we have a good legal angle for addressing.
These companies may also need to be head quartered in NY like Stack Exchange is.
My only concern is that the people who run the tools etc. have their political view. For example "https://tacticalvote.co.uk" is clearly against the Conservative party. So that tool is straight away biased.
I think OP is asking whether such countries, including the US, are indeed democratic, or just called that like Congo is called democratic, (not to the same degree obviously, but the same principle).