skysight-inc/HackerNews huggingface dataset:
The "ghetto" lists have been a thing for a number of years now in Denmark.

There used to be a couple of areas in the city where I live, in cheaper community housing like this

https://www.alabubolig.dk/S%c3%b8g-bolig/Afdelinger.aspx?mod...

This was perceived as a huge problem for the housing associations renting out the apartments, so they've been doing a bunch of different things, including hiring social workers, courses to try to get people in a job, networks, giving the buildings a serious makeover destroying some and building new in an effort to get a better mix of low-rent and high-rent inhabitants. But also getting permission to decline new renters on welfare payments.

In the end, all housing associations where I live managed to get off the ghetto lists, so aren't affected by this new law.

I think the new law is probably more about signaling a hardliner attitude than actually solving problems.

On the other hand, no doubt people gathering in small closely-knit enclaves ends up being a problem for many of those living there. In a nutshell, if you need a job, networking with people who don't have one doesn't help.
I will be happy to be able to do:

while (bytes := io.get(x)):

and:

[bar(x) for z in stuff if (x := foo(z))]

Every time Python adds an expression counterpart to an existing statement (lambdas, intensions, ternary...) there is a (legit) fear it will be abused.

But experience tells that the slow and gradual pace of the language evolution combined with the readability culture of the community don't lead that way.

While we will see code review breaking materials in the wild, I believe that the syntax will mostly be used sparingly, as other features, when the specific needs arise for it.

After all, it's been, as usual, designed with this in mind: "=" and ":=" are mutually exclusive. You don't use them in the same context.

The grammar makes sure of it most of the time, and for the rare ambiguities like:

a = b

vs

(a := b)

The parenthesis will discourage pointless usage.

My bet is that we will see essentially rare but useful and expressive use cases in productions, which is exactly the goal.

Given the month of debates around this, I think it's a fine compromise.

Like many, I would have preferred the use of the "as" keyword instead of a new operator, since it's already used to bind things to names in imports, context managers and try/except.

However, the new syntax has 2 advantages: it reads the same way than the original operator, and it supports type hints out of the box.
More social interactions can be a goal itself - in making e.g. a workplace a fun place to work. However, that comes at the cost of productivity. If there is a pressure on the employees to perform, they'll get grumpy because the open workspace stifles productivity.
I wonder how prevalent the whole ageism thing is. It makes good articles because half the engineers are afraid of it, but how widespread is this? Could be just a dozen isolated cases that the media latches on?
I've never struggled stopping with non-fiction, I think because at Uni when studying philosophy they often recommended a lot of books with "read chapter 10 + 14" of a book.

Often the rest of the book was a boring, pointless drudgery that rehashed arguments I'd already read and that really opened my eyes.

I remember more than once deciding to read the whole book instead of the recommended chapters. Descarte's Meditations springs to mind, the first half of the book is great (think therefore I am), the 2nd half is bad (trying to prove the existence of god, having just disproved him).

Also, I read Immanuel Kant and he is probably one of the worst famous writers in history. He was awful at expressing himself, and if you've had to endure that, you learn to skip chapters at a time looking for the crux of a book. Hegel was similarly bad I seem to remember.
I didn't get that from his comment at all. Sounds like you're conjuring up a straw man here. 30,000 babies and 30,000 adults with a lifetime of experiences are two very different things. It's perfectly possible to believe that immigrants from heavily-Muslim countries cannot realistically integrate with first world societies without believing racist rubbish like genetic inferiority.
Not so. Many things change the semantics, otherwise high level languages would just be glorified macros.

For example, import mod is NOT defined as

mod = eval(open("mod.py").read())

but involves abstract load module operation, which is dependant on the environment.

That's why := is just syntactic sugar; there are no new semantics.
Self-hosting is tricky to get right and the cost of getting something wrong is high.

One more provider I haven't seen mentioned here is Zoho.com/Zoho.eu

They're more business-oriented, and they offer a whole suite of collaboration tools. They're one of the only providers I've seen that support custom domains in their free tier offering (https://www.zoho.eu/workplace/pricing.html)
You're right, it does come off as bitter, but worse, it's not a good conversation starter. People who like Python and forced occasional Python developers tend to have different ideas about what is a "shitty syntax thing" and what is a core feature of the language.

Is there a better example of something that is generally agreed to be "shitty" yet could be fixed in a clean way, without breaking backwards compatibility?
I left Gmail once, but what brought me back was its separation of "primary", "promotions", "forums", and "updates". I don't know how I'd get through my emails without that. Has anyone seen another service that does something like that?
I can recommend the folks over at Migadu (https://migadu.com) which is a small Swiss email host. Their support is very responsive and I never had any issues while there.

I was also a Fastmail customer and I can recommend them too. I actually had all of my email for the last 10 years in one mailbox (100K+) and Fastmail didn't even blink most of the time handling it.

Performing an action on every email such as setting everything to "Read" would take ~10 seconds but that's to be expected for the amount of work being done.

Currently I'm using G Suite for the additional services but I never had an issue with the two I mentioned above.
It's actually how I became active in the webstore.. Tab Manager was sold to some other company and filled with malware afterwards. It took the webstore team over a year to take it down.

Luckily enough the source code was still on github, and I managed to fork it and improve that version into "Tab Manager Plus" [1]

Since then I've refurbished around 10 extensions and published a few of my own. It's fun, just annoying that malicious extensions aren't getting taken down fast enough, since I suppose not enough people report them.

How to report malicious extensions is also sometimes unclear. Some people think they have to install them first, that's only true for ratings, not reports. For example to report the extension from this blog post you just have to submit this form [2]

For other malicious extensions simply replace the extension id in that link.

[1] Tab Manager Plus - https://chrome.google.com/webstore/detail/tab-manager-plus-f...

[2] Report extension - https://chrome.google.com/webstore/report/fjnbnpbmkenffdnngj...
It makes list expressions and some other things more powerful, but some feel the potential to create difficult-to-understand constructs with it is too high and the current ways of writing such code are clear enough.
Android has capability control tied to certain kinds of specific objects such as intents and binder connections. This could be extended to streams and providers (like the one used to read email) and objects created from such streams. Would require some internal API change and to document the change in permissions.

The new permission would mean the app is allowed to send contacts or emails read from database over the network.
This is unpythonic, breaking about half of these design rules:

https://en.m.wikipedia.org/wiki/Zen_of_Python

For anyone who hasn't read the original PEP link, what do you suppose this does? Guess its meaning:

1.

if (row := cursor.fetchone()) is None:
raise NotFound
return row

2.

Next guess the meaning of this - what does it look like it does?

row = cursor.fetchone()
if row is None:
raise NotFound
return row

Answers:

The first does the second. The second doesn't need explanation. I literally don't need to tell you what it does.

(The two examples are from the link.)

Now you might think that this means I'm against this PEP.

But actually [EDIT: because I know there is a VERY high bar to being accepted into Python] to me it means this is going to save an incredible amount of time - it must be very good indeed to be accepted.

So if they decided to adopt it - sure, I'll use it. And I bet it's great in practice.

It's also super explicit. If you don't know what := does you will go look it up.

If Python is still driven by Python design philosophy and all that discussion, then this will be very helpful. It surely had a very high threshold to meet.
How much is it actually a problem as far as crime is concerned? I know some countries where it's really bad but haven't heard of this issue in Denmark so can't comment.
Would've making regular assignment an expression broken too much existing code?
The article is wrong then:

"or mandatory instruction in “Danish values,” including the traditions of Christmas and Easter"

Not too surprising, I think Denmark has religious freedom specified in their constitution as do Norway.
For many people (including me) who learned Python the way that, in languages like C, the `if x=2` assignment combined with condition is an anti-pattern and prone to errors.

This PEP solves very little problem, saves a few characters of code, but adds complexity to readability.
Not the OP, but the inability to write

sorted(enumerate([('a', 1), ('b', 2)]), key=lambda (i, (k, v)): (k, i, v))

in Python 3 drives me nuts. They could fix this. It worked in Python 2.
If you're OK with Putin reading your mail instead of Google if say Yandex is a great alternative!
>You could argue everything above machine language is syntactic sugar.

The sugar is sprinkled on top of syntax, the stuff the parser deals with. Typing a += 1 instead of a = a + 1 is sugar because it parses the same. This assignment syntax seems different. IMHO.
It depends. How pedantic do you want to get?
Ok, I don't want to go down the road of "this is backwards and shouldn't be happening in Denmark" and I'm already tired of comments saying "it's about time, wish they did that in my country"...

So I'm asking the smart people of HN. What could be good solutions for the problem they are trying to fix?

Children of families that come from other countries don't speak the language when they enrol in 1st grade.
You mean "failed" like neural networks had failed before they suddenly took over the world?

The popular success of technologies depends on countless factors that keep changing at a fast pace, and those factors include a great deal of luck and randomness.

There is no reason to believe that repurposing some basic technologies for something different in a different environment is more likely to fail than inventing entirely new technologies.
Fastmail is the best. I make great use of the subdomain mailbox aliasing feature (website)@(username).fastmail.com
No need to sandbox, some android objects have permission and capability control.
It is just not propagated (and enforced enough) so you get all kinds of confused deputy problems.

If it were, you could have separate permissions for combining mail provider with network streams.
From my personal experience having been in both offices and open workspaces I notice that when we had offices people would go in, close the door and have a conversation. With an open space either people wanted to have private conversations (and didn’t want to make the other person have to move) or were afraid of disturbing others so IM became more commonplace.
Designing an email-only Slack interface
I wonder how the Danish immigrants in Lebanon are fairing under the government and society in place.
Sensitive, considerate writing before you merge your Pull Requests
Worth reading the linked page [0] about one of the diver's custom reassembled rebeather, which means they have two systems to reduce the need for backup tanks of air, but still be able to fit in the caves. Really incredible, particularly as they work as volunteers.

[0] - http://www.therebreathersite.nl/06_Homebuilders/john_volanth...
It's not tricky, it's tedious. There's nothing tricky about it. You need a static IP, reverse DNS set to system hostname, "regular" DNS for the system hostname, DNS SPF entry, DKIM, DMARC, and authentication - it can get complex but it's quite straightforward.

On the other hand, things like iRedMail[^1] or Mail-in-a-Box[^2] will do most of the magic part for you.

[^1]: https://www.iredmail.org/

[^2]: https://mailinabox.email/
We had two big challenges: (1) getting people to clearly specify the feedback mechanism, (2) figuring out what features to use.

(Isn’t all ML about good labels and features? :-) )

Structured ML systems require you to provide (ideally) unambiguous examples of expected behavior. In case of Spiral (or any other online learning) such examples need to be generated automatically. In our experience this part took a good amount of effort: distributed systems issues (aka race conditions and transient bugs in remote systems) made automatic generation of “clean” examples difficult. Once the bulk of these problems were addressed the system began to operate very smoothly. Specifically, it adapted to changing conditions very well.

Spiral is designed to be a drop-in replacement for hand-coded heuristics. In other words, if you had a somewhat working tree if-else statements that specified your image caching policy (if size<100k and type==jpeg..), you should already have an idea for what features to use. There is a bit of work involved in translating these features into the form suitable for classifiers in Spiral. For example, if a classifier is using binary features, the file size feature would need to be quantized (123kb -> “100-200kb bucket”). While this type of work requires forethought and effort, runtime cost of running this classifier is very low.
In ghettos they see less need to learn the local language, as everyone speaks their own language and all services are provided without needing to learn much.

Considering that immigrants chose to go to x country, I see no racism in making them integrate, otherwise that country will become like the old one pretty soon. Now jailing parents for "forcing" kids to visit the old country and other measures are out of line and most likely not needed. Just learn the local language, go to school and learn /abide by the values. Or else...this country is the wrong match for you. Try another country or go back to the old one.
Hehe. More chances for C-style bugs like:

if (a = b) /* Oooops, meant a == b! */
I think that's a rejected alternative proposal, not part of this PEP.
"Asians not particularly good at math"? How does that square with what is well known in published surveys as for instance:

"Singapore is routinely ranked at or near the top in global comparisons of mathematical ability and boasts one of the most admired education systems in the world. In a league table based on test scores from 76 countries published by the OECD in May last year, Singapore came first, followed by Hong Kong, South Korea, Japan and Taiwan. The rankings, based on testing 15-year-olds’ abilities in maths and science, reinforced a sense that western children were slipping behind their Asian peers. The UK was in 20th place and the US 28th in the table. "
I love writing python, but the lack of decent map/reduce/etc. (that are really good in Javascript - the other language I mainly write) hurts. Stuff like your example really feels burdensome and inelegant in comparison.
Training Afrikan entrepreneurs to become catalysts for digital transformation
One great thing about Gödel, Escher, Bach is that you can enjoy it by flipping it open to a random place and reading a few pages, or if you don't like it or get it, flip to a different section. It's neither a novel nor a textbook. You don't have to understand A, B, C, & D, before you can understand (or at least appreciate) E. I treated like a coffee table book, reading 2/3 of it but randomly.
Getting a Handle on Spiralling AWS Lambda Cost in ~15 Sec
I agree, but he didn't specify cultures.
It could be a runtime permission, you have to ask for it every time unless user explicitly changes that setting.

Secure Element should be handled with exactly such a permission.
+1 for Posteo, but they do not offer custom domains. See 3rd question at https://posteo.de/en/site/faq

If you want this, then I'd check out https://mailbox.org

See https://mailbox.org/en/how-to-use-mailbox-org-with-individua...
In the UK, we have "twerly" (derived from the free bus trips available to pensioners, but only after 10am, hence "Am I too early?")
I've heard it claimed that offices with about 6-8 people are best for people being able to talk to each other in a productive way. Any larger, and most people will use e-mail to avoid disturbing other people. The effect might vary depending on country, age group and so on.
Go Cassandra... Elasticsearch is a pain in the arse. I have yet to meet someone who has confidence in it at as primary store of data except with the lightest of workloads.
Outsource PDF to Excel Data Entry Services
Outsource PDF to Excel Data Entry Services with Sasta for getting outstanding outcomes with perfect quality. Tabulations are easier with excel sheets. For more info - https://www.sastabpo.com/outsource-to-india/outsource-pdf-to-excel-data-entry-services/
I use https://zoho.eu - decent apps, reasonable tools, similar configuration to GApps.

Not entirely sure where my trust comes from, but they have a fair freemium offering, and feel reasonably confident in them from both a security and fairness perspective.
Migadu works great most of the time, but it takes forever to get a reply from their support.
you confuse sales with UX.
...and then you need to deal with all the blacklists. I once tried hosting an email server and found out at least one major American ISP was blacklisting everything from Digital Ocean. And when that happens, good luck reaching someone to get out of their list.
I feel the colon is unnecessary, especially considering how C deals with this. A plain '=' inside a conditional is already invalid syntax in Python.
How to Send Cryptocurrency Mobile to Mobile – The Crypto Pouch
Security is almost never a priority no matter how easy would it be to fix such leaks...
The idea is two spend first half of the day braining and second half doing busy work. Also championed by pg: http://www.paulgraham.com/makersschedule.html
Whatever service you try, make sure that you literally own your email address (i.e. domain name), so you can always walk away without problems.
Look up Asperger Syndrome. Maybe this applies here.
In the case where place of birth dictates culture and customs, then yes in that sense there is a difference. Culture is a very difficult thing to change.

What we get is culture clash, where people are essentially born with different values, customs, and ways to behave in society.

There is very good internet lore, which sort of describes this phenomenon called "The Eternal September":

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

What Europe is experiencing right now, is essentially the same as what the internet experienced during Eternal September; the ability and capacity to assimilate has been exceeded, and therefore yes, there is a very real possibility of destruction of the western culture and values.

As for stopping the bombing and destruction of these countries, you simply cannot argue with that proposition.

It's actually quite perplexing that politicians are putting so little effort into solving the root cause, instead preferring the virtue signalling easy route, without seemingly any thought to the actual cultural and societal consequences of their actions.
Kredi Kara Listesinden Nasıl Çıkılır
Examine the patent that made selling Microsoft Word a crime (2009)
YES! Also the header and cookies bar that takes up to 25% of the screen space on my crappy phone.

I don't want your Cookies, dammit.
I've taken to waking up at 6 to get a couple of hours of solid "brain work" before I start the day
Wouldn't that be considered general culture though, considering most people in that country still celebrate those holidays?

You can not believe in that particular religion, but still it probably wouldn't hurt anyone knowing the reasons & beliefs behind those particular days.
"Starting at the age of 1, “ghetto children” must be separated from their families for at least 25 hours a week, not including nap time, for mandatory instruction in “Danish values,”

I can't see how the first half of that isn't a violation of ECHR Article 8.
I find the worst part of running a private mail system is the spam. It morphs so often that you are always fighting a running battle just to keep it under control. Achieving a zero-spam target is almost impossible. The larger players (gmail/Office365) only manage to do it because they are handling millions of messages a day and have thousands of honeypot addresses just for spam catching. As a small player there's no way you can compete with that.

My anti-spam system is a relatively new install of SpamAssassin. All my incoming mail runs through that. It's about 80% effective. I've not had the time to teach it properly or tweak the bayes filtering so I'm sure it's not running as effectively as it could be.

I'd like to rent just an anti-spam gateway service that my MX records would point to and it does all the filtering and then sends good mail onto my private mail server, but the costs I've seen so far make it uneconomical for me.

If I was starting over, I'd pay for Office365 small business tier, which gives me cloud Exchange plus mobile sync support for mail/calendar/contacts/tasks. Most other providers can't supply an integrated service that works with Outlook.
Almost all nowadays as Gmail rejects insecure input. On other servers unsecured mail input gets big spam scores.

Perhaps some internal ones take plaintext from local machines, but inter server is almost always TLS.
Thanks so much, great read.
"AK-47" - Clearly someone has no idea what "AK-47" stands for.
Is thay supposed to be better?
:= overrules everything except a comma, so it's the latter. Still, I agree it's potentially confusing.
Above I explained how Michael Dell increased his equity percentage. How did the value of his stake increase so much?

There are various ways this can happen. Using the figures from my answer above:

- If Dell is able to increase its profitability by 50%, then in theory the EV should increase by the same amount. So $100bn goes to $150bn. But debt stays the same whilst equity goes from $40bn to $90bn ($150bn EV - $60bn debt). This means Michael's stake is now worth $31.5bn (35% of $90bn).

- Private equity companies are often valued on multiples of EBITDA (which roughly translates into profit for capex light companies). So Dell might have originally be valued at 5x times EBITDA to get to the EV of $100bn. But let's say the valuation multiple has risen to 6x (since markets valuations have been going up since the Dell take-private and Dell is now a more attractive mix of software + hardware rather than just being hardware which implies a lower valuation as its more cyclical). A 6x EV/EBITDA multiple will take the EV to $120bn (assuming flat profit). This will increase the equity to $60bn ($120m EV - $60bn debt). Michael's stake will be worth $21bn (up from $14b).

Combine an increase in profitability with a high valuation multiple, you can go from $14bn to $40bn fairly quickly if things go your way.

I can't remember but Michael may have put in cash during the take-private on top of rolling his original equity stake. This would have also increased his stake.
Complete with all the features in today's github.com? Including load balancing, sharding, DDOS protection etc.?