skysight-inc/HackerNews huggingface dataset:
> Last month, a Bloomberg corporate spokeswoman told The New York Times that Forsythe stole "Bloomberg L.P. intellectual property and gave it to his wife." The spokeswoman, Natalie Harland, said that Bloomberg LP and Bloomberg News never pressured anyone to sign a nondisclosure agreement.

The good ol' we never pressured we just warned we'd harass them to no end and ruin their lives.

It was rather entertaining to see an old billionaire who rarely hears "no" from those around him being put on the spot during the primary debates by Elizabeth Warren. All those millions spent on his advertising campaign didn't help, and there were no lawyers and PR spokespeople to draft responses for him.

Yeah, he eventually agree to release a few women who had NDAs signed if they requested. I think one might have gone through the process. But I can see being afraid to go through the process since a week later they could be sued for other things like "stole Bloomberg L.P. intellectual property" and then having to sell their homes to defend against it.

It's just so bizarre how he got any support at all. Look at the things he was saying: "...and that upon learning that a female employee was expecting a baby, he responded: Kill it!" from https://www.cnn.com/2020/02/21/politics/michael-bloomberg-no...
> In 1983 Chuck founded Novix, a company whose goal was to design a processor that was optimal for use with FORTH, a true stack processor.

C started as a language that was designed to take advantage of an existing processor to produce fast code. That has worked spectacularly.

It seems, however, going the other way by first designing a language and then making a processor to make it fast does not work out. Other examples are the Lisp Machines and Java Processors.
Jérémy Cochoy- Co-Founder of Symphonia- the Future of Music Composing
Even Microsoft is finally giving up UTF-16!

They recommend now to use the UTF-8 "code page" in new code.
“What if the causality that led to the universe can be modeled using a form of Conway’s Game of Life automata built on Feynman diagrams?”

Note that I have no idea if Wolfram is right or not, but I’m glad I tried and failed to read New Kind of Science years ago. The mindset/approach were worth it and make it possible to follow along with today’s post.
Depends on how you define self sufficiency. If Sweden considers olive oil a staple and thinks it can’t be self sufficient because they can’t supply locals with locally grown olive oil, then that’s a wrong definition of self sufficiency.
Some example of hardware variation (since you mentioned shifting and overflow):

- signed integer overflow or division by zero occurs, a division instruction traps on x86, while it silently produces an undefined result on PowerPC
- left-shifting a 32-bit one by 32 bits yields 0 on ARM and PowerPC, but 1 on x86;
- left-shifting a 32-bit one by 64 bits yields 0 on ARM, but 1 on x86 and PowerPC
In Delphi/FreePascal there are dynamic arrays (strings included) that are in fact fat pointers that hide inside more info than just length. All opaque types and work just fine with automatic lifecycle control and COW and whatnot.
> But what is the meaning of "the heap" in C programming language documentation?

The C language standard does not contain the word "heap" anywhere; as far as C is considered, there is no "heap" in particular.
It has been many years since a C++-to-C preprocessor has been commonplace. There's just too much new stuff in recent C++ to map it all easily into straight C.
There's https://www.usenix.org/legacy/events/vee05/full_papers/p153-...

But it's more specifically focused on virtual machines than physical hardware.
Is the issue HackerOne, or is it HackerOne doing as Valve (their client) instructed them? It seems Valve were aware of the issue for weeks or months before he reported it and still hadn't added an "s" to "http" after 3 more months. Why is that?
What sort of processing do you want to do?
Companies receive so many "First, you have to be on the other side of this airtight hatch, then you..." reports that anything that looks even remotely like it will just get summarily closed. My personal favorite ones start with some form of "I copied the user's cookies from device A's file-system, and..."

Just some suggestion on how to report these kind of things, because there is an actual underlying issue here worth fixing. It's good that you didn't mention the reverse proxy. Next, don't say "spoofing an HTTP request" in your first sentence of the report, that's an immediate red flag. If you have access to spoof something on the network, it's already not an issue for 99% of people and an instant low priority. Instead, say "Steam insecurely relies on a redirect response to upgrade the hosted content from HTTP to HTTPS, instead of directly establishing the HTTPS connection". How this can be exploited is now much more general than just being a spoofing issue, with both the problem and solution clearly stated.
Right. Basically anything you do that isn't the microphone built into the webcam will be an improvement.
Agreed. I would like to get involved, but I don't see any reasonable way for me to do that as an individual.
> C's charter is to standardize existing practice (as opposed to invent new features)

Passing a pair of arguments (pointer and a length) is surely one of the more universal conventions among C programmers?
E-Bikes are already at 1,000+ watts. So the estimate is 2,500 watts for something like an enclosed golf cart with AC which seems possible, though I assume they mean car speeds inside a city not highway speeds.
>Why not architecture, or dress, or food

All of these have a very limited use as a means of conveying information, mostly because the medium itself is static.

> or religion?

Funny you would mention religion. Christianity, Islam and Judaism mention the tower of Babel or something similar to it, implying that splitting the humanity into many languages was God's punishment for defiance.

"6 And the LORD said, Behold, the people is one, and they have all one language; and this they begin to do: and now nothing will be restrained from them, which they have imagined to do.

7 Go to, let us go down, and there confound their language, that they may not understand one another's speech.

8 So the LORD scattered them abroad from thence upon the face of all the earth: and they left off to build the city."

If we are to believe this, then returning to one language for the entire humanity would simply be a return to our most natural, original state as was meant by our creator.
Hashicorp is a bit more than just Terraform. 20m sounds plentiful for what pulumi does
We've started doing some things in this area, but I don't think the committee would abandon legacy code bases entirely. Instead, we try to make a migration path for code bases.

For instance, we added the '_Bool' data type and require you to include <stdbool.h> to spell it 'bool' instead and to get 'true' and 'false' identifiers. This was done to not impact existing code bases that had their own bool/true/false implementation with those spellings. Now that "enough" time has passed for legacy code bases to update, we're looking into making these "first-class" features of the language and not requiring <stdbool.h> to be included to use them. We're doing the same for things like _Static_assert vs static_assert, etc for the same reason.
The Luxury of Simplicity
Thanks for the update. I was encouraging some of the people who were going to be at HACS to address this but I hadn't heard the latest progress. Unfortunately I couldn't be there myself.
> because of the people managing required in the management profession

While I agree with the rest of your statements, I disagree with this.

Management is overwhelmingly extraverts because extraversion lends itself very strongly to the kind of elbow-rubbing that our culture sees as more important than performance for determining suitability for raises, promotions, and such.

I know some introverted people who are absolutely brilliant people managers. They understand leadership and what people need so much better than any extraverted manager I've ever personally met.

For all too many people, management isn't even about "people managing". It's about being on a power trip. And this applies triple to the C suite.
There's never ever going to be enough antibody kits for everyone in the world. Same with the PCR test, its impossible to make so many. The only discussion is going to be about the definition of "wide-spread". Whats yours?
Multipath is different in purpose though, although it does also break up the tuple. It's designed to allow load balancing across multiple addresses/interfaces. You need to explicitly tell the other side "I am also available under the following address". There is definitely some overlap and there are proposals for multipath QUIC which gives you both.
I like how you put that, and I think I agree with you. I am also extremely grateful for what I know, and for knowing it (per links provided in the other response). If I can be of service in answering questions I will try.
The Everest Engineering Manifesto
From what i remember when i cared about such things:

It's the gate capacitance (and gates resistance) that leads to switching losses. Usually the biggest part of the switching losses is because the transistor is not fully "on" or "off" for the whole time, but is in between when in the process of switching.
The gate capacitance is probably one of the biggest problems (more for FET, but also for bipolar), that influences the speed of the transistor (presented as frequency or as slew rate).
Otherwise you could just put a bunch of MOSFET-s in parallel and get much lower resistance, thus greater efficiency (and it works, to a point).

Another thing to consider is that FET-s let the current go back and a motor is an inductive load, while bipolar transistors do not.
I forgot how much that matters, but it probably does plenty.

Thankfully electronics is one of those fields of engineering where you can get all the information you need from a datasheet. Unlike from those damned headphone manufacturers (embarrassments to engineering, 99.9% of them).

PS "..you will tend try to keep switching losses low relative to conduction losses.." I think you meant the other way around.
Annex K isn't being adopted because it's unergonomic and doesn't solve the problem it purports to. Even the proposer (Microsoft) does not actually implement Annex K as specified in the ISO.
One could allow the overflow behavior to be specified, for example on the scope level. Idk, with a #pragma ?
#pragma integer-overflow-saturate
that is floating point for you, not Perl
The reputation was earned years ago.
Apparently they still stand by the story, hard as that is to believe at this point.
Japan Needs to Telework. Its Paper-Pushing Offices Make That Hard
Thanks, but we already know there is a pandemic going on causing excess mortality. In fact depending on where we are in the world we are at the tail end of a solid 3 week block where this pandemic and its effect on the local society was the only thing being reported on.

Or in other words: these excess mortality numbers include Covid-19 deaths, it's not the sexy excess mortality that excludes the pandemic some media have reported on.
Show HN: Live Stand-Up Comedy from Home
When they say "existing practice" they mean things already implemented in compilers -- not existing practice among developers.
What are the chances of typeof, or statement expressions, finding their way into the C standard? They're already widely implemented.
Are you asking if there is evidence that it was intentionally wrong reporting?

No, AFAIK there was no such evidence.

Are you asking how, in good faith, such a factually wrong story could have made it to publication?

We also don’t know.

Are you asking why BB has not retracted it after being called out multiple times?

Maybe hubris, maybe profit motive.

At the end of the day, why would we trust anything BB publishes about China? They have Terminal licenses to sell and they don’t want to jeopardize their market.
In which case, we need to think about Medical Ethics. Do we start experimenting with you and your loved ones?
Backpropagation 101
Bounties are only a decent income if you're:

* In that *very* small slice of hackerdom who can manage consistently a $10k bounty a month
* Working a pretty favorable currency and CoL conversion

It takes a lot of discipline and well-developed process to handle vulnerabilities well. Many companies don't manage this. Instead, they are often earnestly bad at it.

It's possible Valve is trying to get out of paying the bounty. It's also possible and even likely that they're honestly just bad at handling reports as an organization.

That would make sense. At this point in time the primary reason to have a bug bounty program is so that you can can say you have one. Most will maybe get a handful of reports a quarter about low-hanging fruit.
One potential archetype for him that is consistent is he simply cannot recognize these political concerns. Many of us feel anxiety about the idea we may be interpreted as stepping on peoples' work, or failing to recognize their efforts and how they may have led to our own advancement. It may be that Wolfram, for whatever reason, simply doesn't have that - not out of malice, but just as a core deficiency in his ability to empathize. Any person like that would be viewed as a bull in a china shop, even if everything they wrote never directly attacked or diminished others - and that seems to be the case here. The problems people have with Wolfram are problems of "insult by omission" or "implicit bragging" - not about things that are on the page, but the things that aren't. Anyone who lacks this kind of empathy would simply not write them, and be confused as to why people react to their writing the way so many do.
But life and death are not really that separated.

To die is, after all, part of life. There cannot be one without the other. Thus (logcially?) the right to live is equivalent to the right to die.
You've already lost big if you ever need a debugger to understand code. Especially if your beginners have to use it just to wrap their head around wtf is happening.

And having to run your "config files" just to see what they're doing is the huge downside of using programming languages as config. In other words, it's kind of circular to point out that using code for config puts you in a situation where you might have to use a debugger to know what your config does.
My comment was about orthography, how letters are manually written; the context was learners who don't already know an alphabet.

It's not uncommon to write capital-E with cursive strokes so it's a reflected or rotated 3, and lower case m and w are sometimes written similarly - so as to be very close to rotated versions of the same character.
Has to be a typo. 900V is the only thing that makes sense in the context of the 'reducing current' since that is the 'main loss'.

This whole article is kind of terrible though... they're talking about reducing losses by using SiC MOSFETs and using higher voltage architecture... except they fail to recognize that higher voltage MOSFETs inherently have higher impedance when on, and it causes a bunch of other potential issues.

Also, they're comparing themselves against the Porsche Taycan... which is one of the worst performing (in kWh/efficiency value) cars out there. Why not compare against the Model 3? The Model 3 uses SiC MOSFETs (although, 400V rated ones) just like they're talking about here.
How is this not? Steam clients are basically glorified web views for the Shop portion and user regularly enter credit card details in them to buy games or hardware. User also might have virtual currency or valuable stuff in their account worth a lot of real money and users trust everything that's inside theses clients.

So by MITM any unencrypted connection to Steam server either credentials or payment info.
I start with generating tags.

exctags --exclude=TAGS --exclude=TAGS.NEW --append -R -f TAGS.NEW --sort=yes && mv TAGS.NEW TAGS

My editor (vim) has native support for quickly jumping from a use to definition via this TAGS index. History is preserved (i.e., there is a "back" button), so you can quickly dive through 5 layers of API and back out to understand where a value went. It is quite useful for starting with what you know and following it to the surprising behavior, without executing the code.
Delve is great and debuggers in general are some of the best tools but to take the title at face value diminishes the value of the unassuming print facilities in every language.

There’s a time and place for proper debuggers and (more?) time and place for a simple print statement in my humble opinion.
That would be an immense undertaking. It’s not really just that some statement or expression is unreachable (we have __builtin_unreachable() in GCC for stuff like that) but that certain states are unreachable.

For example,

int buffer_len(struct buffer *buf) {
return buf->end - buf->start;
}

There are at least three states that trigger undefined behavior: buf is not a valid pointer, buf->end - buf->start doesn’t fit in int, and buf->end and buf->start don't point to the same object.

I’m not sure how you would annotate this. At the function call site, you would somehow need to show that buf is a valid pointer, and that start/end point to same object and the difference fits in an int. It would start looking more like Coq or Agda than C.

Honestly, I think if you really want this kind of safety, your options are to use formal methods or switch to a different language.

There’s also this weird assumption here that the compiler detects undefined behavior in your program and then mangles it. It’s really the opposite—the compiler assumes that there is no undefined behavior in your program, and optimizes accordingly. In practice you can turn optimizations off and get something much closer to the “machine model” of C (which doesn’t really exist anyway) but most people hate it because their code is too slow.
When do you think we will get an update to C11 or more recent version of C to MISRA? Do you all have any influence on "Safety Critical C" standards?
Do you have a source for this? AFAIK the .NET Framework CLR and CoreCLR both still store strings internally as UTF-16.
A Visual Browser History, from Netscape 4 to Mozilla Firefox
This is pretty cool. Anyone have thoughts as to _why_ they’re making this move?
Sizle.io (Pitch deck tracking tool) $0 Lifetime Pro Licence (Was $10 Per Month)
>you'll be able to start a download at home, hop on your bike, ride to the office, and finish your download without the connection dropping once.

you could do this for over 20 years as long as server supports HTTP/1.1 https://en.wikipedia.org/wiki/Byte_serving
I've seen it here in small amounts before, but it's rather shocking to observe so much obviously biased downvoting and flagging in one story. A number of anti-CCP posts already dead, and others on their way...

I suppose it's rather predictable that people can't post something about the CCP on a meta-story about the CCP killing news stories, without their posts in turn being killed.
New Nvidia and Heidelberg Uni Viewpoint Estimation Learns from Unlabelled Images
Sad as it may seem, you cannot avoid those deaths. Stopping the spread of this disease is impossible. Even if you flatten the curve, the virus will continue to infect just as many, just slowly.

>and Sweden's tactics don't seem to be working that well.

Their healthcare isn't being overwhelmed and that is the only thing that matters in any country at this moment.
There was this one last year: https://arstechnica.com/information-technology/2019/08/valve...
I have not used Pulumi yet, but if anyone has, I'd be curious to hear a major thing re declarative/procedural (and I'll preface this with that I'm biased towards declarative for IaaC use-cases):

How does it differ from terraform when it comes to modifications and teardowns?

In terraform, I can target a module or resource for destruction, which will tear down the resources targeted and nothing else - esentially the inverse of the application resulting in creation.

How does this work in pulumi?
True. SmartTV's may appear simple, but I am fairly certain that their simplicity crumbles for most users quickly.

Say, once a user just wants to play games on a console and has to wait for a TV to boot and prompt you to install updates, when a user wants to use AppleTV instead of Android TV, or when they want to upgrade the smarts.

I think the man reason people think this is simpler is that manufacturers force it down consumers' throats as this setup sells more units due to planned obsolescence.
Why is the microbiome important in some animals but not others?
Seems like Github is feeling heat from GitLab/BitBucket.

I guess the calculation here is that the enterprise contracts are where all the money is, and keeping smaller customers on GitHub is worth the price cut?
Indeed. Making the headline here about Bloomberg smells of the exact kind of tiptoeing around the CCP that the article discusses. The real story here, and probably of this decade, is the corruption and subversion of Western institutions by the Chinese government.
Pulumi is great, but I gave up on persuading a company with a lot of existing terraform to move to yet another tool, and created a (pretty basic) DSL/library for writing terraform in python/c#, which can output to terraform. I could probably get permission to open source it if people are interested. *

As far as I can tell, you get more or less the same benefits as you would if you use pulumi (in the same ballpark).

* There are one or two tools for python/ruby that do this already, but having it in something with stronger typing has advantatages
Yeah that's pretty much what I was asking.

It was a weird story with weird reactions from the companies involved ... but at least I never ran across anything that explained how the reporting played out / if there was anything 'faked" or anything like that.

The whole thing seems to not have many answers.
Covid Crush HTML5 Game
Holy Language Wars, Batman
The report could have been better worded IMO, it hardly explains the trivial issue or the trivial fix. Preferring to go at length about what if the ISP is hacked and other crazy scenarios.

It wouldn't hurt to say that they simply have a typo in the URL. http instead of https.
They are commoditizing their complement. So what's their core business?
Ask HN: Robust HDD and enclosure for archiving and backup?
„How to best preserve data for a very long term?“

I get it that this questions seems rather superficial. But please hear me out:

Which HDD to buy?

I had a WD MyPassport fail on me once. I opened it but the connector was custom-made. Removing it from the enclosure was a rough adventure - I basically ended up “breaking free” the HDD from the plastic case. I had to connect a custom USB-A Connector to it to get my data back. Very bad experience. If possible the HDD should check the following boxes:

Solid, robust enclosure. The case should protect the HDD in case it might ever get dropped.

Long Term Drive Performance for the use-case of “only being turned on for backup syncing”, meaning roughly every two weeks / every month (if needed). So the drive is turned off most of the time.

Removable drive. If the case / connector fails, I’d love to be able to connect the drive to an SATA or whatever-default-connector it might have. WD burnt me.

So what’s your suggestion? Which HDD + which enclosure? Is buying a “complete” option, like e.g. the LaCie mobile drive or G-Technology G-Drive, even remotely viable?

Bonus question: I use macOS, Arch Linux & Windows. Which file system would you suggest?

Best wishes from southern Germany!
Expert Tips for Finding Good Remote Work from Home Jobs in a Dwindling Economy
My guess is that they're a Big Company that can land Big Contracts now and that subsidizes small teams.