skysight-inc/HackerNews huggingface dataset:
Ah yes, Sargon of Akkad, of "I wouldn't even rape you" fame.

If anything, I'm pretty glad the absolutely despicable thing is no longer funded through them and kinda makes me want to contribute more money to Patreon somehow.
In my school, I was lied to by teachers instead of just saying "we will get to that later" or something. For example:

Q. how much is 3 - 5?

A. nothing because you cannot take 5 out of 3.

Q. how much is 2 divided by 3?

A. nothing because you cannot divide 2 by 3.

Q. what are the roots of the quadratic function ...?

A. this quadratic function doesn't have roots because you can't take the square root of a negative number

I believe it's possible to not lie when teaching math, but I guess it's harder to do.
From a Middle-Eastern perspective, Rome has just recently been settled.
This is pretty much it. Let's frame the proposition differently to get people to consider it from a new perspective.

I can verify the OS install media with trusted publishes using signing keys and PKI. I can't do a god damn thing about the cheap, back-doored PCI controller from China.

What protection does secure boot really offer the end user at that point? The PCI controller is in place to just pass the right signatures to secure boot or just wait until after the secure boot checks so it's not helping with bad hardware. I already verified the OS media at install, so its not super useful there either. Did my boot code change? How would I know? Did the bad PCI controller fake it? Do I have any additional trust in my system? I can't go probing the system to try to find out.

A black box with zero control told you you were safe and there is no way to look at or modify the system now so you can trust it. Your hardware was never on a TAO workbench. Who doesn't feel safer?
Hello HN! (author here)

I needed a way to add blog posts to my plain PHP site. I ended up creating a very simple way of adding markdown content to my site in the form of blog posts.

I wrote more about how I got here in this post: https://dev.to/xcs/i-created-my-own-static-php-blogging-plat...

I spent about 2 days thinking about and implementing the solution, so it's still very basic yet very powerful. I am really happy with how it turned out, I prefer this over using a 3rd party blogging service or having to install complex tech stacks with several build steps.

The biggest advantages I see with this way of creating posts:

- Markdown can be easily versioned in git.
- You see a preview while editing the markdown in VSCode (by default, no plugins needed).
- You are not bound to any framework.
- You can easily stylize the content or add extra features.
- Can be integrated into your existing (PHP) site.

I don't have any future plans for this yet, but I really like the simplicity of just adding a new file and having that post visibile on my site. I posted this because it works really well in my case and I thought it might help others too (either the code itself or just the ideas behind it).

Thank you!

Cristian
Looks awesome.

The tamagotchi from my childhood had totally different body though
This is for companies with big budgets doing ARM development, not startups and hobbyists.
Jesup here
My take on this whole offshoring / automation conundrum is that although the current crisis won't immediately constitute a boon for automation, it will certainly pose the question in countless boardroom meetings. It's a question that's been asked before, but it's never been as top-of-mind as it is now, and that's first step to get the human and capital resources behind it to actually see this come to fruition.

From what I've heard in the manufacturing industry, automation is great conceptually but there are still many finer motor tasks for which the technology just isn't there yet, so cheap labor is the solution. Perhaps in hindsight these managers will find that concentrating all of that cheap labor in pretty much just one geography (China) isn't exactly the definition of redundancy, so supply chains in the long term will need to be redefined.

Slowly, geographies like Vietnam, Mexico, India and even the U.S. should benefit from this desire to diversify away from China. This "next generation" of factories will be smarter and pave the way for more advanced automation involving finer motor tasks.

> "The demand for smart factories is likely to grow with increased diversification of production locations – from China to Vietnam, India, and even the US." (Morgan Stanley Research. Investing in the Second
Machine Age – Picking the
Winners. July 19, 2019)
And I really think it's callous for us to forget the "More than 150,000 people now toil on Kenyan flower farms, many of them women." These are the poorest of the poor, to take away what little they have is pretty thoughtless.

I'm willing to bet that given the choice many of them would rather not engage in such toil, and the reason they're poor is because wages are kept so low that they have little opportunity to save enough to make such choices.

Nobody buys flowers because they are trying to better the lives of agricultural laborers. I always find myself doubting the sincerity of such appeals, which only seem to arise in discussions of externalities. Many years ago I worked at an industrial floristry company for about a year, doing the manual work of handling the flowers as they came in from abroad and putting them in storage or preparing them for sale. I liked the work OK but I didn't get up every day thinking 'thank heavens so many people love the flowers we sell.' The pay wasn't that great and when I found a better job I took it.
Samsung gets approval for wrist based blood pressure monitoring in South Korea
If so, vaporizers can be used to prevent infection.
https://www.theverge.com/2020/2/18/21142306/patreon-capital-...

tl;dr: payday loans
Take your pick https://www.nerdwallet.com/best/banking/high-yield-online-sa...

I assume that he was running the calculations for the blackblaze B2 service which is $.06/GB/year for storage, so at 1.6% APR on your $500 principal that works out to over 100GB
Attention is a scarce resource
Whoa, the author of Caddy is from Dubuque? That's so cool!
This is why someone needs to do the research on it. Even a 20 second buffer, filled at a constant bitrate, may suffice to deter the vast majority of potential bitrate signatures that could be used to identify the stream. The status quo may already be sufficient defense.

Interesting data point on the separate AV streams. I can't say I've noticed that myself.
Detect regexp patterns wit IDAPython
> Set 1 could be a "numbers table" or generated with something like "generate_series()"

I've done it this way when doing it per-minute or per-hour - i.e. for 60 minutes or 24 hours; fixed, constant ranges. I picked this example because (to me at least) it's more difficult :)

Calendar months have different lengths, so something would have to tell it which month to use (and account for leap years). But say you wanted the last 60, 90 or 120 days? I suppose you could first create a temporary table to be the "numbers table", custom made for the range you want to fetch - is there an alternative?
They're not identical concepts, but both relational schemas and statically typed programming languages provide assurances about basic structure. Mongo, and Python, offer no such assurances, and leave it to the developer to get it right.

Agree that SQL's syntax is rather bad.
I wonder what their definition of "city" is ... it seems to differ from just "inhabited". They make a distinction somewhere between villages and cities.
C++ has sped up the pace of its releases, but I don't have a sense of where C is. I didn't realize until I looked it up just now that there's a C18, although I gather that this is even smaller a change than C95 was.

Safe to say that a feature like this would be standardized by 2022 at the earliest?
> These bailout bills have been passed with broad bipartisan support...

> So how is voting for either party going to help a problem that both parties equally passed?

I think that's misunderstanding politics. Broad bipartisan support doesn't mean both parties were happy with each and every provision, it means that they found the overall compromise acceptable enough to vote for (given the circumstances).

For instance: IIRC, the Democrats actually wanted to add a permanent, general paid sick-leave benefit to one of these relief bills, but after Republican objections they compromised and settled for a temporary COVID-specific benefit to achieve "broad bipartisan support" for the overall bill. That doesn't mean they changed their position, and if more people had voted for Democrats in the last election, the outcome would have been different.
I agree that VSCode is not "slow," at least not when you get used to it and definitely not in comparison to other Electron apps. I used Sublime Text 3 for a long time before Atom became popular. Immediately, I noticed that Atom was nowhere near as snappy as ST3, and was constantly hanging even on opening large folder structures.

VSCode was a breath of fresh air compared to Atom and the extension support was even more impressive. But very recently when I found out about the Sublime LSP package, I decided to give Sublime another look. The snappiness difference between ST3 and VSCode is night and day. Even though by no means does VSCode feels "slow" for my day-to-day work, the small speed improvements of using ST3 compounds to make for a greater experience overall to me.
YouTube CEO: We’ll ban any coronavirus content against WHO guidelines
Does Acid Reflux Cause Constipation?
Do you have first hand experience with BBB?
I wrote @ronomon/mime (https://github.com/ronomon/mime) as a strict fuzz-tested MIME parser in a memory-safe language to prevent similar attacks such as:

1. Malicious character encodings that can crash email clients such as Apple Mail.

2. Malicious RFC 2231 continuation indices designed to cause overallocation.

3. Base64 data containing illegal characters such as null bytes.

4. Unterminated comments and quoted-strings.

5. Missing multipart parts (e.g. no terminating boundary delimiter).

6. Malicious data designed to cause CPU-intensive decoding or stack overflows (aka MIME bombs, the email equivalent of zip bombs).

7. Malicious multiple occurrences of crucial headers and parameters, which could cause clients to render an email differently from that scanned by antivirus software.

8. Encoded words containing malicious control characters (cf. Mailsploit).

While it won't prevent this exact attack because it seems to be purely size-based, @ronomon/mime was able to detect attacks such as Tim Cotten's "Ghost Emails" Gmail hack [1] as well as recent CVEs reported against ClamAV [2] and SpamAssassin [3], which are variants of a MIME multipart attack I disclosed through Snyk, "How to crash an email server with a single email" [4].

[1] https://blog.cotten.io/ghost-emails-hacking-gmails-ux-to-hid...

[2] https://blog.clamav.net/2019/11/clamav-01021-and-01015-patch...

[3] http://mail-archives.apache.org/mod_mbox/spamassassin-announ...

[4] https://snyk.io/blog/how-to-crash-an-email-server-with-a-sin...
> A lie-to-children (plural lies-to-children) is a simplified explanation of technical or complex subjects as a teaching method for children and laypeople. The technique has been incorporated by academics within the fields of biology, evolution, bioinformatics and the social sciences. It is closely related to the philosophical concept known as Wittgenstein's ladder.

https://en.wikipedia.org/wiki/Lie-to-children
It’d probably round up to the nearest byte, as it already does with the boolean types.
Have you lived in any of the older cities on the East Coast? The Philadelphia and Boston areas have an enormous amount of history still present and visible, especially in the outskirts that haven't faced as much commercial pressure. Even downtown in both cities there's quite a lot that's been maintained from the colonial era.
Unusual Memory Bit Patterns
Agreed, but that’s only so the administration gets to check its list of stuff. Congress never delivers just that.

But I agree that there is plenty of blame.

I still think it was amazing that a relief act got passed so quickly that at least worked somewhat given the disparity in politics these days.
That's infeasible in our economy. Generation of wealth is something that is needed and beneficial to society. Abolishing shareholders is not the answer. Having better politicians (i.e. not corrupt) to reign in capitalist markets to enforce moral behavior would be a better choice.
Personally I strongly favour building a sustainable business - but surely you can raise funds despite (because of! Given your market) the crisis?
It’s such a dumb narrative to blame banks and individual businesses for this when the Treasury was the one that launched a poorly designed and ambiguous program that was open to interpretation and was clearly underfunded to begin with.

For example, a restaurant chain with less 500 workers per location qualified as a small business. Is there any restaurant in the world that has 500 workers in one location? Even if there was would that be “bigger” than a chain with, say, 50 locations with 50 employees each?

It is strange to expect a business to anticipate that the funds would run out and factor that in to determining whether it would be “fair” to apply if you qualified.
Nobody's going to buy or use a car if demand drops like a brick. All the automated factories in the world isn't going to help with the fact that inventories will just pile up, unbought and unused.
My sister was at a private school in the UK and they were given drinks(a single glass of champagne) at certain events even before they turned 18, with permission from parents. Like you said, it's only illegal to buy alcohol under 18, but there's no problem with consumption itself.
I'm not saying that VS Code is not valuable as a tool - that would be a stupid thing to argue over.

I used VS Code for about a year, and occasionally revisit to reevaluate. Hell, I even gave Atom a (rather unwarranted) fair shot.

What I am evaluating is just performance and resource consumption, which is much worse than it needs to be due to the design choice of using Electron, which has little to nothing to do with the functionality it provides.

For me, the performance makes it uncomfortable to use. Others less fortunate will be experiencing something much worse than I am.
I found it to be a really interesting tour. I think it's free, as well.
Automation requires investment. Recession means less capital for investment. The estimate of $12 dollar meal implies that people would be spending the time they use to cook the meal to work instead. That is idealistic. People generally do not work every waking moment of their lives.

As we get to the bottom of the article we find the real point is to push UBI. When money is created and given to people who do not work, that money becomes worthless. What manufacturer is going to invest in robots to create products for people who have monopoly money?
From experience... with today's computer having 16GB+ ram, VSCode is fine. But if you start doing dev work on a 2011 Macbook Air with 4GB ram or even 8GB ram, you quickly notice how much memory electron apps consume. When switching between VSCode to something like Sublime, the consumption is 10X improvement. That is my only beef with Electron apps. It is a way to get something cross-platform extremely fast but with ZERO care for how expensive it is.

FWIW, I use VSCode...
I mentioned theory and experts, you said enough theory.

I switched to practical applications and walk the talk showing my code, and then you back off and want to go back to opinions.

I see now that you want to back myself with experts since reproducible code and runnable benchmarks is not enough.

Apparently you recognize Nvidia as an expert so let's talk about CuDNN where optimizing convolution is all about memory layout, source: https://github.com/soumith/convnet-benchmarks/issues/93#issu... and it's not about C vs C++ vs PTX.

Or let's hear about what Nvidia says about optimizing GEMM: https://github.com/NVIDIA/cutlass/blob/master/media/docs/eff..., it's all about memory locality and tiling.

Or maybe Stanford, the US government and Nvidia Research are also wrong when pouring significant research in Legion? https://legion.stanford.edu/

> Legion is a data-centric parallel programming system for writing portable high performance programs targeted at distributed heterogeneous architectures. Legion presents abstractions which allow programmers to describe properties of program data (e.g. independence, locality). By making the Legion programming system aware of the structure of program data, it can automate many of the tedious tasks programmers currently face, including correctly extracting task- and data-level parallelism and moving data around complex memory hierarchies. A novel mapping interface provides explicit programmer controlled placement of data in the memory hierarchy and assignment of tasks to processors in a way that is orthogonal to correctness, thereby enabling easy porting and tuning of Legion applications to new architectures.

Are you saying they should have just called it a day once they were done with C++?

Or you can read the DaCE paper on how to beat CuBLAS and CuDNN: https://arxiv.org/pdf/1902.10345.pdf, it's all about data movement. 6.4 Case Study III: Quantum Transport to optimize transistors heat dissipation, Nvidia strided matrix multiplication was improved upon by over 30%, and this part is pure Assembly, the improvement was about better utilizing the hardware caches.
Just that since I don't live there and know the society/culture I may be asking a dumb question. I probably should have said something like "I don't know much about Sweden, so I'm asking from a position of genuine ignorance."
I got a book deal!

I answered a whole bunch of questions over on a Show HN a while back if you're interested: https://news.ycombinator.com/item?id=22033129

I'm happy to answer any specific questions around this. My email's in my profile, or you can reach me on Twitter (@jstanier).
"Pretty expensive" is a relative term. For comparison, one year's cost of tuition at Boston University is $53,000, plus $16,000 housing, plus $1,000 for books and supplies.
Slightly different. Example if the service only has 2 users:

I listen to artist A's song 1 time, you listen to artist B's song 9 times. We listen to no other songs for the month.

With pooling, A gets 10% of the money, B get's 10% of the money.

With their suggestion, they each get 50%
Printers.

More seriously, robustness/security. Everything we “engineer” is incredibly fragile. Nothing is built and able to be “done” if it needs continuous security maintenance for its entire life.
Write the Pitch
Yes, agreed. It was designed for OLTP not OLAP, and I have to get my mindset into that.

For days as my example has, would the Time table be generated for say 1970-2050? Given months are of different lengths and there are leap years, I'm assuming this is needed, rather than storing a single year.
Key Visualizer: Observe Distributed Databases to Discover the Unknowns
https://news.ycombinator.com/item?id=22944690
Germany did that (post bank) didn't want so well...
I'm reminded of the engineer's triangle here: "Good, fast, cheap. Pick two." The problem with a lot of Soviet design was that they always had to pick cheap since there were often shortages of resources. Their designs were fundamentally influenced by scarcity, and it makes it difficult to make anything good, especially if you need something quickly. That doesn't excuse the fact that many designs were knockoffs and terrible in their own right, but it does explain their underlying design choices.

There's an interesting book titled "Made in Russia: Unsung Icons of Soviet Design" that details many examples of this. The one example that always struck me was the Soviet soda machines. They could not waste previous metal on soda cans, so the soda machines came with a communal cup. You put coins in the machine for soda, and it filled the communal cup like a fountain drink. But once you were done drinking you had to return the cup to the machine and press a button to clean it out and make it ready for the next customer. This process seems ghastly and ridiculous but makes sense when resources are scarce. It was the design tradeoff the Soviets made so that soda machines would be available in the first place.
So that splits the responsibilities of seniors

I was helping a junior (well more-junior) earlier with a problem. Had a quick look, then did a video call, drew a diagram on my whiteboard, job done, 5 minutes.

Wouldn't have been possible in the office.
genuinely was the whole reason I wound up doing it tbh!

Will take the font discussion over there
I solemnly swear to stand by those who fight corruption, even when they go too far I will recognize and respect their intent, I will remember them as heroes, and I will do everything I can to make their sacrifice not be in vain.
Nail on the head with that comment. The scapegoats are usually the ones who committed gross amounts of fraud or they are not influential/connected enough to avoid prosecution.
Demand will eventually recover. We're discussing what happens next, not what happens today. Supply chains and manufacturing in general, whether automated or not, don't change overnight.
Could have had Yang....

Edit:well you could have...but hey. Enjoy your temporary stimulus funds.
Heres a link to a similar stoy with images of the shirt for context. I think the shirt is sort if racist but I still feel it is important to see it. This is especially important for news media to provide the images so people get the full story. Otherwise people will imagine the worst possible case, when that is not nessisarily the case.

https://www.vladtv.com/article/261998/lululemon-art-director...
Are you certain that none of your mayor, governor, senators, representatives, state senate, state representatives, local democratic council members etc. have accepted JPM’s money? Perhaps you can research that point, and act accordingly. In “all blue” seats you can do this in primary elections.

You can also donate your time and money to battleground campaigns elsewhere in the US if you are a citizen.

There are also plenty of ways to get more people to vote, including in battleground states.

If you care, there are plenty of things you can do.
I find thinking about analytic queries like these as map/filter/reduce easier than thinking in terms of the SQL!
I get your point but maybe not the best example, as Radiohead has been covered and remixed innumerable times...

A sample: https://www.whosampled.com/Radiohead/ (135 samples, 336 covers, 36 remixes listed)
Quite a few of the cities of Ancient Greece and its colonies have survived to this day. Obviously Athens and many places in Greece but not only.

For example in France, Marseille and Nice (both Greek colonies) are 2,600 and 2,300 years old, respectively. The first inhabitants would definitely recognise them immediately today from the unique landscape (like Yerevan).

As for Puning, it's not so much related to China's recent changes but to the landscape. Mountains are unique and don't change much or at all in 2,000 years. But in a plain there is nothing to distinguish the landscape apart from buildings.
Reinventing Hooks with React Easy State
This is helpful to know, thanks!
(Dons owly mask) Wikipedia has you covered:

https://en.wikipedia.org/wiki/List_of_nomadic_peoples
We are thinking of leaving Couchbase. Most of the new code is PostGres. What was your experience with NoSQL like so far?