skysight-inc/HackerNews huggingface dataset:
What happens when infected soul from US / other place visits china ?

Is there an immunity built up in infected people or does the clock reset ?

You cant quarantine the world and expect a global economy to survive
That guy's going to the special hell. DO NOT vandalize code you aren't actually changing.
It's not taught at most high schools schools in California.
In defense of self-signed certificates
This is a very simple guide on how to build an IB trading algo on EC2. So you can do your day job, while your algo trades during the day. :)
"They use standardized hiring procedure (they need to work at a scale)."

That's funny. In some HN threads that discussed exposes on awful interviewing practices at Google, time and time again Googlers would point out that Google is a big company and every team does it differently.

So which is it? Do they have a standardized procedure or does each team do things differently?

Update: Ok, maybe it wasn't per team, but the impression I got was that different parts of the company interviewed differently. Whether people you wound up working with wre the ones you interviewed with is a separate issue.
The point of Chesterton's fence isn't that the fence is necessarily still useful, it's that being ignorant of the usefulness of a thing isn't equivalent to knowing that it's useless.
man if only he knew what digital watches turned into
Electric Road Trip: The Porsche Taycan Turbo S Is More Than a 'Something' Killer
What language do you guys think it's in? Maybe a functional one?
Countries with worse sanitation also tend to have slower transportation and less population shuffling.

In the times of plague the places that suffered the least were:

- sparsely populated

- didn't participated much in the international trade

- used quarantines on the borders early

https://bigthink.com/strange-maps/bubonic-plague-spares-pola...
Aren't viral vaccinations typically a "dead" strain of the virus? Although I don't really understand what, exactly, that means.
The whole argument in that thread boils down to a disagreement over whether tolerance has limits. There is a fundamental paradox contained within the concept of unconditional tolerance. Does one commit to tolerating the intolerant beliefs of others?

The 'social justice' movement contains a faction who ironically insist that the rest of society must tolerate their right to arbitrarily be intolerant of others ('de-platforming'). The idea of "safe spaces" is often used to weaponize a supposed requirement for tolerance as a real application of intolerance itself.

ESR was just being pointed and firm in his assertion that the opposing position was, in his opinion, no longer worth considering.
The way he used the well-known idiom "to hell with you and the horse you rode in on" contains the word "you", but was attacking an idea, not a specific person. This tendency to frame deplatforming, which is intolerance itself, as a perverted way of supposedly defending tolerance, is very destructive to honest discourse.
Just a heads up; post-smartphone means the era after the smartphone.

Maybe you intended to say this, then I'm really curious about your perspective?
Constantly. We migrated from SVN to Git at the beginning of 2018, and spent a lot of time getting the revision history migrated. I routinely check the history and field questions from coworkers who saw that I committed code before the transition.
Wendover Productions in the topic: https://youtu.be/3Sh7hghljuQ
Both of those subs are incredibly tinfoily and panicky. Honestly reddit is the worst. And BI is right that they are doing the same as always, just consiparcy things

https://www.businessinsider.com/coronavirus-reddit-social-pl...

Also you might as well rename /r/Coronavirus/ to /r/politics2 aka fucktrump. It's the same thing over and over again
Just a small sampling but most of my neighbors are retired and they think it's a MSM scare tactic to drum up views. Some say it's no worse than the flu and then you have the Trump supporters saying it's all a Democrat hoax.

In CA btw.
That’s incorrect, Germany is very much like France in terms of number of cases and their duration.
I make no claim about the scope of waste, large or small. I was just pointing out that the reasoning presented had the wrong denominator.
Putting safe in quotes is accurate, because our updates are not limited to truly safe packages at all for the simple reason that the Debian package format makes all package updates potentially dangerous. Any package update can decide to ask you new questions and there is no guarantee that the default answer is what you actually want, because it's up to the package author to decide.

As a policy thing, we also want to know what packages were updated when and broadly to control this, and we have enough machines that this information needs to be aggregated. Even if unattended-upgrades was totally safe, we'd want to only trigger it only on demand, see the package list in advance, and get an all-machines summary at the end.

Life would be a lot easier if apt-get updates could be more controlled, so for instance you could say 'only update this list of packages'. But apt-get doesn't want to do that; updates are global and using 'apt-get install' to update specific packages (normally) has side effects, like marking them as manually installed.

(I'm the author of the linked-to blog entry. For reference, we currently have 119 machines that get updated through this system.)
I was first introduced to this by Kyle Porter of SalesLoft when we rebooted the company in 2013. He has sent one of these emails without fail every Sunday evening for the past 8 years (with a few rare substitutions by others). It's sent to everyone at the company, investors, advisors, and interested third parties.

It's a fantastic tool for accountability and can be a huge driver for performance. Including some sort of metrics is really the key. You can see those grow and change over time, which can be a great motivator. And you can change them whenever they stop making sense, so they're more flexible than something like OKRs that might be locked to a quarter.

I recommend it even to solo bootstrapped founders. Just having this history of progress is great to look back on. And even sending it to yourself gives you something to work towards every week.
The same way social media tends to amplify only the good parts of one's life...
Video of the machine and Windows app: https://youtu.be/lYyAMDYzJQM
Thank you. I have had the same exact problem with imposter syndrome and innumerable motivation issues with things I felt like I loved (and still love).

The "do what you love" narrative that our generation has been fed, I am not sure how and by whom, caused me to doubt my decisions much more than I think it's healthy, just because "I am not loving this, is this what I should be doing?". This applied to my university career, to my profession, to the jobs I took.

Luckily through lots of work on myself I am able now to look at these feelings with more lucidity and to work through them.

Thanks for sharing.
It's used in algorithms to provide a continuously differentiable function, which is much easier analyze than a step function.
I obsess about some real nonsense, from buying a Leica to moving to San Francisco and building a startup there. I mean sure, they're not impossible but they take money, planning and no small amount of sacrifice.

Maybe it should be do whatever you're most scared of. Obviously if it's driving across Syria might want to give that one a miss but I mean more if it's public speaking attend a Toastmasters, if it's job interviewing stick your CV up on Hired and attend at least one interview, if it's selling do some prospecting on LinkedIn or it could be that hairy bug on your backlog which you keep putting off.
I enjoyed this. Made it to 18 or so with sound enabled.
Reason is just a syntax frontend. You should be linking to BuckleScript instead.
I mean, I still use version control for pretty much everything. I just don't look at history all that much or try to write very careful commit messages for the small personal projects.
Ops, no. I must've found this URL after it was already changed or something.
What about Polynomial growth: https://oeis.org/wiki/Growth_of_sequences#Polynomial
honey is enzymatically hydrolysed sugar, this means that what sucrose was present in the source nectar is converted to glucose and fructose, these are are much better for digestibility and metabolism.

Sucrose is a very minor component of honey.

https://honeypedia.info/honey-ingredients-a-comprehensive-li...

https://en.wikipedia.org/wiki/Honey
Bellingcat’s guide to reverse image search: Yandex wins (2019)
Why all the talk about globalization?

The problem is US-based companies fraudulently representing sugar syrup as honey. Would it make a difference if they called locally produced sugar syrup “Tennessee Honey”?

The use of Vietnamese syrup over domestic syrup is irrelevant to the overall fraud.
Dealing with matrices is often taught in university (although there is probably a very high correlation between self-taught programmers and library users).

But this is really another version of the same question: When faced with a task you don't understand, do you Google "How to do X", or do you search "library to do X in Y language".
Strongly disagree.

There is so much superfluous cruft in the message.

Listing the error, and the fix, would give exactly as much context for the next person to run into this issue.

If your goal to explain the process to find similar cases, just a couple more lines would have done just as well:

-

Fixes case where `bundle exec rake` would fail with error message:

ArgumentError: invalid byte sequence in US-ASCII

This is caused by the presence of non-ASCII characters in files.

The following command was used to find files with non-ASCII characters:

`find modules -type f -exec file --mime {} \+ | grep utf`

Running `iconv -f UTF8 -t US-ASCII` on listed files will show the exact location of offending characters.

-

No long winded exposition, no extremely case specific program output (including current machine's name...)

I’m not saying this is the worst commit message ever, and I’d appreciate the intention if I came across it, but if you’re caring enough to give this much context, you can save both yourself, and the next person to look for your message, some cognitive load by sticking to what’s needed.

-

And if you’re wondering how to decide “what is needed”, it varies, but I think a good rule of thumb is: ask yourself how one would find this commit message

What would someone grep for in git's history if they came across this? And if they found it, what information answers their query?

They’re likely to search the command that is failing, and the error.

The answer to that query is, what causes the command to error out, and how to find cases of that cause.

They’re not going to search for the program output of find, or iconv, not going to search for the exact file you were modifying when this happened, or the fixes you tried that didn’t work.
My answer: it depends (how long the project might live? (a one of script vs. 10 years project that has to be maintained) What is the cost of adding a dependency? (deployment, security risks, onboarding curve) Do ai need to care about numeric stability and such? etc.

For example, for a one of script deployed in Pythonista on iOS, I would probably use a library if It is available/installable via pip with a single command, rolling out my own otherwise for 2x2 cases with a single google search unless I need to handle special cases.
There is also F# Fable[0] compiler that compiles F# to JS. I would say its more ML like, syntax wise (excluding bucklescript ofc).

[0] https://fable.io/
Play Need for Speed II SE Natively on Linux Mint
Brake pads have not used asbestos in several decades.
You're right. I'd correct my original post if I could. I stand by my point but I chose a terrible example.
Seems to have a much lower hospitalized mortality rate than 2017 flu https://www.google.com/amp/s/www.livescience.com/amp/new-cor...
Even a day's delay could cost many lives, moreso if the distribution process is slow.
Is there a license? I looked at the source for a few files and found none.
IBM doubles its 14nm EDRAM density, adds hundreds of megabytes of cache
This is an interesting take on the sociological change.

I definitely think the pressure was one of the top factors in fucking us up :D
Perhaps better than a book, can anyone authoritatively point to a few small-and-readable but best-in-class open-source C projects to use as a reference?
I would read K&R, it’s a right of passage. Look at some of the larger open source projects for how to organize and manage a large c project.

And practice pointers. Get really comfortable with how memory works.
Roads are filthy. Cody's Lab once did a video where he collected road dust from the side of a highway, and refined out all the precious metals from it. That's from one small section of highway, just imagine the scale of the pollution across the whole of the states. Concrete dust, rubber, metals, fuel, oil. Cars and car infrastructure is dirty business.

https://www.youtube.com/watch?v=v5GPWJPLcHg
It’s not all about throughput. Taking away car lanes in favor of bike lanes usually takes away parking as well.

While that certainly has the desired effect of reducing car traffic to the area, it also increases the difficulty and expense of travel to the area. We’re seeing this in Oakland now, where they’re putting in bike lanes and taking away parking, while simultaneously doing nothing about the limited public transportation system.

If you want to reduce vehicle traffic without seriously impacting the shops and restaurants in the area, you have to use both knobs available to increase people’s use of public transportation: make it harder and more expensive to drive a car, while also making it easier (and, preferably, cheaper as well) to take transit. One without the other is a disaster.
while not a definitive guide, https://matt.sh/howto-c is a good example of how to approach "modern" c.

c99 is fully implemented in windows with msvc (2015), gcc, clang, and intel's compiler, so "right way" should not need to involve c89. most are c11 compliant as well.
Pretty obvious answer, but for those who are new to C, the C Programming Language by Brian Kernighan and Dennis Ritchie is a good place to start
This kind of depends. Many years ago we migrated an SVN project to git(largely because of my constant complaining about SVN which I truly hate) but we didn't bother with keeping the history. We simply kept the SVN repo for another ~2 years if we ever wanted to check something. At a certain point when we felt like the project was stable, we got rid of it. I've gone to looking back to where something came from on a number of occasions so I would say it is valuable.

Which applies to any project on which a number of people is working on. Especially when there is a bug, git blame is a life savior. Which potentially has a lot to do with me being annoyingly pedantic about commit messages and branches. I did however had the "pleasure" of working with a guy who's branches were commonly called "bugfix102015" and commit messages along the lines of "fix some bug". In such cases there is not much you can do when shit hits the fan.

For my very personal projects - hardly. Much like you, if something has been done 2 years ago, chances are it's working fine as it is, or you are not using it at all. So for personal projects, digging years back is something I don't ever recall doing.
This language just looks super cool. It's a shame it's sort of dead. Red (the spiritual successor) isn't ready for production yet.
> - is it common for AAA companies to claim ownership over all ip you create, even outside work?

Yes. This is super common. Depending on the company you can make some kind of agreement. Most agreements are based on income (so if you make a lot of income you need to renegotiate, something 10% your yearly salary or something).

> - How would one find part time or short term contract work in the games industry?

If you’re an artist, I guess this is easier because those are contracted out positions. But for others it’s unlikely the company will hire you for part time work. They seem to want everyone giving 111%, a part timer might be useful but could cause blocking issues.
It doesn’t summarize the intention of the changes, but it does summarize a bunch of stuff already in front of you when you’re looking at a diff...

-

Remove non-ascii character to fix error from `bundle exec rake`

-

That commit message would add external context (what was broken/where the error was coming from) and intent
If all the lanes are used at capacity, yes. Otherwise, no.
Data Submitted by the Italian Civil Defense on COVID19 in Italy, Updated Daily
10 dead after coronavirus quarantine hotel collapses in China
>https://www.businessinsider.com/presentation-how-hospitals-a...

This source from business insider reports that the US gov is preparing for 96 million infections. 5% is almost 5 million hospitalizations.

At this point you people just don't want to believe. This is not yet another flu scare. This is the real fucking deal. A historic pandemic. Prepare while you can. Just look at what's going on in what, 10 countries now? Millions of people placed on lockdown in Western nation's now? Italy just locked down 16 million people on Lombardy. French PM says he doesn't think the virus can be contained.

It is only prudent at this point to stock up on nonperishables. This isn't just to protect yourself - if you get the virus it will be responsible to sequester yourself in your home to protect the population. The irresponsibility of those who refuse to take this seriously and prepare is putting all of us at risk now. The U.S. is NOT EQUIPPED to handle this kind of outbreak. The system WILL BE OVERWHELMED in the next 1-6 weeks. And if China, SK, et al. are any indication, it will drag on for months.
The levels of stereotyping in this thread prove that you’re good at creating scissor statements.
I would recommend "Learn C the Hard Way" by Zed Shaw to get you started for something practical, because it goes over how C is written in the real world. Of course, situations will vary. The original book about C by K&R is an excellent book too.
Gotta love the people that see people dying and are most concerned about the economy.
Lua and Sqlite sources are excellent.
I guess parent edited the comment. I don't remember responding to whatever is in that comment now. So you're responding out of context, too. Fun.
What a Real Life Panic Attack Looks Like for an Artist + Programmer
I'd just type in the examples from K+R, try them out, and modify them to do new things.
Sure, if you're solving a 2x2 in ONE place in a piece of software, it makes sense to just perform the computation directly without using a library.

Realistically speaking, though, if you're doing one 2x2 computation, you're probably going to end up doing a bunch of other linear algebra as well. If you don't do linear algebra in your everyday work, the threshold from rolling-your-own solution to grabbing a library is going to come up very quickly.

The Armstrong example is perhaps a bit mis-titled. He's talking about "implementing from scratch" only insofar as he can use the facilities of his platform to perform exactly the task he needs to do rather than bringing in a huge dependency, in this case, an FTP server that does a lot more than the one task at hand.
I've always just gone with

52 ~line~ [edit: character] summary

Then write a book, just being sure to wrap at 72 chars. Never really considered what an optimal commit message length was.

Maybe it's something along the lines of "if you are playing poker and you can't figure out who the easy money is, the easy money is you." I've never seen a commit message, PR description, etc and thought "well that was excessive," so maybe I'm the one...

This one stood out to me: 157 lines of rationale, discussion of alternatives, etc for 22 lines of uncontroversial changes[1]. It's much more likely to be useful in and of itself as a piece of documentation than a one-liner, "Changes to prevent strcpy" though.

[1]: https://github.com/git/git/commit/c8af66ab8ad7cd78557f0f9f5e...
You should look into multistage docker builds, that lets you still use a full fat image for your build but then leave all the build tools out of your final image

I liked jpetazzo's post on the subject but there are plenty to choose from https://www.ardanlabs.com/blog/2020/02/docker-images-part1-r...
> but also from governments and corporations

Absolutely. And the governments respond to popular pressure. When I say "It's up to us", I mean we should go out, join popular movements and pressure the government.
All these articles are important, but they end up missing the point of the auto industries weightiest concern.

At the end of the day, it really comes down to the weight of the vehicles. There is absolutely zero justification for any standard-use car to weigh more than 3,200 pounds, and that's for a SUV.

More weight affects EVERYTHING.

Material logistics/sourcing/shipping/construction costs and emissions/waste-disposal, end-product shipping/distribution/operating-costs and emissions/repairs/waste-disposal, as well as infrastructure construction/maintenance. That's just hard costs. I could go on in more granular fashion and add soft costs like less traffic and less road noise as well.

I drive a very loaded gasoline powered Fiesta hatchback. It's got cruise control, a great entertainment system with car play, even stupid neon lighting I didn't want. It weighs only 2,600 pounds and even though it isn't fast, I don't have any issues getting up to speed. My mileage is consistently 29 in LA traffic and 34 driving fast on long highway trips. It's nearly 2 feet (22 inches!!) shorter than a Camry and I can park it basically anywhere. Because it weighs so little, tires last forever. It cost me less than $20,000 brand new. My point is that a freaking heavy and large 3,400lb sedan, or 4,500lb SUV is 100% supremely unnecessary.

Multiply hundreds or thousands of weight savings per-car over millions and millions of new cars sold in the US alone would insanely positive and tangential effects on the planet. Eventually those gains would reach the economy and infrastructure too.

It just infuriates me that there is a relatively simple way to mitigate so many issues and it's so blatantly ignored or not even known.
"The sound of several thousand people saying "whoop" at once":

https://www.youtube.com/watch?v=DzivgKuhNl4
That it can, but IIRC it does so by relaxing the timing constraints and halving the number of slots in each channel.

Still leaves them with the interesting problem of the satellite necessarily seeing a lot of handsets at the same time; methinks even if all other engineering issues were magically resolved, they'd run out of bandwidth real fast. (Not to mention the regulatory hurdles.)
Becoming proficient in a language usually involves:
- writing code with it long enough,
- collaborate in a project based on it,
- reading code other people wrote,
- keep yourself up to date by following the language evolution,
- go more in depth in language internals, compilers, etc...

I wrote C for 10+ years (mostly bare metal FW), yet I am still amazed of how little I know about it.
Recently for example I learnt of all the things the dynamic linker does in Linux, how symbols memory addresses are resolved at runtime using PLT, ....

The good point about C is that it can be used for very different kind of projects, so the choices are a lot.
Do this but get the answer book too, because it's easy to get stuck in here.
New pads on new passenger vehicles haven't, but it's still legal to use asbestos in aftermarket pads.

https://parts.olathetoyota.com/what-are-brake-pads-made-of
Neat idea. My approach to solving this issue was configuring nginx to gzip responses with a high compression ratio. You can also precompress your asset files and tell nginx to find and serve the “.gz” compressed version of a static asset if available. This alleviates additional compute load imposed by Enabling compression.