Hacker Newsnew | past | comments | ask | show | jobs | submit | laurent92's commentslogin

Maybe Youtubers, as soon as you want to do something barely elaborate. Sometimes free tools don’t benefit the user, but their audience ;)


Is there a shortcut to reuse the result of the last command? “which java => ll $(!!)”, but the “!!” reexecutes the last command, I’d like something which doesn’t.


I'm not personally aware of a way to do that. When I need to do that I do indeed just run $(!!)


Everything uses --version, except `java -version`.

Except Java 17. Java 17 went to `java --version`. And `java -version` doesn’t work anymore (Yes I jumped from Java 8 to 17, but most people did).


mawk is the worst, which, given the article's claim about POSIX, is ironic, because mawk is POSIX-compliant.

  $ mawk --version
  mawk: not an option: --version
  $ mawk --help
  mawk: not an option: --help
  $ mawk -W version
  mawk 1.3.4 20200120
  Copyright 2008-2019,2020, Thomas E. Dickey
  Copyright 1991-1996,2014, Michael D. Brennan

  random-funcs:       srandom/random
  regex-funcs:        internal
  compiled limits:
  sprintf buffer      8192
  maximum-integer     2147483647
And mawk is (was in 16.04 at least) the default version of awk on Ubuntu. How is the user supposed to know this magic incantation? ¯\_(ツ)_/¯


To be fair, I can see this coming out of a strict reading of POSIX: it doesn’t say a single word about GNU-style long options (though there is an implied hole where they can fit), but explicitly leaves -W with an argument as a place for implementation-defined crufties when passed to Awk (I haven’t the slightest idea why).

(Honestly I’d rather not have the convention of programs themselves handling this at all and instead have this be `ident awk` or similar, but I understand this is not going to happen.)


I can only imagine that the "w" stands for "what the hell do I need to pass this thing to get it to tell me something useful"


-version still works:

  $ java -version
  openjdk version "18" 2022-03-22
  OpenJDK Runtime Environment Temurin-18+36 (build 18+36)
  OpenJDK 64-Bit Server VM Temurin-18+36 (build 18+36, mixed mode, sharing)


And (e.g.) OpenSSL IS `openssl version`, with no dashes at all.


To be fair, when deciding how to implement CLI options, it's probably advisable to run as far away as you can from drawing any sort of inspiration from openssl. Even git looks like a paragon of UX compared to the openssl CLI.


You don't think that -text -noout is an intuitive way to output something as text?


When development on Java started in 1991, double-dash long options weren’t as prevalent as they are today.


I think at one point the canonical approach may even have been:

java -D-version


How many tickets do you have in your non-Jira ticketing system? I count 100 tickets per person per year.


> 1) This outage will get their organization to prioritize work such that it never happens again

It has already happened in the past.



"An Atlassian spokesperson contacted by The Reg blamed the loss on the failure of “multiple” storage disks at its cloud storage provider on 28 April."

10 years ago to the month.

So as long as everyone plans a vacation for this time in 2032 it'll be OK.


Ah, you mean that outages have happened in the past, not that Atlassian has changed because of an outage.


Let me bet: Rebuilding from Jira email notifications. Yes, the diffs in the notifications.


I've actually done exactly that many years ago for a self-hosted Jira installation that didn't have any backups. You can bet we had backups with regular testing after that.


I would have just quit if I had that landed on me.


Honestly it doesn't sound too difficult and like a challenge to script something fun. To me. If you ever find yourself in that situation, email is in my profile and we'll work something out :)


Whoops, looks like I commented on the wrong chain.


Not much on this on the internet.

Gray•Duffy, LLP Settles Two Massive International Data Loss Claims Arising From Computer Server Failures

Arc Touch, Inc. vs. Atlassian PTY, Ltd

http://m.grayduffylaw.com/?url=https%3A%2F%2Fgrayduffylaw.co...

https://www.theregister.com/2012/05/09/atlassian_cloud_stora...


But are they gonna be able to accomplish anything without Jira guiding their projects?


> Yes, the diffs in the notifications.

In my limited experience these diffs can be missing information. I recently had to reconstruct an issue description using these email diffs after two people where editing the description at the same time and it was not 100% accurate, several lines were missing. Going to the 'history' tab on the issue I was able to get the missing lines however, if all you have are emails though you might be out of luck.


Its like a reverse event sourced system


When is the Party congress? Can it happen that, after the congress, they let the Covid run rampant, to get rid of the elderly and have better figures for a few years after that?


Let’s take time to discuss this, as it’s easier to discuss when it happens to another country with an entirely different social system.

I was surprised, last year, that techniques we were condescending about, and saying it only happens in China, were applied in Europe and USA. As if it was an emergent property of a human group facing a new disease.


Talks about how magic money doesn’t exist but then printing out checks for everyone and it materially helping loads of people was definitely an Overton window shifter as well.

There are principles and a status quo, and it always stays the same… until it changes.


There was no magic money tree. It took a while for the effects to spread to the whole of the economy - perhaps because people were in lockdown and limited in their ability to spend money - but throughout the western world people's incomes have been dropping in real inflation-adjusted terms. There's no way that they couldn't; a large chunk of the economy was shut down and producing nothing, so there's just plain less stuff to buy which means people can't possibly be able to continue consuming the same amount. Printing and handing out checks just redistributed where in society the economic pain was felt for a while.


$2000 one time checks are not what is causing inflation. Extended unemployment insurance... I doubt it.

Inflation right now is happening because logistics are messed up. Yeah, turns out that when things get messy then the price of things go up, cuz it's harder to get things done.


It had more to do with the hundreds of billions of loans to rich people to keep companies open. That don't have to be repaid. And went predominantly to fraud.

I really hope the DoJ sets up a task force and starts sending people to jail. We can let out some people who smoked dope if we need more cells.


Ah yes. I suppose you still believe in Powell's story that inflation is transitory. Forget about the money supply or the sudden course correction to hike interest rates faster.


You’re way understating things. It was an injection of hundreds of billions of cash into the economy.


It was definitely the $2000 checks and not the $4.5 trillion bank bailout in 2019.


The initial bailouts were something like over $10,000 per every American.


So if magic money exists... what's stopping us from printing out 100x the amount of money? Why not continue this policy indefinitely?


It's because our own political apparatus is not that different from the Chinese one. We just like to pretend we still have a choice with our "democratic vote".

You won't be able to dismantle it or even to reduce the huge amount of money it consumes.

You won't be able to escape its rules. We should be thankful we're still able to leave for the least worse country.

The real disease is called statalism and we're seeing the symptoms of that.


In WW2 we had Lord Haw-Haw (the defector William Joyce). He is mocked in Steven Spielberg's "Saving Private Ryan" as the deranged voice yelling from the ruins

"The Statue of Liberty is kaput".

That's disconcerting.


I can't prove I'm not Chinese propaganda but I'm torn between China having bought our politicians or just our politicians doing their thing, trying to gradually accumulate more power and money over 200 years. Probably both, considering China got wealthy relatively recently.


> it’s easier to discuss when it happens to another country with an entirely different social system.

I'd say it's actually harder, because one cannot compare like for like. But of course that shouldn't discourage one from careful analysis.

> I was surprised, last year, that techniques we were condescending about, and saying it only happens in China, were applied in Europe and USA.

I think those making condescending remarks about China were not realists, and perhaps a little racist. Of course similar authoritarian responses were applied around the globe, some less heavily handed than others, and some with better results than others. And in some places there was a liberal response that put choice and civic responsibility into the hands of citizens, again some with tragic outcomes, and some with joyful results. Quite a mixed bag.

> As if it was an emergent property of a human group facing a new disease.

It certainly is. I think the results surrounding disgust and disease that Jordan Peterson and his group of researchers talk about , as well as the theories of Adorno etc on the "authoritarian mind" should now be checked against data we have from the pandemic. There will surely be xome confirmations and surpises.


Isn’t that because there is a 400-year tsunami of 60m high, and they’re trying to de-densify?


Aren’t they using 3D? inside the first machine for example, a human can’t monitor, and the pieces falling off seem to have lunar gravity.


I definitely had some uncanny valley vibes watching it, but I think it might be a combination of the camera's perspective (distorting distances away from center) and the footage being sped up/slowed down.


More like footage being stabilized in software like Reelsteady / Gyroflow . Typically fpv videos are a little more "jerky" and these software remove the lens distortion and then stabilize the footage.

here's a sample: https://www.youtube.com/watch?v=EA6ntosoZYs


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: