skysight-inc/HackerNews huggingface dataset:
Hey, APL programmers preferred goto (→ or "Branch") until well into the 1980s. They've never really had a good grip on large-scale program structure. It's also worth noting that early J development was very invested in the tacit or point-free programming style, so a solid explicit style was perhaps considered less important than current usage would suggest.

I consider ALGOL-derived control structures to still be the most readable way to organize control flow. Tacit constructs like Agenda @. and Power ^: are good in small amounts but tend to require too much jumping around to read in larger programs. But control structures have their own problems, like a lack of flexibility for flows that don't quite match, scoping confusion (in for loops particularly), and the complicated continue/break/return hierarchy. I was recently surprised to find that first class functions and list literals in my own array language are enough to get a close approximation of control structures without these particular issues, and documented how it works at https://mlochbaum.github.io/BQN/doc/control.html .

Tail recursion isn't generally difficult to implement when it can be recognized, so if J hasn't added it (I don't know whether this is the case) it's probably just due to lack of interest in that style. J has a cool way to recurse in a tacit setting with $:, but I think recursion is seen more as a way to handle things like tree traversals that are obviously recursive than as a general control flow technique. J might also be able to move to lexical scoping, but it would mean that a variable defined in one function now shadows globals in the functions it contains, which could break some code. Maybe not a lot of code, because J's current explicit syntax strongly discourages nesting.
Thank you for the kind words!

> I personally see code on the backend as the source of truth

That is a perfectly valid approach, although when you need to coordinate development between multiple teams starting with a specification can be really helpful. That doesn't mean that the spec has to be written once and frozen, as long as everyone is aware of the changes and adapts accordingly.

> Might be worth putting a comparison on your page?

I have indeed started the development when I found that connexion does not completely meet my requirements. The main difference is that pyotr supports ASGI, so can work with any ASGI framework (I haven't tried it with Mangum yet, but am planning to). Additionally, pyotr has a client component, which was inspired by Bravado.
Thank you. I looked him up.. and found that the movie 3 Idiots was loosely based on his first novel! I love that movie so much, and it got me into the wonderful world of 21st C Indian cinema.

3 Idiots (2009) and PK (2014) are my favourites. The best of the other recent Indian movies I've seen:

Barfi! (2012), Mardaani (2014), Lagaan (2001), Rocket Singh (2009), Dangal (2016), Dabba (2013), Black (2005), Rang de Basanti (2006), Taare Zameen Par (2007), Dhobi Ghat (2010), Secret Superstar (2017), My Name Is Khan (2010)
JavaScript Challenges Week 2: Voice Recognition
Voice controlled software is massive. In 2020, there will be an estimated 4.2 billion digital voice assistants being used in devices around the world.

Modern browsers now come with a speech recognition API. This weeks challenge is to make a basic web app that responds to the voice command "I solved the challenge".
You can add cards with answerable fields, but after many thousands of reviews I think that simple front-back cards where you answer in your head are the most effective. The extra work to type out an answer is not worth the hassle at all.
Looks like sensor noise that cameras have in blackness
These devices could be sold with access to an encrypted back up service so you can have you local data and search it and it's encrypted locally before being sent to an off-site back up. But then you get into those businesses going under, people not maintaining thier accounts, companies who do not actually encrypt because users really want cloud access at the end of the day, etc.

When I think of something that we should be able to do but can't ("I just want a button to do X" type requirements) it is usually apparent why that doesn't exist if I give it some thought.
It is copyright infringement (via the argument that ytdl facilitates and encourages others to commit the infringement), which happens to bypass ads.

The rights holders have effectively said "you can watch this for free as long as we get the ad revenue". Theoretically, if there was some way of preserving that ad revenue while committing that infringement, I would assume they wouldn't care about the infringement. They're just using the infringement as a tool to preserve the ad revenue.

What you're worried about is the converse, if there is a way to avoid infringing on copywrite while bypassing ads (which there is, ad-blocking), then there's no infringement to use as a tool, then they're going to want to make ad-blocking illegal. It's not hard to predict that's coming, especially in Europe given Article 13 last year.
Do you mean the fainter stars that fill the background?
Hmm, yes, thanks. I know it as basically crystallographic lore from long ago, as in email sigs, but the only source I could find now is http://www.some.ox.ac.uk/wp-content/uploads/2015/08/Dorothy-...
I now find another familiar name from the past quoting the "modestly" version which I should use in future: https://sites.google.com/site/oxfordawisehome/elspeth-garman
Making dubious legal arguments and demands is what the sovereign citizens do and that's the same thing as what the RIAA is doing here. We shouldn't legitimize their techniques because it's couched in a pseudo-legal framing, but we should engage in action-for-action.
The alternative is that we remove most zoning and let the free market decide. We can even allow covenant-based zoning, but if your neighbors don't want to join and sell to a developer, tough luck.
This is a logical fallacy. If you increase the dosage of mercury, it'll eventually be deadly. In the same vein, smart phones, social media, etc are entirely different beasts to books, radio and even television.
I'm not a lawyer but please don't let this assholes successfully threaten you!

At the opposite I think that you should counteract and ask them to stop using the trademark Ivy even as unregistered as their product would abuse of your 'product name's that is well known.

If you look at it, they registered the trademark just a few days ago:
https://trademarks.ipo.gov.uk/ipo-tmcase/page/History/1/UK00...

On your side, there is even the history of pypi release history showing that you used this name for multiple years.

If I was you, I would also fill a complaint to the trademark office to have their trademark registration cancelled on similar grounds that they tried to register a name that was already existing and in active usage for a long time before.

Special note to add that really they have no shame of themselves to try to steal for them a common word and first name!
Honest question: what stops any unix to achieve the same thing through a similar interface?
Yup with external libs. JSON.parse is builtin. We do the renderin in browser so why bother with protobuf.
Considering the amount of time my relatives and parents spend on Facebook and increasingly Instagram, I don't know who's raising concerns here. It's likely the really old elders (70+ folks who don't know their way around a mobile app).

There's a huge segment of the Indian youth population (around 30% iirc) that's underemployed or unemployed, that spends a lot of time on Facebook and Instagram. There's a reason India has the highest consumption among all countries in Facebook and Insta, yet one of the lowest ad revenue rates - advertisers simply don't find value advertising to these fellows.
Technically the unsafe escape hatches exist in those languages, but I think the point is that they are needed less. In Rust you need unsafe to implement some types of graphs, for example, which in GC languages are easy to do without any unsafety.

It's a tradeoff, of course: GC languages let you avoid unsafe code at the cost of doing GCs, which in some applications is an issue. Rust's stroke of genius is that it can avoid GCs while giving you almost all the safety of a GC language.

Overall I think it's safe (no pun intended) to say that Rust is significantly safer than C or C++, but slightly less safe than Java or C#. But of course both of those comparisons have lots of caveats and exceptions. And there are other factors than safety as well.
I like Poweramp Pro. It can be a little bit confusing at first but it's very flexible and seems to be easy on the battery.
This post reminds me of a younger me. The experience I got working hours like this at jobs like this was not as good as I thought. It was shallow and rushed, every cuttable corner was cut. And ultimately, it wasn’t worth it. You may not care about money now, but you will in 5 years when your friends are buying houses and your $5m ticket never got punched.

Just my advice feel free to ignore. I probably would have!
List of presidents of the United States with facial hair
Ok, I believe it is a joke, but I find really weird to see the government, a collective social construction, as the source of all evil.
I’ll take on faith you don’t mean it negatively, but then what does it even mean to protect ourselves from the Bezos of the world?

He offers you a role and terms: you take it, you don’t, or you counter. That process converges on you working there or not.

I don’t worship at the altar of Bezos (though I have overall respect for him and his accomplishments), but I don’t see anything beyond my ability to say no that’s needed to protect myself.
> It is a very good idea that you read a book about mnemonics

Do you have any particular books in mind? Thanks!
Where is it, then?

What I think you mean is that politicians have spoken and the market saw the open coffers and took advantage of that.

If I go to the market and ask for 240TWh of stable energy each year (Danish electricity consumption), without any carbon-based sources as backup, which technology will provide that the cheapest?

Oddly enough, electricity is 50% more expensive in windmill-rich Denmark, than nuclear and hydro-powered Sweden. One wonders what the market is trying to tell us Danes...
Yes but it is just AI and ads... You cannot expect help from that.
>Your house burns down, now what?

Nothing stops you from having redundancy in printed media. In fact, I have that photo reproduced in another album of my relatives.

>That's because digital storage didn't exist then...

What can you realistically do to keep the digital photo through 120 years or more? Imagine you stored it on the most durable media you have, M-Disc perhaps, or whatever they advertise today. Let's assume it even survived 120 years with its data intact. Are you sure your descendants will have the means to read that M-Disc in the year 2140? How about the file system on it? JPEG or DNG format? With a printed photo, you don't have to be sure.

Online storage is much more complex and thus inherently volatile. You depend on other people and on the assumption that business and legal frameworks will remain the same throughout the archival period.

Digital tech heavily depends on an unbroken chain of content transfer, which is a pretty big assumption for archival-grade storage, considering that companies, encodings and formats come and go, and there are also things like censorship and AI "enhancement" to worry about. (and who knows what else it will be many years into future) Digital media is not static by nature. Admittedly, any media depends on content refreshing, but the traditional media has much longer life between transfers - for an extreme example we still can read Sumerian clay tablets.

>Now it's easier and cheaper to store media than ever before

Storage cost was never a problem. The problem is the separation of the archival-worthy content from the info noise. Now, when the noise is multiplied, selecting is much harder than before. For my case, I only have a few photos worthy of putting into a 120-year photo album for my descendants, because I'm just an ordinary person.
I am no Google apologist, but I don’t see anything wrong with this. It’s an increasingly common thing from many companies in response to GDPR and CCPA.

The theory (which isn’t backed by case law yet) is that if a user signs up for an account of some kind, a much wider set of tracking data is lawful to collect under the sections of these laws that provide for “necessary” data collection for the operation of the service.

Lots of data capture is argued to be required for managing the user session and measuring product usage, both of which are much harder to justify if the user is anonymous.

Many companies are moving account sign up as a required step earlier in all funnel or free tier user experiences as a result.
In-universe, there's a conversation between a couple of the focused near the end of chapter 15. One of them speculated that it was a fast square wave generator.
Marcus Aurelius: The Stoic Ideal (Lecture by Dr. Michael Sugrue)
> Yeah if you get realistic about it, courts in the USA simply see things in the way of the party with the most money all the time.

This might or might not be true, but even if it’s true it’s not (necessarily) a sign of bias or corruption on the part of the legal system, it might simply show bias (or rather strategic foresight) in what they bring to court.

In the spirt of Von Clausewitz’s On War, it is always easier to attack than to defend, because the defender has to maintain a solid performance throughout every inch of their line, while the attacker need only find a weakness and exploit it.

RIAA might’ve decided months or years ago that as part of their legal strategy they needed to curtail downloading an intact local copy of streamed content, since then they might’ve been seeking the perfect violation that, in the opinion of their lawyers, would show clear enough intent to break copyright law, be a core node in the ‘ecology’ of the downloading-streams strategic landscape, and have a hope of creating suitably broad and useful precedents to employ later. Maybe this case finally caught their eye. Maybe they’d been eying it for a while and only just recently something changed and opened the barn doors for attack (in the RIAA lawyers’ opinion — for example, was the example added to the test cases recently?)

A good question is: why didn’t they do this earlier? Another good question question is: could they do it to anybody else, and if they could, why haven’t they?

So you see it as the judges typically ruling in favour of the corporations. I see it as perhaps the corporations being very savvy in choosing what to attack and being willing to wait for ages for the perfect circumstances.
> shift to services revenue (news, music, card, etc) was a surprisingly smooth & fast success

After having purchased most every iPhone release since launch, with the prior model gifted to family, this year we switched to iPhone-as-a-Service subscription on the Apple Card.

Post shift, Apple moves me out of making a $1300 buying evaluation decision to simply ‘staying current’ for forty bucks a month for the flagship model.

This was available for a while, took a while to break through my sense I should “own” my device each year instead of subscribe to it, but the mental stress of buying new and reselling old, inevitably ending up with some in a drawer (iPhone 6s anyone?) ... the subscription is hassle free for me, recurring revenue for Tim, and shockingly well priced given the convenience.

Imagine what their numbers would look like to Wall Street if he could turn most of their hardware buyers into subscribers...
No, you cannot reestablish HEP. HEP was extremely attractive to the theoretical inclined physicist because it contained a lot of unexplained data. There is no unexplained data now, HEP currenty lives on on the momentum it has. If you reduce this momentum to zero it will be gone (it will also be gone in 20 years if nothing is found)
Also Czech and we did not even touch economic and financial literacy. As if it was considered completely outside scope of schooling.
Man, sorry for that it seems that you got into a toxic startup culture. My startup was a bit like this 10 months ago, the other founders were all about making sacrifices and working 999h per week. However, nothing was working out properly.

I've made some drastic change to our culture to be more empathic, transparent and based on trust. Since then its way more enjoyable for everyone and we are way more productive. Salary for our employee are still under market, but we increase them whenever we have the chance and the financing. We aim to get to 10% above market value so that everyone is confortable. Also we've cut the 80h per week bullshit. If someone is working that much he is most likely doing a crappy job and needs to prioritize his day properly.

Here is a series of concept/book I've implemented that drove the change:

- Objective and Key Result: the only work that matter is those explicitly tied to the objective. There is a good book on that.

- The book Drive, it helped us understand how to create a motivating environment for our employee.

- The book Traction, it gave us a set of tools to make the business run smoother.

- Effective DevOps: It gave us a blueprint on how to structure our technology developement and team interaction.

- Peopleware: This was one of the best book that we've implemented. We moved to a remote-first company based on trust, we don't track time anymore and we don't care when people work. All that matter is objective attainement and the wellbeing of our employee.

Let me known if you want to chat about this.
I think that rule would be unconstitutional here in the United States.
..create, not consume

A nice essay on this was posted to HN last year.

https://news.ycombinator.com/item?id=20781463
Yes, climate is a pressing concern, but you are aware that climate science is descriptive an not a solution at all (more climate science will not change carbon emission). More funding on ITER might though (but I wouldnt call that climate science).
On Covid-19, GraphQL and Askql
It's not that simple for me. If you can show us how to do that (suppose that your audience knows how to use your web browser developer tools, ffmpeg, curl, ...) for a few websites like youtube, udemy, nbcnews.com, ... that will be grateful.
The most surprising thing is this article is that containerd maintainers don’t provide binaries for anything but x86_64!
> > Nuclear energy is safe, causing fewer deaths and adverse health impacts
>
> There are many ways to consider this. Here is one: https://en.wikipedia.org/wiki/Chernobyl:_Consequences_of_the...

That book was heavily criticized because it did, in the eyes of critics, not adhere to limiting described effects to such ones commonly and easily attributed to radiation.

Fact is, we know surprisingly little about radiation effects. Especially, we clearly do not have a complete theory on the effects of ionizing radiation - especially on children.

See also this comment from me: https://news.ycombinator.com/item?id=24879155
> It might look an extreme example, but as a tech worker I see that younger generations have a way to using technology that is more immediate but is also more shallow

Perfectly described. And yes, this is a factor.

But though it is more shallow technically, I think it's a more profound connection socially (while lacking the life experience of the older generations).

Think of the "dangers" every parent warns their kids against. They're right in spirit but they're outdated in the technology/methods (and think they are immune to it - or maybe they never were)
> It does not say anywhere that this is open source and I can host it myself, plugged in with a storage such as AWS S3 or Wasabi or any other cloud that I can backup/store etc.

Ask yourself why would an open-source tool provide "cloud storage"? To bring more customers to the respective cloud provider? It's also not particularly altruistic in a FOSS sense to lock your photos into cloud plans.
You can also upload your music to YTM, but it’s actually almost impossible to use and (intentionally?) siloed off from the rest of the user-experience (search, playback and playlists).

So I’ve stopped using it because as a user it no longer works.
Effectively nobody (measured as a percentage of buyers) wants to repair it themselves.

Remember when TV and radio repair shops were a thing? RadioShack in the US or Tandy in Europe? Kids these days don’t...
> disproportionate

Disproportionate to the share of the population, or of the homicide rate?
And we'll adjust, as we always do. It's fine to have this discussion, but the position that it can "destroy you" and comparing it to a lethal dosage of mercury is on the extreme end of the discussion.
https://www.indiehackers.com/interview/reviewsignal-e1ddcc26...
Yeah, 40 new words / day is very manageable. I used my own word lists instead of Anki, but same concept. 1000 words is enough for basic interactions (1 month) and 3000 words is generally good enough for conversation that doesn't get into the vocabulary long tail (just 3 months!) In an immersion context + some grammar textbook, it makes language learning much faster than is generally assumed.

Most people that feel they need a language class, but those are terrible for learning vocabulary. Vocab learning is best done solo.
> JNI

It's so complicated practically no one uses it.

> P/Invoke?

Can be disabled at VM level. Environments like asp.net classic default to partial trust, this ensures vast majority of third-party libraries aren't using p/invoke nor unsafe.
For established Johnson fans, Walter Jackson Bate's 1975 biography is a must-read. Those unfamiliar should still begin with Boswell's "Life", followed by "Rasselas" and the Rambler essays.
I agree in part, but completely ignoring the management and choice aspects to whatever greatest extent that they are present is also forfeiting one of the best local responses.

I think that’s where the Starbucks and avocado toast tropes come from. They’re not 100% right, but they’re surely not 100% wrong either.

I work with engineers who are making 6-figures and struggling with money or on course for a poor retirement. For those people, it’s 97+% choices IMO.
I think it's important as well, but I'm not sure it belongs in a school.

The thing school needs to give you is the ability to learn on your own. In order to do that, you need to know the basics of reading and writing, the basics of math, and the basic theory of knowledge. That last one is sorely missing, but that's another story.

You then want a superficial survey of everything humans know. Of course it cannot be anything but superficial, there isn't time after you know how to read, write essays, and solve some differential equations. In the end you're going to focus on the same old things that everyone thinks are important: a bit world/national history/lit, a bit of the headline sciences (phys/chem/bio), and a bit of foreign language and culture.

At best you will end up mentioning the following in passing: economics, psychology, cooking, citizenship, health, the law, and so on.

But yeah someone ought to mention that there are worthwhile fields of study that you'll have to learn on your own.