skysight-inc/HackerNews huggingface dataset:
The way Go handled errors is why I made the decision to go with rust as my hobby/personal-open-source-projects language. It was just extremely tedious, despite Go being nice overall.

I love how error handling is done in Rust. Yes, implementing the From<T> trait can get verbose, but wrapper libraries like Failure or Snafu exist now as well.

Being able to propagate errors down the line seamlessly with the ? operator and Result<T, E> type is nothing short of phenomenal. It looks like the next version of Rust will seamlessly allow using ? on None types as well.
For anyone who has used Pop OS how does it compare to Mint?
I can see this being used to perform print debugging or elisp-style function advice.

https://www.gnu.org/software/emacs/manual/html_node/elisp/Ad...
Yeah it’s gaming the system. Like children saying I was Born on a Pirate Ship while holding their tongue.

Or Miss Mary had a Steamboat. You know exactly what you’re doing and you ain’t foolin anyone.
My biggest annoyance with Apple's documentation was depreciation. I'd find an API that did what I wanted, but it had a note saying that it was deprecated. That's it. No reasoning for it, no indication of what replaced it, nothing.

And if you searched for tutorials/examples on Apple's developer site, there was a lot of stuff that was written for like 10.5 days. And if those deprecated APIs told me anything, it was that they were probably not gonna work as-is.
Thank you! Indeed, SINE is another EMACS in Lisp that predates Gosmacs.
See also: array programming [0] (apparently 1970s APL, on which J is based, didn't even have explicit for/while loops).

Nowadays even common imperative languages have higher-order functions, so I don't find it very exciting. Though still quite handy in R and similar languages where you deal with array-like structures almost all the time.

[0] https://en.wikipedia.org/wiki/Array_programming
iOS developers are pretty lucky if that's the biggest problem they have with the official documentation.

Story time: I started my career in programming with Android development in the years 2012-2014.

And it was quite painful.

In 2012, I thought that iOS and Android were going to be the two only huge mobile platforms, and here I was right. I randomly chose Android because that was the smartphone I had at that point.

I thought it was going to be cool. And here I was mistaken.

After some months, it became obvious that it was going to be hard. The coolness effect disappeared quickly. I struggled a lot to write good Android code. No matter how much I RTFMed, it seems that I was only able to copy/paste things on a trial and error basis. Building the simplest feature (login/subscription screen) took a looong time. The iOS colleagues generally seems significantly faster than us (although they have their own rabbit holes). I never (even now) understood how to make things look nice. But worse than that it was never reliable.

The code I produced was hard to write, hard to understand, harder to maintain, with traps everywhere. I went to Android conferences and the Android team asked us: are you writing tests? I didn't dare to answer "not really" but that was the truth. I RTFMed once more how to write tests on Android, but it never made sense to me.

To give you some context, it was a number of years ago, I was a junior developer and my colleagues were quite young as well. Things would be very different if you start now and have the luck to have a good Android mentor to guide you.

But what I had was the official Android documentation.

And now that I am more experienced, I can see clerly that it was horribly written.

Even today, it continues to mislead every new generation of developers in a dark path.

The worst part is the so-called "Android Burrito Design Pattern" where you just put everything - your business logic, your application lifecycle, your views, you bindings, your threading, ... - in one big fat BurritoActivity or BurritoFragment that wraps everything. Make the beginner mistake to believe that the documentation writers know what they are doing, and use those samples as a blueprint for how you should build things, and you are going to find yourself in a very dark path indeed.

I wrote about it here

https://dev.to/jmfayard/android-s-billion-dollar-mistake-327...
Ask HN: Steps to Building a Private Tech Company with No IPO or Acquisition?
Did I say "necessarily"? Or are you concluding that I'm an idiot because you over-interpreted an anecdotal observation to be a statement of absolute necessity? Get over yourself

When speaking of societal trends it literally doesn't matter what I think. Common interpretations, be they misconceptions or perversions of an academic philosophy, are what actually matter.
I understand what your point is, I am saying that only amazon currently does that with its streaming service.
Do you ever use profanity? When do you use it, about which topics?
> 2xl

Wow, those are pretty expensive; I'd assumed it would be a medium or large instance!

Hmm, not sure which series of 2xlarge instance you mean, but even with the cheapest that supports Elastic Graphics, doesn't that mean that a user on the Unlimited plan could cost you over $300/month, while you charge them $60/month?

Maybe I'm calculating something wrongly here?

Also, on the Intermediate plan it says "App Sessions Capped At 6 Hours" - what exactly does that mean though? Does it mean I can use it at most 6 hours in a day, or does it mean I get cut off every 6 hours but can immediately reconnect if I want to?
If is it just resources how do the poor from certain cultures manage to do well on the standardised tests while other cultures with upper middle class incomes underperform? The problem is a lot more complex than just money.
Profane and sacred language is a curious thing.
I recommend trying APL or K instead.

APL has weird symbols, so forces you to abandon any previous notions.

K is super minimalistic so easy to keep in mind.

But J is both huge and very different but uses e.g. brackets as individual characters (not in pairs) and other things that break your visual pattern matching. So it’s a lot more effort, IMO

After you have grokked it, if you like it - then, by all means do look at J. It is in many ways a purified APL albeit with ascii only characters, and a few decisions that look good on paper but less so in practice (like forks and trains)

I don’t write APL or K or J myself, but my C code (and some of my Python) is dramatically changed as a result of working with K in the past — it is dramatically simpler and faster, although less idiomatic for those languages.
Liquid Types vs. Floyd-Hoare Logic
Maybe. It’s not really comparable to such a specific studio like Pixar though. There’s plenty of talk before that talent likes Netflix. And not just because of the money being given out either. The culture of financiers is going to matter in some capacity. No other company is doing or has done what Netflix is doing either. Netflix is spending the most alongside Disney. But Netflix was already branching off with their original content years ago when their budget was at least not as enormous as it is now. Like all their foreign language originals.

Pixar is amazing. But it isn’t without warts either. The Cars franchise and releasing two movies in one year with The Good Dinosaur bombing as a result.
Exactly - it is hard to quantify how beneficial to humanity that a patent/invention/discovery is. No clear metric beyond fiscal alas.

May well find that some of the best inventions are the ones we take for granted and in their time - made nothing. Tinned food, being one of the greatest ever as a way to preserve food (Nicolas Appert). Then their is the tin opener.

I suppose one way to quantify it would be sit down to work out what inventions you used in a week and with that, not all inventions are used by everybody, but some common ones we take for granted are, and in a way that we glibly just dismiss or overlook them.
An interesting trigonometric iterated map
Wren: A small, fast, class-based concurrent scripting language
Godzilla 2 – ROI Des Monstres – Film Complet En Streaming VF
Metrics are really meant as a social tool for humans.

This is such an odd statement. I think the article makes a good case that in this context, metrics serve as something like the opposite of a tool - a trap, something a person or group uses that takes them something other than where they intended. Now approximation, generally, is something like a tool but it can be used well or badly.

Now, a bureaucrat or someone who want to "just get stuff done" may use a metric to get people moving without caring exactly where. But that's still with a human context, not an AI. In an AI context, a metric can run a plane into the ground or more or less anything.

IE, it's only some of the contexts (racist AI) where metrics have a social content.

The point about corner cases is reasonable but it's easy to by analogy that human correction can't keep with the problems metric yield for complex spaces; just consider how a ten dimensional cube has 2^10 literal corners and AI more or less operate in spaces with many more dimensions (of course not all "corner cases" are literal corners but there's a similar problem of intersecting "areas of concern" or whatever one would want to call them).
See aspect oriented programming and cross-cutting concerns.
Glad to see more innovation in plastic recycling. Reminds me of this interview about making medical devices from recycled plastic in Gaza[0]:

“Let’s talk about how your medical devices are printed on the ground in Gaza. 3D printers use plastic to create objects. Where do you get the plastic?

It’s recycled ABS plastic. Gaza actually has a 100 percent recycle rate because no plastic is allowed in.

Really?

Yeah, almost everybody’s plumbing in Gaza is made out of recycled plastic. It’s really quite wild. For the printers, we use recycled ABS and we mix in as much virgin plastic as we can get because you always need some virgin plastic — there’s no such thing as 100 percent recycled plastic — but sometimes it’s not very much.

Where do you get the ABS from? I’m imagining a bunch of plastic bottles.

You’re halfway there. Plastic bottles are made out of a material called PET. We don’t use PET; we use ABS, which is the plastic that’s in Lego pieces. It’s also in chairs and tables, picnic tables, shit like that. What happens is: you take those plastic parts, you grind them down, you wash them and dry them. Then you melt them and extrude them into spools of “filament,” which is what 3D printers use to make things...“

Article goes on to explain some of the machinery people are using.

[0] from https://logicmag.io/bodies/tarek-loubani-on-3d-printing-in-g...
There is some demand for it; resorts with a house reef will sometimes hire someone to maintain it. You would need training; not a marine biology degree, but at-least a month of on the job experience. Also should be comfortable mixing concrete in 40 humid degree heat.
I agree with the spirit of this comment: good typesetting is a delight, and TeX is the best tool I've seen for achieving it. We are lucky that its author made the result of his researches freely available, and that a community has kept it alive. I'll just point out that simply using LaTeX does not automatically guarantee great typesetting (you have to know what you want) though it does provide a baseline of decent paragraphs at least. Nit: TeX/LaTeX do not inherently avoid rivers (though see https://tex.stackexchange.com/q/29049/48 and https://tex.stackexchange.com/q/4507/48), and the body font in this PDF is not Garamond but Linux Libertine.

The typesetting of this book seems due to Andres Raba (sarabander on GitHub), and the LaTeX is generated by a script from texinfo format: https://github.com/sarabander/sicp-pdf/tree/5b3a5b2/src
How did you go from "I'm worried" to "should be legally prohibited"?
This is because all of these factors are heavily g loaded.

I do agree with your last sentence.
I work at a big box home improvement store (Lowe's). We throw away more plastic in a day at work then I go through at home in probably a year. Fridges are some of the worst offenders (except GE which uses mostly cardboard). As much as I try and reduce my plastic consumption and pick up the trash people throw out on my street, it doesn't matter one bit. I find that it's much more important to get these companies to change than any number of individuals.
The programming language itself is irrelevant. After you have learned the concepts sicp introduces you can learn any language much faster.
Consul allows transparent failover to be built in easily. So it can prefer your AZ-local service, but if that becomes unavailable, it can fail over to the next-nearest service, be it in a different AZ or an entirely different region. The direct lookup you describe would not be able to handle failover in an intelligent way. Consul can also provide DNS automatically for your services, route based on network tomography, and the latest versions can provide automatic mTLS between services, and descriptive network security rules. Not to mention providing a handy place to store config state and send events.

Beyond that, ELBs have a significant cost if you are running multiple for each internal service you might have, and the API is slow and cumbersome compared to dealing with Consul's service-centric API. From an operations POV, Consul's ACL system is also a lot more flexible than what AWS IAM can provide. So you can be sure your services are limited in what they can claim to be and what gets set up on their behalf. Whereas if you want to automate creation and configuration of ELBs, you are going to have to either grant more access than you really want or you'll have to abstract that behind another service that you have to write.

As for AZ outages... in practice, a cross-AZ system is often just as vulnerable to problems from the outage of a particular AZ, especially if any autoscaling is involved. AWS's tools around this are severely lacking, despite what they tell us about resiliency best practices. But it all depends on the architecture and mostly the data layer.
Correlation is not causation.

My best understanding is that inflammation is a two street: It both promotes health problems and is, itself, caused by health issues.

Until we have a clearer handle on this dynamic, we are kind of stuck in our current "Jim, don't leave him in the hands of twentieth century medicine!" morass.
>We’re building an OS for the software developer, maker, and computer science professional who uses their computer as a tool to discover and create.

Then have a simpler website... This website doesn't look like it's trying to appeal to a computer scientist.
(defn parse-image-links [pages]
(-> (map #(js/Promise. (parse-page %)) pages)
(js/Promise.all)
(.then #(->> % (map :Images) (apply concat) (map parse-image-url) set save-links))
(.catch js/console.error)))

And you have gone full circle, bact to writing Javascript but with parentheses.
Wanted to chime in and say Pop!_OS is the leader when it comes to HiDPI on Linux I believe.

Especially if you have 4K monitors or a 3K/4K mix where the monitors need a different DPI set.

PopOS uses a system to manage the scaling very well. https://support.system76.com/articles/hidpi-multi-monitor/

The closest comparison I've seen elsewhere is fractional scaling in Gnome 3.32+: https://wiki.gnome.org/Initiatives/FracionalScaling

If you have a configuration / workflow for HiDPI on Linux, it'd be nice to see if there were other options / any other things out there.
Makes me recall “BytesJack” from the old 10kb build competition: http://heliom.github.io/bytesjack/
What the heck is going on with freeCodeCamp's servers?
What you and the GP are saying is completely in line with the lack of experience in the system needed to teach high aptitude students. Some blame the problem partly on No Child Left Behind, which said everyone needs to pass, but said nothing about those who are well beyond passing. But I think it started way before that. I went through a lot of the educational options, that were later discovered to not work so well. Many are listed here: https://en.wikipedia.org/wiki/Gifted_education I was tested in 1st grade and the school system said I should go to 2nd, but my mother didn't allow it. That was a mistake. Same thing happened in 8th grade. This time, the school system wouldn't let me progress. I have recently learned this was bad for both me and society, unfortunately.

Likely you and many others here and elsewhere as well, including children of those reading this, which is why I write it. If you have a gifted child, promote them! Learn about their needs and get them the educational resources they and society deserve.

The problems you both mention are the result of forcing gifted students to follow a mass education system. Evidence shows that such students should be in an IEP (Individualized Education Program). Many times, the gifted students also have problems with anxiety, depression, social isolation which makes them what's called "Twice Exceptional" students. Such students are written off, like you were, because teachers can't comprehend why such a bright student would struggle.

Such students are also misdiagnosed with ADHD, aspergers, anti-socialism, etc. A poignant distinction between giftedness and aspergers I just read recently is that the aspergers student is a social outcast and has no idea. The gifted student is a social outcast and feels terrible about it.

I think it's a huge injustice. The minds and capabilities of our brightest are a gift to our society and we are letting the treasures waste away.

I've been struggling a lot lately with a lot of issues and re-discovering the problems gifted people have in society has helped me put it back into perspective. What I and you and probably lots others are experiencing aren't the result of something being "wrong" with you, but rather perhaps too much of a good thing can be a bad thing?

For more info:

http://www.sengifted.org

https://www.sengifted.org/post/can-you-hear-the-flowers-sing...

http://www.stephanietolan.com/gifted_ex-child.htm

http://www.metagifted.org/topics/gifted/adultGiftedness/

http://www.hoagiesgifted.org/gifted_adults.htm

http://www.giftedservices.com.au/adults.html
My future programming language implements this and GO for better debugging, but the downside is the debugger is named “cotton eyed joe”.
For me the hard part was getting the pitch and remembering the modifiers (repeat/sharp/flat) from the beginning of the line. The rhythm was always trivial.

Mileage does vary....
Your example is only calling Javascript directly. I think the OP meant that Clojurescript has not adapted to promises/async with its own (improved) version. You simply have core.async which predates ES6 and so does not take advantage of the new async/yield features of ES6. It's about implementation and I agree with him that Clojurescript does not seem to be interested in adapting to the current JS standard.
Say what you will about PHP, I maintain that its language-documentation ruined me for most other languages' attempts at the same.
Manufacturers are motivated to make products that can't be repaired so that a) customers will buy more frequently and b) the manufacturer does not have to stock and supply repair parts. The latter is particularly onerous as the lifetime of the product increases. Only long-lived expensive capital goods have parts supplied for 20 or 40 years, and for some of these special custom order from third parties is the solution.
I agree, the only time I write a loop out is when I need to break out of it
New cryptomining malware uses WAV audio files to conceal its tracks
The article can be summarized in a single sentence: if you your spidey sense tells you something is wrong, figure out what it is and fix it.

It's a good point albeit expressed obscurely. It took me two reads to get it, which seems about average judging from some of the other comments here.
I am a mature and experienced driver and I drove FWD and AWD cars all of my life. On several occasions i stopped myself from buying a powerful RWD sports car .... just because of all the cases where (even experienced) drivers spin out and crash while taking "high speed" turns in poor traction conditions. I know that ill most likely push my car and not being able to control it - freaks me out! I cant even imagine giving someone else to drive a 700HP monster (with me not being in full control)!!!

The next car this (and other) shops build (if they survive the law suit) will come with a stack of "release of liability" documents for the buyer to sign. I 1000% guarantee that.

Its stupid on their part that they sold the car to him without release from any potential liability if he crashes the car or injures himself and others, like in this case.
Your comment is a straw man argument and as such is disingenuous.
There is a third way. We're working on it.
No I am not. My system, in my own private home, is entirely legal.
They don’t need to inquire why when the vast majority of students fall into the former category.
"Overhead, without any fuss, the stars were going out"

I once knew a baptist preacher who was a serious student of theology and moral philosophy. He liked to discuss the distinction between theology and law, particularly when framing behaviour as the imperative expression of faith, and not faith as the expression itself. Needless to say, the parishioners loathed him and he was hounded out for exposing their constant hypocrisy. Also possibly for declaiming in classical Greek on a Sunday morning; he was truly a latter-day Socrates.

My wife and I recently re-watched that unfortunately truncated classic, HBO/BBC/Rai's Rome, and were once again thoroughly entertained by the multitude of colourful epithets. Sadly, exclaiming "by Juno's cunt!" during a contentious meeting of the audit sub-committee or weekly retro would require more explanation than I'd care to give in context. And yet, a devout Christian should have no problem with this, at least on a theological level, since no scripture is violated.
Try choosing to not be yourself or like the things you like or do the things you do.

We're not so free.

I've always worked off a model of "constrained will". We have will, it is just subject to a large number of constraints with a few degrees of freedom.
When reading music, I have an odd tendency to get off by one on the note duration. Anyone else here have that problem?

What I mean by that is that I read and play a note, and then look ahead to the next note. I then tend to use the duration given for the second note as how long to let the prior note continue before playing the second note.
> Looping - performing a computation repeatedly - is what programs do. In most computer languages, all loops are expressed by one of two statements:

> Do While - repeat a code block until a condition is met

> For - repeat a code block, with a loop index indicating how many times the block has been repeated.

> Programmers trained on scalar languages have spent many years internalizing the Do-While and For paradigms. Discarding these paradigms is the biggest re-think they need to make when they learn J.

A lot of languages have these kinds of semantics and arguably in a more streamlined / better organised way - Haskell typeclasses for example. I don't know if it's true that 'most languages' only support for/while loops, but probably not. It also doesn't take 'many years' to internalise for/while loops, these are fairly basic constructs which are learned by most novices in the beginning of an introductory programming course.

> (x + y) is an expression rather than a statement. The J programmer can embed (x + y) in a larger expression, perhaps a matrix multiplication (w +/ . * (x + y)) which adds the equivalent of three more nested loops, but is still a single expression. Expressions can be combined; statements cannot.

(x + y) is going to be an expression in almost any language...

> Many modern languages have iterators, which slightly streamline the For loop, but without addressing its fundamental deficiencies.

What are the 'fundamental deficiencies'?

This seems like a pretty low-effort write-up.