skysight-inc/HackerNews huggingface dataset:
Some more ideas for your next talk:

HTTP2 is a doddle to implement. Do it.

PWA makes it possible to work fully offline.

With CSS best to chuck it all out including those reset files someone wrote a decade ago. Instead re-write the whole lot using CSS Grid and using custom variables.

Inline the SVG into the CSS as custom variables.

Get rid of the bulk of the JS by only targeting evergreen browsers. No polyfills, no jQueries, just minimal javascript that does a lot of things in the PWA and manipulates CSS custom variables rather than the DOM.

Use HTML5 properly, with no lip service. Get rid of JS for forms and rely on HTML5 to do it.

Pagespeed to sort out the images and make them into source sets.

The goal of a lot of the above is to strip out convoluted build tools and have actual neat HTML that can be maintained. No more 'add only' CSS to hand on to the next guy, instead have something with comments in the code and sensible names that target HTML5 things like 'main' and 'aside' or 'nav' rather than made up class names.

A final thought is that the starting point can be to build a green website, i.e. one that cause too much cruft to be downloaded. This is the same thing as 'minimizing/cutting out bloat' but I find that setting out to build a website that sets the example of being green is a better mindset than 'must do those hacky things to make website faster'.
I was looking at developing a HIPAA compliant app a few years ago I was going to use https://www.truevault.com/.

Ultimately I decided against doing anything that requires HIPAA compliance.
Brilliant! I followed you on itch.io. Great idea. What did you use to develop it?
How many functions do you have in your Erlang VM?
This. It works and it is the only way I can run apps in my oldish tablet. If it's connected while running many apps it slows down to a crowl.
The limericks are absolute gold.

> Brown with his papers in his trunk.

> Kilburn laid down on the top bunk.

> The court reconvened.

> The State intervened.

> She thought perhaps Kristin was drunk.
Once you sit them in front of YouTube it's already over.
You know, serious biologists must know some basic chemistry, and serious chemists must know some basic physics.
Which is the best institute to learn advanced VBA in Delhi for office purposes?
If you intend to write extension for Python, Ruby, PHP, Lua, Node or most of any high level language, you need to write it in C.

Want to build a library that can be used in any of the high level languages? Write it in C and provide binding.

A library code written in PHP can't be used by Haskell. Not without a big overhead. Or vice versa. Write it in C and your are done.

These are where C still comes handy.
> C is probably a poor first or second language.

What does he mean by "probably"? How could anyone in PL and teaching community ignore decades of research and development of teaching materials in Scheme and Standard ML?

Scheme (Racket) should be the first language. Standard ML or Haskell - the second. One will tap into two distinct whole sub-cultures (US and British respectively).

Also this way of teaching C as a specialized implementation language which must be used together with special tools is the right way. It is useless to teach C without or prior to machine architectures and assembler language basics.

C is by no means a general purpose language, even when the industry is using it this way and should be taught only as part of specialization in systems programming.
It is probable me but I don't understand what are the advantages here or what that picture supposed to convey.
Data is transmitted and aggregated, albeit in a fancier way. What does it have over Telemetry?
DevOps: Kubernetes Federation on Google Cloud Platform
Unless it is a P2P distributed network of posts this will have same faith as any other social network.
Did a Small Metal Tube Bring Down an Indonesian Airliner?
puts on grumpy C programmer hat

C is C and C++ is C++. The analogy breaks down in a pretty major way because Latin has no native speakers, but important work is done in C. They didn't stop speaking Latin because it had problems as a language, they stopped because the cultural apparatus behind Latin collapsed after an exceptionally long period of dominance that Italian speakers never achieved.

I'd like to believe C has a stronger future in the academic world because it is simpler than C++, but also because C is a designed language and C++ is a cobbled-together language, and maybe that counts for something in a field where people call themselves engineers.

Anyone who sees C as a 'downgrade' has badly misunderstood what design means as an engineering concept. It doesn't mean 'does everything', it means that strategic choices were made early in the process after careful consideration.

* Serious hat *

C has a pretty well defended place in the world - it is an excellent choice for manipulating RAM and controlling the size of variables. C++ isn't as good, because its features add a lot of complexity that isn't really desirable when you have a problem that C can handle.

I wouldn't use it for string parsing. Or GUIs except as an afterthought on a project that used C for a good reason.
For kids straight out of high school? Some certainly will. But many are just good students who are going for a general college degree with a major in computer science.
Ask HN: Should you commit package-lock.json?
Hello HN,

We are trying to decide if we should commit package-lock to version control for our JavaScript project.

It is generally considered a good practice to commit package-lock to version control to avoid breaking anything due to the dependency updates and thus we have been committing it till now.

However, we are facing some problems. Everytime we run `npm install`, package-lock is overwritten whenever a new version is detected from `^` in package.json. This causes a lot of merge conflicts which are impractical to merge in the long run.

We were thinking of freezing the dependency versions in `package.json` itself and update them only when we really need to update them. In this way, we do not need to maintain package-lock. But this does not let us auto update the deps with incremental bug fixes that are released in the minor versions.

What do you people think?
Mastodon is perfectly usable for microblogging, and, moreover, it's currently the best usecase for the tool. You can't find partners for conversation as easily as with established platforms with network effects, but you can use it to publish.

With Mastodon, you can quickly create account you can send notes, links or images into. This account lives on the open web without registration required. You get Atom feed you can use to re-display the content in any way you want at other sites, or to share the content with people who don't use ActivityPub yet. You get "comments" for free for users willing to get ActivityPub account.
Huh, sorry, as a Briton it's quite literally a foreign concept to me; I thought I was joking.

In the UK there's inheritance tax to pay over a threshold if you die within 7 years of making the gift, but otherwise there's not a 'gift tax'.

The situation you describe still isn't the same as declaring it as income though - assuming you are working, if it were taxed at your marginal rate of income tax you'd already be over any threshold no matter how small the gift.
The Web Accessibility Introduction I Wish I Had – DEV Community ‍‍
Lawrence Livermore National Lab's powerful new supercomputer
Ditto reply to sibling https://news.ycombinator.com/item?id=18335478
App Engine flexible Python 3.6 to App Engine standard 3.7
New tool streamlines the creation of moving pictures
Dixons Group are notorious for this in the UK.
it not good news

https://www.724press.com
Efforts to Acknowledge the Risks of New A.I. Technology
I don't know if the population of these species is increasing globally but it seems the ones you listed are very unique in the way they relate to humans – see https://en.wikipedia.org/wiki/Symbiosis.

I wouldn't be surprised to learn that human overpopulation and profligate consumption make a few species' population to thrive (e.g if they feed on human waste, share habitats, etc) while still causing a mass-extinction event and an ecological collapse (see https://en.wikipedia.org/wiki/Holocene_extinction).

Multiple independent species have shown that in Europe, the insect biomass has dropped by more than 75% in the last 3 decades. In France, bird populations have fallen by 33+% over the last 15 years, but migratory birds are disappearing even faster (e.g the meadow pipit population has declined by nearly 70%).

edit: s/strive/thrive
Beware that some terminals implements bracketed paste mode in a way that doesn't protect you from malicious pastes.

For example, urxvt is broken in this regard, and the maintainer doesn't seem to be interested in fixing it:

https://bugs.debian.org/787628
And by what conditions would the problem be judged as fixed?

I’ll believe it’s a real crisis when the people insisting it is actually live like it is. But while they get their Starbucks and fly on their planes and watch their Netflix and shop their Whole Foods and stack their Amazon boxes all while claiming we need to collectively engage in some sort of “lifestyle sacrifice”, I remain skeptical.

If such a sacrifice is indeed necessary, you should get started immediately and not wait for the government to force that sacrifice on you.
Indeed. You have to sit down and sign an enormous stack of paperwork to get a mortgage in the U.S., and a large fraction of it is government mandated forms that explain the risks, which you sign acknowledging you read and understood them.

If you're getting a mortgage it's time to start acting like an adult already.
NSF announces $78.2 M to support frontiers of cybersecurity, privacy research
Origami cushions protect drones from collisions
Preschools teach kids technology, digital skills in Japan
Walmart's Sam's Club Goes High-Tech with Dallas 'Technology Lab' Store
RMIT touts faster internet thanks to 'twisted light'
Go to a physical "brick-and-mortar" store where you can test out different products in person and buy one there and then, knowing exactly what you're getting?

Sometimes the ultimate price for cheapness and convenience is just too high to be worth paying.
An overwhelming majority of metal is super positive. Even songs like Iron Maiden's 'Fear of the Dark' doesn't sound negative although it's literally about fear. Even in extreme metal, say Necrophagist's songs like 'Multilate the Stillborn', it's all goofy and energetic and tongue-in-cheek. I've heard a lot of metal but can't think of any that is negative in a serious way. Perhaps melancholy if you consider sadder stuff by Opeth or something.
Why are there no comments about the expansion?

I'm really disappointed in you people.
not sure that's this. if you just grabbed the first one, you wouldn't necessarily know that it explicitly doesn't work with the "+". Explicitly calling out the "+" issues indicates the person likely knows what they're doing.
"Disneyland with the death penalty" is how William Burroughs phrased it
They do this a lot, they ask manufacturers to create custom versions. With computers or laptops it could be a unique configuration, a combination of harddisk size and memory not sold elsewhere.

This way the store can give you a "lowest price guarantee". Find it lower priced elsewhere, and we will pay you the difference!

Easy to give such a guarantee if you're 100% sure no other store sells the exact model.
Anything based on Steam survey is suspect at best, since it does not reflect the whole ecosystem.

That said, I think there are problems with VR mainstream adoption. Number one being the convenience problem. I takes effort to setup and start a VR gaming session, as opposed to flat-screen couch gaming. It has to be insanely good and addicting for it to be worth it, and its a few hardware and software generations from being there. Flatscreen games also get better and have ever higher production values (Try RDR2 and you see what I mean). This is the competitive environment for VR.

VR might remain niche, and the problem with that its not commercially viable on its own like that. Hence the situation we have now with Facebook basically being the Patron of VR.
Eight Python experiments on the ESP32
Introducing the Matrix.org Foundation
>And although the system still needed to be cooled to 1.7 degrees above absolute zero,

awww :(
What you need to keep in mind is that you can't control every aspect of your child's life as they grow older. For example friends and access to multimedia outside of your home.

What you should provide is an open ear. Listen to the experiences of your child, explain things regarding why things are the way they are and provide guidelines, how to act responsibly.

The most important thing in my opinion is, that you as a parent should stay involved and always be open for dialog. And have faith in your child to make sensible decisions.
Geometry versus Gerrymandering
You don't need to trust all third-parties. Crypto magic guarantees that what you need is at least ONE server being honest.

If you trust Mozilla, then you have nothing to worry about, except the proof or program may be wrong ;)

Third-parties are for someone who doesn't trust Mozilla. Or that Mozilla could be compromised by an unknown adversary.
Uh, you're right. My eyes missed the fact that this calls out the "+" character explicitly.
The largest arms dealers sit on the UN security council. One of them is currently wanting to abolish the INF treaty and they aren't in Asia.

I would say that spiritual mumbo jumbo ain't going to cut it, a business case needs to be made that green energy is going to offer better profit and more security than more nukes.
Hot Takes, Myths, and Fake News – Why Everyone Is Wrong About DevOps
It's still worth a read, and as well a summary article/comment written by the author (https://www.researchgate.net/publication/324102543_On_the_en... , pdf available).

The study is not without its limitations (self-reporting is the major one), however it's an interesting topic: the author's main hypotheses are:

a) there's something with the way death metal/violent music fans' brain is wired that makes it react positively, whereas with non-fans it makes them react negatively.

b) people who enjoy Death Metal do it by distancing themselves from the actual lyrical content ("it's just a song") and use it as a pressure relief valve of sorts

c) people who enjoy Death Metal enjoy the feeling of being in an elite club that's set apart from the faceless conformist masses.

It's bloody hard to set up experimental protocols to find reliable data to support or go against the hypothesis, but I'm going to keep an eye on this Thomson guy, and of course I'll keep on enjoying my violent music :)
I'm not disagreeing with your assessment that lua has serious warts (that have basically no upside, unlike say no "true" integer type, which has pros and cons). I'm just saying your portrayal is a bit lopsided, there are various aspects in which lua is a more elegant design than other dynamically typed languages like python, ruby, perl, scheme etc. I.e. small footprint and good embedding story are not the only merits of the language.
But this new ecosystem would not survive on its own – e.g try feeding billions of humans without animal pollination…
At this time these all factors are very important. Thanks for sharing.
Kids use a Chromebook with an ad-blocker and we pay for YT premium which supposedly removes ads - although I still see plenty on YT TV. Our iPad has become a YouTube/Netflix appliance - app discovery is dead (or rather never existed for my kids)
There is no scientific basis for the claim that the earth could sustain 100+ billion people. These types of unsubstantiated claims are not just false but dangerous, as they suggest there is no need for significant action and change.
Would appreciate a reference on this, if you have one. I don't know about the general case, but none of my mobile contacts are shared with Wire's server and most of my Wire contacts have pseudonym handles/names.

If IETF efforts to standardize E2E messaging protocols can lead to interoperability between clients, we can reduce the influence of social network inertia on messenger client selection.
The problem here is that

* There's no paid quality content that you can use instead.

* Even if there is, you can't find it. Googe Play will shove pages after pages of "popular" useless toxic crap.
Those animals weren't suited to reproduce in the modern era and were thus eliminated. End of story
Its certainly not how the OS and its runtime works. It may make sense when you have to support range of different hardware architectures, but its not really something you want to have by design. Limited range of supported hardware and native code will always be better.
Unless I'm missing something, any language offering a C FFI can be used to provide interoperability.
Chrome Extension: Twitter One Click Block
Okay, that sounds like we need a micropub enabled blog software now :-)

In general, I am a huge fan of this business model (federated + strong commercial players). It just seems that the federated part looks a bit weak at the moment. I think changing that should be a priority for micro.blog as I believe much of the negativity here at HN comes from the not so clear difference from the traditional services.

So far I have found this [1] which doesn't look very mature ('Early alpha'), but hey, it's a start.

Thanks for clarifying the situation.

https://github.com/andjosh/webpage-micropub-to-github
Dark. I can see the immediate consequences would be atrocious. How would nuclear fallout affect wider gene pools and extinction rates? I’ve always envisioned the “apocalyptic” scenario to be a nuclear winter. Is that accurate?
>is that long-term, persistent exposure to violent media may lead to subtle changes in one’s personality, desensitizing fans to violence and reinforcing negative social attitudes.

I'm not sure I agree. I can listen to all the "violent music" I want, but can't stomach through a contemporary or even classic horror film. I was really weirded out and had to stop halfway through while watching a documentary on the Austrian guy who kept his daughter in his basement for many years.

Also, not to be a cliched metalhead, but I'm disappointed by the lack of good death metal in this article.
Software Engineer Capability Maturity Model
You might want to mention that you are an anvil cofounder. Doesn't invalidate your point, but it looks a little disingenuous.
Stephen King's Advice to Software Developers
> Compress your JPG images with the compression level of 70‑80.

In practice some images can get noticeable artifacts even at around 90. Most of JPEG compressors always apply chroma subsampling which is often destructive on its own [1]. On the contrary, many hidpi images can be compressed at around 50.

> Use Progressive JPEG… Thanks to this, a visitor can roughly see what’s in the image way earlier.

That's not the point of using progressive JPEGs nowadays. The 10-200% decompression slowdown is for the 5-15% size reduction.

> Use Interlaced PNG.

Don't. Interlaced PNGs can easily be 1/3 bigger. There are better ways to show loading images, and it's already used on the website.

> webpack has image-webpack-loader which runs on every build and does pretty much every optimization from above. Its default settings are OK

> For you need to optimize an image once and forever, there’re apps like ImageOptim and sites like TinyPNG.

These tools are no good for automatic lossy image compression [1]. The default is mostly JPEG 4:2:0 at quality 75, PNG quantized with pngquant at settings as low as conscience allows, missing out many PNG reductions and optimal deflate, no separation between lossy and lossless WebP if at all, etc.

As a result, the images on the website have about 13-24% more to optimize losslessly.

[1] https://getoptimage.com/benchmark
Agreed... I've been listening to metal since I could choose the music I listen to, and it has made me feel many things, but never negative emotions. Excitement, wonder, elation, adrenaline rush, relaxation, etc... In fact, especially as a younger person, listening to metal got me through some hard times emotionally, and the friends I made through shared interest helped me as well.

I'm not sure where this professor got this idea, but I'd say metal is identical to any genre in the feelings it can give you, except that it is considered "extreme" or "violent" or "negative" by some outside observers. Just watch any interview with someone like George "Corpsegrinder" Fisher and you'll see that even the most grotesque death metal practitioners are disconnected from the subject matter outside of the music.
Massive octopus nursery found in deep sea
Moving beyond payments and credit in FinTech
Fast and Lightweight Grid Component Modernization for Salesforce
I think the idea is that the massive depopulation caused by what you describe would function as a ‘fix’.
Thank you for this link. It should be on the first page of HN everyday.
so, c++ becomes greater?
I am wondering - how much of it is because most fans can't really understand the words or even look up the lyrics? I'm trying to recall the words to my favorite death-metal songs but can't remember any. All the growling just sounds cool. :)
What does any of that crap have to do with the UK taxing these companies on sales?
Show HN: A New Interpretation of Dreams (2018) [YouTube Video]
You and me both. Let’s start www.staywithshlub.com but in Kansas.
With ‘enough’ technological progress, anything is possible since that’s the definition of enough.
Bought the kids Amazon Kindle Fire's a while back. Would occasionally use one of them and every time I would launch Silk (the browser) an adult ad/website would load complete with graphic nudity. A new ad would load each day when launching Silk.

Thankfully she never saw them (she doesn't' use or even know what "Silk" is) but I was forced to randomly uninstall games until I found the culprit. I would shame them here but I forgot which game it was.

We also have a Chromebook, with a game rated "10 and up" - this game also loads adult ads - no nudity but plenty suggestive. I complained via Twitter - crickets.

Kids are not so used to ads, they instinctively hunt for the "X" button whenever anything (ad or not) overlays on top of their content.
Embedded jobs usually get listed as C/C++, and most of the C developers I know stay away from them.
A Big Brother with Very Big Ears
The tiny Holy Stone drones come with one tiny 6 min battery.

A package insert offers three more batteries free, and by the way, don’t forget you can give happy reviews.

The implications probably play out well for them.

// The HS170G for $30 is a hoot to zip around indoors to practice your “Mode 2” controller chops, certainly worth 5 stars for entertainment per dollar:

https://www.amazon.com/gp/product/B0762GZR25/
I see the same. Maybe because it's stating the obvious? That said, when you read the comments it's as if so often the obvious has been ignored. Such is the effects of confirmation bias?
I know it's not very nice but would taking the money and not taking down the review dissuade businesses from doing this?

Or, if that is illegal (which I can imagine), just putting up a new bad review.
Xconomy: Tech Industry Lobby Proposes Data Privacy Laws; Critics Call Them Weak
Amiga Reborn Vampire V4 Standalone
Seems drastic maybe try going off the grid and into the countryside for a bit. Honestly the world isn't anywhere near as bad as a lot of the media and the social media hivemind will lead you to believe.
It’s neither hysteria nor something you can “move on” from. Please either provide facts or other evidence for your opinion or don’t comment. There is no basis for the suggestion that we can sustain a growing population on this planet, even with technology and science continuing to progress.