skysight-inc/HackerNews huggingface dataset:
You couldn't in that parameter order. However, you could do this: int f(size_t n, int a[n][n]) { return a[n-1][n-1]; }

(https://godbolt.org/z/DV9c-C)

Btw, that definition was obsolescent in C89 too.
What I never see mentioned about Unicode is Han Unification

https://en.m.wikipedia.org/wiki/Han_unification

As I understand it, it's impossible to have a txt file that uses Japanese and Chinese characters at the same time. The file will either use the Chinese or Japanese forms of the characters, depending on your font. I would think this is a big gotcha people must run into all the time, but I never hear anyone talk about it.
Or CCP is a shell for communist westerners to try out their social experiments on other nations. Communism is itself a western import to China, not an indigenous worldview.
I’ll let the next few hundred years judge how relevant or not his contribution to physics was. I don’t think anyone writing in 2020 has much sense of that.
Frankly I think this should be removed. Marketing sometimes get overzealous in trying to present what makes us special.
I'd say both statements are correct.

Compiler implementers are happy when they don't have to care about some edge case because then the code is simpler. Thus, only for unsigned counters there is the extra logic to compile them correctly.

That is my interpretation of "The opposite is the case". Writing a compiler is easier with lots of undefined behavior.
Interesting project. Out of curiosity, why did you compare against kdb+ since the models are very different? KDB is mostly used for in-memory time-series while your seem to be a graph-oriented DB. Also, why did you choose to build your own language instead of using an existing one [1]?

[1]https://en.wikipedia.org/wiki/GQL_Graph_Query_Language
Plate-nanolattices at the theoretical limit of stiffness and strength
The Coronavirus Recovery Could Pit the Old and Young Against Each Other
No SHOW HN is complete without the comment with unconstructive criticism. You can feel officialy launched OP!
In my opinion the project is nice and good on you for launching it!
https://www.oracle.com/security-alerts/
That’s exactly what should happen in a free market. Company makes offer, laborer counters, then company counters or holds. If the company holds, the laborer should seek work at a different company.

Just because the “value” of a man’s labor is low (in some sense), doesn’t mean the government should intervene.
I think one of the facts many HNers struggle with is that the system that makes them wealthy is the same system that is starving people out and denying them access to healthcare. When you're a well-paid engineer you want to believe that you "earned" your position through hard work, but in reality its 90% luck.

Some HNers even have their own successful business, and want to think that everyone below them is just lazy and doesn't deserve access to scarce resources. It's a much simpler way of looking at the world, so you can avoid looking in the mirror.
> nor am I condoning this

Nobody's questioning the legality. The question is whether it should be condoned.

Private censorship is legal, but IMHO it can be unethical, especially when the balance of power is so far askew. An employer firing or threatening to fire an employee for speaking can have a large chilling effect.
Or instead of "running around spreading" you could take reasonable precautions - shower, put on clean clothes, drive directly from your house to theirs. Pretty negligible risk in that case.
Of course everyone comes at these things with different histories and different intrinsic interests. But I really enjoyed fundamental stuff like:

* the concept of assignment implying _time_ and messing with the substitution model.

* recursive functions that are iterative

* iterative structures that are recursive

* At the base of the base of the data abstraction in LISP is, well, nothing.

* Code as data, data as code, really strongly underlined.

* The whole LISP written in itself (as a sort of fixed point of a language that defines a language). That is really something.

* The idea of using a language to write a language that lets you express your problem.

That last one is probably obvious to most, but it was really novel to me (despite years of writing functions to compute answers).
I vehemently disagree with the blatant partisan lean of almost every news company, but this crony, spineless cowardice is a far greater sin in my opinion.
I'm pretty happy with C as it is, but I will admit to being surprised that a "minimalistic Rust" hasn't risen to prominence.

I guess what I mean by that is a language that has Rust's hyperactive, strongly opinionated compiler, borrow checker, no NULL, immutable by default, etc, but in a language that is no more syntactically ambitious that C89. I would be way more into a language like that than Rust.

A language that sort of feels like Go, but can actually be used for low-level systems programming.
>The number of times that persisted variables defined in long-deleted cells have masked bugs is more than I'd care to admit.

Definitely. It happens particularly often when you change a variable name (and modify its definition) and forget to update the name for parameters further down in the notebook. Suddenly, without any warning, you are using stale data for your analysis, which can really throw a wrench in things. It would nice if when you changed a cell it erased all the old definitions in that cell.

And I don't think I'm the only one who doesn't have trust in their notebook definitions: I've noticed a trend among pretty much anyone who uses them that after they finish their analysis, they restart the kernel and rerun the entire notebook from start to finish as they have little faith that the results in the notebook are actually derived from the cells currently in the notebook.
Trying to figure out how to express this without making people mad at me. I think the conflation of Unicode with "plain text" might be a mistake. Don't get me wrong, Unicode serves an important purpose. But bumping the version from plain text 1.0 (ASCII) to plain text 2.0 (Unicode) introduced a ton of complexity, and there are cases where the abstractions start leaking (iterating characters etc).

With things like data archival, if I have a hard drive with the library of congress stored in ASCII, I need half a sheet of paper to understand how to decode it.

Whereas apparently UTF8 requires 7k words just to explain why it's important. And that's not even looking at the spec.

Just to be crystal clear, I'm not advocating to not use Unicode, or even use it less. I'm just saying I think it maybe shouldn't count as plain text, since it looks a lot like a relatively complicated binary format to me.
> ...systems display what they can. Pixelfed, Mastodon and Plume mostly send `Note`s and `Article`s around, which are easy to display in any of their respective interfaces. Other types like `Video`s will usually be displayed as good as possible...

(Not the person you replied to) Thanks, this was helpful. The fact that there's a common activity vocabulary helps me understand the usefulness of an ecosystem of ActivityPub apps which focus on different ways to write and view posts.
Could be. I find it more likely that bored tech workers in a cushy desk job are looking for somewhere to direct their indignation.
He is retired, but he still mess with computers:

https://www.youtube.com/watch?v=SASQMl0rvYg

The sound is terrible at the beginning, it gets a little bit better later on. You can watch his demo if you want more details:

https://www.youtube.com/watch?v=3ML-pJFa8lY
This is awesome! Love the idea, do you intend to make this a bigger project?
Supreme Court of Florida to use Zoom to hear upcoming arguments in two cases
Is that somewhat unprecedented to have a government post ads in a publication which are not related to spreading the word about hiring or something. What exactly did those full page ads have as content?
My approach is to transfer files to the emulated machine by creating an ISO with WinCDEmu (which integrates with Explorer and file managers that can use shell extensions like Total Commander) and mounting that ISO and then transfer files out of the emulated machine by opening the disk image with 7zip (with the machine turned off, of course).

For older machines and some other emulators i've written a tool to create floppy disk images from a list of files:

http://runtimeterror.com/tools/fat12img/

(though that can only do 1.44MB floppies, meaning that it only works with an emulated 286 and above)
I dont't know why we don't use our economic clout to make life better for Chinese citizens. It is the CCP that needs our money, not the other way around.
> Now that C2x plans to make two's complement the only sign representation, is there any reason why signed overflow has to continue being undefined behavior?

I presume you'd want signed overflow to have the usual 2's-complement wraparound behavior.

One problem with that is that a compiler (probably) couldn't warn about overflows that are actually errors.

For example:

int n = INT_MAX;
/* ... */
n++;

With integer overflow having undefined behavior, if the compiler can determine that the value of n is INT_MAX it can warn about the overflow. If it were defined to yield INT_MIN, then the compiler would have to assume that the wraparound was what the programmer intended.

A compiler could have an option to warn about detected overflow/wraparound even if it's well defined. But really, how often do you want wraparound for signed types? In the code above, is there any sense in which INT_MIN is the "right" answer for any typical problem domain?
Both products have a bright future and millions of users, and so we're continuing to invest in both for the foreseeable future. We're also finding ways to improve integration between them, so people can use them together if they want to. GitHub Actions reuses a bunch of code from Pipelines under the hood, for example.
Are you guys planning on submitting your novel findings to peer reviewed physics journals? Have you done that? How has that gone?
There are acual problems too, when switching from utf8mb3 to utf8mb4, because of maximum varchar length in indices: https://stackoverflow.com/questions/48500355/mysql-character...
Not really -- vendors are free to ignore newer releases of the standard that do not meet their customers needs and the committee can't do much about it.

However, as a user, you can help apply pressure on the vendor to support newer standards. For instance, with Microsoft, you could support this feedback request: https://developercommunity.visualstudio.com/idea/387315/add-...
Coronavirus Business Impact: A Startup Disaster or a Big Opportunity to Innovate
Google wants to hire the creator of killed by Google
You're neglecting to consider the rates of obesity in the general population.

29% of adults in the UK are obese (BMI > 30) and another 36% are overweight (25 < BMI < 30).[1] So the pattern you see above is really just "people hospitalized for COVID-19 have roughly the same distribution of weights as the general population". There's a little bit of correlation with the obese being a little more likely to be hospitalized, but I'm not sure that pattern holds up if you correct for age. In any case, it's not nearly that exciting or strong of a correlation, to let you guess who is going to die.

[1] https://commonslibrary.parliament.uk/research-briefings/sn03...
Yeah, you are right of course. I'm not sure why I compared a Wh/mile figure (which honestly amazes me) to a an average output figure. An average hour of usage would probably be ~250wh on the bike and more like 10Kwh in the car.

I blame mornings and lack of coffee. :)
I wonder about that? In most cases once an algorithm is trained, running inference is just a function evaluation, which is usually computationally inexpensive.

(the training is the heavy compute part)
Sure, but even if you bump that up by a lot, like to 90 days, you're likely still better off after those 90 days than people who don't have antibodies.
There is little that the C Standards group can do about it. One idea is to write a C Standards conformance into contracts. When I was in the government we often did that, but it still wasn't enough clout.
To be fair you commented hours after this was posted. What was shown and downvoted changed greatly from that point in time. When I first saw this thread the exact issues the OP was stating were in fact playing out.
Yes, we need to delete that. And actually think about all the product comparison categories again.

Too many parts!
I built out a Druid backend for interactive graphing & aggregation of web traffic and application security metrics a few years back. Users could choose arbitrary filters, aggregations, and time slicing. This was a second system replacing a Spark cluster running over timeseries events in Cassandra, which wasn't really practically scalable. Tuning and debugging the Spark queries and Cassandra performance was an endless time sink.

Druid worked really well for almost all use cases, reliably getting sub-second results against many billions of records even on a pretty modest deployment. Being able to use arbitrary Javascript functions in queries was fantastic, so we could do things like filtering on IP subnets or case insensitive prefix/suffix matching, and the like, as needed.

The Docker setup that Druid ships with is deceptively simple - making a production installation was an effort.
My thoughts are:

- Build templating and code generation for the many config files for each component early on so you can edit constants in a single place and have all of the sundry config files update to reflect them, and also manage per-host overrides in a sane, version controlled, way.

- Druid will use as much ram as you can throw at it, but in a pinch, reading directly from fast NVME storage is pretty good.

- If you have realtime data ingestion, you will also have to build tooling to re-ingest older data that has changed or needed to be amended. This will end up looking like a 'lambda architecture'
My mistake, I was wrong. They allow use, but it has to have its own power supply https://www.delta.com/us/en/accessible-travel-services/assis...
I initially read it as a stylized "AC" for Animal Crossing.
Has anyone used Cortex in production?

- Could you share your experiences?

- why would one choose this over docker for instance?
Ironic since communism is itself a non chinese idea forced on the population through western indoctrination of Mao.
You can't write proper snooty English in ASCII, with diaereses and whatnot.
I'm someone who has not studied much math, and I'd agree with you.
Indeed, I agree with you. Poorly handled. But that doesn't mean you as a penetration tester can do better _also_, to avoid similar future scenarios where they handle things poorly.
This sounds far worse than just leaking branch names. They said it’s leaking entire commit messages.

Those messages could contain very detailed descriptions of how a companies product works, or how a companies fraud controls operated.
I have gone thru similar issues with Valve/Hackerone recently... https://hexpwn.github.io/2020/two-plus-year-old-steam-vulner...
I've reported one bug to HackerOne so far, which was a bug with Wordpress that allowed you to access the title of unpublished posts. Months went by with no reply, despite clear demonstrations of how it could be exploited.

Eventually I demonstrated the attack on Techcrunch's site to a Techcrunch reporter, showing him the titles of their upcoming news stories for the coming week, including embargoed news. They got in touch with HackerOne/Wordpress and it finally got resolved a month or two later.

I don't feel like HackerOne added anything positive to the mix, other than a layer of confusion/delay.
The reasons most programmers use English in their source code has nothing to do with file size (for that their are JS minimizes) or supported encodings. It has to do with that two things, English is the most used language in the industry so if you want to cooperate with programmers from other parts of the world English is a good idea and because it frankly looks ugly to mix languages in the same file so when the standard library is in English your source code will be too.

So since most source code is in English (and for JS is minimized) UTF-8 works perfectly there too.
Wayback Machine Chrome Extension
>Also, I find quite extreme that you consider being able to talk with old and poor people a "waste of time", just because it won't help you to make a living.

I didn't mean to imply that language is only worthwhile if you make money from it. But time is a finite resource, and unless you really like learning different alphabets or something, there is no utility gained for 99.9% of people in learning one that no one else is going to use.

Learning how to speak a language is orders less time intensive than a reading and writing an alphabet. I'm glad I speak it fluently, and can converse with elders and poor people. But reading and writing it will never come into use for me.
Aside from Bloomberg's scummy behavior, this story highlights the eternal dilemma of journalism. To write good stories, you need access to the subjects. But if the stories make the subjects look bad, you lose access.

Coupled with the fact that newspapers don't always make a lot of money these days, and often rely on wealthy benefactors that make their money in other ways, you can end up in an awkward spot where one wrong story can damage a newspaper's base of information but also it's financial foundations. I don't think there's any good answer to this question.
The threat of terrorism changed politics forever[1]. The bar for military intervention was lowered significantly. The Patriot Act in the US by itself changed global life. Privacy diminished under the guise of keeping everyone safe. Airport security theatre is just a small visible part, but the attitude change toward monitoring the public is the most significant change. In the UK and the US[2] the number of CCTV cameras ballooned since 2001. We take surveillance for granted now, I guess you don't really think about that though.

[1] https://www.aclu.org/other/top-ten-abuses-power-911
[2] http://www.nbcnews.com/id/44163852/ns/business-us_business/t...
The CCP must be destroyed.
This is likely an unpopular opinion among the tech crowd here but I find it very hypocritical to publicly criticize your employer for their practices while expecting to continue enjoying cushy paychecks directly fueled by them. You cannot simultaneously be an activist and a cog in the wheel. Pick a side, and then accept the consequences.
What does the wifi handoff you mention actually do?

I know of a standard for 802.1X preauthentication, that does 802.1X authentication via old AP before roaming.

If your APs aren't doing NAT or stateful firewall, then there is no state to transfer, except automatic updating of MAC addresses on switches, and the authentication of the client which shouldn't require any cross-communication unless using 802.1X with mentioned preauthentication. You will lose packets in flight while switching, but it shouldn't take long.
I think all of us learned these lessons the hard way, what's amazing is how much resistance I've encountered when I try to share this wisdom with folks in their early 20's. I guess the old adage is true, people like to learn their own lessons.
VC Firms Raised $21B Last Quarter Despite Pandemic Chaos
Extinguishing the competition. It's not even the first time. Remember Internet Explorer?
I think an important consideration with Damore is that Google had to choose between keeping him and keeping other people. There was no outcome that didn't result in people leaving.

This, on the other hand, is just about Amazon trying to control people to keep their poor treatment of employees hidden. There's nobody at Amazon who's saying, "Man, I'm quitting if those people keep trying to improve worker conditions here."
I'm assuming he means on-prem GHE, for free, which I would doubt since that would eat away their revenue.
Weird flex, but OK.
I used it a few years ago with my former company. It effortlessly injected 10K rows of data per second, and we configured Druid over 50 dimensions and about 20 different metrics. In that configuration, Druid was able to respond to most queries within a second. I am not sure how it works but it is an amazing product. We are evaluating it now for use at my current company.
> It's pretty easy to come up with a lot of absurd and "legal" at-will policies (e.g. we'll fire anybody who watches porn)

My favorite which would work in much of the US is "We'll fire anybody who registers with the Republican party." (Or Democratic, if you prefer.) Especially in a state where registration is required in order to participate in the primary. It is legal, but, I believe, completely unacceptable to just about everyone.
"For comparison, this Amazon VPC example may be worth checking out"

It might be better to compare how to use the module/stack:

- Terraform: https://github.com/terraform-aws-modules/terraform-aws-vpc

- Pulumi: https://github.com/joeduffy/pulumi-architectures/tree/master...

So as a user, can I configure this Pulumi VPC stack before it's instantiated? Or do I have to use the defaults first and then use the CLI to change things? Do these CLI changes then get placed into code, or just into state? Does that mean I'm now in a situation where the code doesn't match the state?

Personally I find the Terraform configuration much easier to reason about, I see exactly where resources are declared just by scanning the file. (But I've also used Terraform a lot).

Edit: Ah, maybe I have to configure it via this config.py file [1]? I appreciate what Pulumi is trying to accomplish, but that is certainly not a config format I'd like to be using. Maybe you could use HCL or YAML for it? ;)

Edit 2: Another last thought, I think a lot of the mindset in Terraform comes from Go, where the proverb "A little copying is better than a little dependency" is pretty well adopted. Before I started writing Go as my main language I didn't appreciate that mindset, but after 5 years with Go I've found it more and more appropriate [2].

[1] https://github.com/joeduffy/pulumi-architectures/blob/master...

[2] https://go-proverbs.github.io/ -- https://www.youtube.com/watch?v=PAAkCSZUG1c&t=9m28s
Would these not be too simple to address the ventilation requirements of the coronavirus?

This was the case with the ventilators from a consortium in the UK, where the profile of corona requires more complex ventilation -

https://www.theguardian.com/world/2020/apr/13/uk-scraps-plan...
I thought DNS allowed any arbitrary byte sequence as label (up to max length limit)
> That's not exactly uncommon in the modern world

It is uncommon in the parts of modern world that have reasonably modern employee protection laws. Yes, most jurisdictions recognize that employers may expect a certain degree of loyalty from their employees. But unless you're a very high-level executive, just disagreeing with your employer's conduct is absolutely no legal grounds for termination.
Kogito Ergo Automate
Only if you're unconscious, and in that case you should be in a hospital anyway.

If you're conscious you'll just pull the mask off if you start feeling like you are not getting the right air. These machines, and masks, have all kinds of safety features and safety valves on them.

I have a CPAP, oxygen concentrator and assorted hoses and masks, and I've messed around with them these days while watching ventilator 101 videos on YT. If you're a technical person, the basics are not that hard to grasp.