skysight-inc/HackerNews huggingface dataset:
You nailed one of the biggest problems with current efforts out of Faceb...Meta. They are trying to recreate physical experiences in VR including the exclusionary limitations of physical environments.

A concert in VR has none of the natural limitations of a concert in the real world. Every member of the VR audience should be able to watch the concert from any location. Everywhere from on stage with the band to it just in a window in SIMD other virtual space so it can just play in the background while doing something else.

Even "stage" is a silly concept in VR, the concert could take place in a Star filled nebula or the halls of Moria. A concert in VR could look like a music video of a band playing in some crazy location in impossible costumes.

VR clients should also be able to control what they see. Watching that VR concert they should be able to enable or disable whatever elements that they want. They should be able to change a parameter and shift the concert venue to some other motif or disable the rest of the crowd to have a private show.

Instead of any of that Meta is just building nosebleeds thinking people are interested in having those physical limitations. If VR doesn't enable experiences that would be impossible in the real world then it's just a shitty lower fidelity version of the real world. Zuckerberg can go surf on his private beach in Hawai'i whenever he wants. Everyone in VR should have the same luxury of a private beach, dwarves forge, or a space station orbiting Jupiter. Meta is building VR where users are just as excluded from private beaches as they are from Zuckerberg's private beach. No one wants to be as poor in VR as they are in the real world.
The MagicMock class from unittest package does what you want.

I have a hard time understanding any use case outside of such mocking.
This is an incredibly naive estimate, and the author couldn't even get the simple math right. (22 billion + 330 million) * $18 = $45.5B.

Most Lightning cables are sold by 3rd parties, Lightning didn't even appear on iPhones/iPads until the iPhone 5 and 4th-gen iPad, etc.
Telegram has more reputation that Meta.
I understand where this author is coming from, and I agree that sex should not be considered a "social construct". I think it's good to note two things: First, there seems to be other definitions of the word "sex" which is weaponized by extremists on all political sides, and those definitions of sex certainly are social constructs.

Second, this author is hell-bent on asserting (with minimal evidence/argument) that there are only two sexes ... even while acknowledging that 0.05% of the population is intersex. I'd say it's wholly inappropriate to ignore intersex individuals, and probably also incorrect to not provide eunuchs/etc with their own sex classification.

Biologically, intersex individuals would be the vector by which humans might some day evolve to a species with non-"bimodal" sex. Ignoring them would come at a risk of missing potential early population changes over the next 100,000 or 1 million years.
Stone contractor promised to deliver 1000 blocks, only installed 753 blocks. Pocketed the difference.
You think Apple would approach this with a little bit of acceptance/humility given all the greenwashing marketing BS they spew. This change is a good thing for them, the environment, manufacturers, and consumers.

And not to mention, the legacy lightning jack has been stuck on Y2K-era speeds (480mbs) since it's inception. This dumb connector should have been binned by any "innovator" 7 years ago.
Why must it be true every penny they earn is through real work? They have earned a lot of tax breaks and free gov cash over the years to stabilize business. Maybe it’s all a weird web of savings and investing, years of inflating their wealth through word of mouth, making us believe they turn a profit. They fought to keep alternatives at bay through political and scientific manipulation. How do you know they even make money; have you looked through their books?

You’re trusting word of mouth without verification. You’re making their success a given.
How to Raise Investment (2021) - https://news.ycombinator.com/item?id=28509306 - Sept 2021 (42 comments)
Even if they try to get the low end - they fail at it, their customers just buy the high end stuff, see iPhone 5C, iPhone Mini, iPhone Plus now - all "cheaper" and cancelled or not doing well.
ECB raises benchmark rate by 0.75 percentage points to 1.5%
> I don't want to sound bitter about it, but I am a sole provider for a family of 5, and I guess I could _retire_ after two years of these earnings.

To be clear: You really couldn't. After tax that's probably more like, what, 300k depending on where you live. Family of five, you could save, what, 250k optimistically? Which means 500k in two years. And you cannot retire on 500k.

But, say, 10 years? That's doable depending on your expected income in retirement. Which is, admittedly, still pretty damn good...
We took a hard look at the economy before buying our house. Ultimately, we bought when interest rates were high, but prices had not yet come down.

There's no crystal ball, but it sure looks like our investment will go down in value in the next few years, perhaps precipitously.

I think of it this way: We bought the house we want for the price we can afford, and will happily enjoy it for two decades without price inflation, even though our salaries will likely go up. So, it's a win, even though we bought at what looks like peak market.
I would like if some of my 21st-century jeans would hold together for more than a year or two.
I'm calling the cops on the Cisco MS450-12 right now.
> There's a sort of obvious framing to the piece that the Constitution should be more fluid and easy to amend. I think 2022 is a very weird time to prioritize that. I'm not a doomer about US politics, but they're not in a very good state right now. Lepore talks about national abortion, immigration, and firearms policy and how they'd be impacted by a more readily-amended Constitution, but I think she should take a wider view and look at things like how speech and free association would be impacted.

The article is just a whine-fest about how "we could ban things I don't like and make law things I do!" Just from the perspective of a historian which doesnt mean they're immune to someones extreme biases.

> It's about how the modern Constitution has become "un-amendable", but it spends a big chunk of the middle of the piece demonstrating the Constitution was never really all that amendable: successful amendments are extraordinarily rare, especially when they're about big-ticket issues. Our biggest structural changes occurred after an enormous civil war.

Indeed, the greatest success of America is the unamenability of the constitution. Yes, in edge cases like slavery you would wish something could be done. However, nothing in said constitution explicitly permit slavery. Interpreted in the most charitable way slavery should've been unconstitutional from the get-go. At any rate, the constitution is about as close as we can come to a "ground truth". Other countries have constitutions that are more amenable. As a result, there's political chaos all the time as every politician does their own thing and undoes other things. Since these are ground truths all other laws can be forged from them. It appears this historian needs to go back to US Government 101. Nothing in the constitution explicitly forbids abortion, immigration, etc. In fact, the constitution should take no position on these issues. They are not "ground truth" rights that we are given for simply existing. If you head down that path, then suddenly we are codifying what will end up looking like the 10 commandments instead of a book of rights. The constitution is not a moral guide. It's a series of meta-laws from which all others can (should) be derived.
Nah, this is all about Apple and their ATT changes.

Like TikTok are losing money hand over fist, so it's not that the advertisers are moving to them, it's that advertisers have essentially been forced to give a bunch of the money they were previously giving to Fb to Apple.
In the example I gave I wouldn't write that in a script file, so I would just alter the command itself.

If I wanted to parse cli args I would use case on the input to mux out the args. I personally prefer writing cli interfaces this way (when using a scripting language).

while test $# -gt 0; do
case "$1" in
-f|--flag) shift; FLAG="$1";;
esac
shift
done
Learning functional programming well is like learning algebra; it really pays off to take a theoretical course from first principles, by a teacher who can also teach you the idioms (parameter accumulators, currying, monads...)
That happened almost 2 years ago - how long will they milk that excuse?
It’s not Apple that you have to worry about not supporting the full spec - they already do with USB C iPads.

It’s the Android manufacturers and your local convenience store. Meaning it is still “contributing to ewaste” when you can’t use your old USB C cords to get all of the functionality that is part of the USB C spec.

This is yet another example of EU regulators not thinking through their proposals — see also the GDPR whose only consequence is a bunch of cookie pop ups.
And don't forget the invisible $0 field in awk...
If you think this won’t slow innovation in the connector space you’ve lost your mind.

It might be worth the lost innovation, but to pretend that this won’t impact new development is just fantasyland.
I use a shell function I found somewhere. It might have been linked here, I can't remember. This is probably only useful for people that spend a lot of time in a shell. One could adjust the text formatting and date format to their preference.

# cat /etc/profile.d/notes.sh

function notes()
{
if [ ! -z "$1" ]; then
mkdir --mode=00750 -p ~/.notes
Now=$(date '+%Y%m%d.%H%M.%S')
echo -en "\n$Now\t$@\n\n" >> ~/.notes/notes.txt
else
echo "${Now}"
cat ~/.notes/notes.txt 2>/dev/null
fi
}

For syncing I suppose this could be pushed to a cifs/nfs/sshfs share, or into a git repo or emailed.

Usage: notes some text -or- notes "some text that needs to be quoted in a shell;/;-)" then "notes" by itself to read all the notes. I suppose a function to null out the notes.txt file would be handy and maybe a function to commit the notes to a repo.
I once reversed engineered Bloomberg paid api in iOS to get articles in terminal.

2 months later. The api started miss matching article dates, breaking the articles in different segments; making it difficult to put together.

After fixing my code.

1 week later.

CAPTCHA. So I use proxy to read it.

Lastly. My IP is now CAPTCHA on my phone and laptop.

My point is Bloomberg is a crap company with a lot of gatekeeping to information.
If you define u to be a column vector, and u' to be its (conjugate) transpose, and define matrix multiplication as usual, then u'v is a dot product and uv' is an outer product. What you mentioned about the standard basis vectors in R^3 works for standard basis vectors e_i in R^n using this notation; e.g., e_i e_j' is an all zero matrix with a one in the ith row and jth column.

If you have a hard time remembering whether u should be a column vector, you can simply identify things that look like u with vectors (|ket>), and things that look like u' with linear functionals (<bra|). Then u'u is just a dot product.

There are other notations, too... Sometimes (u, v) and u \cdot v are inner products, sometimes u \otimes v is an outer product.

Generally linear algebra-style notation is terser and has less line noise. IMO, some manipulations are simpler to think about using this notation than with the bra-ket notation, especially when you're doing numerical optimization or numerical linear algebra.

Maybe another reason to prefer it is that modern notation for operator algebra follows this notation and not the bra-ket notation (although I think bra-ket notation was invented for this purpose...). If L is a linear operator, L^* is its adjoint, Lu is the application of L to u, etc...

Of course, what notation you should use is determined by what community you belong to. If you're publishing papers on numerical linear algebra, it would be very strange to decide to use the bra-ket notation instead. The purpose of notation is communication. The goal is to communicate ideas to other researchers. It's good to develop the ability to be flexible with notation and go along with what other people are doing.
It’s sad, but we will simply never get past the point of rearranging the furniture while we argue about the accuracy of estimates of the iceberg’s size.

Why is this the font of your passion, rather than the desperate situation of our planet?
This is the weirdest "recession" I can remember. Business leaders are constantly talking about how challenging the economic environment is and the need for layoffs etc. Meanwhile most of the underlying indicators are actually positive. Growth is strong, employment is strong. Anecdotally we're still having trouble finding good candidates. It's almost like there is a class of business leaders who are just trying to wish a recession into existence, and I can't figure out why other than maybe they think it would allow them to reestablish power in the labor market.
Everyone Is Wrong About AI Writing Tools
Noiceeeee
I'd expect a political hit piece to dive into Exxon's record in Russia given the current geopolitical tensions. Those include, for example, ex-CEO Rex Tillerson's meetings with Russia's fossil fuel czar, Igor Sechin, Exxon's role in building the technologically advanced Sakhalin natural gas project and its LNG export system, etc. For anyone interested in that history, Steve Coll's "Private Empire: ExxonMobil and American Power" has a whole chapter on it:

https://www.goodreads.com/book/show/13372977-private-empire

See also stories like this (2011)

> "Where BP had planned to swap stock, Exxon, which is based in Texas, agreed to give Rosneft assets elsewhere in the world, including some that Exxon owns in the deepwater zones of the Gulf of Mexico and on land in Texas. In announcing the arrangement at a surprise signing in the Russian resort town of Sochi, Prime Minister Vladimir V. Putin described a sweeping global alliance — and a potentially vast investment by Exxon in the Russian Arctic."

https://www.nytimes.com/2011/08/31/business/global/exxon-and...

As far as work culture, I can't imagine Chevron being any worse that Exxon, and descriptions of Facebook's internal pressures on employees don't seem all that different from Exxon's.
Saying that RSUs have more upside than full cash comp has nothing to do with being spoiled lol. It’s just a mathematical reality.
Anybody not stony-planet primitive will have worked out aneutronic fusion. There is plenty of helium-3 in Neptune's atmosphere.

And that is just stuff even a stony-planet primitive knows about.
The harms of a tobacco company are mostly limited to their users, especially since smoking bans have been implemented in restaurants and bars.

The harms of an oil company literally effect every human on earth. There is nothing I can do and nowhere I can go to avoid their harms. I'd consider Exxon among the worst of the worst, since they knew about climate change since the 70's and denied/buried the science.

https://www.scientificamerican.com/article/exxon-knew-about-...
OOP in FP (1999)
I stayed in a hotel recently with one of those clock radios with the 30-pin connector on top. It would have been nice to have it use the larger speakers for background music and the alarm. But with over 200 rooms they probably weren't in a rush to replace all those units with Lightning and now USB-C.
Please don’t abuse the back button.
I actually use my reMarkable 2 mainly for reading. I'm not big on note taking (I did use it to draw graphs for presentations occasionally, though). I picked it over other e-ink readers mainly because:

1. It's big enough for PDFs.
2. It's a relatively open system (compared to other e-ink readers), so it's pretty fun in terms of hackability.

I did get the forever free subscription which helps, but I also totally understand why they would want to charge for that, and I think the new $3/month is a pretty reasonable price for it.

Regarding instapaper use case and also hackability, shameless plug: I wrote https://github.com/fishy/url2epub for my own use case, so instead of relying on a third party service and manually sync stuff to reMarkable 2, I just send the link to the telegram bot (I picked telegram bot so that I can easily send links from my phone, not only desktops), and the epub will be auto synced to my reMarkable cloud account (they did made some changes to the cloud api causing I have to manually open their official mobile or desktop app to sync once before the reMarkable 2 itself would accept the new epub I uploaded through url2epub, haven't figured out how to avoid that yet, but it's still mostly automated).
And because a large portion of the delegates thought that the numeration of the rights was unnecessary as it wasn't the point of a constitution.
Unless you're thinking of gacha games, I don't see the similarity. In general, video games have defined victory conditions and rewards. Gambling, outside of certain card games, doesn't.
I think with regular old java this would be impossible to do in a reasonable way. But with AOT compiled Java and extensions like @Uninterruptible you can do it.

I think I'd phrase it like this:
you can write a GC mostly in Java.

Other GCs than the default Java one in native image like G1 actually embed the C++ version of the implementation instead of writing it in Java.
Even if the compiler had good optimization of three way compares, this would be useful for passing to a higher order function. Say a function that allows you to specify how strings should be ordered.
I’ve bought dozens of cords over the past decade that weren’t MFI certified and not have any issues. Do you think the top selling Lightning cables on Amazon or at your local bodega or convenience store paid Apple a fee?
Shopify Earning Results Q3 2022 [pdf]
Drawing is the simplest way to get better at drawing.

Redrawing is the simplest way to refine a drawing.

The traditional way to do this is with tracing paper and overlaying sheets.

And letting the first attempt suck…and the second..and the…well the next thing is always more drawing.

Not that books aren’t good, it is that mostly you’ll be just nodding along instead of doing the hard work of drawing.

Good luck.
It’s shocking to me how many people in America are hoping for the national economy to do poorly so that their party could win the next election. This isn’t just limited to one tribe.

The same doesn’t exist in Europe AFAICT. I don’t believe anybody is hoping that Putin would shut down the gas pipes for good so that their favorite politician could win an election next year.
Who is prohibiting them from replacing RJ45?
Amazing! Just checked out the summary for the Ye episode, and it actually gives a great overview of what was discussed.

Really looking forward to having this feature for other shows.
MySQL-Mimic: Python implementation of the MySQL server wire protocol
I agree with you that the lack of semantics, and their discussion in almost all Programming Language creation tutorials/books/videos, is disheartening.

However, I often wonder why it’s left out. I think charitably, I can assume that authors want to present the mechanical implementations and development of a language and it’s developer experience. To do do so, they just use typical (and often simplified) strictly imperative or strictly functional semantics hoping the audience has an implicit understanding of what the PL constructs ‘mean’. Or, I can assume with a lot less charity, that programming language semantics (particularly novel or niche semantics) are hard to understand and explain and the authors are not competent to talk about it so they just don’t bother or consider it.

Where do you find yourself falling in explaining the lack of semantics in these types of tutorials on PL design?
Now I want a laptop with an SFP jack. Because why not.
It is possible if core team decides they are better with something else. No doubt, there is some conservatism in the community.
> Managing code decorated with Java getters and setters is hell and complicated. The lack of a meaningful solution to the problem of getters and setters is just the tip of the iceberg.

I don't use Java much these days, is this a huge issue still? Back when I used to do a bit of light java, mainly dealing with minecraft server plugins, almost everyone used lombok which seemed to do the job.
Actually drinking in the day at least from 12 noon was pretty acceptable too about 20yrs ago. Large companies often had a management bar in the UK. Office staff had a drinks cabinet.
I think Fossil Fuels are one of the most incredible things that we made and used from Human flourishing standpoint.

Oil is objectively amazing as a fuel.
yeah thats exactly right. it may only take an hour to learn, but every time i need to use awk it seems like i have to spend an hour to re-learn its goofy syntax.
Rust has been the language of the month for a few years now
I subscribe to Spotify to listen to podcasts, and occasionally music.
> you still end up with tons of code duplication if people followed the advice.

Code duplication is the go way
Absolutely.

USB-C appeals to techies, people with an engineering mindset, because it's an elegant solution. It's one connector, with graceful handling of different use-cases from charging, through peripherals, to high-speed high throughput data transfer.

But practically speaking, I've bought several HDMI adapters, had a hard time choosing a mouse that had USB-C a few years ago, have bought a new charger, lost MagSafe on my laptop. This is how most people view it, and it's hard to convince them otherwise, and rightly so!
Does inflation factor into this number?
You probably don't want to investigate the history of the space force then.
Amazon CEO violated labor laws with union remarks, federal agency alleges
I won’t sign up without having first a look at what I’m getting out of it. I can’t even see the current rates. Is this just a lame trick to get emails?
Now explain why the same decline is seen across every urban police department in the nation regardless of local politics.

Police productivity and effectiveness is a nationwide crisis.
It’s at least 10%. We cure many cancer(s), heart disease, Alzheimer’s, etc over the next 100 years.

There’s also likely a few discoveries on improving general health.
The fed said interest rates will keep being raised until unemployment rises.
Apple Mail Crashes in Ventura
Learned that my iPhone limits webpages from refreshing when left alone or when scrolling. I need to zoom to get a page refresh.
If you're interested in news about changes in time zones and such, look at IANA's discussion board. The maintainers of the timezones DB use this forum to learn of changes around the world.

https://mm.icann.org/pipermail/tz/2022-October/thread.html
The regular type-based polymorphism/overloading, afair. Just like in C++. Typescript has a way to simulate it, but the code remains the same as if there were no types/overloads. https://www.typescriptlang.org/docs/handbook/2/functions.htm...
China or Russia would be entirely powered by nuclear and would be the world's leading industrial nations if it were as easy as proponents suggest. China is the world's leading industrial nation, but their national energy production from nuclear is a quarter of the US's (5% vs 19%). India has a quarter of global reserves of thorium and doesn't have a single commercial thorium reactor.
A lot are just focused on the next earnings call which makes sense I guess. If they work to deal with this "emergency" and it doesn't happen idk if there's a big price to pay.
Just looked around their website. Is it not strange that one of the main propositions of a "privacy-focused website analytics" platform is that of bypassing ad-blockers? (i.e. not allowing people to block websites from collecting their usage data)