skysight-inc/HackerNews huggingface dataset:
I kinda forced a friend of mine into using element/riot. He mostly complained about the lack of "polish" (which I also feel, and I'm a rather "frugal" user). He proposed Threema as an alternative, so I guess that the polish is quite the missing box.

The box I'm missing in Threema (unless I'm wrong of course) is the "not centralized" one. If for some reason (and admittedly, there aren't many realistic ones), Threema's servers/organisation are corrupted, the whole networks falls, right?
The thread you are replying to involves macOS.
You’re comparing ARM pre SoftBank and post SoftBank. SoftBank has burnt a ridiculous amount of money and turns companies into money burning machines.

I’m sure WeWork imploding and other portfolio businesses not meeting expectations are also influencing the sale.
We love to romanticize the past, when people supposedly did fine without energy-wasting gadgets.

The oft-forgotten truth is that people in the past just died more. And still do, in many parts of the world that are surprisingly close to us.
I don't know yet, in the announcement they didn't qualify what open source means for them. Will the complete client be open source? Will only parts of the client be open source? what about the server? which license will be used? We'll have to wait and see if this is useful or just marketing for the company.
> e.g. include a C header which only has declarations in it

That seems like an awful amount of work just to prevent C++ programmers from using any existing C library.
The reason was originally to admit portability to different architectures and different environments. The primary difference between undefined behavior and implementation-defined behavior is that implementation-defined behavior must be accepted by the compiler and yield a working program. Undefined behavior can error out at compile or run time -- but it doesn't have to.

Some examples:

1. When C came out, you couldn't assume a two's complement machine. So some architectures would yield different results on signed over/underflow than others, and some architectures might trap on overflow. Hence, signed overflow is undefined in C.

2. Did you know the Lisp Machine had a C compiler? It did. Because pointers on the Lisp machine were tagged and bounds-checked to ensure memory safety, this compiler implemented C pointers with fat pointers, containing a reference to an object and an offset within that object. Most machines you are familiar with allow indirecting through arbitrary integers; the Lisp Machine is an example of one that does not, trapping on invalid pointer accesses. Having C and C programs available in both environments mean that indirecting through a pointer that does not point to or inside some pre-existing static or dynamically allocated object is undefined.

3. Operating systems with virtual memory can arrange things such that indirecting through 0 (NULL) will raise a segmentation violation in user code, guaranteeing a pointer value that is always invalid -- but inside the kernel you may want to access memory location 0. So accessing null pointers is undefined.

By leaving these undefined, you are not committing implementors to adapt the abstract machine to the underlying hardware in cases where hardware can widely differ, allowing for simple implementations that yield fast code on all architectures they compile for yet still allowing for a useful subset of C code to be 100% portable.
"There are three kinds of lies: lies, damned lies, and statistics."
What's the advantage of using a LSP over, say, ctags and cscope ?

I currently am using that, along with the https://github.com/stefandtw/quickfix-reflector.vim for quick refactors, and it seems to work fairly well.

Is it because of method signatures or is there a killer feature that I'm unaware of ?
Most software engineers without a strong background in physics or CFD won't be able to reliably explain how an airfoil works either. Having a wrong mental model (equal transit time of air molecules resulting in lift) does
not mean airplanes are not useful.
Why wouldn't lawyers run a vpn service in order to collect IPs?
It's worth adding that GNAT, at least, has pretty-printing tools that will fix up casing to whatever standard you've specified in your project.
I actually built something almost exactly like this internally. This is awesome.
But, its a far cry to call this an ORM. Its just a safe query serializer. ORM takes an object and writes the query for you.
How does this not protect the current power structure? It feeds people into for profit prisons and also suppresses voting rights and job opportunities for anyone who gets a record.

This is a conscience effort.
Yes, but only downside of that is beep sounds and stateless, while Echonet Lite can provide you all internal properties like outdoor temp and etc and also current settings.
For people who read the comments here but not the primary sources[0], you've put words into Dennis Ritchie's mouth. He did not say that UB must go, but that noalias must go. And, lo and behold, it did. So these (altered) quotes are not at all a fair characterization of what's actually in the standard.

[0]: https://www.lysator.liu.se/c/dmr-on-noalias.html
There doesn't have to be a clear bright line, even when the law seems clear the reality is many times fuzzy. This is why we have judges, to make a ruling in the spirit of the law.
In this case, if the likeliness is close enough then it's forbidden.
Both Google and Facebook want you to believe this. But while a Google-operated study found a 52% revenue benefit to targeted advertising, an independent academic study found a 4% benefit.
I looked at that model (I can't install a traditional mini-split at my apartment) as a way of reducing the noise in my bedroom b/c of the AC, but the reviews are mostly bad, and many related to issues with the refrigerant after trying to disconnect and reconnect it over time...
my wife and i are looking at property in the mountains of SE Oklahoma. I'm hoping starlink comes online in the next 2-3 years.
EZ Checks – Print Checks Online – Unlimited User. Instantly Any Printer
As an exercise, go read the front page of cnn.com right now. Do you still believe all of it?
I'm not sure why this is downvoted. It's absolutely correct. https://thehill.com/homenews/state-watch/501771-florida-poli...

Furthermore, there are a startling amount of startups that sell these technologies to the police. They love testing on Floridians. https://www.nytimes.com/2020/01/18/technology/clearview-priv...

Edit: I probably just increased my points— +1 for reading the article, and +2 for posting this comment.
The article mentions a Czech holding company owning some of these sites. The amount of porn, both straight and gay, produced in Czech Republic is astounding. You can't live in Prague without being harassed by the industry. I received a cease and desist letter for physically pushing some porn producers harassing people on the busiest street in Prague.

https://www.reddit.com/r/europe/comments/arhzub/pornstars_pe...
Having individual heating and cooling units (per unit gas heaters!) is stupendously inefficient.

I travel in Asia fairly regularly so this isn't new to me, but even after all of these years I can't believe I continue to see shiny, brand new "high end" condo buildings in Hong Kong, Shanghai, Tokyo, Seoul, etc., with individual AC units hanging out the window.

Contrast this with a condo in Minneapolis that I own wherein heat and AC are central in the building and individual units can set their temperature to whatever they like - all run with tremendously higher efficiency.

It was explained to me once that there are Asian (specifically, Chinese) attitudes towards thrift that make it inconceivable/impossible to pay for AC that someone else might be using (or misusing). I don't know how true that is.

What I do know is, my building in MPLS looks very nice without several hundred crappy boxes hanging out the windows.
no, its not.

Thats the point: the mental model is irrelevant unless it causes bugs when you use it wrong.

Does it? Does it actually cause bugs?

Not, “in general”; You’re just doing the same thing again here and doing vague hand waving. What actual bugs? What types of bugs?

Be specific

(yes, it does cause bugs, but see how this conversation is pointless when you don’t provide any details? Right, now go read the first post in this thread.)
I was confused because when I'm in tmux `who am i` (or `who mom hates` or `who -m`) prints nothing. I thought that might've been the joke -- I'm nobody (or something). When I detach from tmux and run it in the login shell directly it works as expected. The phrasing in the man page ("'am i' or 'mom likes' are usual.") is also pretty strange.
There's a difference between being possible and trivial. What once required professional artists can now be done by kids with lots of free time. That changes the dynamic and new problems arise.
The difference is in the number of obstacles involved. The local police force would have to go through some hoops to track your devices and online activity. On the other hand, a national database would give them every information about you at the clock of a mouse - no expertise required.

Of course, the former will be an issue regardless, especially when it involves state level or national level police forces pursuing some overarching motive. But the latter can be used by the local yokels masquerading in uniform. Imagine if a policeman had some beef with you on a personal level and was able to access all your information, including your name, Date of Birth, Addresses present and past, and your family information. Because that latter bit of information was what was used to pursue most of the activists and protesters in the Indian example.
That he measured his strength by "maxing out all the machines" pretty much says everything you need to know about the accuracy of that statement
Best to look at raw data and original sources whenever possible. The media is an unreliable middleman.
OpenAI reveals the pricing plans for its API – and it ain’t cheap
The frustrating part is that the standard lib is just good enough that you also don’t tend to get good adoption for third party libraries, which could easily provide better abstractions.
> Aristocratic comes with way more baggage than what you describe; and you only have to look at jolly old England to see that. To be an Aristocrat. You had to be landed, but you also had to fit somewhere in the Peerage or established Nobility. That whole system of class stratification? That came with an entire Parliamentry House in the form of the House of Lords.

You never answered my question, "How would you define the ability to vote, as only going to select white men?"

My point still stands as historically sound. The founders/govt were upper-middle class by England's standards and they recreated a very similar aristocratic structure here in the 13 colonies but with the founders at the top.

My point can also be supported by how State Legistatures would pick Senators, the electoral college, lifetime appointments to SCOTUS, lack of term limits on Congress and POTUS. These are all putting power in a select few. The select few aren't as wealthy as England's elites but the founders were very rich (the elite of American society).
Something that I still don't grasp with React:
1. Your render function runs quite often, e.g. on each state change.

2. But it runs a bit differently sometimes: const [a,setA] = useState(1234);
Here "a" will have the value 1234 on the first run (what is a first run? When react instantiates this component? When it mounts?) Then this same line of code will assign a different value to this same variable, because setA was called in the past. Why? How does it know that this exact local variable needs a different value?
Almost every language has a less advanced type system than Haskell. But compared to most mainstream languages, Ada's type system is still quite advanced.
Very good book, “the Depths” about depression. It argues it’s partially an evolutionary response.

Also “quiet” by Susan Cain is even more excellent and insightful about introverts.
Yes, but write the DDL by hand rather than having it auto-generated.
Yes but I felt it was wise of me to talk to readers whom...might've thought you were serious. :)
It is becoming mundane. I was in bed when I heard the launch. I didn't bother getting up to look since thy just launched one from the Cape a few days ago. I'll catch the next night launch. Those are spectacular.
Alert HN: YouTube discontinuing new community-submitted subtitles from Sep 28
We Managed the Euw2-Az2 AWS Downtime as a Managed Services Company
Creating Kubernetes Auto Scaling Groups for Multiple Availability Zones
> Shame that the tools for Ada go from bad to worse even in the best case scenario.

What does that sentence even mean?
> People really do need to understand [...] deep concepts to handle React well.

"Handling React well" is subjective. What are you building?

> but for something as complex, deep, and, well, architected as React

I'm not sure what "architected" means in this context. But re: complex and deep -

React is complex to the extent that you need to build complex things. It is deep to the extent the developer requires. This is a great aspect of its composable design - it's just components made of components made of...etc.

But people don't learn React by building huge, complex, deep things. They build simple things, and go from there. In this respect, React does a great job with documentation. They start small.
Yeah then it makes sense
It seems likeness rights might be sufficient? You can't put random college athlete's in a video game, the situations aren't exactly the same but I don't see many 1st amendment purists even talking about likeness rights.
They shut down. Here's the founder:
https://twitter.com/robtaylor78
You do realize that California's pursuit of agricultural production is largely fuelled by a massive expenditure of its water resources right?
I've never seen an apartment building in the US with special pipes for running the refrigerant lines. It's just not feasible to install a mini split in the US if you're renting, but it appears Japan is totally set up for it.
I love that the presenter is a female engineer. How inspiring this must be for millions of girls around the world. Hopefully it encourages more girls to take on engineering to help provide a better balance of gender in the field.
As a regular porn watcher myself and in many cases a defender of free speech (except in the case of hate speech coming from fascists) I still have to admit that the destructive capability of deep fakes of public figures is deeply concerning. Female politicians like AOC should not have to deal with malicious actors spreading pornographic deep fakes. Some may remember the countless lewd doctored photos of Hillary Clinton that spread in conservative circles. It only stands to reason that this helped the current president win, and in general makes it harder for all female politicians to win. This doesn’t seem to affect male politicians nearly to the same degree.

Simultaneously these porn companies are making exorbitant amounts of money from obviously illegal content. Something needs to be done but at the same time I worry this could be a political opportunity for a conservative to push forward an internet censorship bill.
Interesting caveat about traveling close to the speed of light...if you run into hydrogen atoms, which is near 100% likely, your ship violently explodes because at very high speeds, there is a huge reaction on tiny matter collisions. I just learned this and it was like learning that sound doesn't travel in space when I was young and ruined many a starwars movie effects. I keep learning how ignorant and dumb I am the more I follow SpaceX and become curious about space.
Sorry, your question is fair -- let me elaborate:

I feel the OP puts forward two statements, categorizing depression as "adaptive", or "adaptive response taken too far." I wish to address each of these separately.

Having seen what these maladies do, I believe that categorizing them as "adaptive" is a position that can only be borne from "have never seen these diseases in their full spectrum, largely responding to mild, layman's-presented versions of them."

Separately, addressing the concept of them being "adaptive responses being taken too far," I find essentially tautological. Give me a little leeway to oversimplify when I say that there are two broad categories of disease: exogenous (trauma, infection - things done to us by the external environment) and endogenous (things that occur from dysregulation of human physiology).

((Aside: the above is, like all models, wrong. There are interactions and predispositions between biology, exposure, etc. I aim to use the above to illustrate a point about "adaptive response gone too far", not to overlook the full biopsychosocial model of disease.))

Calling a non-exogenous disease "an adaptive response taken too far" is a tautology. All human physiology arises from homeostasis - it's all "adaptive" in purpose, if not in effect. So all endogenous disease can be described as "adaptive response that is acting maladaptively."
Nice, your now smartened ones are actually cheaper than our dumb ones then. I was looking at CS-220DFR, also for 6 tatami, for which the best price on Kakaku is 49k (tax inclusive).

But in the end we got three Daikin ones from our moving company, because their prices were similar (actually almost felt like we get the moving service as a bonus), and it seems very convenient to have one company do everything.

Curious to see if they try to sneak in some extra fees at the last moment, because as it is I wonder if they're actually making a profit with us.
How does closecontact work?
closecontact is a way for you to fulfill the contact sharing rules for clubs during COVID-19 while keeping your data as private as possible.
My comment was a bit rhetorical but I do remember that period well, as a regular user of DC++, uTorrent, Kazaa and others. It's just that the contrast hits you fresh in the face after several years of getting used to bloated web, .NET, UWP, flatpak apps, it is refreshing to install a full-fledged application consisting of a single binary less than 3 Mb, and whose UI doesn't treat me like I'm a mobile-totting child.

I wish we had more programs like this. They could breathe new life into older or less powerful systems, and get along better with multi-tasking (using several simultaneous Electron apps on a small or mid-tier system brings it to its knees while these computers would still be considered insanely powerful just a decade and a half back).
People tell me that the problem with this code is that casting one pointer type to another and then dereferencing is undefined behaviour. The problem is that C code seems to do this all the time. For example, fread() in the standard library takes a void* as its first parameter. So at first glance, most code that uses fread() must exhibit undefined behaviour. eg this function:

int foo(FILE *f) {
int val;
fread(&val, sizeof(val), 1, f);
return val;
}

Closer reading of the spec says something about it being fine to cast, say, an int* to a float* and then cast back before dereferencing it. In this example, we're OK, because we don't reference via the void* . But the fread implementation must do, right?

I'm left feeling like it is impossible to implement fread() in C and that the standard library's API is no longer considered a good example of how to construct an API.

I guess the original motivation for it being UB to cast is to do with alignment constraints on some hardware. For example, a machine might be able to read an int8_t from any alignment but might require 4-byte alignment for int32_t. If so, then casting a non-aligned int8_t* to int32_t* and deferencing it would indeed fail on that hardware.

But some would argue that it is not right that GCC 7 breaks such code on a machine where that problem doesn't exist.
It's ironic that you'd be surprised, because he's an elected sheriff. This is the result of democracy.
White Vigilantes Have Always Had a Friend in Police
Love Montessori. Have you heard of Sudbury Valley schools?
All things given, I'd rather use a tool that does not have leaky abstractions and if I need to investigate the inner workings of an abstraction, I can form a mental model of that abstraction with little effort. To your point, you don't need to understand the inner workings of your tools, but being able to quickly learn about the inner workings of the tools is beneficial to creating abstractions, crafting solutions, fixing issues, performing refactoring, tracking the usage of concepts across the codebase, etc.
You can't query those for the current room temp, current settings etc. So then if you mix the OEM app & your home automation app, things get messed up. IR bridges are a hack in home automation, when buying new stuff avoid them.
How to Use OOP in JavaScript
Ah, lifted from gwern:

https://www.reddit.com/r/GPT3/comments/ikorgs/oa_api_prelimi...
Matrix is more of a chat protocol than a messaging app. I signed up once and had to agree to rules of behaviour and stuff like that. Threema is also more likely to be present on other people's phones.
Writing migrations by hand doesn't mean you don't have an automatic migration system. TypeORM for example can generate migrations automatically for you, but you can also generate an empty one and write the SQL yourself, and get the safety of automatic migrations
It took humans thousands of years to adapt to the side-effects of the agricultural(Neolithic) revolution (https://www.discovermagazine.com/planet-earth/the-worst-mist...). I think we are in a similar situation—psychological revolution?—where the side-effects due to social media, globalization, and other related phenomenons are starting to change the landscape. My guess is we will soon see that the plateau we have attained in the form of psychological disorders will slowly fade away in couple more generations as people start adapting to this kind of stress. Maybe our generation is evolution's transition point? At least I hope that it is, I've never seen this at this level of intensity with my grandparents'/parents' generation and I do not want to see this with the next generation.
class Math {
public static function addOne (int $i){ return $i+1; }
public static function multiTwo function (int $i){ return $i*2; }
}

With classes those functions or methods are grouped together under a math class.

Calling it is as simple as:
Math::addOne(2)

When you need Math you include it.

Seem cleaner than including little addOne functions as global closures.
Impossible to live without AC in Japan. Also almost every move company can remove/install AC's pretty easily so it's kinda convient.

Also if all rooms already have installed AC's then apartment rent price is much higher than similar without it so it's 50/50 what you want.
Right you are. I like to think that I'm fairly knowledgeable in this space, but Threema totally passed me by. Maybe it's more popular in german speaking communities (or I'm just more than I thought)?
it crashes early and often for me though :( Should probably switch to a more recent clangd.