Hacker News new | past | comments | ask | show | jobs | submit | blago's comments login

Do you mind me asking, what does the last calculation do: pi=(pi * 100 | 0 ) / 100;

EDIT: Ah, nvm. It's truncating the result to 2 decimal places.


|0

There are just too many ways in JS to say Math.floor


The prevailing opinion is that the death penalty was handed down to provide leverage and incentivize restitution.


That's always been my understanding as well. I recall some cases in the last few years where this resulted in quite a bit of the funds being recovered.

Sadly I cannot remember the specific cases.


Are you saying that there will be a large number of Starships on duty for immediate launch to deploy kill vehicles over an arbitrary area in space over and around the US? I'm no expert but this sounds pretty different form what Starship is designed to do. And not cheap at all.


I think u/credit_guy means that with Starship the U.S. could put a constellation of anti-missile missiles in orbit and keep them there for the long haul. If Falcon 9 can put up 5,500 sats in a few years, Starship could greatly increase the rate at which the U.S. can build not just comms constellations but also reconnaissance ("spy") constellations, missile defense constellations, anti-sat constellations, maybe even nuke constellations, who knows.

I suspect that missile defense constellations would have to be truly gargantuan though, because of some N thousand missile defense sats most will not be able to reach the missiles being launched at any given point, thus to counter a 1,000 ICBM/SLBM threat the missile def constellation might have to have 20x -maybe even 100x- that many space-launched anti-missile missiles. That seems prohibitively expensive even if internal Starship launch costs ever come down below $5 million each.


When we moved to the US with two babies last year it was very important for us to buy non-toxic furniture. We ended up buying a sofa and chairs from Medley. Their products are made in LA out of wood and are free of formaldehyde, flame retardants, and PFAS. It's been only a year but it looks like the furniture is going to last.


I think it's even more precious that the boy has learned how to learn and has developed a taste for achievement based on a dopamine loop that doesn't employ sugar or special effects in 4K.


One can probably say that there exists a level of abstraction where there’s not really a difference between a database and a file system. That's not a lot :-)


Snow?


Have you been to Vietnam? There is no comparison between what was done to them and Serbia, yet Vietnam has moved on. Victimhood is strong in the Balkans, it's a way of life. I know because I was born there.


Vietnam won decisively and Serbia lost decisively; measured in destruction it was incomparably worse for Vietnam, but they have no outstanding border conflicts while experiencing peaceful economic development and national sovereignty since the last war in 1979. When your story has a happy ending (and your government needs the US to counterbalance China) it's a lot easier to move on.

This is essentially the reverse of former Yugoslavia where things were fairly placid from 1945-1980 then fell apart.

There's a tendency to equate the grievances of a generation with immutable national character because it makes analysis easy and change impossible. But this gets used for purposes of denigration of peoples or excuses for policy failures, if not by race and culture, then by economic class and individual good fortune.

I'm guessing you were born to educated professionals who immigrated or helped you do so, rather than say, grew up in a refugee camp with a non-citizen passport.


It sounds like you are from the West. Thank you for explaining the psychology of my people so clearly to me. I think I understand it better now but it looks like I can use some book reading. Any recommendations?


Sorry your genetic ancestral memory of the Balkans doesn’t stack up to actually studying the history/economics/politics, visiting and befriending people in all the republics, not just passively listening to a single perspective around the dinner table. But I’m not a racial essentialist so I probably have an easier time absorbing differing narratives without having to decide one is the real truth.

These five are a good start, I can list some journal articles if you’re interested…

- Yugoslavia, Death of a Nation - Tito: the story from the inside - Socialist Unemployment: The Political Economy of Yugoslavia, 1945-1990 - Miss Ex-Yugoslavia - Religion and The Politics of Identity in Kosovo

PS. Was I right about the educated professionals part, or were you a displaced person whose village was razed?


> Sorry your genetic ancestral memory of the Balkans doesn’t stack up to...

Ah, we have a serial West-splainer. I emigrated when I was 24 and I speak for pretty much everybody I've known in those years. I've studied and wrote essays on the literature and the history of the region daily through high school and college. I speak the language and the customs.

You on the other hand seem completely oblivious to the cultural significance of Kafana, or its different incarnations throughout the region, to recognize that arguing about politics, whining about history, the Great Powers, life, and the Universe, has and still is pretty much the purpose of their existence.

> PS. Was I right about the educated professionals part, or were you a displaced person whose village was razed?

I'm having a hard time comprehending the relevance. Did the displaced people in Yugoslavia 30 years ago define the pathos of the region, which BTW is more than just former Yugoslavia, in the last 600+ years?


You sound like you’re from Belgrade and have never been to Kosova or Bosnia or even to the countryside. Would you prefer to say “western Balkans” or do you presume to also speak for Greeks, Romanians, Bulgarians, etc.

I would engage with your sources rather than once again retreat into claims of irreducible essence of identity that can never be understood by outsiders. If the Balkans has a curse, it’s that dishonest rhetoric being peddled by corrupt westernizers and corrupt nationalists.


If the GP had gone to Kosovo or (as the common English shorthand for “Bosnia and Herzegovina”) Bosnia, do you think that would change anything? In my experience, northern Kosovo and Republika Srpska are the very hotbeds of banging on about Serb identity and national character in the region, more than Beograd.

Vojvodina is a good escape from all that. Obviously the ethnic Hungarian population there doesn’t care about “Kosovo is Serbia” stuff, but even a lot of the Serb population feel those disputes are far away.


>In my experience, northern Kosovo and Republika Srpska are the very hotbeds of banging on about Serb identity and national character in the region, more than Beograd.

Most definitely! Not coincidentally, they also are dirt poor, ruled by the biggest crooks, and generally have limited opportunities for educational or economic mobility. The alliance that drove Serbia to war was between the resentful and opportunistic minority in the capital and the resentful and ignorant in the periphery.

Vojvodina is a great example of what the real tragedy is for Serbia. The Serbs were not united and their legitimate concerns about the future of Serb minorities was abducted by brutal people who cared about their own power only, effectively dooming not only those Serbs over the republic borders but also tainting the entire nation with their crimes.

Some of the most politically sophisticated people now are the men who started as country bumpkins taken in by Milosevic, served in the JNA or ancillary serb forces, and saw that it was all bullshit. Incompetence, drunkenness, and horrifying crimes against civilians for purposes of simple theft. They saw that the best of Serbia was against what they were doing and they were serving amoral people of low character, limited intelligence, who would shoot not only the enemy but anyone who got in the way of their ransacking. Yet now that they're in this dead end and the bridges have all been burned, how to go forward?

When I go elsewhere, I like to transmit these stories to people who (understandably) would not feel comfortable going to where those stories are told. At times there is a spark of recognition and solidarity in the shared problems, a willingness to reconcile if it comes first with full accounting and sincere apology that will never come from the political class.

And on the way back to serbian areas, I pass on the stories of not just random destruction but personal betrayal. How when the serbian paramilitaries came into a majority albanian village, they had kill lists provided for them by a local with names and addresses: the mayor, doctors, journalists, and anyone whose prominence had bred resentment. How after that, it makes simple tolerance of the western liberal type impossible, even basic trust impossible for a generation.

It certainly makes it hard for them to even pretend to care about Serbian families who experienced similar or historical Serbian architecture, because while everyone committed ethnic crimes, they did not all do so first or on the same scale.

And yet, all the refugee children of any ethnicity or religion who have become adults have much in common with each other: the feeling of being driven out of their home, hated for who they are, betrayed by neighbors they had grown up with, beset by economic uncertainty, and being continuously used in the most cynical way by politicians who make no real effort to provision their country for the future.

It should go without saying that neither "The West" in the form of the EU/Nato/KFor nor Russia have any interest in acting as honest brokers for untangling the complexity. If the conflict is reignited in earnest by local intragisence, everyone involved will likely become a tool of foreign powers who see the people there as little more than disposable proxies in a larger conflict.

I benefit from not just being an outsider but from being sincere in my sympathy for everyone. There is nothing more disrespectful than to tell someone in pain that their pain is not real, or that they deserved it because of what their government did, or that it's so proportionally insignificant compared to someone else's that they shouldn't even express it.

Telling people to shut up and get over it is (as is common among emigres and westerners) is so incredibly destructive. Refusing to listen is greatest gift to those who want to radicalize and dehumanize, it gives them an endless source of legitimacy as "the only one that cares" no matter what lies they tell.


I thought what drove Serbs to war was the Bosniak's desire to create a Muslim state and treat everybody else (Serbs, Croats) as second class citizens; and the Kosovar Albanians desire to create Albanian ethnostate and treat everybody else as second class citizens, which they did.

You are placing blame on Serbian militias' greed and power hunger, which sounds as an underwhelming explanation to me.


The modern wave of Albanian-Serb hostility goes back to the early 1980s, a time when the breakup of Yugoslavia was not yet on the horizon and so there was no fear of an oppressive Albanian ethnostate. Rather, the Serb rhetoric was driven by a claim that Albanians were squatters on historic Serb land.

An independent Kosovo would have become a state chiefly for the Albanian ethnicity simply due to demographics, but it need not have become completely hostile to Serbs and Bosniaks, if the Serbs had acted more wisely. The Republic of Albania itself contains a number of Greek, South Slavic-speaking, and Aromanian villages. And had the Serbs acted more wisely, Kosovo undoubtedly would have been partitioned at Mitrovica.


The latest claim sounds disingenous. I'm too painfully aware that no partitions of USSR were redone with regards of actual ethnic occupancy (especially when talking about Russians, that's Serbs in case of Yugoslavia).

So all the new states are extremely imperialistic and will not give up on any of "their" lands even if they did not have ethnic dominance there. So no, Kosovar Albanians will still demand Mitrovica.

However, it is actually outrageous that Serbs were made to give out their actual UN recognized lands, and they had full motivation to try and keep those, like Azeri did. And in fact it's not off the table yet. Let's suppose something bad happens to NATO, Serbs can try to Karabakh-2023 Kosovo.


> Vietnam won decisively

Northern, communist Vietnam won. It wasn't a war between a Vietnam and USA, but rather between a communist and pro-western regimes.


At no point did it exist as an independent entity with popular support, it was first created by the French and propped up by the US. It’s about as credible as saying the Soviet war in Afghanistan was between two competing regimes or that the liberation of France in WW2 was a conflict between pro-German and pro-American regimes.

Formally true, but not a meaningful distinction given the massive disparity in capabilities and supporters.


You are very articulate but you don't have a clue of what you are talking about, no matter how many books you have read. The southern vietnamese have a very distinct identity, and they haven't moved on at all, if they had a chance they would declare independence from the north in a split second.

Source: I have lived in Saigon for a decade, which beats hands down the many books I had read about the subject before that


I could say the same as an American southerner! The existence of distinct regional identity preexists the state and continues after reunification. The North dominates in their politics just as in ours and there’s resentment about it in both countries, but it does not follow that there is no national identity or that a regional dictatorship created and funded foreign powers which could not survive without their indefinite aid is true expression of regional identity.


First of all, apologies, the way I started my reply was too brusque.

Yes, at the end of the day it's all about who has the power. I just wanted to point out that present Vietnam is far from united and that you can't imagine how much resentment there is in Saigon towards the communist government in the north.

Saigon had a "good" war, barely saw any fighting, but the post-war was horrible, scarring southerners to this day, many people repeatedly tried to flee on dingies out of desperation from human (northern) caused starvation and scarcity, this in a land that had never experienced hunger (the Mekong Delta is extremely fertile and milked by the north). They haven't forgotten.

The world is full of hopeful irredentists, and whether they will ever succeed or not is not a matter of right, but might (maybe in the shape of a foreign power). It is just that in southern Vietnam most people are irredentists, which I suspect is not the case in the US south, isn't that right?


No apology needed, and I can believe it! I happen to have some personal contacts in Hue who are in middle but in the divide between northern and southern communists they were treated as part of the south. I know there's some real bitterness even among just the communists, in part because the Hanoi-driven war strategy led to the formations in the south taking incredibly heavy casualties which then further cemented their political subordination in the postwar era.

From what little I know, both the center of the country and the south, party and non-party alike, generally feel that the northern elite is clannish and doesn't allocate jobs and investment fairly, which is kind of a big deal for a country with such a large state sector.

In the American case most of the state of Mississippi did not celebrate the 4th of July until 1945 because they considered themselves to be occupied confederate territory for 81 years: https://www.visitvicksburg.com/blog/celebrating-independence...

I can well understand some feeling persisting a mere 65 years later.

That said, for American southern irredentists of past, present and future, they're stuck with the confederacy alone, which is inextricably connected to slavery even for people like Robert E. Lee who was personally but not politically opposed to slavery. That's simply a much harder thing to identify with morally and practically, especially when 30-40% of the population of the south are descended from freed slaves.

The Republic of Vietnam flag stands for the hundreds of thousands of ARVN soldiers and administration and their families, but it also stands for things like a catholic dictatorship attacking temples in a 90% buddhist country, rigged elections, coups, and being the junior partner of a foreign power that carried out a brutal and dehumanizing counter-insurgency.

Unlike the American south, the southern Vietnamese have a much older identity and much richer history to draw upon. So, I wonder if in time a prior symbol/flag/something from their distinct history will become more resonant for them in the future, which conveys the identity without the baggage.


For much of history (i.e. millennia) the north and the south of Vietnam have experienced different degrees of voluntary and involuntary separation. For hundreds and hundreds of years they existed as different countries and even tried to conquer each other. The vast majority of south Vietnamese people today have more sympathy for the US than for Hanoi.

Source: half my family is Vietnamese and I lived there for 3 years.


Vietnam didn't move on! That's the one thing they most certainly did not do. For decades the Viet refused to move on until they won. After they won, they then fought a war with China and another proxy war with America.

The Viet do not move on. They stick to their guns. Or feces covered bamboo sticks, or any weaponizable itsm they have on hand.

Nor did the Afghanis. They just kept at it until they won.

In fact, giving up and moving on is what just about only the peace loving Serbs did.


It failed for me at a much more basic level.

I asked 5 different, and increasing explicit, variations of the following question: "Can you generate HTML and CSS for a JPG mockup I'm going to give you?"

Each time it answered along the following lines: "Sure, here is how you can create HTML and CSS from a JPG mockup. Follow this process..."

In my experience this never happens with GPT-4.


I've not seen that anywhere, ChatGPT does image input now? Do you have examples of the output from feeding it a JPEG?


Yep, ChatGPT did a pretty impressive job when I tested a few days ago. Just grab a mockup from a Google search and prompt ChatGPT 4 to generate a web page. I'm sure your milage may vary.

However, my point was that Phind's answer was worse than a No, or a hallucinated attempt would've been. By saying "Yes, here is how YOU can do it...", it left the impression that it didn't even understand the question.


Thanks for expanding on your answer.


So much irony considering that Ikea's furniture is probably the main source of formaldehyde pollution in most people's homes. I don't judge them too hard but ironic nevertheless.


How much pre-1993 Ikea furniture still exists in USA homes?!


What happened in 1993?


That's when IKEA stopped adding formaldehyde to its products.

https://www.ikea.com/us/en/customer-service/knowledge/articl...: "Trace amounts of formaldehyde can be found in our products as it is a naturally occurring substance, however, we do not add formaldehyde to our range. As a precautionary measure, IKEA has phased out several chemicals that could potentially be harmful, often ahead of legislation."


This is not from 1993.

"Trace amounts of formaldehyde can be found in our products"

Trace amounts sounds great, but that's open to interpretation. There are MANY guidelines by different authorities and their levels differ by more than an order of magnitude. If you take OSHA PEL as baseline you can claim trace amounts and still be pretty harmful.

"however, we do not add formaldehyde to our range."

Range? This sounds so vague it feels deliberate.

"As a precautionary measure, IKEA has phased out several chemicals that could potentially be harmful, often ahead of legislation."

They didn't say formaldehyde was one of them :-)

Also, did you ready the linked PDF? It says they don't use formaldehyde in their paint and lacquer. They didn't say anything about their glue and particle board. That's where formaldehyde is indispensable and used in large amounts.


Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: