skysight-inc/HackerNews huggingface dataset:
> If you call apartheid to what's happening in Israel, than what do you call the treatment if minorities in all other Arab countries? Because in Israel non jews are in parliament, executive branch (ministers), in the judicial system (judges) in academia , Are graduating as doctors and lawyers , are journalists etc.

This got to be a joke.
Israel is an illegal occupation started by the British in 1917.
They started the biggest open air prison in the world (Gaza), and actively demolished homes to build new illegal settlements.

The same occupation that killed Shireen Abu Akleh, and tried to disrupt her funeral in every way possible.

I will let the Amnesty report speak for itself

https://www.amnesty.org/en/latest/news/2022/02/israels-apart...

> than how on earth can you say that making homosexuality illegal is just a matter of culture?

Because we don't accept it, simple.
You changed your culture to accept it, we didn't and won't do it.

> even make calling yourself a Palestinian or raising the Palestinian flag illegal.

Ha ha ha,
just stealing the land, removing the right of return and starting an open-air prison, nothing serious! /s.

https://www.aljazeera.com/news/2022/5/13/why-is-israel-afrai...
That doesn't make it more right. I think you did not understand my remark.
Encrypting all the drives will not work because the authorities in the new country more than likely have the leeway to "kindly request" that you unencrypt the data for them. I don't need to know the country to know there is a high likelihood that this is true.

Your best bet is to back up all the data from all of them onto one large hard drive, encrypt that, wipe everything and travel with everything but the hard drive. Then let them poke around whatever they want. Maybe keep some stuff like family photos and whatever just so that it doesnt look like you wiped everything before leaving.

If you travel with that many drives you're likely to gather some suspicion, so they're likely to want to poke around.

As far as getting the data to you, you could have a friend or family member mail the drive to you, or have it hooked up to an internet connected FTP server, or even an open VPN or wireguard tunnel to the network it's on with local only access.
Water has ~5x the heat capacity of brick. My first thought was a heat-pump water heater combined with radiant flooring. This way the heated water is stored in an insulated container until it is needed.
I have never came up to a code that would pass null in place of Optional, why?
this is the dumbest critisicm ever. Everyone was perfectly justified in championing him around as a posterboy because no one in the world besides him and a few coworkers knew he was a fraud. and now that everyone knows hes a fraud, they no longer parade him around.

youre really going to get mad at the EA movement for not realizing FTX was a fraud when literally, and i actually mean literally, no one knew it until a couple weeks ago. He bamboozled every government and financial institution in the world, but the humble EA movement should have known.
Being older has its advantages. You have a lot more "common" sense, but not all older people do, some have kept emotional debt, trauma, various things that can hold them up from getting product market fit, leading teams and organizations, dealing with having a lot or not a lot of money, etc. If I recall, uncited, from my evening, later-in-life MBA program, the more successful startup founders/cofounders/etc are all in their late 30's and 40's. Weeds out the kids, you're serious. Staring at a seed round of VC's with life partners, spouses, kids, whatever you have in life that you're trying to maintain and help support, those are good things. VC that want to weed you out are definitely not worth it.

Leaving work to pursue a startup should only happen when you can prove well enough to VC's you're accreting revenues just barely worth investing in (to very worth investing in). If you're sane, I would wait until you can't move forward without some seed/VC and then look around for it- starting with people you know, and familiarize yourself with how funding/ownership/etc works.

You don't need to go through ycombinator, although its very worthwhile, you can just run a startup on the side or quit your job once its up and running.

If your startup is a unicorn, maybe wait a year before quitting your job, so the job market is ripping again when you fail :)
Not being familiar with the meme, my first thought was “78 viewings, and I’m just now learning that the Black Knight had a name?”
Seems like the Diataxis author came up with the framework while working at Divio: https://github.com/evildmp/diataxis-documentation-framework/...
Is there any correlation between this affine property and the fact that you can emulate addition with subtraction (but not the other way around) and that you can emulate multiplication with division (but not the other way around).

e.g.

x+y == x-(0-y)
x*y == x/(1/y)
This is a political failure: we have incentivized the hiring of immigrants while failing to help our own citizens grow into productive workers.

We all know the answer here, but it’s taboo for whatever reason
Almost lost a co-worker when he got hit by a bus five years ago. He's back at work full time now, with a substantial settlement from the transit agency (nice amount of f** you money). He wasn't an essential employee, but was important to our team in many ways. Fortunately he was always willing to joke about his accident. He'd survived, after all!
> Everyone studying solar geoengineering seems to agree that it’s a terrible thing. “The idea is outlandish,” Parker told me. Mohammed Mofizur Rahman, a Bangladeshi scientist who is one of Degrees Initiatives’ grantees, noted, “It’s crazy stuff.” So did the veteran Hungarian diplomat Janos Pasztor, who runs the Carnegie initiative on geoengineering governance, and said, “People should be suspicious.”

The biggest threats from a slightly warmer planet are the unknowns. Such a drastic plan comes with perhaps more such unknowns. Sometimes I am comforted by human laziness and our default "do nothing" approach. At least then we will wait for tragedy to respond. This is not so horrific when an overzealous attitude might result in far more and greater tragedies.
Recommendations for a decent, entry-level CNC?
As someone who has organized many friend trips across the world over the last decade, I don't see the appeal.

Maybe it's the style of travel that doesn't fit? The trip is often as simple as, let's go to <place> and maybe there is <activity> we want to collectively do. But planning each day and filling it with activities sounds like an absolute nightmare to me. That just seems like work. Am I strange or is this how most people plan their group trips?
Maybe you should try to imagine a little harder. "If You Judge a Fish by Its Ability to Climb a Tree, It Will Live Its Whole Life Believing that It is Stupid"...or in this case you will live your whole life believing every non-technical person around you is stupid...which just sounds miserable for everyone involved.
Having moved cross-country recently, this proved to be a fool's errand. If it doesn't fit in your carry-on, leave it behind.

I paid a lot of money to have a bunch of junk shipped, and all I received was a pile of twisted metal-- it was all destroyed in transit. Trying to salvage the data from the hard drives cost me hundreds of hours, was only partially successful, and the only aspects of the mess you get reimbursed for are shipping cost and retail value of old computers (do you have all of the receipts/invoices for them?). You don't get paid for your time or grief.

The only country I've ever seen that takes issue with travelers carrying too many <item_type> is Japan, but the more of anything you have, the more opportunity for any single piece to get lost along the way. Transfer important data to two encrypted xTB-sized personal drives and toss those in your carry-on. You are your own courier.

Make peace with the fact that all of your gear is disposable when you get on that plane.

If you insist on shipping...

* Bring copies of your original purchase receipts/invoices for items shipped with you on the plane. You will not be able to substantiate any loss/damage claim if the documents you need to prove losses were themselves lost or destroyed.

* You can increase handling diligence by adding a gun to the parcel and following legal firearms-shipping procedures. Carriers attract a lot of heat when they lose guns. This may or may not be an option for you, and will limit your carrier options to FedEx (and maybe DHL?).

* Remove all hard drives from their chassis. (This one, I overlooked, and being the only part I actually cared about it cost me dearly.)

* Have your stuff packaged by a UPS/eq. Store. DO NOT do it yourself, even though you would do a better job of it-- when you need to make a damage claim against the carrier, your claim will ALWAYS be denied on account of improper packaging if you're the one who packed it.

* Some insurance riders will require signature confirmation at delivery. When you sign for it, write "DAMAGED" above your signature-- whether or not there's anything apparently wrong with the package. Not all damage is immediately obvious, the terms for reporting concealed damage are easily faulted, and signing that pad with only your name affirms you received the package intact-- and guarantees any subsequent damage claim will be denied.
GitHub does offer the ability to modify files within the web UI and open a PR from there.
Can't deny that.
And I am not very fond of the system of guardianship in some countries.
At least in the UK, demand is consistently lower overnight (e.g. see https://grid.iamkate.com/) and wind output alone is close to meeting overnight demand on windy nights. So storing large amounts of cheap overnight energy can be very useful - especially if it means we can turn off heat pumps at peak times. In fact, in the UK we already have a scheme that pays consumers to not use electricity at peak times: https://www.moneysavingexpert.com/news/2022/10/octopus-ovo-e...
Honestly, nothing. I just enjoy the symmetry.

But really - we like to think there's a sensible definition of what a country is. There isn't. What makes Scotland a country and not Montana?

I'm in Ireland, the examples get even more convoluted. For some sports we field a team as a UN-recognised nation-state. For some sports we field a team as an island. If you're born on the island to parents who are citizens of the island, you can claim an Irish passport - whether or not you were born in the country of Ireland. Sometimes it's a geopolitical entity, sometimes it's a geographical entity, sometimes it's a political entity. Sometimes it's not even green.

Is the UK a nation? Is the US a nation? Is the Navajo Nation a nation? Is the UK a country? Is England a country? Is Malboro Country a country?

My passport says "United Kingdom of Great Britain and Northern Ireland". But I'm not convinced Great Britain is a United Kingdom (England and Scotland legally are, Wales may be a principality depending on who and when you ask), and I'm not sure if Northern Ireland was ever a Kingdom (Ulster perhaps, otherwise it's not a kingdom, but the remains of a king's claims).

Nationhood is almost as convoluted as the modern take on gender. You can self-identify as anything you like if you have an army to back you up.
Another area where Musk's "brilliance" has faltered is in his transportation ideas and there's a connection here to twitter in that the challenges here again are not technical, but rather political around land use.

Brute forcing a problem with better technology not always the actual solution when technical problems aren't actually the problem.
Long flu is a thing [0] [1]. People were talking about that for years after the 1918 flu.

There's some evidence that a prior flu outbreak, the Russian Flu around 1890, may have been an earlier coronavirus pandemic [2], but nobody could differentiate them at the time.

EDIT: The parent's question seems reasonable. Covid is not unique amongst viruses in the damage it causes. Besides long flu there's things like myocarditis [3] from the flu that may have been neglected in the past, also.

[0] https://www.sciencefocus.com/news/long-flu/

[1] https://time.com/5915616/long-flu-1918-pandemic/

[2] https://pubmed.ncbi.nlm.nih.gov/34254725/

[3] https://pubmed.ncbi.nlm.nih.gov/33437555/
But is it? I wanted it to be tongue-in-cheek but the title is actually a rather accurate description of the contents of the article. This is a ~20 lines weird hack that we threw at the wall to see if it would stick... and it massively improved Firefox stability. I can't stress it hard enough, it's the largest, most visible stability improvement in the past decade.

More specifically - on the memory front - we spent lots of engineer/years working on improvements which sometimes would barely register, only for some weird trick make OOM crashes fall off the radar entirely.

Also I'd like to point out that we have no way to tell if this is working because we give Windows time to resize the swap file, if it's because other processes in Firefox die, or it's because other unrelated processes die, or a mix of all the above. It's pure speculation on our part.
Depends on code base, at the beginning you would prefer the opposite, (not annotated are nullable).
Time for enterprise architects to take their place in the boardroom
The Making of Dr. Strangelove (2013) [video]
MacOCR – command line OCR app for macOS
This was previously shared in 2021, but given everyone’s interest in Frog[0], I thought you guys might want me to share this again.

[0] https://tenderowl.com/work/frog/
A fundamental improvement in terms of what? The cloud provider provides a service conditional on being paid, whereas what you call "the network" seems to provide the service for free. Who's paying for the service?
Heat pumps are ~3X more efficient and are hitting the sweet spot of economies of scale and incremental improvement. So, more likely would be water storage tanks powered by heat pumps, that store heat during the day (when temps are higher and solar power’s cheap), with release through the evening.

If there’s a neat thing about these old resistive heat storage bricks, it’s the use of a fan to deliver hot air immediately.
It could as easily be the other way around.

The country that is most likely to do it is one that faces an existential threat from warming. The US is not that country, but Bangladesh may be and in fact Bangladesh is on the short list of countries most likely to do geoengineering. It is not fantastically expensive (say $2 B to develop a new airplane) and a country like that that faces mass casualty could either bankroll a project like that themselves or work together with other entities to make it happen. (say oil producers who have a lot of sulfur to get rid of)
In many respects conditions have gotten better for certain types of work. That doesn't mean that certain people are not predisposed to not like the work. I work remotely, have many of the benefits you list but I am still tied to keyboard many hours per day. I can see where certain people might feel like that is akin to spending the day in hell. I have made certain concessions to achieve my desired work life balance. I could see how others may have a different calculus concerning that. It has nothing to do with being tough. Some of them may actually have options and chose to exercise them.
Yep. It makes a lot of sense for open source where gate keeping makes sense (to reduce feature bloat, back doors and an inflated API surface that needs to be maintained almost indefinitely).

Most corporate code bases are written by a smallish team operating under tight time constraints so most contributions are actually improving on the current state of the code base. Then PRs delay the integration, and lead to all kinds of follow up activities in keeping PR associated problems at bay. For example the hours wasted by my team in using stacked PRs to separate Boy Scout rule changes to the code from the feature is just abnormal.
As little as feasible, but no less than that.
Sure, I know, but if you're talking about really modern filesystems (which do copy-on-write/CoW), then the fragmentation caused by CoW is even worse than that avoided by delayed allocation.

SSDs certainly alleviate this problem, but even in SSDs, sequential I/O can be much faster than random I/O.

Anyway, I guess my point is that the vast majority of systems don't run with >90% disk space usage, so reserving up to 10% of the filesystem for swap space is not unreasonable.

Note that this would just be a space reservation. You wouldn't need to actually allocate specific disk blocks or write anything to the swap file, unless the system starts running out of memory.

In reality, you'd need much less than 10% (in the vast majority of cases), especially if you have a Windows-like API where you can allocate address space separately from committing memory (which means uncommitted address space doesn't need swap space reservation).
I don't understand the hate for merges, or the love for rrbaded. Let's consider what may happen using a github flow strategy (main branch, feature branches based solely on main):

* If you screw up a merge, you undo the merge commit. Now your branch is exactly as it were. May not happen with a rebase.

* If you push some code to the remote, and later find out it was outdated, you can merge it with main and push again: no need to force, github can distinguish what's already been reviewed and what hasn't. With rebase, you may need to push -- force, and if someone already reviewed the code they're going to be shit out of luck, as github will lose the capability to review "changes since last review", as the reference it has may have been lost.

I also merge these features using squash commits, which provides a very linear history. This also saves some effort (you don't need to be rebase the commits in the feature branch, which can be a pain in the ass for unorganized people and git newbies, and you are pushed towards making smaller, granular PRs that make sense for the repo history).
Also applies to cities like NYC which have district steam heating with plentiful daytime heat.
https://foundryvtt.com/ might fit the bill.

Disclaimer: I've basically never used roll20 because it's way too heavyweight for my games; I use Owlbear Rodeo instead. But I have tech-savvy DM friends who use and like Foundry
KDE Ends Out October with More Plasma 6.0 Planning, Plasma Wayland Fixes
I do agree that an online google doc style WYSIWYG markdown solution would be preferable for non technical and then git and markdown for technical would be the ideal solution.
> Assert usually throws an exception in most environments.

Not really. In C and C++, an assert() calls std:abort. In custom implementations it does whatever you'd like it to do. I've seen assert() call asm('int13;') out of convenience. I never see an exception once.
I miss the pre-Rust days. When Haskell was HN's cool pet language, and you had to obtain at least some vague familiarity with the term "monad" to understand half the discussion threads here.

I'm sorry, but I don't think you understand the purpose that "Optional" was intended to serve. And are unduly dismissive simply because it does not serve some larger purpose that was not intended.
My comment is about how human rights only get brought up in events in the Middle East, not when there is some event in the west, that is hypocrisy.
OK, so when valhalla lands I assume Optional will become value type (or we will have another class for that, to avoid issues with backward compatibility)
the banks can't unload the twitter debt, that is just a fact
Sure but then aren’t you just glued to the computer doing 3D design and letting the machine translate that to reality? Isn’t the point to build stuff with your hands?
Water can't really go above 100c without being under high pressure though.
What I see as Rust's advances in programming experience (I assume you also like enums with payloads, bounds checking by default, structured threading to avoid C++'s "data races by default", fat pointers over storing vtables in objects, the hashmap Entry API) should be able to stand on their own. I want to be able to use them in a language which doesn't obstruct me from applying working patterns in areas (general single-threaded memory lifetime management) where I rarely make mistakes (unlike with threading), and find Rust's current options to be regressions (only offering easy access to special cases like Box/Rc/Arc/RefCell, I can write imperative code with loops and matches, but the community largely juggles higher-order functions into Option/Result/Iterator methods, which leak upon contact with side effects). Though I'm unsure if you find the asepcts I criticize to be positives, or merely less of an issue than I see it.

Separately, I've been loosely following gcc-rs's development, which has uncovered some surprising hidden complexity in rustc's operation leaking into the Rust language's behavior. For example, for loops "requires Iterators that will need generics and traits to be implemented first" (https://thephilbert.io/2021/02/15/gcc-rust-weekly-status-rep...) and these abstractions likely don't get optimized away in debug builds, and resolving method calls can take dozens of steps evaluating Deref and adding and removing & and &mut (https://thephilbert.io/2022/01/31/gcc-rust-weekly-status-rep...). I think that bidirectional type inference (one time extracting a lambda from a method argument to a variable broke argument inference), complex method call resolution algorithms, and defining the semantics of code (not just validity as with borrow checking) through complex trait resolver algorithms now being reimplemented in Prolog (Chalk and possibly datafrog), collectively do Rust a disservice in fulfilling the role of a transparent, explicit, well-specified language.

For now I'm just waiting for the language I'm hoping for (whether or not it's a language you want to use). My fear is that the inertia and resources of C and C++ on one end, and Rust and pcwalton calling Zig with general-case memory management a "massive step backwards for the industry" on the other end, have drained away available resources from a language (Zig, Nim?, Hare?, etc.) which uses abstraction and higher-order functions sparingly in places where they resolve problems without causing harm, rather than making them the most viable option in the language by crippling alternatives.
You can hibernate to disk on macOS (even with modern M1 Macs). It’s a pmset option.
Discussion on practical reasons for using brick vs. water, https://diy.stackexchange.com/questions/133503/installable-s...

If insulation products can enable safe, economical storage at very high temperatures, sand can be used for energy storage, https://news.ycombinator.com/item?id=33696105
Frankly, I was focusing less on the standards and more on documentation, but I would absolutely include an advocation for my human rights into any standard I was responsible for. There are still many countries I am unable to safely visit, and if they are going to use my work, I want them to at least be cognizant of their cruelty.
Not nice being a Jew these days :/
You can say whatever you want about us, and the billionaire has got your back.

Scary times
He says "mouse" exactly the way you'd expect a Canadian to say it.
A cat is a startup with VC money competing with a bootstrapped business.