skysight-inc/HackerNews huggingface dataset:
> Keeping up to date with Angular, React, Vue, Riot, Ember, Knockout is fun.

Since the author himself raised the issue of _JavaScript_ frameworks...

Imagine you did not learn frameworks. You completely ignored what's going on the the JavaScript world. You stuck to the basics. JavaScript the good parts, design patterns, clean architecture... Object-oriented software, for good measure.

Then suppose you get a job that requires you to write React.

I know that React itself is very simple (although I think it did take me a couple of days to learn the basics of it), but not having studied it, how would you know what your options are? How would you know which way of writing React will be less painful, or what questions you need to ask yourself regarding the architecture of your app? Without keeping track of what's going on in the community, how will you make informed decisions.

Besides, the evergreen books that the author mentions mostly come from the same school of thought — it's object-oriented programming. Will they prepare you for thinking in React? Remember, seasoned programmers, no doubt accustomed to the best practices of their times, denounced React for its lack of "separation of concerns", i.e. for how it mixed layout, logic, and perhaps even styles. It took a while to realise that thinking in terms of components may have its merits, and may even be superior that thinking in terms of technologies (markup/styles/logic). This is one of the paradigmatic shifts that was brought about by React, a humble framework.
Thanks.. I agree... This is a tool that needs to exist which is why I was amazed and really really frustrated that it didn't.

It's almost shocking really...

But the community has given an amazing amount of productive feedback. Making great progress here!
Another thing that's risky about this approach is, depending on your jurisdiction, recording an individual (audio or video in some cases) without their consent is a felony.
Easiest way to not get an offer is to be an ass in the soft skills interview.
‘Mommy, Are We Famous?’: On the Rise of Kid Influencers on Instagram
Alexa's shopping list definitely has room for improvement if it wants to be more natural. If I want to add bread and peanut butter to my shopping list, I need to say "Alexa, add peanut butter to my shopping list <pause> Alexa, add bread to my shopping list". If I say "Alexa, add bread and peanut butter to my shopping list", it adds a single item called "bread and peanut butter"
Hey, thanks for the detailed response. My original post was calling out your original point: "Solar cells can't charge EVs fast enough on Earth". It seems you now agree with me:

"It would take 75 solar panels to charge a single Tesla in a day."

So indeed, you can charge EVs with solar panels, you just need more. 75x250W panels can charge a 75kWh model S in one day, on average (equals 135000km/year). Such panels are available at consumer prices of $1/watt including charge controller, so ~$20,000 would buy me the panels I need to fully charge my car daily (4 times as much as I need).

Max theoretical efficiency on Mars is roughly 1/15th of Earth norm, not taking into account Martian weather, and assuming you are always somehow directly facing the sun the entire Martian day.

These variables (martian weather, facing the sun) are similar to the issues faced on earth with solar panels. And the solutions are the same on mars as on earth: increase panels (aka overprovide) and include power storage, or include an alternate power generation system. Ideally both. Where the weather can have longer impacts (eg dust storms), an alternative power gen system (i.e. nuclear) is likely better from a launch mass point of view, but that isn't clear without doing the detailed math on it. That's before even getting into details on how different a vehicle on another planetary body would be (eg the lunar rovers had an 8.5kWh batteries and lasted multiple days - lack of atmosphere and lower speeds and mass make a car much more efficient)

Take weather and the day-night cycle into account, and it takes about a Martian year to charge one Tesla.

(or half a year if you double the panels, or a day if you have 365x the number of panels, or....)

A single search on Boring Co shows at least a dozen articles about their misrepresentative claims

If by "misrepresentative claims" you mean missed deadlines and abandoned ideas - I'd agree with that. Tunnel opening delayed, further extension of test tunnel dropped in favour of full network at undefined future date. But that's par for the course with everything SpaceX has done (eg Falcon Heavy delayed 6 years, Dragon Crew delayed years, BFR changing plans every time it's talked about), and shouldn't be even a bit of a surprise for anyone who follows Musk. As a member of the public who couldn't invest in SpaceX or the Boring Co even if I want to, those things really don't affect me in any way - the goals remain the same, and the progress remains ...progressive.

I assume the Google personalization filter is effecting both of our search results.

Agreed.
You're right that you can't perform swaps with a Python function, but it's never pass-by-value like Java primitive types. It feels like pass-by-value because int, long, float, complex, and string are basically immutable.
Show HN: SciFi Logic Puzzle Mystery
Higher education in the US is driven by a lust for glory
> POSIX for example is still with us

Amen to that.

I bought a house, married, had kids, visited four continents and never had to worry about money just because at some point I decided "hmm, guess I'll learn really well how Linux works".

I see all new languages, frameworks, methodologies and fads woosh past on their way from explosive hype to early retirement. And I still make my money out of knowing what those few syscalls actually do.
> 1) How is "gradual typing" any worse than (at worst case) dynamic typing? And even more so "a nightmare"?

Type declarations that are sometimes wrong can be misleading enough that I find code with them harder to work on than code with no types at all, personally.

> 2) What's the big pain ("all the pain") in static strong typing?

It's not a huge pain, but adding and maintaining types does have a cost (particularly when tooling support is limited).

> 3) How is catching 95% of type issues "very little of the gain" of catching 100% of them?

Because you can't trust the types to be correct in any given piece of code. You end up having to do all the things you would have to do in an untyped languge (high test coverage, carefully rechecking all the types when debugging issues, etc.).
The far-left has been getting more extreme over the last few years, probably largely due to "trump derangement syndrome".

I care very deeply about fundamental human rights such as free speech. Many people do not seem to understand what free speech is.

I also care about due process and putting people before a jury of their peers. The witch hunting needs to stop.

I'd consider myself moderate right. I used to lean to the left, but there is no way I can associate myself with what the left has become.
Thank you. It is of an excellent quality.

I would add, a modern definition of a "humanist", which includes "scientist" in its core might be a good core for a modern minimalistic identity.

And thank you again, for bringing this to my attention. I'm going to put it into my AGI research notebook ;)
This is becoming major issue now. Young homosexuals are lured to think they are transsexuals and do permanent damage to their body.
Just reverse split: less shares, same market cap = higher price. wow no more penny stock status
What's the problem with public/private fields?

Language design is hard but is there legitimate criticism besides subjective "I don't like this" ...
The Pragmatic Programmer may be soft skills and generally "common sense" advice, but it's very practical and the analogies stick with you. The two that have stuck with me are the boy scout principle (leaving an area of code cleaner than you found it) and tracer bullets (getting software in front of end users as early as possible). Both of these are simple things that everyone would agree to, but in my experience having the analogy on hand helps teams actually follow and enforce the principles more consistently.
I’m guessing the answer is to do with the fact we’re dealing with a prototype chain rather than “regular” classes, and the historical fact that everything is basically public anyway
I don't think I ever worked at a place where people would mind if an engineer is reading an engineering book. As someone who has managed software projects I know it has never bothered me.
Thanks for the comment Robin! Your blog is an interesting case study - clean, good content, different monetization strategies (from what I can tell you have at least your infoproducts + consulting + affiliate + advertising). I'll have to study it more. I also use Hugo for static site gen!
Well, my comments were specifically based on C++ and the STL. There are so many implementations that one has to define the discussion.
I think you misunderstand the problem. It's not that there are actual Nazis in the alt-right or how horrible they are. It's that people like Peterson, (gasp) Harris and Weinstein get labeled with that term.
My favorite solution like this I saw was from grading an Algorithms class.

The assignment was "turn this min-heap implementation into a max-heap implementation". The correct solution was to flip the tests correctly.

The solution I liked the best just negated all the values as they came in, and negated them again as they came out, so as long as you were inserting numeric values, everything worked out! It was a) delightful and b) totally missing the point of the assignment, so I felt bad about marking it down, but the point was to demonstrate knowledge of heaps, and the proposed solution would have worked whether the internals were a heap or not.
The author is a little disingenuous with the post's title. As stated further within the post, he didn't stop learning frameworks. He just stopped learning frameworks that he considers new and uses stuff like Spring. His rationale makes sense.

> The Lindy effect: The future life expectancy of technology is proportional to its current age. Every extra period of survival implies a longer remaining life expectancy.

I don't fully disagree with him that there's a strong chance of wasting time learning a bleeding edge framework that fades into the background after 2-4 years. Tapestry was a good example. However, where I disagree with the author is what he defines as a "new" framework. I don't feel that either React or Angular are new frameworks. Both are pretty established at this point. imo Rails and Django, as well as any framework based on express are probably pretty solid as well.

The obvious danger of waiting too long to at least experiment with new technology is the risk of being left behind and being dumbfounded when new concepts become mainstream. This leads to not getting interviews as well. Why? It's more efficient for companies to vet people on standardized industry knowledge such as a framework.

That said, Eduards Sizovs still has a point to keep in mind.
> zero attempt at disassembly

Uh one guy very much starts manipulating the dispenser and trying to take it apart.
Show HN: Bringing internet connectivity to Kenya using cell towers and balloons
Pisses off a lot of people.

Not sure why the downvotes. If you own a stock that has to resort to a reverse split that’s probably bad news for you, but invest however you want.
I wrote the "only reasons" as I see them, feel free to correct me.

Also we use scripted pipeline all the way
It doesn't take a lot of risk to offset the "value" of stealing $950 labeled-worth goods (which will net you <$250 in cash).

If you're trying to say the risk isn't worth it, sure, you're right. And the average person wouldn't do it. But plenty of criminals don't live their lives by such risk/reward calculations. Roughly 5% [0] of people in prison in the US have decided to disregard the risk/reward ratio and go ahead with relatively small scale thefts.

[0] https://www.bop.gov/about/statistics/statistics_inmate_offen...
#7 is so very wrong in so many ways.

Even languages that are pure "pass by value" cheat pass the value of a reference for objects.

Very few languages support doing a deep copy when passing an object. I'm trying to think of a single one, and I know that none of the major ones do. C will pass an entire struct, and so long as the struct doesn't have any pointers, sure...

But even in C passing a struct by value is highly discouraged, since it can spew all over registers and the stack! I've worked with coding conventions where pointers to structs are passed, and then the called function memcpy's the struct if it needs to hang on to it, or just leaves well enough alone if it only needs to pull values.
I guess my point in all this is that it's hard to mesh practicality (not having your startup fail) with ideology (not suppressing people's human right to free speech).

I'm with you on free speech, but I also don't know what I'd do if I were in Twitter/Reddit's shoes, because I don't think "do nothing and let the hatred continue" is viable (both from a business and kindness perspective), but I also don't think suppressing it is morally justified.
> indentation-as-syntax -- which I've always hated

What would you prefer? C-style syntax? Ruby-style `end end end`?
I created an interactive sci-fi mystery with 25 original puzzles that you can solve as you go along. It has a variety of puzzles (crossword, sudoku, kakuro, etc) to keep readers entertained. Some of the puzzles involve ciphers. The first puzzle is pretty easy, but they get much harder as you progress. Id love some feedback so I can improve it for my next puzzle experience.
Removed testicles seem to have horrible ghost-itch. Feel sorry for you.
That's a great way of saying "incorrect"
Some additional information to augment the info provided by the other replies. One more recent example would be the RADARSAT Constellation Mission (RCM):

http://www.asc-csa.gc.ca/eng/satellites/radarsat/default.asp

Having a constellation of satellites basically allows for 24/7 coverage of any given surface of the Earth, given the spherical nature of the Earth.

Full disclosure: I worked on RCM (linked above)
I think it makes more sense in a language where you have to write callbacks all the time. I consider it a feature in Python, because by using `def` you're forced to imbue the function with meaning by providing it a name. Otherwise, it's just reading through a potentially complicated function without any context of what it's supposed to be doing.
> It's frameworks and libraries and gluing stuff together all the way down, even into the "bare" metal (which isn't so bare anymore, and is a rich programming environment in its own right).

+ a lot. Even TensorFlow is driven by a Python API.
>I don't even know what this Mark person did, but going by comments here,

Oh man, watch the video on his YouTube. It's pure comedic gold. https://www.youtube.com/watch?v=xoxhDk-hwuo
Because this is the best way to reach people who wouldn't see it any other way?

If some subset of your friends/connections are only reachable by Facebook, they are the ones you are going to disconnect with by doing this. Makes sense to me.
Two sentence summary that glosses over a lot of things:

1. Types can be used to classify programs.

2. Dependent types can be used to classify programs by running other programs on them.

If you would like to learn more about dependent types, ‘The Little Typer’ is newly out and a lot of fun to read:

https://mitpress.mit.edu/books/little-typer
I think the key takeaway from this article is to keep the "framework" and "technology" terms substantially differentiable. For example, "React Engineer" as a job title is quite infuriating, if you ask me.
I really think we're talking past each other, and that you must have some more restrictive definition of "algorithm" than me, because I'm reading that page and it walks you through an example in excruciating detail of how given a specification for "maximum", program synthesis produces an algorithm for computing "maximum".
When I went to Antarctica and we crossed the Drake, we were feed ginger candies nonstop. It seemed to work because I never got sick.
When technology can read minds, how will we protect our privacy?
>"Utilitatian" in the sense of demonstrating value, which requires the utility of said insight to be communicated. I didn't imply any rigidity.

Such an insight can have utilitarian value to the person experiencing it (to the point of improving their life etc) -- it doesn't have to be communicated to have utilitarian value.

(Even more so it can have non-utilitarian value, e.g. they can derive enjoyment out of it).

Besides, an insight that turns into a work of art, a song, etc, a philosophical rumination, etc, is still communicated, and depending on one's stance can be said to have utilitarian value (for a base example, many a drug-inspired songs have put food on the table for their songwriter).

>I'm saying that the only way to know if your psychedelic ruminations are insightful is to communicate something of value to someone else... a feat which requires other people to see the value -- using their own capacity for insight.

Well, the value millions of people have attributed to writings from people like Terrence McKenna, Huxley, Timothy Leary and so on, is enough to cover this, no?

(We can of course argue of their "actual" value, but as concerning the "requires other people to see the value -- using their own capacity for insight", that's pretty much covered).
After 10 years of marriage, my wife thought it would be helpful for me to start cooking, as she was getting stressed out with our 2 years old.

We used Blue Apron as the starting point.

I can't tell you how much time we save in planning meals and trips to the store. My wife doesn't have nag me about what I what I want for the week's dinner. The quality of the food and the time saved is well worth the price. I know there are some disadvantages about Blue Apron such as waste, carbon food print etc...

Cooking with Blue Apron is now extremely relaxing for me as I cook and just tune into NPR or teach my son to cook. Out of 100 meals I would say that we only had maybe one that was mediocre.

I suspect Blue Apron will survive as it will probably be taken over or bought out. It's kinda the leader of the pack and the market will eventually consolidate. It also helps that I might have helped I bought about $1000 discounted gift cards at Costco.
Well yes, but it's interesting, to me anyway, that Facebook is that platform for him, the platform where he can connect with the biggest number of his audience.
> brightly coloured dye

So that the unwitting landlord can be penalised as well?
Isn't that really selection bias though? Projects with bad management simply don't make it. Those with bad algorithms make it but with lots of accrued technical debt.

Reading a soft skills book is like taking mandatory anti-corruption training at work. It is boring because its obvious, but unfortunately some people still need it.
Ah but see, his DLX program is not written using recursion! Look at his CWEB program dance.w from his website (or if you don't have cweave handy, download the program from here: https://github.com/shreevatsa/knuth-literate-programs/blob/m... and click around on the hyperlinks) — all the backtracking happens inside “main”; there are only two subroutines “cover” and “uncover”, and neither of them is recursive.

Here is what he says in the (very early) draft of fasc16a (only 2.5 pages written):

> We've already seen hundreds of examples of recursion in previous chapters. Early on, we encountered sequences of numbers that were de fined by relating each member to earlier members after getting started; these “recurrence relations” were sometimes simple formulas like […], sometimes more involved like […], and sometimes considerably more elaborate and complex. We also found that basic data structures for trees are inherently recursive, because all but the simplest trees are composed of subtrees. We discussed numerous instances where problems of sorting or searching or optimization could be solved effectively by a “divide and conquer” approach, with which a large problem is reduced to smaller problems of the same kind.

> Yet we didn't dwell on the recursive nature of those concepts. We transformed them into equivalent notions that could be dealt with directly and nonrecursively. Because “at bottom” a computer operates by means of the physical properties of electrons, which are not recursive.

> For example, in Algorithm 2.3.1T we traversed the nodes of a binary tree by using an auxiliary stack A, not by using the recursive definition of symmetric order to de fine that algorithm in terms of itself.

Don't want to quote the whole thing (though there isn't much), but from the sample I feel I'm going to learn from a new perspective (new to me, anyway).
This is another level of thinking
The US has a de facto single payer system: the patient pays it all!
All that weighting is for external exposure though, surfing will include much more involuntary ingestion than other activities. Even if you somehow managed to never dip your head, there would still be heavy breathing right inside the spray.

On the other hand, the water is not tied to a place, it must be a billion times diluted by now. The walk from the car could be the most harmful part of surfing there.
[Citation Needed] 'Explicit' means something. I'd love to see the reference where the DA explicitly says they do not give a shit about property crimes.
a) A broken reference C compiler don't dictate how a different C compiler might act -- in reference to the case which Intel lost.

b) since Google's browser became the defacto standard browser thanks to Edge switching engines, hence the thread. The standard doesn't really matter anymore; Google makes most of them now as a matter of course anyway.
https://www.texastribune.org/2018/12/17/Bahia-Amawi-pflugerv...

https://www.independent.co.uk/news/world/americas/us-politic...

https://www.haaretz.com/us-news/texas-speech-pathologist-fir...

https://www.thedailybeast.com/texas-elementary-school-speech...

https://www.timesofisrael.com/kentucky-bars-state-contractor...

https://unitedwithisrael.org/kentucky-becomes-26th-us-state-...

https://www.jewishvirtuallibrary.org/anti-bds-legislation

Will these do?
Having lived in a "3rd world" country, I know the police there is useless, but it's interesting how things like resource issues (not enough manpower) is slowly turning living standards of rich countries like the US and UK towards "3rd world" levels.
On pass by reference.. I really miss Fortran's intent(in). You get a reference to the data but it is immutable... I would like if Python had something similar...
You could argue that HN is similar, where the highest comments are often the most contrarian. Which isn't to say they're not always valid, but I think it's important to be aware of this pattern.