skysight-inc/HackerNews huggingface dataset:
I'd like to provide an personal take on this - this will be a bad deal until Uber can be a super app doing 100x more things than it's doing today. So maybe never.

Why? Because exactly in China there was consolidation of food delivery apps into like 3 or 4 of them from 100+. But all of them are still burning lots of money from investors, except one - Meituan-Dianpin which built on this super app (first think of it as uber+yelp+groupon+tripadvisor+more) handling all kinds of life needs from food to labor service. Yet this super app barely started making profits recently after grabbing so much aspects of daily life, while its food delivery unit is still burning money, though contributing to the profiting units like ads.
> But in all seriousness, this advice is applying a notably higher standard of premature optimization to file descriptors than to any other kind of resource.

Maybe the same standard should be applied to other kinds of resources. Maybe garbage collection was a mistake.

> It's a violation of procedural abstraction to know whether the result of load is lazily evaluated or not; it's just supposed to implement an interface.

Lazily-loaded things are different from eagerly loaded things in important ways. If it's not possible to make that distinction visible in your language, get a better language.

> No, it will not be fixed. This version only appears to work by not closing the file until the generator is exhausted or collected.

Which is exactly what we wanted. It is fixed.

> Furthermore it demonstrates that often the context is not being managed locally. If a file object is passed another function, then it's being used outside of the context. Let's revisit the json version, which works because the file is fully read. Doesn't a json parser have some expensive parsing to do after it's read the file? It might even throw an error. And isn't it be desirable, trivial, and likely that the implementation releases interest in the file as soon as possible?

Look at iteratees for the full solution to this problem. Managing context can be hard, but it doesn't have to be; you just have to use the right abstractions.

> Those threads are essentially debating whether a resource pool is "leaking" resources.

If you open a pool and never close it, of course you're leaking everything in that pool.

> if all this orphaned file descriptor paranoia was well-founded, it would have been a problem back then too.

It was. Long-running python programs broke because they ran out of file descriptors.
You talk about a book.

A book written by people 2000 years ago.

There is not a single proof in existence, that this book is not more then a story equivalent to Harry Potter or any other Fairy tale.

And then the issues just start...

A omnipotent she/he/it who thought 'yeah going to earth 2000 years ago is the perfect and only timing i will ever go to earth', then creates humans (which are much older than that and we know that well enough) and then never comes back and helps us?

Whats that for a shitty leader?
C++?? A Critique of C++ (1992)
Velofel Male Enhancement Australia Reviews
Velofel is the best arrangement when you have lost trust in your sexual coexistence. There are numerous things that it can change in your reality. Absence of sexual execution can hurt your assessments just as the opinions of your accomplice. Before whatever else you should take a gander at the main driver of the poor sexual presentation. One of the definite shot things that you are feeling this need is because of the helpless testosterone level in your blood. Helpless testosterone digestion is the motivation behind why men are feeling weakness, cerebral pains, helpless muscle development and helpless sex drive. It likewise harms the charisma stream which is significant. Here comes the job of Velofel which gives a lift to your hormones and not simply testosterone. It is an execution pill that will raise your hormones and you will be right away a menu that each lady will want to have in their life. It encourages you develop muscles too.

http://wintersupplement.com/velofel-australia/

https://www.newsbreak.com/@c/524885

https://patch.com/users/jerry-phens/articles

https://publons.com/researcher/3753615/velofel-australia-velofel-male-enhancement-reviews/

https://messageboards.webmd.com/living-healthy/f/mens-health/120321/velofel-australia-reviews-price-benefits-guide-more

https://youtu.be/binxe0_hTAA
The W.H.O.'s prevarication on this point has been hugely harmful and a gift to anti-mask disinfo peddlers.

Just look at Hong Kong. A hugely congested city with no lockdowns but a 97 percent mask compliance rate and the pandemic is completely under control. What is the W.H.O.'s explanation for this at this point?
This looks really great--fully modern C++ coded by the best of the best! If it is like his other work, it will be a joy to use.
As an IDE, Freepascal does seem dated, not including many details that we've gotten used to in recent decades.

The language itself feels also frozen in the early 00's, have a look at string handling for instance. Very verbose methods, and a problem that's true for the Freepascal dialect in general: small incompatibilities with Delphi Pascal, the dialect any old veteran will be used to and as such also much documentation/discussion online. Add to that a near invisibily in places like Github, and it does not make for a very attractive platform, compared to some others. Freepascal/Lazarus has a nice forum, and if you happen to be working in the same niches as other guests, that may be enough, but otherwise... I also couldn't help but notice that the practices passing around zipped code bases/fragments is alive and well on there, mirroring the culture of small but closed source tools the Delphi ecosystem was famous for around 2000. While friendly, very dated and 'source hidden' in its ways.
I think it's very, very obvious that "custom styling" here is referring creator styling, not user styling, so I'm not sure that you're in a position to be criticising the person you're responding to for "misunderstanding".
"By default FPC programs and libraries do not use the C library on most platforms" (1) is what makes Free Pascal potentially interesting on Linuxes: sometimes the dependencies that exist when producing the binary using C or C++ simply disappear if one could write a Free Pascal program.

I haven't been able to use it in the environment I worked recently, but I had to waste so much time on the C and C++ library dependencies, different on different systems. Free Pascal seems to be a possible solution to that.

--------------

1) https://wiki.freepascal.org/libc_library
Which reminds me of the riddles in Yerofeyev's Moscow—Petushki (sorry, only in russian, my russian and my english are too bad to translate)

«Знаменитый ударник Алексей Стаханов два раза в день ходил по малой нужде и один раз в два дня – по большой. Когда же с ним случался запой, он четыре раза в день ходил по малой нужде и ни разу – по большой. Подсчитай, сколько раз в год ударник Алексей Стаханов сходил по малой нужде и сколько по большой нужде, если учесть, что у него триста двенадцать дней в году был запой».

«Когда корабли Седьмого американского флота пришвартовались к станции Петушки, партийных девиц там не было, но если комсомолок называть партийными, то каждая третья из них была блондинкой. По отбытии кораблей Седьмого американского флота обнаружилось следующее: каждая третья комсомолка была изнасилована; каждая четвертая изнасилованная оказалась комсомолкой; каждая пятая изнасилованная комсомолка оказалась блондинкой; каждая девятая изнасилованная блондинка оказалась комсомолкой. Если всех девиц в Петушках 428 – определи, сколько среди них осталось нетронутых беспартийных брюнеток?»

And my favorite:

«Как известно, в Петушках нет пунктов А. Пунктов Ц тем более нет. Есть одни только пункты Б. Так вот: Папанин, желая спасти Водопьянова, вышел из пункта Б1 в сторону пункта Б2. В то же мгновенье Водопьянов, желая спасти Папанина, вышел из пункта Б2 в пункт Б1. Неизвестно почему оба они оказались в пункте Б3, отстоящем от пункта Б1 на расстоянии 12-ти водопьяновских плевков, а от пункта Б2 – на расстоянии 16-ти плевков Папанина. Если учесть, что Папанин плевал на три метра семьдесят два сантиметра, а Водопьянов совсем не умел плевать, выходил ли Папанин спасать Водопьянова?»
FDroid gives same functionality in a different mannner.
As a practical matter there are very few mutations which indicate a 25% chance of a particular disease. Most of them have much more modest effects. Like I know I have a mutation which increases my lifetime risk of shoulder dislocation to 1.3% from a baseline average of 0.8%. So what.

The big one is mostly the BRCA mutations which increase cancer risk for women to around 70%.
I've played around in Tea For God (https://sidequestvr.com/app/65/tea-for-god-under-development) which does this on the quest, and it works really well, and I didn't even use the full 6.5'x6.5' (in my case ~6'x4') possible. Within a minute I lost all sense of where I was in the real world.
What specifically do you think UberEats and Postmates aren't doing as well as the competition?
The magazines the OP cites, Reason, The National Review and Jacobin, are all good, principled magazines from their respective points of view (National Review has written scathingly of Trump notably not as a concession to liberalism as well as I know). As someone well the left, I'd still take articles from either Reason or National Review seriously, for example. And Jacobin doesn't take a single, fixed leftist position either.

Aspiring to produce a magazine of that quality seems reasonable and quite possible in the abstract.
Ask OP: how do you plan to make money or atleast support cost of website?
Tesla to make molecule printers for German Covid-19 vaccine developer CureVac
What do you mean by execution? As a user, I've used them all, and like Uber Eats overall UX the best. But I suspect you were talking more about business operations?
Hey, thanks for the thoughtful response.

Yeah, I keep flipping between feeling exasperated by the situation, and then remembering the perspective you've detailed here.

Side note, I think you mean adaptive immunity, this is the part of the immune system creates immunological memory. See https://en.wikipedia.org/wiki/Adaptive_immune_system

Innate immunity is the non-specific part of the immune system and includes aspects such as removal of foreign substances, physical and chemical barriers (eg, skin, clotting factors in blood) and other anatomical barriers like the blood-brain barrier. See https://en.wikipedia.org/wiki/Innate_immune_system#Anatomica...
Atlanta Fed GDP Now -35.2% GPD
I have a USB 3.0 Orico enclosure with a Pi4 and I had to pass '-d sat' to smartctl for it to work:

smartctl -a -d sat /dev/sda

Newer versions of smartmontools shouldn't need it, only the older one that Raspberry PI OS has.
I just browsed for a good 15 minutes. It isn't a collection of the strongest critiques I've ever seen, but what I saw was certainly of higher quality than the quote you've provided.
Sure they do, otherwise I wouldn't be replacing C++ based applications with Java and .NET ones since around 2006.

Because JIT or AOT is just one little piece of the overall puzzle.
Perhaps we’ll look back and say “food delivery was the pet food of the 2020 startup boom/bust.”

I think these businesses are awful and probably unethical, but from the outside it would surprise me if a single winner could not make this business model work, once they had so much of the market that delivery schedules could reach high utilisation.
To be entirely correct you still have to call them "wind turbines" in dutch when talking about the energy generating kind.
You should look into the python Masonite Framework:

https://docs.masoniteproject.com/
There's a huge difference between shifting the payment risk from private insurers to the government, and real socialized medicine. Under most socialized medicine schemes the majority of healthcare providers become government employees.
> That's what "with" is for. Python's "with" clauses, unusually, play well with exceptions at scope exit. [...] Very few languages get this right.

I wonder if I'm missing something subtle here. What languages with garbage collection, exceptions and higher order functions get this wrong? I'd expect this to work fine in common lisp, smalltalk, ruby, or pretty much anything else that offers a similar idiom -- either by macros or by passing thunks.
The product might not be interesting but the English is fascinating
That's an astonishingly narrow interpretation of what ails social media, and I would submit are echos of problems that rest many layers above bedrock. Closer to bedrock is how the human psyche responds to the unfathomable scale and signal amplification algorithms which pervade all online culture.

Put simply, the internet cannot be expected to cure the human condition. We're not well suited to living in a world where community means millions of people. Aggregate human behaviour becomes too predictable at scale, and in turn more easily hackable.

And this ends up making people post intentionally inflammatory comments, such as an inference that privilege or resources reliably insulate people from loss or marginalisation. Individual humans from all strata are complex and deserve more respect than a game of intersectional olympics. My advice is to try to treat all people as individuals, no matter how satisfying it might be to marginalise groups as privileged, toxic or biased.
It's useful, if you are writing ternary search (over integers) or some such thing concerned with intervals, to be able to compute the length as hi-lo, and to be able to use hi<lo to check whether an interval is malformed, rather than writing hi-lo+1 and hi+1<lo. In the example about using modulo to place all integers into some interval upthread, most programming languages let you write (n-lo)%(hi-lo)+lo, but in Lua you should maybe write (n-lo)%(hi+1-lo)+lo. It doesn't seem like I am getting less likely to make errors here!
Awesome that you open sourced the game. I got it on Steam from a post on /r/PathOfExile

(PoE is a awesome ARPG with a massive build customization and I believe inspired game creates by OP)
The service is the same with all of these companies. Someone brings a bag of stuff to your door. In my experience they are all about as fast each other.
> So city dwellers in the ancient Roman world did not have kitchens

Thats not true ( https://quatr.us/romans/roman-kitchens-houses-ancient-rome.h... ).

Rich romans did have kitchens, poor people could not afford one and instead made food in their appartment room or bought food from streetvendors or takeout food from thermopolia.

There was likely no demand for food delivery as poor people couldnt afford it and rich people had slaves to make their food.
A whiff of fresh air! Really interesting graphics!! Thanks for sharing
Look at Norway, barely any lockdown, no mask wearing, and pandemic is pretty much gone - curve smashed, instead of flattened. In the middle of Norway's lockdown IKEA was packed with no occupancy limits, malls were open, public transport was running and airplanes were operating.

Look at South Africa where masks are mandatory and DEATS PER DAY (actual curve that matters) keep going up.

Look at USA where in spite of the media fear mongering the DEATHS PER DAY keep going down.
Erasure codes are so cool. This was posted to HN a while back, did you see it? https://www.cberner.com/2019/03/30/raptorq-rfc6330-rust-opti...
Thanks for the clarity. Yeah, I agree it would be unhelpfully repetitive if every commit in a given feature branch merge has nearly basically the same title. That's not best practice anywhere I've worked.

By contrast, referencing the ticket number (but not necessarily ticket title) is common practice in the PR message, and seems much more helpful.
It already can. I'm a few weeks away from releasing a private alpha, so if you're interested I'll be happy to let you try it in exchange for feedback.
Title is bullshit, please fix it.
And since Java 11, OpenJDK has inherited the PGO and JIT caches capabilities of J/Rockit, but people still use Java 8, so they have any idea of what modern Java JITs are actually capable of.

OpenJ9 and ART also have similar capabilities.
As author mentions, it is non-idiomatic Rust with lots of unsafe's, basically writing C code with Rust compiler.
Advances in catalytic activation of electrolysis are coming thick and fast.
Working on an algorithm for recovering the text you type just by analyzing the keyboard sound captured through the computer's mic (i.e. acoustic eavesdropping). The hard part is doing it without having train data for the keyboard.
This never works because the people attracted to anonymous discussion with no ‘cancel culture’ (no banning/moderation?) ARE those who have been radicalized and would get banned for it anywhere else.
Rust can also match on ranges which is perhaps the most idiomatic form for this.
Open Source Money
I dislike the ternary operator in languages like C++. And many languages copy-paste it because they are used to it. I much prefer the more literal and reversed form in Python.

Instead of:

int salary = isEmployed() ? 2000 : 0

I prefer:

int salary = 2000 if isEmployed() else 0
They are also in favor of cleaning up the net in favor of advertisers.
Unfortunately this is the dilemma of new construction: you have to entertain to survive, because nobody wants to talk in an empty room.
Not free, but Araxis Merge is pretty good.
The textmode IDE is largely a fallback for platforms that Lazarus doesn't support yet, pretty much everyone nowadays uses Lazarus which is very featureful (and very fast, IMO it puts pretty much other IDE to shame considering the functionality it has and its responsiveness and resource requirements).

Verbose methods are a convention that you'll find in other languages too (e.g. Java and C# and also some C++ projects).

What is the issue with string handling?

Free Pascal has several language modes, one of them being Delphi which should be compatible enough to share and port code between the the two compilers (though the default mode in Lazarus is ObjFPC which is different and IMO the better mode). In practice the differences are small enough that unless they refer to very internal stuff (e.g. memory layout of RTTI data), anything you find online about Delphi also applies to Free Pascal (assuming of course that FPC has implemented the functionality, but since you refer to old veterans, i think everything those veterans and old discussions will be there).

I'm not sure what you mean with passing around zipped codebases, there are a ton of projects on GitHub. And how can a codebase be 'source hidden' when it is available as a zip?
Reintroducing Dip – My take on a programming language for beginners
Hello. A few weeks ago, I had posted a very basic version of a programming language that I put together, called Dip. I was blown away by the kind and honest feedback given by the community, and have worked on it, adding examples of Dip code so users can get to know the language, adding a learning path for beginners so that they can learn how to code in a streamlined fashion, and also changing the site to match the language’s identity.

So now, I (re)introduce you to Dip, a small project I’ve been working on, which also happens to be a programming language targeting beginners. I’ve tried to make the syntax easy to understand, and also tried to make the language easy to read and write for complete beginners. I've tried to eliminate a few issues the Python language has (such as indentation and error messages), though it is up to you to see to what extent Dip succeeds. I’ve also tried to allow Dip to communicate with Python, so users are not limited to Dip’s features, because the way I see it, Dip is not meant to compete with Python, and does not aim to, but I think Dip’s simpler syntax and error messages might be useful to beginners in some cases and get them up the learning ladder, and I would love to see Dip being used as a stepping stone by the Python community, learning the ropes using Dip, and then moving on to Python.

You can look at Dip’s website at dip-lang.org.

I would love your feedback on how I could improve the language.

Also, if you wish to contribute to this small venture of mine, feel free to help me with the core language or the site on Github.
My current theory is that you would make Reddit much better if you would make spillitting and merging subreddits much more fluid eg users could vote that branch this subreddit and they would automatically moved to "new branch".

Also I would change moderetion to slashdot style https://en.wikipedia.org/wiki/Slashdot#Peer_moderation so moderation would be basically comminity based.
The fact that India has a water crisis, caused by a political/corruption crisis.

https://thewaterproject.org/water-crisis/water-in-crisis-ind...
This is probably a good thing, if you don't want to have tickets filed about whether midnight (time of day) is truthy, whether Jan 1, 1970 is truthy, why some type of empty collection is truthy but others are not, etc.
The part that's frustrating is that, prior to all these companies, most of the same restaurants I order from had free delivery, but you had to call in, no nice mobile app to go along with ordering, payments, showing the driver on the map, etc.

Now, you do get all that nice UX convenience, but you pay extra for it.

I feel like in the end, the issue here is that those companies are just a bit of a useless middleman, not providing enough added value.
If you wanted to list out cases without having to use `if`, `else if`, you'd idiomatically use match:

fn calculate_tax(income: i32) -> i32 {
match income {
0..10 => 0,
10..50 => 20,
_ => 50,
}
}

See this playground for a couple other alternatives using match too https://play.rust-lang.org/?version=nightly&mode=debug&editi...

As others explained, you do need a default case (either an 'else' in your if statement, or an exhaustive match), otherwise how would the expression typecheck?

For a concrete example, if you use an 'if' only, you can have the following:

let x = if income < 10 { 0 };

At that point, there's no way to statically know x's type. If income is >= 10, x is what?

In order to convince the compiler x has a statically knowable type, the "if" expression need an else statement, or should be converted into a match that the compiler can prove is exhaustive.
We already have those social networks. They’re called forums. (I know some introduced likes but they don’t mean much, since your post is still just as likely to be seen as everyone else’s.)
Intel has contributed vectorization support, all the way to AVX.
Ask HN: What to do when nothing makes sense?
Thank you for linking the article. I had never heard of the US Agency for Global Media before. I have not read that much about it yet but it sounds in line with some of the criticisms Chomsky levels at U.S. propaganda. I would be very interested in any other sources of information you might recommend on this topic or hearing more of your own thoughts (my email is in my profile).
A former gf of mine worked at Nortel (shipping) and she would mention a lot of what was written in this article.

I thought it more or less conspiracy theories or drama, not realizing it could be real.

Stupid me I guess
I think Apple Notes, OneNote and especially XMind solves this pretty well? For me at least.
It’s not a third of the top board games. It’s 5 out of 15 games.

I’ve played enough games to realise anything in the top 200 is probably quite good. Probably anything from 201 to 500 is is also good.

Erring on the side of caution, maybe 20% of the top 200 may have magic or occult elements. I have far too many board games. I maybe have 5 that are occultish, have magic or pagan religions. I’m actually really surprised. I thought it would be more. I have more games about farming.
Stackoverflow doesnt have a good recommender system that can suggest questions to me that I can answer. I am trying to build one using their data from the data they post online.
Sounds interesting. Everything on that site is blocked by request a demo. Why do you not have an ungated overview video?