skysight-inc/HackerNews huggingface dataset:
RAII is a general pattern for tying resource management to the lifetime of objects such that resource allocation is tied to value construction and resource deallocation is tied to value destruction. The smart pointers for allocation in the Rust standard library (Box, Rc, and Arc) are examples of the RAII pattern, since memory allocation happens at creation time (Box::new()) and memory deallocation happens when the Box goes out of scope (in drop()). Another example of RAII in the standard library is File: opening a file means creating a value of type File, and dropping that value means closing the file. Yet another example are the smart-pointer guards used for accessing RefCell and Mutex: RefCell::borrow() returns a Ref, and Mutex::lock() returns a MutexGuard; the underlying value can only be accessed while the guard exists, and access is relinquished when the guard is dropped. Given all this, it's absurd to say that Rust doesn't support RAII — RAII is fundamental to the design of many of Rust's safe APIs.

The very specific API design that you've described is not possible in Rust, but it is strange to equate this with the entirety of RAII. In any case, there are many alternative APIs (some with no sacrifice in speed or safety!) that are perfectly possible in Rust.
I've given Google my phone number ages ago and I still can't use their smtp to send email from apple's mail.app...
If you go into a brainstorming session with the expectation that you will choose anything, you're right, they are usually going to fail. If you go into them with the sole purpose of exploring a problem space and gathering a diversity of viewpoints, but not evaluating ideas, they can be amazingly valuable. My other two points of advice are to:

1) Keep them short (30-45 minutes). Do them just before lunch so people have a hard stop but also an opportunity to keep the discussion going in an even less structured way.
2) Keep them small (3-5 people). If you've got a dozen people you want to include, break it up, and then if you need/want, do some follow ups where you can group people differently and iterate on some earlier ideas.
Just straight up linking to a dog whistle sub... okay...
UO had a persistent world. It even had real estate, and later fully customizable houses. And the custom server scene had some really crazy stuff as well.
Are you saying the aboriginal people inhabit the entire continent of Australia even if that land has no ability to sustain life ?
Think of this as business continuity insurance.

It costs you 5 players $100/player - $50/player, sure. However, if you aren't insured and they make the shot, then the tournament is instantly in the red and can't even afford to pay the course fees if it pays the prize. Bankrupt, pick who loses, the course or the player. It might even be fraud, lots of things are fraud.

If the tournament is well funded and planning to be around a while, they can self-insure and eat that cost. However, a new tournament, or a non-commercial one isn't likely to have backing like that.
The price of a stock can only go to zero, so the value of a put option is bounded. A put option at exercise price of $2 has a maximum value of $2 (ignoring discount rate, conditions, etcetera). There are corner cases because a stock going to zero has other implications (e.g. cannot actually trade in that stock) which can affect delivery. Matt Levine puts it nicely: “Betting on disaster is hard because, if you win, there has been a disaster, and you might not get paid.” and he writes about (under CDS heading[2]) some of the other costly risks of shorting, some of which might also apply to options.

The value of a call option is unbounded.

This link[1] has some good questions and answers about options, although it certainly isn’t complete (e.g. dividends are mentioned but voting rights are not).

[1] https://www.blackwellpublishing.com/content/kolb5thedition/c...

[2] https://news.bloombergtax.com/tax-insights-and-commentary/ma...
Attacks coming from the same IP address are literally kids just running port scanners.

Blocking individual IP addresses has never been a valid mitigation against professional attackers. Attackers will just pivot to renting a different botnet from different geographies/ip ranges.

If your service has any level of scale, there can be double digit percentages of users who are sharing an IP address with a hacked device. Blocking attacker IP addresses will block users of your service.
Sounds great to me, honestly. Strong pitch.
Firefox 100 for Developers
I'm an open source dev myself with lots of experience in remote collab in both open source and commercial, and I agree with EricE that there are downsides — and serious ones at that. However, there are benefits which are just as significant! Depending on the organization the tradeoffs can skew wildly towards choosing remote, so I essentially agree with your conclusion.

I just think it's unfortunate that he's dragged culture war contempt into the discussion, as i think that has inhibited our ability to have curious conversation about the tradeoffs.
If you're (very) motivated you could try MGL or CLML! https://github.com/melisgl/mgl - https://github.com/mmaul/clml - https://github.com/CodyReichert/awesome-cl#machine-learning

MGL's auhor [won](https://github.com/melisgl/higgsml) the Higgs Boson ML Challenge.
What a hostile reply to someone who merely stated to be thankful to work in the same city as their colleagues. If anything to me it feels like you are normalizing your personal experience and implicitly trying to force others to comply to your interaction style.
> So, the case is that the formatting string fits into memory, the data being formatted fits in memory but the output formatted text does not?

It takes a minimum of twice as much memory to store the original data and its formatted stream. Some systems don't have much memory, and some systems work with large amounts of data. Some systems work with more data than fits in RAM, or more data than even fits on disk, or even infinite streams of data, from sensors or generated data. All of these use-cases must be accommodated by Hare.

That said, you can easily format into a dynamically allocated string in Hare if you so desire:

let s = fmt::asprintf("Hello, {}!", user);
defer free(s);

This has the obvious downside of requiring an additional memory allocation, which can also fail just as easily as I/O can, and must be freed after use. However, this function does not require I/O, so all of the I/O failure cases are ruled out. There are trade-offs between these two approaches. Hare's design is meant to let the user evaluate these trade-offs for their use-case and make an explicit, planned decision regarding their needs and potential failure modes.
What happened a year ago? Was that when a policy was made that no politics, etc. was allowed at work?
There's a dark psychological side to "urgency". When you meet people
who are "terribly, terribly busy" all the time, it's about control.
If 'real' people were actually that busy they'd burn out. Instead,
it's often acting out. "I need that yesterday darling!"

Get a few of them together and you'll see the spectacle of
competitive busyness. Power hierarchies are determined by who will
move their schedule to accommodate the time needs of the more dominant
"busy" person.

Needless to say, in such narcissistic environments, the cubed root of
the natural log of feck-all gets done.
> It's as if they all received the exact same memo with the same talking points and are all desperately following it.

But enough about the Wall Street Journal
The problem is that there is little incentive to "clean up" and move away from the bottomless trough of is-even type packages... similarly, how many front-end tools require one of the many utility packages that effectively just wrap some minor functionality around document.querySelector? Is the problem inexperienced developers? (the article talks about this as well)

I'm also curious how many HN readers and JS devs in general were, at some point, told to "not reinvent the wheel", instructed (by a professor, by a mentor...) to use libraries wherever possible, and extrapolated that out to today, where so many devs have found a way to justify requiring is-even (there are hundreds, thousands of packages like this)...
Yeah, I don't think I'd want to GM or play according to rules like:

https://thegamednd.com/death/

I mean, I get wanting players to invest, and character death to mean something - but kicking out a player after two, three years of weekly sessions because they're "out of characters"? I guess maybe they find time to meet those friends outside of the game too?

Ed: Don't actually know if that's worse, or asking new first time players to never come back because they died first session...
https://www.kimovil.com/en/frequency-checker/US/fairphone-4 seems to claim that it should work; am I misreading that? (I would also very much like to know this before I consider buying one)
There comes a point where you need to look towards a legislative body rather than a court and that’s by design. That’s where real law-making happens because if your “rights” depend on an Executive Order or stare decisis, then you don’t really have them. This is moot because neither Loving nor Obergefell are implicated here or up for reexamination.

Also as a note, neither Roe nor Casey has actually been overturned as of this writing. Interestingly enough I was just listening to a podcast from 2015 or 2016 three nights ago where Justice Alito was the interviewee and he explained the process by which majorities are reached, opinions are assigned and he specifically said that no decision by the court is final until the moment it is handed down. It’s rare for this to happen, but in a narrow decision a Justice can indicate to the court at any point until then that today is not a good day to hand it down and he or she might need to rethink some things.
Does anyone know how they now debug things in Space?

If they are using compiled C programs it seems like it would be very hard to make changes. Is the key just to not need to make any changes?

Or is this a case of Greenspun's tenth rule, where they've built REPL like functionality on-top of C?
I am a huge advocate for walking, and I walk a lot, but there is a certain biased assumption of safety.

I live in Chicago. I live in a…oh…let’s say a gentrifying area of Chicago.

I can imagine it would be intimidating to walk around some of the areas near me if I was a woman, or presenting as female/non-binary, or even a smaller man. (The non-binary bit is not some empty bit of woke, it is also a very LGBT-heavy area of town.) It’s easy to advocate walking, and perhaps easy to shrug off alarmism about crime, when you’re not likely to be the target of harassment or criminality.

Fortunately for me, I am easily the most terrifying creature on the street at 4am, and can blithely walk 2 miles to get home when Uber prices spike to $40. https://imgur.com/a/QoTzQr6
Which android emulator do you use ?
at 25,000 login attempts per user if you're not doing common sense rate-limiting of attempts per username, and rate limiting per IP space origin (either discrete ipv4 /32 or attempts from within a whole ASN), you've got other problems.

the rate-limit and blockage time for attempts should increase ban time/lockout-timer on an exponential time scale the more that a single browser/useragent/browser fingerprint/IP makes incorrect attempts.

yes obviously there are people out there with fully automated systems who will try massive lists of commonly used plaintext passwords for authentication if you don't throttle/rate-limit it.
Can confirm. I've both won and lost a lot of money on it.
If anything the situation is probably the reverse, that fertilizer/chemical shortages are causing shortages of explosives for making weapons. Building more Stinger's is currently projected to take a year or two because of difficulties in getting parts. One "part" is the high explosive, whose ingredients come from China, now being affected by lockdowns. If the West was at war with both Russia and China they would likely have to divert some fertilizer to weapons manufacture and agriculture would suffer both from the shortage of imported fertilizer and the extra demand due to weapons manufacture. Even so I'd expect the effect to be small, agriculture must use a lot more chemicals than explosives do.
I think the Mars Colonists will really benefit from learning this craft. Or maybe even the ISS astronauts... you know just in case, your trip home gets postponed.
>1e had lots and lots of overly specific lookup tables for things

For example the infamous Harlot table where you could roll for the precise form of loose woman you encounter. A different time, for sure.
I'm more tired of people who can't see any type of diversity-related language without getting triggered.
For those wondering about meat raffles... https://wisconsinlife.org/story/meat-raffle-a-wisconsin-tave... ... and an upcoming calendar https://www.meatraffles.com/calendar/wisconsin-meat-raffles....
If you didn't watch the entire video, I highly recommend it. What a beautiful style of story-telling; I was expecting a quick explanation of what kaketsugi is, but instead I got so much more. It was an inspiring look at the relationship between a mother and father, and between people and their clothes, and it was utterly heartwarming.
Postgres and Parquet in the data lake
I understand, but I must say that it doesn't sound very efficient to be working in an office for 8 hours every day in order to have useful spontaneous connections every once in a while. Meetups and other events also provide such interactions without having to be there all the time while coding, writing, etc.
What other good designs are there?

Why do all phones look the same?

Sometimes, there is one clearly best option.
> What I look for in a language first is how good the support is for concurrency, and especially if it has a good, modern concurrent garbage collector.

...in which case you'll definitely not want to use Python either, and so are rather far out of place in this thread.
> We assessed idea selection quality using two different measures: (1) the ‘creativity score’ of the pair’s selected idea23 and (2) the ‘decision error score’—the difference in creativity score between the top scoring idea and the selected idea—where smaller values reflect a better decision

Eh, I don't think creativity is so easily measured and also what they're calling creativity is incredibly narrow. As someone who went to art school, constraints are a huge part of being creative... when you ask a lot of artist what the "right" tool for their craft is, the answer is often "any tool you have will do"... being creative IS about doing more with less, and if you need to be face to face to do a proper brainstorming, perhaps you are not as creative as someone who can.
Airbnb Q1
I highly doubt your assessment. When you have a short position, with underlying values you don't own, you have a leveraged investment. Which is inherently more risky than investments in a base value.

The idea is not to have perfect negative correlations, but to find values with some negative correlation. This way you can profit from falling prices of an asset. Not with a 1 to 1 yield, or even higher.
Contractors often work for a business like any other. I've worked with companies where the contractors were better than the employees and vice versa.

But the quality of the contractors is ultimately irrelevant because we're talking about workplace protections and benefits. You SHOULD be blaming your company instead for taking cost saving measures that impact the rest of your organization. If your company is working with contractors that are core to your business then they should be treated the same as your employees. And we should be eliminating the middle area where companies want to treat contractors as lesser employees so they can pay them less for the same work.
Definitely a ripoff. You can see that they stole the idea of a clamshell design with a keyboard above the trackpad. And look at that tastefully centered logo on the back: there's no way any engineer could have come up with that on their own.
The commodification of dissent. In the 50's, counter-culture was far more delineated from corporate squareness, which is why those old 50's ads are so funny to us now. Business evolved to where now it has the ability to coopt any emerging dissent and counter-culture almost immediately.
we've been told for decades to "not write passwords on postits" and we're really back to square one...
I've been wondering why the approach that many imageboards had to dynamic content didn't catch on further.

Essentially, on those boards, HTML wouldn't be rendered for each request but instead regenerated and stored on each update (POST request etc). The update script would generate a plain html file and store it in the www directory of a static web server, overwriting the previous version of that file. For GET requests, the server simply returned the current version of whatever file was requested.

This allowed the server to employ the full range of optimizations for static files (caching, partial content headers, etc) while still essentially serving dynamic content.

Of course, this kind of architecture makes only sense if updates are rare compared to GETs and if very little of the content depends on individual user identity. However e.g. for blogs or news sites, both conditions are usually given.

If there are small amounts of individualized content, this content could be pulled in via scripts.
We’ve reached peak bubble - “A company is worth more that spends more, not based on profit.”
small fee VPS are likely to be in IP space that has a 'bad' reputation from other people who have historically done dumb things in the same /24 or /22, etc, even if it looks clean from RBL checking tools, you have no idea what its reputation is for actual delivery to google and office365.
Related:

Ultorg: A General-Purpose User Interface for Relational Databases (2020) [video] - https://news.ycombinator.com/item?id=29647880 - Dec 2021 (13 comments)
I did really well on Microcorruption.com (embedded security CTF)[1], which I'm told indicates you can work in (whatever kind of) security (that means). Generalist SWE before that and I want to switch over.

I still have a bunch of unknown unknowns about the entire space but would like some kind of job to get me started. If not, pointers on the next step would be appreciated.

Currently taking a break from the career because of earlier investments.

Location: Austin, TX
Remote: Yes
Willing to relocate: No
Technologies: Python, git, AWS, Django, Docker
Résumé/CV: https://www.linkedin.com/in/silas-barta-7b406813/
Email: sbarta gmail

[1] I didn't know any of the attacks before starting it, except the general concept of buffer overflows. On the way I redicovered heap corruption and found a general class of attack against the MSP430 (jump to arbitrary address using only bytes from the alphanumeric space).

https://docs.google.com/presentation/d/19K7SK1L49reoFgjEPKCF...
We’ll need to overlook for a moment that a non-trivial fraction of users here work for companies that do everything they legally can to collect, extract, track, scan, ping, and infer every last byte of information they’re able to about people who aren’t even vaguely aware of it.
Computers are boring but system on chips are kind of interesting again now that you need all this compute for AI.

People have made huge mistakes waiting for workloads that have very predictable computation, now with AI we have a need for coprocessors again.
What's your favorite open source 2FA utility?
> Please don't comment about the voting on comments. It never does any good, and it makes boring reading.

From the HN guidelines at https://news.ycombinator.com/newsguidelines.html
Watch "Century of the Self" (and "Hypernormalization") by Adam Curtis. Pop culture, marketing, and advertisement are in many ways the products of wartime propaganda techniques being applied to civilians by corporations during peacetime. Also watch Zizek for his thoughts on how corporations like Starbucks get people to try and practice their morals through consumerism. And since you mentioned falsified democracy, might as well look into Chomsky and his thoughts on Manufacturing Consent. These are legitimate, calculated phenomena that it's worth being aware of.
Hole in one probability can vary by a large factor depending on hole location and green contour. If that's all they consider, either they're heavily profitable or some tournaments could break even.
Also corgi owner here. Your description is perfect. I've owned two now. My first was pleasant like a nice family golden retriver. My second was exactly how you describe - I like the word "commandeering".

Even the queens corgis, who I'm sure got the best training money can buy, were still exactly as you describe. FTA below "For while the Queen adores them, others fear being a victim of their dark side."

https://www.macleans.ca/royalty/as-queen-elizabeth-iis-last-...
I'm waiting for google to buy it and close it.
If Nintendo isn't viable then video games in general aren't viable - I know that a lot of modern Nintendo games don't really appeal to the HN crowd but classic IP like Mario & Link are some of the most recognizable properties out there... additionally Pokemon and Animal Crossing have dominated the casual game space.

A union can force better working conditions and an appropriate price increase for their products can make that sustainable - if it's even really needed, tbh Nintendo isn't shy about pricing games pretty high when you take into account all the re-releases of titles they do.
But isn't that what we got? The only thing that doesn't look like the PowerBook G4 or the first MacBook Pro is the colour of the keyboard (black instead of silver).
My understanding is that it does have thunderbolt, on any of the 4 ports. It just doesn't have thunderbolt certification yet.
Gaming voice chat (discord/teamspeak/other, not in-game) solved it way better than just push-to-talk. Voice activity detection, adjustable voice gate thresholds (open and close), echo cancellation, background noise removal, individual person volume settings, adjustable application attenuation.

From my perspective, Zoom's one and only benefit is how easy it is to share a link and get into a video chat. Everything else about it is painful to use.
It does end, because real world antagonists are not the evenly-matched abstractions of game theory.

Consider an iterated dyadic game, but with a different weighting matrix for each participant, or a single matrix defining percentage rather than fixed payoffs. Chaotic factors aside, differentials will compound with iteration. It's NP-hard to say when (like predicting when or how a poker or a baseball game will terminate) but the fact that it will terminate is a very safe bet.

You are right that it might well end in war, but wars themselves are eventually won or lost (even if they have sequels). If avoiding war is your overarching goal, you need to minimize the fraction of the population experiencing life-and-death issues. If their self-assessment of their lives' net present value falls too low, they're incentivized to bet on reducing that of their opponents.
A lot of 2FA is security theater and doesn't provide any actual protection.

If your phone gets taken by the police (or stolen), with an authenticator app or sms they can get into your account easily but you're locked out.

A hardware key is the way to go but even then there's no guarantee the police wouldn't take that as well, and most people think having an app on their phone is enough.

And 'email alerts' are even worse, if someone has taken your computer and has complete access to your accounts, an email saying "is this you?" is just gonna make them laugh.
> Good infrastructure

They don’t even have a working sewage system.
Show HN: Bulletpitch, free newsletter that highlight startups
Graph Neural Networks: Foundations, Frontiers, and Applications