skysight-inc/HackerNews huggingface dataset:
LOL. downvoted with no comment pointing why it would not be.

alas, it was the rigth prediction and Exactly that happened.
Keep trading.
I don't understand which parts of DRF you don't like, or why FastAPI is better.

In my case the reason I like DRF is because it handles most of the work for me - I do my best to make my APIs RESTful which means I expose the underlying data model whenever possible. DRF makes that easy and I only need to handle the authentication classes and hiding sensitive fields in the serialiser.

As an example, let's assume I have a User model in Django and I want the mobile app to be able to read and edit the user's profile (name, bio, etc). With DRF I just create a ModelSerializer for my User model, put it in a ViewSet with the appropriate permission classes (so write operations are only allowed on the currently logged in user) and call it a day.

With FastAPI, looking at their homepage, it seems like I have to implement every single HTTP method (GET, PUT and PATCH in this case) separately? I just don't see the point.

Maybe if you're looking to create an RPC-style API then I guess it could get in the way, but for REST APIs I don't see why this is better.
He really had a terrific impact. I knew him a little bit personally and he didn't carry himself like it, but his career was amazing.

Another beautiful tribute to Carl: https://jfrog.com/blog/in-memory-of-a-superfrog-carl-quinn-j...
TL;DR - "Markdown is too simple for me, I'd like it to be more nuanced"

I'm not saying that to be cheeky. The article can be boiled down to that because the author is looking for HTML features in Markdown, when there's very little need. e.g. we don't need classes in markdown and we don't need IDs or `name` attribute specifiers because that can be accomplished already by mixing in the HTML that one needs.
Two years after the developer program began, I wrote a coin-tossing app that did really well. I quit my job and wrote an AR like app that allowed you to simulate shooting through your camera FPS style.

It was very simple, displaying camera output, a cross hair - and when you pressed the button a blood splash appeared along with a gunshot sound. Tasteless, yes, but this was in the era of "More Cowbell" and other low-effort-leads-to-instant-retirement-apps.

Apple rejected the app. It upset me, but I figured - ok fair enough. I knew the risks. However I didn't feel the same when the next week one of the top 10 apps was EXACTLY THE SAME except they called it Paintball.

I had more than one conspiracy theory surrounding this ;-)
I would say whether it is imorral has more to do with your actions to become a billionaire and your actions once you are a billionaire.

If you use your wealth and power for good it can be a great thing for you and for society.

Providing good jobs and benefits.

Building more companies that treat employees well.

Donating to charities.
Harvard experts weigh in on the fate of the handshake
I’m glad Apple rejects lots apps and I’m glad it costs money to get into the App Store. Every time I look the Google Play store I decide it’s not worth engaging with, as a user. Too much garbage and malware.
See: https://news.ycombinator.com/newsfaq.html

Section "Are paywalls ok?"
I'm with samizdis on this one. Covid is a black swan event. Solving problems unique to it (like toilet paper and ventilator shortages, mass work from home implementation, etd.) is probably an economic non-starter as a result. Instead we should be looking at solving the other problems that it exposed globally:

- Fragility of single-country supply chains

- Lack of a real social safety nets in many countries

- Lack of focus on personal hygiene on a day-to-day basis

- Non-sustainability of debt-based economic growth

- Lack of childcare choices for many families, especially when both parents have to work to pay the bills

- Disconnect between local wages and local cost of living in many cities for non-rich workers

Etc.
As a German, I have to add there is not a single country in the EU without significant industrial capabilities.
I use a simple git repository and Markdown files.

From there it's easy to convert those into a blog post if needed using a static site generator.
If you were thoroughly paranoid, you could make a case that the background noise might, at times, give hints enough for a clever man to roughly figure out where you are.
Functional programming for array-based parallelism – Lambda Days 2020
We were going to not display suburb data because of cost. In the end I found a creative commons placename database (geonames.org). For placenames with >500 people it's ~10MB of data and that covers the entire planet (surprisingly small). I then wrote a KD-Tree based library to look it up the nearest point in this table extremely efficiently (log(N) time).

At a previous employer I tried to convince my managers to let me do this for months. They always balked. Their loss.
The US also is capable of producing all the oil it needs domestically, so it's not as though we'd be just drawing on the reserve in case of emergency.
The article asks:

> “Why do we have a problem accepting when somebody says, ‘I feel better; that helped’?”

And the answer is:

1. Because they are often sent to say that by interested parties and maybe have their own biases (e.g. hoping the treatment to succeed, because that means their life will improve).

2. Because the people who don't feel better don't typically go around telling you about it.

3. Because feeling is subjective and fluctuates; and while it has its own significance, it is often independent of the state of underlying physiological conditions.

4. Because of past (collective) experience with many kinds of supposed cures or treatments which ended up not helping, or marginally helping, or having detrimental effects which weren't taken into account.
Didn’t turn out to be the best investment, did it?
In South Florida wood-framed buildings are rare and most small buildings, e.g., houses, are made from concrete masonry units -- or at least that was the case when I left in 1984. "CBS" it used to be called: "concrete block structure".
A 4k 60fps Trip Through New York City in 1911
Honestly, the single biggest problem with Markdown is that it's been implemented in so many different ways by so many different people. This is largely because a lot of corner cases were simply not defined.

When a website uses Markdown for input, it's extremely tough to be sure of how to format certain things, especially when multiple different syntaxes combine. (I'm thinking of things like list+code block; or bold+italics, or list+line break, etc.)
Amazon (likely after many years of negotiations) got itself a better deal than individual developers? This looks to me like complaining that corporations can aquire goods and services in bulk cheaper than would be for a single person to get in a generic supermarket. I'm all for equality, but this looks like a good precedent that might open more options eventually. What is the backlash here against?
It's related to the COVID data gathering in a quite simple way: the government is telling the people gathering this data helps containing the disease and that they can be trusted to not abuse that data.

This trust however is severely undermined by a lot of factors, like past abuses which came out due to Snowden, the continued push to collect data with claims of fighting terror or other crime - and, in my opinion, also extreme difference in transparency that politicians ask from citizens versus the transparency they themselves will commit to.

The two cases were the former minister of defense, von der Leiten, and the current minister of transport, Scheuer. Both wiped their cellphone data although they knew that there are ongoing investigations. The investigations are called "Untersuchungsausschuss" - not sure how to correctly translate that. They are not criminal investigations, although they could to them, but basically a group of members of parliament investigate into affairs to find out if criminal misconduct happened or off processes need to be improved.

In case of von der Leien, there were large amounts of money going to consultants, with some contracts not following the legal processes to give them out. In case of Scheuer, there is a completely bitched toll project, which is costing the taxpayer 500 millions, where there are clear sings of him if ignoring risks to be seen as a quick actor to help with an election, as well as giving information to one of the bidders for the contract.

I don't trust politicians like that to only use the collected data for the given purpose and I don't trust them to stop the collection after the crisis is over. That's how, in my opinion, these topics are related.
That's the case for me as well in a medium sized tech company. I'm the only non-H1B on my team.
It's fine to build a mediocre timber home

How do you have sex in that? How do your teenagers have sex in that? Is that what you wanted or merely what you put up with because you don't know that it could be done any better?

Also: open plan kitchen. You can't cook in there; if you do everything smells of cooking and it covered with oil mist in short order. You can't remodel, because you house is your biggest tax-free leveraged savings vehicle and Americans are surprisingly conformist; your remodel just won't sell.
> Why on earth did they frame this as a "bailout for big oil"?

Because that is exactly what it is. You're talking about the largest companies in the world, they've have decades and decades of war and subsidy supporting them.

They don't need more support now, especially considering the environmental destruction they cause. Now is a much better time to push forward higher quality energy production technology like solar, wind, batteries, etc.
We are. Many avenues are being explored by different teams.

https://www.jsonline.com/story/news/2020/04/03/promising-use...
Science really does advance one funeral at a time, study suggests (2019)
I don't want a smarthome, smartmeters and a future where every IoT device, f.e. TVs, is built with their own 5g modem to spy on citizens. This is going to be the fundament of a survelliance age of never seen, previously unimaginable, intensity. I certainly did not ask for 5g and many did not. I don't care about the claimed crazy high download rate, which obviously will even drop as more people use it.
It's amazing how fast things fade into history, isn't it?

https://en.wikipedia.org/wiki/United_States_v._Microsoft_Cor....

https://en.wikipedia.org/wiki/Halloween_documents

https://en.wikipedia.org/wiki/Bill_Gates#Antitrust_litigatio...

The way he made his billions, and the company he built doing it, is why people are skeptical of the company's moves into open source even though he's not in charge anymore.
>User identities are based on blockchain keypairs

And to think that I was so hopeful... up until I read that.
And let them experience the European Kurzarbeitsgeld and they will change their mind. Additionally, Trumps behavior is indirectly strengthening the European idea by contrast.
It's really not though. Back when the US was a oil importer yes, but under normal market conditions we are the largest exporter in the world.

The shale guys can basically flip a switch and go from 0 to millions of BPD.

So we are really just paying to move oil from one rock formation to another...
We were quite unhappy with Aurora because of the terrible performance of writes against tables with secondary indices. What does your workload look like?
The homeowner's association has to because the prohibitions are part of the deed. Non-conformance with the terms of the deed invalidate the title to the land which was subdivided into individual lots such as the nurse's. That title is prior to the nurse's title and all the other owners in the subdivision.

To put it another way, if the homeowner's association does not enforce the deed restrictions, the prior owner who transferred title to the land with the restrictions can claim ownership and that claim has a long and strong precedent in Common Law.

To put it another another way, what owning means when we say we own a piece of land is not what most people think it means. It's a legal thing mostly to the advantage of the people who cooked it up. Those people being sovereigns.
Almost as if there's a group of accounts that have to be babysat due to their unwillingness to be sheep, and by rate limiting them, it lessens the amount of effort required to monitor them.

Outright banning the accounts would look bad, and cause the accounts to start over in a way that would be difficult to catch at first.

Edit: I did find out a way around the rate limiting, in a fashion. Through editing.
Show HN: I made this embeddable widget to help bring awareness about Covid-19
And North American production will ramp up as quickly as possible. We've seen very expensive oil in the last decade which has made a variety of alternative extraction methods economical. Not entirely sure how a situation could arise where oil production is impossible.
The second you want to do code and images on a page I just spend all my time fighting whatever markdown workflow is in place. Which would be fine if it added anything but they never just work, you still need to do your own image optimisation and aligning images or custom layout sections is terrible or not possible.

Markdown is harder to work with in the long term than just wiring HTML with Emmet. That's my opinion a few years ago and these days I'd double down on it as editors are so good.

Tables suck in everything so we should standardise a json and/or csv import language to drop tables in a built time anyway.

Markdown is good for notes. Even mermaid diagrams are kind of unpleasant to write.
Unfortunately no, this was entirely custom closed source code and customized for one specific use. But you can try making your own map server, when you have data in postgis and search a little, geodecoding is rather easy. Just find geometry with specific tags near your point, then select nearest street number, street name, administrative zone names. I've tested first on one country (low space requirements), importing whole europe can take several days even for multicore servers with ssd.
It shouldn’t be filled because it’s useless and nothing but a political pork barrel. It will never be emptied during an emergency because politicians won’t agree on it.

We have emergency supplies, they are in the ground or in shale. The US is the largest producer of oil, low prices means more of it stays in the ground waiting for higher prices.
Hey Mike, this looks really interesting -- nice work! We're going to try it out to follow 'referral software' topics. Any tips/advice you can give us? I've already created a new Track for that keyword set.
HTML 4 was not the standard at the time of Markdown. XHTML was.
And their income goes to you, who does hardly anything as a landlord.
That's a good point! So far I'm not planning on publicly disclosing any of my results, but that may come, I guess.
This kind of statement always comes with the underlying assumption that Apple is where it is without any kind of artificial crutch, and likewise the developers should suck it up and show their own rugged individualism in dealing with the problem.

In reality a company like Apple depend on tomes of rules and government enforcement to defend its fortune. Rules that are themselves an artificial construct that it and its peers have championed and lobbied for. Rules that give legal backing and physical force to its contracts, relationships with suppliers, IP, that together allow an artificially restricted system like the App Store to even exist.

To suggest that individuals then cannot petition to have some additional restrictions put in to provide some balance is disingenuous and will only maintain and encourage systems like this in the future.
https://www.onlyonceblog.com/2020/04/state-of-colorado-covid...

>Seems like it’s neither strategic nor a stockpile

(The whole sequence makes a concise and well worth read)
Do you really think that people are going to be spending any money with bodies in the streets instead? Even in the best-case scenarios, the world economy is in a deep freezer for the next couple of months.
For those of us who use a Mac that's not a headache. Second, every time I open the Play Store on one of my Android phones I feel like I'm about to catch an STD. Not to mention there's about 1500 Chinese clones for every single app, making it impossible to find anything useful through search. Apple is definitely doing the right thing, although I do agree that randomly rejecting apps (although that has never happened to me - I always had a positive experience with app reviewers) can be demoralizing.
Ask HN: Should Sundar Resign over the Data Tracking Scandal?
Framing matters.
As we should be learning right now with medical supplies, the point of these reserves is not primarily to keep us at normal levels in the face of long-term supply disruption (which is nearly impossible for most things at scale), but to be able to cover the time we need 3x normal capacity to give us 10 days to plan a sustainable response.
Do you mind sharing how many mg (milligrams) of zinc are in the one you have which advises to limit use to 7 days? I noticed that the Mayo clinic site says the maximum dose per day for an adult is 40 mg. I'm curious whether this 40 mg is safe for indefinite use, or such a 40 mg limit would also be for a maximum of 7 days.
It’s more than just inconvenience. If Apple can be protectionist about its Apple store than the developers can be protectionist of their skills and careers as developers on the Apple platform.
Ask HN: Should Sundar Be Deported over the Data Tracking Scandal?
Thanks for sharing that Harvard's course.

The cost benefit analysis part reminds me a lot of some of the comments you see here (and elsewhere) with regards to Covid-19 and the economic shutdown of societies. Quite timely.
What the parent is saying though is that your tenant is only the middle man transferring wealth from the society to you; you are the one who ends up with the money in this scenario.
Joel vs. Mike
NO - FUCK NO
Big companies have a large competitive edge when it comes to receiving H1B visas.
I care less about which system is more powerful in the absolute sense. I do care more for which platform is a reasonable upgrade from its predecessor given the $300-$400 price points to upgrade.
GeoNames – Free geographical database with 11M place names
We have trillions of barrels of oil in shale and oil fields waiting to get pumped when prices go back up.
That might be considered an appropriate feature of the system.
Where did Swift go? it's still front and center.
Tips for mastering your at-home workouts
Yes indeed. In retrospect I shouldn't have folded so quickly, a quick rename and resubmit was probably in order.
I think the more important take away is the damage of globalism to our ability to manufacture things ourselves. Sure, having a stockpile of masks is beneficial, but having the infrastructure and supply chain continually setup to manufacture them would go a lot further. This is especially true of medicine.

Instead we have irresponsible politicians letting business chase slave labor, and only invoking "national security" when it comes to deteriorating rights or buying ever more machines of war.
Considering the vast majority of Canadians live within 100 miles of the American border and there's a ton of cross-border traffic, I don't find it that surprising that the cultures are similar.

As an Washington DC area kid who visited Ottawa as a teenager (Canadian relatives), aside from having to go through customs and everything being in French as well as English, I felt right at home.
Bugs are ordinary practice. Importing naughts and crosses is not. I giggled mischeviously when I wrote it. Particularly since it looked Pythonic. YMMV.
If you plot (exponentially growing) cases or deaths against time, you’ll get a straight line on a log-linear graph (as here). If you make both axes logarithmic, you get an exponential curve again (but squished).

Maybe you’re thinking of the double log curve of total cases vs new cases that was on HN recently.
Great recommendations, thanks!
Exactly. For example, right now we're operating at somewhere around 25% less transit than normal [1] and that's without even specifically targeting reducing oil consumption. In an oil emergency situation we could probably get to 30-40% reduction pretty quickly.

[1] https://www.geotab.com/blog/impact-of-covid-19/
Are you alright? I have no idea what you're trying to say here.

I don't generally put up with it, but who am I to dictate everyone else's standards for their own living?

> Also: open plan kitchen. You can't cook in there; if you do everything smells of cooking and it covered with oil mist in short order

Open plan kitchens are fine if you have a proper range hood, but yeah, some people undersize their range hoods... but also lots of people don't cook much.
The strategic oil reserve has never been necessary given we are a massive oil producer.
Hey Kevin,

Sure, let me understand your needs a little bit more. What kind of software? Like a getrewardful.com ?

Also, feel free to connect over email: mike@rubini.solutions or Twitter: @mikerubini
how about everyone learning not be a complete fucking nazi?

martial law? live foot by foot data tracking? government takeover of business?

the disgusting level of shit the media and politicians have created with their liberal friends is infuriating
I'm not sure that you can compare the global economic system of 100 years ago to today. Everything is much more tightly interconnected and we have consistently optimised for efficiency at the expense of resilience. We apparently did not learn from the 2008 financial crisis and are probably even less resilient. We are still represented by Figure 2, graph B of [0].

[0] Options for Managing a Systemic Bank Crisis
https://journals.openedition.org/sapiens/747
The most expensive oil? Oil is currently $25 a barrel. What am I missing here?
Indian power grid operators scramble to prepare for Modi's 'lights off' plan
I think that clients also care about data consistency and safety too, they just don't know that they care about it until they don't have it.
If you aren't willing to "pay the price" now, then you will pay the price in other ways later. Your actions are not isolated and affect others, and not doing your part to prevent this from getting worse is an extremely selfish action. Obviously it's one thing if you have to go to work, or go out to get food, but if you willingly go out just because you want to experience the "best years of your life" and potentially put yourself and others at risk, you should reflect on that and realise how selfish and potentially dangerous that is.

If you have a difficult time putting this in perspective, just swap COVID-19 and social distancing for HIV and condoms.
Another reason IMHO that this site has maintained its relative quality is the policy of effectively banning memes (whether textual or visual) and not embedding images from links or allowing them to be attached.

Someone needs to do a deep cognitive study of how memes, especially in image form, affect cognition during discourse. Whatever is going on it seems obvious that their presence immediately reverts people to a juvenile junior high level of discussion at best.

They also seem to lead to the development of this kind of obscure signaling culture hive mind. I don't even know how to describe it. In Star Trek TNG they called it the "borg songs," the sort of emotional-cultural carrier wave that pervaded the Borg collective.

Meme-dominated sites like 4chan immediately turn me off. I find that whole style creepy and culty and gross and it feels like some kind of soft mind control technique. I felt this way long before 4chan became "Stormfront for nerds," but the fact that this style if discourse would create an environment compatible with that way of thinking doesn't shock me at all.
oh there's the answer!

go infect everyone with vaccines!

FUCKING NAZIS!