skysight-inc/HackerNews huggingface dataset:
Do you never move code around? Especially moving things into and out of loops?

That was my experience in Python.

-> These statements need to be in this other loop.

-> Cut...paste

-> Reindent

-> Turn my brain to extreme paranoia, and double-check that I properly indented the first and last lines of the code I moved.

In braces-languages, it was just cut..paste..autoformat. If you missed a brace, you hear about it from the compiler.

Python is a great language in a lot of ways, but I caught myself making indentation mistakes twice a week. Significant indentation is, in my opinion, an error in language design.
Ummm.....

https://en.wikipedia.org/wiki/Programming_paradigm

where an appropriate programming paradigm will help with writing, checking, providing "topic" feature (string, statistics, typsetting & printed page layout, etc)

1st guess on "expression/statement" ->

typical general use imperative programming language comparisons:

https://www.ionos.com/digitalguide/websites/web-development/imperative-programming/

2nd guess "expression/statement" ->

special purpose parse generators for creating programming languages: racket, lex, yacc, bison, antlr

https://en.wikipedia.org/wiki/Comparison_of_parser_generators

3rd guess "expression/statement" ->

special purpose math/statistics:

https://www.linkedin.com/pulse/r-vs-python-matlab-octave-julia-who-winner-siva-prasad-katru

although apl, latex with math also fit under "math expressions"

4th guess "expression/statement" ->
More as a non-programming counterpoint/example:

Computational linguistics : https://www.techtarget.com/searchenterpriseai/definition/computational-linguistics-CL

https://en.wikipedia.org/wiki/Eskimo_words_for_snow

Why would a hot weather desert hermit need a word for snow?

----
a) At some point you have to re-enter the traditional banking system. People after all want to do things with their laundered money like buy yachts, cars, companies, football teams etc. And so if you are sophisticated at money laundering then crypto is largely unnecessary.

b) Traditional financial system is 1000s of times bigger than crypto so of course you will see proportionally more money laundering happening there.
I’ve often thought this was a quick work-around but wonder if it works because not enough people use it?

For example, what happens if the robocaller sends 0-9 digit tones in rapid succession? Does it let them through even though they got it wrong an average of five times before getting it right? They could even use voice to text to listen to the number requested.

I would love if my provider had this feature but it doesn’t. So I end up whitelisting my contacts and putting my iPhone into Focus mode. One of the ways of getting past Focus mode default settings is to call twice in fast succession. I’ve noticed some robocallers calling, hanging up immediately and calling right back which puts the call through.
Not only that but is the 6th grade level what it used to be?[1]

[1] https://www.amazon.com/California-Sixth-Grade-Reader-Pournel...
Let i=INT_MAX-1, N=INT_MAX.

i%N is just i, and then (i%N)+N overflows. The result is undefined. Even on systems where it is defined, the typical result would be incorrect.

It’s a bit weird that you chose int16_t for your example… it’s the kind of thing you might do if you were trying to make some point about different integer types, but you didn’t give a reason for using int16_t, so the point is lost. I can’t read your mind.
Unfortunately, whatever the laws in Switzerland, none of those are in the public domain in the US until January 1 2022. https://www.copyright.gov/music-modernization/pre1972-soundr...
A few facts this overlooks:

* Given asset prices have seen massive inflation, with housing prices rising 20% in 2021, a significant portion of the $0.7 trillion nominal increase in corporate profits can very plausibly be attributed to devaluation of the dollar, rather than an increase in profit margins

* Looking at the change in total profits of publicly listed corporations, and assuming it reflects only a rise in profit margins, completely ignores the possibility that the share of GDP constituted by spending on goods/services provided by publicly listed corporations has risen. This is extremely plausible, even likely, given lockdowns primarily affected unlisted smaller companies, and increased the dominance of large retailers which are all publicly listed.
That wouldn't explain the pattern in the South, which is basically exactly the distribution of former slave areas https://en.wikipedia.org/wiki/Black_Belt_in_the_American_Sou...

Socioeconomic status probably best explains that one, and is probably at least a component everywhere else.

In any case, the geographic visualization on that page suffers from the same problem as electoral maps, where areas with very low populations (e.g the Texas border) occupy lots of visual space. The problem is really much worse in the South due to higher populations.
Not sure I get this. SK Hynix already makes SSDs, don't they?

Either way, feels not great to lose another business to a Chinese company, even if this one will be headquartered in San Jose, CA.
Yes, muscle is heavier than fat so someone who workouts out frequently would show up as obese. The numbers could also fluctuate due to changes in percent body water. It’s far better to use percent body fat for athletic builds. There’s cheap body fat scales and hand held devices available to buy from many retailers. They aren’t accurate at measuring your percent body fat but are very precise at measuring your changes in your percent body fat.
If that single sentence was removed, would you still have a problem with the article?

I'm trying to understand how one sentence negates an entire article that says the opposite of that sentence. I can understand that sentence rubbing you the wrong way, but you do understand that regardless, the author isn't arguing for homogeneity?

We're discussing phrasing right now, and it's fine for a piece of phrasing to hit someone the wrong way or for it to get under their skin, that happens to me all the time. There's nothing wrong with getting hung up on an offhand comment or sentence that hits the wrong way. But it's important to understand that we are only talking about phrasing right now. The entire text of the article as a whole makes it abundantly clear that when the author uses the word "ambassador" they are not thinking of themselves as an anointed leader of a monolithic culture, they are using that word in a much looser sense to say, "I'm a member of this community asking for more representation from the community."

We're not really talking about the author's character or overall argument right now, because it's just not true that their argument is that they speak for all autistic people.
Ha, and Germany sells Russian gas to Poland and Ukraine.
Are you advocating that private companies have to sell and produce items they don't want to? Amazon doesn't want to sell those items and the copyright holder of Dr. Seuss doesn't want to create them. Are you saying the government should force them to sell and produce those products?
IIUC, you're saying that we can't express strong feelings without acrimony. Is that correct?

I've been impressed sometimes by examples of good diplomacy in HN threads. I've found them instructive for my own conversational skills.
I missed this earlier - as always, it’s hard to convey nuance in a HN comment, so of course there are non-technical people who are successful at building Wordpress sites. I’m not a mechanic, but I can fix things on my car, because I’m reasonably handy and can read instructions and compare diagrams and I know when I’m over my head. I think the analogy holds up for Wordpress too - there are non-technical people who can figure it out, and that’s great. But I would argue they are a small population relative to the total addressable market of people who need websites.

Put another way - what data do we have that shows that “everybody from kids to grandmas” started sites on Wordpress? And to get more specific, how many of those users either had help getting it set up, or used a template and made zero changes to it, or had a hosting provider build a site for them using a builder atop Wordpress? Because the data I’ve seen suggests that users really struggle with any customization of a Wordpress site, and I think the adoption of Wix, Squarespace, GoDaddy’s website central, etc. shows that there is a real gap there for Wordpress.
Everyone needs more Amit[1] :)

[1]: http://www-cs-students.stanford.edu/~amitp/game-programming/...
I wonder what do you read if you keep being surprised.
I always thought it was J Orlin Grabbe

I figured he learned some lessons from Digital Monetary Trust during late 1990's.

https://en.wikipedia.org/wiki/James_Orlin_Grabbe

https://www.hermetic.ch/crypto/kalliste/money1.htm

https://www.hermetic.ch/crypto/kalliste/money2.htm

https://page.math.tu-berlin.de/~kant/teaching/hess/krypto-ws...

His textbook "International financial markets" has some C++ code.

"What forbids us to tell the truth, laughingly?" — Horace, Satires, I.24.
They are "great" from the perspective that the non-tech-savvy user somehow can get into using these. This did not work for XMPP (they need to learn that they need to pick a provider and a client; then they need to deal with entering the credentials into the client; then they need to solve problems like history synchronization and access from multiple devices; and finally voice/video/filesharing over XMPP is a disaster).
This kind of comment doesn’t fly here. Judging by you account age I think you know that.

I take your point, but there are nicer and more constructive ways to put it.
If you are having engineers talk to customers daily, the value of each of those interactions is likely not very high, or the scope of the work you are doing is transactional in nature. I would be cautious to fall into the trap of thinking the only thing that matters is customer feedback, it doesn't replace product strategy and is often times not the source of innovation. So many products have been built by rumination and coming up with something new, how do you explain Apple, Google, hardware tech companies, etc that release a product once a year? Henry Ford famously said if he had listened to his customers to the fault of everything, he would have delivered to them a faster horse, not a car. Many of the best products are created by solving problems that customers didn't even know they had in new and creative ways.

I would encourage you to keep an open mind and understand that if you want to grow beyond incremental work, you will need engineers that work on longer term projects, and be able to take gambles on work where the idea didn't directly come from a customer. Sure most of them probably won't pan out, but for the few that do, they often times open up entirely new features or product lines that you or your customers didn't even know existed, and are quite rewarding for the team. Every team needs a healthy balance of different kinds of thinkers, it's not something to be angry or resentful about.
The post I was replying to was asking why some VCs are pumping so much money into crypto. I'm not characterizing all crypto supporters as libertarians, just the VCs who pretend that they're investing in it because they want decentralization and open democratized platforms that are owned by the users.
There is also https://www.bleepingcomputer.com/news/security/you-can-bypas...

Since HP do not make it easy to get iLO updates if you don't have a support contract with them. I suspect many machines are vulnerable to this.
I’ve met plenty of people across the spectrum for minor (and a few major) drug offences. None of them were rich though.
Yup. As he was explaining all the details for pretty much everything else, I'd also expect him to have him go over the emergency procedures/checklist on the video before bailing out.
You may have missed the “attacks police officer” part.
https://lobste.rs is the only one I think that would really compare
I have a question that's probably related to the Double Empathy Problem that I've never really been comfortable asking, but this seems like as good a place as any.

Anyone that's been on HN or Reddit or Twitter or Facebook or any other place on the internet where strangers interact has likely seen a situation where people are arguing about something but clearly talking right past each other. Most of the time when I care to pay attention it's clearly pride or stubbornness or rage blindness that's causing the disconnect. However, there are also times where I can't make sense of it at all, either the person is laser focused on a small detail or tracking their own issue through an unrelated conversation or any other number of confusing interactions that tend to agitate people immensely.

Embarrassingly it just occurred to me last year that there are millions of autistic folks that use the Internet, and it's entirely possible that these disconnects are just an impedance mismatch in how our minds work.

So, after all of that, I think my question is if there is any tactful way to approach the question of whether or not someone on the internet is autistic. I'm pretty sure the answer is 'no' and that we just need to remember that's a possibility and to have some grace online.
That may be perspective from outside but not I think for actual pilots. I have not finished my flight training yet but already I've had enough prep to be way way way more comfortable gliding a controllable predictable metal cocoon designed to protect me, over parachuting :O. I think for all but experienced pros, parachute is a guaranteed personal injury. Movies are way way off when it comes to ability of a random person to safely parachute even in most controlled situation.
Do you mean one of these? https://i.imgur.com/SM60upY.jpeg
> People are hostile when I say there isn't such a thing as a learning disability but rather only teaching disabilities

There is such a thing as dyslexia, and that cannot be fixed by teaching better. You can still form sentences, apply grammar and tell stories without writing, but the reading+writing part is a major problem for some people. Your story of beating the challenges of your bad early education can't and won't apply to all others who struggle.

Having said that, I do believe that some lazy teachers like to mark failing students as disabled more often than necessary because that way the student's failings aren't a result of the teachers' lacking abilities, but rather an inherent flaw in the students themselves that they have no control over. The general knowledge of the existence of learning disabilities has helped many kids get the resources they need, but has also to them being used by the lazy or incompetent to completely write off children that couldn't keep up.

This, combined with the utter disconnect between the way many words are spelled and pronounced in English, is a recipe for disaster that will likely continue to ripple through the education system for years.
There's a simple explanation for both. Freefall is more dramatic and you want to be low enough that you get some good shots of the plane crashing into terrain for your video. Both help increase view count.

Landing in a bush and climbing out from bramble is also more dramatic.
The first sentence in the Wikipedia article cites a link (citation #1) to https://nces.ed.gov/pubs2019/2019179.pdf "Report on Adult Literacy in the United States" published in July 2019. This is a two-page PDF that describes the survey, literacy levels, and has links to additional references.

The second Wikipedia citation is to a Forbes article.
Ask HN: Any messaging app that is both e2e encrypted and support backup/export?
I recently switched to a new phone, and realized that all my messaging apps either:

- saves all messages unencrypted on the provider's servers: it makes it easy to restore on a new device, but the provider has full access to your messages (eg Telegram, Facebook)

- has e2e encryption, but somehow makes data migration too complicated or almost impossible (eg Signal, Whatsapp)

Does anyone know of a messaging app that does both well? If not, any reason it can't exist? (eg data is stored encrypted on the cloud, but you can use your private key to decrypt and restore on any new device)
Rudeness may "win" the right to represent a side but does little to convince the "opposition".
I've been reading consistently for the past 5 years. Mostly, just an hour before bed. It makes me proud when I look at the stack of books on my shelves. The greatest issue is that I don't consistently find books that I love. I also often pick up a book that I thought I'd love, but it becomes a slog and skip reading sessions.

I wrote daily for about 6 months. It's very relaxing to write. It dropped off my regular schedule back in February due to life. I started a blog a few months ago, but I haven't advertised it. I've only added a few posts. I don't think anything I write is high quality that I would want someone else to read it. Publishing it still forces me to think about writing differently than when it's just a text file, just in case someone stumbles across it.

I like the idea of the no-complain challenge. I need to buy a bracelet.

I do a pride journal, which is similar to a gratitude journal. I just write a note every time I accomplish something that I'm proud of, even if it's silly. Whenever I fill up a page, I review what I've done and write a star next to the things that I'm most proud of.
I definitely get what you mean. I was always able to do math to a satisfactory level but it didn’t come quite as easily until I learned how to think about it properly.

Only my calculus teacher in college’s methods really clicked with me and then I magically got it.
What "source" is this? I found https://nces.ed.gov/Pubs2007/2007480_3.pdf, which is considerably more clear as it lists the three statements as entirely separate list items:

> Any statement such as the following:

> To enable people to better serve and sell to the Hispanic community

> To improve marketing strategies to the Hispanic community

> To enable people to establish contacts to serve the Hispanic community

I truly disbelieve you can claim in good faith that that is "equally clear" as:

> Acceptable answers include statement such as:

> To enable people to better serve and sell to the Hispanic community; to improve marketing strategies to the Hispanic community; and to enable people to establish contacts to serve the Hispanic community.

I think interpreting the semi-colon'd sentence as a single "statement", especially given the ambiguity introduced by their grammatical error, is entirely reasonable. I was genuinely unsure as to the correct interpretation. Who's to say that the correct edit is adding an `s` to the end of `statement` versus adding an `a ` to its beginning?
>>"But if it was me in that plane and I saw a 10% risk of serious bodily harm / death in trying to land and a 0.1% risk in jumping, it would be tempting to jump."

Of course. Point is, risk does not actually turn that way. Parachuting into rocks is not exactly safe and easy either! Vast majority of pilots are much more trained to safely land than to safely parachute. Movies give us this idea that you pull a cord and land feather like. That is empathically not the case. Especially for an untrained person, parachuting on safe ground will break your limbs virtually guaranteed.

Small airplanes have very low stall speed. If you fly into the wind you can have your land / crash speed very low and very controlled, you are trained to find best possible spot, and are buckled inside metal chassis.

I genuinely believe most licensed pilots would stay inside the damn plane :)
Okay, how do you expect to get the women to join?
That only works because of the “web2” aspects of the current NFT implementation. The actual content is simply hosted on a traditional web2 service. Once the data moves to a distributed store, it becomes a much more intractable problem that depends on a lot of traditional “centralized” parties. Random network participants will become liable in lawsuits for storing/replicating blocks of data, which will lead to all sorts of compliance issues, which will result in what we have today: centralized services operated by experts on behalf of the lay customer.

So, either nothing changes, or something changes. You can’t have it both ways.
No, that's not what I'm trying to say. I think it's hard to assume good intentions sometimes.
For me, it’s multiple machines. 2 iPhones, 3 iPads, 3 laptops, a couple of raspberries, and a couple of work machines. I tried to do it with a synced KeePass DB, but getting it to synch properly was nightmarish.
> acceptable methodology

Does this exist? At least a methodology that doesn't mean I need to study the subject area deeply?
No need to sweat. Just carry a skydiving parachute.
kinda funny that the vast majority of these links are now dead or squatted
Folks - it is not the schools - it is the kids and the situations they are raised in.

The schools are nearly identical everywhere. Even crap schools, if you put those teachers in an upper middle class setting, they would shine.

And the most talented teachers in the nation, put into one of those violent inner city schools - would not magically make the the kids pass math.

The kids grow up with single/no parents or one/both parents in jail, no stable job or income, total lack of support at home - or worse, parents that actively call them 'stupid' or tell them they're worthless, zero educated role models, by age 8 idolizing street tough guys, by age 11 wanting to join them, by grade 10 hardly ever showing up, 5 years behind, could care less, getting into fights, peers mocking them if they do well, haven't been out of the neighbourhood in a decade, no serious extra curricular activities etc..

The 2018 OECD/PISA scoring really highlights a lot of these issues.

I was driving through Detroit one night 'for fun' with my work mates to give them a taste of 'some parts of America' - it was 12:45am and on the street corner at the gas station was a child, on his bike, just sitting there waiting for something.

Think of much you can surmise from just that one little thing: a 7 year old, up at 1 am, out in the neighbourhood, hanging out on a Tuesday night. There is no way that story is good, and there are probably 100 things that are bad. Just from that one glimpse you can probably estimate that kid might not be likely to finish school.

Most schools and teachers are good, esp. the one's that have the tenacity to teach in the inner city.

We need decent jobs, stable families, boring nonviolent neighbourhoods, kids who can be free to be 'into' school stuff and the chess club, basic healthcare - i.e. your normal, middle-class semi-aspirational upbringing. If we can do that, grades will go way up to the normal middle class level.
When I studied economics in college, statistics was taught as a math course with virtually no straightforward explanation of the main concepts. Later as a graduate student in sociology, I helped teach statistics to undergraduates using an introductory textbook that featured an intuitive and conceptual presentation of statistics, and for the first time I really grasped the main ideas. By then it was no longer necessary to manually perform the advanced mathematical operations for statistical analysis, because the students were encouraged to use SPSS and other software tools. If you are looking for an outstanding introduction to statistics, I highly recommend the following textbook:

Healey, Joseph (2014) Statistics: A Tool for Social Research, 10th Edition

For those seeking a good conceptual knowledge of statistics based on real-world examples, including criticism of the limitations of statistical analysis, I would suggest these excellent studies:

Lewis, Michael (2010) The Big Short: Inside the Doomsday Machine

Paulos, John Allen (1988) Innumeracy: Mathematical Illiteracy and Its Consequences

Silver, Nate (2012) The Signal and the Noise: Why So Many Predictions Fail, but Some Don't

Taleb, Nassim Nicholas (2005/10) Fooled by Randomness, 2E; Black Swan: Impact of the Highly Improbable, 2E