skysight-inc/HackerNews huggingface dataset:
FYI when you start a PHP project you need to change your dev machine php.ini to be super strict, so all warrnings should just error out.

The inconsistency seems to have it's logic and at that time was consistent and made sense, you need a good IDE to help with this. Using PHPStorm and then using PHPDoc to define your functions parameters and return type is a joy, the IDE will catch your type mistakes, show you where you missed to catch an exception and it will code complete stuff.
Very interesting report! Do you have information on how common materials such as plastics and clothing fabrics respond to a germicidal level of UVC?
> Also. There is nothing stopping someone for using this technique to publish an app in the AppStore officially.

That's not accurate, the entitlements parsing logic on the App Store submission system has always caught this, it's the client side parsing that doesn't.

You can't submit an app to the store that uses this exploit, because the store will reject it as having invalid entitlements.
I want criminals to be punished for their crimes. That's justice for me. Can't explain why I feel that way but I do.
Air is completely renewed in airliner cabins... but this brings up a more important question of whether any of this lockdown / social distancing even works.

I'm 99% sure it's completely ineffective. We breathe the same air, touch the same services, and overall interact way too much for any of this to really work against something that's supposed to be so contagious.
Ethereum produces its 10Mth block
Could be. Could also be "they" know exactly what happened, and are to blame for having others rediscovering the wheel (solution) again, because politics, saving face, whatever...
The WHO is no longer a trustworthy source. But this is still (mostly) correct, and it's not that hard to dive into the studies directly instead of appealing to authorities. All indications are that it is possible for SARS-Cov-2 to be airborne but it is rare.

The main study from Wuhan that people cite for airborne SARS-Cov-2 only found high levels of airborne SARS-Cov-2 in poorly ventilated areas of a hospital setting (where certain medical procedures like intubation are known to generate aerosols): https://www.nature.com/articles/s41586-020-2271-3. Well-ventilated areas had very low levels. A separate study in Singapore found no airborne samples in a hospital setting (https://jamanetwork.com/journals/jama/fullarticle/2762692). Documented spreading events are consistent with the disease not being aerosolized (one example: https://twitter.com/zeynep/status/1251556084424347649).
Well, some of this list was surprisingly prescient, like the stuff about online tracking and home assistants. The points about online misinformation and fact checking were pretty ominous too, though the internet of the early 00s had the exact same problems.

The medical predictions however were way off (it'll probably be a while until nanotechnology as mentioned in the article becomes that ubiquous or limbs can be regrown), and the self driving car ones sounded like something people would write today in their list of future predictions.

And for the moral quandries? Well, it seems the human response to those has been what it always has; ignore everything that's happening outside their tribe/local area/country. That's probably never going to change, since any creature that lives its life constantly thinking about everyone else's moral struggles is going to be living its life on the constant verge of a mental breakdown.
I think you're right, but there's always the element that the older crowd gravitate towards what we grew up with. And everyone eventually becomes the older crowd.

There would be some people on here for which even this stuff is too "young"; those who grew up with 50's, 60's and 70's music of course.
To put it in perspective, air plane air filters are almost as good as surgical rooms :)
I actually use NextDNS now, it's been on HN before and got good comments.

https://news.ycombinator.com/item?id=22854209
On top of the suggestions in the article, I would wholeheartedly recommend having a look at Steven Pinker's The Sense of Style [1] for a practical guide on writing well.

[1] https://www.goodreads.com/book/show/20821371-the-sense-of-st...
> For a Linux distro to achieve this macOS-like consistency, they must have some sort of unified SDK for GUI development or a standard desktop stack for developers to work against. The difficulty here is that the nature of the Linux ecosystem is that the users are free to swap-in/out alternative system components.

That's a very superficial and uninformed view. I can write a Qt app for macOS and it doesn't have the same consistency as an AppKit app. It's also just a framework. I would also argue that lumping Linux distros together makes no sense because it's Apples and Oranges. OP basically needs to compare Desktop Environments to have a sense of what it's like.

Personally I think Gnome and the underlying GTK framework is pretty close these days in look and feel compared to macOS. With the 3.36 release it has also gained a noticeable smoothness. They also have a HIG and generally strive for a consistent experience with a design group guiding the development.

Fedora provides a very nice out of the box experience for Gnome. So does Debian or Ubuntu.
Privacy issues discovered in the BLE implementation of the COVIDSafe Android app
(Trying to keep it anonymous) A large international IT company kept backups for the company off-site. Consultants from the company were called in, and the orders were eventually restored - I think it took days, but they got there. Orders were delayed and it cost the company a lot of money. No-one was fired.
My Research on School Software in Hyderabad
https://youtu.be/_x73nu38jRc
> In hindsight it's weird

Not, if you know that there was simply not even a concept of nuclear fusion in 19th century, and that the year of discovery of electron is 1897, and of the existence of atomic nucleus 1909.

Tangentially, but also interesting and illuminating how non-trivial all that was at that times, neutron was discovered as late as 1932 -- the same year that Hitler became chancellor of Germany. It is that recent, and it was that hard.
WeWork co-founder Neumann sues SoftBank over failed tender offer
Of course. Why change that for zero gain? Powershell does too.

Can you point to some research that scientifically proves that the use of dollar sign in variable names makes it harder to solve computer science problems?
Agreed. When it comes to corporations and privacy the rule of thumb is guilty until proven innocent.
Show HN: Launched my side project with Vue/Firebase. Give me your honest opinion
Hi, my name is Luke, I'm 25 and I work as a Front-end Developer in a software company for 3 years now.

About one year ago I decided to try to build my side project. Also I wanted to teach myself a new framework - Vue.js which at that time gained popularity so I thought it would be a great opportunity to learn something new.

I wanted to build, as I call it 'Global Creative Community' called Branding Pavilion which is an online directory of companies, events, job offers and interviews from the digital industry.

The idea behind this project is to help clients reach digital/marketing/software companies and create an online community.

Software stack of this project includes: Bootstrap 4 as a CSS framework, Vue.js for logic and functionality, Firebase for database and backend, Stripe as a payment method, Cloudflare for protection and security.

It took me about 8 months to teach myself everything and write all the code. For the most part it was fun because I've learned a ton of new things about Single Page Applications.

After I launched, I cold emailed potencial companies that might be interested in being listed and right now the directory has about 250 digital/creative companies.

Eventually I thought this project could bring me some money, so I decided to add Stripe integration and optional sponsorship offer.

What do you think about this project? I look forward to your feedback.

Last but not least if you own a digital/creative/marketing company feel free to include your company profile in the directory, just sign up and fill in a form.

URL: https://www.brandingpavilion.com
Also for admins.
I had to send back an iMac Pro because we installed it from a backup. This skipped the T2 setup during install, and left it in a completely broken/uninitialized state that only apple could fix (presumably by throwing the entire mac away).

Our company has a strict "NO T2" policy, and after we can't get T2 less macs anymore, we're gonna switch to windows after 30 years of being a mac shop.
The first section in that link literally says

>In our dashboard you will find pre-configured Open Source apps like WordPress, Plone and other. They are all based on the official docker images and can be deployed with just one click.

Otherwise I don't see how something like this is that much more difficult https://www.openshift.com/blog/deploying-applications-from-i...

Or this https://kb.sloppy.io/en/articles/1313693-setting-up-mongodb-...
This is actually quite common situation and it seems that the major cause is that tech is now saturated with "normies" (liberal arts college dropouts, SJW schizoids, etc) instead of math or biology majors like it used to be at the times of Bell labs or Xerox PARC or early Google.

Abstract bullshit, misapplication of statistical methods is another cause. We are drowning in the sea of screaming narcissistic virtue-signaling bullshit.

So, go back to concrete mathematics, grounded in reality modeling, lightweight high level prototyping languages and functional programming. This, like universal principles, will never fail you.
No one is dying here. It is a general observation about what is going on with HN users. And if you can't see the overtly anti-corporation nature of the users here, I can't say much.
CodeJar is 2kb alternative to CodeMirror
> As usual, if you want to be healthy, you pay extra.

It's been like that for centuries. Healthier food costs more than unhealthy food. That's why poor people have a lower life expectancy than their rich counterparts.

You seriously think all people are equal and/or should be treated equally and/or should have equal outcomes? Ha.
Khan Academy is not bad if you like their style of presentation, but as another comment noted, the number of exercises is too few. Unfortunately, I have yet to find a good recourse with focus on exercises, so I tend to create them myself for courses I teach. If you (or any other for that matter) are interested, I can upload a work sheet somewhere.

There properly are tons of sites providing work sheets, but the focus then tends to be on K-12 education and they are often to simple IMO.

For university the importing thing is often manipulating say fractions rather then "calculating" with fractions.

Tangentially, would there be any interest in a service providing this? Pay say 2$ or something and get 50 exercises in the basics with an eye towards university with sample solution? That space is properly swamped but maybe there is a niche? I often think that there is room for textbooks of this short but then again, that market is also swamped with big publishers.
Ad tracking is a lot more pervasive of a problem than can be solved by a browser extension.
Dropping PHP files to a FTP site is as easy as it gets.
Alas, I feel the same way. After much thought this weekend, I concluded that it was time to move on from PHP. I decided against the any other scripted language (Ruby, Python), as it felt like more of the same.

Requirements were strict typing, functional programming support, built-in concurrency, decent library support, and real support for both native and Javascript. It pretty much came down to Kotlin or Rust.

I really want to like Rust more, but the library support, and the jobs in my area just aren't there (yet?).

Picking up Kotlin feels like coming home.
> There are threads on the LLVM mailing list that discuss this in some detail.

Do you have a link ?
Php supports (somewhat) strictly defined types.

You can defined what types/interfaces methods needs to return, what types/interfaces variables must have, what types/interfaces the method arguments needs to have.

It also supports class inheritance, abstract classes, interface classes, class traits, etc.
Equating anti vaxxers with corporate skeptics is a surefire way to build trust /s
Germanic languages, of which English was one, have this too and "sun" is Germanic in etymology. Most PIE-derived languages had this at one point but some, including English, lost it.
Why would I use Rust for Web dev or anything else that is not some low level system programming? I mean if you want to write some toy project and want to learn sure, but for a serious project I would chose something that uses a higher level programming language, that has a big and stable standard library and that also has a big community made , well tested libraries to work with.
Rust and Go for writing a cusomizable CMS like Wordpress, really? Also PHP playing catch up and not breaking up my stuff with every point release is just fine. It means stability, maturity. Even Node.js has LTS releases.

Dart is more suited for this type of thing if one wants a new and shiny statically typed language with great performance.
> I'm 99% sure it's completely ineffective

How do you explain the reduction in cases and deaths in Italy, Spain, France, NY?
Low cost airlines like frontier usually need at-least 85% occupancy to remain profitable. I don't see any good alternative. But with the WHO recommendation of maintaining 2 meters social distancing, it's unclear if this is even helpful.
Their existing parser used during App Store submission already catches this. It’s the plurality of parsers on the device itself that allows this to happen when sideloading.
Show HN: Resurrecting an OLD YouTube channel – an honest guide
I wanted to share my attempt to resurrect my old YouTube channel + some of the tips and best practices I used to make this a content factory once again.

Disclaimer: this number is for visual purposes, as we humans are naturally seeking even numbers.

Resurrecting an OLD YouTube channel: 50 TIPS on getting back on track, NEW content & the MACRO
The past was fairly horrible, of course, but we've definitely lost elements of it which were good. For example, commerce where both parties know and care about each other on some level like you might find in a farmers market or similar. Remnants still exist, but the mass market replacement, supermarkets, are missing a lot that was once better in the past. We've certainly vastly exceeded any previous material lifestyle, I don't feel like we've exceeded a lot of the cultural aspects of the past. Not, of course, that I want a return to conservative rural culture or something, but there's definitely something uniquely atomised about modern life in the West.
The JVM does what Docker does for far less overhead and is easier to understand and upgrade.
Yes I read it, why accuse me of not doing so? The main block of sample code is highlighting OOP features in PHP, but PHP has had most of those features since 5.3, e.g. namespaces, so my point still stands. Those features are not part of "PHP showing its maturity in release 7.4", but have been around since at least 2009, so why lead with that example?
Since people seem to be downvoting without commenting: https://www.gizmodo.com.au/2020/05/covidsafe-issues-ios-ipho...
Would it be feasible to write a PHP equivalent to emscripten, so that one could export software compiled from any frontend language (including, e.g. the WASM representation) as a php object that can be run directly by mod_php?
> However, I know even that property is not true of all GPUs and thus cannot be assumed by Vulkan spec compliant code. (I actually doubt it's true of any GPU's pre-Volta - it's just that the progress needed is often a natural side-effect of switching between threads for latency hiding).

To be more precise. Pre-Volta GPU (like Pascal, Kepler, etc.) guarantee that once a thread block starts running on an SM it will run there to completion, i.e., its resources won't be freed until the kernel completes.

Warps of threads within a thread block are not guaranteed to run in any order, and there are no guarantees that, e.g., if warp A spins on a lock hold by warp B, that warp B will ever run and make process, and therefore the thread block might never run to completion.

Volta and later architectures guarantees forward progress in this case. That is, if a warp A spin locks on a lock held by warp B, Volta and later guarantee that warp B will make progress at some point, allowing it to release the lock so that warp A can make progress as well.
Tree structured-editor with built-in language construct, sound like the incarnation of Cedar/Tioga desktop and programming environment by Xerox back in 1980s. This environment replaced three distinct programming environments that were very popular at the time at Xerox namely Smalltalk, Lisp and Mesa and according to Xerox's staffs it is a highly productive programming environment.

Perhaps someone should re-introduce the modern version of Cedar/Tioga similar to Apple and Microsoft re-introduction of the pervasive mouse/windowing user interface originally made by Xerox in 1970s.
Another big bonus for PHP to me is: there are plenty of people who are comfortable with it. Most things aren't genius-scientist-required kind of things where you lock some genius in a room for eighteen months and they revolutionize the industry. Most things are pretty average and you just need somebody with a good understanding of the problem and experience to do them. You'll want plenty of those people to get things done, and using a very common tool helps with having a large pool of people you can call upon.
This is a side effect of open source. GeSHi, and many others, suddenly stop getting maintained, and more often than not, project ownership doesn't get passed down.

This problem isn't unique to PHP. I have seen this is many projects across all kinds of different languages and tooling.

Unfortunately, if there's no good alternative written in PHP, MediaWiki could have either reimplement it from scratch. In my opinion, GeSHi isn't the best implementation of a syntax highlighter, so I get their reason to not adopt it. Writing a syntax highlighter from scratch isn't a trivial task either.

None of this says that the PHP ecosystem is dying though. MediaWiki isn't going to suddenly move away from PHP. Nor will many, many of the other big name projects that are still built on top PHP, and as long as there are big name projects, PHP ecosystem will continue to evolve.

I will say choosing a Python sub-process at the sacrifice of portability (considering how many people simply run this on a PHP webhoster) is quite surprising.
This is precious lol! The 6000 year old earth theory would be a lot less arbitrary in this light, for that time period. I can see how that theory would become relegated to vestigial religious groups.
Well, sorry to burst your bubble, but the "solidarity" amongst engineers in this thread is somewhat close to "fuck the money, be more of a moral ethical human" which is so, so far from what you've described. I don't think you should automatically lump yourself in with them.

Yes, I, and many others, have something close to the same feelings you do towards these types. However, we don't pride ourselves on being manipulative wolves and going "hehe I actually hate you" under our breath.

Have you, perhaps, considered, that he maybe feels the same way about you, but is even more of a manipulative asshole and has strung you along more than you can possibly imagine by being a complete psychopath?

Anyways, there's probably not much of a point in trying to reason with somebody like you. If you can't tell, if there were only "you's" and "hims" in the world... it would only end in two petty parties, and then war, with no good for the hypothetical humanity at all. Enjoy your money and your arguably strange views on making the future a brighter place.
Japan's population is lower than the USA. You're comparing absolute numbers when what you want is per million.

The US doesn't have high quality national excess death data, apparently. That's surprising. Part of the distorted response to this outbreak is because most countries only seem to publish relatively recent excess death data - often only a few years. But when longer term data is examined it shows that there have been plenty of flu seasons with similar death rates. That's why people keep comparing it to the flu.

At a national level the peak in the USA was at 20,000 excess deaths. In 2017 the peak was at about 7,000

(https://talkingpointsmemo.com/news/cdc-releases-detailed-nat...)

So it must be much worse, right?

Well, not really. If you look at the longer term data for a hard-hit country like the UK, where there are a lot of lockdown-created excess deaths due to excessively underloading the hospitals:

http://inproportion2.talkigy.com/

You can see that this outbreak had at the end of April an almost identical number of excess deaths so far this year to 2017, 1999 (which was worse), 1998, 1996 and 1995.

It seems flu care might have got better over time, or perhaps vaccinations had the impact. But so far the impact on COVID on the UK is not much different to disease outbreaks throughout the 1990s.

The UK stats will go up and it'll be worse than any other outbreak for sure, because at this point the population is in a state of fear and avoiding hospitals - even if they don't want to, critical treatments for other diseases have been cancelled to free up space for a surge that never came.

https://www.telegraph.co.uk/news/2020/04/27/care-homes-see-r...

"UK's biggest provider says deaths among residents at three times last year's rate, but only half of additional deaths linked to virus"

And this is with almost any death being ascribed to COVID, without requiring tests or evidence. The lockdown will claim more lives than COVID will.
Not the parent, but it would be nice to have separate thread for things like logging and firing events into a queue.
Yeah - keep on reading Vox and feel enlightened.

You literally are the reason why poor publications like Vox get a free pass. Here, if you don't believe me, read this thread and check yourself (https://twitter.com/balajis/status/1228447944287932416?s=20). And don't tell me now that Balaji is not trustworthy. He is 100x more trustworthy than a random HN user like you.
That is based on China's own numbers. I have been following this since early januari and there are leaked videos of corpses in hospital hallways and body bags stacked like garbage in vans, while officially there were only "hundreds of deaths". No one believed the official numbers at that time.

Some examples
https://www.youtube.com/watch?v=1nC_VN2SgzU
https://www.youtube.com/watch?v=amr-rLpD3lw
It does make sense. There is obviously a question of where the boundary lies and that's what we're exploring.

I think you do have a point. But consider what you're trying to apply it to here. The president is not saying "I think we should nuke Korea" or "the press should be abolished." He says "CNN? That's fake news." It's a criticism leveled at an organization that has had a rampant hyperbolic partisan slant and has printed fake news, making the criticism accurate.

Calling the media out for this behavior could be seen as holding it accountable. These types of criticisms mean nothing in terms of any meaningful action that could restrict the press.

I think more people need to question from where they have gotten the perspective that these attacks are particularly threatening towards a free press in the US. Was it from the press?? Go figure.