skysight-inc/HackerNews huggingface dataset:
Sigh.

I've been arguing this for so long, and gave up about 5 years ago. I can't think of a more scalable way than fission to combat carbon, yet it won't happen for so many reasons.

* There are too many solar and wind success stories to point to. "Why can't NYC be like Scotland with wind power?!" You start to list the reasons and the response is "we can accomplish it if we put our minds to it!". It's an endless cycle of optimistic non-problem-solving.

* No politician will back nuclear. If there's an accident, they'll be run out of town. Not worth the risk.

* Along the same lines, there is zero interest in technology research/investment. This became obvious when they shut down reprocessing in the 70s and IFR was shut down in the 90s. And the reprocessing ban was by a President who happened to be a nuclear engineer! If he won't do it, who will?

* The scare-mongering in the media over accidents is impossible to overcome. There's no way to have a rational discussion when all someone has to do is point to the endless exclusion zone documentaries to win their argument.

* And then much of the blame needs to be shared by the nuclear engineers. They had decades to make nuclear safer before TMI, Chernobyl, and Fukushima (1942 -> 1970s, 80s, 2010s). And yet, here we are, with the same light water reactors that Rickover speced out in the 50s! Yes, I get that has something to do with building restrictions since TMI... so how about before that?
You can use numfmt to parse the number:

$ seq -w 0001 0005|numfmt
1
2
3
4
5

Or just use plain sed:

$ seq -w 0001 0005|sed 's/^0*//'
1
2
3
4
5
R-CNN – Overview
Having a runtime and GC is not unusual for a statically-typed, compiled language.

Crystal, in fact, has a runtime, that runtime has a GC, and the language FAQ notes that removing the GC would be impossible without complete redesign of the language.
Societies based on Marxism - are they not based on superstition and theocratic authoritarianism? Marxism is a non-falsifiable theory that appears to explain things, but in reality it's just wrong, as shown by the many experiments conducted to make it work.

Scientific and enlightenment principles got a huge push from the Bible. The Bible makes certain truth claims that make science possible, such as the claim that there is a physical universe that is worth studying in its own right. Many other belief systems emphasize that you can only know the physical through the metaphysical.
Sony Is Acquiring Audiokinetic
> got stuck in customs at SFO for over 3 hours when their layover was scheduled to be just over an hour.

Less than two hours for an international-domestic transfer is crazy at ANY airport, USian or otherwise.
On-call compensation survey 2019
When it was conceived, it was the right aircraft. By the time it arrived, market conditions changed. So it became the wrong plane.

That's really to it. Really.
Algorithms are patentable, if you add ", running on a computer". E.g. map-reduce https://patents.google.com/patent/WO2012135319A1
With threads, SIMD, GC, direct DOM access and more, tools like Emscripten and wasm_pack.....yes

https://hacks.mozilla.org/2018/10/webassemblys-post-mvp-futu...

https://www.youtube.com/watch?v=VsYL4Z9sRec
> So by liberal democracies own standards, I find myself puzzled by the flat-out fear of foreign cultural imports.

The fear isn't so much about "cultural imports," but foreign control of cultural institutions. That control can be used to export different kinds of government censorship and other illiberal practices.
IIRC fair use may cover that if it's only small portions of a work or significantly transformative, and not for profit. There was also an exemption from the DMCA for educators in recent years that may be relevant.
Anyone know what "neural network processor" means, with regard to this chip?
With the exception that Chrome is a good browser.
Yep, you're right. I took a year off from generating the ideas to work on a few other projects. I'm dusting the cobwebs off everything now and getting it booted up again. Great catch!
It has received a few recent shoutouts in the media.
I think if you live in silicon valley, you have a distorted view of how many people can build software.

I grew up in the mid-south and know of literally one or two other people that code.

I know live in a major metro area and still only know maybe 3 people that code. It is actually a rare skill.

At the same time, I can't even count how many contractors, real estate agents, sales and marketing, and doctors and lawyers that I know.
But how long do you show it to me for? If you show it to me for 20 seconds, you've actually shown it to me ~1,000 times.
When I started Julia I was annoyed by it.

Then I realized that 90% of my mental gymnastics with indices got simplified. Explaining indexing to newbies is now immediate where before it took a slide, several examples, and a clever picture. Slicing is also more natural:

"1:3 picks out index 1, 2 and 3, which are the first, second and third element of the array."

Instead of the python version of

"0:4 picks out index 0, 1 and 2, which are the first, second and third element of the array."
I don't think "Americans will figure out that something is propaganda" is a reasonable position to take. After all Russian propaganda via the internet was very effective, look at the 2016 election, and native American military propaganda is hugely effective.
Crystal has both garbage collection and a wider runtime for fiber scheduling for evented IO etc. It's only superficially similar to Ruby.
In my experience, communicating too much in the issue tracker tends to invite unnecessary discussion/bikeshedding with people who don't need to know the plan of attack. Our support staff are on our issue tracker, but not on our PRs.

Stuff in the PRs is developers-only.
Why not anytime soon? VBScript and Dart where given the ability to access the DOM in IE and Chrome in the past.
The module without WiFi is in Stock (and is the $8 model, the WiFi is $9).

https://www.seeedstudio.com/Sipeed-MAIX-I-module-w-o-WiFi-1s...

There's also a dev board, which is probably much more useful than these bare modules. Unfortunately also out of stock: https://www.seeedstudio.com/Sipeed-MAix-BiT-for-RISC-V-AI-Io...
It is hard to get a lot of users for your app if you can't put it in the app store.
"The AWK programming language" has already been suggested and is great.

But awk is actually pretty simple. Imagine everything having an implicit loop like this around it like so:

# BEGIN{ ... } would go here
for $0 in input.split('\n'):
$1, $2, ... = line.split()
# if TEST {ACTION}; pairs ...
# END { ... } would go here

so the first TEST in GP's awk would be `$1 ~ /class|module/` and the corresponding ACTION to take `{print $2}`.

if TEST is omitted it's True, if ACTION is it's print the whole line.
Actually what's funny here is that (index - 1) % N doesn't work in C, as it can be negative. You have to use (index+N-1) % N.

I still prefer 0 based indexing (for example for calculating the size of an array), but the worst thing is inconsistency between languages. 0 won, that's it.
> It's hard to draw a legal line between a few lawyers with some bad patents and a garage inventor struggling to make his idea profitable.

You don’t necessarily have to draw the line. One potential legislative solution would be to simply throw up our hands, admit we can’t stop one without stopping the other, then deliberately choose to sacrifice the (vanishingly small number of) good actors in order to get rid of the huge number of bad actors.

How many lone garage inventors are out there fighting big companies over their legit inventions vs. the number of ridiculous patent troll cases?
I don't get it. If Bg5 is an illegal move then the recognition is obviously wrong and you can prune it (I would think?).

Who am I to talk though, I'm not the one programming this thing. That's just what my gut tells me. :)
It's a well-known paradox [0]

[0] https://en.wikipedia.org/wiki/Paradox_of_tolerance
The Reason They Hate Nuclear Is Because It Means We Don't Need Renewables
You probably could if it were big enough to go to court over. Most court cases are settled out of court.
...and yet, as I understand it, other countries just don't have this problem, not at anything like this scale, anyway. It cannot be the case that a fix is impossible, and yet every other country on earth has managed to fix it. We have to be doing something wrong.
Is there any plans to open data-centers in the South of the US? (Texas specifically), we want to consider DO but the high latency from the current ones is not an option.
It's not so much fear of cultural imports as it is about political influence from a foreign government. The article makes a good point about how "Seven Years in Tibet" came out before Chinese money started flowing into Hollywood, and how perhaps that movie might not be so easily made these days.

There's something you didn't mention when you talked about how "USA wants to spread its values too." American companies that invest in Hollywood and sites like Reddit generally aren't partially owned by the government, and certainly aren't subject to as much government control.
Dont try to actually invent anything. Go B2B, find opportunities to automate/innovate an existing process/service, sell it as a monthly service (recurrent revenue is key), keep your costs ultra low (your time and infra). If one company buys it, two or more will.
Reddit and all other companies should really reconsider taking chinese money.....
If you're US based https://www.reddit.com/r/personalfinance/wiki/commontopics (and its community) is a good starting point. With stock I only do broad standard index funds with low fees, that probably puts me into very risk averse and long-term.
Your 0.18 sec result is (to use the units they used in the article) 180ms, and if I understand correctly their best webassembly compiled and executed result (?) is 300ms. Beautiful.

EDIT: But it could also be that your computer is somewhat faster than theirs? Do you happen to have some very fast CPU? Can you say which? When I run C-like C++ versions of your code I get the speeds you get with node.js. However, you made overall much better results than they were able, it's still great work!

#include <stdio.h>
int main(int argc, char* argv[]) {
enum { height = 4096, width = 4096 };
unsigned* a = new unsigned[ height*width ];
unsigned* b = new unsigned[ height*width ];
if ( argc < 2 ) { // call with no params
// to measure overhead when just allocations
// and no calculations are done
printf( "%d %d\n", (int)a, (int)b );
return 1;
}
if ( argv[1][0] == '1' ) // call with 1 the fastest
for (unsigned y0 = 0; y0 < height; y0 += 64)
for (unsigned x0 = 0; x0 < width; x0 += 64)
for (unsigned y = y0; y < y0 + 64; y++)
for (unsigned x = x0; x < x0 + 64; x++)
b[x + y*width] = a[y + (width - 1 - x)*height];
else
for (unsigned y = 0; y < height; y++)
for (unsigned x = 0; x < width; x++)
b[x + y*width] = a[y + (width - 1 - x)*height];

return 0;
}
Ask HN: Any articles/writes who explain startups for lame man?
I always struggled to understand why a given startup does. I came across the following articles which explains Patreon's business like I am a beginner.

https://techcrunch.com/2019/02/12/patreon-business/

I have been wanting to read more stuff like that but all websites are flooded with news which one cannot make sense. Medium is mostly fluff pieces. Do you guys have any recommended authors or articles that one should read to understand
startups from ground up. Basically, is there a ELI5 for startups or a structured set of readings?
"Because of its potential to be misused for creating disinformation, OpenAI said it had chosen not to make the most powerful versions of its algorithm available for public use nor was it publishing the source code and training data used to create the software."

From: https://www.bloomberg.com/news/articles/2019-02-14/this-arti...

This link was in the original article, and contains a fake news story.
There's a port of MicroPython to these chips, which is nice: https://github.com/sipeed/MaixPy
AOC’s logic is very straight forward. She wants to take money from you and I through massive taxation and redistribute it to her low income constituents through massive social programs. Don’t let her “soak the rich” bait and switch rhetoric fool you, the middle class always pays for new government spending.
And even more if on is committed to more meaningful interactions with their child(ren),and, like, walking the dog and whatnot.
Looks great. Any idea when it'll be added to GitHub Enterprise? This would be really helpful for my team.
> But further, digital devices are not banned at OTB tournaments, most players will have a cell phone, and might even text or take calls.

I guess this may vary by country, but at least in the USA, phones have been banned in every "novice" tournament that I've participated in. Even books are off limits.
They are bad but not way off for that basic for loop, depending on which rotation is being applied.

Using their code on my Intel-based workstation at around 3ghz using GCC 7.3 it takes around 80-100ms to rotate a 4096x4096 buffer 90 or 270, and 14ms to rotate 180.

Max memory bandwidth of something like an i9-9900k is 41.2GB/s. This test reads & writes 128mib of data. So max theoretical achievable performance here is around 3-4ms. Max theoretical. So 100x is not really feasible. 10x, though, very much is, as the quick convert shows a peak time of 14ms with a 180* rotation.

Of course the major source of slowness here is that the reads/writes are not sequential, and the 90 & 270 rotations are achieving a fraction of the possible bandwidth they could as the input reads are jumping around, so every single one is a cache miss and the other 60 bytes in each cache line on the miss will be purged before it's used again.

Flipping it would mean the writes are never utilizing a full cache line, either, though. So you can't really "fix" that, not easily at least. So either your read or write bandwidth ends up tanking and you can only achieve roughly 6% of the max (only ever using 4 bytes of the 64-byte cache line) for that half of the problem. Without some clever magic to handle this your max theoretical on a 41.2GB/s CPU drops to around 50ms.

All that said it's clear that WASM is very far off from native levels of performance. ~5x slower isn't something to brag about. But hey maybe the test system was a potato, and the 500ms isn't as bad as it sounds.
https://www.reddit.com/r/programming/comments/aqpjkx/replaci...
The Allowance of a helicopter pad shows how tone deaf the proposal was. Never mind the safety issues of a helicopter flying over a heavily populated area, the noise of one was such an issue in Brooklyn that they banned any flights over land as a quality of life issue (other than police or news helicopters I think). They still come close enough to the land that they are a nuisance if you live near or enjoy the new publicly accessible waterfront areas.

EDIT: Apparently there were limits placed on 120 landings a year and it was on the waterfront campus mitigating some of the safety concerns. It was still a major concession given though that does nothing I can think of to add to the community.
You are mixing up two different groups of people.

> money is speech and there are no values higher

The people (Federalist Society, etc.) who make this argument are the ones who want Saudi/Russian/Chinese/Israeli/... propaganda to dominate or subvert American discourse (with the same subversive power also granted to homegrown plutocrats), as long as they can take a cut or they perceive the resulting public confusion to advance their ideological agenda.

And yes: this is a very short-sighted and dangerous road to travel down, eroding republican norms and civic trust and concentrating power among the unaccountable.
True, but just passing through stations often means slowing down to less-than-blazing speeds. Also, you must account for the possibility of the faster trains needing some way to pass slower ones. This might mean more track infrastructure to allow the slower ones to pass to a side track. It might also mean that the slow train's having to wait slows it down further, making running them on high-speed infrastructure a questionable idea.

I trust that the French made the right decision. Germany has fast trains that stop at more places than the French, and in my experience they don't have the theoretical fast trains that just pass through almost all stations with very few stops. Presumably because it's hard to make it work.
Will this disqualify Softbank Vision Fund, which is partially funded by Saudi Arabia?
> This seems like another one of those "money is speech and there are no values higher" =

“Money is speech” is a view on the US Constitution that is most frequently cited in that language in the US to rally outrage against it as subversive to democracy and facilitating plutocracy, rather than because it is a popular view.
> RISC-V for Microsoft surface and RISC-V for Google Chrome may not be fully compatible with each other and RISC-V AWS cloud processors.

It is up to software distributors to decide whether it's worthwhile to use those extensions; provided they are even allowed to run their own software on the thing to begin with (which was not the case with Surface RT anyway, extended ISA or not).

> When somebody decides to invest into large volume laptop/desktop/server microarchitecture to compete with Intel and AMD, nothing prevents them from adding their own proprietary ISA extensions.

Nothing prevents AMD and Intel from doing this either, and they do it all the time! You just don't notice because they agreed privately to cross-license the extensions.

And at the end of the day, the parts of the platform that you'd use for a standard operating system (notwithstanding new tagged memory or other exotic architectures, which I'd argue are a good, innovative form of incompatibility) are fully standardized already on RISC-V. If Microsoft wants to make their next version of NT on RISC-V rely on Qualcomm-proprietary instructions, that's their prerogative.
HNers may prefer reading about this from OpenAI itself: https://blog.openai.com/better-language-models/

I suppose you could also read about this system from the system’s own output, but that would (for now) be less productive. :)
Filecoin is essentially IPFS with incentives for data retention and distribution.
How would SIMD do anything to address the problem's fundamental anti-cache-friendly access patterns? You'd need to restructure the problem to be cache-friendly, but SIMD won't really be relevant to that.
Interesting, sort of a Spolsky-esque "leaky abstraction."

It's easy-ish to reason about rights of corporations when they are groups of your own citizens.

When you poke through the veil to ultimate beneficial ownership it's a lot less obviously easy to reason about.
I need this as well. I have a ton of PRs with WIP labels.
Why the Narcissist in Your Life Wants to Make You Jealous
See also this thread from 4 months ago: https://news.ycombinator.com/item?id=18047553
They aren't too uncommon, Fidelity has had one for a while: https://www.fidelity.com/cash-management/fidelity-cash-manag...
I agree with the drift of this but would not describe myself as being exhausted for those 2 hours. More like just unwilling to anything not personally regenerative.
> Could a miner save on bandwidth costs by just hoarding a bunch of data, but never serving it up? I guess that they must have a solution for that, but is the solution decentralized?

I've always suspected this will be the case with Filecoin. Whether or not it is profitable depends on the ratio between storage and bandwidth costs. If you can store stuff cheaply but your bandwidth is expensive, then it make sense to store junk data if your hard drives are not full.

Filecoin really has two incentive mechanisms: A proof-of-storage-hardware mining scheme similar to proof of work which does not preclude storing useful data, along with a retrieval market which should make storing useful data more profitable than not in most cases.
If it were up to me, yes it would.
Sometimes it's a DSP or FPGA with blocks/instructions designed to implement common matrix transformations.

In this particular case a vendor on that site claims:

> 3. There are 5.9MB SRAM can be used for convolutional neural network acceleration, so, it is possible to run small model like tiny-yolo v2,MobileNet, as you see in face detection routine video.
> So by liberal democracies own standards

Given how easily wars on foreign soil are sold to the American public, you should be well aware that the US does not meet those standards. Few countries do.
I would guess they refer to the suggestion that gender is determined by the genitals that a person is born with, which the parent comment think is correct. Just like the article however, I agree that science has debunked that theory. Androgen insensitivity syndrome for example prevent the masculinization of male genitalia in the developing fetus with male phenotype. They are described by science as XY female, but does not have ovaries or a uterus.

There is also studies done on neuroscience of sex differences, which found that transsexual individuals tend to have the brain characteristics and structures that do not match the genitals that the person was born with. Again a rather strong indication that gender and genitalia do not always match. There is quite a lot of research that indicate transgender as caused by biology, where individuals get a mix of both male and female traits, and genitals in those cases is simply one of many traits.
I was attempting to say this above, more or less.
I've been wanting to learn Rust for a long time, but I'm hit by the curse of Python being the second best at everything. Every time I try to write something in Rust, I think "okay, I can either spend a week learning Rust and writing this, by which point I might lose motivation, or I can have it done in Python in an hour".

Unfortunately, Python always wins, and it's also never not an option, since it runs on everything I care to develop on :(
This is a terrific tool which I've used several times to rapidly assemble presentations. If you're already fluent with markdown, Marp is a very natural fit.

I find working in heavy-duty presentation software packages to be like running through glue. Instead of creating content, I get caught up in pixel-pushing to make everything look right. Marp offers a couple of styles. It's very refreshing to use.

Best of all, it'll output nice-looking PDFs that you can share afterwards. Recommended.

I have no affiliation with Marp or its creator - I'm simply a happy user.
No, corporations do not have rights. The owners of the corporation have rights. If the owners are not citizens, then the corporation they own to not have rights only provided to citizens.
Good luck with that. The 0-based indexing is non-existent outside of programming. No one who doesn't do pointer arithmetic would come up with it.

In mathematics 1...N is a perfectly good notation. Julia expresses the same idea with 1:N. This is consistent with spoken language (1 denotes the 1st element). Consistency, if anything, would not come down in favor of the software engineering choice here.
I don't find this quantum argument convincing.

We know that the better you isolate an atom, the longer it takes for an excited electron to come back to ground state. The issue is that the electron must dump a full quantum of energy, and it tends to do so as part of an exchange with the outside world.

If you isolate an atom really well, that electron can take a really long time to decay.

See: "Collective Electrodynamics"
https://mitpress.mit.edu/books/collective-electrodynamics

Brownian motion and standard thermodynamics almost certainly makes a stronger case.
I also fail to see the point of this... maybe to prove once and for all that blockchain doesnt make any sense as an institutional/private service?