skysight-inc/HackerNews huggingface dataset:
Just as the top answer on stackexchange says, telling your former coworker passwords is legally idiotic. It might, in some scenarios, slightly help you. But the downside is huge. If something went really wrong - what better scapegoat could there be than "a former employee, who somehow knew the secret passwords...".
I heard yesterday (from someone who works for a place that determines solar capacity from satellite photos) that the UK has between 10 and 16GW solar capacity. That's the official figure. No-one really knows (hence his company)
And if you spell out why, you get flagged and downvoted. Chicken and egg problem.
That's an excellent resource.

Luckily, most commonly encountered scripting issues are with whitespace in filenames/variables and running a script through shellcheck will catch most (all?) of those problems.

It's amazing how edge cases can make a simple command such as 'echo' break. (Top tip - use printf instead of echo)
I personally don't think writing text is useful now that we have keyboards. It's probably useful for math equations, diagrams/sketches (excalidraw), but I'm tempted to practice typing math equations (e.g. mathjax) and drawing with excalidraw. But reMarkable is black and white, so it doesn't suit this either.

For a few years I used OneNote + Surface Pro to take handwritten notes, equations and drawings. It was a great writing experience. Then I wanted to share them with others. Or migrate them from One Note into something else. Or just export to PDF. I'll summarize that nothing worked well. I tried other apps too. An app that constraints your drawing to paper (A4) works better since it can export to PDF nicely. But the text is not searchable and so most people won't find it. That's why we don't see many hand written notes shared online?

Im curious, what domain or job would you find this useful?
> The contract manufacturer rose to become the top chipmaker in the world, commanding 20% of global wafer fabrication and 92% of advanced chip capacity.

This is why I don’t worry too much about Chinese saber rattling towards Taiwan. Imagine the Chinese economy with 92% of the world’s supply of advanced computer chips gone.
Very true, plus presumably it gets shipped over from China too.
They're now underestimating EVs. Hence oil consumption that will continue to grow til mid 30's.
I feel like powershell hides too much to be used regularly. I have a dozen of small shellscripts and aliases to do basically what PS help me to do when i work on windows (and some), but at least i know how it work behind.

I had to work with Sencha/ExtJS early 2010. It was the same feeling. Yes, it is powerfull, but too much magic happen for something without a clear orientation (at the time, now it is used for data loaded frontend i think). PS i don't understand what it wants me to do.

The language is fine. The interface is now fine, but in 2015 it was the shittiest tty available on modern computers. It's okay since at least early 2021 (when i restarted using windows). I know it should be reasonably better, but i wouldn't trust any PS script written before 2021 to run on my workstation. I run bash scripts i wrote when i started coding.

Still, if you're new to the gig and don't care about free software and commons, you should learn PS (unless you want to work on baremetal or on MC, in this case, bash will be enough).
I came to a similar conclusion after looking into rm2 and trying one of the similar Boox tablets. They may run android, but security and OS updates seems to be a low priority for these eink tablets.

I ended up getting an iPad Air with the pencil, and one of those matte screen protectors. The OS may be locked down, but I can still choose from a wide variety of note apps/clouds (currently use GoodNotes), and security is obviously top notch.
TSMC Taiwan is panicking that the World will loose its interest in defending Taiwan against China once processors can be made elsewhere. Plus TSMC is afraid it will start losing market once there will be more players there.
Also, the Chinese hanzi in Hong Kong were gibberish.
UT GOTY edition is still my favourite FPS. Fortnite is still good, but feels more childlike than I prefer
How do car manufacturers prevent their cars from being used by terrorists?
I used to play a lot of RPGs on the gameboy, but my English was still not good enough so I avoided reading. Sometimes I had my gameboy and a dictionary and I'd translate NPC dialogue one word at a time.

I remember Final Fantasy 1 on gameboy had a surprisingly open world and I could walk all over the map, and it had random monster encounters. I'd be fighting a lengthy turn based battle about every 20 steps, and it could be way above my level, and I was completely and utterly lost!

I spent so much time on that game. But I never progressed far into the quest. Playing it as an adult I realized one random NPC says there's a hidden cave to the east, and if you never read it's pretty much impossible to find.

Similarly in Pokemon, bumbling through caves in the dark until I go out the other side through sheer luck and grit. Turns out the move Flash just lights up the cave.
I did not see there already is a thread about this: https://news.ycombinator.com/item?id=33348716
I would expect that fitting large number of HDD in similar sized enclosure would lead to pretty similar looking solutions, with airflow and such considered.

It is rather common that same design constraints lead to similar solutions.
what note taking apps have you tried? just off the top of my head, obsidian and joplin both let you choose a custom directory. logseq too but the android app is in beta. i haven't been keeping up to date with note taking apps though so there could be lots more
From the Key Findings for Electricity:-

"Solar PV capacity additions expand from 151 gigawatts (GW) in 2021 to 370 GW in 2030 and almost 600 GW in 2050, while wind capacity additions double to 210 GW in 2030 and rise to 275 GW in 2050."

Yeah, nah. Annual PV capacity production of around 400 GW in 2023 and 1 - 2 TW in 2030, based on publically announced investments. Probably more that Duckduckgo hasn't found for me. I haven't looked at wind, but given what's been in the news recently, 210 GW is low by a factor of five as well.

Looks like they're still using the same broken modelling methods, and the same broken integrated assessment model software.
Well, good riddance, I guess. The software side of this product has been completely mismanaged and community-hostile for a long time, and the hardware has always been overpriced.

Hopefully this will make market room for alternatives that give better value for money for STEM kids.
My best guess is that a lot of people looked at its capability system and thought "wait, it's like Rust's borrow checker except even more of a hassle than the borrow checker?" and noped out. Which is unfair to Pony, but if you think of how Rust already scares some people off then that first impression of Pony might end up doing even worse.
> obviously you wouldn't just run something from the internet without checking it first

This died a long time ago with the pervasive use of NPM and PIP and the likes.

Most developers probably run a lot of random unchecked shit all the time with local user privileges today without a blink.

Somehow people are ready for all this, but are still afraid to run a random shell script from the internet. I guess this fear is one of our chances to explain how NPM and PIP can be dangerous.
I think that would require a pretty substantial overhaul - the models + textures for players and items are accessible and in a relatively readable format, I'm not an expert but I guess they could be ported. Maybe some conversion is possible for the UI, levels, music, sounds too. However a lot of the game logic is implemented in UnrealScript, and it'd need to be entirely rewritten in (I think) C++ for UT5. I suspect that would be a fairly in-depth task, and at the end of it all you'd have a slightly shinier version that nobody plays because they're happy enough with UT99 despite its faults.

Might be fun as a technical exercise if you're bored, though :D The UT99 UnrealScript sources are here if you ever want to play around - text editor support for UnrealScript files isn't great but if you can move past that, it's really quite moddable and extensible, I really wish I made the effort to dig into it earlier when the game was more current: https://github.com/Slipyx/UT99
> coherent essays and academic papers from one sentence prompts.

No they don't. They managed to get impressive results, but it's still far from coherent because the algorithms still lack the ability to think
I like Tresorit, works quite well on Linux, has end-to-end encryption and can mount your files as a user filesystem. Syncing works pretty well, too.
I have an idea to implement this technology ,it will just need a dns server ,routing techniques used in cdn and SSL decryption with custom cert
I also think so. Often script needs to access a file in actual current dir (for example a config file) or process files with relative paths supplied by user and changing working dir makes this hard.

I think an easier way is to find script's location and construct paths for accessing script dependencies, for example (works on Linux & macOS):

script_root="$(cd "$(dirname "$(readlink "$([[ "${OSTYPE}" == linux* ]] && echo "-f")" "$0")")"; pwd)"
source "${script_root}/common.sh"
source "${script_root}/packages.sh"
source "${script_root}/colors.sh"
Online liquor delivery company Drizly was found guilty of negligence that led to the data breach of nearly 2.5 million consumers. The CEO of Drizly James Cory Rellas was accused of security failures after the company failed to take precautionary measures to secure their systems despite being alerted of the issues two years prior to the cyberattack.
This assumes rational decision making by current Party leadership. If the handling of covid, the housing market and Taiwan is any indication, it's anything but.
I do this by printing-to-PDF every web page I've ever read for longer than 30 seconds. 70,000+ files since 1997 .. its my own private internet. I take great delight in being able to grep for subjects through this directory ..
How about the "heroin friend"

https://www.youtube.com/watch?v=dIpi0kle1g0
That's very good to hear. I use Element a lot, but I found it very difficult to get non-technical friends and family to use it. A better onboarding experience is a real step in the right direction.

Another constant stumbling block is this whole "verify session" business. No one understands what it means. I understand technically what it does but I can't explain why it is so important that it keeps popping up all the time. It creates a constant sense of "something isn't right here but I don't know what to do".

I hope this was fixed as well.
More opinions

1. Bash shouldn't be used, not because of portability, but because its features aren't worth their weight and can be picked up by another command, I recommend (dash) any POSIX complaint shell (bash --posix included) so you aren't tempted to use features of bash and zsh that are pointless, tricky or are there for interactivity. Current POSIX does quite well for what you would use shell for.

2. Never use #!/usr/bin/env bash. Even if you are using full bash, bash should be installed in /usr/bin/bash. If you don't even know something this basic about the environment, then you shouldn't be programming it, the script is likely to create a mess somewhere in the already strange environment of the system.

3. Don't use extensions unless you're writing for Windows machines. Do you add extensions to any other executable? head, sed can help you retrieve the first line of a file and neither of them have extensions.

4, 5, 6. You may do this is obscure scenarios where you absolutely cannot have a script run if there is any unforeseen error, but it's definitely not something that should be put on without careful consideration, http://mywiki.wooledge.org/BashPitfalls#set_-euo_pipefail explains this better.
And it goes without saying that this is not a substitute for proper error handling.

7. I agree that people should trace their shell scripts, but this has nothing to with shell.

8. [[]] is powerful, so I very often see it used when the [] builtin would suffice. Also, [[ is a command like done, not a bash builtin.

9. Quote only what needs quoting. If you don't know what needs quoting, then you don't understand your script. I know it seems like a waste of time, but it will make you a much better shell programmer then these always do/don't do X unless Y then do Z, rules that we are spouting.

10. Use either local or global variables in functions, depending on which you want. I see no reason to jump through this weird hoop because it might become an easily fixable problem later.

11. This is a feature, make usage appear when you blink, I don't care, if anything variations of -h too limited,

12. Finally, one "opinion" we agree on, not sure how else to redirect to stderr, but I'm sure that other way isn't as good as this one.

13. No, read the usage. If you want inferior long options, then you can add them to your scripts, but they are not self documenting, they only serve to make commands less readable and clutter completion.

14. No, it's not usually appropriate, do you want all installed scripts writing to /bin? The directory the script is running in should be clearly communicated to the user, with cd "$(dirname "$0")", "It runs in the directory the script is in." Needs to be communicated somewhere, or you have failed.

15. Yes, use ShellCheck.

16. Please call your list Bash Script Practices if it's unrelated to shell.
I mean this is not a surprising announcement given that encryption is their only selling point over competitors.
There are plenty other similar devices that don't push a subscription. Even Amazon launched one.
A lovely read. Full of old chestnuts made fresh with seasonal
seasoning. Great to see Illich reconnected to some much more
contemporary tags.

Nice to see another technologist who laughs in the face of
"inevitability", and the relentless assault on the vitality of
language (colloquial and technical) by the machine of
big-tech/advertising.
The replies here are hilarious: from people saying how much they loathe it to people saying they wish more resumes were like this. It just drives home how much of a crap shoot applying is...
It seems like it actively discourages creating bonds and friendships in exchange of a "greater common good".

It also seems like they should have gotten an ethics committee approval on what is very obviously a psychological experiment on minors, similar to Muzafer Sherif's "Robber's Cave" [1]?

[1] https://en.wikipedia.org/wiki/Robbers_Cave_Experiment
> Governments shouldn't mandate solutions.

They do all the time. USB-C is probably the most recent example but there are a gazillion standards that are mandated by governments. Electrical sockets, traffic signalling, seat belt design, etc.

It's not some weird outlier for them to say "you have to do it like this".
Microsoft’s great OneNote merge begins with a single app in the Windows store
The 4x4 represents both a 3x3 matrix A and a translation t, so that the “affine transformation” applied to a vector is v -> Av + t. One could pass around pairs (A, t) instead, and figure out how to compose those pairs, but it turns out there’s a nice way of embedding them in a 4x4 matrix such that composition is just 4x4 matrix multiplication.

You may opt into some other mathematical niceties too, which are handy for applying perspective transformations, but the main takeaway is that you get efficient compositions of affine transformations.
A life jacket came to be named after Mae West
I do all of this all the time.

But I use, set -euo pipefail. I think -u is -o unset ,etc? Just easier to type.
3 to 5 million Ukrainians starved to death because the USSR deliberately cut off their food supplies in a targeted attempt to kill them.
Yes I've no idea what's inside them. Presumably very few chips to last that long on battery.
Also:

- There is no way to back up your message history (with photos, etc). This could be done using their (annoyingly pushed to users) "PIN", but isn't.

Few people realize that if your phone dies today, your history is GONE. From what I saw, once people do realize this, it's game over for Signal. WhatsApp is just easier, "everybody is there", and it does back up your history.

EDIT: Yes, it's on iOS. Yes, I realize this might not matter to you, but it matters to a lot of people. And if Signal tries to "bring privacy to the masses", this needs to be fixed. I've seen multiple people stop using Signal after losing all their data.
Agreed. If China invaded Taiwan I have no doubts that TSMC and their special ASML machines would become a pile of rubble very quickly. If Taiwan didn’t do it themselves no doubt the US would do it for them.
> people like being considered easy to buy for and don't resent it.

Not the question. The resentment comes from being expected to pretend you appreciate "gifts" that are nothing but chaff in the gears of your life. Ask me how I know (actually don't, you can guess, right?).

> people grow into whatever they end up with a collection of

What? No. I don't know about you or the people you've been hanging around with, but some of us have actual tastes of our own. The phenomenon of people being deluged in variations of the same thoughtless personal-meme-gift is well-attested. I'm not aware of any cases where the recipient actually changed their personality to fit, and I would further claim that it's unhealthy to try.

Honestly, what are you trying to do here? Whatever it is, stop.
It doesn't go into why, it's just a statement.
California's cannabis-growing nuns pray for profits
Kinetic energy of 100kg at 0.1c is ≈ 4.5e16 J

Minimum possible life support for a human ≈ human basic metabolic rate ≈ 73 W

Divide energy by power to get time; that's 20 million years, which at that speed would get you to Andromeda before the lowest possible energy cost of life support reached the lowest possible energy cost of the velocity.
Indeed. 1) Get strong types 2) Make a type representing Ordering 3) Use this type everywhere for ordering things. Stop worrying about it.

Using -1, 0 and 1 to represent these feels like something that was a clever trick for low level code on a PDP-11 and hasn't been a good idea since the 1970s.
Herron Island, another part of Australia, can be walked around in half an hour at a dawdle, and it has two time zones.
I'm a lefty with a Remarkable 2 that I've use almost daily for a year and a half, and I haven't had trouble with accidental button presses as long as I close the context menu when I'm writing. The toggle for the context menu is a dot on the top right corner of the page, so not easy to accidentally press as a lefty. I guess if you're using it for complex drawings where you need the context menu open to constantly erase, cut, and change thickness then it might be annoying, but for my use cases of journaling, note-taking, and the occasional diagram, I'm extremely satisfied.
USA must do it, since the effort to rebuild the “Big China” in 2050 of Xi is not doomed to fail, at least USA (and the same for EU) should re shore part of the chip manufacturing fabrics, because now the market is totally un unbalanced.
No command should have an extension. And - quite notably - almost none do.

Adding an extension to make it easier to tell what's inside without opening it is being lazy rather than following best practices. Best practice is half century of leaving them off.

Unlike Windows, which ignores extensions and lets you run a command omitting them, Unix has a better (I'm not saying perfect) approach which allow the metadata to pulled from the first line of the file, tuned exactly to what the script needs. No sane extension is going to capture this info well.

Extensions expose (usually incompletely) the implementation details of what's inside, to the detriment of the humans using them (the OS doesn't care), who will then guess at what the extension means.

However, many extensions are WRONG, or too vague to actually tell what interpreter to call on them - which this subgroup of devs does all the time, mostly commonly using the wrong version of python (wrong major, wrong minor, not from a specific python env) and breaking things. .sh is manifestly wrong as an extension for Bash scripts, which have different syntax.

The exception is scripts that should be "."-ed in (sourced), where having a meaningful .sh or .bash (which are NOT interchangeable) is ACTUALLY good, because it highlights that they are NOT COMMANDS. (and execute isn't enabled)

If you want a script to make it easier to list commands that are shell scripts or whatever, there's a simple one at the end of:

https://www.talisman.org/~erlkonig/documents/commandname-ext...

I've seen several cases of .sh scripts which contained perl code, python, or were actually binary, because the final lynchpin in this (abridged) case against extensions is that in complex systems the extensions often have to be kept even after the implementation is upgraded to avoid breaking callers. It's very normal for a program to start as shell, get upgraded to python, and sometimes again to something compiled. Setting up a situation which would force the extension to be changed in all clients in a large network to keep it accurate is beyond stupid.

Don't use extensions on commands, and stop trying to rationalize it because you (for those to whom this applies) just like to do "ls *.sh" (on your bash scripts). These are a violation of Unix best practices, and cause harm when humans try to interpret them.
> Either GDPR should be updated to ban consent pop-ups and simply make “REJECT” the default everywhere

That is literally in the law. Article 7.3 https://gdpr.eu/article-7-how-to-get-consent-to-collect-pers...

--- start quote, emphasis mine ---

The data subject shall have the right to withdraw his or her consent at any time. The withdrawal of consent shall not affect the lawfulness of processing based on consent before its withdrawal. Prior to giving consent, the data subject shall be informed thereof. It shall be as easy to withdraw as to give consent.

--- end quote ---

Also, Recital 32: https://gdpr.eu/Recital-32-Conditions-for-consent

And also. GDPR isn't just about browsers or cookies. It's about data in general. Which includes all other situations, including offline interactions, gaming, and communication with governments.
It lost me at the subscription level. I’m already moving my company off 1Password because of the subscription nature of it.

I’m so very tired of this model.
> there is absolutely no indication that Strong AI can be achieved l

We have the proof that the I in AI can be achieved (us) and we have the proof that the A in AI can be achieved (our technology), so while there is no proof that AI can be achieved, I'm pretty sure there is nothing fundamental that prevent it
There's no people, and it's an inhospitable place... so if a clock ticks in the most back of the outback, and nobody is around to observe it, does it even matter?
That was very enlightening. Thanks
>in contrast, the GWPF see bear populations doing well to date.

So that's where they get their numbers. And who's GWPF? https://en.wikipedia.org/wiki/Global_Warming_Policy_Foundati... Ah, yes!
It's amazing how they have been wrong on this and still continue making the same assumptions every single year (see other comment).
I really hope Microsoft bumps up their crypto mining detection (and other abuse) instead of cutting the free tier .
My point is not that it’s impossible to write fast JavaScript, it is that creating performant abstractions is very hard in JavaScript. So performant code ends up not using many abstractions, and becomes difficult to write and maintain. Or well-abstracted code which is easy to write and maintain is slow.
Blizzard doesn’t embrace what you did, running a private WoW server. If they could have, they’d have shut you down. Certainly though it sounds as if your server was simply too small for them to ever notice. They focused their legal efforts against large private servers that sold access.