skysight-inc/HackerNews huggingface dataset:
FYI: This is already a thing in the embedded world and Linux already has corresponding software infrastructure:

The "mtd" subsystem which stands for "memory technology devices" is a thin hardware abstraction layer for primarily raw flash devices with an internal framework for NAND flash with driver backends for all sorts of controlers and devices and support for e.g. software error correction if the device/controller doesn't support it, etc...

The "ubi" subsystem which provides wear-leveling, bad block management and LVM style logical volume partitioning on top of mtd. It does not emulate a normal block device, it acts more like a flash device with idealized properties.

The "ubifs" file system which was specifically designed for working on top of ubi.

If you try to use this stack on a large-ish scale to build a DIY Linux powered SSD, you might run into scaling problems with ubi tough (don't think some companies haven't tried that yet).

While it basically works, as always, pretty much every flash vendor guards the inner workings of their devices as secrets and those things have undocumented quirks and undocumented, secret instructions to work around various quirks used by the companies own SSDs and eMMCs.

> Could you make money by producing a cheap "dumb" flash memory where you have raw access and leave all the wear leveling to software by using one of the many available log structured file systems?

Technically, the market exists, but whether you could get into it and make money is another question. I'm willing to bet that if you design a NAND flash from scratch and try to sell it, the existing vendors will clobber you with patent infringement law suits.

AFAIK the reasons why Linux has ubi instead of a full, in-kernel flash translation layer are also legal ones.
I am almost unwilling to advertise this, out of fear that they might disable it if it gains a lot of traffic.

But... reddit has older versions still online.

Desktop:
old.reddit.com

Mobile:
reddit.com/.compact

In fact you can just append the '.compact' to any reddit link on mobile and it will render it more sanely.

The day either of these features get disabled, is the day I will stop using the platform.

edit: typo
Welcome to Monowi, Nebraska: Population 1
The big take-home point here is that comments may be symptom of the code itself not being as clear as it could be. First priority is to make the code itself clearer, that will eliminate the need for a comment to "make it understandable".
From my childhood memories, appliances requiring payment to work is literally the first example of why capitalism is bad in somewhat propagandist children's book Dunno on the Moon.
Show HN: Watchful a startup that surfaces unreleased features
I saw someone commenting on YouTube that there is a lot of people from software looking into woodworking.

I guess it calms you down after a stressful day.

Nothing relax you more than hand planning a crooked board and making a simple dovetailed box.
I taught myself PHP back in 2007 as it was the only language which had a single click installer (WAMP) & easy tutorial to learn (w3schools) to get started with programming. Since then I wrote a lot of PHP, initially for myself then professionally once I got a good handle on it, until 2012.

Now I'm again thinking of picking up PHP for my side projects because of Laravel.
It'd be really interesting if a research group could calculate an entropic calculation on how efficient training any given neural network would be. As in what is the thermodynamic limit of the most optimal NN training could be in terms of watts per bit trained. My hunch would be that human brains would operate close to this limit. At least in our standard environmental conditions. Based on how near optimal biomaterials are in terms of strength to weight ratios it wouldn't surprise me much.
I totally agree with you, there's a very high probability that the Chinese gov is recording everything.

But is that any better than being 100 % sure that the US gov is doing it?

I mean, what is the point of "the Chinese may be listening this is horrible!" when we know for a fact that the US are listening and most probably multiple european countries.

Nowadays, you must assume that whatever you do online is recorded by multiple states and may be used against you one day.
Thanks! via Email or LinkedIn
But this "Russians want to sow discord" thing is a conspiracy theory. It's been investigated a billion times and the allegations always fall apart, yet people don't reduce their belief in it - it's sort of like UFOs in that regard.

We can even trace its evolution because it's not that old.

Before the Trump election campaign, Russia wasn't being talked about much. The sudden spike in Russia/bot/fake news etc related conspiracies aligns exactly with Trump winning and the American left going into a sort of meltdown as they tried to explain why their candidate didn't flatten him. "Fake news" started as an attack on Trump which he then co-opted because the American right had been complaining about biased media for a lot longer than the left, so it was easy for him to do so as the base was already primed.

We can even spot the moment at which the conspiracy changed from being "Russians want to get Trump elected" to "Russians want to sow generic discord". It was the moment Facebook revealed the list of adverts purchased by Russians during the election campaign, and it turned out that it was a total mix of ads for both sides! The ads weren't all for Trump at all, which was inexplicable given the claims up to that point. (actually a simple explanation is that the FB analysis was just selecting random false positives rather than shadowy Russian operators as they believed).

So overnight true believers changed their beliefs to be "Russians want us to fight each other" which is ridiculous, because American politics has been famously divided and divisive for years. Like with George W Bush, who is apparently redeemed now, but I remember when he was supposedly just as bad as Trump is considered today. Why would anyone waste money on trying to create something Americans do just fine creating themselves?
This is a great point. You might take a different approach depending on when you expect your reader to already be proficient in the language or the framework, compared to whether a non-developer might be reading the code.

One argument against these kind of comments is that they aren't the right place to teach somebody a programming language. However I can definitely see cases where they are justified.
Yeah but realistically this isn't a security chip. It's a BLE chip first. Readout protection is mostly added so that customers don't worry so much about trivial IP theft.

Kind of like obfuscators in software. It doesn't really make reverse engineering impossible, it just makes it non-trivial.
> JSK-koubou, Japan

Damn that man for working so incredibly neat and tidy. No stains on his virginal birch-ply, ever — not even a smudge. Sawdust seems to bend to his will, and all cuts and holes drilled are surely accurate to the micrometer.

His workspace is as clean as an operating theatre.

Yeah… That's not ever going to happen in my shed.
For formal engineering, Calculus, Sixth Edition, by Earl Swokowski, Michael Olinick, and Dennis D. Pence is the ultimate book to use. Also, my twin brother used it to teach himself Calculus 2.

Swokowski wrote phenomenal books, in math, just in general.
In that case, the rogue app would have access to your temporary credentials anyway...
I'm really good at accents because I imitate exactly. People think I'm a native when I say hello then I can't understand anything after that because I'm really bad at remembering vocabulary.

It's kind of scaring me off moving to another country to learn the language because I struggle to remember words in English. At the same time I know I would master the words and phrases I do learn plus I've always wanted to try being immersed in another culture. Terrified of not being understood I guess.
1 - 10 pages? In what font size? Are powers of 10 in the point size of a font a thing?

Seriously, though, I have seen these 'just code the solution top to bottom' go horribly awry. Like when it produces a multi-thousands of lines function where indentation is about 7 levels deep with lots of nested switch/case and so on. These things can become completely unreadable and unmaintainable. The danger of code duplication always was and still is that at some point something needs to be changed and it needs to be changed in 100 places. And then the various places where the duplication occurs start to diverge and things become truly unmaintainable.
The tech debt is so legacy in those amendments that it predates SCCS. See the git blame for "three-fifths", or ponder the fate of the "Equal Rights Amendment".

Note: Where I live, most young men, and some young women, have assault rifles at home. Cops still don't kill people. (might savoir-vivre have something to do with this juxtaposition?)

(speaking of refactoring tech debt, the Duke of Wellington was one of the signatories to an international treaty which may have helped inspire the "Monroe Doctrine". [flagged] discussion at https://news.ycombinator.com/item?id=23359754 )
> it is only censorship if the government does it

Or if a government forces a private company to do it.
I did not mean to imply that. Rather, if anything, that it seems to be based on an insight that a metal shape that's enough to enclose also works as cooling.

What a pity that there's plastic on the bottom.
I think that's the right regarding merit-based application and selection, but certain groups need more mentoring, coaching, and supportive help that other groups already had. If someone only got in because of made-up points for winning a genetic lottery, that changes things in sinister ways that reinforces divisions and tarnishes their accomplishments.

Whenever there is subjective selection, be it schools or job applicants, I think names and addresses should be blinded to reduce bias. Bias needs to be recognized and averted fairly.

Passive-aggressively setting-up victim hierarchies to exclude all but a certain group is nothing more than hypocritical vindictiveness and demonstrates a fundamental lack of love and joy.
> Have you ever looked at a very large project

> You are making everyone else's life a nightmare.

I work on code touched by tens of thousands of other engineers. In my experience, code without comments is typically structured, easy to read, and does exactly what is written. Code painted top to bottom with comments tends to be muddied, confusing, and more junior in nature.

The shape of solutions is common. You're not reinventing the wheel with every new project. Engineers are familiar with the design patterns, frameworks, and algorithms you use, so you don't need to force a context switch to point them out.

You can use the symbols themselves as a form of documentation. Instead of having an entire algorithm inline, individual queries or processing steps might be put into their own self-documenting methods:

verifyMarkdown(article_rating: &Rating)
upsertRating(article_rating: &Rating, author: &User, transaction: &Transactor)
publish(article_rating: &Rating, transaction: &Transactor)
enqueueSubscriberNotifications(author: &User)

Small pieces of code might not require a functions to wrap them, but by naming small units of behavior, you can communicate your algorithm step by step without comments.

This is only one type of communication technique you can use. There are bountiful ways to improve your clarity.

I apologize if my examples are obtuse. It's late.
National Debt Breaks Record for Highest Portion of US Economy in History
I ended up doing all the skirting boards for my office spread between both the office itself and the room next door, just to have enough space :D

I do actually have that rare privilege of having a "workshop" space (a solid shed), but as I'm in Wales it is of course up some extremely slippery stone steps, currently leaking quite dramatically, and full of crap I've chucked out of the house but can't take to the tip during lockdown measures.
Statistical Rethinking is solid for learning very, very, complicated concepts, such as various tricky implementations of Markov chain Monte Carlo.
Alphago didn't learn from zero either. It has a pre-processor that identifies sets of patterns with known features, and also:

"AlphaGo was initially trained to mimic human play by attempting to match the moves of expert players from recorded historical games, using a database of around 30 million moves".
Yeah only the last few human layers needed to be trained for the GO expansion pack, all the early layers were frozen during GO training.
> When you have some "complex" technical code. Using natural language is sometimes the most effective way to explain what is done by the related code.

Totally agreed here. There's some code in underscore that recursively copies strings as a way of writing '' because it happens to be fast. You'd think it was really weird if it wasn't marked as a performance optimisation.

> When you deal with some business logic that can become weird at one point (process all these things in some ways, excepts these ones, weird edge cases, etc.). From a developer perspective, it does not always make sense, but it's always useful to have some background explaining why the code has been written in such way.

That's the 'why' addressed explicitly in the article.

> Also, I disagree with the facts that comments are born out lazyness. "Lazy" developers don't bother writing comments. Actually, there don't care, and most of them do not even realise that at some point in time, someone will have to browse, read and understand their code.

> The only kind of comments I've seen from such people are "commented code", because "it might be useful" (it never does).

It sounds like you largely agree with the article. Save comments for 'why', you want to eliminate meaningless comments.
30sec video of GC online IDE and how to download your web app as scalable code
The Last of Us Podcast
you are right! I used try and error with the workers. I kept in touch with them from the beginning. Besides that, I worked there during the summer break when I was a bachelor student. I have an idea of how stuff works there.
This is definitely an awesome list.
AlphaGo != AlphaGo Zero
And the wood supply is always so cheap and plentiful!

“Yeah, here I'm making a simple spice rack out of some purple heart and cocobolo I just had lying around.”

I'm pretty pleased already if I can get my hands on a few scant planks of walnut at a passable price here in the Netherlands.
They do at a state level, but given aboriginal sites aren't buildings protected by codes and standards - they're gigantic bits of land with scattered artfacts like stone tools, or trees with markings, or remnants of old sites.. There's nothing really left.

Think about it like this, if you were in Ireland, there might be a small hill and that was remnants of a hut. If you excavated it, you might find some stone from the walls.

But these sites are on a land mass where time doesn't bury sediment over the top of them very much, so what happens is whatever is left usually just wears away by the harsh environment.

People want to protect these sites, but none of these sites will have any visitors for years, decades in some cases. This includes people who live in the state.

To be fair, there's plenty of work that could be done preserving what's there and excavating underneath - or land moving the top few meters.. And we could make companies do that. But that will just drive organisations and land owners to hide these sites exist in the first place.

Or just move to another remote area to do the same for less profit. But good luck hurting profit in Australia. That's not a political game you've got a chance of winning during our life time in this country.

Always was, always will be..
>Copyright is neither moral nor immoral.

Except you're wrong, idea's are not rivalrous goods. Imagine if someone copyrighted the alphabet and we had to pay $5 a word. Rent seeking puts a damper on global productivity by allowing people to take information hostage. It can also be used as a tool for censorship. Right now copyright is censoring culture and I'm watching videogame history being destroyed on the PC due to bs copyright and software licensing laws. We should have gotten full property rights transfer for software. It's allowed mass invasion of privacy and theft of software on a mass scale by PC game companies.

You haven't been paying attention to how monopoly rights have been used or abused.

http://www.free-culture.cc/

https://www.lessig.org/books/
From the sports desk to playing in leading indie band Sports Team
The problem is people who disagree with you can also make a long list of scary events they've seen that lead to the opposite conclusions.

For instance the riots have now killed more people than unarmed blacks killed by the US police last year. They've been attacking statues of Abraham Lincoln, who fought a war to end slavery. That doesn't look like the work of anti-racists.

So whose lists of talking points wins?

BTW "if Trump wins we're a fascist dictatorship" was a talking point tried in the last election too. He won and so far he's been rather the model of federalism, surprisingly so given the hype. For a supposed fascist he's remarkably content to delegate power to regional governors.
The interesting part to me, rather than cost, is Energy usage.

>The power consumption of the experiment is equivalent to 12,760 human brains running continuously.

But the problem is this "brains" unit on AlphaZero doesn't seems to take into account of GPU, CPU and Memory involved. It only took the TPU numbers.

Then there is another problem.

> a TPU consumes about 40 watts,[1]

The TPU referred to was a first Gen TPU built on 28nm running at 40W, more like a proof of concept. Currently Google is with Cloud TPU v3 [2], The latest-generation Cloud TPU v3 Pods are liquid-cooled for maximum performance. And each TPU v3 is actually a four chip module. [3]. If a single chip is 100W that is 400W per TPU.

Edit: Turns out Wiki list TPU v3 as 250W. [4]. Not sure if that is 250W per chip or 250W for 4 Chips.

That is on the assumption they are very high powered and hence would require liquid cooling. Although that might not always be the case.

So adding CPU, GPU, Memory, and TPU figures. That original estimate of 12,760 human brains may be off by a factor of 10 if not more.

Still pretty impressive. Considering we now only get about 1.8x improvement with each generation node. We would get about 19x by 2030. ( Assuming the same algorithm ). Which means AI is good, but human brain on its own is still very much magical in its efficiency :)

Correct me If I am wrong on the numbers.

My other questions is, that was how much energy it used to learn Go. But what about energy it used during the Game?

How would AlphaGo Zero perform if it was limited to 20W?

[1] https://cloud.google.com/blog/products/gcp/an-in-depth-look-...

[2] https://cloud.google.com/blog/products/ai-machine-learning/g...

[3] https://techcrunch.com/2019/05/07/googles-newest-cloud-tpu-p...

[4] https://en.wikipedia.org/wiki/Tensor_processing_unit
I don't see how images (assuming photographs) are necessarily important here.
Traditional owners have been passing down stories of country for tens of thousands of years, passing them down by oral history and experiencing place. Marking history with physical presence of permanence is a primarily western phenomenon (for example: not all cultures had access to hard stone for construction, be it either locally, or via trade - wood succumbs to the elements eventually - the physical record of built form in Japan doesn't go back very far because buildings and structures were more impermanent. Some argue this is why they have such a strong written tradition and a focus on gardens, similar for areas of china and many island nations). "Evocative" images are irrelevant.
Seconded. I highly recommend watching the back catalogue.

Also fascinating are the many videos about making and using pantorouters, a very versatile machine of his own invention: https://www.youtube.com/watch?v=J_72hOY2vPg (see video description, and there are older videos of different models too).

He sells plans for many things he's made on his website.
I think mainly the ease of having security dealt with around who can access etc really. Ofc you can just upload files and serve them over http, but I'd like something that's as easy to setup and use as nexus for these files - and something that forces a structure for how they are organised. Stops arguments and people doing whatever they want.
Rather than Go champion I would rather use the term Go professional. There is a difference between being a professional and winning professional tournaments.

Now, the bot has many advantages. It never sleeps, never gets distracted, never dies and can be copied to another system to obtain a copy of the bot with the same playing performance.

The bot is also more accessible. Any player now can train with a bot, all day if you want, for almost free. You cannot do that with a professional.
How to Create Gradients in React Native
Hey people,
I'm trying to see if this idea is any good, and I would really appreciate your insights!

- Any feedback on the landing page?
- Is this product helpful for you?
- What similar products do you use on a daily basis?

Thanks,
M
And long collaborative study sessions.
[1] is a good resource if you have access to pyspark and some ability to configure the python environment.

[1] https://bashtage.github.io/randomgen/parallel.html
> Document nothing until you have to do something weird and unexpected.

Yes! And even then:

const int maxSampleRateForMultiSpeakerModel = 22000
source = downsample(source, maxSampleRateForMultiSpeakerModel);
Thanks! I saw the benchmark but how did you match the PG config? I.e. Was SSL enabled on ScaleGrid vs the default SSL enabled on DO?
An Armenian chellist playing Paganini's Variations on a theme from Moses in Egypt.

https://www.youtube.com/watch?v=0g00bVs0zBg
Well it's the only place of its kind, it's more like it's too important to allow to be destroyed. Because you know that these copyright holder do not actually care about history or culture. Look what happened to what.cd, they will burn down everything to protect their profits
Terse variable names are easier to read if you're doing anything non trivial. I only need to understand what it is once, not every time the symbol appears. If the abbreviation isn't clear then add a comment when it's declared. The comment is just as likely to go out of date as the variable name itself so there is no cost to the comment.
This is a lot of money.

However, if you want to reliably make an AI the best in the world at a range of complicated tasks, can you reasonably expect this to be cheap?
Then no adblocker needed!
“World Heritage Site” is a title countries apply for at UNESCO.

Once on a list, treaties require countries to protect the site.

Because of that, the decision whether to ask UNESCO to put that sticker on a site is a political choice.
The author addresses this in the article.
That's a pretty big claim. One could argue that the topology of the brain is a prior, analogous to the architecture of a neural net. But considering that we really have no idea how learning happens in the brain on a large scale, you really can't say.
> abstract interpretation

That's not what static analysis (which includes things like type-checking) means and that's not something you can do with general-purpose code, for reasons related to Rice's theorem.
The Cursed Paintings of Zdzisław Beksiński
Did you just recently believe that herd immunity is the solution in the past month (or 2), or was it your ideal solution since January?
Postman Funding Signals the Maturing of Developer Ecosystem
وظائف الخليج يومياً
Absolutely! Hoist parameters up so you can make commentary on them.
Hinton: GPT-3 is close to the answer of human intelligence
Jupiter Kernel for SQLite
Fran Healy drew Travis's new video on an iPad