skysight-inc/HackerNews huggingface dataset:
> Also, because of the async keyword, library developers would also have to make a different sync/async of each function they want to declare.

No. If you are an async program calling a sync library, you can use `tokio::task::spawn_blocking`, and Tokio will run your sync function on a worker thread that's allowed to block https://docs.rs/tokio/latest/tokio/task/fn.spawn_blocking.ht...

The `reqwest` library offers a sync API by just wrapping its own async API: https://docs.rs/reqwest/0.11.12/src/reqwest/blocking/client....

For libraries that don't do this convenience wrapping, you can just create an async runtime like `tokio::Runtime` and use a function like `block_on`: https://docs.rs/tokio/latest/tokio/runtime/struct.Runtime.ht...

Since all Rust programs have sync entrypoints, there is always some way to call async functions from sync functions. It's not like C# or Go where the async runtime is a singleton built deep into the language. You always have control of it.

In practice, if I'm doing anything with networking, I always end up wanting async, so I prefer to have the runtime and use spawn_blocking for sync APIs.
I see a lot of tinfoil theories in the comments but no one mentioning "url unfurl" capabilities. You send a link, it's encrypted end-to-end, it arrives to the other side, and the link is unfurled for display. Bam, Facebook knows you sent that link.
I’m sorry, but if you really think gun rights are nearly eliminated in the US, you’re delusional.
So it's end-to-end encrypted, but your data is sent to some "ends" you didn't think it would be sent to? Well, if that's not a good reason to end your usage of WhatsApp, then I don't know what is...
Using it in that example is still dangerous. The worry isn't only about line workers. It's about plugging in one end and holding the other. Exposed live contacts are never ever a good idea.
IBM i is still in development and also has a 128 bit pointer.
I also know that we could put pigs on airplanes. Google is still an ad farm that isn't creating new value for anyone other than Google in this case.
Netflix Reduces Payments for Comedy Specials in Some New Deals
Bioacoustics: What nature’s sounds can tell us about the health of our world
Paywall removed:

https://www.wsj.com/articles/netflix-reduces-payments-for-co...
The approach was fairly simple: access to the college board’s website was geo-IP restricted for about 5 days time. It would start with a small collection of states, and each day over the five days another group of states would get access to the site starting at ~8:00am EST. I would get a few AWS/GCP/DigitalOcean nodes in a DC that had an IP in a state releasing on the first day. Put a small JS script on the nodes that would use the username and password input from students to sign in to their Account and send back the scores. Basically just a proxy without the need for configuration.
This is terrible, well done
It is a bit more involved than that, but yeah that is kind of basics.

The Switch supports OpenGL 4.6, Vulkan, and their own API NVN, which actually many engines make use of. Most likely Factorio is using one of the former anyway, so that problem is kind of out of the way, other that having to deal with the extensions and hardware/driver specific behaviors.

Then as they mention the blog, having to adjust the way the GUI works from a PC setup to an handheld.
I wish it would make the already lenghtened url even longer recursively!
The Disappearing Art of Maintenance
It goes without saying that quality of research is very important.

However, getting a TT position is much more about connections and fashion than people think, especially in a field like pure math where it's much more difficult to argue concrete applicability and outcomes of your theoretical work. And this is especially true when there are many people doing top quality research (which there are).

A top advisor will be able to sell you to departments elsewhere for a top postdoc, or straight into TT if you are impressive enough. They will also be able to culture you appropriately so that all your application materials look precisely right.

Finally, a top advisor will have a significant breadth and depth of knowledge across research fields (this is rarer than you might think in pure math) and be able to guide you to work in areas that have better job markets.

The reality now of TT applications at desirable universities is that the pile is hundreds of applications deep. Each application is a hefty bundle (cover letter 1-2 pages, research statement 2-10 pages (probably on the longer side for math), teaching statement 1-2 pages, cv 3-6 pages depending on formatting, 4+ letters of recommendation each several pages, and other documents like EDI statements which can run 1-2 pages). How the hiring committee winnows this list down to a short list of candidates depends on the institution, but you better believe that if famous prof X from Harvard, who was best friends with commmittee member Y in grad school at Harvard, makes a personal recommendation for candidate Z to committee member Y, then candidate Z has a significantly higher chance of making that short list than anyone else in the pile.

Another reason for this is that the work is so esoteric and fields are so siloed now that it's very hard for committee members to make a fair and true evaluation of research quality for themselves. I guarantee you they are not taking time to read and evaluate quality of research in research papers in most cases. The input of their trusted colleagues at other institutions holds weight as does metrics like publication counts and where the papers are accepted. By the way if you have a top advisor it may be much easier for you to figure out how to get your results published in a top journal.

You see?

Also I was in differential geometry.
This feels like fear mongering to me. Current crime levels are no where near to what they were during heights of the 80s.

It feels like cities are a victim of their own success. If you had prolonged periods of low crime, any sudden increase is going to look “scary.” For example, jumping from 5 muggings to 10 is 100% increase but holistically how do those numbers fare? Turns out very well, but if you were to listen to the media you’d think NYC was some 80s Kurt Russel film.
This has been on my mind in reading about this. It would explain a lot.
This is the absolute best-case scenario for humanity: advancing technology allows us to develop the poor parts of the world with green energy and stabilize population voluntarily rather than through a series of apocalyptic wars and famines. As far as nature goes, the market will clear one way or another (unless we destroy the biosphere entirely and turn Earth into Venus).
I wish I could help, but I don't know anyone more successful than me.
I would argue the HN monoculture very much has its own brand of propaganda and influencers (see: pg), you just happen to agree with it.
Rust has multiple string types _because_ of the legacy of C strings.
Let me stop you right here.

Do you really believe that black and white lynchings were certainly recorded accurately? To say nothing of the proportions as someone said below.

You're providing nothing useful here. Typical softening of racism as many, for whatever reason, like to do. Cut it out.
Well, if you read something surprising, then you should probably check it somewhere, unless it's trivial. Snopes might be a reasonable first check.
> Legacy, there’s lots of dumb stuff in C.

Yes, this, so much this

Who cares what an 'int' or a 'long' is. Except for things like the size of a pointer, it's better if you know exactly what you're working with.
Not what you want to hear, but I cut people off my life once their (mostly financial) success vastly surpasses mine. It probably happened ~5-10 times so far. I don’t make the reasons explicitly known, I just start distancing myself, not returning calls/invitations until things fade away. For fairness, I wouldn’t mind people doing that to me and I would fully understand.

I recognize it is irrational and sad behavior, but it’s too hard for me to accept people close to me who come into success purely based on luck (strong talent is barely table stake and not a predictor of outsized success).

I have ex-friends who joined startups and roles which were no different than the ones I joined, and they made $20M+ while I didn’t have nearly the same outcome. Similar with ex-friends who made bank in crypto. The worst is when they are also not intellectually honest and try to school you on some bs life lessons on how their success was very much planned despite the fact that you took the same exact risks, with the same exact expected rewards, as them.
As zelphirkalt pointed out, one project I use with guix shell is named Chickadee. It's a little game dev library.

Here is the guix.scm file: https://git.dthompson.us/chickadee.git/tree/guix.scm

Here is another project (a static site generator) with a much simpler guix.scm file: https://git.dthompson.us/haunt.git/tree/guix.scm

In both cases, this same file can be used to create a development environment via 'guix shell', build from scratch in an isolated environment (handy to run before a release) via 'guix build', and it can even be installed with 'guix package'. It's super handy.
And it's written in bash.
The Slippery Slope of Self-Hosting
256 bits in the case of a worldwide mega-computer would be such a huge departure from current architectures and more importantly latency-numbers that we can barely even speculate about it.

It may be of note that hypothetically one can have a soft-ISA 128 bit virtual address (a particularly virtual virtual address) which is JITed down into a narrower physical address by the operating system. This is as far as I'm aware how IBM i works.
As I remember it they were a pain to look at for long periods.

Maybe there was some upside to that though, encouraging people not to stay on the computer for too long...
The principles are simple. Anyone (with the license) can buy and sell electricity either off-market (typically with long-term contracts and stable prices) or on-market. The market is such that anyone who can deliver at the market price does that.

There are no caps. That is, if there's a severe shortage the rules don't weigh price against availability at all. There could have been rules to decide which users are shed if production is too low (or put differently, prices are too high), but such rules don't exist. Instead there's an assumption that some users will just stop buying electricity. The market decides.

I gave up after a while, when they just talked about how it's bad that "the market" decides, no talk about best achievable result might be or how to achieve that, or how to achieve anything better than what we have. Did anyone later in the video talk about that? In particular, did they talk about the power companies that have decided to use ~100% long-term contracts instead of the market's spot prices? (I'm a customer of such a provider. No price increase for existing customers, probably no new customers accepted.)
> The web we have these days is in a sorry state

The web is one of humanities greatest inventions, right up there with Gutenberg or even more. It's a shame that people focus on politics and miss the rest of the web. There are two webs, one is a medium of mass manipulation, just like all media before it, the other is the library of all human knowledge, ever, everywhere.

The printing press precipitated major societal changes, but the internet has yet to. We still follow the rules set 400 years ago, voting some humans to rule us every 4 years, and have not questioned the system under the current situation , where everyone can create and access information everywhere, instantly. The internet will take us to new politics , we just have to invent it.
I was wondering if this (128bit memory) are on the radar of any of the BSDs. Will they forever be stuck at 64bit?
I'm a software developer with over four decades of experience under my belt in every environment you can imagine - startups, manufacturing company, utility, retail, banking, education - and here's a trend I've noticed in that time: many languages come, a few stick, and they're slow to fade away. Very few have stuck around for decades. Today's darling is tomorrow's pariah. Cobol, C/C++, and Java are great examples of that.

Where is Rust? It's behind Cobol on the TIOBE index. That puts things into perspective. I remember when C took the world by storm in the early 80's. That was a result of severely underpowered 8 bit and 16 bit computer where your only alternative for getting any performance was to write in assembly. C's ability to be used as a high-level assembler were its killer feature.

Java had a similar ascendancy in the 90's. There were several widely-available CPU architectures that were popular at the time and it's ability to write-once, run everywhere with acceptable performance was its killer feature. It certainly didn't hurt that it borrowed heavily from C's syntax.

What is Rust's killer feature that will compel widespread adoption? The borrow checker? I don't think so, and the market doesn't appear to think so either. To wit, both C and Java enjoyed a meteoric rise within five years of their release to the public. Meanwhile Rust is nearly eight years old and yet still is lagging behind Cobol. I don't see the situation being much different two years from now when Rust is 10 years old.

I have a couple of questions then. Why do you think Rust will ever experience widespread adoption? Assuming it won't (which appears to be the case), for what programming communities would you expect for Rust to have widespread adoption?
That's still a lot harder than to send 1 link by 1 person and immediately find it grabbed :)

It really should be airtight if they're not going to weasel out of it.

I kinda doubt Meta is doing it but on the other hand they do seem to be in heavy weather right now.
Thank you! Until a few years ago, this project ran on PHP. It was then later rewritten in Common Lisp. I published the Common Lisp source code for this website only about a week ago. That's why I thought of making this "Show HN" post today.

Until now, the source code published on GitHub has usually been a few versions behind the live website running at https://mathb.in/ but I am hoping that in future, I will keep the source code on GitHub as recent and as updated as possible.
Unpaid work is illegal in the general sense (nothing specific to internships in this).

This is typically worked around by employers by classifying internships as (purely) educational, but that loophole is predicated on interns not directly contributing to a company's income-generating activities, which is obviously not the case in the majority of instances.
> It's an unlikely hypothetical but imagine if fiber ran everywhere,
> and all computers seamlessly worked together sharing computer power
> as needed. Even 256 bits wouldn't be out of the question then.

You could do this today with 196 bits (128-bit IPv6 address, 64-bit local pointer). Take a look at RDMA, which could be summarized as "every computer's RAM might be any computer's RAM".

The question is whether such an address makes sense for the Linux kernel. If your hyper-converged distributed program wants to call `read()`, does the pointer to the buffer really need to be able to identify any machine in the world? Maybe it's enough for the kernel to use 64-bit local pointers only, and have a different address mechanism for remote storage.
When I was a teen I made a way shittier version of this using a bunch of vertical <marquee> tags and exotic looking Unicode characters. I literally just copy and pasted them since I didn't know any JS. It looked great as long as you didn't inspect the code!
Really cool, I was also using an exploit with my GCSE Hegarty maths homework and doddle science, I think the 1st "exploit" was pre-GCSE the answers were stored on the client side and I just inspected the code, this got patched after, the next exploit was during my GCSE's, the answers were stored on the server so I made a github repo that used a browser extension which would let you inject JS, I think it was some kind of brute force attack with their SQL DB.

Anyway I received my GCSE results in August, I was surprised how well I did considering I did no revision, but I should've actually used hegarty maths instead of exploiting it :D
Why do we need the word "automobile"? Can't we just say "horseless motorized carriage"? Why call it a "computer" instead of an "electric brain"?
Honestly, the cantillon effect is a red herring because any form of spending, it doesn't matter if the money is physically printed as a bank note with no debt backing it or simply spent from savings in a gold standard. If you divide the economy into two sectors, your bank account and the rest of the economy, then spending off your bank account will create a net increase in the money supply in the rest of the economy, this will raise prices in close proximity to you. Or in other words, the cantillon effect describes how price signals propagate through the economy. The strange thing is that people have this fixation on "printed" money causing inflation but as I mentioned, the cantillon effect also applies to normal spending of money that was received via taxes. If you ban the "printing" of money as we have already done by establishing central banks the cantillon effect remains.

Where do we find proof of the cantillon effect then? Government spending as a percentage of GDP and subsequent public sector employment but then again, this isn't something new, it is boring and obvious, not some conspiracy of the government scheming against you.
Technically that’s still pretty common on the software side, that’s what tagged pointers are.

The ObjC/Swift runtime uses that for instance, the class pointer of an object also contains the refcount and a few flags.
Yes, backhaul (the connection from the tower to the Internet via the carrier's central facilities) dominates, as well as queueing latency for packets waiting to be delivered to phones, since traffic is overwhelmingly downloads.
I was surprised when I moved to Sweden that it didn't seem to have an IR35 equivalent, but then I noticed that taxation is exactly the same for employment and self-employment.
The slowdowns come from:

Latency: Part of the page loads, and then the page asks for more data. In some cases, (such as loading a page hosted on another continent,) this is bound by the speed of light.

Poor data access (database) code: Sometimes this is due to lazy or incompetent programmers, other times its due to the fact that "not instant" is "good enough."

Writing a web page to load everything very quickly in a single request is surprisingly hard, and will often break modern and easily understood design patterns.
Ask HN: Gamification of Learning Guitar
I will happy waste hours playing PUBG (badly) but invest very little time in practising the guitar, which is ultimately way cooler and would win me the respect and admiration of my peers.

Are there any good apps/tools out there to encourage me to focus on shredding those sick riffs?
C still (I think, C23 may have finally killed support*) supports architectures like clearpath mainframes which have a 36 bit word, 9 bit byte, 36 (IIRC) bit data pointer and a 81 bit function pointer.

The changes to the arithmetic rules mean you can't have sign-magnitude or 1s complement anymore IIRC
But when IR35 was introduced the dividends weren't really taxed at all. In fact there were even some tax credits related to dividends for a while. Today the situation is completely different and the tax rates on dividends are not far off NI levels at lower income levels and much worse higher up (because employee NI drops to a very low rate once you're a higher rate tax payer but dividend taxes are uncapped).

Once you factor in things like the contractor's Ltd paying for its own running costs, time off for things like holidays or sickness, and pension contributions it makes very little sense for someone to go the Ltd route instead of being an employee just for tax/financial reasons now. The real advantages are in flexibility and having a real business-to-business relationship with clients, which can break various glass ceilings you might otherwise hit as an employee.
While you're right in principle, the life expectancy after childhood is nowhere as high as you claim. From wikipedia

>Based on the data from modern hunter-gatherer populations, it is estimated that at 15, life expectancy was an additional 39 years (total 54), with a 60% probability of reaching 15.
Not sure about those 12 years - 128-bit registers are already there, and CHERI Morello prototype is at a “physical silicon using this functionality under CheriBSD” stage.
Having built something that had to use the netRequest API due to new extensions being forced into MV3, I can attest to it being viciously limited and complex.

Ads will win if MV3 is mass adopted and enforced. Time to set-up Pi-hole.
As I understand it there was plenty of federal property destroyed during the summer of 2020. Are you really saying the DOJ doesn’t prosecute people outside of DC? The insanity is turning a blind eye to the obvious hypocrisies and double standards that exist with the two examples.
The "two people talking" podcasts are popular, but my all-time favorite is still a one-man production: Mike Duncan's The History of Rome [0]. Even his follow-up, Revolutions, was great. No other podcast has grabbed and held my attention as much before or since.

0. https://en.wikipedia.org/wiki/The_History_of_Rome_(podcast)
It's financial snake-oil though. You do not want to any own dollars if it ever gets invoked on a big enough scale with a major bank.

They simply do not have your money nor could they realistically insure every persons savings if their was bankruns, it's a system built upon nothing more than trust. When that trust dwindled in recent times, they brought in FDIC to create more trust out of thin air.
>As to the obviousness of the net good, actually it isn't.

You're comparing losing a small part of the Andes to half the Mediterranean basin (desertification), a third of the Amazon, the whole world's coastline below 2 meters AMSL, and we don't even know what to expect from the effects of heat stress on wildlife, but we can expect it to kill plenty of people directly. And that's just what I can fit in a sentence.

https://www.carbonbrief.org/explainer-what-climate-models-te...

Damage to the environment of the subtropical Andes is probably avoidable and should be avoided. There are other ways to get lithium. There are also alternatives to evaporation ponds that could let you put water back in the ground. But it's annoying when everyone thinks their pet issue is as important as the worst environmental threat humanity has faced in recorded history.
On the other hand, if Niemann did exactly the same and researched less-known moves, he'd know how to play against them too. That won't actually prove he is cheating at that game. Just the fact that he analyzed them earlier.
You'd need a significant number of such honeypot "incidents" to properly accuse someone of cheating.
> when they are mostly gestating in the Summer

Leos gestate throughout the year, depending on where they are located. Perhaps that remark was US-centric?