skysight-inc/HackerNews huggingface dataset:
I had a driver once in Poland who told me she was avoiding Asian riders because they didn't give 5* scores, while other customers did, and it was affecting her rating. For some reason in western countries it's assumed no problems == 5*. Would be good if there was a baseline to be able to separate what is "alright, nothing to complain but nothing special either" and "exceptional".
The issue I faced writing JS based Server is the amount of validation that goes behind request payload. Validation includes

- if the key is present

- if the value of the key is in given range (any filter function you can imagine)

- conditional key presence (Ex: if key1 is present key2 should be less than 10)

- complex nested structure of the payload

- array validation (length / type / property)

I end up write a significant amount of if else block just to validate if the payload is acceptable. So I wrote a tool a long time back which I use in all my JS based server project (My gateway servers are always in Node for past 3-4 years because of the amount of instrumentation / ease of debugging)

I wrote helson 2 years back, where a dev would define schema of a payload

``` typedef Payload {
str "url": pass,
[]str "tags": pass,
bool "isCollection": pass,
obj "content": { str "body": strShouldNotBeEmpty | shouldBeOfMinimumLength 15 | shouldHaveMinimumWordLength 5, },
}
```

with primitive type support of str, bool, number and compound type support array, enum, ref (https://github.com/adotg/helson/blob/develop/test/helson.tes...) for type checking and custom function (strShouldNotBeEmpty, shouldBeOfMinimumLength above example) as value checking

And it tests against incoming payload

``` { url: '#/e/hash-of-a-link', tags: ['a1', 'a2', 'a3'], content: { body: 'This is a body', } ```

Now that I use typescript, I was in the verge of deciding (I don't have enough time solving just for myself as the value addition is not justified for myself, but if enough people wants it I'll build it) should I also build a typescript supported workflow. Like from a schema like above generate interfaces (and vice versa). Or is this lib meaningful to you at all.

It also throws meaningful error automatically (which you can override) to return to client directly
Have salaries risen since brexit?
I would advise to use some collaborative tools for conference calls and other interactions. There are plenty of digital instruments designed for collaborative work such as Slack, Microsoft Teams, Zoom. For informal chatting you can even go to Clubhouse :))
Yes, they accept reviews from non "Verified Purchasers". This is typically a platform for tiresome SJW soapbox palavering.

> before..delivered

Community Team at one time sanctioned this behavior. Now they don't bother.

> warfare

Were you perhaps paying into the minimum number of seller features? Not FBA?

> ad poison

As an ardent adblocker that's a bridge too far. That's more the province of disincentivizing 419 email scammer fake banks.

> nightmare

The consumer side nightmare is Community Team. Spend some time crafting a high value review then yoink "this review violates our terms" but never mentions which rule or with which language. I empathize with your suffering

"Your review has been removed for violating our rules"

'Which rule?' or 'Which part of my review?'

silence ensues or another link to the rules with no qualification.

Differently abusive are single character "reviews". I _HATE_ Communities Team. Everyone should complain about that first; they have a hand in seller misery. There is no department above them. There are no appeals. There is no recourse.

> that anyone bet their livelihood on Amazon

The safe bet as a side hustle seems to be drop-ship accounts paying neither warehousing nor ad spend.

Amazon Retail Customer Service quality has steadily decreased these prior three years about the same rate as FBA packaging atrocities. Ship a teddybear wrapped in bubbles in a giant box. Ship a laptop in a skin tight box. Send an SSD loose in a soft mailer.

Don't allow Amazon to be your sole selling platform.

On the buyer side ask for retail escalation to "put a note for the Auditors"

wink
The solution to this problem is already invented, and working: Nano cryptocurrency. BTW forget about paying ANY fees.
Nano vs Bitcoin energy consumption:
https://www.reddit.com/r/nanocurrency/comments/lhveo4/bitcoi...
Hackers do care about it. Plumbers don't.
Replace Rails with any framework and you'll have the same amount of success. I've done the exact same thing across Ruby, PHP, Golang and tons of other frameworks/languages and never had problems if following those steps.

Problems usually come from when teams start with point 3 and 2 when in reality they should stay lean in the beginning.
The Importance of Patient Voices in Medicine Research
Is this SV? What was the field of that startup?
Ant Design GitHub repository is back
Ant Design GitHub repository disappeared without known reason yesterday: https://twitter.com/AntDesignUI/status/1361150625505927168.

Now it's back, but all stars are lost.
neat. Now I'll run that along with https://FakeSpot.com
How many gigawatts we talking? The largest grid scale battery ever built will deliver 1.2GW per hour.

I'd say 20 of those would certainly do the trick, and then some. Might be able to get by with 10 or so.

They would save rate payers a bucket of money as well; the largest grid scale battery ever built that you mention is projected to offer cost savings of $100 million over its 20 year lifespan versus the alternatives; not bad at all.

As far as the up front cost, it's pocket change for a state like Texas, and they could use it in the summer as well.
It's charming you think that we people to try and achieve a fair outcome. The incentives are way, way out of line for that.

Tribalism rules the day, even in the face of more or less objective facts.

Collectively bargaining to ensure you are being treated fairly is not holding anyone hostage. Your melodramatic language doesn't do your argument any favors. Folks like our mail carriers deserve to be treated well, to have decent pay and functional equipment. Yet legislators time and time again do what they can to cut funding and decrease worker compensation.
I don't think I can tolerate the web without an ad blocker.
> There’s very little about the original design that couldn’t have worked just fine for mobile, especially given the original was ported to mobile devices in the past.

I played some of the ports, they were not enjoyable on small screen. Not just that it was difficult to touch the correct lemming (even with stylus). It was not fun the way pc version was fun.

> Frankly, such an enduring brand and IP deserves much better than the free-to-play nonsense that was received — $7 for just two hours of unlimited gameplay, such a bargain (?).

People don't want to pay up front for games on mobile. I mean, I do not either. Basically never for myself unless there is free demo. And extremely rarely for kids - it gotta be minecraft basically otherwise I am not paying.

And, I am pretty typical.
Some of the most important research papers of the last 10 years amount to tiny code snippets and use very small datasets.

Not everything needs to be gpt3 scale.
While I agree with most of your comment, "Ruby doesn’t even have first class functions" sticks out. Not because it's not true, but because it doesn't really matter as Procs are first class in Ruby and can be used in all the same ways, so it doesn't really affect things except introducing something you might need to learn coming from JS or any other language where functions are first class.
> Let's talk about pricing commissioned work on existing open source projects

I don't know if to people in your field it's all common practice, but I thought this was an excellent piece of writing, full of good advice. Thank you!
> merchants [dodging] fakespot

how?
I buy the Product; I will write Review as Verified Buyer; I will return the product retaining the Review;
Google Engineers Propose Adding Linux Kernel Option for ARM SLS Mitigation
As a geologist I'm intrigued by the possibility of adding such 'fog of war' but I believe that, if possible, it will make these palaeogeographic reconstructions a little pointless.
First of all you have to define what you mean by "have no idea about". Even if there aren't any outcropping rocks of a given area representing a given geologic time span, it doesn't mean that we cannot know anything about their previous existence. We can collect palaeographic information from many proxies, e.g.: single crystals in sandstone, presence of ophiolites, plate motion speeds, residual soils characteristics, fossils, accretionary arcs' structure, ocean water palaeo-geochemistry, sea level changes, teleseismic data, metamorphic rocks among many others. Even a lack of information is an information sometimes. In some cases we can have more info about a subducted area than of a "ever existing" inner craton.
Geological record is discontinuous by nature, everywhere. If a strict "only rocks outcropping in the same form they were emplaced" rule would be enforced, only a few pixels will be visible. A map of the uncertainties will be really interesting, I agree, but it will be multidimensional and not easy to read on 2D.
> If your condition isn't bothersome enough that you need an ad to prompt you to mention it to your doctor, perhaps it's not really an issue.

Au contraire, people will live with all sorts of debilitating conditions, assuming that treatment is exceptionally hard.

I lived with an impacted wisdom tooth for a long time, and when it was removed I suddenly realized that it wasn't just a natural way for my body to feel.

I also just assumed that I had to poop explosively in the morning just because, and not because I drank the large cup of milk my mother gave me.

And that's normal. Loads of people are like this.
You need to get some therapy.
TiddlyWiki [0] is also a single HTML+JS page with incredible flexibility, and someone made kanban in it too: tekan [1].

There is a long list of task/project management adaptions, including more kanban implementations, here: https://dynalist.io/d/zUP-nIWu2FFoXH-oM7L7d9DM

[0] https://tiddlywiki.com/

[1] https://ibnishak.github.io/Tesseract/projects/tekan/Tekan.ht...
Good reply, thank you.

Yes 200k SLOC is huge (modern development practices notwithstanding). SQLite creates temporary files at whim - nine different kinds! https://sqlite.org/tempfiles.html

I know how to atomically write a JSON file. But when I read, for example:

"The temporary files associated with transaction control, namely the rollback journal, super-journal, write-ahead log (WAL) files, and shared-memory files, are always written to disk. But the other kinds of temporary files might be stored in memory only and never written to disk. Whether or not temporary files other than the rollback, super, and statement journals are written to disk or stored only in memory depends on the SQLITE_TEMP_STORE compile-time parameter, the temp_store pragma, and on the size of the temporary file..."

My eyes have completely glazed over. If I add this to my app, what will it actually do? How can I even know?
> Buy a Big Mac before boarding the plane,

I rather prefer the smaller Mac Air, the big one is too heavy and bulky for long flights. And I would never eat it.
Genuinely no idea what your statement does, but “yield 123” or “yield from xyz” is infinitely more clear.
i assume https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_a...

i just learned of it from this comment. cool!
Performing Calculations on a GPU
Just open your SQLite database in read-only mode :)

SQLite works really well for static or semi-static data. For example, a blog where you have a small number of users writing and many users reading from the DB. If the authors are content to use one server to edit the DB then you can easily push that DB to the servers handling the reads.
Generators aren't only used in the context of coroutines.
AFAIK Emacs is a single-thread application.
It also makes for a good honeypot.
Ask HN: Is it useful to learn neural networks coding from scratch?
Recently, I reviewed "Grokking Deep Learning," an introductory book on deep learning written by Andrew Trask. One thing that characterizes the book is that it teaches you to build neural networks from scratch. It starts with developing a single artificial neuron in vanilla Python to solve linear regression problems, and then it gradually adds to the complexity of the system by stacking neurons together and in layers, adding activation functions, regularization layers, etc. It finally ends up by putting everything together in a bunch of Python classes that very much resemble PyTorch.

You can read the full review here:

https://bdtechtalks.com/2021/02/10/grokking-deep-learning-review/

I really think the process helps better understand both deep learning concepts and libraries. But do you really need to know all of this? Has anyone been doing production- and research-level development of Python deep learning without knowing the ins and outs of implementing all fundamental DL concepts in Python?
This aspect will probably never change:

> Flexible typing is considered a feature of SQLite, not a bug. Nevertheless, we recognize that this feature does sometimes cause confusion and pain for developers who are acustomed to working with other databases that are more judgmental with regard to data types. In retrospect, perhaps it would have been better if SQLite had merely implemented an ANY datatype so that developers could explicitly state when they wanted to use flexible typing, rather than making flexible typing the default. But that is not something that can be changed now without breaking the millions of applications and trillions of database files that already use SQLite's flexible typing feature.

https://sqlite.org/quirks.html#flexible_typing
I'm actually pretty sad that they replaced it with virtualizing a full Linux kernel. It was really cool tech, even if virtualization is easier and cheaper.
It's becoming normal, as users coming from phones aren't trained to use "save" function and expect every individual change to persist.

I actually consider that a good thing. Doing everything in volatile memory until user asks otherwise is a relic from diskette era.
Bitcoin is about as "reliable" as a store of value as a casino chip placed on black on the blackjack table.

Bitcoin has many virtues, but a "store or value" is demonstrably not one of them. Why do you, and many others, feel that it is in spite of its volatility?
All of this is interesting.

I'm currently using - as many do - a 2080TI for ML training. With this my training is <30min.

I would not use a laptop for training as I no longer use "developer laptops" that are more expensive with lower performance than my Linux desktop, especially now with homeoffice I no longer need a laptop - I understand others have a need for laptops YMMV.

But the benchmarks could give a glimpse for a desktop M1.

What I want to know, is it 0.5x or 2x the speed of a 2080TI.
> Ruby doesn’t even have first class functions

I'm genuinely curious what is it that you miss in Ruby regarding functions (my Ruby is pretty OOPish and I try to avoid functional magic).

AFAIK you can do stuff like currying/partial application with lambdas and you can get a hold of any method by name and use it as a lambda, pass it to other functions, use it as a block etc. Is there something we're missing compared to, say, JavaScript?
Not having to deal with hardware is nice, and I don't think having datacenter grade internet access in your basement is realistic for most.
OneNDA Club Launches to Standardise Key Contract(s)
Unfortunately I live in an apartment, but using baking steel increased the quality of pizza significantly!
> https://www.levels.fyi/
This is the same problem as with journalism / sources of information, except for a different domain.

Authoritative sources are considered reliable > newcomers undermine old sources > newcomers become authoritative sources, repeat ad infinitum.

When small shops sold most products, you could rely on the owner being connected enough to the community to not rip anyone off. As communities and local social connections broke down, the penalty for being dishonest evaporated. Amazon and other competitors took advantage and became trustworthy. Now they are slipping...

My guess: in both journalism and in e-commerce, the next step will be a return to “personable” sources of information that are perceived as reliable. Substack is on the right track here WRT journalism. Something that has real people (with good reputations) review products might be the e-commerce equivalent.
And the item with counterfeits is the first hit from google ...
X is an optional set of packages: https://www.openbsd.org/faq/faq4.html#FilesNeeded
If you don't mind paying and can handle German, Stiftung Warentest is very reliable. I only wish similar organizations were more widespread.

https://www.test.de, https://en.wikipedia.org/wiki/Stiftung_Warentest
On a desktop it works-ish. Last time I looked there wasn't much in the way of accelerated graphics drivers, so multimedia use wasn't very practical.
I don't find it useful granularity. It just adds noise.

Product has <huge major flaw>. 4 stars.

Product was a slightly different shade than the picture. 1 star
25% of Russians live in the countryside, but there's countryside and countryside... say that 15% of Russians live far from town, 20 million because that's such a round number. At $20 billion for Sphere, that's $1k per potential user. If people live in two-person households, $2k per potential customer. If 30% sign up, $6k investment per customer, to be recovered from customer income within the lifetime of a satellite.

Sphere will need many, many customers outside Russia to be viable.
Where will Artificial Neural Network lead us to?
It seems obvious that various animals have different natural diets, that is, different diets that they are evolutionarily adapted to. A horse eats grass, a cat eats meat. I expect that of you performed the same dietary experiments using horses as the experimental animal, you would get very different results than if you used cats as the experimental animal. Cats are obligate carnivores, and are on a ketogenic diet, always.

Is the rat natural diet the same as the human? If so, this might have some relevance to the human diet.

This appears to be another example of the garbage that passes for nutrition science.
Many big things started out in a garage, with very simple solutions like your little UPS powered NUC.
GBP/USD is trending high now, but other than that there's been no effect of brexit on high paying jobs as far as i can tell. UK work visa has been never a problem ever for ordinary higher-than-average paying jobs.
well that's not how bitcoin works. they would have found the same amount in the same amount of time. the network is adaptive.
Has an open source clone of some wildly popular commercial service ever had substantial success?
Can you do screen sharing ?
Generally the killer app for a technology (as I understand the use of the term) is something that is going to earn the creator of the technology lots of money, that basically everyone - either consumers or the members of some specific industry is all going to want that technology and will be willing to pay enough money that the owner of the technology becomes rich.

I can see every police department and government agency paying plenty of money for being able to identify the speaker of a particular sentence in a meeting.

I can see the company with this technology providing services for academic research of the interesting kind you mention for the tax write-offs and also a sort of moral cover, but there is really only one thing I see as their main revenue stream.
> "200 SQL statements is a ridiculously high number for a single page"

> "For most sites, 200 queries is way, way, way too much."

> "[This is] bad design"

Now, if we read these statements again, now as excited enthusiasm expressed by a developer in awe of this rule-breaking architecture of web development, enabled by SQLite.

The submission really provides a practical example of the developers dogfooding SQLite, and designs that could be unpractical with other tools. Great

Support your local
I can not see any interesting point in the article except of comics about dumb criminals.
It’s cool. Occasionally my posts do blow up!
https://grugq.github.io/presentations/COMSEC%20beyond%20encr...

Everyone has an opinion. This presenter claimed Windows is the most secure (for his particular use case: "COMSEC").
I don't get the hate Chicago-style pizza gets. It's a different thing than neopolitan-style and New York-style. That's ok, they're just different, and I like all of them.
Ask HN: Are you interested in a privacy-first photo management solution?
We're building a privacy-first photo management solution. We aim to provide the convenience of cloud-based solutions, with the privacy that their architecture can't offer. We're looking for our first users! If the idea sparks your interest, please answer these questions to see if there's a fit: https://duf1rbk6mma.typeform.com/to/yndxOz1n
(not a critique)

Why rewrite what is already available? What’s the main improvement you’re looking for?
I'm real confused about generators, but maybe I'm just missing something about what Python generators do?

Like, aren't generators just a block of code that can produce the next value, wrapped in an iterator?

'Cuz like, sure, they're not front in center in Ruby programming and if they are in Python I can see why one language would teach you the other, but ruby blocks and yield make this pretty damn easy. So what am I missing?
I've thought about learning Ruby (and Rails), being a Python guy myself. Not sure if it is worth the effort.
> in usa most people live paycheck to paycheck

give them more money, and they will still live p2p.

> spending $10k to "help" someone in a country where people...

Never mentioned that. Did mention that many people in the developed world already have enough assets to retire comfortably in a developing country. From there, they would have the time and the money to "do things that are creative and for the greater good," yet very few people avail themselves of this opportunity.

> Family (ultra socialism), Tribe, (extreme socialism), Village (mix of socialism), between outsiders (capitalism)

Socialism/Capitalism are industrial age concepts. Industrial society as a precondition of proper socialism was a major sticking-point in early soviet Russia, being that they wanted socialism, yet had little industry. Family/tribe/village is blood.

> I don't know what's the answer, but first step must be to recognize it.

I know that UBI isn't it. Whether it's socialism or capitalism, competition remains. Socialists jockey for power and position just like the capitalists. In a competition, if you give everyone the same "Universal Basic" leg-up, it stops being a leg-up. It's point-inflation!

Since we are speaking of governments & financial systems rather than games, that leg-up is pernicious. The poor will remain poor, the rich will remain rich, yet it will reduce many people in the middle into dependency -- without the subsidy (& corresponding price inflation), they could cover their necessities without assistance, but with the subsidy, and with the inflation, the transfer payment goes from "nice to have" to necessity. It turns democratic process on its head -- another "third rail" for politicians, corporations, non-profits, NGOs to scare/blackmail voters with.

> we have all yearned at some point to be sitting around large campfire and...

I respect your Uncle Ted vision. Maybe you should read what old Ted wrote about leftists in general?
Or worse, it's not actually UL approved and burns Steve's apartment down.

I am very wary of buying anything electrical on Amazon.