skysight-inc/HackerNews huggingface dataset:
That's an interesting question as well. The bar of entry for brick-and-mortar stores is a lot higher and they won't stock your product if you don't get them a competitive price so I don't think it is much better.
The hand wringing about batteries blows my mind, it's like everybody forgot about Shell Nigeria. Anyone should be able to see that this has nothing to do with technology or rare earth metals, it's simply a pattern of exploitation.
I like this video about a soldier on the ground who realized quickly why the war was unwinnable. The cycle of killing and destruction left the people with nothing but anger and pain, leading them to fight even harder:

> it became clear within three or four months,
That my reasons for being in Vietnam were not clear.
I mean this notion of defending the people against
these invaders from North Vietnam.
The people hated me. The Vietnamese people hated me.
[...]
the Vietnamese people hated me and I gave them every reason to hate me.
I beat them, I sometimes kill them, I destroy their houses,
I destroy their crops, I destroy their fields, I destroy their culture.
Why in the hell should those people like me?
And I could see that I was doing that,
and I could see that nothing we were doing was having any impact on the war itself.

https://www.youtube.com/watch?v=tixOyiR8B-8
The only extensions people should install are uBlock Origin and EFF's Privacy Badger. Everything else is potential malware.
It's a reactionary attitude to ask that services you pay for with time or money work well? Yes, I expect YouTube to remove objectionable content and not remove innocuous content. I don't expect them to be perfect, but I do expect "pretty good and getting better" and they fall far short.

It matters that they are falling short and only correct their mistakes when massive social pressure is applied because most issues can't generate the social pressure needed to get Google to notice. That means most of their errors won't actually get fixed.

Google makes insane amounts of profits, but they don't have the resources to moderate content well?
Audio has its own equivalent. It's not noise, it's more of a gargly quality. You can hear it very clearly at more extreme compression settings.

The overtone movements become disassociated and start splitting up into disconnected sine wave blocks. Transients also become softened.

With MP3s this is obvious at the high end, while lows/mids sound passable. The compression algorithm has more frequency bins at the high end, so the damage is more obvious there.

There's also a loss of low-level detail. Reverb tails lose definition, and the music loses front-to-back depth.
Unreinforced concrete is largely useless for modern construction, because it basically has negligible tensile strength. You can't make beams, columns, or even pre-fabbed wall panels of any useful strength without reinforcement.

One of the reasons unreinforced concrete may last a lot longer is because its only going to exist in places that don't subject it to tensile stresses. That being said, changes like differential settling can create these stresses after construction.

'Deterioration' can mean many things in terms of concrete.
He is fantastic! I was really struggling to find his name again.
> I can't speak to others†, but for our use-case, we're not using NVMe as "persistent storage but faster and smaller" but rather as "main memory but larger and slower".

> Our data isn't canonically on our nodes' NVMe pools, any more than it's canonically in the the nodes' local memory. The canonical representation of our (PGSQL data warehouse) data is its WAL log segments, shipped to/from object storage.

I appreciate this insight -- one of the features that drew me to KeyDB[0] was their FLASH feature, with drives being as fast as they are these days it feels like having tiered cache with DRAM + NVMe disk isn't so bad! Great to see others think this way as well.

Redis is one thing but treating pg this way is somewhat interesting -- Do you also have the usual hot standby setup with synchronous replication just in case of a machine going down before the latest WAL segment is shipped out?

> † I would note that "large ephemeral working-set backing store" is seemingly largely considered by IaaS providers to be the main use-case for having NVMe attached to compute. The IaaS providers that support NVMe (AWS, GCP) only support it as instanced or scratch (i.e. ephemeral) storage, that doesn't survive node shutdown. These are strictly "L4 memory", not stores-of-record.

Reasonable, thanks for explicitly noting this. I think the write characteristics (and technically the read as this article shows) of NVMe do make it attractive but don't preclude using it as the store of record medium but what you said definitely syncs up with the other configurations I've seen and the offerings at AWS (I haven't really looked at GCP node types).

[0]: https://github.com/EQ-Alpha/KeyDB/wiki/Legacy-FLASH-Storage
Wow, that's awesome.

(I hope political and business leaders in the U.S. and Europe see this and interpret it as "uh oh, we need to get our act together on LFP manufacturing before Chinese companies own the whole market" sort of a situation. I think in the U.S. we're too hyper-fixated on making luxury supercars. If we want EVs to eventually replace almost all gas vehicles, that's going to mean figuring out how to make them without using significant amounts of expensive and rare minerals. New technologies may come along, but for now that means using LFP cells.)
It's a wealthy country because they've continually moved away from their brand of "communism".

https://www.pewresearch.org/global/2014/10/09/emerging-and-d...
I've always thought of numbers, and the broader system of mathematics as equivalent to the Newtonian understanding of physics - an adequate tool to explain observed reality - but the edge cases that break the system are starting to pile up, and we are just waiting for someone to discover the Quantum/General Relativity theory of mathematics.
In my experience I will hear a shimmering effect that sounds like a tremolo where the volume of the hi-hats and other cymbals are fluctuating. It also causes the overall sound of cymbal crashes to be mushier and less distinct. In addition I've noticed an effect where certain sounds such as the attack of high-gain guitar is stretched and doesn't sound consistent throughout a song. It seems like these artifacts are most noticeable in higher frequency ranges or perhaps transients.
It may start to lose it's strength after 50 years, as designed, if kept under designated conditions.

As for decay, IIUC, it loses pH gradually, from the time you mix it, and that pH is the most important protecting factor that stops the steel from rusting.

Obviously though, a lot of factors have a huge factor on lifetime, including composition, construction, environmental conditions ...
One example. Not a very important one, but illustrative.

https://discourse.julialang.org/t/why-no-base-iterators-map/...

The "bubble effect" here was assumption that everyone has internet access and dependencies to external ( community maintained ) packages are zero cost.

Happily 2 years later this was resolved to my satisfaction.
Any app developer tampering with this should get their app pulled out of the App Store, this is unacceptable.
They are developing and have for eating. They have some problems like the pollution... in Hanoi it is terrible. But the country is in better shape than Laos and Cambodia by far, but not at the level of BKK in Thailand for example.
I lived in Vietnam for almost 10 years, and one in Singapore and I plan to come back. I have mixed feelings when I get there, but overall, it is a lovely country, my second home, literally. I left a big chunk of my life there.

I will never forget how Vietnam changed my whole life, literally. For the good. Even with the negative things it has. I am spanish and Spain also has negative things (and positive). All countries do.
I've been renting an office right down the street from my house for the past few months and it has made my time remote working so much better. I can highly recommend it to anyone living in an area cheap enough to have affordable offices for rent.
Thanks for the correction. The Apple A14 and M1 implement the ARMv8.4 spec, whereas memory tagging became part of the spec in 8.5.
"shithole countries" - clearly you have never been to Vietnam.
Yes, but why is getting the second for the same price as the first bad?

For major infrastructure I would expect the second to cost around the same price as the first. Materials, labour, time, bribes and corruption is all double.

Any saving you might expect around paperwork and opportunity cost I don't mind, compared to waiting a decade then starting the process of getting it through government again.

Even in the movie, (I don't know the book) think about the downtime if they had to fund the project again.

And if you include 'in secret' it's even worse, because if the 3 letter agencies can do anything in secret for the same price as a public department that would me pretty amazing.

Maybe the quote isn't cynical - https://www.youtube.com/watch?v=VTUrdizRZyw
USA took Iranian independence and that didn't do anything but give them a dictator who gave/sold oil for cheap to the US/UK;

Afghanistan was better of before US took it... now Taliban controls more territory then they did before US came in...

list of countries that depended on the USA that got totally screwed over is larger then the list of a few that USA let become rich and prosperous.
I am surprised that this is the top answer (Edit: at the moment, was)

How does splitting code into multiple functions suddenly change the order of the code?

I would expect that these functions would be still called in a very specific order.

And sometimes it does not even make sense to keep this order.

But here is a little example (in a made up pseudo code):

function positiveInt calcMeaningOfLife(positiveInt[] values)
positiveInt total = 0
positiveInt max = 0
for (positiveInti=0; i < values.length; i++)
total = total + values[i]
max = values[i] > max ? values[i] : max
return total - max

===>

function positiveInt max(positiveInt[] values)
positiveInt max = 0
for (positiveInt i=0; i < values.length; i++)
max = values[i] > max ? values[i] : max
return max

function positiveInt total(positiveInt[] values)
positiveInt total = 0
for (positiveInt i=0; i < values.length; i++)
total = total + values[i]
return total

function positiveInt calcMeaningOfLife(positiveInt[] values)
return total(values)-max(values)

Better? No?
There was huge ethnic and class component to the Vietnam conflict. In fact, in many ways it was far more important than the nominal communist character of the North, at least from the Vietnamese perspective.

Here's a factoid I recently learned: something like 80+% of Vietnamese refugees were ethnic Chinese (Hoa people), despite constituting a minority of the population from which they fled. Rarely discussed in American history, except perhaps in in-depth treatises, is that ethnic Chinese were the merchant and ruling class in Vietnam for generations, including during colonial periods. That's why the French favored them. It's a classic colonial/imperial techniques to favor a minority group, though AFAIU France basically kept class divisions as they found them. And such minority groups tend to disfavor complete independence as it leaves them more vulnerable. Indeed, continued ethnic conflict after the U.S. departed instigated China to invade Vietnam a few years later.

If the U.S. had fully appreciated the ethnic divisions, it may have made different decisions. State-side the choice to prop up the wealthy, Catholic Diem is well known, but the usual characterizations of that choice completely gloss over the deep and substantial ethnic divisions. (Almost all Vietnamese Catholics were ethnic Chinese, though only are minority of ethnic Chinese were Catholic.) They make the U.S. seem merely tone deaf as opposed to tragically mistaken about the underlying social dynamics. The push for socialism in Vietnam wasn't about political ideology; it was about wrestling control of capital away from a discrete minority ethnic group. Those ethnic enmities ran deep. Without pursuing some of the social reforms sought by Ho Chi Minh a U.S.-backed South Vietnam was always destined to fail.

The irony is that as Vietnam has modernized the same social dynamics have crept back. Ethnic Chinese once again control much (or most?) of the private assets in Vietnam. I have no idea if the ethnic animus has returned to its prior levels, though. Maybe it doesn't matter as much anymore.
By looking at [2] from the authors post. This just defeats what shell is made for. Shell is all about scripting not clicking mouse around and writing some custom commands.

I really don't understand who would use this. Maybe i'm too oldschool and grew up with shell so i'm used to the complexity and power it provides.

Would probably never even try such a tool.
Municipal and other budgets are already highly strained all over. If the cost of an interchange or large culvert goes up 2x to increase its lifespan, you can do less work now. Your level of service goes down now.

There are trade offs to everything. Build something much more durable, pay twice as much, do half the work in a season and get more complaints. We already aim to build infrastructure based on estimates of future loading - how much traffic, what kind of trucks at what weight, etc.

We'd all be much better off increasing maintenance budgets to extend the lifespan of existing structures without completely re-doing them at multiples of the current price.
"...if by chemicals to develop photos in open air means no need for a dark room"

I don't think that's what it means. They presumably developed the photos in near darkness, either during the night (open air) or in those tunnels.
I did the quiz once and also got 4/6. I alternated through all the samples around 4 times before making each choice. I messed up on the only two where I felt baffled by the choices, so at least I know what I don't know. :-)

I chose the 320 kb/s for Katy Perry but was vacillating between that and the actual WAV. The one I completely screwed up was Jay-Z where I picked 128 kb/s. However, I knew I was lost with so much electronic glitching and distortion. While I heard differences, I had no idea what was a compression artifact versus a synthesis/mixing artifact. I also had no prior listening experience for either of these two, so no preconception for how it should sound.

For the other recordings, I think I could hear the masking of the psychoaccoustic models. Essentially, in the WAV I heard a "fuller" mix with overlapping sounds, while in the compressed versions I heard dropouts where a dominant sound was present in what felt like isolation. For Suzanne Vega this wasn't so easy, but I felt her voice and the reverb were more clear and natural in the WAV.

This was just with my old Sony MDR-NC22 noise canceling ear buds driven by my Thinkpad audio jack. My idea of a hi-fi environment is a Yamaha receiver and reasonable tower speakers like my Polks.
Greenwald has been shilling for Russia for years now, so it's not a stretch that this would extend to Belarus as well?
There was a class divide with the educated in the south going through a french system asking for western support. I could see how different neighbourhoods would have different opinions. The richer more middle class or higher the more you wanted things to stay the same.
Weird, because I grew up in the 80s and 90s and there was nothing but negative press about the Vietnam War. Consensus has been that it was a giant mistake for most of the past couple decades.
South Korea started growing rapidly by the beginning of the 1960's and its economic growth has been consistent regardless of the political regime [^1]. What has been consistent was a significantly different economic system than the North, which would certainly not have survived unification after a North Korean victory. Military spending can't explain the disparity between the North and South as China had similar economic performance and consistently lower aggregate per capita spending than the North.

Vietnam, on the other hand, only really began to reform its economy after the collapse of the soviet union. If anything, North Vietnam's victory emboldened communist leaders in the aftermath of the war.

1:https://en.wikipedia.org/wiki/Miracle_on_the_Han_River
Not really, read https://en.wikipedia.org/wiki/China_in_the_Vietnam_War
Then my apologies, although Israel is an apartheid state just as much as the US is a "Nazi state" with "concentration camps". Makes total sense to a certain group of super bright people.
6 for 6 listening directly from laptop speakers. That being said I really had to listen intently to discern any difference between 320 kbps vs uncompressed. Everything sounds ever so slightly flat or muffled.
Yes, Vietnam is awesome - and there's a lot of capitalism going on even if it's not official.

But it's also no South Korea or Taiwan as far as development.

The Vietnamese people are smart, clever, hard-working, and I really do appreciate them and I hope their government gets out of their way so they can shine.
I am kinda tired of this narrative that I am part of some responsible group and should walk through life riddled with guilt about each plastic bottle or gallon of gas that my existence consumes. I am not saying you should be throwing soda cans from your Hummer, but I feel a sort of fatalism around environmental issues and don't think individual self-deprivations is going to fix it. The people with actual power in the richest nations don't seem to care, and most developing nations don't even have it on their radar as an issue to care about.

I just look at the endless cars on the freeway and don't want to spend this brief slice of time I am alive for apologizing for the fallout from my existence.
I wrote a quick script the other day to colorize directories of family photos. I realized it would be cool to colorize these photos, too. Here's the album: https://imgur.com/a/aJbpMjf

The script uses the Image Colorization API from DeepAi.

Here's the repo for the colorizing model itself: https://github.com/jantic/DeOldify

I don't think the DeepAi API allows you to adjust the model parameters, but you definitely can if you run it yourself from the repo above or a colab instance (e.g. https://colab.research.google.com/github/jantic/DeOldify/blo...). MyHeritage also offers this API as a service with tunable parameters.

If you want some quick results on your own BW images, just set your own DeepAi API key as an env var and run this script: https://github.com/skzv/colorize-photos
so USA is a socialist state? because it has a very large wealth disparities

"The United States exhibits wider disparities of wealth between rich and poor than any other major developed nation."

socialist society would be the other way around... unless you think Scandinavian countries are capitalists because they have lower wealth disparity
The article makes only a glossed-over mention of fiberglass rebar, which is about 1/7th the weight of steel, faster to install, creates no EM issues, does not rust and costs less. Here's some examples, admittedly from those selling it [1][2], and from other news/ industry sources [3]. also, other fibers such as basalt provide even better properties [4].

All it takes is for architects and engineers to get their heads around new technologies and start specifying better materials. This wouldn't fully solve the CO2 problem of concrete, but it would reduce it by making each ton of concrete last a lot longer.

[1] https://www.owenscorning.com/en-us/composites/pinkbar-vs-ste...

[2] https://www.tuf-bar.com/5-reasons-why-you-should-use-fibergl...

[3] https://www.globalspec.com/learnmore/building_construction/b...

[4] https://www.forconstructionpros.com/concrete/equipment-produ...
I've been to that same museum and also the Cu Chi tunnels. I thought they were neat examples of Vietcong ingenuity and resourcefulness but I'm not ashamed of the US at all. War is complicated and in the case of communist uprisings, internal purges follow "victories" that are just as atrocious as anything outside assistance can do. See Stalin's Great Purge, the Chinese Cultural Revolution, Pol Pot, etc.

Right now, it's very popular on sites like Reddit and increasingly here to fill threads with bad historical takes that list everything bad the US has ever done, as if its acting in a vacuum where no other countries exist. In nearly every case of US intervention, you'll find that other countries were intervening on the other side. That's what the cold war was about. Domino theory was valid and rational. Large marxist countries exported revolution, allied powers supported governments resisting revolution. You might enjoy the underdog story of ethno-nationalists defeating the "empire" but on the other side of that story is always millions of families who lost lives and property to shitty redistribution schemes afterwards. My parents are from a latin american country that suppressed its marxist rebellion(with US help), but I have Cuban-American friends whose grandparents weren't so lucky.
I think if you're talking about the acute win/loss of the Vietnam war, then absolutely the North Vietnamese won. If the USA really wanted to win the war then they could have done it outright in 1967. But that would have been very ugly. Not an option.

Did the Vietnamese people win the war? No. They've been living in poverty for 50 years and most of them still are in 2021, 50 years later.
Streetmix – A fun little urban design playground
hence renting a space in a coworking office where you can either leave your own monitor or rent one
It has the advantage of allowing us to avoid investing in any new manufacturing facilities or new production lines. For some cases, it makes sense.
Does Emacs native-comp work outside X (i.e. works with the Cocoa port)? I thought it only worked through XQuartz b.c. gcc can’t parse the Objective-C required for the Cocoa port…

If the Cocoa port runs well, well that changes everything to me
If you’ve ever played poker where you’re the only serious player at the table and everyone else is very loose you’ll know it’s almost impossible to win. By taking lots of risky bets the other players aren’t doing any favours for themselves personally but as a group they’re (unintentionally) teaming up to guarantee one of their number will have an unassailably large stack. That’s much how I feel about the current investment market.
I was lucky to I have a great experience w/ agile and scrum. We were a bit team (~70ish devs) broken down into teams or 4-6.

Each team had a PO (tech lead) and a "Scrum Master" . The scrum masters job was to make sure managers weren't micromanaging the teams. If they had issues or questions they had to go through the Scrum Master.

Only thing we all hated was release planning because it was 1 week of trying to make managers happy with delivery dates.
Noone wants a unified Korea, except Koreans. Japan is not interested in having such a powerful economic mix nearby and China the same. Noone wants. If someone wanted, it would be the Koreans only.
Check out https://knopf.dev for a fantastic CSS button library.

In any sufficiently complex UI, you really do end up needing a wide variety of button treatments, depending on the context, hierarchy, etc
people like the person you're replying to never want to understand why these countries became "shithole countries" in the first place.

https://en.wikipedia.org/wiki/United_States_involvement_in_r...
Fortunately on HN people will instead politely downvote such a response and possibly flag it without posting anything whether false or not.
If you're calling those functions once each in a particular order then I can't possibly figure out what that does for you that whitespace and a few comments wouldn't. How does turning 100 lines of code into 120 and shuffling it out of execution order possibly make it easier to read?
Different leaders, different flavors of communism, different time.