skysight-inc/HackerNews huggingface dataset:
> Call me pedantic, but mmap is a syscall.

You're misunderstanding. You call mmap once, which is a system call, and then instead of using system calls you just access memory which performs the operations as needed through loading on page faults, not through system calls. This compares to using system calls all the time.
This is indeed the main reason array[42u32] isn't supported today: implementing Index on both usize and u32 would make array[42] ambiguous for the type system, it needs to unify the {integer} literal and some implementor of Index, but there are now two possibilities. This would be a breaking change.
This won't help directly, but Eric Weinstein is pissed off about the same issues, and he has some pretty good thoughts about ending paywalls and increasing funding for basic scientific research.

https://www.youtube.com/watch?v=Z7rd04KzLcg
https://www.youtube.com/watch?v=rIAZJNe7YtE
What's the difference between the two words?
Nice article. Could someone suggest me a book that explains this stuff further?
Try reading the docs before making sweeping negative comments about what a piece of software can and cannot do.

https://jax.readthedocs.io/en/latest/notebooks/autodiff_cook...
I am not surprised by this one bit. I've been looking at these charts daily, and it's a bit silly to need confirmation from a study: https://www.worldometers.info/coronavirus/country/us/
Heck, Thinking there are individuals who actually understand such a large system are complex.

Even at organizations orders of magnitude smaller than Facebook, it's pretty easy to have a few systems that are large enough you can only keep so many in your head at a time.

You'd probably need a few dozen of the right people together to begin to understand the complexity of their systems.
Close, Three phase systems actually are a carry over from the days of early induction motors. Three phases can easily be connected to create a rotating magnetic field. We don't just use one phase at a time on the grid. All three are active. Phases A and B and C are all 120 degrees out of phase with each other. (That has nothing to do with the 120volts you know of in your house- it just happens to be another 120 number)

AC has inductive properties. I.e. it can induce electrical currents in wires across a core. (Transformer) DC cannot do this. Before vacuum tubes and other tech AC was one of the few technologies that could be easily stepped up to hundreds of thousands of volts.

Voltage and current have an inverse relationship. So we can step up voltage and reduce the size of the conductor $$$$ other feature is reduced line losses (HVDC actually beats us here but this is another discussion)

Having AC power allows all kinds of cool things! Did you know that your common household 120v feed is simply a single phase being split into two 120v 'legs'. Both 120 degrees out of phase. So if you remember elementary school math the abs() of phase A at its peak of +120 and phase B at it's valley of -120 = 240.

It gets better! We can be cheap on wire with AC systems! I can wire a 'multiwire branch circuit'. With phases a and b that share a neutral. If the current on phase a is 20 amps and the current on phase B is 20 amps what is the return current on my neutral? ( Google Mike Holt Multiwire Branch, Enjoy )

Want more fun. Read about Neutral Earth Voltage and NFPA 70 requirements for agriculture and equipotential planes. :-)

AC is freaking magical. The grid is even more awesome!
Engineer Posts Images of Abandoned 300 MPH Hovertrains
Wow those were the early years of mining, must have been quite profitable if you kept the yield for a couple of years till the price skyrocketed.
Strawman 1: Everyone is using Signal, which I have no legitimate objections against, and only dislike because it's easy to use.

Strawman 2: Yes, there aren't any technologies which care more about privacy and freedom, while still valuing good usability, because Element doesn't exist.

Strawman 1: The only chat client I use is one I created myself, based on my cryptography PhD research. Using it requires memorising over 100 command-line options.

Strawman 2: I would communicate with you using a copy of that client, but a chat network having two users would be too much mainstream adoption, which I hate.

everyone in the cafe starts clapping, out of respect for their intelligence and principles

[I think my story is about as convincing as yours, but yours was way hotter, well done.]
I can confirm that putting in this time is imperative to getting the right people hired.

But if you require that any engineer involved should spend a quarter to half of their week on hiring, and that you yourself consider anyone with less commitment unsuitable, don't you agree that scalability becomes a problem?

How many half-recruiters, half-engineers do you think are available, compared to the overall need for engineers with hiring authority? I don't have data on the former, but it's apparent to me that, if you hire people to do this full-time instead, you're hiring a recruiter. That's what gets you exactly the system everybody seems to complain about.
Heads up that VMWare Fusion has a free version on Mac as of this month. :)
Show HN: ShinyCoin – A Concurrency Ratio Calculator
SQLite now allows multiple recursive SELECT statements in a single recursive CTE
For a minesweeper MMO, you can try MineSweeper For Twitch [1]

The first Twitch Plays you can play with... your mouse!

We can go up to 10k cells max, but you can sweep mines with friends.

---

[1] https://www.twitch.tv/bzh314
The Eastern Bloc was downplayed in the West thanks to the Cold War.

Codetalkers are remembered not out of respect but because it's a rare neat trick (and it feeds into American Exceptionalism in a fascinating way.)
I see no respect in which your solution is superior.

By the time you implement getCurrentSpeed(), etc., you're going to have a fair amount more code than me. (writeSpeedToEngineComputer() doesn't count, because I need to implement that also.)

Your reason for doing so is, I think, in your last two paragraphs. But this isn't particularly reusable code - I'm not going to use getNextCruiseSpeed() or handleButtonPress() in the windshield wiper controller. It's pretty much tied to the specific use. (There may be a handleButtonPress() in the windshield wiper controller, but I can't reuse this one.)

So you offer me something that is more verbose, based on a benefit that I can't actually benefit from.

(I presume that getCurrentSpeed() returning void was just because of quick typing.)
One year isn’t enough to test reduced MTBF through increased ambient temperatures. Dust and the consequence of insulating electronic components can take years to surface problems.
Am I reading this right: almost 1 in 5 American adults is on disability?
We're sitting at 220k right now so I don't see how that is such a terrible estimate when dealing with a highly multiplicative event like a pandemic. An estimate of 10k or 1M would be something extremely off, not 170k vs 220k.

You should familiarize yourself with power law processes:

https://en.wikipedia.org/wiki/Power_law
For any poor souls visiting this thread, I just use https://southtree.com/ … it was like $100 and I got 2 boxes of VHS and all kinds of various video camera formats converted to a USB stick

Even as an exercise in learning, it's a deadend. Southtree and their ilk will be gone in this generation.
I am not sure what your point is. It is possible to change the phase of a signal. In fact, a simple capacitor or inductor will do it.

With high power systems it might not be practical to do it with a single capacitor or inductor but it still can be done.
The later Apollo missions weren't very popular with the public and were a potential political disaster for the president. Many people felt they were an enormous waste of money.

James Burke made a really great documentary mini-series in ~1980 where he interviewed a lot of the people involved in the Apollo missions. You can still find them on YouTube.
To expand on the dollar store example, they will take back an item that was sold outright broken or defective (although I've never seen anyone actually return in item to the dollar store). They don't have to take back all their low quality products when they perform poorly or break, nor do they offer customer support.

I think you're building a strawman here. This is a thread about Google having poor customer service, and you're trying to frame it as if Google is refusing to refund defective products. Those are not the same. Google refunds or replaces defective products they sell.

Google has some customer support. It's not very good. Google has several billion users and only about 100k employees total. That's somewhere around 1 employee per 30k users.

Customer support quality is a continuum, not a binary thing. The comment you replied to was pointing out that a company that makes a small amount per user cannot afford the same level of customer service as a company that makes a lot per user.

No one in the thread said Google couldn't hire more customer support. They said looking at customer support quality as an "ad-hoc monopoly test" is biased against companies with huge user bases and small margins per user.
> We'll have a cell network on the moon and still lack basic broadband access to many rural areas.

Probably, but then the share of the population on the moon is nondecreasing, unlike that in the rural areas at issue.
> illegal

Under what government?
At least in Sweden, all houses have a 3-phase, 400V supply. This is very different from the US which just supplies one phase to each house even if the supply itself is 3-phase. This is why you commonly see 200+A main breakers on a house in the US whereas in Sweden, 25A is a pretty common main breaker size.

(It's as if the US grid characteristics were decided by the copper vendors... ;-)
Ask HN: How do international software engineering contracts work?
Hey HN, my previous employer(different country from where I currently reside) has offered me contract work for a few weeks. I was wondering if I will have to pay taxes in both countries? Am I required to disclose to my current full time employer about the additional work? Any other pitfalls I should be aware of?

Edit: In light of martell's comment, this will be my previous company to me(individual) relationship. From the contract's perspective, it will be from India to Canada. I was present in both countries in the same year. I am an Indian citizen and a Canadian Permanent Resident
If this lawsuit eventually succeeds, would it strike a fatal blow to Mozilla's revenue?
I see a lot more natural electricity (lightning, monthly) than I do natural fire (wildfires? Never)
Also sbrk just doesn't exist on many new platforms (e.g. FreeBSD does not have it on arm64 and riscv64)
$20,000 was chosen because LISEP concluded that anything beneath that wage could fairly be considered a poverty wage, based on the U.S. poverty guidelines put out by the Department of Health and Human Services, which considers a three-person household to be in poverty if it has an income of less than $20,000 per year.

Which underlines my point - poverty is not the same as unemployment. For starters, not all people live in three-persons households, especially ones that earn low wages (e.g. single young people just starting their professional careers). Secondly, defining every poor person as "unemployed" is making the term meaningless - just say "poor" then.

> Because your comment is full of generalizations and cynicism

I raised very specific issues with this methodology, and with the terminology specifically, but if all you can do is dismiss them as "cynicism" (do you even know what it means? it doesn't match any part of my objections) then fine, whatever.

I am objecting to the use of an established term to mean something this term is not supposed to mean. There's nothing "cynical" about it.
Ask HN: The state of Firebase alternatives in 2020?
Looking for a Firebase alternative that is ideally production ready and open source.

Has there been any strides in this area and what is the current state of them in 2020?

Thanks.
I think because 1Gbe is still enough. And the price difference to faster options is too high. Even as a power user with many servers and PCs at home I don't saturate my gigabit network. Except between my 2 NASes but I run fibre channel point to point there, which is also cheap (because there is zero to none demand for fibre channel cards on the used market)

So for now gigabit plus some dedicated faster links where needed is plenty and cheap.
That's still pain. When I (live in 50Hz area) buy cheap dehumidifier, I get lower performance due to lower frequency.
People believe first then look for proofs.

I know people who still refuse to believe that the earth is spehere. Especially, when religon is involved they won't even believe their own eyes. Someone actually said that the way universe appear is because God is testing us.

But you can convince them by making them feel good and hit on their emotions. It feels dirty salesy marketing bs. But apparently it works on us.

I have been telling some conspiracy theories to help some friends. I don't think they believe me, i wish i can make cool videos. The theory I say is that COVID19 is made by government to save money on social security. Wearing masks is messing up the government plans so that's why they are so against it. Etc.
If you aren't embarrassed by your previous work, then you're not growing.

Don't let little things like failure or poor quality stop you from trying. This is normal. Embrace it, learn, and keep doing things.
Ugh, another way the Trump administration is holding back the country. The frustrating thing is this time the scientists almost got away with it. If they just did not invite any political DOE officials to their presentation, they might have published the paper.
all files are well marked up (tagged) and accessible to be queried quickly and easily?
Thanks for your comment. I'm keen to try and get feedback so I've disabled it for now.
Linux, the kernel, is free.

Haiku is written by volunteers (and before them BeOS challenged Microsoft due to exclusivity contracts required of OEMs).

TempleOS was written by a single person.

There are literally dozens of operating systems baked into all kinds of things that have small or volunteer dev teams. QNX, VxWorks, IOS (the Cisco one), the multitude of Unixes and BSDs, boutique/experimental ones like SkyOS or ReactOS.

Would anyone buy Playstation OS apart from a console? I don't know if there's a market for that (how is SteamOS going?). There might not be consumer demand, but a B2B offering could result in a sustained business.

Companies used to provide an OS to sell hardware. Linux mostly consolidated that market, but that doesn't mean there isn't room for more (macOS, remarkably, is still rocking 35 years later).
My first instinct was to distrust the hide-until-click URL bar also, but you've illustrated clearly why it's a reasonable default. It mitigates the effect of malicious websites playing URL games, and allows the browser to more accurately convey to the user where they really are.
Corrosion is a concern in the higher humidity states. Cell towers need the same consideration.
Everything is possible with enough effort. People wrote games in Assembly language too in the past. The thing though is that as long as the domain you want to work in has Julia packages, there is a high chance you job will simply be a lot easier in Julia.

I have recently been working with a REST API, something I don't do with either Python or Julia normally. I spent probably 10x as long time getting this to work in Python. It was not just a matter of not doing what I wanted, but also in not supporting well established conventions well as well as simply having far more complex APIs than the Julia equivalent.

This is something I frequently find. Julia APIs for doing the same thing as in Python will generally be much easier to work with.

Python APIs also tend to be very OOP oriented and stateful. Meaning there is a lot of mutating of hidden state. Julia APIs tend to show much more clearly what the data flow, is because they follow a more functional approach, where mutation of state is generally avoided. Although Julia is pragmatic. It isn't like working in Haskell.

NOTE: I am not saying Python is a bad language. It would usually be my second choice. I am just trying to say that there are REAL advantages to using Julia, which go far beyond mere performance. I never started using Julia due to performance but due to its expressiveness and clean APIs.
Lets see if this survives the election (it probably should)
What's the difference, in practice? Not only can the corporation fire me for putting such a label on the food, they must, if such a law exists - if they don't, they're liable.

So, let's say I'm a baker selling, I dunno, kosher cookies. I can sell them to my friends and say, "By the way, these are kosher!" They're popular with my friends, and so I decide to make a business out of it. As soon as I do that, the business is never given the right of free speech, and the business is now given an obligation to prevent me-the-individual from saying certain things in the course of my job duties. That is, if I continue saying the same thing I said yesterday, the government can shut down my business.

You'd say that this is constitutional?
Google constantly takes 10-12% of adsense earning as "invalid traffic". Now we obviously dont use bots, we have real users, so i can only assume they consider those misclicks. Or something else, they have no transparency. The RPMs have been going down for a decade even as our traffic is stable, and slightly up during covid.

They also don't fill our inventory. I wish we had alternative ways to find advertisers.

I have yet to see studies confirming that the money that advertisers spend is made good on google marketplace or fb marketplace etc. Sure they may see 50% of it working, but what about the rest of it?
There are 20 more that you could have named. What is their temperament? What kind of initiative do they have? Are they collaborative or more independent? How do they collaborate between teams and is that something you need? Do you need someone that can go in front of a customer?

So, do you customize your hiring process for each hire? What if multiple teams need different types of people? How big is your organization?

And if you get a discrimination claim, can you prove you have a fair process? The bigger the company, the more standard the process generally is.

My interviews aren’t heavy algorithm interviews, unless I need it. However, those questions you mention and many others are hard to analyze. How do you test that someone is an expert, especially if you don’t have an expert on staff? How do you know if the person writes maintainable code or just talks a good game?

How do you assess work ethic?

Hiring is hard.
Well, by that logic neither is electricity, since lightning exists.

And magnets certainly do occur naturaly, and so does nuclear fission and fusion.
"so that we basically always have at least one phase providing power at any time" is sort of what makes things like AC motors run better on 3 phases.
> Remember, no one wins at gambling by picking winners, you need to look for value and find where the bookmakers have miss-priced a team in a match.

No. You win by being the bookie or better yet, by not gambling. Sports betting is worse than a zero sum game because you gotta pay the bookie too. I'm betting that 99.99999% of everyone who bets on sports loses money.
Let's take his PDF. https://www.dropbox.com/s/75uio2lyl5x4xxp/7.Analysis_of_Coro...

He presented a bunch of authoritative looking numbers and graphs, and says "if we draw a curve through these, we see this trend". And it turned out to be massively wrong, but he never issued a mea culpa. Instead, he says "Going off of the only numbers that I already had, it basically quite clearly said that inside Hubei, there would be a few thousand deaths, and outside of Hubei in China there would only be a few hundred deaths. And that was enough to give people more confidence in understanding the virus, though I don’t think it really prepared the rest of the world for what was going to end up happening. "

Yes, there is a reason that actual epidemiologists did NOT come to that conclusion: due to myriad factors, data about disease is messy, and you need to account for that. I never see him acknowledge that fact; I just see more "I connected these dots and extrapolated the curve predictions", even though that hasn't worked for him yet:

> I think it’s going to end up with less deaths than what I thought. In March, I thought there would be a total of 220,000, but there will be less than that. Right now it is around 155,000 in the U.S., and I am expecting it to end up under 170,000 or maybe 175,000.
6to4 (2002::/16) was basically backwards-compatible IPv6. If the entire Internet had been allocated from that space, IPv6 would've been easier to deploy.

But it's technically quite ugly, and tunnelling/MTU-related problems would be more prevalent.
That's likely because VMWare Workstation's bridge mode likely injects into the networking stack at the same point that Little Snitch does.
Do people’s phone contacts generally align with who they want to be associated with in any apps? Why would I (an average social media user) want my boss, my driving instructor, other professional contacts, my ex wife, personal trainer, therapist, doctor, etc. to be automatically linked to and recommended my social media accounts? I find the whole concept strange.
So, is msft edge (chromium) actually open source? How close to the original chromium code base is it? Can I compile a build myself?
We've been waiting for them to build a strong case for several years. It will likely take several more for it to work its way through the courts. At some point the interests of the public in having a timely curb to Google's actions outweighs the value of preparing a perfect case.
emojis were added in Unicode 6.0 in 2010. Surrogate pairs were introduced with Unicode 2.0 in 1996. It should be pretty clear from that timeline that emojis had nothing to do with it. Unicode as of today contains 92,856 CJK Unified Ideographs, so just by that alone UCS-2 was insufficient.
a number of articles reporting that a substantial number of Americans cannot afford an unexpected bill of $300

That reporting is wrong.

https://www.bloomberg.com/opinion/articles/2019-06-04/the-40...
The near-zeroconf aspect looks mighty impressive, but it'd be helpful to know the details on how it works before typing router admin credentials into a 3rd party app.

Is this documented anywhere or in the open-sourced part of the code?
I'm not saying Google would do this, but people that leaked such corporate secrets have met suspect deaths before.
Yes, and you could do anything else that you want with your app. However, if your application is hosted on their servers you are just a traditional user from their perspective. And as the old adage goes, if you own the server, you own the user.

There is an implicit assumption, that the code that you push is actually the same one that is being run on the VM, in your statement. This brings me back to the point I was trying to make in the parent comment.
I don't think that's a fair question. legerdemain is talking about denying medical care late, not killing people early.

For example, if life expectancy was 80, and you stopped offering treatment for cancer and pneumonia at 80. That's significantly different from tapping out at 30, or even 60.

But if we actually did that, then life expectancy would probably drop. So we'd lower the age at which we cut off medical care. Then the life expectancy would probably drop some more.

Mind you, I'm not saying that I agree with legerdemain. I'm just saying that I think that your particular criticism of his idea is off base.
The "50%" is the Nazi-Soviet alliance.
I dunno there's like 300 million people living here, it feels like we should have more than just three