skysight-inc/HackerNews huggingface dataset:
If the majority of students in a school were black, the writer describes the school as diverse. If the majority of students were white, the writer described the school as not diverse. I would assume if one race makes up the majority of a school's population, it indicates a school lacks diversity. It's interesting the writer doesn't choose to see it that way.

As a white person who went to NYC schools where white people were the minority, the issue was never so much race as it was the economic differences. I think white middle class people (like this writer), have a very removed perception of minorities and the poor. They may feel pity and want to help, but they do so in the safety of their middle class position. They do not judge the poor as they would a person in their same economic position, but rather give them the brand of the oppressed and fail to acknowledge them as equals (though they believe wanting diversity is good enough). As a kid going to one of these schools--you are equals. Whatever violence, conservatism, and ignorance that pervades these communities will now be part of your life. And yes, while it's a faux pas to criticize the poor for being any of those things, going to those schools made me a part of that life as anyone born into it. I could be beat up like anyone else for wearing the wrong color shirt, yelled at for believing being gay was anything less than a sin against god (or that Jews were anything but less than human). I could watch my teachers relegated to tears as kids would take turns calling him a "fagot". I would learn to fight like everyone else to keep my bus pass, and stay away from the kids with knives in their bags.

Brooklyn isn't as bad as it used to be, but if your kid is in a classroom where the teacher spends half the time dealing with the kids acting out their behavioral issues--their education will be stunted. If the writer feels it's worth the risk for cultural integration, than that's his prerogative, but he shouldn't judge parents for wanting what's best for their children (and no going to a poor school isn't what's best for your kid--maybe it's better for society--but not your kid).
remember the gang of four book? such books happen when the language is incapable of expressing ideas concisely. complexity gets pushed to libraries which you have to understand anyway. i'd rather have syntax for the visitor pattern or whatever else is there.
Study: https://www.pnas.org/content/early/2019/07/09/1904975116
I actually work on a JS project that needed to heavily rely on macros to reduce build file size (the project is from before ES6 and rollup.js). I ended up going to MetaScript [1] as all of its syntax was based on comments. So all the other tooling and code highlighting worked without issue.

[1] https://github.com/dcodeIO/MetaScript
This is the worst, most opinionated, garbage article I've ever read. I feel like I'm reading the article from the Simpsons, 'Old Man Yells at Cloud'.

In reference to 'Braid':
'She also admires a story told between the games levels, which exhibits prose on the level of a wordy fortune cookie.'

Anyone who needs to stoop to the level of insulting something to convince me it's not legitimate is not presenting their argument in an intelligent or unbiased manner. You wanted people to read this? I'm not even sure how it's relevant, but I can't get past how awfully written it is.
DoNotPay's new service auto-cancels free trials
Use Serverless Framework and AWS VPC to Protect Your Chatbot Resources
I for one predict that the new operator will appear very sparingly, in while loops and code golf competitions.

There are already so many complicated semantics about mutability, iteration, bytes/strings, scoping, et al. And yet somehow a tiny piece of syntax that finally lets us stop writing "while true/break" is the big pain point?
To clarify for the GP: HIBP sends the first handful of characters of the password hash to the server, not the password itself or even the full hash. The server then returns all of the hashes matching that prefix, and the remainder of the comparison is done client side.
You think that's bad? Check out:

a = 17
print("a=", a)
print("a=" + str(a))
print("a=%s" % a)
print("a={}".format(a))
print(f"a={a}")
# python 3.8 =>
print(f"{a=}")

So many ways to do it...

But, if it sounds like I agree with you, I actually don't. I feel that the Zen of Python has taken on an almost religious level of veneration in people's minds, and leads to all sorts of unproductive debates. One person can latch onto "there should be one obvious way to do it" and another onto "practicality beats purity" and another onto "readability counts." Who's right? All can be. Or none. All could be applied to this particular case.

The Zen of Python is just a set of rough heuristics, and no heuristic or principle in the field of software development applies 100% of the time, IMHO. <= except for this one ;)
I said && and not ==.
Compact != cluttered

I like things dense for better use of monitor space, be it Gmail or Reddit. All that dead space is wasted space, minimalism or not.
Kindle vs. Kobo: Choosing the Right E-Reader Ecosystem
But this is cartel behavior. Apple and Google are acting against their customer's interest to appease a 3rd party. The DoJ should get on this ASAP. Let's hope enough people get on board with EW's plans to break these guys up and regulate them.
Personally, I think they should have went with `if y as x:` syntax, as I think that makes it clearer what it does
How about "assigns to and returns"?
And you're not?
Yeah; I think that's what originally had people saying 2020 would be the major redesign. It's apparently a 4-year cycle. But just today I read that they were possibly delaying it another year.
This is probably the one argument against it that I agree with: I don't actually like it when I see it in other languages!
You're conflating the company with the product. I'm talking about whether or not politics is manifested in the product.
we added new syntax for a code pattern that has inherent complexity which can't be reduced.
Brainfuck has been extremely stable. You can learn every operator in minutes.
The philosophy that most of Python's language design is based on is that for everything you want to do, there should be one and only one obvious way to do it.

The first part of the statement (at least one obvious way to do it) goes to gaining a lot of expressive power from having learned only a subset of the language specification corresponding to the most important concepts. So you invest only a small amount of time in wrapping your head around only the most important/basic language concepts and immediately gain the power that you can take any thought and express it in the language and end up not just with some way of doing it, but with the right/preferred way of doing it.

The second part of the statement (at most one obvious way to do it) makes it easy to induce the principles behind the language from reading the code. If you take a problem like "iterate through a list of strings, and print each one", and it always always always takes shape in code by writing "for line in lst: print( line )" it means that, if it's an important pattern, then a langauge learner will get exposed to this pattern early and often when they start working with the language, so has a chance to quickly induce what the concept is and easily/quickly memorize it due to all the repetition. -- Perl shows how not to do it, where there are about a dozen ways of doing this that all end up capable of being expressed in a line or two. -- Therefore, trying to learn Perl by working with a codebase that a dozen people have had their hands on, each one preferring a different variation, makes it difficult to learn the language, because you will now need to know all 12 variations to be able to read Perl reliably, and you will only see each one 1/12th as often making it harder to memorize.
And if they're in a persistent caloric deficit, they'll experience a net loss of body fat.

It's physically impossible to gain body fat in a caloric deficit.
1. Unplug the paperclip optimizer. Blow it up. The problem with the less wrong idea is they keep ascribing more and more godlike powers to AI to counter very common objections to technology. Somehow the entire thing becomes a godzilla like self-sustaining organism that ignores anything we can do or throw at it, and has magical powers. Meanwhile it seems apparently tha major websites can have outages if people go on summer vacation and the interns are on duty.

2. They can do that now. What would an AI do differently that couldn't be accomplished by conventional weapons? How would it do so without using said weapons or any sort of thing that could be done so without it?

The AI thing is just a secular form of the rapture, a particular variant of existential dread for people with little to no religious belief.
Absolutely no idea why this is being down-voted, given the grandparent gave all the evidence required to support this argument.
Reposting the same comment than in the previous submissions:

> Note: For the 8 hours, they need to use a quantum computer with 20-million-qubit, but the current quantum computer have only about 100 qbits.

(And it's very difficult to scale the number of qubits.)
Amazon in the second most admired company (behind Apple) according to forbes[1]. So I think it's safe to say that almost everyone disagrees with you.

[1]https://fortune.com/worlds-most-admired-companies/
The Blackhat PBN info-graphic they show a little of isn't bad.

Full original here -

https://www.blackhatworld.com/seo/the-pleasure-is-kicking-yo...
> If you keep reading, OpenBSD's random subsystem always mixes old with new data from many sources.

Sure. But say we don't trust RDRAND. It's the first boot, so you haven't got a seed file yet. Assuming you haven't got a HW generator at hand, what other source are there that don't take significant time to collect from? (I.e., I know you can get it from network timings, keyboard/mouse if they exist, etc., but that takes time, and would cause a call not wanting to return prior to there being sufficient data to block. If you're only mixing in unready or untrusted sources, you might get lucky and make it hard for an attacker, or worse, if your other sources are blocking b/c they're collecting data… you might not, but regardless it hardly seems principled?)

It'd be willing to write off the first boot, except that I feel like a lot of things do potentially get initialized then; e.g., in a VM in the cloud, I think that's when host keys are initialized, for example, and certainly whatever application that VM might be hosting could have further requirements. Not blocking and issuing a warning would be to supply data prior to having sufficiently initialized a generator, no?
Not taking totalitarianism itself seriously, but talking about minor, gimmick pieces of information, is not seeing the woods for all the trees. The damage that does outside of China more than outweighs the ultimately meaningless benefits of appeasement that might result within China.
> my freshest student in front of a code and see how they deal with it.

That is fine if you want to optimize language for "fresh students". That is not representative how brain process stuff after getting even some experience.
Except the Raspberry Pi is an ARM SOC (ARM64 in this case), while Intel NUCs are x86-64. macOS requires x86-64 for now. If Apple ports it to ARM, I really doubt they'll make it easy to run on other ARM hardware.
Trump to be honored by deniers of human-caused climate-change in Tucson
After adulthood,I didn't get a tv until my late 20s. When I did get one,it really helped with "taking a break" from other things, with streaming I had to find content but with TV I just tune in without all that much care about the programming.

Although, I still haven't gotten cable,it's mostly streaming IPTV(sling.tv and pals)

YMMV
This project is dead, but writing a Babel transform using something like https://github.com/benjamn/recast is easy and fun!
For anyone else interested in becoming more acquainted with earthquake events and learning about faults near you, I suggest checking out:

https://earthquake.usgs.gov/earthquakes/map/

If you click the gear icon in the top right, a menu will pop up on the right. You can scroll down on there and click the checkbox next to "US Faults" to see specific faults, or "US Hazards" to see a general color guide indicating earthquake risk. Everyone should be aware and have basic preparation tasks done if they live in a risk zone. We all know about "the big one" expected in California or Washington state, but even states like Missouri have high risk areas and have produced some powerful earthquakes!
Let ivy grow on your walls. The kind with glue pads will not harm walls, and the leaves provide shade in the summer and fall off in the winter.
I moved from Santa Clara to Irvine. I just think that the area down here is much bigger. At first I felt like I would miss a lot of the beautiful parks and scenery of the Bay area, and maybe I still do, but in time I found that there are so many beautiful things down here to and arguably a lot more interesting culture too.
Why Andrew Yang Is So Popular in Silicon Valley
You can opt into the no-TV lifestyle as well :-)
Honestly after using Amplify to develop a new app, I have a hard time recommending it unless your use-case fits their design perfectly and will never grow beyond those bounds.

If you've already made any design decisions or need to do something differently than Amplify expects, it is a minor nightmare. It generates multiple local copies of templates for nested cloudformation stacks and doesn't really support manual editing. The basic Amplify CLI commands entirely abstract away what's actually happening with the AWS APIs. "Ejecting" takes loads of time to basically reverse-engineer the Amplify CLI, clean up the generated templates, and then create your own build process that you can tweak.

It would be much easier to recommend Amplify if it wasn't so far removed from the underlying AWS APIs and it provided an easy way to modify those API calls or templates instead of being stuck within its guard rails.
Cram a fat dick in your face and shut the fuck up, you fucking menstruating vulva.
It's natural for some operations to be used only for their side effects, and for those a return value is just noise. What does a while loop evaluate to in your favorite language? Are there any circumstances where you'd want to assign one to a variable? What do you lose by making that a parser error?
> There is no evidence the heat dissipated will impact lifespan.

I have to nitpick at this a little bit as a professional EE who works in high-reliability electronics. Wearout rates absolutely do depend on temperature (and thus heat), and thus the chips used here will have a shorter lifetime than those with active cooling. Now, whether that lifetime will be long enough for the common user is another question (maybe it's 1 million hours of life that get reduced to 100,000 hours, so not normally noticable).
I feel like I've been seeing a lot of these almost identical articles pop up all over. Walrus operator, f-string equals, positional-only arguments, yawn. None of that is really going to change your life.

There's a bunch of changes in the official "what's new" doc that I think are more interesting:

https://docs.python.org/3.8/whatsnew/3.8.html

* Run-time audit hooks, to see if your modules are making network requests, etc.

https://www.python.org/dev/peps/pep-0578/

https://tirkarthi.github.io/programming/2019/05/23/pep-578-o...

* multiprocessing SharedMemory for fast data sharing between processes

https://docs.python.org/3.8/library/multiprocessing.shared_m...

* Duck-typing for the static annotation checkers

https://www.python.org/dev/peps/pep-0544/

* Literal checking for the static annotation checkers. ie: It's not enough to check that you're passing a string for the mode in open(), you want to check that it's 'r' or 'w', etc.

https://www.python.org/dev/peps/pep-0586/

* The compiler now produces a SyntaxWarning when identity checks (is and is not) are used with certain types of literals (e.g. strings, ints). These can often work by accident in CPython, but are not guaranteed by the language spec. The warning advises users to use equality tests (== and !=) instead.

* A bunch of speed and memory optimizations:

- "Sped-up field lookups in collections.namedtuple(). They are now more than two times faster, making them the fastest form of instance variable lookup in Python."

- "The list constructor does not overallocate the internal item buffer if the input iterable has a known length (the input implements __len__). This makes the created list 12% smaller on average."

- "Doubled the speed of class variable writes."

- "Reduced an overhead of converting arguments passed to many builtin functions and methods. This sped up calling some simple builtin functions and methods up to 20–50%."
The B2B was the first thing I wondered when clicking the site. Would be neat to say 'were off setting our footprint via wren' and a 'click here to view our carbon profile and who were donating to.'
This is the key thing here - Uber for instance doesn't need to solve L5 self driving. They need to figure out what routes are frequent in their network and what routes can be driven by their self driving car and route a ride appropriately.

It will never be Uber flicked a switch and replaced all their human drivers. It will be a very gradual transition over to self driving that may never reach more than 25-30% of all trips.

Is that worth the billions of dollars they're pouring into self driving? https://www.uber.com/newsroom/company-info/ says they complete 14 million trips a day. That is 5.1 billion trips a year (and growing). 10% of that is a 500 million trips a year. Assuming the average trip is 13$, that would be $6.5 billion per year in revenue, I think that's more than enough to turn a significant profit even accounting for R&D, Capital expenses to maintain the fleet etc.

The reason self driving will be a reality is purely economic. Noone's developing it to change the world or reduce the number of people dying in accidents or whatever shpiel they cook up.
Tuscan is so hot... I hope everyone is getting enough fluids, or else they might get a little woozy and won't be able to think straight.
Trains work incredibly well, but they don't solve the last mile problem. Hi-rail trucks are pretty common in railway maintenance. There is probably some sort of steam-punk past that could have happened where we're all driving hi-rail cars on almost all highways, and just using cars for the few last mile trips.
* Anything that is in the world when you’re born is normal and ordinary and is just a natural part of the way the world works.*

Yep, I entered the Python world with v2. I eventually reconciled myself to 2.7, and have only recently and begrudgingly embraced 3. Being over 35, I must be incredibly open minded on these things.
How do you find these fixit jobs? Are you brought in as a contractor/consultant?
Ah the old archaic copyright system butting heads with reality.
Last-minute crowdfunder launched to save beloved cyberpunk sim Hangars Liquides
Heat Wave to Hit Two-Thirds of the U.S. Here’s What to Expect
Will the Alamo Drafthouse L.A. be the last stand for movie theaters?
Italian, U.S. police make arrests as Mafia clan looks to regroup
People have been making accusations along these lines since the very start of spaceflight:

http://www.lettersofnote.com/2012/08/why-explore-space.html

Perhaps the only thing that's changed since then is that the US spends far, far less on spaceflight.
This is great! Thanks for your work. Can V be integrated into existing c++ projects? I work in audio and constantly working in c++ is tiring. I'd love to work in something like V and transpile down.
After the smear campaign and mass roasting he received less than 2 months ago, it's not hard to understand why any charitable intentions he had may have completely dried up
>They buy the product, and then they resell it to the end consummer.

This is simply not true in many cases and you should stop saying it so directly. It is not a fact that every item you see in a retail space has been purchased by the retailer for resell, period.
Yes, if it's public-facing. A private backup is probably fine.
https://processtypefoundry.com/help/base/webfont-license-agr...
As a counterpoint: the article is sloppy and full of clickbait. The fact that people are sexist / can't read is entirely tangential to that. Any of the "thoughtful stuff" you mentioned has been explored elsewhere in a context where we're not playing games with a real human being that literally can't give informed consent. (And personally, I find some of her more philosophical assertions about those issues pretty tasteless and lacking.)

> I find the top-level comments here on the whole shockingly negative, uninformed, wildly speculative, and even downright spiteful.

Welcome to the Internet
This very limitation kept me from upgrading my T-Mobile plan for years. I read about Mint on here the last time a plan-related discussion came up, and I switched to them because they don't throttle tethered traffic. They're a MVNO on tmo's network so you do risk getting deprioritized during congestion, but so far I've been pretty happy. (I hope this comment doesn't come off as shilling for Mint. I just happened to have the same problem as you and was fairly satisfied with this solution.)
Yeah, I just asked a similar question on HN and didn't get many responses, but one overwhelming book rec was "Designing Data Intensive Applications"

Basically a high level guide through modern architectures, frameworks, and database designs. So far, my takeaway has been learning what tool would be useful for certain types of data engineering, not the details of how to write code with it.

Edit - link: https://news.ycombinator.com/item?id=20417801
It takes two (or more) to tango. It's everyone's fault.
another HN edition of “cool, but why?”
Did you achieve your dreams?
You don’t win thought reconditioning with thought reconditioning.
What's your definition of "nice?" I've never heard anybody describe a java applet that way.
Thread from 2014: https://news.ycombinator.com/item?id=8124027
> The OpenBSD folks also appear to trust RDRANG, which would help not blocking. But I disagree with that trust decision.

Mixing more data into a random source cannot make it worse. OpenBSD does not use rdrand alone.
What if the license explicitly forbids you putting it on GitHub? https://processtypefoundry.com/help/base/webfont-license-agr...
The intent often matters, but there's clearly a huge difference between your example of a "download here!" link and usage on either a website or within a GH-hosted repo.

When you say 'the right to serve the font from your webserver' -- in this case, 'your webserver' may simply be GitHub's web-server, a service they provide to you as part of your payment to them (either because it's part of the app you host on GH, or as a piece of the website hosted via GH Pages [0])...

Assuming that the font's usage for the repo'd app/site is OK per the license terms, then I'd be surprised if its availability in the repo would solely cause it to fall out of compliance with the license. I suppose that the licensor could, if they chose to do so, specifically include terms to preclude the usage of the font on any sites hosted with "repository or other open file listing indexes", or any other similarly restrictive arbitrary terms.

0 - https://pages.github.com/
There are some change in the pipes that should make the syntax for slicing lighter in OCaml 4.10 by eliminating the need of the outermost [| |] or [ ]. For instance,

let a = x.%{ [|2; 3; 4|] }
x.%{ [|2; 3; 4|] } <- 111.
let a = x.${ [[0;4]; [6;-1]; [-1;0]] }

might be simplified to:

let a = x.%{ 2; 3; 4 }
x.%{ 2; 3; 4 } <- 111.
let a = x.${ [0;4]; [6;-1]; [-1;0] }

It is possible to go further with ppxs(OCaml version of macros), but at a greater readability cost.