skysight-inc/HackerNews huggingface dataset:
Thanks for your support! You're spot on with every point you mentioned. I tried to make self-hosting as easy as possible since there is a spectrum of how much technical effort even technical people want to put in. I actually decided to offer paid hosting because I don't think enough people will be able to self-host for all the reasons you mentioned. There are definitely network effects that I'm fighting against, but I really believe it could be a healthier way for people to interact online. If a few people who have given up on Facebook decide to try it out then it makes it a little bit easier for the next people to try it out. I envision a totally different type of online social interaction that could exist if everyone ran their own server--blogging on Haven is just the first step.

Imagine getting product and restaurant reviews from your direct connections instead of from centralized services that can be gamed by companies being reviewed. Imagine solving "how do I send you this file" because everyone has a private server they can upload to. Movie/Music/Book recommendations can come directly from your connections. And that's just the start! Blogging and status updates are the first step and hopefully I'll find some time to write about more of these possibilities.
Watch Bjorn's videos and you'll see that it certainly isn't confined to Tesla. Newer models have heated charge ports. With older vehicles, preconditioning the cabin for ~30 minutes supposedly helps.
you are really weird..
Now I really know I'm getting old, when I've gone past nostalgia for the 1980s 8-bit era and even Web 2.0 feels like a distant, but warm and fuzzy memory...
There’s a level of dysfunction that causes a company to acknowledge the issue and hire consultants. And then there’s a level of dysfunction that causes the company to not acknowledge the issue and not hire consultants. The latter level is higher
Selection may be a part of it, but you may be wrong in saying no information was stored.

I remember hearing about this one really interesting experiment where they would expose mice to a specific scent (I think it was citrus), and then give them a shock. Obviously after a while, when the mice smelled that scent they would get nervous and try to hide (or something along those lines, this is from memory so forgive any erroneous details). They then bred those mice and separated the offspring from the parents so that there was no way they could learn about the smell from them.

When they exposed the offspring to the smell, they reacted in the same way their parents did. Without ever having been exposed to it before, or knowing about the shocks. Pretty interesting stuff.
not technically wrong, but "locate" would be more idiomatic here. I don't think english is the author's first language.
I created something similar [1] awhile back:

SUM(foo) {
foo_one,
foo_two,
};
/* declare each sum case */
CASE(foo, foo_one) { int i; char c; };
CASE(foo, foo_two) { double d; };

void do_bar(foo f) {
MATCH(f) {
AS(foo_one, y) printf("foo_one: %d, %c\n", y->i, y->c);
AS(foo_two, y) printf("foo_two: %d\n", y->d);
MATCHANY
fprintf(stderr, "No such case!");
exit(1);
}
}

[1] https://github.com/naasking/libsum
In my experience there were two manufacturing issues with my car and they came to my location and fixed them for free. Obviously, it would better to not have them in the first place and I can't speak to the full set of issues people have had.
Ah, very interesting thanks. I've seen sum types implemented in terms of inheritance (or fancy modern inheritance such as traits). Doesn't get you exclusive case enforcement, which imho is the thing that's actually useful here.
Next.js, open-source commerce starter kit. One-click deploy to Vercel
I agree. He is pretty honest which is a good thing.

I think the problem is that the general trend is to put people either into the "good" or "bad" category in total. This doesn't allow to recognize that people are flawed and do some good and some bad things. Instead people want to perceive them as always good or always bad.

You see the same in politics. A politician does 10 things of which you make like some and not like others. But a lot of partisans bend their minds to like everything a certain politician does or hate everything he does.
This is what I encounter more often than not lately.

Is this due to more and more content simply generated by javascript frameworks?
Scrapinghub Is Now Zyte
The video this article sources is here: https://www.youtube.com/watch?v=YAtLTLiqNwg
Kubeview: Kubernetes cluster visualiser and graphical explorer
I'm currently staring at a PostgreSQL database created by a Django app with a lot of inheritance between models.

My favorite /s is the table with a single column containing the id of the record itself.

It's basically impossible to start from the database and understand what's going on. It will be a huge pain to interface to this database from something else.

On the other side, I'm maintaining another Django app for the same customer, with saner tables (no inheritance) and that's on par with other ORMs.

My take is never use inheritance with Django.
> However, this type of report often turns out to be nothing more than market manipulation and fraud.

This isn't true. Mountains of academic research has consistently shown that short sellers generate abnormal returns by detecting actual problems in the underlying company (often corporate fraud), not manipulating prices or spreading rumors.

Short sellers are often vilified by CEOs because they act as a form of corporate governance. But that characterization is not supported by the empirical evidence.

https://www.reddit.com/r/slatestarcodex/comments/la88gv/shor...
It looks great. I only wish it could drop the dependencies on avahi and gstreamer.
At Google many PhDs may end up working on compilers, language runtimes, vulnerability research data center power saving/cooling and so on. And yeah most importantly implementing menu in Google carplay.

So I guess difference is Google has many types of work whereas at McKinsey it is slick MBAs facing fools looking to part with their money.
Two Google engineers resign over firing of AI ethics researcher Timnit Gebru
That's a thing I never figured out: why would they ban left-wing trolls? The right-wing trolls enjoy fighting with left-wing trolls, and in my experience, they usually win. Especially when they have numbers on their side.

I had thought that what would kill them would be that those echo chambers rely on an enemy to be opposed to. Without it, they would just get bored and wander off. That's what they like about public forums such as Facebook and Twitter. They're not perfect echo chambers. They're opportunities to have their echoes amplified, then go off to fight the good fight against their dastardly foes.

Beating up on the left-wing trolls should be fun. Sure, some of the left-wing troll masquerade as right-wing trolls to throw people off, but really, it's hard to tell the difference. Poe's Law is more and more prescient.
I think the limitation is based on repeater and laser-pump equipment to repeat the signal along the length of the cable run.

I suspect that the repeaters and associated power equipment along the line is pretty big stuff. So the fact that this cable is able to "share" that equipment across the 12 fibers is a breakthrough in technology.
> It doesn't matter how hard people in the business think it is - it requires no credentials or education and there is no bar. That's just reality

It is indeed. But still, someone working on a farm full time should be able to live off of that income. If the farm cannot pay a living wage, its products are too cheap. If the farm can't get more for their product because foreign competition undercuts them - well, that is precisely for what tariffs were invented, to protect domestic industries from wage dumping.
Failures being celebrated is about being willing to try out a new thing to see if it's viable.

You don't celebrate failure and you certainly don't celebrate causing failure by having such a poor strategy that random cartoonists predicted your failure mode on launch day and then riding it into the ground.
People are more likely to chime in if they hate it.

I think most people are happy or content with React - but honestly, it doesn't matter. Nearly every job listing I've seen or applied to asked for React experience (if the position asked for frontend skills). It's so ubiquitous in the coastal US tech industry that if you want to be a frontend dev, you're limiting your career choices by refusing to learn it.
Depends a lot on complexity involved. Starting a vadapav stand is slightly less complex than building the Taj Mahal. Also depends on how driven you are.

Ideally work for a startup in Mumbai for sometime before jumping into the deep sea. If in a domain that interests you even better. There are lots of incubators. One in every University these days. Just mail startups there that have less than 10-15 people (smaller it is the more you learn) and ask for a temp job. Imho thats the best way for students who have no business background to get a sense of whats involved, test whether they have what it takes, how to deal with failure, make contacts etc etc.

Its not easy but I have seen Indian students make it (used to consult at an Incubator). And things are not as complicated as it used to be 10-15 years back.
happening to me too ... really exited to see my bookmarks from 2006
$1,944 for a coronavirus test? Readers helped us spot an unusual trend
Part of me was expecting that “cat” was a technology term I didn’t know
Appsilon | Full-Time | Full Remote

We build a unique company driven by a mission to improve our society and environment with artificial intelligence and decision support systems. Some of the examples of our #AI4good work is helping animal preservation in Gabon Parks, building COVID-19 dashboards or improving data science tools for Doctors Without Borders.

We're a global leader in R and Shiny, which are used by companies of all sizes to build analytical applications. We're looking to hire experienced R, Shiny and Javascript engineers.

Stack:

* R
* Shiny
* Tensorflow
* React.js
* Python
* Docker
* Ansible
* AWS

In addition to a competitive salary, we offer:

* +5% of salary in Personal Development Budget to spend on activities that help you grow
* Remote work with flexible working hours adjusted to your time zone and family life.
* Projects that have a real impact on the world. More on https://appsilon.com/ai-for-good
* 4 paid days per year to be used for training/conferences, events, or workshops
* Private health care insurance
* 24 days of paid holidays + an equivalent of public holidays in Poland, est. 11 days in 2021

Apply here: https://findwork.dev/75359/rshiny-developer-at-appsilon
I agree with it being important to know how to do this stuff from scratch (with Google, let's be realistic), but the black box problem is solved by ejecting.
Let me be crystal clear:

1. If you voted with/for trump it doesn’t matter whether you agree with him, you were giving him material support and demonstrating that you at least accepted what he was doing.

2. We’re not talking about some normal president where it’s a political disagreement. We’re talking about a guy who courted nazis and a wide assortment of fascists, even referring to them as great people immediately following a very public murder.

3. I stopped looking at polling a few months ago because it was upsetting and never changed but last I checked the 1/3 floor I was talking about were “strongly approved”, so I’ll take them at their word.
Musk comes in for criticism because he spends a lot time on condescending shit-talk about older competitors, and then part of the time talking about how hard it is to do things that those older competitors spent decades laboriously working out.

Like, yeah, who knew mass-producing quality cars was way harder than it looks at first? How about the millions of people who’ve been doing it for a century?
We're still around. We're taking it back to the roots, however this time with a lot more $$$. Nerds, with a vengeance. The future has no limits.
> As a result he seems to be constantly arguing and lecturing people on social media to a point where it feels difficult to watch.

I think that's just his personality, regardless of his perceived success or lack thereof.
Ever heard of React, Vue or Angular?

If you meant mandatory in terms of the actual medium requiring it, I can only hint to interactive applications, aside from that I don't think it would actually be mandatory.
Show HN: I made a cookie free, zero tracking embeddable live chat widget
>are very tailored to one particular use case

What is that one use case? What are the others that don't fit?
Maker here. Over the past few years I have become more and more interested in how we can replace some traditional SaaS offerings with versions that don’t use cookies or track customers. I don’t view myself as someone who is massively anti-third party cookies, but as someone who is always running side projects, third party cookies just add overhead to my work - as once I use them I need to display a cookie banner and any GDPR requests now require me to reach out to every third party provider that is embedded on my site, or to become more deeply integrated into their service which increases dev time.

Tinylivechat is meant to answer that when it comes to embeddable live chats. It doesn’t use cookies, it doesn’t track users and we anonymize their IPs in our logs. Moreover site visitors can delete the chats from inside the widget, giving them some control as well. It is written in elixir and uses phoenix liveview

This project didn’t come without its challenges. I had never written anything like this before and one of the more interesting parts for me to figure out was how can I avoid spamming my users with notifications when a site visitor starts sending them messages on their site.

I used Phoenix presence and a supervised genserver (process) for this. Each chat session has its own supervised process that is destroyed when the site visitor leaves the site. This process stores if an email notification has been sent to the site owner and if the site visitor has been sent an away message. The process is killed only after a site visitor leaves the site (there was some challenges around this as well - it can’t be killed it right away, and instead only after a few minutes to make sure they are really gone). It maybe better to use a database for this part - but so far it has worked quite well.
No one's forcing you to buy one. Let them try other manufacturing techniques to see if it goes anywhere.

Besides, the quality issues are mostly cosmetic, structurally the cars are very sound. Look at crash test data if you don't believe me.
Makes me think of an old plaything of mine, but zoomed in: http://mackerron.com/snow-mo (hint: click and drag).
> Webdevs: is there a reason why a page would be designed so that JS being on is mandatory?

I think in the case of Google, it's because they've been told they are the best developers, the top 1% of SWE's, they went through rigorous interviews, are paid a small fortune twice as much as they would get at a regular coding job, etc.

So it's dick shaking. They need to show to the world that they're better than plain HTML websites, that they have a massive schlong, that they out-chadded the vast majority of software devs. Plain html? Psht, we can invent our own language, gonna put those six years of uni to work! Wordpress? This is beneath us! It has to be a client-side rendered JS-pulled-through-GWT behemoth because on my system it's... wait it's slower, but nevermind that it's technologically ALPHA.

edit: actually looked at the source, looks like a Polymer / Web Components website. I've had to work in that once, it was dreadful compared to libraries used by real people.
> what prevents me

The other side of this rate is that the (central) bank will also charge you for holding that money parked, instead of paying you interest. That plus inflation is (supposedly) offsetting your gain, so you might as well loan out that cash to make real money - which is what the rate-setter wants.

This said, the technical answer to your question is something between "not much" and "nothing at all". Some central banks attach strings to what you can do with that borrowed money, but not all. This is why the effect of negative rates is still debated.
There's something called Scener (https://scener.com/about) that does something similar but it requires streaming service subscriptions. I love that this would work to share a DVD with friends, but there are probably legal problems around that, I'd think?
Dependency resolution is the biggest win with Poetry for me - everything everyone else has already said too, but the guarantee that it's only going to install versions of packages that are compatible with each other is fantastic for peace of mind. I can't imagine every using a requirements.txt again.
Keeping challenging yourself. Become a T-shaped person, know enough to be a generalist, then also specialize in the area you have the most natural talent. Learn to focus on the none code things that increase quality of software development, things such as planning, design, giving estimates, documentation, user interaction, simplification of problems, communication, teamwork, etc.
It's a calque from Polish, where "to locate" is "lokalizować"
why this instead of shopify, bigcommerce or woocommerce?
What do you do to rebind them? Are you using real rebinding tools or just using duct tape or something?
I had lackofti.me as a personal domain for a while. It was fun but as far as others using it it was always an extra step, like explaining which parts of a wifi password are capitalized.
I use this stack. One extension I wrote is https://github.com/quantecon/instantiatefromurl.jl, to bind generated notebooks to Julia TOML (i.e. Julia's `requirements.txt`) that lives in a git repo. This means they don't depend on local machine state, so can move and run freely.
Chamath also made a good point on the All In Podcast yesterday. He said shorting allows people to have market neurtal portfolios.
Car manufacturers learned these lessons incrementally over decades while their competitors were doing the same. Tesla finds themself being inexperienced in a market where the established players are really good.

As an aside, car companies actually consult for others industries because they're so good at manufacturing. When I worked for a big defense/aerospace company I got a tour of their satellite assembly and they actually paid Honda to come in and improve their manufacturing pipeline. They claim the changes sped them up and lowered bugs found after manufacturing.
>>Anyone trying really hard to obfuscate that is probably Parler-like themselves.

Thank you for proving my point.... If I do not agree with you then clearly I am alt-right extremist..

Sigh... there really is not point discussing politics in a rational way anymore. This is how extremism persists.
Let's Go Snapping
Those interested in physics-based simulation of snowflake growth should have a look at this page [1] with papers describing models to do so, in particular part II describes a two-dimensional model, part III a three-dimensional model. There also many rendered images and a couple of videos of the simulation results and even some code.

A lot of information can also be found on Kenneth G. Libbrecht's snowcrystals.com [2] including many snowflake photographs. Also the photographs of Alexey Kljatov [3] are quite well known.

[1] http://psoup.math.wisc.edu/Snowfakes.htm

[2] http://snowcrystals.com

[3] https://alexey-kljatov.pixels.com
I think it's best understood if you work backwards from the print calls

1. print is fairly straightforward, prints to stdout what is inputted

2. def area(shape) returns the result of shape call with the two lambda parameters representing the area of a circle as the first parameter, and the second representing the area of a rectangle.

3. def Circle(x,y,r) & def Rectangle(x, y, w, h) are functions which return a lambda that both accepts two parameters, visitCircle and visitRectangle. visitCircle corresponds to the lambda x, y, r : math.pi * r * r in def area(shape). visitRectangle corresponds to the lambda x, y, w, h : w *h in def area(shape). So the def Circle(x, y, r) returns a lambda that takes as input these two formulas, but chooses the formula for calculating a circle's area, whereas def Rectangle(x, y, w, h) takes as input the same two formulas, but chooses the formula for calculating a rectangle's area.
Launch HN: Tint (YC W21) – Embed insurance into any product
Hi HN! We’re Matheus & Jérôme and we’re the co-founders of Tint(http://www.tint.ai). We help companies add insurance to their products.

Many companies, such as marketplaces, merchants, and travel agents could include insurance as part of their products and services to make them more valuable to their customers. For example, insurance will be included when you rent a campervan for a weekend trip at Outdoorsy, to protect you if anything goes wrong. Our platform provides everything that is needed: software, access to insurers, compliance—everything required to manage risk and protect users, profitably.

We met in 2014 when we were early employees at Turo, the car-sharing startup. While there, we saw the potential that insurance products have and also saw how hard it was to fully capitalize on it. Turo has an obvious and pressing need for insurance, but to fill it, they had to build their own systems, find insurers to back the program, and ensure compliance with state laws. None of this was their core business. We got inspired by the problem and by the opportunity to solve it, so we decided to create Tint.

Here is a real example from Riders Share, one of our clients: you go to their website/app to rent a motorbike for the weekend and find an awesome Harley Davidson. You proceed to checkout, see a few protection/insurance options, select one, and book the trip. You won't notice, but Riders Share's app has used Tint to risk-score the transaction, decide if it should be confirmed, and calculate how much the protection should cost.

Now, imagine you are a developer working on this project and need to add insurance to the product. What do you do? Instead of reinventing the wheel and adding more lines of code to maintain, you can leverage our APIs to integrate all the touchpoints required to sell insurance to your users (risk selection, quotes, issuing policy, claims, …). All the logic for the API responses is configured from our app so your insurance team can easily iterate on the next versions of your insurance product. Oh, and we also train machine learning models so we can recommend ways to improve its performance.

We're live in production and have helped our clients embed hundreds of thousands of insurance policies. While our tech applies to any insurance use case, we are initially targeting marketplaces that embed insurance.

We'd love to hear any of your ideas or experiences in this space.

Thanks, Matheus + Jérôme
Or you could just shake the cat food envelope.
If you're going to be made to pay out and concede liability, why not simply go to trial and suffer the same legal fate? It's not there as a mere legalese recitation or to shield the defendant's ego. To finish your rhetorical question, the reason you pay out but admit no wrongdoing is in recognition of the risk of financial liability stemming from the litigation.
It's a religious site?
Most years they lost in the first round of the playoffs or in the Conference Semifinals. They have been above average for sure but have a history of rallying around one player, Harden, TMac, Ming, and then crumbling for years once they leave/retire.
amazing work/excavation. Thank you!