skysight-inc/HackerNews huggingface dataset:
Probably but 'both are in Russia' is fairly poor relatedness. Norilsk is a mining center and one of the most polluted places on the planet. It's literally made of spills - rare earth metals are extracted straight out of the decades-long polluted soil.

Kamchatka is more like a less-developed, even more BFE, Russian Alaska.
While structopt may be too much for many applications, I would argue it's not necessarily as overkill as it looks. For many CLI applications, arguments parsing and (relevant) help are their primary UI. It absolutely makes sense for larger applications to put a lot of effort into making the experience as painless as possible.

Of course if an application just has a few simple args then it may not be worth it. But for something like, for example, ripgrep[0] you'll want something that produces nice help and context sensitive error messages to help the user find the commands they want.

In short, a good UI can be a complex beast even if it's only a text interface.

[0]: https://github.com/BurntSushi/ripgrep
Running at 100 mph...
Lessons for beginners and junior developers after 11 years of coding
NPM ci offers improvements to both the performance and reliability
> it simply doesn't exist at the moment

Sure it does:

https://www.bbc.com/future/article/20190327-the-tiny-islands...

https://edition.cnn.com/2020/03/13/business/orkney-hydrogen-...
> withdrawing from them isn't bad either

Perhaps for you, but for others its a nightmare.
Interesting insights into the thought process of the author, there's very little as to positive statements of why you'd want to use this format, but they do however spend a great deal of time discussing neutral features and edge cases of currently wildly adopted alternatives.

One might call this 'argument by gotcha' interesting to imagine the kind of lifeworld that makes one think this is a worthwhile form of persuasion.
I tried contact lenses for colour blindness as a kid (No idea if they were made by EnChroma).

They made everything seem so much brighter and more colourful, like someone dialed the saturation notch right up.

I didn't like it. Everything was so colourful it felt like it was giving me a headache. I guess I could probably have gotten used to it if I'd kept with it, but I just didn't believe it would make me able to recognise colours correctly - I mean, surely my brain was already pretty much hard-wired to comprehend course a certain way? And I remember they were expensive, and our family wasn't exactly well off, so I declined.

Anyway, as a middle-aged man now, I don't feel like it's been significantly detrimental to my life. For the occasions I need it, I use apps to check the RGB values of things, and I can roughly figure out colours, but in general, yes, it's an impairment, but just doesn't feel like it's a big deal.
It works fine in Python. It's nice because the visual indentation lines up with how the interpreter actually reads the code. You don't end up in a situation like this contrived example:

if (something == somethingElse)
doSomething();
--counter; // added afterwards

when whitespace has actual meaning.

Your editor adds the whitespace to match the current scope, so you don't have to type it manually.

What's your issue with significant whitespace?
That may be a good candidate of something to port back when Perl 7 gets to the stage of adding new features.
Search engines such as Google use metadata from meta tags to understand webpage
Python is still vital and thriving but I wouldn't be surprised if its market share is declining (slowly). As you say, it's dominant for data science... but recently it and R were the only practical choices... now other languages (Julia, for example) are valid options. The development of alternative Jupyter (formerly IPython) kernels has accelerated adoption of other languages. Similarly, a few years back it seemed like Flask and Django were vastly dominant frameworks for building APIs, now similar frameworks exist in tons of languages. None of this is to imply that Python is anywhere close to dead, but my personal opinion is that "peak Python" is behind us.
I don’t have strong opinions about it
Sure, i wouldn’t disagree I do think that’s happening now.

governments do that and much worse.

Right now there are people in concentration camps.

I get that corporations can be bad, but they don’t have the monopoly on violence.

To conflate corporation’s violence with governments is a stretch.

It’s funny that people point at corporations being bad, while at the same time defending the worse offender.

I think people can be bad, and having a power form corporations make it worse, but the power government gives to terrible people is much worse.

* edited would with wouldn’t
The Mac isn't a "walled garden". MacOS is a Unix. Losing Apple as a CPU customer adds another dent into Intels revenue. On its own, it wouldn't be decisive, but in a time of sinking market share, you don't want this to happen.

Also, it will be interesting how Apples market share develops, as th AS could make the Macs much more attractive. Both from the performance and price and of course, because of the iOS compatibility.
Then I would use the computer in the local library. Failing that I'm quite comfortable just working on things with a pencil and paper, I could quite easily lose myself in mathematics for a life time.
Examination Scheduling in view of Covid – 19 Chllenges
we had made a project which is a built-in procedural programming language that aims for
the real-world solution of examination schedule keeping in mind the rule of social
distancing. The prototype is subjected to improvement at every level of
implementation.

Tho objective is to prepare a solution of examination scheduling without
violating any constraint parameter, such as:

• 30% faculty member

• students half the capacity of the exam room

• no clashes between the exams
/me takes binoculars and ventures outside... gasp!

It's just after full Moon and Mars is just next to the Moon, hence also on max luminosity.
My Forerunner 245 is lighter than an Apple Watch. A Forerunner 945 has all the Fenix 6 features but is lighter. A Fenix 6s is also light too.
"[The dollar system would transform] a nation of creative producers into a community of rentiers increasingly living on others, seeking gratification in ever more useless consumption, with all the debilitating effects of the bread and circuses of imperial Rome"—Kaldor, 1971
Can Apple be trusted tho?

"Apple dropped plan for encrypting backups after FBI complained"

https://news.ycombinator.com/item?id=22106536
I'd rather cringe a bit at it than fight on editor style configuration in reviews
Yeah, that seems pretty reasonable to me!
There is no scenario in which Apple's ARM chips will be sold to 3rd parties.
Really cool! I just sent you an email (I love your contact info on HN btw!)
The Mac isn't a walled garden, why should servers with Apple Silicon be?
The point is that apple's models would not be lower end, just cheaper.
Computer languages to me looks like a fashion industry. So personally I am trying (not always successfully) to ignore all of those discussions about perceived dis-/advantages. I pick what I personally like or if that's the case what client insists to be used and do not give much hoot about what is the latest popular opinion about the subject.
C++ and Smalltalk-80 have a common ancestor called Simula 67, but neither Smalltalk was derived from C++ nor vice versa.
> Go's design is at the very least controversial and considered poor by a vocal subset of the hackernews and programming community.

I'm in the camp of the rationales of Go's design being controversial. But the actual design is not bad IMO. For what Go wants to be (a modern C), it is not a bad design. But who wants a modern C? I don't. But if Go were available in the 90s, I would have jumped at the opportunity to write programs in it.

> Python is decidedly not dying... it's still the dominating game in town for ML and data science. I'm surprised anybody would posit that Python were dying. Perl definitely feels like it should be in Ruby's camp.

I didn't say that I would consider Python a dying language. But considering Ruby dying and Perl don't, is very weird. OTOH Ruby and Python aren't gaining any new usecases (but also aren't losing anything rapidly AFAIK) whereas Perl ... has any left besides very legacy code?

Putting Perl and Python into the same group and Ruby in another is certainly an interesting choice.
Sharpest knife made by cooking sand in a microwave oven
This is something that was fixed in the forthcoming TOML 1.0 spec. Parsers that have been updated to support it will allow heterogeneous types in arrays, which your application can convert to a vector of floats or whatever collection type it uses internally.
>wire-free range of 50 kilometres

Yep, there's your problem...

Look, I love lithium batteries as much as anyone, but the range really is a huge problem. If you take a look at the real world places that the existing diesel locomotives serve (on non-electrified lines) you have a lot of places where you're basically using one or two trainsets to go back and forth a rural line. They usually don't sit in stations for more than a minute or two, maybe 5-10 mins at each end. If each one is out of service to charge for 30 minutes once an hour, you're either demolishing the schedule or adding significantly more trainsets ($$$$).
Prevent your application from crashing due to unresponsive API calls
It's said that the long distance to North America was a key factor that greatly restricted the power of British Imperialism in America, and indirectly led to the success of the U.S. Revolution. When the orders from the top decision-makers in the U.K. mainland took months to arrive, efficiency was low.

I wonder whether the absence of FTL communication in the universe could be the ultimate physical guarantee of decentralization of political power (which is not possible on Earth) and the protection against universe-wide, total imperial powers.
I guess when you said "conservation of matter" I interpreted that as meaning "conservation of mass", seeing as we're talking about weight loss.
True, that makes sense. I guess my personal preference would be to keep my TV as just a display and hook up an Apple TV/Chromecast/etc. to it for those features.
Typical Apple - undercutting other companies on price \s
Software and platform lockdown are a lot weaker than they were in the WinTel heyday. It’s a lot easier to go from macOS to Windows to Linux these days. There are many exceptions of course, but I’d wager that market is not as big as you think.
Why Developers Hate Coding Tests?
I like it. For use cases that are for non technical users to manipulate and maintain it makes sense to me.

In Emacs, org files are often used for configuration similarly.

While I'm a fan of EDN most of the time, which doesn't suffer from the issues they mention JSON having, not having to wrap things in quotes for text, and using indent for nesting definitely would make it nicer for non technical people. So I can see a use case for this as a simple text interface for forms that is targetted at non-technical users.
I don't like where this is going. Especially using number of dependents as a measure of trust. Popularity has nothing to do with trustworthiness (it just makes a problem less likely to occur, but when a problem does occur, it will be a lot worse; and npm has in fact encountered such issues in the past).

Just look at the real world: Is the Federal Reserve Bank a trustworthy institution? Sure, there are a lot of people using its product (the US dollar) so it's extremely popular, but is it trustworthy? Is the product actually what its users think it is?

Power structures are very much the same in open source. The ecosystem has been highly financialized; a library is popular because its author has a lot of rich friends who helped them to promote it on Twitter or elsewhere. So if you don't happen to have rich friends, does that make you untrustworthy?

This would lead to censorship of good projects from trustworthy people who have genuinely good intentions.

I think that such algorithms have done enough damage to society already.
Analysis of the TikTok's AI based recommendation engine for content promotion
Sounds like a fight that can never be won
Hosted API's with 24 * 7 availability to develop your app like Amazon, Instagram
Makes sense to me. I just find it hard to believe that TV manufacturers will release software updates for older TVs, but then again I haven’t gone shopping for a TV in nearly a decade.
Alright, I’ve been running an Apple Watch test and I have some numbers to report. I just bought it and I was worried about battery life.

At 1am, Thursday night, I took the battery off the charger, at 100%

I have slept 2x in it, but I wasn’t asking the phone to record my sleep on the second night and so it didn’t. That seems to matter to Apple’s sleep-tracking software.

It is currently 2:50pm on Saturday, and my battery charge is at 38%

Seep tracking, night 1, took about 10% of the battery life. Might have been 8. I don’t remember.

I have nearly every notification turned off. The standing notification is still on. I have heart rate tracking, blood oxygen tracking, most health tracking I can get turned on.

I’ve run at least one, maybe two ECG’s in this battery life.

I have the always on display turned off because I don’t need my display on all the time and I think the feature is mostly a gimmick.

I’ve been playing with my watch a bit because I find it fun and it’s new. I’ve used it to read email, to log me in to LastPass, to check SMS 2FA, to purchase drinks and other items and so on.

I did take it off for about 3 hours last night, but did not charge it.

I have not taken the watch for a cardio exercise yet. I have the wifi and gps-only version.

Long story short, I could absolutely see this watch lasting 2 days with my usage patterns, absolutely no problem. Charging it 30 minutes when I’m in the shower to push it back to a healthy battery life is absolutely not going to be a problem.
'Transducers' by Rich Hickey at Strange Loop [video]
I will bite. This doesn't rule out why it cannot work out.

There are some strong assumptions behind this article, it chooses the following scenario: Wind + Solar + H2 for seasonal storage. And then proceeds to dismantle it. But nobody said this has to be the scenario.

I think it's far more likely something like:
Wind + Solar + hopefully clean base load (e.g. Nuclear) + Hydro + Hydro storage + Lithium storage + H2 storage for transport (planes, trains, ships) + H2 storage for seasonal purposes

Fact of the matter is, there is no clean alternative to H2 (at the moment) for large transport vehicles (i.e. cargo shipping, planes, trucks) so unless you are willing to keep using carbon based fuels for these purposes you are stuck with H2.
Aggregated HTTP Status Codes
>"This is the first time that Americans have really had to deal with their teenagers using a form of mass media that isn’t created in their country by people who mostly share their values. It’s from somewhere else. That’s compounded by the fact that the ‘somewhere else’ is China, "

I don't know why I find this so funny, but I just imagine a completely terrified American family going "honey, you won't believe this, I opened the about page of the app, and it's from 'somewhere else'!"

Yeah no shit there's 97% of the world that's not American and they can actually make things. Americans are talking about TikTok as if they've just encountered their first batch of exotic spices travelling along the Silk Road.
Of course not, but the OP thinks if it doesn’t pop up on his Twitter feed, there must be no enforcement.

https://www.epa.gov/enforcement/criminal-investigations
In the design of YAML, Ingy made the case that we shouldn't have types for scalar values, that they should all just be strings. His argument was that each application knows what it needs and should have the ability to direct how those scalars are processed. If the format needs to be standardized across applications, one can use a schema system layered on top. In retrospect, I think he was right and I was wrong. For example, Fast Healthcare Interoperability Resources (FHIR) serialized as JSON treat numeric values as decimals, e.g. `2.3` is not a floating point value. Moreover, since parsing numbers is slow, it should be deferred till you actually need to interpret the numeric value.
On Call Shouldn’t Suck: A Guide for Managers
My Apple Watch (see my response above) has lasted well over a day including sleep tracking, on a single charge. It would go to 2 days if I let it. It’ll be able to track your sleep, just turn the always on screen and several notifications off.
Indeed.

It's less of a problem if you're using it for configuration files, where a program knows what key's values need to be cast to an integer or float.

But it seems disastrous if you wanted to use it for storing or transmitting data, above all between applications. You're immediately throwing out the possibility of being able to serialize and then deserialize data in basically any programming language.

I shudder at the idea of an API that accepted NestedText, where I'd need to worry about whether my floating-point output was compatible with its floating-point string parser. Yikes. I want the serialization format to handle that. Isn't a major criticism of JSON that it doens't have a built-in datetime representation?
I'll add that you should look for the PLUS skus, ie SFN-8522-PLUS. They come with all the fun stuff.

Might also want to look at Packet. They offer bare metal cloud servers by the hour, some of which have Mellanox NICs in them[0]. I'm less familiar with Mellanox than SolarFlare, but I think they have a similar feature set.

[0] https://www.packet.com/cloud/servers/c3-small/
Convert JSON to Go Struct| Copy, Share, Save
Does that package exist because JavaScript lacks a modulus operator (I feel like I remember it having one), or because the operator does/doesn’t coerce things into numbers the way you’d expect? Or is it honestly just laziness?
It is true that all could do a much better job of incarcerating corporate officers guilty of mass manslaughter. Somebody needs to go first and challenge the others.
JSON Real Time Editor Create Your JSON – Copy, Share, Save
The choice between freedom and equality
Slightly tangentially, I haven't read anything by Kevin Mitnick for 20 years, but his whole thing on social engineering feels related to putting together innocuous bits of information that add up to more than the sum of their parts.

I have been at several companies where their competitive advantage was something extremely simple and basic that their competitors could do, but just hadn't twigged.

For example, in the pub one night, there were a couple of friendly competitors and one was complaining that they had the same machines but couldn't get the same output we did. My mate nearly blurted out that, "well, we just use the standard recommended XXX" but his boss gave him a kick just before he did. The competitors were simply cutting costs by not using the standard recommended XXX and that was literally the only thing that borked their quality, and yet they hadn't picked up on it.

The point is, the stuff that seems without value to you may be of incredible value to others. We have stated this time and time again on HN when it comes to privacy and data protection and yet I still need to see stuff like GHunt to remind me.

It's fun and scary to see how little tidbits of information are both easily available and easily linked. Assuming it works.
What straightforward process do we have for making synthetic fuels with electricity?

My understanding is that synthetic fuels tend to be some form of hydrocarbon, which means they need a source of carbon. Either you make the synthetic fuel at the exhaust stack of a fossil fuel plant (so you still have to burn fossil fuels) or you spend huge amounts of energy collecting CO2 from the air (is that even a proven process yet?)

Hydrogen has a straightforward and well understood process to make it from water. What's the hydrocarbon equivalent?

Is there a better way to make synthetic fuels?
I will die on that hill, so here it goes again: The problem with NPM is not the amount of runtime dependencies.

Most Javascript projects would actually fare pretty well when compared to other languages if only runtime dependencies were taken into account.

Javascript staples like React, Vue, Svelte, Typescript and Prettier actually have zero runtime dependencies. Also, the ES6 standard library is not as bad as people claim.

The real problem is with development dependencies. The amount of dependencies required by Babel, Webpack and ESLint are the cause for 99% of the dependency bloat we complain about in JS projects. Those projects prefer to have monorepos, but when it's in your machine they're splitted into tens or hundreds of dependencies. Also remember that left-pad was only an issue in 2015 because a Babel package required it. If those projects were able to get it together we wouldn't even be having this conversation. Solve this and you'll solve the biggest complaints people have about JS.

I really would like to see a discussion on this, as most people seem to put a lot of blame on JS as a whole, while it's mostly a handful of popular projects generating all the complaints.
> Upon investigation of these allegations the case was dropped because the evidence was not strong enough.

Investigation was dropped because he hid in a cupboard for seven years.
This is a widespread misconception. The first Smalltalk version in 1972 didn't even have inheritance. Although Kay is ascribed the term object orientation, he understands it to mean something quite different than most. It was Ingalls who first introduced the properties generally referred to as object-oriented and implemented in Simula as early as 1967 into his version Smalltalk-76. The influence of Smalltalk is generally overestimated.
JWT Decoder – Copy, Share, Save
Whenever the discussion of liberty versus equality of outcomes arises there is a tendency to create a false dichotomy where we are forced to choose between extreme positions that are mutually exclusive. However, this is a mistake as the best approach is to find a compromise between different tradeoffs.
You know what I want? Schemas. And clear error messages.

I want to know beforehand what I can put in a config file and I want a fast and hard failure if what I put in there is not good.

And this should be implemented at the file format parser level, with hooks for apps to add on top of the default behavior, so that every app that implements this format gets these things almost for free.
That only ends when you make it easier to figure out whether someone is going to actually harm your business in the future, rather than finding out whether they have ever been a felon.
We built our app on node and typescript, and I would never choose it again at this point because of the package ecosystem. We do a lot to validate integrity of packages (including checking in vetted archives to our repo), but it’s hard. Our images are ballooned to like 500-600MB (we’ve hit past the GB mark because of certain packages messing up dependencies before) based on a pretty conservative list of dependencies because of node_modules. I’m constantly fighting a battle against image size increases. The sheer amount of files in node_modules ensures that io is always a problem for image size and build speed on CI.

Solutions like yarn berry hardly help: zipfs and patched tsservers is annoying in many editors still. Often packages break because package maintainers include implicit dependencies or the packages their packages depend on do so. Arc has frozen emacs for me several times when jumping to definition in a zip.

I’m just so over the package situation for node.