skysight-inc/HackerNews huggingface dataset:
For all the horror, at least this happened at the quayside and half the explosive force radiated away almost harmlessly over the sea. That basically halved the actual destruction at the outset. If it had been in the middle of the city, there would have been twice the damage. This much is fairly obvious.

What isn’t quite so obvious is that roughly half the energy was also wasted upwards, and that a startlingly worse case would have been if the explosives had been slightly interred, coupling the blast more closely to the ground and enhancing amplitude of the p-waves and providing plenty of really substantial debris raining down after basically ‘earth-quaking’ the buildings.

Roughly combining the two 50% ‘wastages’ leaves you with about only one quarter of the energy was actually really channeled into destruction, which I’m going to be charitable and call a third. In ‘ideal’ conditions you might’ve had three times as much devastation, and that’s a pretty shocking thing to consider, given the actual carnage.

NOTE: I had appended these considerations in a more inchoate form to the tail-end of another comment, but I figured I’d make them an item of their own and tidy them up a bit. Apologies for the duplication.
But I don’t want to write JavaScript(!) and deal with all the complexities that comes with it like npm, webpack, typescript… Fortunately, I can just compile GoLang to WebAssembly (WASM)

Okay...

Large WASM binaries (especially from GoLang): these take a long time to send over the network increasing loading times. In a desktop app the binary isn’t transferred over the network, so less overhead.

I forgot that you don't have to download desktop apps, they just appear!

Browser incompatibility: Some WebAssembly methods are unavailable in browsers and older browsers are not supported at all. In a desktop app the “browser” is controlled (Chrome for Lorca and Safari for webview), so no compatibility issues.

Electron???

This just seems like you built a less easy to use bundling/development platform than js/webpack/etc and claimed it was better when I'd argue it's way less mainstream and thus less accessible. Not to mention you could've just used native ui like others are talking about. Seems like the worst of both worlds to me.
We use Sphinx extensively in our organization, as it's text based (works nicely with GIT) and extensible (we can add the necessary directives to support domain specific documentation requirements from CENELEC standards).

Our product is a railway signalling onboard system.
Can I ask what app you use on your iPad for reading PDFs? I use Adobe reader which is pretty good on iOS, but I find Preview a better experience.
You do realize that what KMT and Taiwan did doesn't speak for mainland China?
One of the theories I heard recently was that life could arise anywhere there are energy gradients, conditions for forming bubbles and the right substrates. I'm not sure how accepted that is (heard it in a popsci lecture) but it seems plausible.
> Platform vendors like Apple, Google, MS don't want to let developers target multiple ecosystems

Is this actually true? As in, I see how we may arrive at the same outcome anyway, but at this point, do those companies actually care about aggressive lock-in?

- Apple seems to be more ignoring the possibility of SwiftUI on other platforms rather than actively preventing it since https://github.com/Cosmo/OpenSwiftUI (dead) exists. Sure, they will never help to make it happen, but "don't want"?

- Google is pretty much cross-platform/-ecosystem with Flutter which explicitly supports iOS.

- MS seems to have given up with Win Forms opensourced and working on .NET Core / Mono.
yeah I want to see what internet the author is browsing because for the last 5 years all I could see if vacuum on the web. headers footer side-ads privacy-popups massive-intro-photo and somewhere lost in all of this, a paragraph. Quite often the content could fit in a tweet.
I struggled for motivation for my side-project, so I built an app to help
TLDR: I Have just released the app today on PH: https://www.producthunt.com/posts/today-build-habits

Been really looking forward to sharing this

There are some days after work or on the weekend where I feel super motivated to do something new or just clear up my emails. Some days though, I really don’t.

One thing I have found that has helped me a lot is to actually time these daily tasks to make sure I don’t skimp on them. I have found this to be so useful I really wanted to share the technique with others.

So here it is! Today helps you to turn to-dos into actual habits, giving you the opportunity to actually build that side-project, start that new hobby or just actually get around to checking your emails.

I’d really love to get YOUR thoughts on it, so please do leave a comment and/or give it a review!

️ https://www.producthunt.com/posts/today-build-habits
Aren't there SSDs that go in the opposite direction and expose a key-value store instead of a linear address space? Seems like that will make reliability testing even harder.
Absolutely, depending on how much I care about the content, I either print it directly from the reader mode (which gives pretty bland results) or I touch up the page itself with things like "column-count: 2" and a few changes to headlines, to give it the look of a proper print article. Either way, printing to PDFs is a great way to archive/save web content for later.
You lose source control on your procedures. How you deal with that?
Another way of spreading the load is to sleep(random(sensible_delay)) before executing a scheduled task.
Those are really two different worlds. "Protected mode" is a CPU function, available from the 286 upwards. (The 286 had a major misfeature: you couldn't exit protected mode again!). "Tiny" is a compiler target, and COM is an executable format and loader specification.

To enter protected mode usefully you have to set up your segment descriptors somewhere. "Real" mode has none of that.
PDFs are horrendous but they work in their horrendous context. Most people are not tech saavy and want universal visual and printable. I so wish people could exchange text + svg but you need to educate and modify workplaces. Until then PDF it will be.
> Wouldn't it still be fine if they are storing data there but not giving it to china gov

That's a HUGE assumption to make. All companies are required to install backdoors BY LAW in China, and the gov can even have its own employees/spies within the companies' data centers.

Why would you assume any different or that it's up to the company to give that data? It's not like the Chinese government really has to go through a democratic judge to do that.
What laws are those?
Constitution and constitutional precedent also imbues the powers of foreign affairs onto the president unless there's legislation. Jefferson pushed for this to be the case: "The transaction of business with foreign nations is executive altogether. It belongs, then, to the head of that department, except as to such portions of it as are specially submitted to the Senate. Exceptions are to be construed strictly"
Lots of HN comments are here like "I know people who prefer to be contractors", "My sister's neighbours little brother actually doesn't want to be treated with respect by Uber", blah

This is utter nonsense. Being a contractor means being self employed. You don't get paid leave or sick pay. It's a risk taking and doesn't make any sense in the gig economy where the wages are close to minimum rates.

If you are truly self employed then you have a skill which you can market, you can charge fees which allows one to put money aside for things like unpaid leave or sick days.

If you are truly self employed then part of your job is building customer relationship, building up recurring customers, increasing your business through marketing, word of mouth, etc.

You actually have to do entrepreneurial shit.

Uber drivers are NONE of this.

They clock into an app which belongs to someone else and they have no share in. They can't hand out business cards to customers or market their services on a board somewhere. They sit and wait until their master (Uber/Lyft) assigns a ride to them. Then they have merely the chance to accept/decline it. They can't even negotiate their own fees. That itself is fucked up. It's complete nonsense in extremely disingenuous by anyone here to suggest that an Uber driver is a self employed contractor and that this is good for them. They get paid shit and can't save up like a real self employed person, because they also have no say in the ride prices.

Fuck the gig economy. All gig workers are slaves and we should treat each other with more dignity and upgrade them to employees. It's our bloody duty as a decent human being.
A really nice stomach-emptying dump. No seriously.
(Art ∨ smut)? At least it's consensual, unlike Dr. Hill's trysting with a bubble headed coed.

I don't see any hectocotyli so it's possible The Fisherman's Wife passes the Bechdel test.
No, by taking the "high road" and valuing freedom and rights, you get global influence and alliances that are worth far, far more in the long run than any short-term profits your IP might get you.

You don't get world-class talent moving to your country by being a totalitarian state. You get it by valuing individual rights and freedom.

I'm amazed at the short-term thinking behind these moves - and the fact that HN, of all places, is cheering it
Video Editor Free – New version 2020
===Salient features===

️Choose multiple photos to make videos
️There are many themes to choose from
️Easy custom music
️Many stickers
️Set of beautiful photo effects
️Easily add text to video
️Edit each transition effect for each photo

===Features===

Video Maker
Choose a theme for the photo
Select the time the photo is shown
Add Music to the video
Add sticker to the video
Select photo filters
Insert a subtitle for the image
Choose photo transition effect

Joiner Video
You can join all the videos you like to make a video without losing quality
Export multiple videos with different frame sizes, or export videos directly to social networks
Join professional videos with simple operations.

Cut video
With Photo Video Maker you can cut the best parts of a long video and put it into a complete video if you want
Cut video easily, accept many different video formats

Video to mp3
You can extract any music from any video you download online
Extract music and save to mp3 easily and quickly
>> - understand frameworks and libraries

>not sure what this implies, sorry

A couple of things off the top of my head:

— list all HTTP endpoints in a Spring (or whatever) application, with their arguments, input and output format, possible error codes, etc.

— DSL completion, as in this example (pay close attention, it's not SQL): https://www.jetbrains.com/idea/features/screenshots/16/why_i...

— an ability to quickly jump from an ORM model to its corresponding database table

Stuff like that.
This will be an unpopular opinion no doubt but the question isn't "should the president have this power?" It is actually "should this president have this power?" The answer to the second one is more challenging since he doesn't respect the norms of political restraint.
Congress has given the President this power, as the article says:

https://www.law.cornell.edu/uscode/text/50/1701

"(a) Any authority granted to the President by section 1702 of this title may be exercised to deal with any unusual and extraordinary threat, which has its source in whole or substantial part outside the United States, to the national security, foreign policy, or economy of the United States, if the President declares a national emergency with respect to such threat."

USA has given its President a lot more power over the years and decades.
Yes, I just use "emacs -nw -q" (aliased as eq) when in terminals, and it's surprisingly good most of the time. But having good startup time always would make a huge difference imho, including Emacs's popularity.
> silent is better than quiet

In most cases the beefiest air cooler + the lowest tolerable fan curve (meaning no overheating) will do the job just fine, especially if the CPU TDP is between 35-65W. Alternatively you can also limit the CPU power usage by disabling turbo or doing other tricks that forces it to run slower, but more efficiently.
> Clean Cable: To ensure the undersea cables connecting our country to the global internet are not subverted for intelligence gathering by the PRC at hyper scale

What is hyper scale? Did Trump write the copy for this site?
I tend to do my Linux dabbling on the cloud. I rarely make use of the fancy services available on AWS, but that's not the only advantage of AWS, as they also do a fine job with the basic abstractions relating to EC2 instances.

One example is firewalls. I'd expected Linode and Digital Ocean to offer cloud firewalls the way EC2 does, but no. When I create a new Linode instance, all ports are open to the world. On EC2, I can easily restrict new instances so that incoming connections are only permitted from my IP. That gives me protection against flaws in the SSH server. I think it makes good sense to handle this at the cloud level, rather than configuring a firewall inside the instance.

Another example is that Linode and Digital Ocean will charge me the full hourly rate for an instance even when it's switched off. To avoid this, you have to manually create an image of your instance, then later restore it. Not so on EC2, where they've really thought through all the abstractions.
> You lose source control on your procedures

Why would you do that?
Oh man, trust me, by the time you start programming, you'll have already studied English.
There's no way around it since non-English documentation is miserable at best.
Further context for those of us not in North America: "Putnam" refers to a undergrad mathematics competition.

https://en.wikipedia.org/wiki/William_Lowell_Putnam_Mathemat...
Calling tramp a solution for windows is somewhat iffy though. So far I don't think there's an easy way to simply get it to work on windows (the path handling seems to forbid tramp-like paths on windows, which messes with things quite considerably).
I am hopeful that Starship will really achieve those figures, but I am also skeptical... I'll believe it when I see it being done.

That's still not cheap enough to do lander/surface manipulation science in the asteroid belt without significant philanthropic or government funding.

At $500/pound, if a Ceres unmanned probe lander with drill/melting apparatus weighs 15000 kg when placed in low earth orbit (before whatever staging/fuel it expends to get to ceres and land), that's still a $16.5 million launch cost before you add the cost of the R&D to build the spacecraft, operate its command and control network, etc.

I will be very pleased and enthusiastic but also shocked if something like that is accomplished for a project budget under $30-40m in the next 20 years.

Not saying it's impossible but we're well within the realm of "big budget" science. Like the operating budgets of one of the smaller (not McMurdo or Amundsen-Scott) permanent research bases in Antarctica, or something like the this:

https://en.wikipedia.org/wiki/Chiky%C5%AB

Big enough that even top tier universities form consortia to collaborate in science projects such as the ALMA array.
Factbox: Who is Jimmy Lai, the media tycoon arrested in Hong Kong?
If you want to have a multi platform (desktop) app, the only decent (imo) framework is QT.

So now your app is either GPL or you fork something like 5 grands ...
> The Conda package system packages both Python packages and C shared libraries and the Python interpreter into Conda packages.

This doesn't sound correct. Conda packages don't actually include the entire Python interpreter in them right?

A prerequisite to installing Conda packages is to have Anaconda/Miniconda installed which brings in the Python interpreter and a given set of packages depending on the version you install but that doesn't mean that each Conda package will be carrying the interpreter with it.
Along those lines, possibly the more constructive way to view it is:

Google has the scale of, and is acting like, a utility.
eg power, water, gas.

But without a legal obligation to fix problems for their
users, they don't even attempt to.

The "But it costs people $0!" is correct, if it's that's not thought through.

In it's position as a utility, some people have (perhaps unwisely) managed to lock themselves out of a (critical) personal account.

With the corresponding problems that then occur when any other utility stops working.

The suggestion to allow people to pay for support in some situations - eg like those locked out of a critical personal account - would be one approach to solve the problem.

Because at the moment, these people have no recourse. :(

Which when it happens with any other utility, becomes a legal problem. eg Customer contacts relevant Ombudsman / gov oversight body to get it rectified
An Arm Opportunity with Cloud Service Providers
It works out great for fairness usually, and works out great for lawyers' salaries almost always!
Personally I'm a big fan of https://github.com/wailsapp/wails/

It uses native webview so no electron. Let's you effortlessly bind JS functions to those in Go.

V2 is in the works and will effectively bring the best features of electron window management (menus, frameless windows, drag regions etc) over to native webview.

Currently uses IE11 on Win 10 but V2 will only support Edge so you get WebKit across the board.
As long as everything is idempotent. You don't want to have this happen:

Host A calls host B

Host B runs SQL+COMMIT

DB commit finishes

Host B deadline expires

DB success reaches host B

Also would need fanatical time synchronization. Maybe even PTP rather than NTP?
This makes me think about it mathematically. C(us) -> M{us}; C(ch) -> M{us,ch}; P(c) proportional M; S{C} -> P;

Where, the company with greater market access, has greater access to profit, and then greater chances of winning. We strip away all other pretenses, it might just boil down to, S(C(us)) < S(C(ch)), which is just a consequence of the rule set. No way forward, when S(C(us)) > S(C(ch)) is the goal, changing the rule set is the only available action.
> China isn't, nor has it really ever been imperialist.

Would Tibetans agree with you on that point?

> The United States [...] is responsible for the death of millions of innocent civilians.

Are you aware of China’s Great Leap Forward and the ensuing Great Famine?
Yeah, lets not pay the others for the fruits of their labour.
> "Do your homework" doesn't imply a loop either.

But "for these subjects, do your home work" does.

> Nor does "This could take a while"

I never claimed that "while" alone is any better.

> It should not be a shock that the english language doesn't naturally have a single word that can express both a condition/duration as well as a command without any other helper words.

I never asked for a magic word. To the contrary, I was lamenting the lost of the helper word "do", making the "for" alone nonsensical.

> Do is superfluous. Everything in an imperative program is a request to do something.

I disagree. I think "for...do" makes things much clearer than "for" alone.
Meanwhile in Japan, We never get sick pay (treated as leave pay) nor usually leave pay even when employed...
New version of a JavaScript framework.
No new features.
Mind blown.
Correct but I didn’t explain well. I mean the SQL generation is left to the ORM and I think that’s no accident.
Just getting around to really reading this. The bit rot is incredible.
Is Emacs multithreaded?
It's lgpl
I can read and relate to your frustration. But I'm convinced that a business is not solely made of fantastic software. Good people tend to earn good money. And if they want to spend it on their partner, that's not my business.

I've been in a situation where a couple of early clients were able to dictate quite a bit of the business due to early contracts. We do not want to end up in that spot.

So I'm looking for best practices to find a balance between "just trust me" and your scenario.
The executive branch's broad authority to regulate foreign commerce has been a constitutional privilege from the beginning - Jefferson strongly advocated for it, for example. Only legislation would disallow this order from going through.
> A bunch of kids on TikTok saying they reserved tickets is not the same as actual proof.

How is that relavent? Media claimed it was an embarrasment, trump wasn't able to spin it. Does it really matter what the kids did or did not do. Its an embarasment if there is public preception it is an embarassment. It isnt any less of an embarassment even if you are right that the story is based on something untrue (which seems doubtful to me).
What would it take to replace PDF with a zipped html?

As far as a I know the svg format has comparable capabilities for graphics, all that is missing is a "page model" for html which would have to be invented.
Haha. Probably I misunderstood

My point was that an individual should be able to conduct his business without someone handholding ( who is not stakeholder or partner or employee )
My first name is my Twitter handle. And I think I'm OK :-)
The condition of a C-like do/while loop is exactly where the programmer needs to see it: where it's evaluated. Same with the plain while loop.
Same with Paypal...if somebody used your credit card information to buy something via Paypal without creating a account - so credit card fraud - there is no way to contact their support without providing a valid Paypal account. If you don‘t have one, you first have to create one.
Russia is not relatively stronger than the U.S. by any metric. And we're not in conflict with Russia. China is the #2 economy in the world...it got there at a blistering pace and it has a population advantage over the U.S. by about 3x or 4x. China has been known to steal technology from U.S. firms and universities. It's been known to spy. They have vast amounts of electronics manufacturing capacity and can completely compromise our IT security as a nation if they are allowed to proceed. No need for social engineering hackers when you can compromise chips, software and boards directly at the factory.
I hope they win. Living in China, I told my friends here that at least they will have their day in court - a win would really help show an advantage of the US system in a high-profile way.

Trump is doing so much to hurt the US image among Chinese citizens right now. His administration emphasizes the importance of the distinction between the government and the people, but his actions are only driving the two closer together. Poor strategy in my opinion.

Also, I’m really worried about the supposed Tencent ban. There’s no way I can get rid of WeChat...
Meanwhile Japan is also the only country which has an actual word in the dictionary to describe "Death through overwork".

It's called Karoshi.

No modern society should have such a common problem that you have to invent a specific word for it.

https://en.wikipedia.org/wiki/Karoshi
How does the Chinese government sue the us government for not having American rights? This literally makes no sense. How can do many people here not understand that Chinese created companies literally are owned and operated by their gov? How do you think the great firewall/mass gov censureship/social scores work?
Of course it would, the way these terms are being made up and expanded is self-defeating. From hispanic to latino to latinx, from homosexual to gay and lesbian to lesbian and gay to (too many words, let's use an acronym) LGB to LGBT to LGBTQ to half the alphabet plus some interpunction - I've heard the term 'alphabet people' being bandied around. This is a natural outcome of intersectionality, everyone will want to see his group represented in the terminology. It resembles the scene in Monty Python's Life of Brian where the PFJ (People's Front of Judea) confess their hatred of the JPF, the other JPF, the JPPF and then some.