skysight-inc/HackerNews huggingface dataset:
Fundamentally, the sync wrapper has to ask the event loop to wait for the async function to complete.

Assuming it's possible, one way is to create a new event loop in a thread. This means you're creating and tearing down threads for a "trivial" wrapper. And, really, because threads are expensive, you'd probably want to let the caller provide an event loop.

Really, you wind up asking the caller to tell you what event loop to use. Let's compare real async vs. the sync wrapper function:

async func main() {
await middle()
}
async func middle() {
await libraryFunc()
}

# Using the sync wrapper without hiding the loop.

func main() {
loop = getLoop()
middle(loop)
}
func middle(loop) {
libraryFuncWrapper(loop)
}

You wind up "coloring" your functions through a parameter instead of by marking them "async".

Perhaps your async implementation lets you use a globally defined event loop, but, really, globals are just backdoor parameters.

None of that means that such a wrapper is never going to be a good solution. Grabbing the global event loop probably works for many use cases. It's just that it doesn't avoid the coloring problem, it only hides it.
> there's no decent Linux file explorer

If this is true (and I wouldn't know because I haven't had a GUI file manager on my Linux desktop since the early 2000s), it's because GUI file managers are for casuals.
Yes, specifically when he refused to commit to accept the results of the election if he didn’t win. As the events leading to and including Jan 6 showed, this was not just bluster, he used all means including illegal ones to try to hold on to power after losing the election. That is what made him the most problematic, someone who doesn’t want to play by the rules of democracy.
I haven't actually started using Tailwind yet, but I really disagreed with the first point:

> 1. Tailwind Makes Your Code Difficult to Read

...

> First, like Bootstrap, it’s semantically obscure because all of its class names are awkward abbreviations

...

> I would rather look at some CSS that has padding: 0.25rem or margin: 0.5rem instead of trying to mentally map Tailwind’s p-1 or m-2 to their CSS equivalents.

Please the latter is so much easier for me to read, and can (hopefully) be remapped from rem to px in one place, or to use increments of .5 instead of .25, which avoids manually changing potentially hundreds of selectors. Furthermore, using conventions for these kinds of class names makes the knowledge transferrable to another project without having to relearn/rewrite all of these.

> Another reason why Tailwind is so hard to read is because it requires you to pan your eyes horizontally rather than vertically. ... When you string a bunch of class names together, you get markup that looks like this

<div
class="w-16 h-16 rounded text-white bg-black py-1 px-2 m-1 text-sm md:w-32 md:h-32 md:rounded-md md:text-base lg:w-48 lg:h-48 lg:rounded-lg lg:text-lg"
>

OK, I get that this could be an issue if you're writing markup by hand, but for a large project this seems like a terrible idea. If you're over in JSX-land (or any templating, really), you'd have an array/set for classNames somewhere, and can just join(' ') it. If for some reason you need to have 50 classes, sure, line-separate them. In many (most?) situations you'd want to construct that array/set programmatically anyway, and encapsulate tightly-coupled display logic in smaller building blocks
How do you fix wages without gov't intervention?

Because if what you're saying is true..with any unnatural gov't interference ...there will be inflation.

(which is inaccurate by the way)
imagine making a mistake 44 years ago and never hearing the end of it!
Wow, I'll have to try that out.

For reference, I really like how shortcuts work in MacOS. This won't solve the lack of a standard that developers try to adhere to on other platforms.

But it's immensely annoying to have to shift between ctrl+c and ctrl+shift+c depending on whether or not you're on a terminal versus another application. As a bonus, I press command with my thumb which is both stronger than my pinkie and has very little to do other than press space normally.
Colorado's legal cannabis farms emit more carbon than its coal mines
"Legal cannabis production in Colorado emits more greenhouse gases than the state’s coal mining industry, researchers analysing the sector’s energy use have found.

The production and use of cannabis for medical or recreational reasons is now legal in several US states, which has led to a booming industry.

Hailey Summers and her colleagues at Colorado State University have quantified and analysed the greenhouse gas emissions produced by cannabis growers.

They found that emissions varied widely by state, from 2.3 to 5.2 tonnes of carbon dioxide equivalent (CO2e) per kilogram of dried flower produced.

In Colorado, the emissions add up to around 2.6 megatonnes of CO2e, which is more than that from the state’s coal mining at 1.8 megatonnes of CO2e."
Communicating directly with the lens' focus motors does sound more appealing and more compact than a sliding rig. However, "Helicon FB Tube automatically shifts the focus by one step with each shot thus producing a stack of images of unlimited length that can be rendered into a fully-focused image." That would mean that it is waiting for a shutter release type of signal from the camera body which would not be useful in shooting video as the original article's workflow.
Public key cryptography and using the same platform (https://www.arweave.org/) would do.
Netflix knows you share your password. It’s testing a way to stop you
What's the tailwind equivalent of `card-left-wrapper-container`? I imagine it's 200 characters wide.

Based on the name I'm going to assume that the class is used on container for a layout with cards on the left.

Utility classes don't state their intent they state their literal contents. If the intent is to be a button or be a wrapper-container then that's in a well conceived class name.

> Most of the time in plain CSS we have to come up with arbitrary names, that introduce confusion and bugs later on.

If the names are arbitrary then of course have problems! If you code and made up arbitrary names for functions you'd also have problems. The point of the name is to add clarity and abstract out details I don't need to know. I don't need to know that buttons have a certain padding, margin, etc when I'm placing them on a form. And I don't need to know everywhere they are placed when I style them.
I have a 13 year old Thinkpad with a webcam and an M1 Macbook Air. I have been meaning to compare the recording from their webcams, but I wouldn't be surprised if there wasn't that big of a difference.

I also have a nice external USB webcam that I normally use, but when you run that through Zoom or Google Meet the quality is degraded tremendously, to the point where I don't think it make sense to upgrade your camera, until you are able to use better video software.

As for audio, I tested both the microphone in my external webcam today and a Rode Lavier, and the webcam had a distinct room sound to it, that the Lavier didn't.
VS Code supports editing files over ssh. https://code.visualstudio.com/docs/remote/remote-overview
The wording is a little clunky; the "is" in "Backblaze is now a Terraform provider" makes me think that BB is competing with Terraform Cloud.

"Backblaze now has a Terraform provider" or "Backblaze released a Terraform provider" makes more sense to me.
I guess, the viewing angle? You couldn't have introduced this into a workplace in the last century, because of ergonomic workplace regulations. (Or, you would have been required to permit for at least half an our of pause in any working hour.)
It was even originally designed to be calculated mechanically
> The same could be said about any framework or language or tooling

That's simply not true. The knowledge of Tailwind's class names, media queries, and tooling is not transferrable, whereas styled-jsx/styled components/css modules/emotion are all still based on CSS syntax and applying classes, moving between them is vastly easier than to/from a framework like Tailwind.
There is a similar classic (much less expensive) mistake between New York Penn Station and Newark Penn Station, which are consecutive stops on the Amtrak line NYC.
Unfortunately the protests are illegal according to the Russian law. This is why all these criminal cases there. Even more - they are investigated by the "investigators of especially important cases".

> At least not to any democratic standards.

Well, that unfortunately doesn't save the participants from being brutalized by police, charged and punished with some getting real prison time (for example if it is the 3rd time of being arrested at illegal protests)
What country is best to use for your outsourcing needs
Well he didn't say he was using Emacs with the default keybindings.

Emacs' evil-mode is used by many Emacs users who prefer modal editing...
Not loading on iOS.

Anyways, trading is easy: any person or bot can do that. Even I will do that for you with much love :-)
But please do not expect a long term profit...
Chrome 90 Beta: AV1 Encoder for WebRTC, New Origin Trials, and More
What's a non-Swedish approach to problem solving, and perhaps even more curiously, what's a Swedish approach to problem solving?
People like to write entire plugin systems in their config languages. This tends to be a bad idea in my experience, but there's a steady demand for it.
I would point out that only funding projects that can easily measure and quantify results will rule out a lot of important projects. If you are going to donate, then you should do it responsibly. Using an independent non-profit to evaluate your potential recipients is a way to do that, and getting direct experience with the non-profit is another.

You seem to have missed my point: Doing evil things for money and then donating some of that money to charity is generally worse than not doing the evil things in the first place.
>> You are welcome to try and disagree with decades of rocket launch practices.

>> The range safety officer can blow up the rocket if the rocket veers off and is in danger of overshooting the safe area.

I'm confused. Am I not the one arguing for a remote abort command (which, so far as I know, has been standard practice for a while) and you, above, argue that rockets don't need one because humans are bad at modeling rocket aerodynamics?
For Canon, wouldn't it be possible to also do it in software with Magic Lantern?
New Mexico Magazine has a column every month where people tell their tales of people thinking that the U.S. state of New Mexico is in the nation of Mexico.

Things like insurance and credit card companies cancelling their accounts because they moved out of the country. Apparently it happens all the time.
Account changes by phone involve a password and 2FA like everything else. Try again.
I have 4 credit cards, plus two visa debit cards.

I have Amex because I trust them most to be on _my_ side instead of the merchants side by default. It's not accepted everywhere though. I use this preferentially anywhere its accepted that seems even the slightest bit sketchy.

I have both a Visa and a MasterCard - each from different banks, because I've been caught out when one bank's network is down and I couldn't pay for stuff or withdraw cash while travelling. I've never experienced a failure of ether Visa or Mastercards backends, but when I decided I needed a second source of credit/debit card at a seperate bank, I figured I may as well make sure I have one of each.

I have debit cards because they're pretty much an automatic part of having an account and a credit card, and also because I keep the credit limits on my cards low intentionally, and can use a debit card or online banking savings account with a much higher daily limit for large purchases.

I have one extra "single purpose" Visa card with a high credit limit and that gets used exclusively for my Apple/Google/AWS/Linode/DigitalOcean accounts. This is for peace of mind that my AppStore/GooglePlay accounts and my hosting accounts will _always_ charge successfully - the credit limit is over 10 times my total monthly spend over those accounts, I could conceivably vanish for a whole year and those would still all get automatically paid.
Ethereum Could Turn on Proof of Stake Sooner Than We Anticipate
In my earlier projects I always found myself doing exactly what Tailwind does, manually. As Tailwind does it much more throughly, I'm now 200% productive. I can adjust everything by just stacking classes. For me it's perfect but I can see why some people dislike it.
Grew up there and never heard of this! Hilarious! :)
To be fair, in photography nowadays, the line between professional and consumer is veeeryy thin.

I'm a hobbyist and spent 600$ on my camera, just a few years ago it was used by quite a few professionals.
Google Maps Backward Compatibility
Eyes on Zepeto, South Korea’s Rising Metaverse Competitor to Roblox
I once introduced a bug that squared each customer's order quantity.

Order 8 of the thing, we shipped 64. Oops.

Nutshell: The items were sold in bundles. To arrive at the quantity to ship, you multiply the quantity of bundles ordered by the quantity of each item in the bundle (just 1 or 2 in most cases). I got my variables confused and multiplied the order quantity by itself.

Not my best day.
1000$ is not a lot of money. Stop making excuses. (edit: he paid 1200$ initially and bought more when he already had some sales). So 1200$ was enough, or even less, as he could have done the same project with 50 domains instead of 150).

If you don't have spare 1000$, you should work towards having them.
Is it normal to have tens of CSS files impacting a component!? In my world, the component styles itself, and its parent can tell it how to be spaced / positioned and themed (via CSS variables preferably). Anything beyond that seems spaghetti...
Back when I still worked in the office, one day I found a lost Chinese couple wandering around campus. The tourism app they got in China told them it was a shopping mall.

This was right after Siri became able to do verbal translations, so that's how we communicated. I was very surprised and impressed how well it worked.
In Germany we had this woman (unsuccessfully) suing a travel organization for booking her a ticket to Bordeaux, when she phoned them to book one to Porto: https://www.faz.net/aktuell/gesellschaft/bordeaux-statt-port...

Bit less fun because she didn’t actually board the plane. But nevertheless met with a lot of glee at the time, as the Saxon dialect is known for the soft consonants, and everybody likes to poke a little fun at it.
Yeah I disagree with this. The point of writing code is create new systems. We have literally dozens of applications at my company all with the same look and feel. We, of course, created a new system that defines that look and feel. Just like we create classes, and methods, and components to maintain that. Ignoring the power of CSS to abstract style is a waste of it's potential.

Now that's not to say we don't use established libraries for CSS. But we definitely add our classes and add our customization.
> "wild beef"

?
Pivoting from NASA, Russia partners with China for lunar space station
> I'd be curious how the customer experience is when there's an unrecognized charge or you need to open a dispute though.

It's as easy or easier than disputing any other credit card charge. Open the wallet app. Tap the card to bring up a list of transactions. Tap the transaction you want to dispute. Tap "Report an Issue". Tap one of "Dispute Charge", "Unknown Transaction", "Incorrect Merchant Info", or "Other Issue".
This doesn't sound appealing to me. A dead man's switch is exactly the kind of thing I want in the hands of some tiny number of people I trust deeply. This is why we pay attorneys and assign living trusts, who are already punished for bad behavior by bar committees and law enforcement agencies.

I guess this is great if you're a drug lord or living in a failed state and honest to God can't trust anyone.
> I'm pretty sure you're allowed to build little utility websites and share them with your friends on Facebook.

Your friends, sure, but not necessarily your coworkers, depending on the context. The company might be under various legal obligations with regards to how those photos are used, and sending them to an unapproved third party could put them in serious legal hot waters. That's regardless of your intentions.

I doubt that's the case here and trust your assessment of the situation. I also think the comment you're replying to wasn't particularly tactful. But yeah, it could be an issue in some situations and, like it or not, as engineers we always have to keep an eye out for this kind of stuff.
Yeah, the way I see Tailwind is basically "that just sounds like normal CSS with extra steps".
I'm currently using Rend3 [1] for that sort of thing. This is still in development, but it's far enough along to do reasonable work. This is for high-performance 3D using Vulkan, and it's all in Rust. It's for when you just need the rendering part and don't need all the extras of UE4 or Unity. The big win over raw Vulkan is that the Rust system handles the GPU memory management, which is otherwise a huge headache.

[1] https://crates.io/crates/rend3
Will TinySeed fund companies that compete directly with each other in different batches?
For me, the desktop is primary and the laptop is a peripheral.

1. big monitor, even multiple monitors

2. full size keyboard

3. no trackpad always being accidentally touched

4. terabytes of disk space

5. wired connection for privacy, reliability, and speed

6. separate mike that costs more than 5 cents. Unplug it when not in use

7. ditto for camera

8. pipe the sound through your real stereo

9. lots and lots of memory

10. high performance, don't worry about heat cooking your junk

11. not likely to get stolen

12. no worries about dropping it
Had a friend come visit us in Padova who wanted to see Venice, but ended up getting off in Mestre, which is kind of a newer, more industrial, and not particularly nice place. I still feel bad about not being able to take the day and actually show him around Venice myself.
Maybe it would still happen with some other card, though probably only if the purchase was directly linked to your account, e.g., buying from Apple's website or retail store. If you used a standard visa card at Best Buy, you'd be fine. Strong reason not to buy direct, if you're going to buy at all.
We aren’t harming the planet. We are making it harder for ourselves to live comfortably on the planet.

If city lights can light up the Earth at night as seen from space, is it really such a huge stretch to think that industrial activity across the globe can alter the composition of the atmosphere in a significant way?
Though he didn't invent magnetic tape storage itself. That history is available here : https://history-computer.com/magnetic-tape-complete-history-...

Interestingly magnetic tapes are still the king of long term storage : https://spectrum.ieee.org/computing/hardware/why-the-future-...
Eh, my computer can deal with a RAW file in less than a second on one core, wouldn't be that big a deal.

Plus, a lot of RAW files are TIFF, so I'm sure GPU-accelerated stacking is in reach.
> there's no decent Linux file explorer

There's Double Commander, which also works great on Windows and beats sibling-mentioned Dolphin and even PCManFM hands down.

There's also Ranger and nnn, if you need a CLI and don't want an orthodox file manager.
Thanks for the link! That does seem to be more in line with your original comment.

Makes me curious what the results might be if an analogous survey of news articles were done to see the proportion of ones covering global warming vs. global cooling. There are a few articles mentioned in the paper, but it's not comprehensive (though to be fair those are supposed to be the most frequently cited articles).
Many have tried but sadly there is a limited supply of skilled Jawa Programmers.

I tried to hire some to start such a project but I must have been looking in Alderaan places ...
There are some very bad analogies used in crypto, but I don't consider this one of them.

The concept of an embalmer makes sense and rewrapping the corpse (payload) in order to keep it from being exposed.

The contract between the embalmer and the archaeologist being called a 'curse' makes sense, too. It signifies that there is a right and a wrong way for the archaeologist to lift that curse.

The only thing that doesn't really make sense is the "recipient", which is where it makes more sense to think of the corpse as a treasure chest where only the recipient has the key to open it, but I guess there's only so far you can force an analogy.

The marketing material is quite good and the explanatory material makes sense to a layman like me. Then again, maybe the bar for crypto marketing material is so low due to all the pump/dump/rug-pull schemes on the market.
You're starting at the wrong point.

If you need scale, then you know what you need when you need it. None of this advice people are tossing around would apply to WhatsApp, for instance. Because they needed to get into the weeds on BEAM optimizations for Erlang and they needed to do so quickly. They probably didn't have a year to mess around getting K8S up and stable. Or crafting the perfect Ansible script. Or infrastructure-as-code. They probably cared very little about any of that.

WhatsApp is the closest thing you'll see for explosive growth. And they had time to work on BEAM patches. Think about that. Their whole world didn't just collapse because they couldn't support a billion connections on day one. Even they had time to scale as they needed.
Göttingen has the Planetenweg, a 1:2 billion-scale solar system

https://www.atlasobscura.com/places/planetenweg-gottingen
Join the community group discussion! https://www.facebook.com/groups/sarcophagus.sarco/?ref=share
It's always a judgment call with how to complicate your infrastructure.

If you succeed, sometime in the future, you will have lots of engineering resources to manage the complexity of a "web scale" service. However, this level of complexity is high.

So, today, what is more important is ease of development, a friendly software iteration cycle, and easy testing on developer machines, since you don't have FB's or Google's test infrastructure yet.

You have to shoot for something that you can build fairly simply that'll carry you the next year or two, and think about it in terms of API boundaries, so that you can replace any particular piece, with a faster, more complex piece in the future when you need it.

Your appropriate design for today isn't going to come from this site, or from reading AWS or GCP press materials, but from people who have been through this multiple times and have some experience in evolving small systems into big systems. They're hard to find.