skysight-inc/HackerNews huggingface dataset:
Nothing public unfortunately.

It's pretty straightforward though. Just declare a delegate with the same type signature as a your C function callback. Add that as the signature passed in to a native function and C# will make sure to marshal it to a standard C function pointer.

Only catch is if you want to keep a hold of the pointer in native you need to make sure to create a GCHandle to the passed in delegate with an identical lifetime. Otherwise the GC will collect the delegate from underneath you.
Gods was awesome but Speedball 2 from the same devs was a brutally fun game especially with 2 players.
Even if you have an illegitimate claim they have an out if you are dependent on React. Sue Facebook over patents, lose React. Period.
That was very illuminating, thanks. Interesting that the idea was there originally but was later deprecated when they realized video terminals couldn't do it. Today it would be trivial to convert the sequence letter/backspace/accent to its UTF-8 equivalent.
I completely agree here. and I think if most people followed these last 3 lines, there might be what, 6 projects using React?

I find the highlighted article on Facebook's "reason" for inventing Flux/Redux very laughable. - This message unread indicator kept saying (1). And how it went away with bug fixes and came back...

Did they ever stop to realize they just had some really bad devs working on the chat app? Any re-write, whether they had to invent flux or not would have fixed that indicator. It's a false story.
What would convince an avid Python user to switch to Go st this point? Let’s narrow down the scope to an API backend to be more specific (isn’t that’s where Go’s performance thrives?)
In vue you have forma free reactive data without using shouldcomponentupate. Components are updated when data change and only for the data they binding.
You have also local context while react have a global context.
Props are reactive ... And many others feature
Ask HN: Anyone else scratching their heads about coin offerings?
* Where did the architecture and ideas and accepted rules around ICO's come from? Where were the discussions taking place? I would expect something of this magnitude to have a mailing list at least as active as LKML.

* 0xproject on their blog landed 24M in coin funding from 13,000 investors at $1800 each. Where are the online equivalents of roadshows and pitches taking place? Again, where are the free and open discussions around this taking place online? Show me a historic record. Its like these things popped up overnight.

* Assume, from above, that at a 3% acquisition rate, to acquire ~15k gross number (as claimed by them) of investors they need to reach an audience of 500,000 potential coin investors. Where are these 500k investors with 1800 to throw away hanging around online? Are they all actively looking at the listings? Talk to anyone who works in private wealth management.. trying to convince someone to invest is hard.

* Given the number of ICOs, either the same groups of investors is investing in multiple ICOs or the number of investors is massive. Lets say the latter, we would expect at least 10x the number of 0xproject target audience = 5 Million active ICO investors. Again, where is this happening? It should be possible to confirm/track this on bitcoin at least. Has anyone done the analytics on this?

* If these discussions are occurring offline, what group of people are driving this, and why? Are they preparing for an event where fiat currency becomes worthless? Should we be worried?

* Why is it that the teams associated with these things come from elite institutions like ivy league unis and investment banks? Look at the teams for coinbase and 0xproject for example, and compare it to the team of an elite deep tech startup for example. You need brains and hard work to create an hard tech startup. You need what to create an ICO funded startup? Looks like elite institution connections.)

Thank you.
Like gmail.com or outlook.com, if they were limited enough to support just one browser..

No, that is not a website or webapp, it's a Chrome app.
I remember reading an article talking about how all the tentacle porn in Japanese hentai exists because USA banned the depiction of genitalia in the media after WWII, so they had to become creative about it.
I'd assume Dropbox is at least hexabyte scale.

1 PB is $23k per month on S3. It's nothing. That's barely the costs of 1-2 employees in SV.

The migration itself would take a lot more effort than one dude, even if there was a solution for completely free storage out there, the migration could only result in a huge net loss.
> please visit this site using some recent version of [browser that sends all your data to Google]

slowclap

If using a JS framework means you don't have time to test your website in more than one browser, I'll happily continue writing plain JS (or better yet, no JS).
Kasparov's Razor
Come on, everybody's doing it...

Anyway, it's not up to me, it's up to the legal team and they are saying "No".
Wrong. Without patents file there is an implicit patent grant.
Thanks for trying it out. We're not intending for it to be extremely domain specific at this point, but as we add more data sources our coverage will get better.
Unfortunately a lot of manipulation and de facto censorship is going on HN... what a shame...
Drawings for example. Depictions of all kinds of underage porn are forbidden, yet not all hurt kids.
Linguistic antipatterns: what they are and how developers perceive them [pdf]
Why is that Flutter does not have a web target? Everything is nice and fast about it, it's a shame that after building a cross mobile apps, you'll app to start the web app from scratch using another platform.
So Vue is based on the same Virtual DOM as Elm, or its own implementation? Do non-react tools in this arena still have react-like lifecycle hooks, or different ways of handling "on mount" behavior, for example?
Without knowing much, GNU Hurd has been in development for ages, yet is pretty far behind everything else out there in terms of usability. I think it is still active (remember a recent HN post), but it's progress is seen as being slow.
This is very true when it comes to consumer apps, but in our experience businesses prefer a more unified experience for their users--it minimizes the training effort.
Safe as in nil not even being equal to nil any more, I know I'll sleep better.
The real solution is to continue to blame the machines whenever an angry mob decides to show up at their doorstep instead of admitting it was their clearly defined criteria that was at fault.
True, now imagine that program was controlling some kind of device and due to the panic it wasn't able to turn the device off.
Absolutely. I just checked and vue.js uses the MIT license which would seem to be much more startup (and investor) friendly than the React license.
Here in NYC I have yet to see a job posting asking about Vue. It's all either React or maintaining an older Angular app.
I find the remarks a bit discouraging. It is not a bad exercise. It is quite creative as well. I had a look at nymph_compiler.c. Without using a lexer/parser generator, it is a bit hard to guarantee much about what it will be doing, or even to produce BNF specifications. But then again, I think they also abandoned bison for gcc, and started hand-coding the parser. Maybe the bison approach is also naive in its own way:

https://softwareengineering.stackexchange.com/questions/2546...

"A hand-written recursive-descent C++ parser has replaced the YACC-derived C++ parser from previous GCC releases."

"GCC switched to hand-written parsing because error messages are more meaningful when using recursive descent techniques. Also, C++ is becoming such a (syntactically) complex language to parse that using parser generators is not worthwhile for it."

It is strange, because the more complex the language, the more I would expect that they would move to lexer/parser generator tools, while it seems to be exactly the other way around.
GP was saying that sexuality as in actual sex is repressed, and speculating that pornography was widespread as a result.
> If they really want to crush little ol' me, I'm sure their legal team can find something in their existing patent warchest that would apply to React.

Yes, but also to your non-React code, right?

Like...seriously, what patent do you think they might have that somehow only applies to React and not all the other modern frameworks that have been busily copying React?
>I agree! It's despicible how commonplace murder and torture have become in mainstream media.

Except, those things are purposely portrayed as bad. In this case, lolicon is portrayed as a normal and good thing. And, you're making a false comparison because torture and murder are nowhere near as common and lustful as sexual and emotional abuse of individuals, young or not.

Normalization in causation to action requires that the actions already be happening and already be acceptable to some extent, and from there it becomes more wide-spread. There are such slipperly slopes in life when we feel the need to do things that cannot be allowed.

>And we give our children books that depict distopian scenes where children are forced to fight each other to death to appease the masses

Again, distopian, which is very differnt from your own culture or beliefs. You know its supposed to be wrong.
I've used this one a bit actually. Seems alright, but the performance isn't great. It's a bit laggy even relative to Angular material 1
I've never seen a SPA last "years" without some eventual rewrite or major change. The only sites I see last year are serveres rendered ones or very simple ones.
The stats don't really suggest that vue is rapidly climbing in popularity:

https://npm-stat.com/charts.html?package=react&package=vue&p...

While popularity might not have anything to do with your use case, it still means a lot in terms of ecosystem, tooling, training, support and documentation.
That Interpol statistic seems to be an estimation from Interpol in 1999, when child pornograpy was legal in Japan, so it's not relevant at all anymore.

Crappy journalism in my view not to mention that the statistic you use is from a different century.
Wouldn't a maid in the US have excused themselves and left the bathroom?
Just use modern C++
China is not a socialist country.
Firefox is very judicious about collecting data.

https://wiki.mozilla.org/Telemetry/FAQ

It collects things like "how slow is rendering" or "do you use feature X?". It's all anonymized, and you can verify this from the source (you can also turn it off). Folks are very careful if adding new telemetry metrics.

This isn't trackable data.
It's a lot easier to use the AWS console than to deal with DELL and Equinix.

AWS is also about 2749 times faster and more efficient, as measured by me the last time we ordered hardware on AWS and dell simultaneously.
JSX is closer to JS than HTML, which means it annoying to write in some cases. Quick, what does this render as?

<a href="...">Link 1</a> |
<a href="...">Link 2</a> |
<a href="...">Link 3</a>

It's not

Link 1 | Link 2 | Link 3

as you'd expect - instead, the whitespace after the pipe character is eaten by JSX. This is because HTML is whitespace sensitive, but JS is not, and so to allow indentation, JSX trims whitespace.

Here's another -

<dl>
{ Object.entries(definitions).map(([term, definition]) => (
<dt>{ term }</dt>
<dd>{ definition }</dd>
)}
</dl>

This does not work - instead, you need to return an array, but the result is ugly - the commas are part of JS, not HTML, and don't appear in the output, but reading this quickly it's hard to see that (the difference is the braces surrounding the block).

<dl>
{ Object.entries(definitions).map(([term, definition]) => ([
<dt>{ term }</dt>,
<dd>{ definition }</dd>,
])}
</dl>

Vue's 'weird DSL' is HTML (the same is not quite true for Angular's). What you see is exactly what you get. Having a DSL also means you can define your own syntax. Things that are verbose (due to historical reasons in JS), such as iterating over an object, can be made simple -

<dl>
<template v-for="(definition, term) in definitions">
<dt>{{ term }}</dt>
<dd>{{ definition }}</dd>
</template>
</dl>
This isn't morally equivalent, and the amount of overlap between JK and otaku is questionable. It's also unambiguously illegal and happening in the open, which makes the issue a lack of law enforcement rather than cultural desensitization.
A more likely explanation is that these large orgs employ real lawyers who looked at the licence and grant and who then approved the use of react because they are professional lawyers who actually understand the legalities involved, unlike 99% of the commenters in this thread.
It's Python, not Java, so it can't have the telescoping constructor anti-pattern.

Admittedly, there are a huge number of arguments to the snakefile constructor, but they are optional named arguments making the constructor safer and easier to use than Java's telescoping constructor and it alternatives (Java Bean pattern or builder patterns). This application apparently has many options or settings.
SAP ABAP syntax includes:

+ database retrieval and manipulation as a 1st class concept. ABAP doesn't require a 3rd-party ORM and therefore, SQL statements are 1st class syntax.

+ GUI capabilities as 1st class syntax (user interface elements for forms, lists, grids, visual reports, etc)

Golang core doesn't have those, so it understandably doesn't need extra official keywords to address that functionality.

SAP ABAP has more keywords that's typical for a 4GL type of language. Like other business-domain 4GLs, the complexity isn't the language syntax -- it's navigating the gigantic data model to find where important information lives. (e.g. Out of 10,000 tables, where does the sales invoice live? If an invoice is paid, where is that status field? And to make it harder, many of the database column names are German instead of English ... like AUGRU[1] for "auftrag grund" instead of English "OREASON" for "order reason".)

If Golang language spec was revised to include a 1st-class ORM and GUI & report builder into its core syntax, it would be a more apples-to-apples comparison. Golang can have less keywords, because it has less features.

[1] http://www.se80.co.uk/saptables/v/vbak/vbak.htm
> They revoke the React patent grant, which effectively downgrades "the React license" to just a stock BSD 3-clause license. At that point they will likely counter-sue you for patent infringement.

Yes, but for what patent? People have looked; none have been found. :)
Turns out doing too much of anything is bad for you.

Also turns out standing in 1 place is still sedentary.

Who would have thought.
Ultimately this was a client project with a fixed budget and timeline so a decision had to be made between extending browser support and adding more features.

Given the target audience (graphic designers, the vast majority of whom are on Mac and will use Safari or Chrome, as I validated from stats on other sites I've built), the decision was made to focus work on the type tester on those browsers.

The rest of the site should still be accessible with any browser, but we decided it was better to not show the type tester at all than have a broken experience (which was the situation with Firefox).

Anyway, hopefully that justifies it somewhat - I think it was the right decision all things factored in. There's a lot of CSS trickery/hackery to make the type tester work (native support for advanced typography stuff is poor) so making it x-browser wasn't easy. The messaging to users of other browsers could probably be improved though :)
I think that attempts to unify traditional forms of engineering with software engineering are doomed to failure, because they're so different as vocations.

For example, the design and construction stages are indistinguishable (any sufficiently detailed design of software is effectively an implementation of the design). Normal engineering is not the same, and is likely one of the reasons that software prototyping often become the final product (which is definitely not true for traditional engineering). Fields like electrical engineering that use software engineering quite heavily are only similar to traditional engineering because of the traditional components of the other engineering discipline (electrical engineering requires circuit-board design that is distinct from fabrication, and prototypes are rarely promoted directly to the final product).
De-Anonymisation
React Native doesn't either. Only via the third-party React Native Web project[1]. Which I'm sure something similar for Flutter can also be achieved if desired.

[1] - https://github.com/necolas/react-native-web
> In situation A/C (React is licensed under BSD + PATENTS), you have explicitly agreed to have what is essentially your lawful use of React immediately revoked if you sue Facebook for patent infringement.

No you haven't. That is not what is written in the PATENTS file. The PATENTS gives you a patent grant to any react patent facebook may or may not have, that you can only lose if you sue facebook for patent infringement. Without the patents file, you don't have any grant to those patents.

> You have to immediately stop using React.

No you don't. Why do you think this is the case? There is nothing in the PATENTS file about this at all. All it says is that you lose the grant. If a court grants a preliminary injunction, then yes, you have to stop using it immediately, but guess what: assuming Facebook has some react patents, they can apply for a preliminary injunction against you whether or not the PATENTS file is in there. With just plain jane BSD they can also get a preliminary injunction.

> In addition, without an explicit patent grant, a patent grant is implied with the license.

It's totally misleading to state unsettled law as fact like this. It's wishful thinking. Not being a patent holder myself, I would like it to be true as much as anyone, but the fact is that until this stuff ends up in court, just assuming that a license to redistribute also implies a license to any patents is just a theory.
Hu?

You can write JSX with just script embed.
I don't know how I missed this one, but it actually looks great. A lot of others I've looked at either has performance issues or doesn't really conform to MD very well. At least from the demo site, that doesn't appear to be an issue here.
i sense there may be a flood of react devs switching to vuejs. once their react projects are finished.

honestly react devs are missing out on how great the vue experience is. it didnt take me too long to see how much better vue is.
IIRC it is pretty anonymized already. I don't recall the details.

Also, Mozilla's privacy policy explains what Mozilla can do with the data. Generally it's not a matter of trusting the company as much as it is believing they'll follow their own privacy policy, which IMO is a reasonable assumption for most companies (including Facebook and Google, which use your data but do tell you about it)
You can do this with AWS cloudfront
Oracle v. Google was not patent litigation (unless you are referring to something other than the oft-cited but not applicable to this situation Java API suits).
These are the things I find to be killer features of React and it's ecosystem:

- React Native (I know there's Weex but it's not production ready, nor as feature rich)

- Streaming server side rendering

- React Relay (GraphQL integration)

- JSX by default. VueJS pushes an Angular-esque template language where I have to learn new syntax, binding concepts, directives and conditional statements.

- Corporate backing

I've used React in very large projects, where these features have been fairly critical. React's licensing is odd but not odd enough for me to ditch it. I'd really hate to see the community churn once again on frontend libraries, but that's JavaScript for you I guess.
Use-mention distinction, though.
Yes. The Californian Silicon Valley. Thank you for asking.
> Golang can have less keywords, because it has less features.

So, you are saying… because it's less complex?
Yep, in case anyone thinks "Module systems are solved: use npm"
It's just the type tester element which is not accessible with browsers other than Safari or Chrome, because there's quite a lot of CSS trickery/hacks to make it work which didn't work in Firefox.

As mentioned in my other comment, due to the target audience it was decided that it wasn't worth the investment to get it working on other browsers right now, but the rest of the site should still work.

Not React's fault, just a lack of time/budget and a lack of native browser support for advanced typography.
To me the whole idea of client-side HTML templates seems bad. They start out easy enough, but then they either limit you in power or introduce new and weird concepts to replace things that are easy, familiar and often better designed in the host language.

Here is an example on which I'd love to be proven wrong:

https://jsfiddle.net/j2sxgat2/2/

Its a generic spinner component that waits on a promise then passes off the fetched data to any other custom jsx. It can also take onFulfill and onReject handlers to run code when the promise resolves.

The concrete example shown in the fiddle renders a select list with the options received after waiting for a response from the "server". An onFulfill handler pre-selects the first option once data arrives. The observable selected item is also used from outside the spinner component.

With React+mobx and JSX its all simple functions/closures (some of them returning jsx), lexical scope and components. With Vue I'm not sure where to start - I assume I would need to register a custom component for the inner content and use slots?
A lot of people don't know about RactiveJS https://ractive.js.org/. Which I think is better and easier to use then most.
> It’s a constant struggle for Tor to recruit “everyday” users of Tor, who use the service to evade commercial surveillance.

That doesn't seem to be a struggle at all. All kinds of users leverage Tor for all kinds of reasons.

The struggle is to recruit everyday users who have the inclination, technical expertise, and rhetorical skill necessary to defend the technology against all kinds of fearmongering tactics.

There is a general lack of such people. If the same set of interests bent on defeating Tor set their sights on TCP, you can bet that technologists would be struggling to find ways to defend it that could resonate with the general public.
It seems the distinction between real child porn and lolicon that Japan has made, could be summarised as "thoughtcrime is not crime".
I have very good experience writing UIs in HTML's canvas, look at my repos

https://github.com/netdur?tab=repositories

I say porting Flutter to web using canvas (both have similar APIs) is very bad idea.

this repo closes the gap in sane way https://github.com/yjbanov/butterfly
Sadly, it ends up far more verbose than Java when you have (as I did after trying to port a project from java to go) over 200 copies of the same observable, sorted, copy-on-write set implementation, because Go doesn’t have generics. And then you change one thing in one place, and gotta change it everywhere again.

No thanks.
Many of us, old timers, surely programmed in languages like Go in the past, and were able to deliver lots of successful projects into production.

I for one was a very passionate Oberon user and Niklaus Wirth is well known for its minimalism design goals, Oberon-07 is even more minimalist than Go.

Just because I used to program like that almost 20 years ago, doesn't mean I still enjoy using such minimalist languages.
Especially that Vue support JSX and can be used without templates.
You helped return the story+comments to the front page, thanks.
Ah yes, I was referring to the type tester specifically :) Thanks, was a lot of work but a good fun project!
What if you had invested 1$ in Cryptocurrencies on Jan 1, 2017?
That's "shitty programmer", not bad language. You can catch panics, and there's a panic safe "val, ok := ival.(type)" assertion.