skysight-inc/HackerNews huggingface dataset:
loops are harder to read. What does it do, map, reduce, send emails to grandma?

In JavaScript, the reduce callback is created once and called repeatedly. For loops are pretty much always the fastest possible way because they use mutable state. They are also a really good way of creating unreadable spaghetti that does things you don't want them to.

I'm not sure what you mean by nested reduces. Chained reduce functions are easy to follow
Neat ! Never seen that before - reminiscent of the old Syndicate Wars intro... https://youtu.be/EJO_pBML7xw
Id like to have clubs to share struggles just so others could take a look and parallelize the solution search. Very often I struggle because I don't see the simpler path.
It’s still overwhelmingly other people than the driver who pay the price.
We are based on Fastly Compute@Edge, so we can't currently offer an on-prem solution unfortunately.
I agree that many if not most of these buildings are ugly. Many should be preserved though; normally this is done by a decision of a local body including architects and other experts.

These things aside, for someone visiting Crimea, for example, these buildings do matter a lot. They basically move you in time. You can actually get a strong feeling of things that you know maybe from very early childhood or mostly from books or documentaries. It is very, very different from anything you could see in the West.
For me, a part of it is the combination of "this is uninteresting and not fun" with "there's no guarantee this will pay off". If I know there is a definite reward at the end of a large block of work, I can stick at it. If it's entirely speculative, I find that far more challenging and that's when I procrastinate.

Examples are:

- building a side project that might never get a customer
- putting hours into a design that a client might hate for some unknown personal reason that didn't come up earlier
- responding to a tender
I agree and despite beeing a fan (kind of a convert from OO) of FP I am often wondering about readability of FP code.

One idea I have is, that often FP code is not modularized and violates the SOLID principle in doing several things in one line.

there are seldom named subfunctions where the name describe the purpose of the functions- take lamdas as an example: I have to parse the lamda code to learn what it does.
Even simple filtering might be improved (kinda C#):

var e = l.Filter(e => e.StartsWith("Comment"));

vs.

var e = l.Filter(ElementIsAComment);

or even using an extension method:

var e = l.FindComments();

sorry I could not come up with a better example- I hope you get my point...
Personally I had the LASIK surgery done because high correction glasses and contacts are more serious liability in sports or emergency situations than residual -1 diopter nearsightedness. (Compared to -7 D before.) Such as being able to drive a car safely without them, or read. Or work at all.

It didn't cause any halos or dry eye. Those would still be preferable over legal blindness.
The bigger problem is they were unable to correct some astigmatism and so in certain conditions I get doubled image without glasses. Still not even comparable.

For low corrections or farsightedness, the risk benefit situation is very different.

I also suspect that another surgery could be risked to further improve on it once technology advances a bit more.
For example - what is the meaning of the parameter "si"?

I betcha that is going to give you more bugs than the edge cases discussed here.
And try have meeting free zones. 8 half hour meetings spread over a day is nearly as bad as 8 hour meetings in terms of getting work done, 30 mins gaps only allows for easy tasks (email, etc), but not true engineering/deeper work.
If anybody knows the crimes Mustafa was accused of, that would be interesting. I did a search but I couldn't find any details. From the article, it seems they were "thought crimes". Something of some religious significance perhaps?
I think, zwjchar has a chance: it is unambiguous, so when in future standard evolves we could distinguish it. Besides, technical people like precision and cryptic names.
Australia's growing thirst for alcohol-free wine and beer
Yes I agree with the cost and speed (which I mentioned) however lightning does require being connected over the internet.
Username checks out.

Plenty of rational, logical, and profoundly influential scientists believed in a God.
PHP has been removed in macOS Monterey
Aerospace conglomerate Japan Supersonic Research wants to be in the air by 2030
Sorry, popularized would have been more accurate. Or perhaps weaponized. The term did exist before then, but the usage wasn't prevalent, and more directed at actual "conspiracies" - multiple entities, such as businesses or political rivals, working together illicitly
I can recommend 50 Dangeous Things (you should let your children do) as an inspiration for what to do with kids: https://www.fiftydangerousthings.com
Thanks Peter! Yes, we also think that there is a lot of exciting stuff happening in the space. However, we built GraphCDN because we think it's a very practical approach _today_. I think it will take a couple of years until edge compute becomes mainstream. You need your whole database etc on the edge, otherwise it doesn't make sense.

So we're happy about this level of abstraction, because any app can use it _today_!
ZFS fans, rejoice – RAIDz expansion will be a thing soon
Biden Has Now Cancelled $3B of Student Loans
> For instance, map - I know that it will return a new collection of exactly the same number of items the iterable being iterated has.

Unless you're using Perl - "Each element of LIST may produce zero, one, or more elements in the generated list".
That's good to know, I think some of the warning still stands. It doesn't hurt to be a little paranoid, especially if this isn't your wheelhouse day-to-day. It's certainly not mine, though, I've done enough to be both a danger to myself and to others.

I have only worked with a motor start capacitor in the context of mine and a few neighbor's A/C units. Anything I do is small circuits, DC, and not a mess at that. Frankly, the look of the thing upon removal made me fearful that nothing about what this thing is supposed to do could be trusted (large bulges on both sides).

I've worked with others of about this size, and smoked some hair on my arm with one fully removed from a Mitsubishi rear projection television (with an actual hole in what probably constituted its main board) from somewhere in the early 90s. It's the only time I've held onto a disconnected component "just right" to get a surprise and I'm not certain I touched more than hair. It didn't have anything but 400V written on it, no idea what purpose it served, honestly yanked it "because I didn't have one" and I'd never seen one that large up to that point. And I never found a use for it; it's probably still sitting in my battery box in the basement :).

Bottom line: the AC unit service door, and several other places around the unit, and within its service manual have affixed, sometimes etched, warning labels. At least some of those were added after someone died. It's worth a good read and a little bit of caution.
It was coded with JavaScript + ThreeJS and built on top of a custom entity component system. Lots of different parts to the game, each receiving different treatments; eg the terrain is built from a mix of voronoi cells, layered simplex noise, and poisson disc sampling.

I found Amit Patel’s blog to be a great resource for this:

https://www.redblobgames.com/
Yep, dead wrong. If you hand someone a private key, you now both have control of those coins.
So a buyer can pay a seller in Bitcoin with minimal internet connection.

Note that the volatility of Bitcoin introduces a another requirement: Both parties also need fairly recent data from a Bitcoin exchange to find a price at which the transaction is mutually beneficial.
Technically yes, a “transaction” is on-network - but one can trade wallets (eg: trading paper keys or “Physical bitcoins”). The definition of the word “transaction” is the important bit here.
"glorified linked list" is a pretty big straw-man, besides being short-sighted.

innovation of blockchain is not entirely the tech, but what it ultimately enables socio-politically.
My god, I haven't seen Craft before and... I haven't been so hyped about a software in a while. It's the perfect sweet-spot between Bear and Notion. Seriously... thank you!

At first I was a little concerned when I saw Notions "block concept" and it doesn't feel as snappy as Bear because of that, but the way you can start a new related document super easily from each block is just really good. The Search is amazing, changes are insta-synced between devices (like... live as you type) spending a little time on cards makes your doc look pretty good (if you care) and the share-options are all I ever wanted.

I also like the separation of "daily notes" and your regular documents. With Bear the sidebar always feels a little messy (despite pinning), but if daily docs are moved to a separate area that is ordered by time, it cleans up the "stage" for my more important, long-enduring notes.

I just spent about an hour testing the waters with Craft, but this is love at first sight so far!
Battlegrounds Mobile India (Indian PUBG) Is Now Available to Play
I think it's much more about the facts that

1) They speak English. Players, expert commentators (former players), managers etc. give interviews, tweet, comment etc. before, during and after the matches. It's a huge part of the product. You just don't get all that fuzz with Spanish, Italian, German, or French football. Those leagues can only sell the match itself internationally, not everything that surrounds it. Unless you speak Spanish, you don't know what Messi said about his hattrick in the last match or what he thinks about rumors of him changing club. You may not even know what he sounds like. You don't know his agent, his father, his brother, his wife, ex girlfriends etc. With Premier League players, that's part of the package. For better or worse.

2) So much Russian and Arab oil money floated to the clubs the last 20 years, not just as sponsorships but through actual buyouts of the clubs. Several of the best teams in continental clubs cannot be bought because they are owned by the fans.
They’re impractical, but checkout Physical bitcoins: https://medium.com/the-capital/everything-you-need-to-know-a...

I did say -technically- and I do mean that - I’m not suggesting this is practical.
Thanks! Lots of things inspire me - Journey and Flower are obvious references, but also many other projects! I find a lot of inspiration through online illustration and generative art communities.
In theory, only the person recieving payment needs a trusted connection to the network. The person sending a payment just needs a device which can cryptographically sign a "check" addressed to the reciever, and then send the "check" to the reciever who can send it to the network and wait for it to be accepted.
Syncthing on desktop + mobile + RaspberryPi home server for syncing.
Sublime Text for editing markdown notes on desktop.
Markor (Markor: Markdown Editor) for editing those on Android.
Highly recommended.
This sounds correct in my experience. Soccer matches in stadiums that were used for the 2010 Soccer World Cup in South Africa (SA) often play at the same time as English Premier League(EPL) matches. We often switch channels between matches in SA and UK and there is a a marked difference in the quality of just about everything. From the pitch to the camera work, commentary and the quality of the picture. It is obvious that a lot more money and planning goes into the EPL as a product.
This is a super interesting project and thanks for posting it.

I'm just wondering why you decided on Fastly over Cloudflare Workers or AWS Lambda Edge for this?
> So it makes sense to choose the weakest version.

Only if it's actually more readable. The principle of least privilege does not give you any benefit when talking about loop implementations.

> More specifically, maps can be trivially parallelized;

This argument is repeated time and time again but I've never actually seen it work. Maps that can be trivially parallelized aren't worthy to parallelize most of the time. In the rare case it's both trivial and worthy, it's because the map function (and therefore the loop body) are side-effect free, and for those rare cases you don't care too much about the slightly extra effort of extracting the loop body into a function.

> when you look at the system as a whole lots of for loops make reasoning about the global behaviour of your code a lot harder for the simple reason that for-loops are too "strong"

Code is too strong in general. Reasoning about the global behavior of code is difficult if the code itself is complex. Nested maps and reduces will be equally difficult to comprehend. The fact that a map() function tells you that you're converting elements of lists does not save you from understanding what is that conversion doing and why.

Sometimes loops will be better for readability, sometimes it will be map/reduce. Saying that for loops always make it harder to reason about the code does not make too much sense in my opinion.
>Some of these companies have been tightening their belts for years. But the pandemic seems to have emptied what was left of the bargain bin. The average Uber and Lyft ride costs 40 percent more than it did a year ago, according to Rakuten Intelligence, and food delivery apps like DoorDash and Grubhub have been steadily increasing their fees over the past year. The average daily rate of an Airbnb rental increased 35 percent in the first quarter of 2021, compared with the same quarter the year before, according to the company’s financial filings.

https://www.nytimes.com/2021/06/08/technology/farewell-mille...
I think any unwanted pop - over, under or sideways, is bundled up in the term "popups".
I think you've misunderstood - the issue is how to keep two views in place - one supporting current clients, until the last one disconnects, and another supporting new clients.

Until you have no current clients left, you can't delete the old view or remove underlying columns that that old view requires. Once they have, you can execute that phase.
Xcode 11 Release Notes (https://developer.apple.com/documentation/xcode-release-note...)

"Scripting language runtimes such as Python, Ruby, and Perl are included in macOS for compatibility with legacy software. In future versions of macOS, scripting language runtimes won’t be available by default, and may require you to install an additional package. If your software depends on scripting languages, it’s recommended that you bundle the runtime within the app. (49764202)"

Found via https://mjtsai.com/blog/2019/06/04/scripting-languages-to-be...
Fails in Brave (Chromium 91) with shields up, here's the stack:

three.module.js:21344 Uncaught (in promise) TypeError:
Cannot read property 'indexOf' of null

at new ch (three.module.js:21344)

at ht (three.module.js:24988)

at new gh (three.module.js:25021)

at m (CanvasSystem.js:30)

at S.addSystem (World.js:379)

at be (initialize.js:112)

at async onCreate (index.js:47)
> Would these regimes change their ways, or begin a major pivot away from America?

Pivot to whom? China needs a large population of consumers. Besides the US they have their choice of countries full of young poor people, countries full of thrifty old people, and countries with consumers that are too small. They could drop the US if they’re willing to have a massive financial contraction. The US holds the ultimate trump card too, we need them less and less, and we can remove all shipping security guarantees for Chinese goods and watch their international trade collapse. It’s hard to fund influence campaigns when your economic house of cards crumbles around you.
There are technical things we could discuss but it's tricky without going all music nerd on you so I'll argue by analogy from the visual arts.

John Coltrane is the mac daddy saxophonist. He is the capo da tutti capi. The recordings of his golden period (eg Crescent, A love Supreme etc) are the Mona Lisa.

Coltrane: https://en.wikipedia.org/wiki/Mona_Lisa#/media/File:Mona_Lis...

By contrast Kenny Gs recordings are Trechikof's "Chinese Girl" - Extremely popular but kind of terrible.

http://i.huffpost.com/gen/958528/images/o-CHINESEGIRL-facebo...

Just like it's fine to prefer Phil Collins' version of "You Can't Hurry Love" to the original[1], it's fine to like Kenny G's music - you should like whatever you like. But it's not being a "purist" to dislike it. When people get to a certain level of education in their music taste they start to realise some of its shortcomings.

For anyone intimidated by Coltrane, I recommend just getting "Ballads" or "Coltrane and Johnny Hartman". They are incredibly beautiful music that I have successfully played to all manner of non jazz enthusiasts.

[1]Actually that one really isn't fine. He messes up the iconic James Jamerson bassline by removing the beautiful anticipated quavers that give the original so much drive. Once you hear it the Phil Collins version seems so incredibly pedestrian.
I almost pity Intel for having to maintain old x86 memory model decisions they made over 35 years ago.

They tried to get rid of strictly ordering almost all load/stores with Itanium, but they bungled that product so hard. Now switching ISAs would look like a weakness no matter what they do.
When I hear the word trepanation: https://www.metal-archives.com/images/3/5/4/0/3540364223_log...
What does another countries gun crime stats have to do with America? Further, how does that invalidate the hard facts?

Gun homicides are rapidly declining on a per capita and absolute basis, over the period of decades.
Why not just use a list comprehension?

def congruent_sets(m, l):
return [[v for v in l if v % m == i] for i in range(m)]
Time of Day Can Affect How Well Your Immune System Works, Including Vaccines
The dollar was once backed by gold, so not the best comparison.

Also, I don't see a way to make fractional Bitcoin reserve banking work in practice. You can't simply issue Bitcoin you don't have.
Www.googlemaps.com
Some context: Mustafa was charged with participating in the Arab Spring uprisings during 2011-2012, where the discriminated Shia minority rose up again the government.

https://en.wikipedia.org/wiki/2011%E2%80%932012_Saudi_Arabia...
You can if you put in the work to set it up.

There are two (nearly identical) talks by Emily Shea

- Perl Out Loud
https://www.youtube.com/watch?v=Mz3JeYfBTcY

- Voice Driven Development: Who needs a keyboard anyway?
https://www.youtube.com/watch?v=YKuRkGkf5HU
Thank you. Can't miss a beat when the stakes are high...
But the relationship your kids want, you are not a friend but a parent, you can be a friend when they are in their 20s-30
I wasn't born in the US. I am however capable of reading official statistics.

I'm more prone to trusting statistics information than the information of say, politically biased campaigns.

What does the data say? Gun homicides are declining. Rapidly. What else matters to you?
It’s sort of like “topic drift” except that it’s closer to the topic, broadly defined. (Ironically, this side conversation is also topic drift, of the meta variety.)
How much oil does the US buy from Iran? I think actual embargoes make a difference.
Apple Notes user and fan here.
Being able to drag and drop images to a note and annotating it is super useful to me. Also, being able to pickup writing or sketching on the iPad or iPhone works superb. Being part of the walled-garden and all.

I wanted to try Bear after reading your comment. But, I don’t need yet another subscription software. If it was a one time paid app, I would have thought of it, but subscription just kills it for me. It boggles my mind why I should pay subscription for a note-taking app. Just let me pay for the current set of features and let me use it as is however long I want. If I want to upgrade, I’ll choose to pay then. :-( may be I am getting old.
The China envisioned in Made in China 2025 already has access to a large population of consumers: the Chinese population.

And the whole point of the Belt and Road initiative and their aircraft carrier program is to remove dependence on the US backed shipping security apparatus.
Pain in My Butt – crowdsourced business ideas generator
In addition to what others called out, we could also open our borders and allow people from these places to come and live with us instead. Foot voting is very powerful and even if just a small percentage leaves these countries that can become a real problem for those governments and create pressure to change.
3 12-hour days? I’ve never even considered that, but… I can totally try that
Appwrite a self-hosted Firebase alternative
And "backwards" depends on one's vantage point, anyway.
Are we certain those are both actual use-cases though? When would we need this information in those formats?

Not trying to be difficult. Just looking for technical possibilities.
I live in an European city, where the infrastructure for biking is well established.

To be honest, average people riding bicycles for commuting or getting around cycle on the safe side, use the proper bike lanes, do not make left turns in front of the cars etc... while the "cyclists" insist on cycling on the car lanes, taking left turns and changing lanes while going 25-30 km/h on 50km/h road. Those people annoy me to the death while driving and cycling as well.
While in France they d start on time but the students would trickle down for 15 minutes. You can imagine our respective surprise when I had a german boss one day and I d arrive always 2 minutes late not understanding why it would be written on the meeting note as if it was a huge mega deal :D

Complete disrespect for him, absolutely the norm for me :D He learned to be less angry and I learned to be less "late"
Phew, I've been using tiling window managers for 15+ years now so I don't really know. I've always been interested in trying out different window managers and UI/UX concepts.

When I started with Linux in the 90's it had FVWM by default as graphical interface which was pretty different when being used to Amiga, Atari ST and Windows 3.1. (They were all pretty different from each other.)

Of course I had to run Enlightenment with some rusty graphics when I discovered it, but I think WM2/WMX[1] was the first window manager where I realized I preferred the more minimalistic ones.

After trying out more WMs I ended up at awesome[2] which I ran for years. It had the best support for both floating and tiling windows. (I do like some floating windows now and then but never liked the "normal" desktop concept which is, paraphrasing Fred Brooks, more of a flight seat concept.)

Then WMs like xmonad started appearing and I tried those out but they're pretty much "tiling only" and I did not like xmonad's tiling windows approach. It's been too long since I used it and I'm not sure it is still applicable but it forced you to use specific layouts and the current window was always maximized.

So at some point i3 appeared (like fish shell and Doom Emacs) and when trying it out it by default already did most of the things that I liked and that I had to configure in other window managers, so that was nice. It was a pretty good fit right away.

I have used some other WMs like EXWM and StumpWM over the years because I'm both an Emacs and Lisp weeny but they're like less mature i3 clones so I've been back at i3 for a while now.

[1] http://www.xwinman.org/wm2.php

[2] https://awesomewm.org/
Maybe your browser has hardware acceleration disabled or nerfed? How are other WebGL pages doing by comparison?
There are other blockchains with more available space than Bitcoin, such as Bitcoin Cash.
Looks really good, well done! Just fyi, I noticed my phone (new iPhone) got really hot when looking at your site. I’ve had this before on sites and it’s usually a bug or a really tight loop somewhere that’s causing high cpu usage (maybe the animations). Sometimes it’s not high enough to notice on a laptop or full pc, but it’s enough to warm up a phone.