skysight-inc/HackerNews huggingface dataset:
I'm not sure what that's supposed to solve since you want to handle error/results at that top-level `async` in your example.

For example, in Javascript, you would often just have a top-level async function and stay inside async world the whole time.

Putting your example in the middle of some random code can already be done by calling a promise but not putting the downstream code inside its .then() block.

One of the nicest things about Javascript is the absolute simplicity of its concurrency model, one of those perks coming from its single-threaded nature. I look at something like C# and Kotlin with their BYO await semantics as something I'm glad Javascript doesn't have.
What Data Scientists Should Know About Game Theory: Types of Games
" But even plain, old, regular mass at rest has energy inherent to it..."

This sentence is so typical of sloppy so-called science writing in the US. What is "plain mass?" What is "old mass?" Or maybe he put the comma in the wrong place and he meant "plain old regular mass?" If so what is "plain old regular mass?" There is no such thing.

But more importantly, nothing is ever at rest in the known world. It is absurd to discuss the properties of something when it is at rest. It will never be at rest. There is no absolute rest.
A number of exchanges have USDT pairings. https://coinmarketcap.com/currencies/tether/#markets
> What really improved css, and the web in general, is automatic browser updates. Chrome was the first to implement it and now its commonplace. Not only that, but the security community spent a decade shaming enterprises for rules against upgrading software. Now, finally, it seems like enterprises are realizing the insecure thing to do is not upgrade.

I wish, in some enterprises Chrome is forbidden by IT security exactly because of them not being able to control when updates take place.
Needs a "Why was Mark created?" section because this appears more 'neat' than 'useful'.
SimCity 2000 is one of the few original discs that I kept from when I was a kid. It came in handy when I built a Windows 98 machine a few years ago.
If you want a better JSON, try binary-json "Concise Binary Object Representation" RFC 7049
http://cbor.io/
Looks like a worse HAML...
I have a related question. Since when is a 16 year old who makes an app a prodigy? Even if she did write it all by herself?

I was getting paid to make back office software for local businesses at 13 in 1998 with absolutely no help from anyone and no one called me a prodigy. I'm sure tons of NH people have similar stories.

I seem to remember a survey at one point that the average person on HN who actually codes started coding at around 12.

Perhaps we should be teaching young people that coding is an obtainable goal that if you put your mind to it and work hard you can do? Not something you need to be a "prodigy" to do.
Defining the type of objects is a must when you want to exchange things in a strongly typed environment (Java on the server, TypeScript on the client, for ex).
So +1 for {mark}.
Do you handle multiple typing?
(We use that a lot in Neo4J, and we think it is really neat)

Another comment:
Coming from a Semantic Web background, and using N3 as the exchange format and N3.parse() as my client-side lib, I would advise to have a UID parameter to uniquely identify objects, and a refId syntax, so any parameter can reference some other objects of the data structure. That helps when you want to transmit a graph [1].

My humble 2 cents.

[1]: I would add that it is also useful when you retrieve some refIds that are not defined in the current data structure. You can then ask the server to dereference these refIds, and send another (portion of the) graph, that you can connect with the existing data structure.
Yes, that's what the current social media climate is like unfortunately. An internet mob harassing someone seems to be the default answer to everything, and each person participating thinks they are fighting for justice or something. I just don't think HN piling on is going to help.
Don't underestimate young people.

We have hundreds of people doing this in https://hackclub.com, many of whom are 16 or younger.
So it's basically just XML with curly braces or sexps...

And why bring YAML in the mix? Yaml isn't used for transfer I hope? Should be compared to TOML as well in that case that seems a lot better than YAML, especially for configs: https://github.com/toml-lang/toml

Or msgpack? Which also seems useful. Why not protobuf? Or just s-exps which is basically what this is.
This kind of tech writing — the historical/anthropological - especially wrt web tech is far more helpful to me than the technical & how-to docs etc.

Just knowing why things are creates a much better context for me to place the knowledge, understanding and appropriate use for each property/feature etc.
Siimact: A Set of React Components for Siimple CSS Framework Edit Add Topics
You already have those problems. You'll be trying to fix two problems instead of just one.
Dear Sir, you forgot to include a download link for this fix. Please advise
So if I make a playlist and then Tweet about it, and some content curator at Spotify doesn't like me, they're going to delete my playlist? Notice I didn't say that don't have the right to do what they want with their business, it's just a crappy move.

I wonder if Christian or Muslim artists asked that their music not be on a LGBT figure's playlist, if Spotify would ban the whole playlist, like they did here.
Not sure how many more xkcd 927s this thread will have but personally what bugs me the most is the thought that being slightly more versatile than JSON means that Mark is worth the trouble of adopting. Data structures are well represented by JSON, markup is mostly well represented with XML. I rarely really want to mix the two. Additionally, this doesn't feel like a language I would want to write documents in any more than I do XML.

I think we're fine with separate languages for data and markup.
Show HN: Checkbot for Chrome – Crawls your site for SEO, speed and security issues
"Whoever does not understand Lisp is doomed to reinvent it"

- A wise man on the Internet once said
My vote is for CSON: https://github.com/bevry/cson
Hi! I'm the developer behind this. Checkbot can spider your site for broken links, duplicate content issues, unminified resources, redirect chains, mixed content errors, insecure password forms and more. There's a guide on the website (https://www.checkbot.io) that explains the 50+ best practices Checkbot tests for. I'm hoping web developers find the extension useful for checking and optimising their sites.

By the way, if you'd rather not grant the permissions needed, you can always open a new Chrome window and sign in to Chrome with a temporary account with the button in the top right before you install. This keeps everything separate from your main account.

I'm looking for any feedback you might have about the Chrome extension itself and the website. Did you find it useful? How often would you use it? Can you think of any improvements you'd like to see? Thanks!
You can either type the return value at the end of your line:

xs <- map read <$> lines <$> getContents :: IO [Int]

Or you can force the xs type on some other line:

let _ = xs :: Int

There is a recent idiom for that last format that lets you write on the same line as the expression. I think it's something like:

(xs @ [Int]) <- map read <$> lines <$> getContents

But I haven't used it yet and I am not sure exactly what version of GHC allows it.
Because several artists didn't want to be included, instead of removing those artists, they banned his whole playlist?

Edit: Based on the litany of left-wing politics that Spotify brazenly pushes in their app, I'd be surprised if they would take the same side if the sides were reversed between artist and politician. This only bolsters my original statement of why I'm getting tired of Spotify's politics.
Oh god, HAML... shudders
They're waiting for you Gordon ... in the test chamber.
Ask HN: Fast-forward 5 years, what are 3 reasons why your startup failed?
I stumbled upon this question in a casual discussion with friends few days back. While it sent a chill down my spine, it also made me think more about what important things I might be ignoring in my startup journey and what can be the real reason why my startup could fail. My top 3 reasons:

1. Bad (poorly measured) experiments in Growth and Product

2. Not catching up with the pace of the market

3. Not able to build and inspire an A+ team

What are yours? Would love to know what every entrepreneur has got to say.
I once read that a big problem in the industry are already established women.

There seems to be the tendency to think "If I did it in the harsh world, why should anyone have it easier than me?"
> It has clean syntax

You could remove every '{' with 0 loss of meaning.
I would say that it depends on the maturity of the app. If it's 2 or 3 screens with a couple buttons yeah, nothing extraordinary. If it can handle a massive load and do actual complicated calculation then it's more impressive.

I was also making websites for business at the beginning of the Internet when I was a teen. But back then anybody who could understand HTML was seen as a freaking wizard :) But I also recognize that the complexity of what I was building was nowhere near what I do today for example.
How do these official Sim City games compare to the newer game Cities: Skylines. That appears to be the spiritual successor. I like that that doesn't require an always-on connection, it also seems to have good reviews (87% on Steam) but how does it compare to the official Sim City games?
Yes we changed it a few days ago.
I'm disappointed that "programming for Vaunt will involve JavaScript". We're stuck with this horribly designed language on the web because browsers don't run anything else (natively), and there is a strong trend in the field to replace it, either with compilation of saner languages to JS or with WebAssembly. We don't need to infect another nascent market with this atrocity, let it die.
Please look at guardian or Google holiday pay for contract workers.
I'm and ej court all ruled holiday pay should be given to contract workers after test case involving double glazing salesman. It is covered by HEALTH in health and safety.
All it needs is someone to take these profit driven companies to task..hiding behind so called self employment.
Doesn't seem like valid JS, you wouldn't need mark.js if that were the case.
AbortController “polyfill” – Browser Polyfill for the AbortController DOM API
FYI, an old discussion on N3: https://news.ycombinator.com/item?id=14475501
One drawback to giving branding to these otherwise complex and obscure vulnerabilities. It wouldn’t be so effective to say “Intel has detected your computer is vulnerable to a cache side channel attack. Click here to install the fix.”
Could you try looking at it as at an art piece?
And now the world want exactly the same for Jerusalem.
I find it's crazy.
China Blocks Foreign Crypto Exchanges to Counter ‘Financial Risks’
One major weakness of JSON is lack of a corresponding "infoset"; that is, an equivalence predicate. When are two JSON blobs "the same"? There's no sign of anything like this here.

Another is the lack of support for binary data. There's no sign of support for binary data here.

Finally, there's this claim:

> The advantage of Mark over S-expressions is that it is more modern, and can directly run in browser and node.js environments.

Is it more modern? I don't think I care.

Can it directly run in browser and node.js environments? What does that mean? It seems to need a parser. But then, S-expression parsers certainly directly run in browser and node.js environments.

---

IMO, SPKI SEXPs are much more sensible than this design and many, many other designs:

https://people.csail.mit.edu/rivest/Sexp.txt
Well some of it yes, much of it is supply and demand, but even that isn't really the case take for example Japan I got tickets for one of the peak seasons which is the end of march to the mid of april for about 1000 GBP with SAS for 2 people, hotels were about 2000 GBP more but we picked pretty decent ones and add to that about 500 GBP for the monthly rail pass and you can have 2 people spending 2-2.5 weeks in Japan for under 5000 GBP (we end up spending more but that was because of restaurants and shopping, Naniwa whetstones are expensive even in Japan :().
While that is expensive the truth is that on a young professional salary today a couple can afford that and many of use chose to have fun rather than have kids.

On an anecdotal note I always thought that the way children are raised could change, and maybe should change to incorporate both young parents and earlier retirement and that is to effectively have the child care taken care off by the grandparents, basically having kids as early as possible (18-24) and then have the grandparents act as the primary caregiver during the first 10-13 years as that that point they would be around 40 and effectively by the time the kids grow up and have kids of their own you have now established yourself in a position to be a primary caregiver for what is now your own grandchildren.

This might sound dystopian but I'm not entirely sure how we'll cope with not needing to do manual labor (even at home, so no need for little helpers), women seeking career (nothing wrong with that, but man can't get pregnant) and the fact that despite living longer than ever our optimal reproductive age remains more or less the same.
Can you see how that small change on the interface makes it awful to write code that is generic on Monoid?

It does not fit the requirements. It makes the kind of code people write in Haskell absolutely not viable.
I'm not familiar. Care to elaborate?
And this is why you never wash cooking oil or fats down the drain. If they don't clog your drains, they will collect like this and cause huge problems in sewers and water treatment plants.

Pour it in an empty milk carton or whatever and throw it in the household trash. And pour a full kettle of boiling water down your kitchen sink drain once in a while, it'll prevent fat from collecting and it'll kill any nasty smells, too.

E: "Ninety three per cent of its complex structure was said to consist of the element “wet wipe”"

And don't flush wet wipes! Why do people still think this is OK?
What the World Will Look Like 4°C Warmer
I've literally never heard a man use it. Or a woman. On the other hand many anecdotes does not equal data...
I've done some of this myself. Honestly, it's so hard to bend the language to your will (and requires so much discipline) that I'm more inclined to just use a compile-to-JS language instead.

The type system is fantastic in TS, but I also found it to be a little bit lacking for pure FP.
- Default: Yes it can happen, but it's voluntary and done politically. It's not a technical requirement. The US government can always service the debt. Here's an article from the Economist, "Countries rarely default on their debt" https://www.economist.com/news/finance-and-economics/2173280...

- Interest rates: the Fed controls overnight interest rates, afaik. But what happens with long-term rates is that the Fed uses those bonds as a "reserve drain". https://www.nakedcapitalism.com/2010/08/why-treasury-bonds-d... Long term interest rates have been going down for decades, despite the size of the debt consistently going up.

- China: the point is that they already have over $1 trillion in Treasuries, what is the difference between holding Treasuries vs holding cash? It's just two different kinds of bank account at the Federal Reserve. And the former pays interest, so why convert to the latter? They would only do so to spend it. Which either means a trade surplus for the USA (a boon for the economy) or converting their holdings into another currency, which just means transferring ownership of the Treasuries to someone else. In both cases, inflation and foreign exchange rate are the biggest risk. Do you think there is interest rate risk here? As for the Fed, I don't see limits to their powers.

- Inflation: I see the causality in reverse. Increased government debt leads to inflation (because government debt is money, money supply has gone up, and aggregate demand through government spending has gone up) rather than the government trying to inflate to pay off the debt. Stagflation in the 70s was caused by a supply shock (oil prices). If inflation happens because of the money supply, then the government can fix that problem by shrinking the money supply. If it happens for other reasons, then the government needs to address those issues. What is the problem with the debt then? How is that a concern?
Yeah, I'm extremely jealous of the cellular plans I've heard of from other countries. The state of US carriers is a joke.
I understand and agree with your point, but being overly focused on an artists sex (which is annoying) is not the same thing as hating women.
Stevens Capital Management LP| Developers| Radnor, PA, USA| On-site| Full-time.

Stevens Capital Management LP (“SCM”) is a registered investment adviser that manages a multi-billion dollar hedge fund that has been in business for 25+ years.
SCM specializes in the rigorous development and disciplined implementation of empirically based quantitative trading strategies. Our highly productive team works in a fast-paced collegial environment, utilizing extensive data sets, technology and the scientific method to devise and employ trading strategies throughout the world’s most liquid financial markets.

We are seeking highly driven, production-oriented developers who possess strong technical skills and the ability to work in a fast-paced collaborative environment.

We are currently hiring for the following Developer roles:

Implementation Developer: http://grnh.se/2c8uwp1

C++ Market Data Feeds Developer: http://grnh.se/lu5pcr1

Execution Developer: http://grnh.se/4dyvat1

Please visit our website for more information:
www.scm-lp.com
Exactly. I thought it was a great speed, and there really aren't many slow-spanish resources online which makes it hard to transcend intermediate hell.

The English sections work well to give you context for the Spanish sections. Losing track of context is definitely one of the hardest parts of listening to a different language. "Wait, I thought we were still talking about his aunt." The English also makes it more of a leisurely exposure.

Another issue I have with most resources is that there's no way to easily replay chunks of audio. I'd prefer to be able to listen to bite-sized chunks until I understand them. I built https://www.danneu.com/slow-spanish/ (the three lil pigs) to prototype an idea where you listen to a story and can prev/next/replay any sentence.
Nominally neutral? They fought the Soviets in alliance with the Nazis! It wasn't until the end of the Winter war they switched sides.
"More modern" is a euphemism for "not made by someone who had a gray beard in 1975". It's just another form of ageism.
> So this is literally Lisp

No, it's close to S-expressions, but it's not a programming language like Lisp.

> just with curly braces instead of parenthesis

Well, and more syntax than S-expressions: it's got both objects and arrays as fundamental structures instead of just lists, and it has commas as noise characters.
I don't understand it either.

Looks like s-expressions to me and it isn't legit JS.
People have a soft touch for companies that are on death's door, proof in point is when a startup is closing door. it's their biggest boost in marketing they ever had. and people complain they didn't already know about it.
Comparing {mark} to XML, it doesn't seem to support namespaces which makes the claim to be extensible somewhat dubious. How am I supposed to add custom objects without risking name clashes? Namespaces also make XML kind of fully typed without being tied to a single programming language.

Another strength of XML is support for mixed content which seems rather awkward in {mark}. The following

<p>Some <b>bold</b> text</p>

apparently needs to written as

{p 'Some' {b 'bold'} 'text'}

It would be more honest to mark support for mixed content as "verbose" in the feature table.

Besides, the name {mark} seems like a bad idea. How could you find relevant results when searching for {mark} using a search engine?
No.

If Apple bought a mobile carrier it would be competing with its customers. Most phones are sold through carriers - meaning the carriers are buying iPhones not the end user.

Besides, Apple sells phones worldwide. What would be the benefit of just buying a carrier in the US?

Netflix made a similar calculation years ago. Netflix actually created what is now the Roku, but decided to spin it off to a separate company so it could more easily make deals to have Netflix installed everywhere without being seen as a competitor.

In a completely separate market, another example is that PepsiCo use to own KFC, Taco Bell, and Pizza Hut. But that made it harder for them to do deals with other fast food companies because they didn't want to make deals with a competitor.
That doesn't necessarily mean you're going to have a digital footprint of all your activity online.

I'm withholding judgment on if she did or did not code most of the app herself.
Monochrome tiny porn?

Now you mention it, probably...
Drawing GOKU and VEGETA Super Saiyan Blue and Beyond Super Saiyan Blue
It's a monochrome display. Pretty hard to use it for porn.
Is the library published on PyPI?
If you haven't watched all of Bill's videos, you should put them on your list right right now. His early stuff was a great mixture of goofy humor and fascinating explanations of the engineering behind various everyday objects.

His more recent stuff has (unfortunately, in my opinion) dropped most of the comedy, but really stepped up the overall quality.

Some highlights:

His series on Faraday's Chemical History of a Candle lectures: https://www.youtube.com/watch?v=RrHnLXMTOWM

His series on Albert Michelson’s Harmonic Analyzer (a century old device that can mechanically perform Fourier transforms)

https://www.youtube.com/watch?v=NAsM30MAHLg

I'd also really recommend his book on R101, the last great British airship. http://www.engineerguy.com/airship/
What would you use for schema validation? Obviously http://json-schema.org/ won't cut it.
That post looks so immature.. who the f* cares who created an app at the end of the day ?

If you think it's the fact that she's young that made the app famous, then create a false young persona and the same with your own app instead. Only stupid people would care about who built it instead of the actual quality of the app.

I've lost time even reading even the title of this post.

#firstworldproblems
> If the int3 happens to get hit by the other thread, just have the debug exception do nothing.

Doesn't that potentially crash the other thread because the rest of the instruction is still there?
The Last Question [pdf]
Building contractors are paid pro rata holiday pay for duration of a contract.
Gig workers get nothing..its not the work with long hours...its the fact no one can work without holidays.
An EPUB version would be cool, too. PDF's are kind of a pain to read on tablets.

Also, if you guys would be willing to throw the "raw" source onto something like Github, it might be easier to get people to submit proofreading corrections.
They don't look like normal glasses--thank goodness.

I guess it's only a matter of time though.
Paradoxically, the biggest selling point for me is that they're not produced by Google.
> Mark utilizes a novel feature in JavaScript that an plain JS object is actually array-like, it can contain both named properties and indexed properties.

Where can I read more about this feature of JavaScript?