skysight-inc/HackerNews huggingface dataset:
C code in similar spirit:

$ gcc weird-0.c
$ ./a.out

No output from weird-0

$ gcc weird-1.c
$ ./a.out
foo(42)

Output from weird-1. What is weird-0?

$ cat weird-0.c
#include <stdio.h>

void foo(int x)
{
printf("foo(%d)\n", x);
}

int x = 42;

int main(void)
{
#if __LINE__ % 2 == 0
typedef int foo;
#endif
foo(x);
return 0;
}

OK, how does weird-1 differ from weird-0? One blank line!

$ diff -u weird-0.c weird-1.c
--- weird-0.c 2022-02-16 12:09:29.565563802 -0800
+++ weird-1.c 2022-02-16 12:09:38.185718722 -0800
@@ -7,6 +7,7 @@

int x = 42;

+
int main(void)
{
#if __LINE__ % 2 == 0

Explanation:

{
#if __LINE__ % 2 == 0 // If this line number is even
typedef int foo; // foo is a typedef name for int
#endif
foo(x);
return 0;
}

If foo is a typedef name for int, then "foo(x)" is syntactically declaration. It's declaring a local variable x to be of type foo, alias for int.

If the typedef is missing, then foo(x) refers to the file-scope identifiers: the function foo and variable x. It is a call to foo passing the value 42 of x.

The preprocessor conditional could easily introduce a syntax error, but the issue in Perl is that a parsing decision (how the / token is lexically categorized) is made based on the compile-time value assigned to f. This is similar to the compile-time meaning of foo we are setting up with the presence or absence of the typedef.
> (G)roff looks like it's aimed at paper outputs first

Indeed - seem to remember (?Brian) comment one journal turned down a paper due to how well typeset is was believing it'd been printed elsewhere before
> You can make a rainbow table of the possible passwords

Can you? Here? 14 letters from an alphabet of around 90 characters?
That's interesting. I would leave to see that analysis across a lot of performances. I know that barbershop folks often say to "aim high" or "sit on top of" your major thirds, but I always thought that's simply because it sounds really bad to be even slightly flat.

What's the theory behind why string quartets aim slightly sharper than 5:4? Is it something to do with inharmonicity or acoustics? Could it also have something to do with avoiding going flat? Is it possible that listeners are so accustomed to equal tempered thirds that a 5:4 third actually sounds flat?
Newspaper, zine, manifesto, meme
Yeah, I was wondering the same, I know for sure it's not the industry I'm in, which is now "mature" and boring. It's probably something we're not even familiar with because it's so niche. Or maybe it is something that we know, but to our eyes it doesn't seem that powerful. In the same way that people used to think of computers as just tools for doing multiplications and other arithmetic operations and they could have never imagined everything else that computers do.
Server-side JS is an exceedingly useful tool for certain use cases. Specifically, sharing server and client logic. I know everyone here likes to hate on JS frameworks, but the productivity of being able to build one thing in one language instead of the same thing twice in two languages is hard to overstate.

Sure, that has some trade offs like page bloat. But almost all of the JS framework universe is focused now on reducing or eliminating those trade offs: partial hydration, build time code elimination, server components, etc. There’s still a long way to go before the DX and UX reach parity, but it’s inevitable, and closer than one might think (see Qwik[1]).

1: https://github.com/BuilderIO/qwik
Seems like you're just arguing semantics. The pinephone is very clearly advertised as aimed at developers
You can respect that developers you respect are humans who make mistakes and misunderstand things. As you've done, you've made an inaccurate claim and learned from it. Hopefully you still respect yourself.

Also (and I'm not familiar with Vue to know if this is the case), the state of software is such that you can make a claim and have it invalidated a few days later after an update comes out.
What you have here is not a controversial claim. It's also not what you've been arguing until this moment, but for whatever reason you've softened your position substantially, now to the point of (IMO) banality.

What's controversial (because it's false) is the claim that, "Memory is a precious resource." That is not a true statement.
No but what you seem to be saying is .ssh is pwned on every machine that doesn’t use a password manager.
Yes it matters a lot! It's about plausibility. So very many security controls in industries where it actually matters, are about collusion. You can't completely prevent many types of fraud, but you can very significantly reduce it if it requires collusion.

It's the same here. If 1-2 people can make this happen, it's far more likely than if a chain of 10 people are needed to execute this kind of fraud.
Yep. Azure is just awful.

With Google SSO, I log in and do MFA once per year or so on trusted devices and any further prompt beyond that would be extremely suspicious. With Azure, I have to complete the sequence like a hundred times per day.
I don’t know your workflow or demands so maybe this is simplistic. But you can just drop any file over a 1Password entry and it gets attached to that entry.

So, if you have a .crt, .pfx, .txt or whatever, just attach it to the entry.
Some wag did the maths and determined that Apple has enough cash on hand to give every employee a $100/hr raise. (IIRC)

I'm fine w/ Tim Cook making bank. With the precondition that the "CEO to janitor" ratio is something like 80:1, or whatever.

It's just so weird that after 401k replaced pensions, and all the rhetoric (agitprop) about ownership society, suggestions to follow thru on promises to share the spoils a wee bit more fairly is tantamont to advocating class war.
Winners never quit. And quitters never win.

But those who never win AND never quit are idiots.
Information Algebra
Only if you are hung up on gnome of course. Plenty of alternatives that work out of the box in desktop space and flatapps aren't really needed really as one click with much less issues is possible many gui package managers.

First option for anyone coming from other OS should be kde. Defaults are sane and customizations are easy to do. Frankly I really don't know why all distros provide gnome by default. There are neither helping themselves nor the broader linux desktop community by shipping something that's broken in so many ways.
Yeah this is probably a good point, and possibly what is happening. I just never really have gotten any feedback about it, so I can't know. I am proud of what I have done, and happy I have learned so much doing it.

And I should also say I have for the most part given up ever getting a computer job, I do a couple of hail marys here and there, but mostly these days just focus on the niche highly undesired things I actually love (like elisp and supercollider), instead of forcing myself to enjoy react or svelte or whatever. It has made me quite happy to give up, I just like to learn and make art, I can be happy as a lowly receptionist if I can keep doing that. :)
Also, that most people will not remember what option they clicked as little as the instant they click it and the window goes away.
So there is no "v that signals the author knows some trivia"? Disappointed.
These applications look really pretty and all, but for my selfish purposes, I just really want real goddamn scrollbars back. I use a mouse that doesn't have a scroll wheel, but for the life of me I've been unable to figure out how to make applications like Firefox just give me a real scroll bar on the side of the window that's thick enough to grab without fiddly pixel-hunting.
Why would you use OP website vs the official version: https://pkg.go.dev/, for example https://pkg.go.dev/github.com/prometheus/client_golang/prome...

OP site looks inferior to the official one, maybe I'm missing something.

Edit: why am I being downvoted?
Sincerely caring about memory coherency is a totally lost art. Hardware gets faster, programmers add more abstractions to make their lives easier (read: ship more product, make companies more money) and the consumer is left kicking rocks with bug-riddled code 100x less performant than it could be.
So - if people instead could use a shell/script language that offers some more correctness/guarantees or fewer pitfalls, they will subconsciously make bugs in the system outside of that script because creativity?
Strongly disagree.

First:
This was written after the war was over-- "justifying further fire-bombing" would be pretty ineffective at that point.

Also, to quote from the survey:
> We underestimated the ability of our air attack on Japan's home
islands, coupled as it was with blockade and previous military
defeats, to achieve unconditional surrender without invasion. By
July 1945, the weight of our air attack had as yet reached only a
fraction of its planned proportion, Japan's industrial potential had been fatally reduced, her civilian population had lost its confidence
in victory and was approaching the limit of its endurance, and her
leaders, convinced of the inevitability of defeat, were preparing to
accept surrender. The only remaining problem was the timing and
terms of that surrender.

This does NOT read like a justification for *more* fire-bombing to me, but rather like a "we bombed them much more than necessary before July already".
I avoid any business that makes me fight it in order to enjoy it. Since Reddit is online, I can avoid it by blackholing anything hosted on 'reddit.com'
A tangential thing that I've found: I also started programming by doing games. Also did a "pong" clone in Basic, a "reverse" UFO game in BASIC as well (you controlled the ship and had to avoid getting shot, get to the bottom of the screen and "rescue" persons [white dots]). I also did some more sophisticated games in C using Allegro. And a bit later I experimented with Direct3D and OpenGL under Windows. I loved making games.

Fast forward 25 years later, I have installed Unity, Unreal and some other OpenSource game development environments, and I just cannot find heads or tails. I've followed some Udemy courses, but for me, the current "game development" process feels more of a "graphic designer" process than a programming process. I would love to make games, but it seems that the current "tools" are more tailored to artists type rather than programmer types.
They wouldn't have to match it, just pick one out of an RMA pile and damage it the way they described.
> As a user, you can decide to never enable GPS.

As a user you can decide this if you never use programms which need access to location, navigation programs, for example. If you look a bit further you will notice that there are a lot of google programs which have access to location like Google play games or google play music or messages etc. There are also some "system" programs for which you cannot disable location access.
someone didn't read it through the last sentence ;-)
> I still dislike the gnome3 title bar with the icons.

It's a key part of touch readiness. There's even a Windows-like theme for Gtk3+ that looks really close to the original, you might like it better than the default look.
In some cases badly designed themes (like dark gray labels on black backgrounds) are the culprit, but most often it’s a result of the app developers hard coding colors in their UI elements assuming all users will be using a similar theme.

That’s not only bad for custom theme users, it’s bad for accessibility since there’s no way for increased contrast modes to modify the hard coded colors. Apps really just shouldn’t hard code colors.
Your IP should provide them (and your bank) enough location info to alert you if your account is accessed from another state/country. QR codes weren't needed to set up the hardware token, so that feels like a feature created to justify the increased access (also phones come with their own camera apps capable of reading a QR code or at the very least photographing one). The mic access is a side effect of android's leaky permission system which hands out the ability to record audio to any app that wants access to your camera.
> and not worse than random selection, I mean democracy.

Not worse based on what?

> Politicians don't spend all of their office time running instead of doing work.

Of course not. They just spend a ton of time on the phone with the people who are their actual constituents, i.e. their donors.
I am actually in a similar situation. I work at a big, well known and well paying company (so the salary itself is not the issue).
I am just so much more productive as everyone else, for instance it happens often that I produce a lot and then feel like I am overloading my team-mates with pull-requests etc.

What I am struggling with most is that I don't have any incentives to give my best and I'm oftentimes simply bored, because there are not enough high visibility projects for me to work on. I've tried picking-up bits and pieces that are left behind and need to get done, but this does not create any visibility for me and is not valued by others. And I am too tired of stretching things out just so that I have something to do during the week.
So like OP I would also like to find a way to be paid for projects and not the time I put into implementing them.

I would be happy to connect with anyone else in a similar situation, email is in the profile.
Can you give us insight, please: When RF plan to surrender?
If you need a good camera, consider Librem 5 instead.
For traditional nuclear that probably true. The energy market doesn't reward stable. You really want to peak when wind/solar are gone or usage is high.

Next generation has two approaches, some try to be very adaptable, scaling up and down quickly. Its not like nuclear isn't capable of that if you have the right reactor. But of course you would prefer to run at 100% most of the time.

Other companies basically use a solar salt coolant loop as a heat sink and battery. Basically reusing the technology from Concentrated Solar Plants.

Moltex Energy for example basically expect basically a default 1h battery and then depending on the costumer and where you deploy it you can have a larger battery and a bigger turbine. You should be able to basically mix and match the size of your heat battery and your turbine.

I could also imagine something like Form Energy Iron batteries just sitting right next to a nuclear plant and simply charging those and saving energy in the form as electricity instead of in heat.
Bass fishing

Bicycle Riding (Mountain bike, Road bike, and BMX)

Weightlifting (in the colloquial sense, not the Olympic sport specifically)

Tinkering with old cars
We call memory a "precious resource" because it is often a fixed quantity in a given computer, and often the most expensive component after the display unit. Many laptops these days do not offer upgradeable memory, and even when they do, they often have very few slots in which to add it. So for many people, an upgrade involves an entire unit replacement at significant cost. I think most people understand this, so again, I don't see how it's particularly controversial.
It would have been strange if brain activity looked exactly the same while performing different tasks.

I mean, for once we might actually have some evidence for dualism.
Sounds good - feel free to email me at sean@realizefi.com
> If you want to learn the rules of western music theory and get into the meat of what you're talking about, it is going to be a lot more work if you don't know what a scale or a chord is, and I don't see anything wrong with teaching those basic concepts from a mathematical perspective.

The problem with teaching them from the particular mathematical perspective taken in this work is that...it doesn't actually teach them, and it throws up it's hands and says I don't really know about fairly basic stuff. This isn't an alternate pedagogical route chosen by someone who has a different view of how to get people up to speed for the domain, it's a smattering of trivia that isn't directed at learning the rest because the author doesn't understand the basics, much less have a particular pedagogical approach to them.
Ideally, the function is POSIX-compatible, so it runs on the widest number of platforms.

Why do we want to adhere to POSIX?

$ man bash | grep slow
It's too big and too slow.

$ rpm -qi dash | tail -3
DASH is a POSIX-compliant implementation of /bin/sh that aims to be as small as
possible. It does this without sacrificing speed where possible. In fact, it is
significantly faster than bash (the GNU Bourne-Again SHell) for most tasks.

So let's find out how this function works in dash.

$ ./testtrim
./testtrim

$ sed -i 's/dash/bash/' testtrim
$ ./testtrim
foo bar

I think I will pass.
Possibly, but if we're going to punish corporations, why not put capital punishment on the table? At what scale of massive recurring societal harm (Google, Facebook, etc.) should we confiscate all assets, disband the company, and auction off everything.
1Password 8 is not the current version.
On 1Password 7 on macOS, when the browser extension offers a "Generated Password" there is no way to configure how it is generated. You have to open the main app to create a new password.
Also there is ansible-console [1] REPL, from which you can run ansible or shell commands, which are executed on multiple hosts.

[1] https://docs.ansible.com/ansible/latest/cli/ansible-console....
So, if RF will invade Ukraine again and Ukraine will nuke a major city in RF in return, it will be a war crime?
Because in America anything that isn’t Capitalism is viewed as the enemy after decades of propaganda against the USSR.

Marxism is socioeconomic analysis of class structures. Marx and Engel’s book Capital is largely a critique of capitalism. Vladimir Lenin expanded on these ideas with methods to transition to a communist society (another thing Marx wrote about). After Lenin died Stalin took power over the USSR and committed atrocities against mankind, fighting Nazis, and leading the country through an industrial revolution. Mao expanded on these ideas in China and is still on track with their 100 year plan written ~70 years ago (as far as I know).

Dismissing Marxism is good for capital and the ruling class as it views BLM as its enemy.
Thank you.

Charts are powered by Lightweight Charts (Trading View open source library)
https://www.tradingview.com/lightweight-charts/
They are related to the mathematical properties of the harmonic series, but they are definitely not rooted in it.

If it was true that western musical ideas of consonance is rooted in simple harmonic ratios, and that our musical scales were based on the harmonic series, then we should be seeing subminor thirds (6:7) and supermajor seconds (7:8) everywhere. They are way more "consonant" than major seconds (9:10), or minor seconds (15:16). But in reality, they are seen as exotic and wrong.
But then councils can compete with each other, the ones outside even do so. There are tons of high rises coming far from Central London but still reasonable commute to center, but that doesn't necessarily reduce the price of properties inside.

Area has a lot to do with prices and unless these outer areas become self sufficient so much that Central London or rich boroughs lose lustre, the inner areas will command a high price.
Nope. If you can afford to live on the waterfront and enjoy the view, but never use your boat, are you morally obligated to sell your house to someone who will be out there fishing or skiing every day?

Land is bought and sold on an open market. Everyone can decide for themselves what is most important to them and what they can afford. One factor behind living in a major city is certainly easy access to in-person employment. But there are a ton of other factors (restaurants, culture, sporting events, community, etc.). If you are willing to pay a lot of money to be close to those things even if you don't use all of them, that's your choice and it's perfectly ethical.
> Music theory is, in my experience, typically taught as a list of facts to remember.

Yes, but accompanying those facts is a set of phenomena that you're supposed to experience physically.
I don't know about that specifically as I have not read Gladwell's book, I have just read a number of comments from people I tend to trust critical of some of his claims.
I can do the work, easily, but I can't come up with an _actually_ good idea, which is my point to begin with.

Work = Easy.
Good idea = Hard.

Ideas are not good just because someone who has them think they're good, there are lots and lots of bad ideas, and for most of them, their owner is under the illusion that they're good.
Humans are not limited to one computer in their lifetime, so the resources of one computer at one moment in time are not relevant to this discussion.

Additionally, your own citation shows that at this moment in time a vanishingly small number of computers have an amount of memory that would result in any kind of performance degradation due to the use of one or a few Electron apps.

Therefore, Moore's Law applies, and we can safely say that resources which double every two years are not scarce.

Your continued insistence on a false fact will continue to be "controversial".
I'm not claiming I'm handicapped. What I'm saying is that a "transferrable skill" is a vague term. We can, if we put our mind to it, transfer skills from just about any domain to another. But just because we can put it (the skill) to continued use, in an altered domain, doesn't meant that others will value it as a transferrable skill. It's kind of like trying to transfer credits between colleges. If they don't recognize the skills you've acquired at your former school as transferrable, you don't get to transfer them, and have to retake classes that may seem pretty redundant.
Web application interfaces have already been ruined for desktop users by trying to serve both mobile/touch and desktop/mouse. It would be a real shame if other native software followed suit.
No, they didn't "warp time". They did an extraordinarily precise measurement of time dilation though. The dilation is caused by gravity, i.e. it's gravitational redshift of frequencies of a particular transition of strontium.
Look, I know there's negligible chance I'll be able to overcome your sunk cost of multiple years of attention and presumably many authored social media posts, but you really can just move on and nobody will actually care one way or the other. The 2016 election wasn't rigged, it's just a weird thing that happened and a handful of Russian people being paid to post poorly-made memes contributed very little to the outcome. I don't like Trump but it's getting a bit embarrassing at this point. A lot of people, your fellow Americans, really did vote for him for their own reasons. You can either integrate that into your worldview or keep living in a world created and then abandoned by media personalities once it outlived its usefulness.
Should've been Argon2id
Secretive doesn’t work if you have existing keys that you want to use from an agent, and it can’t act as a regular agent. It _also_ does not work for Git signing via SSH key, if I remember correctly.

If _those_ issues could be fixed, I’d probably use Secretive. Unfortunately, it broke almost all of my workflows when I installed it and it appears that the choice to use Secretive is all-or-nothing.
Not quite equivalent. When an attacker compromises your laptop, they'll get all of the factors in one go: steal all your bearer tokens, steal your password with a key logger, and operate the TPM remotely.
Agreed, definitely. OS should provide basic colorsheets that the apps use, and those sheets should be freely modifiable.

Which is why I really like KDE.
I think it could be made compatible. Will look into indigo engine, didn't know about it until now. Thanks and good luck!