skysight-inc/HackerNews huggingface dataset:
Right. But machine code is the interface that the hardware provides to the rest of the world, meaning you can ignore that the hardware is doing something different. And in fact, you don't really have access to what the machine is doing. Or maybe you can get at all those virtual renamed registers? I can't, I can just access the architectural registers.

Now if you care about performance, you might not want to ignore the real machine, but it really bis the hardware's job to work like the machine code tells it to. And when it doesn't, that's considered a bug^H^H^H exploit.
United States Coronavirus (Covid-19) Tracker
Harvard's Stat110 by Joseph Blitzstein and the accompanying book Introduction to Probability - https://projects.iq.harvard.edu/stat110/youtube
Looking into "averaging down" or "tranching in" and go into SPX. Unless you know how to thoroughly invest in companies, you're betting on the US economy recovering at some point. Statistically significantly higher returns than any other option out there.
Not portably, you could of course use inline assembly in practice, but the normal way of doing it is UB.
The nautical mile is the length of an arc minute on the equator, the circumference of the earth divided by 360 * 60

The kilometre is the length of a centigrad of arc of the meridian through Paris, the circumference of the earth divided by 4 * 100 * 100
> Touch screen controls in automotive environment is such a bad idea

Touch screen controls are a bad idea in general when the form factor has space for adequate physical controls.

The only time they're an acceptable compromise is for small devices like phones. Even then careful use of a small number of buttons can be a great improvement.
The Office’s John Krasinski launched a YouTube channel dedicated to good news
A link to the actual editor page: https://theia-ide.org
I feel like the subject matter also signifies. I mean, if I post a 5000-word paean to the Polistinae - they're good wasps, Brent - and say I don't want it to end up on the front page of HN, I feel like I'm not going to get what I don't want, you know?
> Borrowing money to buy real estate and then collect income is a very common way to leverage your money. Over time that builds real wealth. My friend has bought 5 properties and is renting them all out

This only "builds real wealth" for one person. For the larger system consisting of all 6 people, it's a net loss (the interest payments are still leaving, upwards). We've built a financial system where it is in everybody's self interest to make everybody else worse off.

The positive sum progress from the economy was enough to outrun this setup when there was abundant energy and foreign countries to colonize, hence the focus on "growth". But that era is over, and we're now stuck with a black hole of debt that still needs to be serviced...
> my rule of thumb is that writing performant Java is about 10x harder than writing memory-safe C++.

This is a bold claim.

The JVM is incredibly good at generating fast code, to the point that even naively written Java is guaranteed to run in the ballpark of C/C++.

Writing memory safe C++... good luck with that one, especially as soon as you start using external libraries where memory ownership becomes very blurred.
> Maybe ten years ago I would have believed this, but with each macOS release the litany of unforced errors just continues to grow.

Apple, of all companies, is not a monolith. There are parts of the company who've been just killing it from a software perspective (Swift, SwiftUI, XCode preview for SwiftUI, etc.) Where they've had severe issues has effectively been quality management across the broader OS.

Also, I'll be very interested to watch what happens over the next couple of major release cycles. I think Apple got a major wake-up call with the shitstorm that was the iOS 13 / Catalina release cycle. I'm hoping that they'll be putting in place an outright culture shift to fix that long-term, vs. a one-off "Snow Leopard" tech debt paydown release.
Cohesion: Rethinking Workflow Development
That's what Amazon claims anyway. Best to take that with a pinch of salt, given their track record.
That's fine unless he was in Detroit.
Go through what? Why would you take down the post as it’s probably useful to others?
For its population, Houston and Texas for the most part has fared well so far, but I'm careful not to be too optimistic over the long term.
55X5 Manifesting Technique 3 Biggest Blocks to Manifest $1M
Fun story.
In the Princeton Physics dept. corridors (ca. 2010) there were posters and papers talking about current research and results. One of them, not far from Anderson's office, was about broken symmetries and the Higgs boson. In it, a sentence described how "the mechanism of spontaneus symmetry breaking, proposed by Peter Higgs, explained the non-zero mass of the boson" (I don't remember the exact sentence...but it was something along these lines).

Someone had crossed out that sentence with a red pen, and corrected it by writing that the mechanism had been proposed by Anderson in 1962. I always wondered who had done that :-)

RIP
What a dick!
Thank you, that was very insightful. I've felt that way about generators, but it never occurred to me that try/catch could be viewed similarly to a coroutine (because it's basically using goto to jump to alternate states too).

Edit: I forgot to mention that I came to your same conclusion a few years ago about async/await being equivalent to a state machine. It happened a different way for me, when I realized that a coroutine performs the same computation as a state machine, but is much easier to trace. I was working on a game, and made a rather large state machine with perhaps 20-50 states and some side effects where those states interacted with game state. But it simplified down to just a few lines of ordinary flow control code when I tried it as coroutines with message passing. So to me, async/await carries the burden of state machine complexity but loses the simplicity of coroutine (and sync/blocking obviously) traceability. So I just don't see a compelling reason to use it.
Thanks for the info, considering situation maybe I can give a shot again:) Yes I also remember reading that sensors had pretty much identical results with emotiv as well. This project also looks pretty cool , thanks for sharing.
To be fair, I don't think the manager in question did it purposely to monitor me, but it made me uncomfortable nonetheless.

TBH, I should have asked him about it, but I couldn't think of a way to bring it up that didn't sound rude or suspicious, and it turned out I left soon anyway.
As far as I know (and I could be wrong), reading uninitialized memory in C is not UB, but gives an indeterminate value, which may be either an unspecified value or a trap representation. If it is a trap representation, accessing it is indeed UB, but if all possible values of your memory are valid, e.g. if you have an unpadded integer where every bit representation means something valid, then it is not UB, though it is still an unspecified value which does not even have to be consistent: you could get different values when reading the same uninitialized location twice.

Edit: Some excerpts from the C standard:

6.7.8 Initialization

10 If an object that has automatic storage duration is not initialized explicitly, its value is indeterminate.

3.17.2 indeterminate value

either an unspecified value or a trap representation

3.17.3 unspecified value

valid value of the relevant type where this International Standard imposes no requirements on which value is chosen in any instance

6.2.6 Representation of types

6.2.6.1 General

5 Certain object representations need not represent a value of the object type. … Such a representation is called a trap representation.
> I was brought up to work diligently, not take on debt, and save - a simple approach to building wealth

This basically doesn't build wealth, it builds a pile of money which you can draw down in the future. Not nothing and good to have at the base of a pension, but once you've gone beyond the basics it doesn't do much. It's mere deferred consumption, it's not making anything.

Now you have to face three problems:

- there are people out there with many orders of magnitude more money than you. They don't know what to do with it either. This is why rates are so low.

- the risk/reward tradeoff is real. Real estate and equities are popular but both can fall off a cliff suddenly. To successfully invest in either you need to be able to wait out the bad years without cashflow problems.

- we're in a period of massive uncertainty. It's a pretty bad time to start a business .. unless you have a clever plan for the pandemic.

If you can buy distressed property or businesses at the "end" of the pandemic, and the pandemic ends and the economy returns to the old normal, you could do very well. If.
> If you want to go with that analogy, UB is a kin of you intentionally pointing your gun to your foot, taking your time to aim it precisely on your foot, and in spite of all the possible warnings and error messages that are shouted at you…

Yeaaaah not really:

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

static char a[128];
static char b[128];

int main(int argc, char *argv[]) {
(void)argc;
strcpy(a + atoi(argv[1]), "owned.");
printf("%s\n", b);
return 0;
}

compiles with no warning using clang (8), even with -Weverything

And that’s a super easy case, it’s not a use after a dynamic callback somewhere freed a pointer it did not own, or a function 5 levels deep (or worse in a dll) didn’t check its input pointer which only became occasionally null years later.
https://www.motorauthority.com/news/1121372_why-mazda-is-pur...

A more in-depth article last year on why Mazda is doing this.
Seems to be a duck violation. If it looks like a crime and sounds like a crime ... admittedly not the best metric for equitable justice.
Catalina is broken in many ways.

This complain and Remote Access in (so I can SSH to my $4k MacBook) disables itself anytime the computer is restarted.

But more importantly, I’ve still not found a Thunderbolt Display that doesn’t routinely crash screen manager services upon idle user activity. 3 x $300 thunderbolt3 dock solutions later and not a one hasn’t crashed this computer. All main brands, two of which sell accessories in the Apple store.

Problem also existed with a top of the line 13” MacBook Pro.

I’ve just gotten used to the shoddy-ness that is Catalina. Figure if I go to the bathroom, upon return I have a fresh, new clean desktop environment. Feature not a bug. Yay!
Tech giants should give away their money instead of their products
Even casting 0x12345678 to int* is undefined behavior
I agree that lotteries are close to one side of the risk scale but real estate is closer to the middle than to the other extreme. The other extreme is U.S. treasuries. The last recession was a great illustration of the risk inherent in real estate.
That was Paul Graham

https://mobile.twitter.com/paulg/status/1237801364023017472?...
React Hooks Implemented for PureScript's Halogen
Every market is different.

As I see it, there are many factors at play:
- Network effects
- Economies of scale (usually not large in software development)
- Other barriers to entry?

How important each of these is, depends on each particular market. In some cases, some coordination between agents could achieve better results.

Regarding network effects, uncoordinated efforts or competition between a lot of agents could lead to an inefficient solution that is very hard to change without coordination of resources (perhaps the QUERYT keyboard layout, that was created for old mechanical keyboards?).

Anyway, I don't think this is the case for UIs, but perhaps in other cases, some coordination could be better for long term results without sacrificing innovation.

Besides that, in a capitalist economy, inside every company/organization, there is some sort of 'Top down planning' and coordination between resources (Example: Alphabet: Google Search, Youtube) to gain efficiency and efficacy.
Steve Keen is a good source on this:

https://braveneweurope.com/steve-keen-the-delusional-leaders...

https://braveneweurope.com/steve-keen-the-euro-is-a-suicide-...
I'm going to guess Amazon has it well documented and dotted all the i's and crossed all the t's
Just semantics at this point. A system that distributed the keys to all participants in the clear from a central server is still encrypted end to end in some sense. As pointed out by someone else in this comment section, the expression "end to end encryption" comes from the early day of PGP. PGP specifically protects against MITM with a fairly sophisticated web of trust system. So it is entirely legitimate to assume that e2e encryption includes MITM protection as a hard requirement.
Isn't 8080 used almost everywhere ?
I think the key is to a) trigger emotional engagement by driving a narrative based confirmation bias in the headline, and b) still have all the facts in the story for those that will actually read it which I assume turns out to be not a large percentage of people that see the headline.
UK considers virus-tracing app to ease lockdown
I think we will see the next genuine counter culture formed because of this.

It's most likely to be young people and what's amusing is that we will be the squares this time around!
I don't think deflation is the natural state of things. Even before fiat currency the money supply grew (e.g. gold mines) and we had inflation.

Productivity growth is normal-ish, but the amount you prices have been all over the place throughout history.
These IHME predictions are actually based on deaths, not on tests. Also, please look at the wide error bars on the original data source: https://covid19.healthdata.org/projections

Of course there are still a lot of variables - one of the better criticisms is that it assumes that states lock down with the same strength, just at different dates. But it's the presentation of this Axios piece that is dangerous here: It strips out all the uncertainty estimates and presents exact numbers as if they were precise.
Feels like this is going to create some headaches for prosecuting CFAA cases if the verdict stands.

I suspect the definition of 'unauthorized access' will need to be more clearly defined since I know many cases in the past relied around users doing shit that was unauthorized by the TOS.
Okay, you're talking about OoO execution here, and you're right that this can be hard to reason about (in terms of stalls/latencies), however that's orthogonal to microcode translation.
I have a 2013 Accord with a touch screen (bought it used and it's what came with it) instead of button controls. The latency on the screen is terrible and my father's Acura RDX which does not have a touch panel is much more user-friendly. I would love if more manufacturers started to put more analog controls back into their cars, but kept the non-touch screens for info display/backup cameras.
C is not shorthand for assembly, but there are two reasons why it feels like it.

1. You do lots of pointer arithmetic. But I don't think being practiced at pointer arithmetic is important for developing as a programmer. Just learn what it is.

2. Local variables in C exist on the stack, not the heap. But I don't think programming in C is a great way to learn about stacks. Except when you try to return a reference to a local variable from a function, everything feels the same as in other languages.

If you're making a list of languages you want to try out, I wouldn't put C above 5th place. I say this as someone who spent 12 years primarily coding in C.
> Which wouldn't necessarily be a bad deal.

Maybe for them. But maybe not for consumers.
What do you mean by "good market conditions?" Also, we're definitely not in deflationary conditions - this implies a decrease in prices of goods. The shock to supply chains is actually going to make things more expensive. What we're really looking at is the possibility of stagflation - inflation + fall in demand.
I think the technical term for this is "cherry-picking".
6-feet Covers
I'm not sure this matters. It's a very strong gesture that they're highly confident their systems were not compromised, but the word is already out: "Houseparty has poor security and leaked your passwords"

It's kinda hard to come back from that, unless media print a correction with the same enthusiasm as the initial reports.
I've been a Linux user for the last ~15 years, and now I need to do some iOS development so just a few days ago I've ordered a Mac Mini. I guess I'm in for a bumpy ride. Oh well.
Excellent, I found my time sink for today. Another IDE!
This has nothing to do with microcode. It doesn't even have anything to do with microops. Reordering instructions (likely register renaming or load-store forwarding here, though the pseudo C code doesn't let me determine) is just part of how the processor retires instructions.
Unit Testing Infrastructure
I think the point is that more than just this worker was exposed to COVID-19...shouldn't the entire warehouse be shuttered?
Its really not that clear and we will need to wait for the courts to figure out what means what.

For instance this: https://www.theguardian.com/technology/2013/mar/18/at-and-t-...

All they did was "scrape publicly facing data"
This reminds me of this writeup on doing something similar, with Rust as the native core for an electron app; the Rust in this case is in-process, written using "neon".

This app (Finda) hit a performance target of 16ms rerenders for incremental browser history + desktop file search - computers are fast, even if you use Electron.

- https://keminglabs.com/blog/building-a-fast-electron-app-wit...

- https://github.com/neon-bindings/neon

(edited for formatting)
I can't reproduce this. macOS 10.15.4, ssh'ing to a very high (5digit) port with a hostname no problems.
Hacker News can be a cesspool at times.

One important thing to always remember is that unless someone posted their article to Hacker News themselves they might have had absolutely no expectation that a huge audience was about to descend and dissect everything they wrote. They might have just been talking off the cuff, mentally noodling around or even just using the process of writing stuff down as a means to sort their thoughts. Far too often HN commenters work from the assumption that an author is intending to make A Big Point and very uncharitably deconstruct every sentence the author wrote.

It's only a matter of time before we see a reply along the lines of "OBVIOUSLY 10.15.4 did NOT break SSH, the author just didn't do X Y and Z to fix a very OBVIOUS mistake in their SSH config".

> Why would you take down the post as it’s probably useful to others?

More broadly, Tyler doesn't owe the world anything in this regard. If he wants to post it, cool. If he wants to remove it, cool.
8080 < 8192
In case it's slow for you too: <removed since they wanted it taken down>
Ten years ago a lot of people learned that housing is not as safe as they thought.
8080 is less than 8192. This bug only happens when the port is _higher_ than 8192.
Funny coming from Honda. My parents own a 2017 (I think) Civic and the only way to adjust volume is by tapping +/- on the touchscreen. It's the most unusable volume adjustment I've ever experienced. It was completely unusable with a glove in the winter.

So while most other companies only implemented touchscreen controls for secondary features Honda did it for the most widely used one. Now they are backtracking 100%, go figure.
"The government response - or lack thereof - to the 1918 pandemic was good, actually" wasn't a take I was expecting on this site, but perhaps I should have.
I wouldn't be so sure. Probably well stitched up though.
Until their diesel runs out...
Yeah, and that's a fine solution given the situation Apple has left us in. But it's also kind of a hack, which shouldn't have become necessary.

Also, personally, I sometimes purposefully put apps in places other than /Applications—for example, I like to keep games in their own Games folder. And then the dialogs are kind of annoying.
This is all just a matter of timing. Doubling time for the spread seems to be around 5 days.

To demonstrate the numbers:

Time 0 - 5,000 peak cases needing ICU

5 days later - 10,000

10 days - 20,000

15 days - 40,000

In an area that has let's say 5,000 ICU beds, those 15 days are the difference between having just enough beds+ventilators, or having only enough beds+ventilators for 1 in 8 critically ill patients.

Imagine a photo of a hospital dealing with situation 0 vs situation 15 days later. Yikes.
I agree that they are different beasts, but is there anything that assembly can do with data which C can't do? Or are there only control efficiencies which assembly can provide which C can't?
No motivation at all. My only connection to Zoom (full disclosure) is that I own a small amount of their stock. My purpose in pointing this out is that what we understand as well-understood technical terms are easily confused when communicated to a larger audience. While we should absolutely criticize anyone misusing the term, we also need to take a step back and question whether we're communicating effectively to a non-technical audience.
That is not true. There are nearly risk-free methods of making investment returns, and when the upside is small but risk is minimal, leverage is the way to amplify the upside. Playing lottery means high risk of losing money and that is not an investment, though the line may seem blurry. (Some turn lottery into a reasonable investment, so it is truly blurry.)
Active Discussion: https://news.ycombinator.com/item?id=22738592
As an aside; is there a reason to host SSH on a non-standard port? I recently came across a system that had it listening to a really high port number. I dismissed it as security through (bad) obscurity but is there a valid security reason to do this?

EDIT: Thanks to everyone who answered my question! It makes sense to me now why one might do this.
sorry my bad what was i thinking
I would have loved Sam to make that argument explicitly: it’s not his style to talk about government money as if it grows on trees. I suspect he wouldn’t have looked at the overall distribution but where to assign marginal tax revenues.
Would I use micro on top of k8s? Doesn't seem to make sense to mix the two as far as I can tell.
Distantly reminds me of the "annoy" website (I forget the exact URL) that was created as a sort of protest of some legislation in the early days of the internet that referenced "annoying" someone (I forget the exact language).
> it’s probably useful to others?

That's my intent. I'll put it back online for others to find once the fuss dies down.
Map: 80% of Americans under stay-at home-orders – track states, cities
Ask HN: Did the latest macOS update (10.15.4) make trackpad scrolling weird?
My Macbook updated last night and I turned it on this morning to begin work, and suddenly scrolling with two fingers feels like mud. It's not just slower overall; it seems like there's some extra dampening happening unless you really give it a push. I.e., moving my fingers two centimeters goes more than twice as far as moving them one centimeter. But moving them one centimeter goes a much shorter distance than it used to.

I can't tell for sure, though, whether it's just my imagination. Anybody else experiencing this? It feels horrible and macOS doesn't give you any way to tweak scrolling behavior as far as I can tell.
Eminently sensible call by Honda. Knobs, dials and switches work well and do not demand that a driver takes their eyes off the road. I suppose that voice controls would be a reasonably safe tech option, but probably not cost-effective.
Yeah, I can see reason for the CDC to have daily press conferences now, not be routing it all through the White House. But that starts to lean toward political pressure from the White House silencing them to prevent mixed messages.
Not for SSH. Common alternate SSH ports are 222 or 2222 which are well below.