skysight-inc/HackerNews huggingface dataset:
Water Drink Reminder reminds you to drink enough water. Proper hydration keeps your skin healthy and helps you lose weight.

The benefits of drink water reminders app:
- Create a habit for you to drink water every day
- Drink water at the right time and the right way, add appropriate amount of water into the body
- Drinking enough water will help you lose weight, beautify your skin, enhance brain function, fight disease, maintain a healthy and uplifting spirit.
Just enter your current weight, and Drinking Water will help you to determine how much water your fit body need everyday . Every time you drank a cup of water, don’t forget to add a cup in the app. Your next cup will be remained.
So, "drink water" is like a companion to your health. Use now to your water tracker.
Open the paint example.. it actually takes a few seconds
Not really, they have addresses pretty much all of the issues. Now, you can argue that they favored compiler authors when doing so, but they have consider the problems and done things in response to them.
The following part from [0] seems relevant a bit too:

In the 1970s, I met Leni Riefenstahl and asked her about her films that glorified the Nazis.

Using revolutionary camera and lighting techniques, she produced a documentary form that mesmerised Germans; it was her 'Triumph of the Will' that reputedly cast Hitler's spell. I asked her about propaganda in societies that imagined themselves superior. She replied that the "messages" in her films were dependent not on "orders from above" but on a "submissive void" in the German population. "Did that include the liberal, educated bourgeoisie?" I asked.

"Everyone," she replied, "and of course the intelligentsia."

[0] http://johnpilger.com/articles/the-return-of-george-orwell-a...
Just like all those people with “off road” (no muffler) exhausts, right?
I think the parent comment was saying that you could always make that explicit.

> By setting the value as null initially I can easily check whether the variable has been filled or not

I don't think there's anything wrong with this but it does mean your variable can be in two states~, one where "it shows it should be filled" and one where the value is present and can be used.

You can use null for this if you want and most programmers will understand these states. You can also choose to make this even more explicit by creating a type that expresses this.

example in Kotlin but you get the idea (applies to any variable in any language)

sealed class ThatVariableYouCareAbout {
object ShouldBeFilled: ThatVariableYouCareAbout()
data class HasBeenFilled(val x: String): ThatVariableYouCareAbout()
}

// usage
fun test(thatVar: ThatVariableYouCareAbout) {
if(thatVar is ShouldBeFilled) {
//
} else if(thatVar is HasBeenFilled) {

}
}

Seems overly verbose but that's the reality of the variable you're talking about. This represents those states you described. `null` is a crutch in most languages for representing this state and the cause of a lot of subtle bugs (people use it to reset/clear out values too which in reality could represent a different state depending on what you _really_ want the variable to represent).

All that being said, null is generally understood to have this meaning~ and I have/do use it but with an understanding that it's of lazyness/not wanting to be overly verbose (language consideration).

The case you are describing is very familiar to me (rendering UI with initial states through a framework like react) and having an explicit type for the initial state is the ideal, or at least the most explicit, solution.

Option works for 2-state variables like this
Clear the decks of ML engineer time. Your ability to get value from ML engineers directly relates to how much unblocked autonomy they are given. If they are overloaded with bureaucratic chores or maintenance tasks or on-call responsibilities, it is just directly subtracting from their comparative advantage of conducting model training and optimization.

We aren't even close to understanding even this basic concept in some organizations. Sometimes when a data scientist walks into a job in some industries, this is what they are dealing with:

"What's an ML engineer? What do you mean we need to invest in data infrastructure? Email Bill over in that other department and just ask him to send you the Excel book like everyone else..."
Securing Crypto Keys: Ancient History Provides Clues
DNSimple status – Higher than normal DNS errors
Programming system is "fun" when you do not have to read stupid manuals ever and error reporting system tells you what you should do. I do not remember ever reading anything about python.

Clojure is the most unfun lisp indeed, unless you know java.

Clojure 1.9.0
user=> (+ 'a 1)
ClassCastException class clojure.lang.Symbol cannot be cast to
class java.lang.Number (clojure.lang.Symbol is in unnamed module
of loader 'app'; java.lang.Number is in module java.base of
loader 'bootstrap') clojure.lang.Numbers.add (Numbers.java:128)
How the Coronavirus Is Spread Through the Air
> This becomes especially pressing, says Westerling, when you consider that every future fire season in the American West is likely to be worse than the last, on average. “How do you adapt to that? It’s not just California,” he says. “It would be the whole West Coast and the Rockies and parts of Canada and Alaska all going off on a regular basis. So just the magnitude of managing fires over that geographical scale simultaneously is staggering, right down to the psychological impact of living with that.”

So we're just at the tip of the iceberg, and experts (from a different part of the article) are saying the worst is at least 10 years away.
Yiddish is written in both hebrew letters and latin letters, but is one language. Language speakers don't care too much about the script when evolving their language; they use what they have.
Ask HN: Suggestions for a Junior/Bootcamp Grad?
A friend of-a-friend who graduated from a bootcamp at the very beginning of covid-19 (really bad, because the demo day was kneecapped) reached out asking for suggestions on how to go about maximizing the impact of their search. Does anyone have suggestions for them? Is the sentiment that hiring juniors is more or less of a thing during covid?
I understood well what was said about Safari and Firefox.

I may have misunderstood how well it works/doesn’t in Chrome. For right or wrong I understood that MathML didn’t work at all in Chrome.

If there’s some support for a feature, even if it’s ropey, and if there’s no support for that feature in Chrome, then using that feature attacks Chrome. People will have to use other browsers in order to use that feature. They might then continue using that browser.
How the Election Results Will Impact Your Investments
Danish intelligence have access to cables running through Denmark. This is what you should expect.

This whole debacle is about Danish intelligence giving US intelligence access to the Danish cables - not the other way around!
> If your C code happens to be compileable with a C++ compiler, then either your program is very small or you are writing really shitty C.

It is easy to write C code that is compatible with C++ if you have compatibility in mind from the beginning. Most of time: 1) cast malloc() – you can define macros for less code; 2) avoid C++ keywords; 3) don't use VLA which is not recommended anyway; 4) add __STDC_LIMIT_MACROS for uint64_t etc. Use -Wc++-compat also helps. It is harder to modify existing C code for the compatibility with C++.
He’s written a ton of words for money during this time. He’s clearly a procrastinator of almost mythic proportions, but he’s not lazy.
My home page (a few hundred pages, lots of images) took over one minute to build with Jekyll and around a second with Hugo. Waiting for a minute for every tiny change I make trying to figure out things makes it completely unusable.

That said, Hugo is the only piece of software I remember that makes me feel stupid.

It must be a awesome if you use it frequently, but I only make changes to my sites maybe once per year. I often struggle for hours to make simple changes or to figure out why it's not working. Two examples:

https://discourse.gohugo.io/t/raw-html-getting-omitted-in-0-...
https://discourse.gohugo.io/t/comprehensive-hugo-tutorial-fo...

Sharing the feeling of others in this thread and happy to discover Zola! :)
Thanks! That worked great.
"The situation is a lot more nuanced than that."
Cadillac Escalade's MY2021 Curved OLED Display Is High-Tech and Useful
I am not sure we can fix the web until other browsers actively treat Chrome developers as a hostile entity. Firefox and Edge teams have both been repeatedly screwed by the assumption their counterparts at Google were acting in good faith.
It was much easier to suppress info back then, and it is much easier to spread misinformation today.
git itself doesn't support a decentralized push as far as I know, or rather that decentralized hosting infrastructure hasn't been built to seamlessly work with git.
Interesting foreshadowing of many themes in 1984. For example: “There is, for instance, no such thing as ‘science’. There is only ‘German science’, ‘Jewish science’ etc. The implied objective of this line of thought is a nightmare world in which the Leader, or some ruling clique, controls not only the future but the past. If the Leader says of such and such an event, ‘It never happened’ – well, it never happened. If he says that two and two are five – well, two and two are five. This prospect frightens me much more than bombs – and after our experiences of the last few years that is not a frivolous statement.”
There's been an explosion in P2P CDN space ever since u/feross' PeerCDN hit the scene [0]. At least one was funded by YC [1]. Some of the others are opensource [2][3].

Some day webtorrent itself would be capable of streaming large files [4]. And of course, there's peertube [5].

[0] https://gigaom.com/2013/03/28/peercdn-p2p-cdn/

[1] https://www.ycombinator.com/companies/1559

[2] https://p2p.cdnbye.com/en/

[3] https://p2pcdn.io/

[4] https://github.com/webtorrent/webtorrent/issues/86

[5] https://en.wikipedia.org/wiki/PeerTube
A=S(t); B=C(t);
for (c.width=X=128; X--;) {
for (Z=1, R=T(X/81-.8); a=20+(R*B-A)*Z, b=132+(R*A+B)*Z, (a^b)%7>1;)
Z+=.1;
for (Y=-48; Y++<48; x.fillRect(X, 36-Y/Z, z%7<6?Z/8:z+t*6&a&&-1, 1))
z=(a+b)*8<<a%2, z=z-Y^Y+z
}
Yes, the old, old way of having a single condition code register or the like (which dates back 40+ years) doesn't work well these days.

I like the Mill CPU approach, where every "register" (it doesn't have named registers actually) has the full set of status bits associated with it, and not just for overflow. Things like "not a result" (NaR), which can represent the result of a failed speculative load for example (because the process doesn't have permission to read from that page, for example).
ErrorValues! Thank you! This is exactly what I was looking for. Post: https://blog.golang.org/errors-are-values

> but readability is poor when every error must be handled many times instead of implicitly returning to callers.

I should clarify that I'm only using these types for parsing and transformation pipelines and not as a general replacement for exception handling—in other words only in places where you'd have to already worry about undefineds, nulls, and NaNs.
It’s a lot easier than you’d think. Unless you’re going really slow, motorcycles are pretty gyroscopically stable.
I think more about the fact libxml and libxslt are large pieces of code and have had CVEs raised against them (and fixed) in the past. They are still actively maintained.
You mean this: https://www.washingtonpost.com/nation/2020/10/15/matthew-dol...? In all seriousness, though, I wouldn't attribute it to "the left", as fringe people do crazy things, and there are enough fringe people on both sides. What matters are patterns of organizations and institutions.
Yes, though the details vary quite a bit.

https://en.wikipedia.org/wiki/Regulation_of_gene_expression
If you publish a youtube video publicly, there is an expectation that the public is allowed to view it.

Is the idea that the author didn't have the rights to publish the video in the first place, due to things like unlicensed background music?

Thus far, Youtube is under the safe harbor principle of the DMCA, and as long as they honor those takedown notices, the end user is not likely to be held accountable. The software they use is even less likely to be.
I've used a fair amount of different cars as I'm part of a city car club.

I can't say I see this at all. Even their tactile controls are generally a mess.

Controls as basic as window wipers or headlights seem to be different for ever car for no discernible advantage.

A different 'start' mechanism for every car is actually quite a nightmare. I once spent 20 minutes in a car park trying to figure out how to get the damn thing to start, even their own instructions didn't say how!
I really cannot say. I don't have enough users to stress the server, and my server is running on a $20 per month Digital Ocean VPS.

CouchDB is designed to process huge numbers of files.

PouchDB makes it very easy to work with CouchDB. You can use plain JS to process the data on the client side but you can also do data processing on the server side and send just the results to the client.

There are some things you have to do on the server side for security purposes, like setting up a new CouchDB database and user. You can do that with PouchDB but you have to include the CouchDB admin credentials. I don't run PouchDB on server side but that can be done as well with Node.js.
The Early Days of Voting in America: A Lot of White Men Drinking in Taverns
Free eBook on Deep Reinforcement Learning – AI Summer
While it's not close to a complete solution, I'm glad that we have Unicode to help.
C++ templates are „untyped“ or very „weakly“ typed at the kindest, while Rust generics are „strongly“ typed.

That’s the main difference in these languages features.

Saying that Rust generics are „weaker“ than C++ templates is technically incorrect, since they are actuall „stronger“.

Using these terms to mean something else is definitely „weird“.
I am impressed that you were born with the knowledge of Python embedded in your brain.
>Yeah, it's almost as if human beings care about concrete, meaningful changes that affect their lives and not some all-encompassing, abstract class struggle.

The plantation owner worries only about the bottom line and the suburbanite is upset that the homeless are visible not that they exist. When these positions become virtues and problems are dismissed as abstractions, the society dies.
Build a simple social network using Django and Vue – Tutorial
There isn't an alternative, largely i think because XML people come at the problem from the idea that documents are primary, not just artifacts of programs.
Exactly. If people want insurance they can get insurance. If the storage space wants to get liability insurance, they can get that insurance themselves (and if they choose to pass through the fee, they can bundle it into the advertised price and not try to pretend like it's for the benefit of the customer).
I don't see how that argument applies to language but not culture.
I read is as a pretake on 1984. The concept of double-think etc.

Basically, people want to believe facts that align with their ideology and reject facts that do not. This keeps people focused and less distracted by doubts.

In 1984 this gets exploited in a regular manner.
There was another time, not long ago, when people justified doing or facilitating vile things against masses of fellow humans as “just following orders”.

Their point is valid—refusing might cost own life, and there's the prisoner's dilemma, etc. A situation like that seems unlikely to be resolved from within a system itself.

However, appeals to consequences aside, in the end each of us has a choice: write that code (slash architect that solution) or not.
[2] is not open-source as well. It is a paid service.
Is the constant used anywhere? What does it change?
> I think it's good to point out once in a while that there is no right to drive a car, but there is a right to walk in public spaces. The responses in these threads always devolve to "But I have to drive my car, and if I can't do it safely, then people are just going to have to die."

from a formal legal perspective, sure, but this kind of ignores the "facts on the ground" in the US. it's unfortunate, but most people in this country really do need access to a car to complete basic life tasks. outside of uncharacteristically dense places like NYC, it's a privileged minority that is able to get by without owning a car or having a reliable friend / family member that owns one. I live in one of the few truly walkable areas of my city, but I can only afford this because I have a good software job 25 miles out in the suburbs.

> If you really can't drive slowly enough, then avoid streets like that, ride a bike, walk, bus, cab, etc. In these kinds of crowded, pedestrian-filled areas, I'll drive 10 mph. I don't care. That's the speed I feel is right and safe for me and my neighbors. Speed limits really are limits. I _can_ drive slow enough.

even 10 mph isn't slow enough to avoid hitting a pedestrian in every possible situation. it takes around 0.7-3 seconds for a driver to notice a hazard in the road and start applying the brakes. if you are an exceptionally alert driver and hit the 0.7 s figure, you have already traveled 10 feet towards the pedestrian before you've even started to slow down. if the pavement is dry and your brakes and tires are in good condition, you will come to a complete stop in another five feet. if, as in my example, someone darts out from between two parked cars, you will hit them if you do not have at least 15 feet in which to stop (although you probably won't injure them severely at this speed). again, this is assuming absolutely ideal conditions for you and your vehicle.

keep in mind, people routinely bump into each other while they're both walking. no amount of caution is sufficient to prevent a mishap when one party is totally oblivious. this is what I'm responding to here. I totally agree that the driver of a 1.5+ ton vehicle has a greater responsibility than someone moving under the power of their own two feet. what I don't agree with is that a pedestrian can step into oncoming traffic at any time and expect the whole world to stop for them or for it to automatically be someone else's fault if they get hit. as individuals, we can't reorganize america's entire transportation infrastructure overnight to eliminate the need for cars. we absolutely can accept a few minor inconveniences to make transit much safer for drivers and pedestrians both.

also, random aside: why do so many people suggest a bus or a cab as an alternative to driving in these threads? a bus or cab driver does not typically drive any more carefully than I do. all that accomplishes is to shift the liability onto someone else. the liability is not really a problem for me in the first place. I already drive more carefully than is needed to avoid legal fault in these situations.
I think the idea is the increased security risk of potentially poorly maintained large body of code with a wide surface area.
> If you look up the history of the last war in, for instance, the Encyclopaedia Britannica, you will find that a respectable amount of the material is drawn from German sources. A British and a German historian would disagree deeply on many things, even on fundamentals, but there would still be that body of, as it were, neutral fact on which neither would seriously challenge the other. It is just this common basis of agreement, with its implication that human beings are all one species of animal, that totalitarianism destroys. Nazi theory indeed specifically denies that such a thing as ‘the truth’ exists. There is, for instance, no such thing as ‘science’. There is only ‘German science’, ‘Jewish science’ etc. The implied objective of this line of thought is a nightmare world in which the Leader, or some ruling clique, controls not only the future but the past. If the Leader says of such and such an event, ‘It never happened’ – well, it never happened. If he says that two and two are five – well, two and two are five. This prospect frightens me much more than bombs – and after our experiences of the last few years that is not a frivolous statement.
And designated initializers.
I agree that teaching C++ as "C and then some stuff on top" is probably a bad idea. But I also think that it's not technically incorrect to say that "C is mostly a subset of C++", at least as far as most C constructs will work in C++ with only minor tweaks.

It's a bit like saying that operating the windscreen wipers is a subset of knowing how to drive a car. It's strictly correct, but it's probably not where you should start nor where you should put most of your attention if you're looking to get you license.
I've had one since July and unless your needs and expectations are very low, it still has a long way to go to achieve daily driver status for me. If you only need it to replace a very low end smartphone (i.e. just making phone calls and text messages with very low expectations for apps/web as you might use a sub-$100 smartphone for) then it might work for that definition of daily driver. What it is right now is an excellent mobile Linux device that is perfect for me in many situations that I'd previously consider using a SBC or don't want to lug a laptop around for a few minute task. It will get there eventually, but the software still needs a lot of work and the hardware probably needs to advance a generation or two.

For a daily driver, I literally just went out and picked up a new Android device this weekend because I can't see the Pinephone being able to take on that role for me from a software standpoint for quite some time or with this generation of hardware.
Who cares what kind of screen it has on the dashboard? It burns gas, which is helping to drive humanity to extinction, and can't drive itself. I'll pass!
You're right that it is not possible to define the reals using the language he started with, but it's worse than that. It's also not possible to define the natural numbers using any first order theory. There is no way to extend a first order theory so that it defines the natural numbers and only the natural numbers and furthermore there is no way to define a first order theory that defines the reals and only the reals.

Having said that, you were originally right that no theory of the reals can be satisfied by the rationals, but that's for a fairly unrelated reason.
I can’t imagine being in 100 Discord servers. Could you share your use case?
Well, I don't think you had a good look at toolkits like Qt. They provide a lot more than just a bumch of widget and window frames. There are application framework style features in there like a very capable undo stack, abstractions over resource loading, MVC pattern implementations, plugin loading, ...

Also, advanced toolkits like WPF and Qt allow you to build upon existing controls and extent and nest them in really interesting ways to create powerful UIs.

You can also do pretty crazy fringe stuff easily like adding arbitrary widgets to context menus. Arbitrary widgets within list view or tree view items are probably more useful. The trick is to take as much of that composability as you can for your use case and build upon it.

(I am sure other mature toolkits have similar properties, but Ibam not familiar with them to the same extent)
The missing explanation of ZK-SNARKs: Part 1
Surprised there doesn't appear to be a wildlands firefighter reserves program where normal people are trained to firefighting skills and then have a refresher course for a week before sticking us in the flames.
Suffering isn't an abstraction.

The notion that suffering is caused by the subjugation of one class at the hands of another is an abstraction. That doesn't mean it's wrong -- it is almost certainly right with respect to a given time and place -- but to pursue that abstraction as if it has absolute validity (as if it is all-encompassing) is what I'm criticizing.
Money Creation