skysight-inc/HackerNews huggingface dataset:
memcpy and memmove aren't special. The part that discusses the copying of allocated objects is 6.5, p6, quoted below:

The effective type of an object for an access to its stored value is the declared type of the object, if any. If a value is stored into an object having no declared type through an lvalue having a type that is not a character type, then the type of the lvalue becomes the effective type of the object for that access and for subsequent accesses that do not modify the stored value. If a value is copied into an object having no declared type using memcpy or memmove, or is copied as an array of character type, then the effective type of the modified object for that access and for subsequent accesses that do not modify the value is the effective type of the object from which the value is opied, if it has one. For all other accesses to an object having no declared type, the effective type of the object is
simply the type of the lvalue used for the access.
Our Pandemic Summer
Core business is Azure. Actions, hosting, pushing the C# stack.
Feels great not having the usual information overload that websites have. Lovely project well done!
"I think the core belief is that supply and demand is a force that can actually cause more supply to come into a market"

Everybody believes that, in general. But in the short term, the elasticity of supply with respect to price approaches zero. If we ramped up production though, it would be too late, and then there would be a glut.
Collection cognitive biases how to use
I think they just mean the text, font, and URLs are off in an MTV-esque kind of way.
Krugman walked that back and apologized and reflected on the fact that he to is human and liable to let his emotions get a hold of him.
It doesn't rule out superdeterminism.
I wouldn't be surprised if one of the reasons the site has remained this way is that people do fax this site to shareholders. In some cases that's a requirement.
I don't get the "this issue is a duplicate so we won't pay" business. If I find a serious issue that's still unpatched and someone tells me "Ops it's a duplicate sorry!" I'm still going to ask for payment. If I don't get it, it's a given that I'm going public - assuming it is legal to do so -. Why doesn't everyone do that?

I'll go even further and say that price negotiation should happen at every disclosure. If you're not satisfied with the price you're getting, go ahead and make the vulnerability public ASAP - assuming it is legal to do so -. It's about time companies that have invested nothing in security compared to their profits and their parasitic middlemen like HackerOne acquire proper incentives. Right now, they are getting away with having the public subsidize their security procedures AT MASSIVELY REDUCED costs. This has to stop.
> PS "..you will tend try to keep switching losses low relative to conduction losses.." I think you meant the other way around.

A 6 pole motor running at 10000 RPM has a switching frequency of 1kHz. Any application where you are considering an IGBT is probably under 20kHz. Cruising on the freeway uses about 15kW. Conduction losses are probably going to dominate.
In the words of Gucci Mane, "A man can get lost in the sauce, but the same man can be lost without the sauce."

It's natural that here on hacker news we spend most of our time discussing protocols and implementation details. No, protocols alone are not a solution but they are important. What's the point of just re-inventing centralized social networks over and over again? That being said, in order for any of these protocols to reach the masses the protocol itself needs to be invisible to casual users. If the marketing for your new social network is "It runs on this cool decentralized protocol!" you will never reach a non-technical audience.

The end product needs to be as good and as easy to use as centralized equivalents even if that means making some compromises.
He is working with what was provided. Both of you are correct.
I welcome a new tool that competes with Terraform, but I have 2 negative points:

- where's the option to deploy to self hosted infrastructure? (E.g. Proxmox, vCenter, ESX)

- what's the "Pulumi service" and why can I self host it, but cannot deploy services to self hosted Infrastructure?
1. Are there any plans for standardizing empty initializer lists?

struct foo { int a; void *p; };

struct foo f = {0}; // legal C, f->p initialized like a static variable
struct foo f = {}; // not legal but supported by gcc

To me it would make sense that there is no need to specify a value for any of the members that are intended to be initialized exactly like static variables (and the first member is not special so I shouldn't have to explicitly assign a zero?). However the syntax currently demands at least one initializer.

--

2. I recall seeing a proposal for allowing declarations after case labels:

switch (foo) {
case 1:
int var;
// ...
}

This is currently not allowed and you'd have to wrap the lines after case in braces, or insert a semicolon after the case label. Is this making it to c2x?

--

3. I've run into some recent controversy w.r.t. having multiple functions called main (and this has come up in production code). In particular, I ran into a program programs that has a static main() function (with parameters that are not void or int and char[]), which is not intended to be the* main function that is the program's entry point.

gcc warns about this because the parameters disagree with what's prescribed for the program entry point. It's not clear to me whether this is intended to be legal or not.

--

4. Looking at the requirements for main brings up another question: it says how main should be defined (no static or extern keyword). However, the definition could be preceded by a static declaration, which then affects the definition that follows:

If the declaration of an identifier for a function has no storage-class specifier, its linkage is determined exactly as if it were declared with the storage-class specifier extern.

For an identifier declared with the storage-class specifier extern in a scope in which a prior declaration of that identifier is visible, if the prior declaration specifies internal or external linkage, the linkage of the identifier at the later declaration is the same as the linkage specified at the prior declaration.

Therefore, it is possible to have a main function with internal linkage and a definition that exactly matches the one given in the spec:

static int main(int, char *[]);

int main(int argc, char *argv[]) { /* ... */ }

As one might guess, this program doesn't make it through the linker when compiled with gcc. Is this supposed to be legal? Should the spec perhaps require main to have external linkage, and then allow other functions called main with internal linkage (and parameters that do not match what is required of the external one)?

EDIT: ---

Are the fixes w.r.t. reserved identifiers going to make it in c2x? Can I finally have a function called toilet() without undefined behavior?
Link is broken and needs to be updated to remove the `www.` prefix, which begs the question - how did this get upvoted so high within 20 minutes?
Curl and MQTT = True
Hollow corkscrews may put a cork in noisy ventilation
Throwing in a second opinion here for those curious. I've worked with a number of CI systems and had trouble with many.

Gitlab CI has been the opposite of other experiences I've had with well over 10k jobs completed across different projects with diverse needs. Even for small hobby projects it's been great for me, it's nice to easily be able to push updates without having to worry about it. Makes it much easier to iterate and test things out!
Not everything has to be useful: you used the same technique there you implicitly criticised me using ;o)

Communication, is for communication. Yes, it's good to have localised codes, domain languages, private communications; quirky ways to make crypto-poetry, or to create artistic expressions.

But we, IMO, should be very wary of placing those above or ability to communicate effectively with as many people as we're able.

In Welsh counties of the UK school children are forced to learn Cymraeg, a language that doesn't help them access any other cultures, not communicate with any other people they can't already (except literally one or two pre-schoolers).

Cymraeg is very interesting and holds together part of the story of UK, my home country, but for communication it's a bad choice.

I've no problem with people choosing to learn languages for purposes other than communication; but forcing schoolchildren to learn a second language that's near useless [compared to global modern languages] as a communication tool, that's awful.

Yes to historic languages; no to forcibly separating peoples through choosing purposeful separation via language.
Agree. I sell simple sass product myself and offer SAML to everyone. I view security as a basic right, not something to be used to extract more money for. Charging for additional features is ok, charging for keeping your account more secure is just plain wrong.
is medium code for i've just read about something i haven't read before and here's some loosely related thoughts? the author is not even familiar with racket nor does he seem particularly familiar with what language oriented programming (LOP) is.

the author does not give definitions of things that he makes comparisons between. for example, no definition of language, natural language, programming language, or metaphor is given, and he even conflates natural language with language. and this entire article seems to be based on analyzing the meaning behind a footnote.

what he misses is that the racket/LOP community think of programming as communication between people and not between human and machine. matthias felleisen says so here (https://www.youtube.com/watch?v=91hynuuM_As). that is the very definition of language: the words, their pronunciation, and the methods of combining them used and understood by a community (merriam-webster). this definition is actually a little overly specific, but one thing i am reminded of is the text from SICP that says:

> when we describe a language, we should pay particular attention to the means that the language provides for combining simple ideas to form more complex ideas. Every powerful language has three mechanisms for accomplishing this:

* primitive expressions, which represent the simplest entities the language is concerned with,

* means of combination, by which compound elements are built from simpler ones, and

* means of abstraction, by which compound elements can be named and manipulated as units.

> Also when they refer to “extra-linguistic mechanisms” do they mean different codes as in semiotics?

the author should understand what they mean before writing this article. by extra-linguistic mechanisms they mean reaching outside of the chosen language, like java, to other languages (these are the configuration, project description, and makefile languages mentioned). the purpose of LOP is to bring these extra-linguistic mechanisms into the base language. so in racket, rather than creating a wholly new languages for documentation, they created scribble which is a language that sits on top of racket and can interact with racket. this is turning the extra-linguistic mechanism of writing documentation into a linguistic construct so that scribble is not a totally separate language, it is an extension of racket.

> If we want to think about what kind of problems a programming language makes easy to solve, and which ones they make more difficult, I’d say it’s better to use the tool metaphor, and see where that framing could take us.

the so-called tool metaphor has been the dominant view and is the source of almost all problems of software. software is not just a tool.

what makes software hard is that it isn't one thing. it is all of a way to do something (a tool), a way to think about something (a conceptual model), and a way to communicate something (a language).
Fire raging near Ukraine's Chernobyl poses radiation risk, say activists
The "but muh liberties" reactions are understandable in context increasing broken civic institutions compounded by various cultural factors. There's so much regression in various indicators aggregated over time that reforming governance seems impossible compared to preventing exploitation in the first place. But social upheavals like covid19 is the best opportunity for these reforms outside of war. In the mean time, I have no problem prioritizing contact tracing apps at all cost. But I have the benefit of a slightly more competent government, though I understand the general pessimism for those with understandably less faith.

My personal issue is the companies with ubiquitous presence to implement these changes (Apple & Google) has to negotiate US political environment. One on hand, having a near global solution seems preferable to fractured regional systems specially if we expect to resume global travel in the future. On the other hand, this is more global surveillance information at the hands of US government which... I'm sure they're eager to collect.
You can't get promoted at Google by making TCP on Android better, but you can for releasing HTTP over TCP over UDP.
You can get a good idea from maintenance records; hard driving wears consumables faster. Compare a few vehicles of the same model and it'll be easy to see which ones were driven harder.

I also like to take a peek at the tire date codes, to make sure they corroborate with maintenance records:
https://images.tirebuyer.com/visual-aids/pages/education/how...

The last car I bought had two original tires on it at 60k miles, and the service history showed the other two were replaced due to nails in the tread. I am confident the vehicle was not driven hard based on this.
So Germany, which is right next door to the Netherlands/France/Italy, is experiencing no excess mortality. What did they do right and how can we have some of that.
Hey Nat glad to see you here. A few days ago one of the biggest team collaborative games (Space Station 13) got banned on GitHub without a public explanation from GitHub staff, but some suspect it was because the code contained bad words and slurs. Do you know if this is why the project was banned, and will these new private team repos be subject to the same terms/rules?
Microsoft originally implemented the Annex K Bounds checked interfaces (e.g., the *_s functions) back in the 1990s in response to well-publicized vulnerabilities. They proposed standardization to the C Standards committee. The committee made many changes to the proposal, possibly going too far away from the original implementation. During this time, I would say that Microsoft was very differential to the wishes of the committee.

By the time the ISO/IEC TR 24731-1:2007 was released, and then later Annex K added to the C Standard, Microsoft had to decide if they wanted to change the interfaces to conform to the changed standard and re-implement their code bases. They presumably decided that they did not, which I think is a defensible decision.

As to unergonomic, examples please?
Please consider extending the limit to 120 or 140 characters. 80 often forces me to produce a misleading condensation in my submissions.

In the alternative, add a "privileged comment" pinned to the top of the page which cannot be replied to, where an extended summary of the submission can be added by the submitter. But just changing the character limit of the title is probably a lot easier.
Last Digits of Powers
I love github, but the fact that it is not open source has always been a big problem to me, especially given that github has become the de-facto home for so many open source projects, yet is not itself open source. I would love to see that change to a model like Gitlab uses!
Yeah MA has a habit of that, e.g. Mitt Romney, who is also vocally critical of the POTUS.
Thanks! Definitely an interesting tool. Two of my students are fascinated by the idea of undefined behavior right now (having run into it in practice; the idea that off-by-one errors sometimes crash their program and sometimes behave "normally" is really odd to them), so I'll point them at this to play with.
OnePlus Announces OnePlus 8 and OnePlus 8 Pro: Step-Up 2020 Flagships
To think that John Mayer predicted this in his song _Daughters_ 17 years ago:

[Individuals] become [small teams] who turn into [big enterprises] / So [GitHub] be good to your [individuals], too
Can/should the C language be extended to better support vector processors and GPGPU?
Spoiler: is a Chrome-only feature
I like it, but anybody I pitched it to was like: "Ewww, TypeScript for Infra. Thanks, but no thanks!" It's using declarative infrastructure as imperative. I recently found AsCode [0], which is still Terraform, but maybe better. Pulumi for months used deprecated Azure stuff, and they didn't fix it. So, you are always late to the game, unlike when using plain Terraform. Oh, and you also need an account with them.

[0]: https://ascode.run/
> but man, even at my most conspiratorial I'm coming up empty.

You don't see how it can be seen as odd that an office supply company advocates against working at home? For this to work I'm obviously assuming that they profit from keeping company offices stocked.
Social firing for the wrong views was always a thing. Before even the HUAC - just ask any unwed mother who was fired or look at "morality" clauses. The Supreme Court accepted special pleading of "because drugs" in the "Bong Hits for Jesus" case of school jurisdiction.

It is just a matter of whose ox is being gored - listen closely and you will hear the long echoes of "Welcome to my world.".
I kind of knew this, but started really trying to measure calories in / calories out over the last year and i was surprised by how pronounced it is.

riding my bike home from work (a bit over 3k with >100m net elevation gain) burns less than a chocolate bar worth of calories.
It is working for me.
Or maybe different people have different needs and HN isn't a single cohesive hive mind
What this project needs is someone at the center of it. A visionary. A leader. A genius. A prolix author.

Can anyone think of someone???
As a foundation for computational methods, 99.9% of theoretical physics is very much alive.
Adding noise is definitely helps, but removing noise is more or less the main feature of supersampling.

If you didn't have any noise you could just simply invert the Gaussian blur, as blurring is a reversible operation (in theory, in practice you have noise, hence the need for supersampling).

Annoyingly it's hard to come up with a method that doesn't leak any information, although heavily pixelating the image (and optionally blurring the few leftover pixels) would probably make it infeasible to recover the original (except maybe with a truly stupendous amount of footage).
Ditto uintmax_t. We do not want a uintmax2_t.
I think it will be hard to change that. But it's not alone. Javascript also uses UTF-16.
> To be clear, I understand that non-Chinese tech companies must form some kind of joint-ventures with local Chinese entities in order to operate. The AWS in China is not exactly the same as the AWS in the US, but it’s also not the same as a homegrown Chinese cloud provider; it exists in the middle, a nuance that is all but lost.

When it comes to the ability of the Chinese government to access said servers without the knowledge or consent of the companies involved, is there actually a middle ground? Sure the non Chinese companies in China will put up a bigger fight but I was under the impression that whatever servers are there (even if it's AWS or Telstra in name) are subject to meddling by the Ministry of Industry and Information Technology at the data center level. Happy to be proven wrong.
I'd almost rather have a separate "ubsigned" type which has undefined behavior on overflow. By default, integers behave predictably. When people really need that extra 1% performance boost, they can use ubsigned just in the cases where it matters.
Very good points. May I know what is the niche you are involved...e.g FullStack, Datascience, Ruby etc?
It's not dead in the sense that we've done a better job of experimentally confirming things like general relativity and aspects of quantum mechanics, due to being able to accurately perform more precise observations (like with LHC and LIGO). I'd say this is a triumph of advances in experimental physics, though, rather than theoretical physics.

There doesn't seem to have been any widely accepted fundamental theoretical breakthrough like general relativity or quantum mechanics for a long time, nor has there been any widely accepted way to unify the two theories. Maybe I'm wrong, but that's the impression I and many others have.
Is Upwork Posting Fake Jobs to Keep Freelancers Bidding?
What exactly is the lock-in mechanism?

E.g. I have git repos where I use multiple remotes (1 Github, 2 Gitlab..). So git is the same as everwhere.. I never felt locked in. It's not too hard to transfer your repos to another provider.
Self-preservation, especially in the face of a group diametrically opposed to your culture's values, isn't something to be ashamed of. Nationalism is not evil when it is defined inclusively, and not based on immutable characteristics.

I would go further and say that while we shouldn't be ashamed of nationalism, we should draw our boundary wider. We should say that we are proud of, and willing to support, the values we uphold and all people that uphold them, regardless of what country they happen to live in. The people of Hong Kong, for instance, are in serious jeopardy. Simply acquiescing to the influence of the Chinese government allows them to steamroll ever more people, and silence ever more voices in favor of the values countless people have fought and died for.

"When bad men combine, the good must associate; else they will fall, one by one, an unpitied sacrifice in a contemptible struggle" - Edmund Burke
>"Cyberspace, as described in Neuromancer, is nothing at all
like the Internet that we live with, which consists mostly of utterly banal and silly stuff."

Ultimately, there are a lot of boring and average intelligence people in the world who spend a lot of time doing banal boring practical stuff and have always liked low brow entertainment. The Internet reflects that.
Arabesque | Engineers, Researchers | Remote due to COVID-19, usually ONSITE | Full Time and Intern | London, UK | https://www.arabesque.com/

Arabesque AI is an investment advisory and technology company that looks to emulate human decisions in finance and portfolio management. Arabesque AI is a subsidiary of Arabesque, a group of fintech companies concentrated on sustainable investing.

Arabesque AI has built an AI Engine for financial forecasting which is in the form of massively distributed computational graphs and and is computed over 10K+ cores across multiple datacenters. Alongside R&D in Distributed Computing, our research covers a number of fields, including but not limited to Supervised and Unsupervised Learning, Feature Engineering, Natural Language Processing, Ensemble Methods, Network Analysis, Bayesian Approaches, Signal Processing, Portfolio Optimisation, Agent Based Modelling, Distributed Computing and Swarm Intelligence.

We are looking to hire AI Engineers and AI Scientists into our team (with experience in at least one of the fields above), as we seek to rapidly expand following a series A funding round.

We offer: Competitive Salary, Academic Culture, Flat Hierarchy, Intellectually stimulating work

===========APPLY================

AI Scientist (Full Time/Intern): https://apply.workable.com/arabesquegroup/j/E7779299EF/

AI Engineer (Full Time): https://apply.workable.com/arabesquegroup/j/E953ECB228/

Any questions, feel free to get in touch at chris.stanton@arabesque.com
Why isn't there a Linux version of the Desktop Client?
I don't think we want a uintptr_t and uintptr2_t.