skysight-inc/HackerNews huggingface dataset:
"> Each quadrant is safe, except the one in the top right: shared mutable state.

No. Your database is one giant shared mutable state.

How is using a database safe then? Transactions."

Transactions are less an occasion where shared mutable state is made 'safe' during concurrency and more a situation where concurrent processes are forced to temporarily interact and operate in a sequential, non-concurrent, manner. They use locks under the covers. Databases manage to be parallel because different processes operate on different sets of data at the same time; they lock when two or more processes attempt to access the same row on a table. Transactional state access is still vulnerable to deadlocks and other difficulties of concurrent programming. This means that transactional state is not 'safe' in the same way that immutable and non-shared state are safe. It's just a much easier way of managing the kind of difficulties you have with shared mutable state than say, raw locks.
> This can't be installed like a regular app, can it?

Surprisingly yes, it can, though it remains to be seen if it will be accepted to the App Store.

> Also, I wonder why they emulate x86 – isn't the iPad CPU ARM64? Couldn't this simply use binaries for that architecture?

This is explained on the FAQ: https://github.com/tbodt/ish/wiki/FAQ#q-is-ish-32-bit-or-64-...
I wish my hair had gone grey instead of retreating from my head at 21.
Having been to Iran, Indonesia, and several other majority Islamic countries, here's my theory on house parties in said countries:

Given that you're already crossing the line by going to one of these parties, and in trouble if you're found out anyway, you might as well go the whole hog. Cocaine is prohibited, and weed, but so is alcohol. Orgies and adultery and sodomy and BDSM are prohibited, but so is vanilla sex or just being alone with someone of the opposite sex that you're not married to.

The line is drawn so close that it's nearly impossible not to cross it. There are no moral graduations (no shades of gray, as it were) beyond that line anymore. And if you're a sinner anyway, you might as well enjoy it as much as you can.

The more repressed the country, the wilder the (unofficial) parties.
Though it's not exactly cheap. Some of the boards are often over one or two hundred dollars
You seem a little overconfident that it’s unusable for text entry or programming workflow.

I type holes through the rubber keyboard skin in about 6 - 9 months I do so much text entry. Silk screened key caps are mostly gone by month 3.
Hence the invention of alcohol.
Antarctica melting: Climate change and the journey to the 'doomsday glacier'
"Our bot keeps asking for us to connect it to the internet and suggests that it'll be able to learn faster that way. We're really excited about this development, but a good fraction of our developers have started running around screaming about the apocalypse, so we're postponing public release until the chatbot tells us how to calm them down"
Asynchronous Purescript
Rocket League isn't available on Steam (anymore). Epic does not technically support Linux outside of Android.
> Should I drop everything to live a stress-free life in Thailand?

That sounds like it would be a really stressful thing to do...

You probably have a number of good ways to reflect on your priorities, but its very difficult for someone else to tell you how to reflect on those. Most people can only speak to what worked for them, which depends on where they were before, etc.

IMO to start:

Wake up way earlier than you have to. (This changed me into a morning person.) When you have 1-2 hours where you can just sit there calmly, drinking coffee, and not be rushed, you feel ten times better. Many mornings me and my wife wake up and just sit by the fire (that we restart to heat our home) and make coffee. Sometimes she will write, or we will both read, or talk, etc, but often we just sit together for a while and relax. Later on, you can work on being ~productive~ in the a.m. too if you please.

Invite ritual into your life. Spend a time making your home a place you would want to be. A house is a place for having coffee, having conversation, having memories and symbols that give you feeling or inspiration (pictures, objects), how much of their designs do that? How much yours?
I solved some tough IPC problems using the TCL event loop. A product that runs on several thousand machines across the US was designed around a set of distinct C++ processes communicating over sockets. Using the TCL event loop greatly simplified the design, improved performance and eliminated concurrency bugs present in the bespoke IPC code it replaced.

It should have been written that way on day one but some programmers default to pounding out a bunch of spaghetti instead of learning about the tools at their disposal.
Yeah, it's Nnt just plausible, it's fairly straightforward. Here are some untested versions that have branch-free inner loops for lines (easiest, this will probably compile branch-free even if you aren't careful), and words:

https://godbolt.org/z/JNU-_G
If typing random letters into Google translate taught me anything. Emails and anything stored in the Google cloud or device.
They are proposing the use of peracetic acid instead of chlorine.
I highly, highly recommend the Coursera course Learning How To Learn (https://www.coursera.org/learn/learning-how-to-learn). It's a tremendous resource for improving your ability to learn.
Except when it leads to endless criticism, with nobody actually getting their game together and doing something. It is very easy to criticize, and allowing people to criticize with nothing to show can very quickly discourage people from making any effort at all.
After my first son, I noticed an explosion of gray hairs. I went 39 years of my life with a few strands of gray on the top of my hair. Two years since my first arrived? Grays all over. And I mean, ALL over (in places I wasn't prepared for...)
Author here.

Today I would like to release ExpDealsHotel 3.0 Beta to you. As the title says, this is an app to quickly help you reveal Priceline's Express Deals. Please leave a comment if you like this work or if you have any questions for me. Thanks.
Idea: kids go house to house fund raising by collecting old phones plus $10 per phone (ewaste). They factory reset and load with kid friendly apps and sell to Moms via cheepfone.com. Raise money for school tech clubs.
We can revisit the stoic lessons from Marcus Aurelius, Seneca and Epictetus. I find them very useful for managing stress.
Maybe there needs to be a trail rating for chat bot safety. General public gets the bunny slope conversation, Tracy Morgan gets the double black diamonds. You work your way up by not attempting to cancel the project for something untoward that was said.
They do have another API that is REST. At least one gmail backup tool is already using it ...

https://github.com/jay0lee/got-your-back/wiki
Thirding 1Password, seems to destroy LassPass, Dashlane, etc from a usability and shareability perspective.
Can you elabarote more on 'config' ?
Especially if someone plans to follow your build and this will be first hackintosh. Any more links to hackintosh resources/community? (technical ones :)

Also: could you write which models of components you bought:

a. 580 gfx card ? /nitro? pulse? others :)/

b. in terms of 5700 youre planning to buy do you have exact model?

c. which exact memory (size of one) and 3600 was base or overclocked
The only person in this thread talking about gender is you. Everyone else is talking about her with the context of her as an individual human.

You are the misogynistic one in this conversation.
Does poor sleep patterns intersect with stress? I don’t feel much stress but between work, side projects and traveling, I feel a bit tired.
In longer form: "Debt: The First 5,000 Years" by David Graeber
Those damn crabs better toughen the hell up.
Well, there was Mac GUI toolkit for Windows, which Safari and iTunes used, wasn't really Safari for Windows
Or...they could just ignore having to target library versions entirely and just target Windows, which represents >99% of the market.

Game developers could do lots of things to support Linux, but many prior attempts to support Linux gaming have shown game developers that it's generally not worth it from a resources perspective unless the engine you're using already supports Linux and you don't need to do additional work to get your gaming running on Linux.
Fighting over money is because of personality and disagreement, not the amount of money. You can fight at any level of wealth.

For the rich, spouses can fight over the choice between buying a pro sports team and buying a private island, or between buying a customized 747-8 and buying a made-to-order yacht with helipad.

For the poor, spouses can be in full agreement that dinner is soup made with ketchup packets, slugs, and dandelions.
Not Sure if Brendan Eich is Reading, wondering if he has anything to share.

You need to setup an Entire Separate For Profit Company for a different product?
Ya lost me at $(emacs)!
A lot of it is outlook. The lens you use to view the world affects the way it impresses itself upon you. I still get stressed out from time to time, but no where near as much as my peers. I just flow along with changes and the like. A saying that has affected me greatly:

If you can't do something about something, don't worry about it. If you can, then do, and don't worry about.

I'm sure others will chime in with lots of good ways to manage stress. Therapy, working out, meditation, drugs, etc. Working out is def good in my experience. But I get the most bang from my buck by just plain not worrying. Deadlines and money can make that hard, but I just take the next step, over communicate, and let someone else stress out.
Revamped Tasty Shapes with Friends
I second waking up earlier than you have to. I started doing this about 2 weeks ago. It's nice not having to stress about rushing in the morning.

I used to start my day stressing. In hindsight, that wasn't healthy.
Some of the Arlo gear is battery-powered. I use a couple of their LTE cameras in areas without any other means of connection.
How to estimate feature development time: Maybe don't
Stress free as a desirable goal? I'm not sure, a lot of the ends worth having mean going through stress. We are always more happy pursuing a goal than getting stress free, so I'm sure once we became stress free we would find a new way of being stressed.
Can anybody here explain why the mortality rate seems to be decreasing? Better diagnostics due to raised awareness?
Perfect username for that lol.
The U.S. not only has the freedom, but the subsidization; be it roads that aren't paying property tax, fuel taxes that don't earn enough to maintain existing roads, delayed maintenance -- but all of the way to oil exploration rights.

The 18.4c federal gasoline tax should be almost doubled to 34c, ignoring that road construction costs have outpaced inflation.

Where car accidents were a leading cause of accidental injury and death hospitals (especially rural) and have costs exceeding inflation and medical debt is a major cause of bankruptcy and I hospital tax deduction.
'const' all the things.
> "tying things" is a use. But how often do you need to do that

I'm not sure how to answer this. Your life is clearly very different from mine.

How do you fasten your shoes? Your belt, when the buckle breaks? Furniture to the inside of a truck? Your backpack, when the straps break? Your shade structure, when the joints break? How do you carry ten two-liter bottles? How do you leash your dog? When you need a grippy handle on something that is a little too slippery, what do you wrap it with? When your arm is hurt, what do you want to be holding it up with until you can get treated? How do you finish up a seam in clothing, if not by tying it off?

Tying things is the physical world equivalent of copy and paste.
Keep in mind, my point was that the possible trade-offs seemed worth it to me.

> Is this a big deal? The device can just discard it.

I read someone around here who stated this was the original goal of firewalls. The device could indeed discard it, but having dedicated hardware for that check could avoid denials of service.

> I've used a SIM with a non-firewalled public IP for months. I haven't noticed any extra battery drain.

I am a bit jealous: mine is firewalled. Such extra drain could happen if you had, say, an ssh server on it, and someone was trying to bruteforce its way in, or if you had an http server with a few crawlers hitting it, but those are theoretical issues. On the other hand, you get much easier push notifications (too many of those, and the battery starts being an issue again).
> Almost by definition, its impossible for more than one party to control 51% of all hashing power.

I suppose they meant, that many parties do have that much potential compute but they use it for other things. But they could in theory switch to computing bitcoin hashes and control 51%, and in turn some other party can do the same etc... Obviously you're right that eventually one party can own 51%, but that doesn't mean only one party can successfully perform 51% attack, since % of hashing power can change by time.
I think it's really important to learn how to laugh. Laugh every today. Laugh at dumb things. Don't get cardiovascular disease or creases in your face or go bald because you're too proud to have a sense of humor.

I need to work on this myself.
I think it is important to realise that most governments are not monolithic. There are many factions and agenda at work that are hard to understand from the outside.
I find it kind of confusing that anyone attempts to make money building developer tools for MS platforms. The behavior described here is MS's standard operating procedure. Their goal is to control everything. They want to provide a fully integrated MS software development platform that's slightly easier to use than open source, supports legacy code, and comes with legacy users.

If there is ever an opportunity for building a tool that augments / integrates with the MS platform, that opportunity only exists because MS either 1) lacks the vision, or 2) has not chosen to place engineers on that idea. It is a transient condition. If the idea is worth a lot of money, MS will eventually try to replace the third-party tool with their own.
Weirdly fasting came up at work today and I'm now trying out 16/8 for a week. Thanks for sparking my curiosity! :)
The way I read it patches for the LTS versions stop being available to open source consumers when the next minor release occurs. That means open source Qt applications are forced to deal with all the new bugs that come with a new Qt release much more regularly, saving the commercial customers the hassle. That is exactly why they did this, they even say so in the announcement. That makes Qt a lot less attractive to me.
Didn't Vista default to suspend when pressing the power button - in the menu?
All the trite platitudes seem to be the only real route to living a stress free life and involving oneself in society. For example: “don’t sweat the small stuff, and remember it’s all small stuff”. For me, I just remind myself everyday that eventually the sun is going to melt the earth, which is pretty wild, and nothing I do is really important. And I’m okay with that. I still work hard and have fun, but I really just practice not being attached to things. I was a very stressed out kid/young adult, and I can’t remember a single time that being stressed helped anything. So I remind myself of that. And I ski and have dogs.
Me too.

A strong dose of CBD before bed seems to help the forthcoming days. I'm much calmer.
Philosopher Dreams of Writing Sci-Fi
Are you referring to this API?

https://developers.google.com/gmail/api
However, it’s worth noting that Vulkan, Metal, and modern DirectX are so similar to each other that translation layers are extremely thin and have a performance penalty somewhere between negligible and nothing. That’s a dramatic improvement from where things were before OpenGL and DirectX had no interchangeability at all.
I’d rather be bald than laughing & chattering all the time like the rest of them.
Airbus faces $4B fine after international bribery probe
Neat! I wonder if the character decoding & regex usage has noticeable performance impact. My Common Lisp version was sped up somewhat by switching from a character stream to a byte stream: https://git.tazj.in/tree/fun/wcl/wc.lisp

You can try this one via Nix with:

nix-build -E '(import (builtins.fetchGit "https://git.tazj.in") {}).fun.wcl'
I don't believe for a second that failing to support linux is going to affect brand value. Its such a niche audience.
that are more efficient at reducing poverty...an unconditional cash allowance for households with children.

The opposite--a cash allowance for poor people who agree to be sterilized--would also reduce poverty, and a single generation of such payments would have a lot of staying power. Now, I wouldn't expect the author of the article to desire such a policy, but it would work if all they are trying to do is reduce poverty.

(Of course, paying poor people to have kids would, in fact, greatly expand poverty forever and ever, but that's another matter. The authors, of course, are in no way actually interested in improving society.)
The blame here is squarely on Apple. After Jobs they treated the iPad as if it is just a big iPhone. It is a device of incredible potential but developers can't make an economic model work with iPad centric software which really takes maximum advantage of it. Apple should have developed killer apps in-house specifically for the iPad to seed the ecosystem but they didn't.

It is crazy that ten years after the iPad came out the only real way to keep large numbers of documents in sync and organized between it and my computer is Evernote.
For sourcing drives probably better to go with buying external 10 TB drives (and shucking them). Make a JBOD.. I dunno.

A quick ebay search right now shows used LTO8 drive for $3K (same as new), LTO7 for $1.8K, LTO6 for $0.5K, LTO5 for $0.15K. If you shop around, you can find much better deals.

Here are some tape costs:

LTO-5 (1.5TB/$19.60 = $13.07/TB) LTO-6(2.5TB/$22.58=$9.03/TB) LTO-7 (6TB/$57.95=$9.66/TB) LTO-7 type M (9TB/$57.95=$6.44/TB) LTO-8 (12TB/$134.25=$11.19/TB)

Breakevens:

LTO8=300T
LTO7=300T
LTO6=75T
LTO5=50T
LTO4 and below=never

Of course without a tape robot, no one should be using LTO5--there's some personal inconvenience cutoff for everyone.
Foiling IoT Hackers
thank you. A very useful contribution that neatly answers the question of why anyone would go through so much trouble. I would have guessed the difference in price was "only" a few hundred, and obviously would have been quite wrong! I never would have guessed 3.5 times!
Apparently threads of length 7 so maybe twitter threads or reddit. It s not clear from the text if they used the evaluators of the model to generate threads
What talk is that?
I am satisfied knowing that I've gone grey raising my daughter and not for some godforsaken software project.
Free Software Licenses Are Losing Ground to Permissive Open Source Licenses
GM's Detroit-Hamtramck Plant Revived as Electric Car and Truck Factory
How so? How many cores on the machine? Maybe you have some false-sharing, maybe thermal throttling is kicking in.
Depends on how you look at it, really.

End users say, "I would like to be able to sign in with xxx." Developers say, "Your OS vendor doesn't want you to."
Hydrogen in the form of ammonia is easily transported and stored. CSIRO have developed catalyst+membrane technology for conversion back to hydrogen: https://blog.csiro.au/hyper-for-hydrogen-our-world-first-car...
Maybe not you, but explicitly encouraging others to take harmful steps is a potential outcome.

For example, there's a clear safety issue with a conversational bot that tells you to kill yourself if you talk to it about feeling suicidal or depressed.

What if you talk to it about immigration and by picking commonly upvoted statements on certain online communities it starts to encourage violence?

There are clear ways to me that a chatbot can have safety issues.
Ah, thank you! That's exactly what I was trying to think of when I posted this question 7 months ago: https://news.ycombinator.com/item?id=20164397

+50 internet points for you!
That actually made me laugh. Thanks for saving my hair
The article mentions debug build time as a legitimate pain point about the LLVM project. General good advice, which unfortunately isn't enabled by default: use dynamic linking, make sure you're using lld, enable split dwarfs (and -Wl,--gdb-index for faster gdb load times!), enable optimized tablegen[0]. ccache doesn't hurt but isn't actually such a big benefit unless you switch between branches a lot.

Oh, and buy a Threadripper. Seriously, you won't regret it.

[0] TableGen is LLVM's internal DSL swiss army knife. You can separately enable optimizations for TableGen independently of optimizations in the resulting LLVM builds, which you should basically always do unless you're working on TableGen itself.
MSMQ Is Dead
It is amazing, and sad, how many people still refer to this document today when complaining about how "threads are bad" and "events are the bee's knees" or when justifying some architectural decision to avoid threads. No one prototypes anymore. No one does their own real world testing and benchmarking. They simply Google for some docs which support their already-made decision and call it a day.
Kubernetes was based on Google's Borg [1].

Netflix uses Titus and Mesos [2].

I'm not sure what Amazon uses, but I'm sure they have some sort of system to do this. They offer plenty of managed solutions for customers (including EKS).

Apple's more of a product company, but they seem to use Kubernetes for some things [3].

And finally facebook apparently has something called Tupperware [4].

So all the FAANGs use something like Kubernetes to manage infrastructure.

[1] https://en.wikipedia.org/wiki/Borg_(cluster_manager)
[2] https://queue.acm.org/detail.cfm?id=3158370
[3] https://jobs.apple.com/en-us/details/200120515/virtualized-c...
[4] https://www.slideshare.net/Docker/aravindnarayanan-facebook1...
How Does AI Change the Way We Perceive Art?
It says this went on from '18-19 so let's guess it was 12 months, that's more than $750K and $1.5 million in grant money. When most payments in other cases have just 3-4 zeros, this is not a small one. This means it was really valuable to PRC.
دايان أبي علام بين الدراما اللبنانية والسينما العربية
Very cool -- on a semi-unrelated tangent: I really hope SerenityOS takes off (contributors, supporters), as I've been itching to run some old-looking OS on newer hardware.
I think to be fair even Microsoft doesn’t get this right consistently.

For example EF, particularly EF Core has been a nightmare IME. Whereas Dapper has consistently delivered over time (props to StackOverflow for their awesome and consistent OSS contributions).
First, it’s a terrible argument for it, main point was none of the Windows machines (employees not on the guest network) could sync with the HDMI screen via their array of HDMI and UBC-C ports? Driver problems, settings problems, screen management challenges ... LTE chip doesn’t solve that. (OK, Mac with LTE would kick ass. Apple need to port “low data mode” over to MacOS.)

Second, how many Windows or Mac laptops angle the screen from the middle of the base thanks to no touchpad, so the whole thing fits on a short airplane keyboard tray, or take no room on a cafe table, and are as easy to carry around as a legal pad in a folio?

https://support.apple.com/library/content/dam/edam/applecare...

The new generation isn’t ‘origami’, it’s firm on your lap w/o a table as well.

// I also have all the various Surfaces, and other brands’ attempts to achieve similar form factors in Windows. Better than old iPad origami keyboard nonsense, worse than new iPad smart keyboard.