skysight-inc/HackerNews huggingface dataset:
> it attempts to appear imperative to be palatable to more people

I doubt that was the reasoning, given the Haskell slogan of "Avoid success at all costs".

Imperative is most natural when you have mutable state and side effect. Haskell does not deny that. But even imperative languages (anything above assembler) have both statements and expressions. Haskell just tries to move as much as possible to expressions, and reduce and isolate mutable state and side effects.
`auto` is just a keyword, that's used in D and C++ to implement many many different language features.

Rust does not have

fn foo() -> let { ... }

where

fn foo() -> let { 0_i32 }
let x: i32 = foo();
fn bar() -> let { 0_f32 }
let y: f32 = bar();

That is, you can't have an opaque function return type, that's both opaque, but simultaneously the user can name and use all interfaces from.

If you change the implementation of `bar` with such a feature to return `i32` instead, all calling code of `bar` would break. And that's precisely why Rust doesn't have D/C++'s `auto` in return position.
> Which is why it’s legal to home school your kids if you want to

This is far from universal btw.
Not a question, but just a quick comment: Your overview page assumes familiarity with a bunch of concepts. If you could find the time, perhaps it would be helpful writing up a high-level explanation that makes none of those assumptions.

For instance, it sounds like it's a cluster-based distributed system for some clients to post messages and other clients to get notified about them through pattern matching on a standardized protocol, without any messages getting lost.
I'll admit I've never written more than small programs in C, but the criticism that this "isn't C" isn't a fair criticism to me. He's not doing anything more than any other library can do, were he to write a compiler that mapped directly to really boring C, would it be more or less C than this? I don't feel like those questions are useful. We need experiments like this, and for me personally, cello was a revelation when it was posted here years ago. There are no rules that say you can't do it.

I know he's doing a little hackiness by placing the size before the start of the object, but they also take that approach here (https://www.piumarta.com/software/cola/objmodel2.pdf) so maybe it's not that uncommon. How would you do the dual pointer setup? Is there any overhead from that, or is it small enough to not worry about?
> I am not so up to date with frontend dev but what's with the hate towards React these days?

HN is rarely the place to read constructive comments about JavaScript and frontend development.

Personally I've been developing web apps for 10 years (with technologies such as Spring, ASP.NET, CakePHP, Symfony, Django, jQuery, Backbone.js, Angular 1) and I quite enjoy React. I think it makes my job easier and I feel productive with it.

Also, TypeScript is awesome.
Thanks for the suggestion about the "Don't care" option. I had the initial plan for used laptops or laptop market place, but I am single developers working on this at night or weekend. I guess it will take a few time as I have other features in the pipeline.

Thanks for your encourage.
it's called the 1st amendment. the payoff would be we get actual freedom while wienies like you wring their hands about it.
> Small towns like Gander Newfoundland saw their populations double in a matter of hours as transatlantic flights landed on their tiny airport.

This is dramatized in a delightful musical, Come From Away.
Maybe a comet impact? Use your apocalyptic imagination to find the scenario most likely to you?
Amazon does logistics, Netflix does their own content and Google mainly do advertising and is surely not a slick search engine. Neither are slick.

Uber on the other hand is an app together with some driver administration. The main operation of the taxis are on the drivers.
I don't think the common usage of the term really refers to the particulars of the technology involved.
Yap, I won't be dependent on Amazon. This feature is on the way. I hope in couple of weeks I can deploy these multiple vendor options.

Thanks.
What network are you running where you're giving each virtual machine a /24? That's insane.

10/8 should go very far if you do it correctly, hence why it's in use in almost all internal networks.
Could not set up auto-charging, had to visit the billing portal once a month and manually initiate a Paypal or credit card transaction. Probably okay if you’re a company, not so convenient for an individual with a side project (at least I prefer set and forget).

That was two years ago though, maybe it has improved.
>I'm convinced that if they'd have won that case they'd have squashed Google, Apple wouldn't have had its chance to thrive

I am not convinced that would happen and even if that would happen, I am not convinced it would be a bad thing.

Google spying on people and selling their data is worse from my point of view than anything MS did. Also, Apple has a far greater lock down on their products than MS ever dreamed of.
The complaint is they shouldn't take a stance or at least one that is a little less firm.

The permissions thing, we can all agree if it's a new movie that just came out, ok, yes, don't be spreading that.

What if instead it's an academic journal article from 1930 in a publication that ceased operating in say 1940? You also don't have permission for this and it's still also under copyright.

The strict interpretation would be "not that one either" while there's also some who say "it's ok, there's nobody to even ask, let historians do research".

So some prefer to be grey about it like many are with obscenity and pornography. We don't for example, hide renaissance paintings with exposed beasts away from the public in basements for fear of getting shutdown by the police.

There's a spirit of the law as well.
Those two commands are not just "zero config and two commands", think about the entire stack you're pulling down behind the scenes. Sure, it's easy when you want to render "hello world" but there is so much context and abstraction happening here, that is hidden. Then we haven't even started thinking about HOCs, SSR and lifecycle hooks, none of them addressed by your terminal snippet.
No, this is ridiculous. Being located in Germany/Japan doesn't make me suddenly able to understand German/Japanese. I can walk into a shop in Berlin and point at things until they conclude the transaction - there is nothing in German law that means I have to conduct the transaction in German. (Though because most Berliners' English is excellent, usually the entire transaction is in English).

If a retail store physically located in Germany can cope with my ignorance of the local language without ever meeting me before, then Google, with it's vast knowledge of me - and my specific choice of language preference - should be able to do the same.

In other words - there's absolutely no good reason why I can't use either the Google or Apple stores in the country I live in but using any language I choose.

Also - switching region to one that speaks a language I understand usually means I then can't select a delivery address in the region that I live in. It's like they refuse to sell things to people who don't understand the official language of the country.
If this is your sense of humor, can I recommend an inkredible anime called Squid Girl ika?
Considering what happened to AF447, "solved" is perhaps not 100% accurate.
On that I agree, I do wish there was a better cross-platform application UI platform. But it doesn’t exist, so as such beggars can’t be choosers.
i included your explanation in the wiki http://www.sizecoding.org/wiki/General_Coding_Tricks#Obtaini...
Jeez, calm down. "Citation needed" generates no more obligation than the original unsupported opinion did. Would you blow up the same way about "I disagree"?

The fact is, most opinions about what language somebody else ought to write their next library in are worth about what they cost to post.

Another is that, trendiness notwithstanding, Rust right now is best suited for a library few people will need. That may change in five or ten years. It might well not.
I think lifecycle methods in general, no matter what the framework is, are a suboptimal way of doing things. React works quite differently and shoehorning it into a lifecycle thing was holding it back, or at least that's how I feel. YMMV.

At least it looks like we agree that React is a decent framework :-)

That said, for us devs who do both native and JS code, the condescending part is quite hilarious as well ;-)
At least in France, the liberalisation of our healthcare system from 2005 to today came with a huge drop in efficiency and increase in price (subsidized ofc, as it is still universal healthcare, but still)[0][1]. Act tarification and the bureaucratic ocntrol of the hospital mean that more time is needed for service chiefs to do paperwork instead of... curing people, and the huge increas in private care use is an indicator of the public health service.
Also as more and more acts were driven off universal healthcare to private insurance (that your employer have to get for you if you don't have one, but that is paid on your salary) was in fact an increase in cost for everyone. Public healthcare administration cost in France is 18% of their budget [2]. Care to guess what private insurance company administration cost is? 27% for swisslife (i don't know if this account for privatised profits or not sadly).

Also nurses and other low-level health workers have low pay compared to the rest of the first world as their salaries did not increase as much as other wokers.

[0] https://www.who.int/whr/2000/en/whr00_en.pdf

[1] https://www.commonwealthfund.org/chart/2017/health-care-syst...

[2] (doing the math myself i found 13% but i think that's because they are also paying the retirement pensions)
Case in point. Music notation is a good example. There's Sibelius, which is the most widely known software for transcribing music. And it's been on top for a long time. But since everybody in the music community dislikes its UX, many people will jump it straight over and go to the second google result.
And what would be the benefit? Financially I mean. What's the return on investment? And how does it apply to the thousands of square miles of farmland?
Not everyone has the same image or experience of school. I see School as a day care for children to allow parents to work during the day, with some inefficient learning on the side. It's very convenient, but not the only option.

Personally I learned nothing (edit: not much) in school, was bullied, it was an awful experience and all I remember is watching the clock all day waiting for it to pass while daydreaming. Elementary school was like one year to learn to make additions, one year multiplication, for how many hours in school? To finally get a lot of children struggling to read in 6th grade. Middle school was more or less the same for me. I feel like I was the subject of an ideology too.
Hmmm... I did give in :) Google locked my account and I was like "okay.jpg", no google for me anymore. Uneventful story, not even enough for a blog post.
That is coming in the "Advanced Search" feature which is under development. But good to see that you mentioned it. You made me more confident about the feature. Thanks.
This page really is a goldmine. In the spirit of not being afraid to ask stupid questions, I don't understand a couple of them - anyone care to explain?

> When you die you take absolutely nothing with you except your reputation.

Is this saying that your reputation dies with you? I don't get this, surely people will remember how you acted when you were alive. I'm probably taking it too literally.

> Don’t ever respond to a solicitation or a proposal on the phone. The urgency is a disguise.

A disguise for what? I'm not sure I get what they mean by this. I'm guessing the author is advising that you don't let yourself be rushed into agreeing to something over the phone, think about it and take your time, don't be pressured
Thanks for your answer, but that doesn't really cut it for me. For example, if complex numbers are so "natural" at modeling rotations, why don't they show up e.g. in Maxwell's equations ?
I read parent’s “only” not as if to say “it’s not as good quality because it could only manage to be on Spotify” but rather that it’s inaccessible to anyone not using Spotify ie it’s exclusively on that platform.
>If you try to use Firefox tons of recaptchas would be triggered for the crime of not using Chrome and even clicking on second or third page on Google search results will trigger anti-bot response. YouTube will start acting funny, too.

I'm using Firefox with some pretty paranoid privacy settings and I actually didn't have all that many problems with recaptcha recently. I agree that it was pretty bad for a while though.
I didn't think about weight, but let's see in the future. Thanks.
I mean, it’s a hotel, not your house. Is it really your space that you’re handing over?
It doesn't take much imagination to see that in a deep component hierarchy, drilling down states as props is a maintainability nightmare.
IIRC there are / have been attempts to create unified interfaces, since a lot of the services offer APIs as well, but in practice those unified interfaces will never offer all the functionality and information available - you just can't keep up or manage all of it.
Aren't we revisiting https://prism-break.org/en/all/
I very much agree. It just feels weird to complain about a problem that's been solved a year and a half ago.
I agree. System configuration is a good example of something that's not naturally imperative - hence the success of NixOS and other declarative configuration tools. ("Success" in the sense that they work really well. I realise they haven't taken over the world.)
Why can’t hotels just do this themselves?
All other feeds at https://crooked.com/podcast-series/wind-of-change/

Including plain old RSS: https://feeds.megaphone.fm/wind-of-change-wide
My biggest struggle is to sound like native due to lack of daily practice with native speakers. There is not enough resources on this one while there are plenty of resources for beginners / intermediate levels. In my native language, I can comfortably phrase one sentence in multiple ways, make it sound casual or less casual, while in English, I think I don't know enough about making myself sound casual.
Here you go: https://feeds.megaphone.fm/wind-of-change-wide
You are right. The title should have (2009) appended.
I remember Google+ had a way to configure how frequent you would be shown other's posts, that was a really nice feature.
Innovative Teaching Techniques for the Covid-19 World
Don't worry, I'm not espousing lifecycles as a panacea or solution for the modern programmer, I just wanted to share that experience with lifecycle methods meant that I was less tripped up by the pitfalls of react lifecycles.

Less so than I've been tripped up by react hooks certainly so it's been a surprise that many here are describing them as being much easier and simpler than classes.

Classes had limits and some pitfalls but it's been frustrating that lifecycle methods have been retired and deprecated because sometimes they felt like the natural place to do something.
Germany: Migration experts propose cash-for-visas for Africans
What's a good place for front-end dev discussions, especially the type which are more on the meta-level?
Lincoln EV project with Rivian canceled due to coronavirus
This isn't about impersonation but your copyright over your own likeness that can't be used without consent. Take a game like FIFA or Madden, they have to negotiate with the players (or their unions) in order to create realistic digital counterparts (including the names) and arguably better games often find themselves unable to compete because of this.

> anyone watching these videos can see that it is NOT Jay Z in the video.

I'm not that familiar with JayZ and it's more than enough that I would have been convinced and not given it a second thought. It's not obviously parody and the only tip off it was even fake was "(speech synthesis)" in the title.
Server-Side Rendering Is a Thiel Truth
This is HN.

Give it a few days and someone will build a service doing just that.
A whole lot of people use it at work and witnessed valid criticisms. It’s not like we’re going to have the knives out when React/Angular is new.

Give it a little time, see a few codebases, extend and build a few apps, then come back. Now people have some credible stuff to say. We can’t comment much about how great Hooks are after reading a few Medium posts. I’ll see in a few months when it’s all over the codebase.

HN will be full of ‘we rebuilt our api in GraphQl and boy things are a mess’ in 2 years.
> I still feel some sentences are direct translations of the way I would say something in Hebrew, and that a native speaker would have said it differently. I’m also aware of my grammar not being perfect. Knowing which preposition to use is sometimes challenging.

Just learn how to do that properly, and maybe learn why certain things are spoken/written the way they are (the history behind English is quite fascinating). Google exact match is a godsend for this :D

> The only option I could think of is living in an English speaking country, but that currently not an option.

That may actually turn out to be a major disappointment. Native English speakers don't care about how they speak (or even write). Aside from your accent, which may never improve, you will likely be better than half of the country you'll be living in :D

On the accent: You can sound native, but always a bit off to anyone paying attention. Physiological differences due to growing up with another language in the very early years. Perhaps constant everyday training and speaking only English can help.
When I was wandering around SE Asia I mostly got English, but that was probably because Google hadn't translated things to Khmer/Malay/etc.
The way I see it, they try to separate the "pure" from the "imperative" world but the imperative world is like trying to write a completely different language.

Then they try to "make it easy" through some constructs like 'do' and >>= but it still feels like controlling an airplane using an Atari joystick.

In language and API design it seems it's very easy to shoot yourself in the foot and create problems that wouldn't exist in the first place had a more sensible approach been taken (which I agree it is hard sometimes).
I love React. In fact I recently gave plain vanilla JavaScript a go and it was so painful that I was glad to get back to React's way of organising a large application.

I don't use Redux or server side rendering - they're not needed.

The only thing that I think it should do differently is leave styles to be handled natively.
Etymology, learning about the roots and origins of words gives a language so much more depth and meaning.
> It is such a big deal that AMD had to fork tensorflow and try to make their own version it in order to make it "partially" run over HIP.

That's because HIP requires changes to the program source code, but AMD has managed to upstream those patches to other projects. If they haven't done that for Tensorflow, that's kind of their problem.

Clang can compile CUDA code, and it has an AMDGpu backend. AMD could compile that CUDA code to SPIRV if they wanted. Intel and PGI do compile CUDA to x86-64 using LLVM without problems.
I found that living with a native English speaker in the same house does teach you a lot of intricacies of the language - pronunciation and grammar. However, it's a deep territory of diminishing returns. In Europe, everyone's English is kind of bad (a lot of people are fluent, of course, but almost never above the level you want to reach), so there are not many people to appreciate your fluency. I found it to be more enriching to learn a new language instead, that gives massive appreciation of the languages you already know.
Have you tried reading a lot of English text written by fluent native speakers? I find that this is a great way to learn idiomatic usage that you can then emulate. (Disclaimer: I’m a native speaker, but this is how I’ve improved my language skills. Also I’ve started writing more.)
The "isn't C" argument is more about the library as a whole, not specifically about the fat pointer suggestions. (Please look at the github repo, IMHO it's obvious.)

Placing a length "before" a pointer is perfectly fine on a _technical_ level. It's also how glibc's malloc works, it has its own data before any allocation it returns. However, hackiness is not the question here - it's whether it's the "best" approach. I simply believe, based on my own experiences, that twin pointers cover/win out in a much larger subset of applicable scenarios.

As for how to implement it - declare a struct with 2 pointers in it. Or just pass 2 pointers around.
> So people started just passing state as props everywhere, but oh no that's an anti-pattern

It's not an anti-pattern because of some abstract aesthetics, it's a pragmatic management nightmare in practice.

> So now people are using redux, mobx, or the context API to do essentially the exact same thing.

Not to do the same thing, but to improve management of it.

> Three new tools were developed by dozens of engineers to basically re-invent "global state." It's ludicrous.

Why is it ludicrous that engineering effort goes into solving pragmatic problems with how things that have always been possible are done?
What do you search? When I search "string dart" the first link is to api.dart.dev.

PS uh, rather the whole page is related to dart.
> Don’t say anything about someone in email you would not be comfortable saying to them directly, because eventually they will read it.

Absolutely - I've learned this the hard way and it's giving me new appreciation for phone calls.

It's amazing how many people do _not_ remember that an email chain of several hundred pages _will_ contain something incriminating or embassaring if forwarded to someone outside the original circle of recipients.
The do-notation is one of the best features of Haskell.
I think it was contributed by Google.
Practice. Reading will always help you (with any language), and watching movies and tv will train your ear. If a totally immersive experience is not an option, I do not think there is much more you can do. It is normal that a foreign language does not feel like your mother tongue, you will probably keep improving but there will always be some difference.

If your goal is to improve your writing too, I cannot recommend enough "The elements of style" by Strunk and White.
I don't know anything about podcasts and this specific podcast, but here's a general (and shocking) observation:

Here in 2020 lots and lots of people still have trouble reading.

Not as in being illiterate, but as in "I'd rather watch a 20-minute Youtube video explaining a technical topic that could be explained on half a sheet of A4, because reading is just too exhausting for me".
Would it be possible to have a single method on a class that behaves like whatever useEffect is doing?
> You haven't earned extra attention by not participating as a peer, you've earned less.

That's an interesting interpretation. I guess it depends on the social milieu. In mine, people are attentive to what Silent Bobs say. Very often it's an interesting piece of information because it tends to be different from the usual chatter.
>> but once IPFS VMs start paying for themselves

How does that work in real life?
Difference is in game you're not actually responsible for a very expensive piece of hardware.
Will give that a try, thanks!
> Also, this is a huge red flag to me:

Puke! Who would ever want to create that kind of macro abomination.
If you'll tolerate nitpicking (EDIT: I don't consider any of this worth pointing out other than nitpicking):

Rather than "would sometimes" as "will sometimes".

I'd rephrase "current thought" to "thoughts" or "train of thought".

I'd rephrase "I’m also aware of my grammar not being perfect." as "I'm also aware that my grammar is not perfect."

"but that currently [is] not an option" (presumably a typo).