skysight-inc/HackerNews huggingface dataset:
> I actually wish we could put this protocol code in one C library in a way that only handles the protocol logic and not the I/O part, and then we'd be done with it forever.

Yes, this is a great approach. Unfortunately people in e.g. the Rust world tend to write crates that assume they can call malloc, recv, and send, rather than one crate just implementing the protocol logic and another that does all that other stuff.

Zig's way of doing things causes the library people naively write and use to call malloc, recv, and send to also be a library that just implements the protocol logic, reads from and writes to static buffers, and doesn't call malloc.

Edit to reply: Yes, Rust has no_std, but most libraries that implement a protocol are not divided into a no_std library that implements just the protocol logic and a separate std-using library that wraps it, nor are most libraries that implement a protocol asynchronously wrappers around a no_std library that is not async and only implements the protocol and makes 0 syscalls. A consequence of the fundamental non-composability of naively written Rust libraries is that users who want the wrong combination of asyncness and malloc-calling very frequently need to reimplement existing Rust libraries. A consequence of the fundamental composability of naively written Zig libraries is that they never need to do that.
As a counterpoint my dad did this, but would employ the same method and pile on if I seemed to believe it until eventually he'd tell me. However, I don't think he ever let me believe something that was untrue more than a few hours without correcting me.
> Not really. Writing unit tests is all about verifying behavior from combinations of inputs, and side effects are inputs as well.

Well, except it's not. If you use a side effect, you have to account for it in some way via mocks or whatever.
I haven’t been to this flea in about 5 years, but this is a flea run by a ham club, not like some mysterious unlabeled chips in a shenzhen alley. Plenty of old (10 years) computers, some very old (40 years) computers, radios (vintage AM receivers), radios (amateur radio), loose tubes of common varieties, test equipment, military surplus, misc cheap junk (bad bicycle lights), guitar amps, and a few electronics components (most commonly higher power LEDs on boards IIRC)
Luckily, you can disable anchor pings in Firefox: https://bgstack15.wordpress.com/2019/07/01/firefox-disable-a...

Oh wait, not on mobile, unless you're willing to deviate from stable releases or download a fork.

I feel tempted to write an addon that will catch tracking like this and just repeat every ping a thousand times across the rest of the day, perhaps with some permutations of the data these sites are trying to collect. If I can't stop you from collecting my data, I'll make my data useless to you instead.
It would be a catastrophe. I imagine if it became widespread eventually there would be stigma against even having children. And why is there a need for the expense of paying for schools if the working classes never age? Having children or even being a child could be a reason to be discriminated against.

But perhaps only the rich could afford it, in which case having children would be a sign of being lower class.

And I imagine it would lead to widespread murder, as those appalled by the notion of immortality would try to take out those that embrace it.

Has any (good) science fiction even properly dealt with this kind of dystopia? I would like to read it.
> Damn avionics ran on Windows NT

OMG.

I thought for things where human lives are acutely at stake they audit every single line of code.

I mean, Windows has a known history of crashes and freezes and things like that.

I'd trust some kind of unix (BSD) a lot more than NT.

Tangential: For many non-consumer applications, I see plenty of situations where you'd think a Unix variant (or even bare metal electronics) would be an obvious choice, but no it's usually a software running on top of Windows.

Like, my local tyre shop has their wheel alignment software running on Windows XP. Before seeing that, I'd have thought it'd be some contraption with sensors attached to 7-segment LED display or something, which would also theoretically be able to run forever.
> It's really an employee-employer relationship with on the job training.

I don't think so. When I was a Ph.D. student, I spent most of the time doing my own thing (learning and research), a small portion of my time was spent on working. I imagine this could be different by field, and I know some other departments pay way higher stipend than my department.

I think the lowest paid graduate students belong to social sciences and humanities, but their "work" as graduate students also has lower value compared to other fields. They are also the ones with strongest push for unionization, because they (maybe for good reason) are the lowest paid and because their ideology.
Overwatch has more mechanics than Go, yet it is not a deeper game.
Warning: I'm a founder working in the spreadsheet space, so take the rest of my this comment with a (large) grain of salt. I've written before [1] (HN and elsewhere) about how I think spreadsheets are the most popular programming paradigm ever, we just don't talk about it much. As this article mentions, there are many ways we can push this forward.

I personally think the most powerful low-code spreadsheet tools we can build are those that allow spreadsheet users to easily transition to full programming languages, if they want to. So rather than locking users into limited and proprietary product number #115 (some of them are mentioned in this article), IMO it's better if users can transition to a full programming language (like Python) very naturally. Som I've spent the past 2 years building Mito [2].

Mito is a spreadsheet extension to your JupyterLab environment. You can display any Pandas dataframe as a spreadsheet, and edit it in a very similar way to Excel. For each edit you make, it generates the corresponding Python code below for those edits. Practically, you can think about Mito as recording a macro, but instead of generating scummy-crummy VBA code, it generates Python.

We're open core [3]. Feedback greatly appreciated!

[1] https://naterush.io/blog/Spreadsheets-are-the-Ultimate-Progr...
[2] https://trymito.io
[3] https://github.com/mito-ds/monorepo
Pretty much. Putin’s invasion as well. I’m also reminded of Netflix’s murder documentary, Evil Genius. This show covered the pizza bomber and made an effort to suggest the perpetrator’s were very intelligent. But they were clearly mentally I’ll and made many pathetically dumb blunders, including proactively telling the police that they weren’t behind the pizza bomber when they had no reason to be associated with it in the first place.
As always, these results are cherry picked by OpenAI.
Same as GPT-2/3, the "average" output of the model is barely useable.
Amazing information density, kudos to the author.
Microsoft Access is, of course, still around. It would be great if there were a solid way to develop a database, forms, and reports in Access and then deploy it to the web.

If you've ever had to work with someone else's Access database, it is unusual to see a reasonably normalized relational database. Most people are much more comfortable with the single flat file of Sharepoint lists.
> weak fatality of Omicron

In the US at least, Omicron has killed significantly more people than Delta.

A somewhat lower mortality rate has been more than compensated for by a high infection rate.

https://www.seattletimes.com/seattle-news/health/omicron-wav...
The health of the student union is a very good litmus test for the culture of the university. Anyone looking to study at university in the UK should check out the student union and try to gauge how independent it is from the institution and whether they're actually active as a union or just an extension of the university's student experience department.

Can you find out much about the history of the SU at the intitution?

The names of previous people elected into officer positions?

What sort of jobs do those people have now?

Do you get a feeling like they might have used the officer roles to maneuver into those jobs rather than to actually advocate for students? (hint: SU Officers doing their jobs properly will be in conflict with faculty staff and see the worst of the institution, and therefore are not very likely to want to hang around after graduation)

Are multiple officers taking credit for the same achievement (campaign, event, milestone)?

Is there a good spread across demographics among the officers?

Do they get training? What do they say about their training?

What's going on on their social media? Does it feel like it's being used to market the university?

Source: was an SU rep
You’re way understating things. It was an injection of hundreds of billions of cash into the economy.
We were discussing a potential hire at work a few days ago who suddenly turned down the company's offer for another company despite our team being his "dream place to work" and promising to not make a sudden decision without talking with us first.

Turns out he was basically forced to go to this other company by his advisor, who had a lot of funding from this other company, or his advisor would "make graduating very difficult".
I’m not convinced programmers are the problem.

Haskell’s use of monads is perhaps the ultimate in colouring (for values not functions, but that doesn’t make that much of a difference); you routinely colour everything with which pieces of state it needs to read and/or write to do its thing. The result is you either have everything painted in “global state”, which just feels like unnecessary boilerplate, or you spend most of your time defining and converting between elaborately carved pieces of said state.

People could and did invent various intricate constructions which would do the conversions and possibly even the carving for you, but overall I think most agreed it was a gigantic pain.

It’s possible the situation is fixable with a correct combination of features (records, polymorphic variants, implicit parameters, possibly even algebraic effects), as a good portion of the pain comes from not having a standard solution every library would use (they all have drawbacks). But then the checked exceptions story in Java, IIRC, is from pre-Java 5 times, and not being able to be polymorphic in the exception signature of a callback you take is really stupid however you look at it, as well as also a case of inadequate language features.
Excuse me, you really want to discuss grand scale policy merits while they can't/won't distribute enough food to prevent people starving to death?
Normally I would agree with you. In this case, it was the opposite. They truly looked at the candidates skill set and capabilities.

Unfortunately, the government agencies where the chosen candidates were supposed to be funneled to and hired is where the usual government dysfunction kicked in. Those agencies didn’t seem to be on board with the whole program.
That economist went on to become Greece's finance minister and challenged EU leadership, the World Bank and International Monetary Fund during the Euro crisis facing Greece.
It seems like they are experimenting with a change in policy starting with Hong Kong. Probably not quite satisfied with the results.
Half the reason I'm ambivalent about unionization is that I was involved with the graduate student union when I was in school. The nominal reason for it was to improve working conditions and pay for grad students. In practice, it improved very little, and added a modest amount of overhead, in the form of a union apparatus which fed itself by taking a little bite out of those paychecks every month. To be clear, the net result was still higher pay overall, but not a lot. All in all, it really had only a small overall effect on us students, and didn't hurt the university much. It felt like the real winner was the UAW itself, which is the source of my mixed feelings.
Sounds good to me. Singapore is the only country you could walk around with 10k hanging out of your back pocket and no one will touch you.

Friend left their phone in mall bathroom and 4 hours later when she went back it was still there.
> Second, what happened with personal responsibility?

This breaks down when some body else's lack of personal responsibility impacts me. For example, a drunk driver colliding head on with me on the highway. In this case, it's everyone else gravitating to "free" services which in turn make them so ubiquitous that it's near impossible to escape. Even though I don't use Gmail, I'm still impacted when all my contacts use it to send me email.

Sure, I guess I could be personally responsible by disowning those contacts, but that's in the extremes.
> Academia likes to cast itself as a true meritocracy

The more an organization/community says one thing, the more likely the opposite is to be true. Think about Google and “Don’t be evil.” Or companies that tout “work/life balance.”
And you can’t delay it forever. An outbreak with come sooner or later unless you plan to lockdown till 2030.
Wonder why they didn't think about feature funding. As in, letting people donate to specific features.
Why the battle for Donbas will be different from the assault on Kyiv
Yeah it seems they have some contact with their neighbours who would likely have similar means as them. They are not the vulnerable population we're talking about though.

But I am glad you agree it is the more reasonable assumption and therefore more likely to be reality than the alternative (that everyone's being taken care of and it's all fine).
> But I found it liberating to write that sort of stuff, as small as it is, somewhere.

Great for you! Do you feel like this is due to the writing part or the "in public" part ?
I mean, house arrest is less about guarding the doors and more about catching people out on the streets. Plus, you'd secure the stores (which are deigned to be locked up) to discourage people if you wanted to lock up an American suburb.
Nah, it's a game, training them for when its for real. Like how I sometimes pretend to forget the way home from the library and have my kids give me directions home while I'm driving.

This is how they learn to actually pay attention to where they are.
Blocking Malicious Connections with CrowdSec and Swag
Yes, but mostly with CoronaVac and Sinopharm vaccines which apparently are not very effective against Omicron.
Extremely well done (at least for desktop). Many seem to dislike that it's scroll-controlled, but tbh I would've given up immediately if it were free navigation—I didn't feel like wandering around looking for things, just wanted to observe the sights. And since the core structure is a sequential list of sights, the scroll interface is a nice way of keeping that linear structure in place while automatically choosing nice camera positions along the transitions.

There are many other small interaction cues that are expertly done, bringing in various optional jump-off points (e.g. viewing the same scene present day) without breaking continuity to explicitly teach anything. Another example: highlighting text on in-scene plaques as they're read (with high quality voice-acting). This is a well thought through experience.
The intensity of the competition is severe enough to make it a toxic situation even if the established scientists were completely ethical about it.
I don't know what you mean, Rust actually has no_std for that exact purpose.
I think anything that involves complex requirements gathering, designing complex and cohesive (i.e. not forgetting the context/constraints like GPT 3) solutions, and coordinating with multiple people + systems to get things done is going to be hard to automate e.g. figuring out what app to build and its architecture, designing a complex UI/UX, project management.

Anything where the exact requirements can be boiled down to a few sentences like "create an image of an astronaut riding a horse in a photorealistic style" is in clear danger now vs "create a website where people can discuss tech news" or "create an app where people can keep in touch with their friends".

Typical app development projects have hundreds of competing requirements and constraints to navigate that are constantly evolving so I'm not even sure what the AI interface for this would look like that would make this managable. Is there anything in this area?
Because some of us still want to run 32-bit applications.
onunload/onbeforeunload doesn't work?
Aren't non-contingent faculty already mostly unionized through AAUP?
Average people lived in huts in the countryside; peasants still lived in physically similar huts into the twentieth century. (Maybe they still do!) I assume photographs are available.

The population of a city spanned a wide economic range, but if you want to talk about an "average person", cities didn't exist.
I still have trouble working out the difference between electromotive force and potential difference. Teachers do a poor job of that one. I imagine it was even more of a blurry muddle to everyone back then.

But if you don't define your variables, an equation becomes a bit useless. Was it really that Ohm didn't use the "gate-kept" language or that he didn't actually know what he was talking about?
Totally agree. It is optimally functional, even on older Mac HW that Apple has since abandoned, like my 2011 iMac.
> for instance if the crime in the US could be punished with death, the UK will require that be taken off the table before extradition.

I am surprised that anyone can be fooled by this. If USA cannot sentence someone to death, they still can sentence him to 500 years in prison which is basically the same and doesn't violate any agreements.

> Is likely contained in the treaties between countries. It seems to me that such a treaty should absolutely have a "that's not even a crime here" provision, but I have no real idea if they do

Obviously there is no such rules. The article mentions that if the owner of the server would get extradited from North Korea to USA he could get more strict punishment.
Here's a cynical take: you could also be a government contractor, work on those same meaningful projects that have tangible positive impacts, etc., and make $200 an hour.
Apple is a publicly owned company with shareholders.
We first become cavemen, then farmers, then engineers, then spacemen and then finally cavemen again.

Has anyone thought about constructing self healing domes like all those scifi movies and games imply?
Hard to know! Composing emails in tabs seemed easy without internal knowledge, but the code turned out to be a trainwreck, to the point that even a funded attempt failed. I doubt it will ever be fixed.
> A boring looking resume thats like all the others might be good enough for SAP but would get filtered out my me immediately.

I could see the point of that approach for a creativity-driven position such as designers, advertisement, marketing, or even front-end development.

For hard technical roles, where substante over style is a mandatory and very basic competence, seems to be a sure way for you to filter out all the candidates you'd be looking for.
I don't know what you find hard to believe in the idea that an ex-KGB man who has been an autocratic illiberal leader for over 20 years now, might just be quite manipulative and duplicitous in his diplomatic communications.
My comment is not an objection to the existence of software that you have to pay for, nor to this piece of software in particular. But for me, and, clearly, many here, either the Mac-only fact, or the non-free fact, mean that we’re simply not interested, and we’re only informed of these facts after many pages. (The beer facet of free software is the least important part.)
Intel’s Strategy to Compete with Nvidia
Somehow this makes me feel a bit more at ease about this whole thing.
The lack of protections for graduate student workers is shocking IMO, especially in student housing.

Grad student workers of course don't get paid vacation, sick time, or anything like that. But you can't even just lower your hours since you're paid with a fixed stipend.

Contracts may be largely 20 hours per week, but they have all kinds of carve-outs where the university can force you to work up to 30/40 hours, like at the start and end of the year and during on-call (which is also 100% unpaid), taking time away from exams.

And universities mismanage the hell out of grad students, such as only giving purchasing power to one person instead of having backups. Or having horrible on-call coverage where you can expect 3+ calls per night, many of which are pointlessly mandated "escalations".

All of these problems can be fixed so easily (time off, on-call pay/coverage), but an enormous administration with a toxic culture of "No" prevents progress.
That other woman would need to eat something to make milk too. Plus she'd need to be recently pregnant.
Lockdowns achieve exactly what they are meant to achieve: they stop the spread of disease.

This is mainly aimed at avoiding uncontrolled surges and collapse of the healthcare system and is effective for that.

However, indeed, this must be 'step 1' and combined with a broader strategy of vaccination and controlled exposure to the virus otherwise you only end up with an infinite cycle of lockdowns.

One issue in China is that although their vaccines do help they are much less effective at preventing infections than, say, Pfizer and Moderna, or AZ.
I don't feel like this is lying ir false speech or anything. I am from the suburbs of a medium sized city but distinctly not from that city, as my home is across across the river and in a different state. Still when I travel and people ask "where are you from?" answering that I'm from that city is the easiest way to give the correct picture. Someone making polite conversation doesn't want to hear this explanation, if I'm chatting with an Uber driver I'll just say the city because it's easier, if I'm making new friends I would explain. I don't think there is any lie in either explanation it's just different shades of a communication in a world full of non-binary situations.
If a professor is only taking credit for underlings' work he / she will, at some point, stop getting good students...
We should be able to weight the cost of saving those lives vs the harm caused to those who would otherwise be fine. If we don’t have those numbers I don’t think we can define what worked and what didn’t.

Just looking at raw lives saved (especially when most of those lives are older than average age of death) is too simplistic.
Show HN: An easy way to drag and drop files in Google Sheets cells
I was using Sheets to share comments and files/images with a colleague and it took forever to upload the file to G Drive, copy the link and then paste it into the respective cell.

There are a couple of scripts that did this in a way but I wasn't happy with the result. So I've made a free simple add-on for those that need to easily add links of files in Google Drive to Sheets.

Once the add-on is installed you will see a sidebar where you can click to add files or just drag a drop your file. The file is uploaded to Drive, the name of the file is added to the cell and linked to the file itself in Drive.

The add-on collects only what it needs to work, nothing is shared.

The add-on is free and it has some paid options but for 95% of cases the free version is enough. The Pro version is $20/year for 1 user or $99 per domain with unlimited users.

A video on how it works here:

https://www.youtube.com/watch?v=GZasNAPkE9Q

Any feedback or suggestions are appreciated. Hope it helps :)
It had more to do with the hundreds of billions of loans to rich people to keep companies open. That don't have to be repaid. And went predominantly to fraud.

I really hope the DoJ sets up a task force and starts sending people to jail. We can let out some people who smoked dope if we need more cells.