skysight-inc/HackerNews huggingface dataset:
> The federal civil service has a very strong union and gov workers are very well known for doing exactly what is required

That's also something we have in France, with big unions like teachers' and railway workers unions (we've gotten a few nice strikes where all the trains stop for days and I think we're due one soon, I guess once covid's dealt with). And the good enough attitude certainly exists here too!
What I wish articles like this would dig into, and why I think the problem is harder than first blush, is how to deal with the actual future values themselves. The audience here seems to be Rustaceans a bit more than "all programmers"; there's a quick into to "here's how Swift does X", which is nice, but how does Swift deal with future values?

That is, it isn't an error to not immediately .await an async function in Rust. It is problematic to discard the future (to never await). But the real power of futures comes from the composability:

timeout(some_async_op(), 30).await?

The "synchronous context" example is thus particularly confusing, IMO; a Rustacean will look at that and ask "but what makes that context synchronous?" or "how does it know that I want the synchronous version of the function when nothing in the code indicates it?"

timeout(some_async_op(), 30).await?
└─────────────┘
is this a synchronous context?
(we don't *want* it to be.)

Apparently, Swift introduces a separate keyword:

async let f = { some_async_func() }

But it seems like all uses of "f" must be "await f", so it doesn't seem like it's really a future. (One could not, AFAICT, write "timeout".) There are some other stuff with tasks & task groups, so perhaps with that, but that's my reading budget for Swift for now…

Also,

> With the overload added, we can start suggesting fixes for errors like this too 2. For example:

|
help: try removing `.await` from the function call
|
3 | async fn f() {
4 - do_something().await;
4 + do_something();
|

I think f() in this example is supposed to be non-async.
That too... the debates I've had... oh... yea, I spelled it wrong. The perils of autoincorrect.
And the software is most likely owned by the competitor that sells said "new" software that most likely doesn't fit the niche anymore. They normally refuse to re-license even without having to give updates/support.
If you make a service universal you don't have to have that much paperwork. Hell of a lot easier to run a service based on "everyone gets it and we tax richer people more, since they also get it".

Imagine if more services worked like a library rather than the DMV (granted libraries I guess check your address?). Imagine if going to a hospital involved checking your symptoms and not having to negotiate down prices. Imagine everyone having a ~0 cost bank account at the post office. Imagine having any form of recourse beyond posting to a forum thread for an administrative issue.

And you do know that DMVs are miserable because they don't have the budget to be properly staffed right? The pain is self-inflicted. We could give money to governments without profit motives, or we can give money to corporations with profit motives. If it's a service that we actually want in society, the answer seems obvious to me.
I should be clear that I'm not like, putting this on the agenda.

Client workshops are usually relatively small -- say, 4 to 8 people. Training classes are bigger, but usually no more than a dozen or so because it gets unwieldy.

I make sure I open the meeting a little early, and as people trickle in I make small talk. As more people join, this grows organically. I'm typically going to be working with a given set of people for weeks or months, so it's not at all weird to have these conversations, and we absolutely would be having them if we were in person.

>It's even worse when he tries to force the issue

I am not a moron, nor am I interested in making anyone uncomfortable, so the idea that I would use this approach to try and force someone to answer a given question when they're not interested in interacting is ludicrous. This isn't how normal humans operate.
Or just double click the titlebar, less effort.
>_Every_ identity group has people who "actively and routinely engage in problematic behavior

>Given this premise, "getting away with it" refers primarily to society's handling of these transgressions

Well, that's just unserious. Sure, it's easy to manufacture and retrofit a premise to declare that any statement means just about anything.

Beyond that, you're now attempting to narrow the original comment to refer only to "society's handling of these transgressions". The very point, which I explicitly stated, is that had the commenter kept the focus on the sex abuse issue under discussion, then it would have been valid. Instead, the commenter generalized it out to the hostile idea that "Women get away with too much in society".

So, I'll take your latent effort to narrow the point here as an acknowledgment that the more general original comment to which I took exception (and you initially defended) is indefensible, even as you continue on and try to support that general comment under the cover of the specific case that no one disputes.

And, it's clear that you know you've ceded the point, because the rest of your comment features you beating on a straw man.

But that last paragraph is a doozy. Full of disingenuous gas-lighting and arguing against that straw man's imaginary statements, which you plainly know I never made. Now you're feigning indignation with that straw man in an effort to convey to yourself some moral high-ground, even while you advocate against people seeking equality.

That's the worst of it. It's pretty low, and disappointing. I initially believed you to be interested in serious discussion, but I see now that it's just cynical trolling.

Carry on.
To be honest, it wasn't too hard to figure out what the target software was from all the subtle clues; after all, crackers are the sort of people who will enjoy such a challenge too! I won't reveal it here either for your sake, but don't think that the "anonymisation" was even close to being complete...

Then again, I also exercised my skills from the Fravia/Searchlores era ;-)
What other alternative tools do you know about? I'm curious and want to create a collection of such tools.
If you want to muck around with fancy digital stuff that you put together yourself, the ham bands is where you do it.
Not sure if that's the issue
I do some minor customization with the UI via the custom css app https://apps.nextcloud.com/apps/theming_customcss to make it a bit more functional. Thankfully they have keept the css classes and don't look to ever be getting rid of them.
You could use an app like BetterSnapTool or Tiles. With both, you can set up Aero Snap-like hot edges to change window size. With BST, you can also set right or middle clicking on the traffic lights to do custom actions, including Windows-style maximise.

The odd few times I need Windows-style maximise, usually in non-native apps that don't properly support AppKit/UIKit resizing behaviour (I'm looking at you, Teams, Discord, etc.), I'll use Tiles to do it. Free app.

https://folivora.ai/bettersnaptool

https://freemacsoft.net/tiles/
Reminds me of how Jack Ma said that between 40 and 50 years old, you should do things you're already good at. He covers other decades, too: https://youtube.com/watch?v=DByuo1UBiW0
Codename One has support for an iOS target, from what I can see. Even if it wasn't supported on one platform, it hardly would make Java a legacy language.
This reminds me of Cobol Cowboys (actual motto: "It's not our first rodeo."), a consultancy of aging Cobol developers brought in by banks/etc when the systems which run the economy need maintenance work done on them.

https://www.npr.org/2020/04/22/841682627/cobol-cowboys-aim-t...
Was that a Yahoo game? I remember playing it and loving it, and then it was killed off very quickly.
For me elegant and clever means that 1) my code won't get in your way and 2) can be thrown away easily.

In return I ask a bit more time so I won't self-couple my code with introspection magic or make it undebuggable with weird dynamic design patterns nor will I make wormholes to so that A can communicate with B.

Deal?
One of the best decisions I made with respect to my language learning was to give up on fluency.

Oh, I can muddle through pleasantries and transactions when traveling and I continue to enjoy learning new words and phrases. But when I finally let go of my aspirations to become fluent it was as if a major weight was lifted off my shoulders after decades of beating myself up about being such a poor language learner.

You can only have so many top priorities in your life so it's perfectly fine to choose to learn a language recreationally for fun rather than seriously for fluency.
unrelated question: what are your suggestiong for text based RPG games (browser based) for this day and age?
> Shaun has joked that “brute force creativity” is the attitude to take when solving a problem in Pulp. This simple toolbox gives you just enough flexibility to expand the game’s featureset beyond what seems possible at first.

I learned to program using Scratch and I loved this about the language community that developed around it. For the first few years it didn't even have arrays, procedures, or text input, and people (kids!) worked around these things by encoding state using the powerful graphics tools, clever math, and brute force.

People in the forums would clamor for more powerful features, but they were rolled out slowly and carefully. Later on I had a brief internship with the Scratch team and got a sense for why. The dev team was small, but more importantly they thought very carefully about how to whittle a language feature to its essence to enable maximum creativity with minimum cognitive overhead. I really appreciated that.

Of course I also quickly developed an appreciation for Snap[0] (née BYOB) which veered off from Scratch with a more "f*ck it, have everything" philosophy towards language design :)

[0] https://snap.berkeley.edu/snap/snap.html
If this one looks to be a bit of a deep dive, try the cup trick first!
I wrote one too, over 20 years ago. Still works, that .exe, even today. Unsurprisingly I was using CRC32 too. When I look at the code that is there I cringe, such is the mess there. Oh well, everyone has to start somewhere.
> ...which seemed to occur more when the cops were somewhere else.

Perhaps they were too busy deploying their sleep deprivation tactics[1] on sleeping citizens by lazily driving around the target neighborhood with the sirens on at 3 am, for no legitimate policing reason.

1. https://www.reddit.com/r/2020PoliceBrutality/comments/hduu3h...
The thing is, you're probably right. Over time they've been restricting items for bots in over 100 servers. Right now its to see the users in the server and also to see the statuses of these users.
ID software continued their game engine business even after open sourcing them.

There's also the possibility of open sourcing the engine and keep the art or servers paid. Also consider Ryzom.
China hasn't forbidden them plaing games. China has forbidden them from playing online games for more than 3 hours a week. You can play GTA 5, the last of us, the witcher 3 just fine. No one will care if you play Inside for 8 hours a day either. What the government and Chinese parents do care, is not let children play too much those games designed to cause addition, and constant in-game purchasing .
Not sure why that should be publicly funded research and why it got published.

Any decent OS class should teach undergrads that filesystems won't completely delete data, just the reference to it.
as French, I don't really see debt as an evil word (well, depends on the debt, perhaps: debt to buy an asset or realize a project, no, but debt that's taken on to pay for normal operations, like most of the debts of the French state, that's a little more problematic).
I recall back during the early days of the "war on terror" Afghanistan war / Iraq war, there were statements that terrorists were using WoW servers for planning attacks lol

Edit: Found a story about it - https://www.wired.com/2008/09/world-of-warcra/

> Toavs, for one, believes that spies will have to spend more time in virtual worlds like WoW, if they want to have a hope of keeping tabs on what goes on inside 'em.
Which means, some day soon, we might find secret agents in World of Warcraft, along with the druids and orcs and night elves.

Truly absurd. Sounds to me like someone at the CIA just wants to play WoW instead of working.
Can you share your other scripts? They sound exactly like what I need lately!
I always suppressed these feelings of boredom early in my career, until about 3-4 years in at a company when it became unbearable and I just had to switch.

Now I work for a consultancy which seems to provide the best of both worlds for me — a stable yet fresh network of competent people, and a variety of projects that I can seek out, rather than working on the same thing endlessly. I was a bit scared that I would hate the consulting world, but I think I landed at a pretty good one. And I know working for a consultancy might be very bad in an economic downturn, but I’ve also built up a huge network of colleagues, so I feel like I could fall back on that and my talent if I ever needed to.
Just because a control convention existed before other implementations, it doesn't automatically make it good. Plenty of older shooter games have a control scheme that besides being unfamiliar, is simply not ergonomic enough. E. g. Wolfenstein's control scheme that uses the mouse to rotate the camera, but also to move the player forwards and backwards.
> the trains wouldn’t run, because their motors couldn’t turn

Last I knew, the 600VDC which supplies the power to the motors was supplied separately from the lower voltage system and should not be affected by such problems.

> If signals (think “traffic lights”) have no power, running trains would be extremely dangerous, because two trains might try to occupy the same track at the same time.

This is false. The system is designed so that in the event of failure stopping a train is the default action. The signals automatically go to red, "stop arm" raises, basically opening a valve on the bottom of the train, and releasing the air in the braking system - bringing the train to a stop. Electricity is required to retain the stop arm. It was designed that way.

> Labor shortage. From Bloomberg: “A wave of pandemic retirements and a hiring freeze have left the system short on operators and conductors,

The pandemic accelerated the inevitable. As far as labor shortages, the subway has been running with more or less a skeleton crew for quite some time. With a workforce with a significant portion at or above retirement age, it's only going to get worse.
But you cannot/will not name the offshore 3d party service
Margins vs. Free Cash Flow: Breaking Down Pinterest 9-Year AWS Deal
Leonard and Yi think this may explain why some people pick up the sounds much more easily than others, as each unique brain strikes its own balance between maintaining the stability of the native language while calling on the plasticity required to learn a new one.

Probably just bad journalism but this quote just says “each brain strikes its own balance”. They don’t go so far as to say some people have more plasticity and whether there are other tradeoffs with that.

For example I’ve always felt I’m a fairly slow but deep learner- like my brain takes longer than average to be productive at complex new tasks as it is rewiring but I learn things at a fairly deep level, so I wish they had shed light on that.
Relevant as well:

https://www.theatlantic.com/magazine/archive/2020/12/can-his...
No. That's the risk you take for cheaper devs.

If they launch the same product in China or the Philippines, good luck.
> I am appalled by all the supportive comments in this thread. Why are HN users so comfortable with authoritarian government?

Because not everyone here is a knee jerk racist is why. Just most.

Children in all countries have restrictions.

The firewall has nothing to do with this. Unless you want to relate it to the actual Chinese policy document?

What's the authoritarian reason for limiting homework in this?
Very few admins would switch from bash (possibly zsh), and bash has tons of eyes looking over its codebase. Terminals are interchangeable and could direct the shell in ways that can be invisible to the user.
Navajos faced water shortages for generations. And then the pandemic hit. (2020)
What do HDRI and GAS stand for?
I heard of a famous prosecutor also named Godot.
You would have sold it at all for $1000 anyway and thought if it as a lucky goof lol.
You can use a custom deleter, e.g.

struct deleter_t { void operator()(impl_t *); };
using impl_unique_ptr_t = std::unique_ptr<impl_t, deleter_t>;

You can place the implementation of the deleter alongside the impl.
To be honest, this seems perfectly fine to me. This is the exact sort of thing that I expect most countries to do anyway.
beorg is amazing. Changed my life.
A ditch witch for HVDC conductors?

(you can push 1500MW over two buried 5” HVDC conductors)

https://youtube.com/watch?v=FjPFpJnOUrg
Joelonsoftware always seems to me to be really, really close to punching someone in the nose.
I wish them luck with the rewrite, but those sorts of rewrites are usually just replications of Apple's Copland. I suspect these sorts of rewrites are attempts at capturing the zeitgeist of younger developers.

OP is going to be in for a world of hurt trying to find a solution, there's a reason why all these libraries are in 'old PHP'. Most of the big companies have 'Appified' their APIs with calendars, and the old .ical etc formats are there for legacy support. So you need to create an app, delegate it permissions and then you've got a REST API to play with. If you've got the skill to do this, you'll have the skill to write a syncing script.
I have lived in Mainland China and the West both equally long. What's happening in the West now is of course not exactly the same but it's absolutely comparable. There is a trend towards authoritarianism that did not even start with the pandemic, but it was a massive catalyst which suddenly made the problem much bigger. For many people in the system, this isn't apparent to them at all. Ask the average Chinese person and they will tell you nothing's wrong, things are going fine. They just restricted overseas travel and have stopped issuing passports in China. Many locals don't even know that because it wasn't reported much. Similarly, as someone who cares about civil rights, I notice that a lot of people in the West are not well informed about all the very concerning developments since the corona crisis. This goes to absurd levels like in Australia where the majority will tell you the government is handling things great, all the while protests are forbidden under threat of $5000 fines and jail time, people have been issued $1000 fines for talking to each other in public, parliament in Victoria is suspended, people get arrested for "illegaly" crossing state borders of their own country, etc...

No, the West isn't find. Mild tyranny isn't cool and how temporary these measures are is debated. If they actually were temporary, why is there no restriction for how long they can last? How much longer will it go? Nobody knows.

This is a loophole in our constitutions, they can use "emergency" situations to suspend civil rights indefinitely. This very same method has been used many times in history to establish dictatorships and totalitarian systems, so it's a very legitimate concern.
Lawsuit Proceeds Against Clearview’s Face Surveillance
techbear and Daid and me are alright, but let's be real, we're no John Carmack. These are super-niche games, not world-beating blockbusters like Doom was.
Clearly with limited success -

That article links to
https://en.wikipedia.org/wiki/Submarine_incident_off_Kola_Pe...

Which in turn links to
https://en.wikipedia.org/wiki/Submarine_incident_off_Kildin_...

So there have been at least two other submarine collisions.
Show HN: Game of Cubes Complex Behaviour
My friends and i use cockatrice these days even when we meet in person for that reason. No more issue where guy with largest budget wins every time.
Immersion is key, but classes provide the bootstrapping required to know what questions to ask, and are a tremendously useful resource when immersion is not possible. I think the ideal learning scenario is what many of my expats-in-Japan friends undertook: live in the country and take classes at the same time.

It also helps if you look foreign enough to where natives don't expect you to know their language, and are shocked when you can say even just "hello my name is..."
It is a strategy. They're moving the Overton window.
This is because of the fragile ABI problem in C++--it's not good for APIs for this reason. I used to program for the macOS kernel and they (used to) do exactly the same thing.

See `OSMetaClassDefineReservedUnused` in `OSObject.cpp`, here: https://github.com/apple/darwin-xnu/blob/main/libkern/c++/OS...
That would fix the type safety issue of using a void* but not the extra pointer indirection issue, since your state struct would still have to be a pointer if you want the declaration outside of the header.
The context of the early 2000s was peak object oriented programming, uml, xml. technologies like corba were just symptoms of all the praying at the altar of software architecture.
Keyword of the parent comment is _marginal_
You still have control over your v2 address, you just can't force others to use it with their software.
Woke is quite the opposite of the redpill. Generally, it refers to those who constantly signal for progressive causes. Lgbt activism, pronoun policing, representation, etc.
I think that’s called a draft :)
Even if the laws exist in that other country, and even if they are enforced, you would need to have a familiarity with that country's legal system to be able to do anything about it.

If you're intending to establish a major presence in that other country, and spend a lot of time getting to know the local legal (and economic and labor) system, it might be possible. But, if you're not wanting (or perhaps even able) to invest a lot of time in knowing this other country and how business happens there (including what the laws are and which ones are enforced and how to get them enforced), you should consider it an unavoidable risk that your IP gets leaked.
"Doesn't do anything bad"

Now, here's a man who's never read much literature.
Like many things in systemd, timers are a bit complex, I always find myself opening 2-3 manpages at once when doing one. But when you get them set up, it's just a much better system. I still use cron for basic one-liners, but that's it.
Build-a-Burn – a virtual world of Burning Man
I recognized his name from an old self-hosted RSS reader I used to use back in the day. Looks like the marketing site for it is still up. https://feedafever.com/
I love remind. It's got its own little domain-specific language for describing dates & things, it's got its own built-in Easter calculation stuff.
I suspect that wil421's idea is that the "near-harbor escort" job does not need anything near so grand as a surface warship. A low-end tugboat or similar would more than suffice.
HDRI-High-dynamic-range imaging. GAS - Gear Acquisition Syndrome. :)
Bruh Clang took like 100gigs WTF is this?
I have been compiling clang for like 14 hours and my C drive is fucking full???? What is this horseshit? Ok, I might have had 2 shots of fireball and 2-3 twisted teas, this is really not sitting well with me. Please for the love of god what the fuck is this shit xd?
I've been using 'czkawka' since it's earliest inception. Seems to do a similar tast using file hashes but can also search through to match Pictures and the like.
https://github.com/qarmin/czkawka
How to go to sleep when you are feeling anxious
We need a gigantic hose and pump to move water from Louisiana to California wildfires. Elon Musk, get on that.