skysight-inc/HackerNews huggingface dataset:
I wish more languages did something like the D feature where method syntax and function syntax are really just syntax - i.e., str.len() is equivalent to len(str), and you use the syntax that best improves readability at your call site.
Please say more. What would you bring from APL into Lisp?
How about how condescending of a programmer not knowing JS causes you to be :-)

Either way, if the number of idiosyncracies in your language is confusing to junior developers it's absolutely something worth considering.
I remember our salesmen back in 90's cobbling together some
Visual Basic or whatever it was called. So where it is now?
Unfortunately, names and addresses are out there and easy to get. You can easily find my home address because the FCC requires me to keep it up to date in order to maintain my amateur radio license.

The main effect of this is that I get ads for car insurance in morse code.
I hope you are not working on my old sins. But if you are, can I watch? :-)
Something not mentioned in list that I had never considered until a conversation last year: meaningful whitespace is biased towards sighted programmers. According to a blind acquaintance, it is much easier to keep track of opening and closing parentheses and braces. Meaningful whitespace forces blind programmers to always check the number of tabs at the beginning of each line to make sure scope hasn't changed.
Also note that the headline is wrong. He is talking about planets outside the solar system. Terraforming Mars is quick and easy compared to flying to a more habitable planet.
Actually that would be the worst reason to live on another planet.

Take your average totalitarian state. Say China. Multiply times 10.

That would be what living on another planet will be like.

It wont be some pristine unexplored planet, where you'd be let to go settle anywhere you like, explorer style.

At least not on the solar system.

It would be something like a small, tightly controlled, and highly co-dependent colony, where everyone must stick together. There will be less room, no places to just roam (except with your suit and air). Away from the food, air, generators etc, would be mostly death. Oh, and at least for the first decades the government and/or some big corporation will select who goes and who can't go.

And everybody will be monitored 24/7, first because it would be made with high tech, which can just as easily include tracking chips, smart doors, cameras, and so on, and because if anybody goes crazy/suicidal and does something stupid, they can get everybody killed easily (e.g. sabotage something)...

If you want that kind of freedom of being deviant you'd be much more likely to get it in Alaska, Antarctica, Siberia, and so on, than in another planet we're going to go anytime soon...

(Herzog's documentary "Encounters at the end of the world" alludes to that, and shows some such types https://www.youtube.com/watch?v=-0KzBHJLQ80 ).
Public utilities should not be for profit companies, especially public listed companies. They shouldn’t aim to maximize profits. If they were to instead maximize utility, they may re-invest in infrastructure more heavily and put power lines under ground. Maybe I am missing something and someone can offer a counter argument.
Those updates are also in beta, FWIW.
I really wish people would stop using that argument and link, for several reasons:

1) The first amendment has been applied to companies which hold a position which similar to that of a town center. To be fair court decisions has gone both way, but the argument in favor is that when a company operate a space which is indistinguishable from a government operated space then it should be treated equally under the law.

2) When people in the US sue companies and talk about free speech or freedom of religion they usually don't win under the First Amendment ruling but rather under anti-discrimination laws. They will talk about freedom of speech to the media, but as a practical matter will raise anti-discrimination law in court as those have a much larger scope than the first amendment. In places anti-discrimination law can do more or less anything the first amendment do, except the first amendment restrict the government and anti-discrimination restrict companies.

3) In eu both freedom of speech and freedom of religion protects against governments, companies and people. Freedom of religion is particular broad and covers political and world views, and do not require any official religion or belief. EU law impacts many international companies. EU also has it own set of anti-discrimination and in 2000 added "any discrimination based on any ground such as sex, race, colour, ethnic or social origin, genetic features, language, religion or belief, political or any other opinion, membership of a national minority, property, birth, disability, age or sexual orientation shall be prohibited".

One of those three can likely be used when people bring up freedom of speech. Just because you think someone is an asshole for holding an opinion does not mean you can discriminate against the person saying it. The technicality of the first amendment is not a license for others to restrict speech.
> As for any other reason to live on Mars aside from temporarily in the name of science—I'm not seeing it.

Why don't you see the human desire to move to new places? It's a simple matter of wanting to go. No other reason should be required to explain why humans will go live on Mars.

It's going to happen simply because people want it to happen.
It's not cruel, but it is cut-throat? Isn't cut-throat cruel? You're using a different word to say the same thing.
Jack of all trades, master of none.

The article has a silly premise - I don't know anybody who would claim it's a great programming language. For the moment, it's just the most practical in certain areas (notably data science and machine learning.)
TLDR: if you’re a new programmer, don’t take this seriously.

This person clearly doesn’t understand programming languages so well. Sorry to make this response an “ad hominem” one, I should revoke the claims. But it’s impossible if they don’t understand basic concepts of programming languages.

For example, complaining that a dictionary key must be place in quotes. It’s not that “the key needs quotes”, but that you’re using “a string” as a key. In fact in Python, you can use any immutable object as a key (tuples, for example). They clearly come from Javascript, Python works differently (and arguably better), and they’re complaining that it doesn’t work the way they’d like it to work.

Then complaining about list comprehensions as a “weirdo” thing. Clearly not understanding the functional paradigm and the beauty of expressions (see Smalltalk for the ultimate example of beauty and expressiveness).
Generally, it takes falling state and power vacuum. If you are solidly in control, you can repress people as much as you like.

When your bureaucracy does not work anymore and you cant pay the army is when it gets bad.
This reads like a list of complaints about Django. There's much, much more to python than Django!
The process of finding a mental healthcare provider is time-consuming and overwhelming, and directories like Psychology Today are just a starting point.

You have to reach out to 15-20 therapists to find an available match, and Psychology Today doesn't help you with that. We will reach out to 20+ therapists for you.

Also, we have a phone call with each therapist before we recommend them to you to ensure they're available and meet your criteria as best as possible.
I recommend watching the documentary “A Moon of Nickel and Ice” about some of the varied inhabitants of this city. Interesting interviews and great cinematography. Free for Prime members: https://www.amazon.com/Moon-Nickel-Ice-François-Jacob/dp/B07...
With nanoassemblers we could send just a tiny mass to an exoplanet, then transmit our DNA to spawn life there.

The breakthrough project is working on very lightweight probes that travel at super high speeds.
> Edge doesn't support ActiveX.

They maintain Internet Explorer 11 which has support for ActiveX...
Okay, but there are two responses inline with mine that show physics literature as easily bullshit-able.

Also, no, it's a really bad analogy, for the reasons stated.
I would agree about "magic" parts.
Businesses in power want to remain in power and will do what they think is "right" to protect their position. I'm not sure how this delayed innovation, it just made it harder to compete in the existing market.
Check out PingDoctor https://apps.apple.com/us/app/pingdoctor/id1350044974?mt=12
Erm, white space scoping is impossible without indentation

So you end up having the same obligation you call out as a complaint regardless?

I used an IDE with visible white space on to help with Pythons requirement?
Thanks, we need to fix that.
Why would the researchers bother with this? How does it help them?
99% of this issue is about the validity of calling someone either "he" or "she" when their gender identity is not the same as their biological sex. The use of such "nounself" gender identifiers[0,1] is uncommon and controversial even with the LGBT community[2].

Personally, if I know someone is sincere and wants me to use such a pronoun, I probably would, even though I'd find it odd.

So let's draw the line here: at the very least if someone wants to be called "he" or "she" that should be respected regardless of their biological sex, and agree that it gets "complicated" from there.

[0]https://nonbinary.miraheze.org/wiki/Nounself_pronouns

[1]https://anagnori.tumblr.com/post/75752291700/a-non-binary-pe...

[2]https://www.reddit.com/r/asktransgender/comments/2oj7jt/thou...
Cal Fire investigators said they spoke with two different witnesses who said they saw someone who may have started one of the fires. The other fire near Redlands was started from a garbage truck dumping its load in an emergency to put out a fire inside of its haul. Which fire are you referring to that started from SoCal Edison?
The title of the post is wrong though. He’s talking about migrating outside the solar system (i.e. to exoplanets), not just to other planets (e.g. Mars).
Enterprise involved in biggest corruption case in Latin America to be liquidated
My dog barks and snarls at my neighbors: pet advice from Beast Mode
Because the "number of platform users" is very low (say 0.2-2% for professional users). I explained that above.

>Are you going to drop support for the Mac?

Probably not, but I might begin charging 20% more for Mac versions of the software.
Still didn't get it right.

The Trump administration didn't change anything. News agencies have used footage showing the Obama administration doing what you call "child abuse" and pretending it was the Trump administration.

No one has justified child abuse. When someone commits a crime and has a child with them, the two are necessarily not going to be hanging out in a cell together -- especially when it's possible the crime is trafficking that child. That's just not how it works.
Bingo. So that leaves Safari, which apparently no longer supports Windows but once did in the past.
Yes, and there's a good chance those who do make the trip will not be "natural" humans (as hibernation, zero-g adaptations, or increased lifespan would be invaluable in sub-light interstellar trips) or even biological, so…

Let's just say people.
I don't think the course itself breaks any criteria. It was just a big loop, so any slopes or tailwind would not help the runner. "Each lap of the course featured two 4.3-kilometre (2.7-mile) out-and-back stretches... There is only 2.4 metres (7.9 feet) of incline over the entire route."

https://en.wikipedia.org/wiki/INEOS_1%3A59_Challenge
I personally find them extremely readable, and a lot clearer than for loops about the lack of side effects.
Anyone who thinks we'll ever travel to another solar system really truly fails to understand the distances involved.

The furthest humanity has ever travelled, by way of analogy, is a couple of millimeters - to the moon. The nearest star system relatively speaking is another 200 kilometers further.

And sure you can appeal to the "well you never know what humans are capable of in the future" line of thinking, but that's really just star trek fantasy - there's not the remotest chance, nada, never.

Here's a fun video that explains and will totally dismiss any idea that we'll ever get there - apart from Star Trek fantasy:

https://www.youtube.com/watch?v=dCSIXLIzhzk
Monorepo/multirepo and monolith/microservice are orthogonal concepts. When organizations don't understand that then they may end up building a distributed monolith in across multiple repos. (The "Distributed Big Ball of Mud" anti-pattern.)

Monorepo advocates are typically advocating for microservices, but within a single code base.

The way you provide access control is through code review and build system visibility.

In order to modify another group's code you require their approval on the review for that section of the code base. (Using mechanisms like github/gitlab owners files or rules within upsource.)

This still means that if one group needs to make extensive changes to another groups code, the path of least resistance may be to fork it into your own group's section of the repo.

Build tools provide another point of control. If you're using a tool like bazel, the way you link to a component in another portion of the repo is through target names. The only targets your code will have access to are those that the owners has declared as being available for external builds.
I actually dislike Python, but this list ain't it.
I personally hate virtualenv. I just install pip dependencies in a vendor directory and point PYTHONPATH to it.
If ninja school doesn't work out, you could go to MIT and get your pirate certificate: https://physicaleducationandwellness.mit.edu/about/pirate-ce...
This is a really important argument and one that I think gets far too little airtime. It’s just as applicable to efforts to live on e.g. Mars as it is to efforts to colonize the galaxy.

Living in Antarctica or in the middle of the Gobi desert or at the bottom of the ocean (independently and sustainably) are way easier than living on Mars, and that’s orders of magnitude easier than finding and reaching a viable exoplanet.

The break even point for living on an exoplanet or Mars is when Earth is the worse environment, and I don’t think even a serious Dinosaur-killer asteroid impact makes Earth less habitable to mammals than anywhere else we know about. Maybe a gamma-ray burst would but at some point if the universe wants you, it’ll get you.

Climate change is real, environmental pollution is serious, the powers that be most likely aren’t going to do enough in time, so we’re going to get a screwed-up Earth.

But it’ll still be the best place we have access to for living in.
So what? I was speaking about all PC OEMs selling Windows 10 devices, not only Microsoft.

Apple hardware is hardly relevant outside US and a couple of first tier countries.

Mobile phones are good for exactly that, phone calls, Internet and a couple of service apps, hardly for producing content.
Here's a bit better diagram: https://i.imgur.com/LZLSlI3.jpg

Of all the aicraft that took off, only one actually flew over the target. It had to be refueled seven times on outbound journey, and the last tanker itself had to be refueled three times to fly that far.
even if you can see, it's harder to copy paste. which could be a feature or a bug
To quote dumb and dumber, so you mean there's a chance?
There are a lot of tools that shred whitespace but not curly braces.
My view is that transmission and distribution of electricity are natural monopolies and therefore should be government-owned.

Generation however should be opened up to market mechanisms that find a price for power, reliability/dispatchability, and emissions.
QuickTime can do this, or at least it could before Catalina (I’ve not upgraded so can’t be sure). Just plug the iPad in and use the screen recording feature (you don’t have to actually start the recording — the preview is sufficient).
Has the same happened to Python yet? No? So bookmark this thread, and come back in here when the very same happens to Python :)
I disagree. It’s basically set-builder notation, which probably predates any programming language. It’s a concise way to express filtering.
Clarke stated that distinguished, elderly scientists claiming something is impossible are "very probably" wrong, not that it's impossible for them to be right. (Also he was more of a science fiction writer than a scientist himself, although it would probably be fair to loosely call him a scientist as well.)
Yeah, that's the failure case I was hitting. The crash was manageable, but I the blank screen was often tedious to recover from.
There are plenty of other options to buy Windows 10 devices from, including Android vendors like Samsung and Huawei.
>I suspect that Michel Mayor is right about exoplanets but we might be able to colonize the moon or Mars. I've wondered how evolution will affect humans that are born in space colonies. I would think that over a few generations it would be impossible for a space-born human to return to earth without special equipment.

Evolution on such things works on the span of tens of thousands of years, not merely "some generations".
The statement "there are two genders" is only controversial because it is said in order to suggest that trans people are invalid or not real. If you accept that there can be exceptions, like intersex and trans people, then no one would disagree.
Something I don't get is why universities don't to a better job of having professional statisticians and programmers on staff for the explicit purpose of providing support to researchers.

I guess grad students are cheaper and "good enough."
Wolf Resurgence in Washington State Tests Limits of Civility
I note with interest that modern python has type hints.

Years ago the lack of visible types was often flouted as a benefit (i.e. terser code, less boiler plate, easier for learners to understand etc).

I eagerly await the addition of optional "scope hints" of { and } ! ;-)

Sarcasm aside, now that there are type hints and python programmers need to type as much as Java/golang/c# programmers, why not just write in those languages?

Genuine question - what are the benefits of starting something new in python (assuming all things being equal - i.e. equal knowledge in java/golang/c# and no legacy reasons forcing you)? Why would anyone pick writing type-hinted python Vs a fully explicitly typed compiled language?
Do what? Epstein is dead now. Even if he wasn't, everything that could be done to him was already done. Back then Gates didn't appreciate what kind of person Epstein was, and surely regrets it now - who wouldn't? - but that can he do about it now?
" impenetrable unreadable perl-esq garbage write-once-read-never code " - I had about the same impression when I first saw it. I think ternary operator is as far as I am willing to go ;)
I'm aware. I don't intend to engage with this sort of rhetoric so much as provide an example of how easy it is to defeat.
The author isn't just talking about being hard or take a long time, as opposed to quick and easy. The scientist is suggesting that humans will never go; it seems to me that it's much too early into the history of spaceflight to make such a determination.
Interesting aspect. Kind of sad that our tooling is typically too simple to map something like this: Having cues for indentation changing would be easy, but it's a niche feature and thus probably won't be there.
It seems he just doesn't want to type quotes and is OK with breaking everything else to get that. Which is fine, but no one else supports that change request.
I will read this fully once Elon wins his Nobel prize..
Everyone does not need a printer. A creative professional like an architect, engineer, electrician, decorator, wood worker, they absolutely need it.

Mass marketed are always cheaper and most of the time better. True.

So why creative professionals need it? Because not everything they need its mass marketted. In fact, one of the best uses is joining two mass marketted things together to create a system.

3d printing is fantastic for joining the gaps that exist between what exist in the market and exactly what you need.

Imagine you are an engineer creating a flight simulator hardware machine, or a driving simulator with VR. You probably will buy the chair, but then you will have to adapt it some way to your structure of soldered beams.

You can spend like 600 euros mechanizing and soldering little metal pieces and wait something like a month for those that make it to make it. Or you could print them and spend like 25 euros and have it ready at the end of the day, look at the problems in the design, iterate.
JavaScript is full of idiosyncrasies.
humans will not migrate to or even colonize other planets or the moon until after 2100.

as launch costs come down, the probability of colonization by robots divided by the probability of colonization by humans for extended periods of time increases exponentially.

some argue as robots prepare the future colong for us, it makes us more likely we will go. perhaps. but our robots suck. it will take ages before they are good enough to prove it is 'safe' for us to colonize another planet.

we cannot even safely colonize antarctica.

fixed it for you.
Complaining about things you don't understand is pretty bad practice. The parent poster was pointing that out. Sure, the Javascript dig is unnecessary, but the language currently holds a position as the spot of first language many junior engineers employ.
What research? Can you write a blog post about this please?
Hey, please don't cross into personal attack in HN comments. It lowers discussion quality, evokes worse from others, and discredits your argument.

https://news.ycombinator.com/newsguidelines.html
Python's power comes from the fantastic array of libraries to which it provides access. Much of my Python coding involves stringing together calls to SciPy, Matplotlib, lxml, and the like. It's a super productive language so long as you don't need multithreaded performance.
You don't need to cast the generator, you can do:
next(itertools.islice(my_generator, n, n+1))

With that said...

> In theory a "sufficiently smart language" should have a feature to understand that `thing[3]` can be translated to "call `next()` 3 times

This might be a newbie trap, because next() isn't the same as indexing. What happens if I perform `thing[7]` followed by `thing[5]`? Should performing `thing[7]` put 1-6 in memory and turn the object into a generator-list hybrid?
Agree. Antarctica is incredibly more livable for humans than Mars. It's warmer, gets more sunlight, better gravity, has an acceptable atmospheric pressure, and much less radiation. There is almost certainly a lot of valuable resources we would discover under the surface if we lived there. Transporting anything to and from Antarctica is incredibly cheaper. Yet few seem to want to live there.
> Terraforming Mars is quick and easy compared to flying to a more habitable planet.

It's super hard compared to fixing Planet Earth.
After reading what the author wrote, including gems such as

> Too many other weirdo bits of magic syntax, like [list comprehensions].

I sadly have to agree with you.
You can decompose any list comprehension into it's equivalent for loop fairly easily. I don't see what is so magic about them other than the language having a special compiler level optimization for them?

g = [i for i in list if x == 3] -> g = []; for i in list: if x == 3: g.append(i);
That seems to be taking the most charitable interpretation of someone's argument. The next step is to improve their argument for them.
> Before any new tech device is used, tested or piloted in The City, the office would coordinate the review with relevant departments and would “issue a Notice to Proceed if the net result is for the common good,” according to the announcement.

This is exactly how the Amish do it. The elders evaluate new technologies and decide if the technology will help or harm the community before authorizing it.