skysight-inc/HackerNews huggingface dataset:
I feel like leadership applies to more than just management. Why limit the scope and reach of the product by labeling it as a tool for managers only? What about people who aren't in the role yet? Still, it's cool to see some development in the industry. It's been pretty stagnant to date.
When I came across this post couple weeks back, my attempt at a solution to the problem was not ready. It is still not "ready" but I'm sharing it for feedback here: https://discoflip.com
It’s rare to see a comment as full of misinformation as this one.
That's a good point, and one of my arguments for unscheduled sleep.

All the things you mention would indeed take priority, and we probably spent days sleep deprived at times, making up for it with extended long sleep when there was opportunity.

I think our lives were not nearly as difficult or demanding as some imagine, however, especially when you factor in the social and tribal factor. Sleeping in shifts would allow for plenty, attacks were not constant, especially with good shelter, and shelter only takes so long to construct, if that's necessary at all.

Remember, we started in an environment which provided everything we needed already, and one we were evolved for.

If you look at the lives of other apex predators like lions, bears, and eagles, their lives are pretty good in this respect, and their biggest threats are either their own species or humans.
> I prefer the upgradeability.

The market doesn't care about such niche concerns, but it'll not flip completely overnight.

I like the idea of upgradeability too, but when the trade-off is such great performance, I'm not going to give that up. It would be different if the performance numbers were not as stark.

The open question is how long this performance will be sustained. If it drops off, then concerns like upgradeability make become higher priority (and an opportunity for hardware vendors.)
I think the latter is the biggest challenge.

I imagine that Apple's M1 are using what they know about MacOS, what they know about applications in the store, what user telemetry MacOS customers have opted into, all to build a picture of which problems are most important for them to solve for the type of customer who will be buying an M1-equipped MacOS device. They have no requirement to provide something that will work equally well for server, desktop, etc roles, for Windows and Linux, and they have a lot more information about what's actually running on a day-to-day basis.
Pretty common if you run a lot of builds, have a big test suite or pay per minute.

In my environment unpacking a 200MB .tar.gz containing node_modules from previous runs takes half the time on RAM disk vs. SSD local storage. Python doesn't gain as much, packages tend to have fewer small files but there still is a small gain.

How much tests benefit from using a RAM disk depends heavily on what they do, I have seen 10% for React apps.

We also use other simple tricks like running databases with disabled fsync, mv instead of rm, cache whatever can be cached between CI runs, shallow checkouts and so on. Nothing ground breaking but it all adds up.

However, for pipelines which run for five minutes twice a day I don't even bother.
It's a bit like a music expert analysing the latest pop song and finding it lacking - same old chords, structure, topic, no new ideas at all. But a product for the masses will be enjoyed by the masses, who aren't so acutely aware of - or so tired of - the same clichés.
My false positive ratio for "spam" marked automatically by gmail is around 50%. It's only that low because I started receiving occasional spam emails; it was more like 90%.

(To be clear, I've interpreted your question as "of emails that got sent to the spam folder, how many of them had no business being in there?")
Regarding the Mac cams:

https://forums.macrumors.com/threads/are-we-over-criticizing...
Seconded. Who would want to work at a place that installs surveillance-ware on the personal machine of a prospective employee?

If you're technical interview team can't tell that I didn't do technical work myself within about 5 minutes , then there is a lot wrong with your whole organization.
I know we aren't supposed to judge a book my its cover and I can't even put my finger on exactly why I feel this way, but simply naming your company Nikola when your biggest competitor is Tesla has always seemed like a huge red flag to me.
> First, the author goes straight to the ventilator as a fear tactic.

This is brought up in the second last paragraph, well over half way through the article, after they discuss the situation for ICU patients and staff. They go on to provide more information about the other sorts of interventions required for a critically ill Covid patient. I think it is less insidious than your criticism implies.

I don't think this is a FUD style hit piece, it reads to me as a genuine and emphatic article from someone working in health care, expressing their point of view and experience as a health care worker. It is perhaps more genuine than mainstream news media. Of course it's not a peer-reviewed scientific publication, but I don't think it's a sensationalised hit piece either.

Saying that these sort of articles should "stop with the emotional pleas" feels derisive to me, if health care workers can't give an honest, if emotional, discussion about their experience during Covid, are you saying we should simply ignore them or tell them to shut up? I don't think so. Healthcare workers are stressed, working overtime, arguably underpaid for the dangerous work they are doing. Let them express their pleas in their blogs.

As for the risks that people are and are not willing to take, I think there's enough precedent that behaving in a way that endangers others is something we try to avoid for a communal good, we are in a community and society where we should care for and respect one another as a principle, whilst also taking into account civil liberties. We do not have the right to drink and drive because we have accepted that the risks and consequences are not tolerable. Most importantly we should respect what they say at the end:

Staying home (The specifics of which I feel are very much debatable though because it impacts people's lifestyles and civil liberties)

Social distancing

Mask wearing

Hand washing

I think it is really not that imposing or unreasonable during a pandemic!
American elections, for example, are likely more closely followed and more consequential for Canadians than their own elections

Ah Americans. I guess the apple does not fall far from the trump.
But that backtrace doesn't actually tell you what function the error occurred in. The function stack would be this (discarding everything outside of my code):

1: ImageData::verify_and_update - src\main.rs:104
2: run - src\main.rs:653
3: main - src\main.rs:673

That's why the backtrace is worthless here. It doesn't actually tell you where you were in the chain of function calls. In this case, it's relatively simple, so just knowing the line does help. But in a more complex application you could end up in a scenario where a function is called in multiple places, with different call stacks, and you don't know how you even got there because things were inlined and the backtrace doesn't tell you.
https://www.anandtech.com/show/16226/apple-silicon-m1-a14-de...

https://www.techarp.com/computer/amd-zen-3-tech-report/

https://www.tomshardware.com/news/der8auer-intel-core-i9-109...

Here's a summary of numbers from the articles.

The M1 is about 120 sq mm.

The Zen 3 is interesting. It has a separate IO chip coupled with one or two 8 core processors. The 8 core version has a total die area of about 80 + 125 = 205 sq mm. The 16 core is 285 sq mm.

Intel chips are all over the place depending on core design and number of cores. As an example from the reference above, a 6 core i7-8700K is about 154 sq mm. The i9-9900K is 180 sq mm and the 10 core is 206 sq mm.

How many cores can they add? From the die photograph of the M1, a very rough estimate of area dedicated to the 8 cores and associated cache is maybe 40 percent or 48 sq mm. Compared to the 205 sq mm for the 10 core i9, they could add about 16 more cores. Seems unlikely of course because of all the other things you have to do to support that. It is reasonable though to imagine a 180 to 200 sq mm Mx chip with maybe 16 CPU cores and perhaps a few more GPU cores. Fun.

The fundamental limit to die size is what's known as the reticle size. That's the maximum size of the stepped design that is repeated over the wafer. This is a limitation of the lithography equipment. That limit is around 850 sq mm, but no one builds a high volume chip anywhere close to that big because the yield and therefore the cost would be atrocious. Instead, several repeats of the design are included in the reticle and then that is stepped over the entire wafer.
Your nose and eyes is sufficient lab equipment.
Some natives want it to be 1) affordable to live where they grew up 2) with the density (/"character") they grew up with. If more people and money come in, then one of those things must change, so they blame it on more people and money coming in.

I think they'd rather live in a SF where supply and demand were both where they were when they were kids.
In a bet on total readership split, you would lose.
Cupertino mortgages are already paid for, so are Lake Tahoe vacation homes, this one is for the Aspen Rental complexes.
The desktop client does not support Windows, and no plans at the moment :/
Has there been any progress on the zfs on linux Linus disagreement front since this article?

https://arstechnica.com/gadgets/2020/01/linus-torvalds-zfs-s...
> The system where certain people were forced to improve other people's existence, whether they liked it or not, existed once in the US. It was called "slavery".

I didn't realize that the US never had taxation, the draft, nor jury duty.
Funny coincidence. If any of you play Echo VR - my username is Guybrush_nev. Sadly very few people get the reference.
Good packaging and TSMC's better than expected results are certainly a big part of the picture. TSMC: '5nm yielding better than 7nm.' Apple can put the higher leakage chips in mac minis where they can afford to pump more power through.
Ask HN: What technologies are overrated by insiders but underrated by outsiders?
And why?
Absolutely. I talked to two former GM executives after the original Nikola deal was announced and they couldn't wrap their heads around why GM was involved with Nikola. Both came to the same conclusion, that GM was somehow wrapped up in the same hype that Nikola shareholders were, and I think the scaling back proves they were right.
It always amazes me that people get offended by this stuff. There's so much money in SF that tech people are actually small fry. Tech money buys surprisingly little political influence because the government, unions, construction are all very powerful. Your company got sold for $100 million? Big deal, you are a flea before the power that Rome Aloise (who you have never heard of) wields, let alone the real big fish.

You know that odd feeling of unfairness and powerlessness? That's what it's like to be an immigrant subject to capricious laws. Now that's you because you are an insect before the San Francisco Political Machine. This is what it means to have all the incentives shaped against you.

And you can grumble on the Internet but it'll do nothing. Because it is unfair. It is disingenuous. It is propaganda. But that's politics.
SWIFT UI :)?
Interesting ...

I think it’s just a matter of respect. We have the ability to shape and build any system we want. I’ve worked in the arts and people running the system don’t give a shit about the human factor, it’s like a machine run amok.

Maybe it’s a matter of not being greedy and trusting that there’s enough to go around. Decision makers have conscious choice to figure out how to make things better for everybody. A tale as old as humanity.
The i7-1165G7 is within 20% on single core performance of the M1. The Ryzen 4800U is within 20% on multi-core performance. Both are sustained ~25W parts similar to the M1. If you turned x64 SMT/AVX2 off, normalized for cores (Intel/AMD 4/8 vs Apple 4+4), on-die cache (Intel/AMD 12M L2+L3 vs Apple 32MB L2+L3) and frequency (Apple 3.2 vs AMD/Intel 4.2/4.7), you'd likely get very close results on 5nm or 7nm-equivalent same process. Zen 3 2666 vs 3200 RAM alone is about a 10% difference. The M1 is 4266 RAM IIRC.

TBH, Laptop/Desktop level performance is indeed very nice to see out of ARM, after a few years of false starts by a few startups and Qualcomm. Apple designed a wider core they deserve credit for, but wider cores have been a definitive trend starting with the Pentium M vs Pentium 4. There is a trade-off here for die area IMO, AMD/Intel have AVX2 and even AVX512 and SMT on each core, and narrower cores (with smaller structures, higher frequency). Apple has wider cores (larger structures, less frequency, higher IPC). It's not that simple, but it kind of is if you squint a bit.
GM was also taken in. Either GM corporate is insanely inept or the scam was at least somewhat credible. I am not judging the retail investors too harshly on this as credible organizations gave it a thumbs up too.
Is this GPT-3, trolling, or just honest stupidity? I'm having a hard time seeing the difference these days.
So once you are labeled a comedian, you are no longer allowed to say things that aren't funny?
Nowadays most computer CPU performance is constrained by heat, but M1 on Mac mini is exceptionally constrained by its SoC design thanks to its efficiency.
Yeap, so much misinformation that I get negative ratings. That's so awesome. Hey did you ever ask me if I got COVID-21 yet. Cause sure shit its a coming by next year. Cause everything in this world is all about misinformation. Hell even this site would be labeled as misinformation.
Given pretty much every conversation on the topic of ML here advises people to use the proprietary NVidia ML tools with proprietary NVidia graphics drivers for NVidia cards, I'm failing to see this as any better or worse.
>AMD could produce an ARM processor that could find a market.

They did and it couldn't find a market.
It goes both ways. Sometimes they won't listen, and sometimes they'll tell you shit you don't need.

The important bit is, think and advocate for yourself, have healthy fear and respect for medical profession, and treasure the good doctors you come across.

And take good care of yourself so that you don't need them.
Yeah but can it run kubernetes? /s
Deep anything.
So poverty/quality of life is a measure/function of comparison with the highest quality of life available to the wealthiest demographic. Would that be a right way to phrase it?

That is why poor in India is diff from poor in California. Even though to the poor in India, the Californian poverty seems like the stuff of kings. Etc.
Hynek, a CPython committer, had written a blog post[1] the state of Python application dependencies in 2018, updated in 2019 (no change in 2020, I asked). It was also surfaced on HN 3 times but did not get much attention[2]

[1]: https://hynek.me/articles/python-app-deps-2018/#petry

[2]: https://hn.algolia.com/?q=python-app-deps-2018
Notoriety is still a stake, people routinely get job offers for being big contributors to PyTorch
fwiw, I think Intel declared the Xeon-D line dead. They're not planning anything new there.

That said, I don't think they would need much to make a Core series processor into a SoC; the chip does almost everything you'd need already; memory, some of the pci-e, (some) usb, (some) sata, legacy IO are already in the CPU for both Intel and AMD, and both offer chips with GPUs on board too. AMD has a 'chipless' chipset available for ryzen, the A300, it even has a new performance version, the X300. There's still plenty of other chips on the board, but there's nothing that's really a chipset.
UBC students accused of cheating on math midterm
Link Shorteners in 2020
For me I dream less if I sleep shorter. Its like the system then prioritize deep sleep. But it also wakes me up when Im usually awake. Our systems really like habits/routines. So while I do not recommend sleep deprivation it might help if you sleep 6 am to 10 am for a couple of days, then switch to 10pm to 1am - 6am
> There's roughly two situations for error handling: near the leaf of the call tree, where you have enough context to deal with an error, and need to switch on error type and take compensating action; or near the root of the call tree, in the main loop, where you log errors and terminate requests etc. in a generic way (e.g. 500 response).

There is actually a third case: in library code which calls other code which may fail. Take java.io.BufferedReader - to be usable, it has to be at a level of abstraction where it cannot deal with any errors the underlying Reader may throw; but the code using BufferedReader will have provided it with its underlying Reader, and will have a good idea of what errors are reasonable to expect from it.

The reason java's checked exceptions are so bad is that they cannot (or could not, before generics, and hence in most of the standard library do not) serve this use case, leading to checked exceptions that one really can't do anything with.
"If you want to see a great Fritz Lang movie, watch "M" (1931). It's much, much better"

As a huge Fritz Lang fan, I strongly disagree.

M is a darling of mainstream film critics, but in my opinion it's absolutely atrocious, massively overrated, and not worthy of shining Metropolis' boots.

That said, Lang has some other masterpieces I would recommend, like Kremhild's Revenge and the Dr Mabuse series. I'd watch those long before touching M.

Back to those German reviews of Metropolis, I wouldn't put a lot of stock in to proto-Nazi Germany's discounting "sentimentality" in Metropolis. We know where hard-hearted disavowals of sentimentality led.
The docs for this mentions:

> Including a package in a constraints file does not trigger installation of the package.

Maybe I'm not following something but how do you get all of this to work like a lock file in other package managers?

Let's use Ruby as a working example:

1. You start a new project and you have a Gemfile.

2. This Gemfile is where you define your top level dependencies very much like a requirements.txt file. You can choose to version lock these dependencies if you'd like (it's a best practice), but that's optional.

3. You run `bundle install`

4. All of your dependencies get resolved and installed

5. A new Gemfile.lock file was created automatically for you. This is machine generated and contains a list of all dependencies (top level and every dependency of every dependency) along with locking them to their exact patch versions at the point of running step 3.

6. The next time you run `bundle install` it will detect that a Gemfile.lock file exists and use that to figure out what to install

7. If you change your Gemfile and run `bundle install` again, a new Gemfile.lock will be generated

8. You commit both the Gemfile and Gemfile.lock to version control and git push it up

At this point you're safe. If another developer clones your repo or CI runs today or 3 months from now everyone will get the same exact versions of everything you had at the time of pushing it.
Good question, maybe bc she stopped her PhD to start the startup? I dunno…
> They can also be confounded by the testee's charisma.

Agreed, but I don't think oral exams are the only type of effective live testing. Nor are live/timed exercises the only way to demonstrate knowledge.

Case studies, short/long form writing and creative exercises are all viable options. The primary concern seems regarding scaling grading and review, which with a little effort and ingenuity is solvable.
don't forget levinthal's paradox!
Joseph Ducreux – Archaic Rap, a Portrait Artist Meme
Wrote my first ray tracer at 15, wrote a demoscene realtime ray tracing tutorial at 17, am now 37 and have been writing ray tracers professionally for over 10 years. Have also had the pleasure of teaching ray tracing to sort of everyone who'll listen (some went on to do PhDs, one became a lead gfx programmer on GTA 5, the 3rd most recent was 12 years old, ...), it's like a nerdy Jehovah's Witness / Monte Carlo Methodist Church.

It's been pretty great; realtime rendering gets all the hype, but offline rendering is where realtime is headed and this is a super exciting time with all this parallel computation around.
I agree with both of you. It should be off by default, but it should notify users initially and periodically about the benefits of turning it on so they are aware of it.
At least on Signal for Android, you can make all the periodic backups of your Signal messages that you want: just be sure to copy the most recent backup file from your phone to another computer, and keep the encryption key (i.e. the sequence of numbers that Signal generates for you) written down somewhere. Then, if your phone does get dropped or stolen, you will have only lost messages since your last backup.
As a current college student (33 yr old). Higher education is just a terrible rite of passage. I could give them tips on HN but who am I kidding? I won't waste my brain power on their problems.
> Naive question: how do you draw graphics in Rust? (Or "go"?) Some wrapper on top of OpenGL?

The beauty of raytracers is that you don't need any graphics support at all. The output of a raytracer is a frame. The simplest way is just an array. Compute your color values, save them to array positions.

Of course, you eventually will want to see the result. You can save an image to a file then. One of the simplest formats is PPM. The PPM format requires a header, afterwards you just push RGB values. Which means you don't even need a library (http://rosettacode.org/wiki/Bitmap/Write_a_PPM_file#C)

If your question is not about raytracers, but more general, there's countless ways.

Are you drawing in 2D (and not a game)? You can use the OS's own native functions for this if you are brave. Since Rust can call C libraries, this should work. Draw in memory, then "blit"(i.e. copy it over) to the appropriate buffer. Under Windows, you could use the Win32 API directly if you don't value your time :)

Alternatively, you can use a library that will make your work much simpler. There are many cross platform UI libraries, some of them with Rust bindings. And some Rust-specific ones too Check https://www.areweguiyet.com/

If you don't care about GUI controls and are mostly drawing images (like in games!), there's SDL. That will take care of most of your needs.

See also: https://arewegameyet.rs/

If you are doing it in 3D, you could use OpenGL. I've done that with my raytracer back in university. Same principle applied: I would generate a scene in memory, then copy to a texture and display it. Geometry was just two triangles. You could do a similar thing.
You just need to choose the right phone. This works fine on iOS, especially if the game offers in app audio volume selection, although some games deliberately block other audio sources. It’s a per game issue though, not a limitation of the system.
Water use compared to personal use isn't that important. Most water used by an industrial society is used in agriculture

Oh that's a good point. So for comparison, a ton of wheat takes about 1300 cubic meters of water, so 8x the water per ton as lithium. That wheat sells for about $200, so lithium is using orders of magnitude less water per dollar of revenue. This comparison makes lithium mining look even more environmentally friendly than comparing it to urban use does. Of course these are all estimates based on brief internet research so the true numbers could be different.

I couldn't figure out from Google where exactly the CO2 emissions from lithium mining comes from - that sort of thing would have been great for the actual professional article to provide.