skysight-inc/HackerNews huggingface dataset:
I am currently using M1 at work and it sucks Ass. The two main painpoints are the unpredicble window manager and the keyboard layout.
WM:
1. There is no deterministict layouts available
2. You can not tab between windows of the same application, (problematic if you use multiple chrome profiles)
3. Switching to a window USUALLY opens the wrong one. In my case, I somehow always endup in VS Code when tabbing to Teams
4. Switching between workspaces (or maximized windows if) sometimes causes the computer to hang.

The second painpoint is the keyboard layout, which also sucks ass;
1. ~|"@, are all in the wrong places.
2. Some idiot decided to prioritice control keys ahead of functions keys, so I have to press fn to use standard debugging keys.

My i3/arch setup is far more reliable and ergonomic.
I know this is off topic and it's not a criticism of your comment but I think it's a shame that Luddite has become so watered down. The real life Luddites put their lives on the line in the fight against industrial weaving. The didn't just avoid using a steam loom while drinking an almond latte.
I tend to only use multiple desktops when I'm on a single screen or working on the laptop directly. In that case it's sorta a task thing, one desktop is chat clients (Slack and/or Discord), one is my editor, another is the browser, and a third is for terminals (for git etc). I use Rectangle to handle moving windows around.
"Things I can’t do on macOS which I can do on Ubuntu", the author forgot to mention that you have to pay ($$) not to be able to do those things...
I believe that is what it looks like from a Russian perspective.
Warfare is much more than explosives. It’s people, equipment, information, transportation, logistics, and a lot more.
I find it impressive that Android is so bad here, when Google has effectively been the leader in U2F for years.

I am in awe that I can't use a FIDO device via WebAuthn in a webview on Android.
Someone wanting to buy more than 4 CDs is enough for you to call them an SEO spammer?

If I want to buy a 6 disc boxed set, does that qualify me as an SEO spammer too?

wtf is wrong with you?
I was born and have lived in England for decades and I've never heard it or read it before ever. I would love to know where the parent is from that they consider it to be "one of the most widely used idioms in the English speaking sphere". How many times per day do they use it? What kind of hell do they live in that they would need to use that phrase so often?!
Fun fact: OLEDs have radically shorter lifespans "in the field" than LED or LCD.

According to a paper from Samsung at IEEE IRPS three years ago, the best OLED screens only have about 2 years (600 hours) best case continuous use but that is extended by "screen savers" and estimates of only 25%-50% customer use in a 24 hour period to about 5 years (extend by not using)

https://ieeexplore.ieee.org/document/8720529

Part of the reason for this: low energy manufacturing materials/processes, by definition (physics), will have low energy failure mechanisms (which always means they will fail more quickly). This is about chemico-physical reaction activation energy. Anything ink-jet created or organic is a low energy process/material.
It’s relevant.
> a deliberately provocative or off-topic comment posted on social media, typically in order to upset others or distract from the main conversation.

Note that words like provocative and upset may lead you to automatically assume every shitpost is highly offensive in political or cultural sense, but that’s not the case. A lot of more recent “shitposts” achieve the same effect by just upping the absurdism.
Yeah, wanted to be able to programmatically ask the window manager such that I can tell new shells to source "~/.bashrc.d/{desktopname}.sh".
Solving problems > Tedious Work
This thread has such terrible answers, I feel compelled to give a better one:

Imperative programming is complex because, at the end of the day, everything we do with computers is imperative. In other words, it's just a long string of instructions executed one after the other. When you're looking at the level of processors and storage, all computer operations must be reduced to tiny, imperative steps.

This is the source of the complexity because any human task "waves away" lots of small details thanks to our own brain and muscle memory. Take the simple problem of getting a book off the shelf. Any human can do it, even young children. But it involves thousands of individual steps related to locating the shelf, locating the book, and coordinating hand and eye movements in order to grab it. All the location data and movement data must be stored somewhere in the computer and acted upon imperatively. With ourselves, we don't have to do that. We can jump from the concept of "grab the book" to all the intermediary steps and the order they go in. We don't have to think about accessing "memory locations" or physical "devices" in our bodies to get things done.

Computer programming will always be complex because of this difference between men and machines. Sometimes we experience the same problems as computers -- when we have to stop and think about the smaller steps needed for a larger goal, or when we have to consciously write down and remember information in order to recall it properly later. In this way, we are "imperatively programming" ourselves to complete a task.
Is "fiduciary duty" defined by the company in it's by laws or is there a law outlining it?
Male violence. Most novels and other fictional media will immediately feel antiquated afterwards, unfortunately
I've always done upgrades and they usually worked, but updating across Android versions is quite painful. You need to be wary not to accidentally keep old versions of GApps and any other system modifications installed, and not all system services migrate that easily.

At some point, a transitionary .zip was published to help users upgrade between versions. However, I'm pretty sure their official policy is still that you should do a clean install.

I think upgrading between versions works (as long as you do it in order!) but your system will be a lot more stable if you do a clean install. The same can be said for any major OS upgrade, really, be it Windows 10 to 11 or Ubuntu 20.04 to 22.04.
A reminder to watch Black Mirror Season 3. There is an ugly future we're staring down the barrel of, illustrated in one of the episodes.
Agreed - I also looked into Mastadon a few years ago when I thought Twitter was too politically run and found it confusing, didn’t know what to join, etc. A few tech savvy folks will do it but most will leave confused like me and go back to twitter.
I'm sorry this happened to you, here's something that might make things better:

https://i.imgur.com/M4VSkga.jpg
If jq is getting too slow for you (that's never happened for me), it really seems like it's time to put your data in a database like sqlite or duckdb at least.

Incidentally there are many tools that help you do this like dsq [0] (which I develop), q [1], textql [2], etc.

[0] https://github.com/multiprocessio/dsq

[1] https://github.com/harelba/q

[2] https://github.com/dinedal/textql
Yes, some of these make sense. I agree with you on fonts. On the other hand what makes the windows snapping behavior/lack of thereof without fiddling a good default?
Whenever jq comes up I feel obligated to mention 'gron'[1]. If all you're doing is trying to grep some deeply nested field, it's way easier with gron, IMHO.

[1] https://github.com/tomnomnom/gron
But isn't the trouble with that that the thing we really want to measure is "I like typing on this keyboard?"
Is that build based on Android 12 ? If so I might be wrong about no custom ROMS adding that feature back in. Maybe grapheneOS and some other ROMS made their own patches to fix it.
Lets say I find an infinity gauntlet. What would I change? Probably nothing.
No, that's the correct definition of a Hamiltonian cycle. However, the article isn't as clear as it could be about what the "increasingness" aspect applies to.

> It’s possible to think about any property, so long as it is “increasing” — that is, if adding more edges to a graph that already contains the property will not destroy the property.

The "property" here isn't the Hamiltonian cycle itself, it's the property "a Hamiltonian cycle exists within this graph". This property, rather than the cycle itself, is increasing: if you add edges to a graph that contains a Hamiltonian cycle it will still contain a Hamiltonian cycle.
jq is incredibly powerful and I'm using it more and more. Even better, there is a whole ecosystem of tools that are similar or work in conjunction with jq:

* jq (a great JSON-wrangling tool)

* jc (convert various tools’ output into JSON)

* jo (create JSON objects)

* yq (like jq, but for YAML)

* fq (like jq, but for binary)

* htmlq (like jq, but for HTML)

List shamelessly stolen from Julia Evans[1]. For live links see her page.

Just a few days ago I needed to quickly extract all JWT token expiration dates from a network capture. This is what I came up with:

fq 'grep("Authorization: Bearer.*" ) | print' server.pcap | grep -o 'ey.*$' | sort | uniq | \
jq -R '[split(".") | select(length > 0) | .[0],.[1] | gsub("-";"+") | gsub("_";"/") | @base64d | fromjson]' | \
jq '.[1]' | jq '.exp' | xargs -n1 -I! date '+%Y-%m-%d %H:%M:%S' -d @!

It's not a beauty but I find the fact that you can do it in one line, with proper parsing and no regex trickery, remarkable.

[1] https://jvns.ca/blog/2022/04/12/a-list-of-new-ish--command-l...
Finally my customers PR managers can deal with translation without my help.
You saved my nervous system, guys
> They also make some performance claims towards the end of the article.

essentially a marginal speed increase they think on json, but a much bigger speed increase (5x-100x they claim) if you switch to their native format ZNG.

if I'm switching formats completely, I'm not sure why I care about jq vs zq in json performance ...
Yes, adjusting for inflation does matter if your base is devaluing at roughly 10% per year now.

Comparing tons of explosives doesn't make sense since information advantages and other factors have large effects on effectiveness of weapons (e.g. two rockets sinking Russia's black sea flagship).

Not that dollars make necessarily more sense here, but at least people understand dollar values.
As a hobby composer, my takeaways have been very similar. Inspiration can be sudden and fleeting. If I don't finish something in a short period of time, I loose the feeling and impetus for what I was writing. I've started an order of magnitude more tracks than I've finished.

My friends and I have a tradition where we each write a song and then play them on News Years Eve. We usually procrastinate and do it at the last minute. There are usually some good bits and we have fun doing it. It's low pressure and the deadline forces us to finish.

For me, technology can be more distracting than beneficial. Modern DAWs have so many settings. There's always something new to try or a setting to tweak. My goal for now is to try staying focused on the composition of the piece and capturing the mood and feeling I am trying to convey. If your composition isn't solid, your track isn't going to be good no matter how much time you spend on the mixdown or getting your drum kit just so.

Easier said and done, but that's my goal!
Run by cops, for cops; everybody informing on everybody.

https://www.theguardian.com/us-news/2021/jan/27/proud-boys-l...
Yes, iTerm2 is one of the best macOS apps. It's the first thing we have new developers install if they're new to macOS.

On the 120Hz MacBook Pros, there's an advanced iTerm2 setting that lets you change the maximum frame rate to 120 or above (adaptive frame rate also needs to be disabled).

For monitors with a high refresh rate, it's worth checking out. You can see the difference by running:

$ cat /dev/random | hexdump
>You can't count on anything on the web lasting.

Can I theoretically buy a Domain name outright? Or for 99 years?
>Male violence. Most novels and other fictional media will immediately feel antiquated afterwards, unfortunately

Female and non-binary violence would be allowed?
Awesome! Now I can listen to music using headphones while being able to play it through the MacBook speakears at the same time. That'll provide a better social experience of listening to music.

I'm sure there are more uses to be found but that was the most immediate I found.
Well, there's two ways to look at the data. One is how much we as a civilization are prioritizing military spending as compared to everything else. I think that if we charted military spending per GDP, you'd see the number on a pretty steady downward projection and possibly near 100-year lows. So, great, we're not building war machines at the direct expense of healthcare or infrastructure or education.

But, as the title says, spending in absolute amounts is higher than ever and it's the likely the amount of stockpiled "killing power" is an all-time high. Nuclear weapons are the big outlier, but the nominal amount of vehicles, munitions and soldiers and their respective increases in efficiency probably mean we are more deadly than ever.
This is pretty cool to see! Still really odd that i couldn't just take any ROM and install it on my current phone from a slightly less popular manufacturer: https://www.ulefone.com/

Of course, phones don't work as regular desktop computers do for some reason, though i really enjoy being able to just throw Debian/Ubuntu/Rocky/Alma (or some of the BSDs as well, though support varies) at some pile of x86 consumer hardware and have it vaguely work.

The only exceptions to that have been specific components in laptops: trackpads (disabled in default config back in CentOS/Fedora for some reason), Wi-Fi drivers (needed to be compiled off of GitHub) and fingerprint scanners (no idea, never worked on *nix no matter what i did).

Edit: apparently there is an older version of LineageOS available, though. https://www.getdroidtips.com/lineage-os-17-1-ulefone-armor-x... (just one device, i have a slightly different one)
Shitposting is like Zuck wearing a t-shirt and flipflops during meetings with investors and banks.

When it's just one person doing that it's great to make you stand out from the crowd....when it's everybody doing it, then you better wear your black suit and tie like you work at Goldman Sachs and also sport your highest Ivy League vernacular because that's the way you standout from the crowd in such instances.

As a society we have not yet reached that crossover yet, certanely SV hasn't... but in certain communities online you see it as begins to happen.

There is nothing magic or better about shitposting, it's a way to differentiate oneself from the rest, so it's only natural that when everybody is shitposting you want to do the opposite.

It's like Rotschild said. Be fearful when others are greedy and viceversa. Works with social trends such as politics, fashion etc. Do the opposite of what people in your surroundings do and chances are you'll be rewarded if you can hold this behavior long enough.

What you don't want to do is give in and abandon your differentiation right when the tide starts turning, like all the guys who bought the very top of the Nasdaq in 1999
I've been complaining about this for 30 years (and protesting sometimes too).

It feels hopeless, on some days I completely understand why some protestors immolate themselves... but younger generations have always made me feel a little better (I wish more of them would vote, but I understand why they don't).
So many gloss-over statements in this pastebin, it's hard to know where to start critiquing it
Again, just making shit up: TFA says "10GW HVDC" in the first paragraph.
I've recently tried this and got burnt. Spent a week of my own time doing a (what I believe to be) pretty serious improvement to both code structure and runtime behavior for a very green-field project. Showed it to Product Owner "This looks great to me, but you should talk with X see what he has to say". Talk to X, total subjective dismissal.

Now I could go on the offensive and push my vision slowly but certainly, but I won't. Ultimately, I am not responsible for the product, nor for the product owner or colleague's (ignorant?) attitude, and truly I don't want to spend my time improving more than what is *wanted* in the project and my own craft.

I would have better spent the time doing Leetcode than trying to improve this and I find it hard to see why I would engage in something 'slow but certain', against odds, for something that doesn't truly benefit narccisistic me.
Graph only goes back to 1990.

Agree with OP, even during the Vietnam War spending was higher.
How to lock down your Twitter data, or leave, before Musk takes over
This could be a Safetynet issue, which you can fix by rooting your phone and installing Magisk + the necessary module. It's not a perfect fix (Magisk can't make GPay work) but it works most of the time for me. My bank is fine with me running a rooted phone, so I can't tell you for sure if it'll fix your situation.
1) 80k/3 is 26.7k, 1.2k*12 = 14.4k. So, yeah, you can save for a downpayment by merely putting away your "comfortable housing spend" income, even before you move to a 1br apartment (1.2k median rent is for all units, even then I can only find 2019 numbers <1.1k), or save from the other parts of income.

2) Median house (not a Bay Area house) in 2019 was like 320k. Crazy house valuations are only from the last 1.5-2 years and wouldn't have affected generational norms (and we all know why the suddenly exploded). Even then, the median house is 410k, so all you needed/need you need to save is 65-80k in the /worst/ case.

3) Most people buying houses are/should be dual income, given the size of the median house. And given that you're competing against double income people (don't like it? you'd have to roll back the drive for emancipation/equality :)). If you double the income above you can save for a downpayment in like 3 years. I know families where neither partner probably makes 80k buying houses in boring cities e.g. in Texas - and not a starter house either... How? Dual income + non-coastal prices. And yeah, there are tons of jobs in the area.
Point 2 is handled with cmd` (backtick). The fn keys thing is a setting
I grew up in that era too. It was interesting how narrow-minded the marketing was on these things, but we hadn't really explored ideas beyond the things you already did on paper (file recipes, balance checkbooks, track your investments).

Even Apple wasn't immune.

https://www.cultofmac.com/wp-content/uploads/2014/06/a2origi...

None of this really changed until VisiCalc came along.
Thanks for your input! In the end every Thin app is just a postgres database. So if you want to move to a different backend, you could replace Thin with a handcoded backend connected to that postgres db.
I don't care about every employer lol. My interest is my raise. If I can continue outpacing inflation, then I continue winning. How do you think rich people stay rich?
“Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed.”

- Dwight D. Eisenhower
Yep, I also think that macOS can use some improvements on the window management department but there are very good tools to fix that.
And you can count on one hand the guys responsible for this right now. It's crazy to think that some guy with mental issues, just within a month or two, triggered a massive militarization.
The stock market has a fairly direct reverse correlation with interest rates. So when interest rates go up, the stock market goes down.

The p/e ratio is a measure of earnings per dollar of capital. If you invert it to the e/p ratio you can directly compare to interest rates. So a 5% interest rate is comparable to a p/e ratio of 20. So when the interest rates goes up, the "natural" p/e ratio for stocks goes down, thus deflating the stock market.
> Each book you write, if researched from scratch, is kinda equivalent to a PhD.

That's an interesting perspective. A PhD Thesis is basically a book length manifestation of original work. Which should apply to any book worth publishing, too.
The thing that astonished me when I moved to MacOS was how many odd choices they made in Finder. For example:

* Not being able to easily rename a series of files (i.e. with `tab`).

* How it defaults to searching the entire computer rather than the current folder.

* The unintuitive way that moving files works (i.e. you can't just cmd-x, cmd-v, like everywhere else, you have to copy it, then opt-cmd-v).

I recognize that posting this invites someone to tell me I'm doin' it wrong, and there's actually a better way to do these things. I welcome that!
Ask HN: What good does running Twitter have to do with getting to mars?
It has been said that Elon Musk makes all decisions through the prism of whether that decision get's humans closer to having self-sustaining life on mars, or to "make life multi-planetary".

How the hell does taking on the burden of managing a social media company factor into those goals?
Maybe use a disk that's "independent" on the VM? That way you can spin up a temporary beefy VM, attach the disk and get instant access to your DB.

Never tried, but I believe that's how these GCP disk work: https://cloud.google.com/compute/docs/disks#pdspecs
Oddities aren't proof and the existence of a laptop isn't shocking. I own a laptop.

The op made an accusation as if it was a fact
I use i3 (tiling window manager) basically as a maximize-by-default: I have everything either maximized or split vertically once. When I use more windows than that, I typically spread them between workspaces.
Would any climate activists actually disagree with him? Yes, the situation is dire. Yes, the task at hand is incomprehensibly hard. That’s the whole issue!
How to Make Double Wheels Wooden Crossbowfishing
Yes, he would have founded SpaceX. Look at the market. It was there for anyone with enough capital to dominate. You think Bezos got into Blue Origin because he liked Star Trek? Being first to Mars is adorable. Being first to mine asteroids turns billions into trillions.
I'd remove the collective action problem. That would empower humans to solve their big problems as they see fit!
The term I'm thinking is "pastiche". I usually apply it to "Disney World" type of items or places that try and recreate the feel of a different time. Some "speakeasy" bars fall in to that category.
murdered? - wow, go back to bed, you need more sleep.
Most recent hardware should "vaguely work" using GSI images.
Nice, I didn't know about that. Thanks for sharing!
Top official being Lavrov, whose reliability is questionable.
That's what I thought right up until Russia invaded Ukraine. I couldn't believe it happened for 3 days.

Nah, as long as there's humans around, you better be armed and trained. Vicious animals, you never know when they'll decide to rape then kill you.
I wasn't aware those were documented world-wide issues. Please fill us in!
This is not correct.

The underlying causes of inflation are the monetary levers that the government controls. These are money printing and taxes.
nation states
Please try https://github.com/phhusson/treble_experimentations/wiki for recent devices (Android oreo and later). GSI is fine; of course not everything is perfect. Also google XDA GSI forums for specific advice
I would love to see what jq looks like on something like a 1mil line Json vs this. In my experience jq syntax is fine and I've not ran into a performance issue on any one file but I seem to see a jq clone every few months on here so someone seems to need that, or maybe it's just the new volume slider problem who knows.
Who Is Risa Hoshino?
The biggest benefit the working poor are receiving is the low unemployment rate. The working poor are much better off with a low unemployment rate and high inflation than they are with high unemployment and low inflation since it is usually the working poor that fill the unemployment ranks.