skysight-inc/HackerNews huggingface dataset:
Hello,

I have built an app called TryShape. It is now available as an opensource project to contribute. Here is the GitHub repo: https://github.com/TryShape/tryshape

TryShape is an opensource platform to create shapes of your choice using a simple, easy-to-use interface. You can create banners, circles, polygonal shapes, export them as SVG, PNG, and even as CSS. Please interact with TryShape and provide your feedback & contribute by fixing issues, ask for features, proving suggestions. :).
While “The West” tries to “kill email”, in China it’s always been dead (2017)
The return types of fallible functions map naturally onto sum types. By using product types instead there is a semantic mismatch. You get an error and a value but only one of those is valid. So you need to follow certain code idioms to get back the sum type semantics whereas this is something the type system could handle for you.
Go's reasoning for that might be that they didn't want to have the complexity of sum types in the language, which is fair but is a tradeoff.
I never believed they're selling it at a loss, selling at a very low margin I can believe.
They actually did a pretty smart thing, where you can only order it if you have a steam account that has spent money on steam before this month. I would guess that they also limit the amount of Steam Decks you can order as a single person so it would be some effort to start buying these things up in bulk.
Go maps are wonderful examples.

If you index into a map, then you get a tuple (val, err), where `err` is non nil if the value exists, and `val` is the value in the map or "the default construction of the value".

Go also silently discards tuple members - e.g. `v = map[4]` is valid, and silently discards the error.

This kind of means that all go maps can accidentally be defaultdicts (in Python terminology), but it's also an excellent way to introduce bugs without meaning to.
PineTime SmartWatch (Sealed)
I remember the standard delay for Analog or Satellite Broadcast were 3 - 5 secs due to some betting arrangement. So I really dont see why Internet Broadcasting cant be within that limit as well.
I guess if we find that a pulse is required it will be relatively easy to add a "pressure relieve" valve to the rotary design. Pressure builds up and gets released regularly, just like ye good 'ol pump.
Some rebuttals:

> 1) The biggest benefit of using cdn was that scripts stylesheets were often loaded from cache. This is no longer the case anymore.

This is indeed true. However, most websites (despite the relative ease of activating a CDN service) only host their website in a single location. In those cases, library CDNs (to differentiate from other uses of CDNs) can still benefit the website, even when you consider optimisation strategies such as HTTP/2. Additionally, the stress on their servers are decreased because it's handled by their library CDN provider.

> 2) It's adding an unnecessary vulnerability as seen from this case.

> 3) CDN scripts can be (possibly) used to track your website traffic.

Good points and something that I can't rebut easily. It is indeed on the onus of the website to check the reputation of library CDNs, and it may violate privacy guarantees (you're trusting Google/CloudFlare/Microsoft/Amazon/Fastly/MaxCDN etc.) Specifically on 2) however, they knew that they are large: the speed of fixes (as shown) here proves that library CDNs can benefit websites' security, which tends that its software stack is updated slower (by the website operator's fault). You can also leverage subresource integrity (https://developer.mozilla.org/en-US/docs/Web/Security/Subres...) to fail hard.

> 4) They often drop third party cookies which decreases your website load speed among other things.

Citation needed here. As far as I checked (and just verified as I post this, to ensure that this is still true), every library CDNs I knew (even in weird places such as Japan- and China-centric library CDNs) do not place cookies in the library URLs themselves (some do on their websites themselves, but it is usually separated by domain names).

> It's best to just host your script on Digital ocean spaces or S3 and use a Cloudfront proxy.

If you're a large website or basically need to ensure the privacy is guaranteed, sure! I see that large websites do in fact use their own choice of CDN providers (most websites including Amazon themselves uses Fastly though). Some even do a step-up: some websites (for example) use Fastly for their American traffic, KeyCDN for European traffic and Quantil for Asian traffic. However, I only knew of two CDN providers which provides a flat-rate and reasonable costs: CloudFlare (uhh, CDNJS operator) and DDOS-Guard (which some consider shady).
>The pay version is about $7.50 USD a month, which is not cost prohibitive if you care about it.

$7.50 x number of online services you rely upon

It's quickly becomes a lot.
History is not littered with civilizations that got universal computation and computers to execute them.

Again there is no certainty in life, but to say that this civilization is not very different than others before it is in my view ahistorial.
Not convinced - their review discussions, even on paid for editions are still worse.
To me your link reads more like a part of a spam network of COVID-19 misinformation
At a 168 pages, I only had time to skim it, but this was much better than I thought it would be. He honestly addresses many of my complaints about C++.

In the discussion of variant, optional and any:
- He bemoans that "The possibility of direct language, as opposed to standard-library, support appears not to have been seriously considered"
- He acknowledges that "variant and friends address an important problem, but inelegantly."
- He considers variant, optional and any a "stop-gap measure"
- In discussion of a pattern matching library he acknowledges the need for "both closed sets of alternatives (algebraic types) and open sets (class hierarchies)." and explicitly says the aim is to remove the visitor pattern (whereas c++17 just added std library syntax for it)

In the modules discussion (9.3.1), he also identifies the problem that "[the hello world program] yields 419,909 characters for the compiler to digest". I wish he'd also address visiblity specifiers at a module level, rather than just at a class level.

In the static reflection discussion (9.6.2), he discusses the typical problem of iterating over members of a struct. This is indeed a point where C++ has not really progressed much since ANSI C.

The discussion of error handling in chapter 7 felt a bit lacking. My main problem with exceptions isn't performance, but that I can't determine if I've handled all error conditions. The idea of using exceptions for non-local errors and error codes for local errors is too vague. It also doesn't really make error codes much easier to use. For my money, I still think that using error codes and providing syntactic sugar for dealing with the common boilerplate is the best compromise. I can accept exception/panics when they are not supposed to be caught, but just cleanly terminate the application.

Maybe C++ will solve these problems in the future (C++23? C++26?), maybe not. In the meantime, the new languages on the block are attractive because they solve these problems _today_.
Intel is already in the foundry Business their operating nodes are very large 14nm and 10nm (Which is 12nm) and 7nm process node is broken due to poor yields.
The actual patent is at https://appft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=....
C++ has a great reach, from bare metal to very high level of abstraction. It can be squeezed to support almost any paradigm, oop to functional. You can make dynamic object systems, build a reflection system or a garbage collector. You can do compile time programming.

In general, a systems language is a great asset in your toolbelt. A high level one can let you shape your own environment to great detail.

In the end I think most systems languages will take you to a similar place. Many others have fewer footguns or better ergonomics than C++. Its distinctive feature/bug is having no opinion of almost anything. Or alternatively, you can find subcommunities with almost any opinion.
> I use a database that was designed by someone who understands one sometimes wants to run a migration. It’s not hard to add new fields.

We're not talking about adding attributes to a database. We're talking about one of the most basic cases in API design: changing a interface and serving two or more versions.

If the mapping step between getting data from the db and outputting it in a response is expected to be eliminated by getting the DB to dump JSON, how is this issue solved?

And how exactly is a full blown db migration preferable to mapping and serializing a DTO?
Should my partner get a Covid vaccine while pregnant?
Our Situation: I am vaccinated. We both work from home, and are comfortable remaining socially distant until after the birth.

Facts (as we understand them)

- Studies show mRNA vaccines don't have an adverse effect on pregnancy (e.g. no increase risk of stillbirth).

- Increasingly many governments recommend pregnant women get vaccinated.

- Covid is more likely to be serious for pregnant and recently pregnant women.

- Delta variant may have an r0 of ~7

- Delta variant is transmissible to and from people who are fully vaccinated (Pfizer -> 65% effective?).

- Not possible (due to timing) for there to be studies on the long-term impact on children whose mothers were vaccinated during pregnancy.

- Unlikely but unexpected things like blood clots have occurred (with a _very_ low frequency) in vaccinated adults.

- There are previous examples (e.g. Thalidomide) of things thought to be safe during pregnancy, that were later found not to be.

From what we understand, the chances of there being a negative impact on our child are likely very low. The negative consequences, however, could be large. Due to our low chance of exposure, we had initially decided to wait until after the birth. We are now re-evaluating based on the high r0 of new variants, and the reduced effectiveness of vaccines.

How well understood is the biology of these vaccines, and how does that understanding relate to pregnancy? Are there useful resources that we should read?
GFG announce best UK online wine retailers 2021
Take this report with a grain of salt.
Transfer News: Arsenal Are Interested in Chelsea Striker Tammy Abraham
How do you manage state with pure JS?
This article they quote from seems like a better source for details : https://electrek.co/2021/07/09/tesla-patent-reveals-elon-mus...
> Minimum wage is precisely "minimum standard of living"

No, its not.

Because while it compels someone who employs you in a covered job to pay you a certain hourly wage, it doesn’t require anyone to employ you at all, nor does it require them to employ you for a minimum number of hours per (say) month if they do.

It sets a floor on value of work for which it is economical to hire workers, but it does not set a floor on standard of living for the jurisdiction, or even for those employed in the jurisdiction.
And Softbank already owns Aliexpress. And then CCP intervenes!
Not to downplay the importance of low cost retail medicine, but what if she didn't have 5 dollars?
Pulitzer-winning Indian photojournalist Danish Siddiqui killed in Taliban attack
Why market Ivermectin? It's not even under patent.
check out the Arraycast podcast
So we can decoralate winning the first prize and brute forcing. OP is saying language matters if you want to brute force and not say, win the first prize.
Switch emulation is quite good, and gets better by the day.

I have no experience with JoyCons unfortunately. I use an Xbox Elite controller + PS4 controllers. They map extremely well to a Switch Pro controller in Yuzu emulator. Launching Yuzu via Steam via Parsec works surprinsgly well to recognise the controllers, despite the occasional hiccup. Smash Bros and Mario Kart are a blast on the big screen.
But the statement from TFA talks about number crunching and brute forcing, not about winning first place.
Great work getting this together, building a curriculum, a pricing model and a website. Some feedback:

- I don't trust you yet - I saw the pricing before I gained trust in you as a tutor. Why should I learn how not to procrastinate from you, for money?

- The video I watched was quite dry - to be honest I found your presentation style a little monotonous and not very engaging.
I view this as more of a tinker device. They’ve stated you can install anything on it. I just know I haven’t regretting buying the steam link or controller, so I may give this a go.
I wonder if they will release a new Steam Controller to go with it for TV-Docked multiplayer.
I need a catalyst - motivation is fine once I'm going, but my activation energy for most tasks is enormous.
> (GloFo licensed their 14nm from Samsung as a reminder after their own 14 failed, and their 7nm failed too)

Can someone with insight explain how this can happen? GloFo is a company worth billions, how can they just fail at this while Samsung succeeds. What's so hard about this in particular? I don't think I recall companies at this scale just failing at something that is supposed to be their area of expertise.
> You have actually just demonstrated that you have no idea how chicken reproduction works.

> None of the eggs you can buy at the store are fertilized.

We were talking about a tradition that was created in the middle of the last century, when home fridges started to include egg trays, and supermarkets were (probably) a little different than today.

Yes, I can inform you that you can definitely buy organic fertilized eggs in many places, at least in Europe.

And if you think that we never studied embryology and sexual reproduction in the faculty of biology and that I did my thesis in animal reproduction without knowing what is an ovule and what is a spermatozoa... well, you have a really weird sense of the reality. I would not buy anything "demonstrated by you" at this moment.

By the way, my rooster send you a salute.
In case anyone remembers, there was a company called Dr. T's music software, they developed for the Atari and Amiga. I did some work for them in the late 80s
Weirdest Japanese Game Shows
https://mobile.twitter.com/jjchamie

There's his Twitter, with lots of links and references and conversations with other doctors and researchers. Even being super skeptical, it doesn't look like he's a sock puppet or a deluded nutjob.
Not all chip foundry customers want or need the latest greatest nodes. We can see this in the current chip shortages, all those dozens of embedded CPUs needed in cars, and in other consumer devices aren't sub-10nm designs. The vast majority of chip manufacturing is actually at fairly pedestrian nodes for cost reasons.
Seriously: Isn't there a business case? Patents for the older Insulins have expired, the manufacture isn't that complicated for any halfway decent pharma or chemical company. The current margins must be through the roof.

How is Insulin in any way different from other generics which are a common business case?

Why is there nobody offering competition?
Given the value of the Bill & Melinda Gates Foundation, why would Gates spend any of his own valuable personal time networking to raise more money for it and not trying to put more of the existing money to work?

Seems like the opportunity cost of fundraising is high.
Nice. One suggestion, your README.md references the GitHub-hosted list, but in that list itself it says:

> Please pull this list from, and only from https://publicsuffix.org/list/public_suffix_list.dat, rather than any other VCS sites. Pulling from any other URL is not guaranteed to be supported.

I'd submit a pull request but I'm on mobile.

Also, is "sansio" a commonly-used phrase? I've not seen it before. I appreciate that it means "without i/o", I've just never seen it written like that before. Not even by a French person :)
More like a lithium extraction patent. Table salt is involved in the extraction process. This has nothing to do with what the title made me envision: Tesla is diversifying into the food business or something?
I know there are a lot of opinions on what the Federal minimum wage should be, but can we all agree that $ constants in our laws are always a bad idea?

I think any law, without a sunset provision, that mentions a $ amount, should peg that $ value to a periodically updated relevant economic metric - inflation, etc.

For example, if the outrage over minimum wage has something to do with median rent, then tie the two values together, so we can stop having these pointless debates everytime rent goes up.

tldr - minimum wage should be computed at run-time, not compile time.
A product type forces the language to have a special "invalid" state for every type like Nil, and this reminds me of all the problems related to null handling I know from java - like forgetting to check for null / Nil.

A product type also allows returning weird states: no error and no value, or both error and value. I strongly believe that invalid states should be unrepresentable, rather than allowed by the type system and then fought by discipline and tooling.
One of the huge problems with making generic drugs is that you need to demonstrate that your drug does the same thing as the real deal, which isn't as expensive as phase I, II, and III trials for bringing a completely new product to market, but it isn't cheap, fast, or easy. Likewise, setting up proper facilities to manufacture your product isn't cheap, either.

https://www.fda.gov/drugs/news-events-human-drugs/generic-dr...
Raspberry Pi SSD/SD Card Image Manager
They have that in the US as well. It's called a copay I believe and it depends on insurance but is also do prevent people from going to seek help if it's minor.
Greed is to defect in game theory.

https://en.wikipedia.org/wiki/Prisoner%27s_dilemma

Its somebody who instills distrust in society by taking advantage of it.
If, like me, you've a few Raspberry Pi projects and need a standard way to create your base images before first boot then this CLI tool might be for you. So far, I've only tested with a couple of scenarios and the tool has worked very well. I still have to play with using a Custom Phase Script to set up custom drivers / non-standard packages. I'm confident it will work flawlessly. Very impressive IMHO.
Archivebox is also an awesome tool to create copies of a website. Whether you want to demonstrate a phishing attack or do a POC to integrate your product.
E.g. any TOP N query, e.g. music charts, best players, customers providing most revenue. Commonly used in dashboards.

That is, the only use is not pagination as you claim. Regarding pagination, see https://blog.jooq.org/2014/08/06/join-the-no-offset-movement...
Some years ago I've created an interactive map that serves similar purpose: https://weathernomad.com
this!!
Hacker News is a place for curious conversation, rather than a place to sneer at people's ineptness for coming to reasonable (if incorrect) conclusions. You can be completely correct, but if you're going to be a petty jerk about it then you're not helping the conversation. I provided an example response that conveys exactly the same information, except you'll note mine doesn't start with "this is a poor understanding of [general concept]". If anything, "link provided below of convenience" and "please review the following link" is far more sealioning than anything I wrote, because it hides the message of "you're an idiot who needs to read up on this topic" behind faux politeness. It's the very thing that I found disconcerting about that comment, not its factual content.
This is a shocking picture; as if the whole town was built on top of an ancient river.
The Risk of Alzheimer's Disease After Acute Appendicitis
a PHD is a monkey trained to reason about a unknown.

totally agree that heterogeneous teams are vastly superior in avoiding blind spots.
Is there any evidence people are actually wired this way? Because as far as I can tell people mostly gain/lose energy based on whether they like the people they're interacting with, and everyone likes some time alone. Extroversion strikes me as liking the average person over anything else, and extroverts stop being extroverts when they're interacting with people they find objectionable. A person who exclusively gains energy from being alone is likely schizoid, which is an outright disorder (and relatively rare).
I disagree with this take on why this model was there. I understood it as it being there to illustrate what it _would_ take to avoid a societal catastrophe. This is helpful, because it shows that we won’t avoid it!
>It may not fit your mental model...

No, it's not a psychological problem. This is real complexity, and it's one of the most serious and widespread issues in software development.

The key issue is that we often have rules that say: Whenever A happens then B must happen as well. It is absolutely critical that rules like this are expressed in exactly one place and that enforcement is opt-out not opt-in.

Everything else is error prone and creates significant mental burden.
It's called a deductible in usa.

https://h4i.nl/2018/11/30/health-insurance-understanding-eig...
> It does? Maybe technical expertise, but money?

Even given enough technical expertise, there is still a need for time and effort, plus acceptance of the minor risk of unjustified lack of support from mainstream services (e.g. government apps refusing to work in custom ROMs).

While the investment in time, effort and risk does not require being anything close to wealthy, it does need some level of financial stability.
Whenever I hear "salt" and "battery" in the same sentence, I think of Sodium Ion batteries. Similar to lithium (neighbours on the periodic table), even cheaper and more abundant, and because sodium is heavier it should be strongly considered for stationary storage.

I guess I'd need to consult that skeptical HN list on new battery tech to understand why it's not widely deployed yet!
1. We are so awful at predictions.

2. Tech predictions live and die by hype cycles (which gets a nice little write up in this article https://www.linkedin.com/pulse/8-lessons-from-20-years-hype-... where the author reviews 20 years of hype cycles, what has come of them etc)
> Is picking an element from a single finite set something you can build using ZF?

In ZF it's tautological by the axiom of regularity[0]. If you have a non-empty set X, there is an element y such that y ∈ X and X and y are disjoint.

[0] https://en.wikipedia.org/wiki/Axiom_of_regularity
I swing between "I'm just a software engineer, let's aim for logical consistency and let anyone define the world the way they want to" and "I am a software engineer and I play a meaningful and serious role in shaping the way people interpret reality".

I really hope the standards folk were leaning more towards the former view of their role here rather than the latter.
You should do it.

Even if you don't build a successful business/startup, you are going to learn so much that making the money again is going to be a piece of cake!
Steam controller is one of the best, if not the best, input design ever made.

It's a shame different, even if better, is too big a hurdle for some people.
Insulin is not administered intravenous, but subcutaneous.
Did your intentionally leave out the annual 'basic healthcare' package of around 1500 euro you are required to have? It's not free.
I know next to nothing about set theory, but. If you have a single set, you must know its elements or some rule that defines its elements. You can then just pick an arbitrary element that is part of the set at will and let that be your choice.

Since it's just one set and not a collection of sets, you don't need some general rule that will give you a well-defined element from each set in your collection.

Am I missing something?
I never thought a person could be that naive, lol. Interesting read anyway.