Hacker Newsnew | past | comments | ask | show | jobs | submit | more ihatepython's commentslogin

All they had to do was give you your last paycheck, they would have saved 20k and gotten away with it


I don't understand, this gives C style for loops with C syntax?


This adds c style for loops to hy, which runs on the normal cpython vm, and therefore can make use of the thousands of open source python libraries available.

My reply to the post was tongue in cheek. The point is that you can add on arbitrary language features to python using hy (any lisp, really). The syntax in question is normally referred to as an s-expression.


looks like it to me

  cfor(setv(i, 0), i < 10, i += 1) {
    print(i)   
  }


Do the brackets actually work or do you still have to get the indentation right?


no, just saying you can trivially convert any lisp code to c style syntax by moving the function call parenthesis to the right and converting wrapping parens into curly braces.


I think it makes more sense to compile this emulator with Emscripten and run it in the browser.


Philosophically, there is no such thing as a random number


There are ways to get truly random numbers into a computer. Certain phenomena are theorized to be fundamentally random, and can be used as inputs to hardware.

https://en.m.wikipedia.org/wiki/Hardware_random_number_gener...


The sound of conviction in your first sentence does not match the "theorized to be" in the second sentence. I recommend that you don't bring a "for all intents and purposes" to a "philosophically" fight. ;)


However, the universe is based on randomness at its quantum core.


Or perhaps the universe is a simulation whose prng was seeded with 1 just like golang does

Maybe we're in the first batch of simulations, and the tester came along and asks why they're all identical. The cosmic coder then realises that they forgot to call the function to seed the prng.


Is it though? I’m merely a layperson here so I might be grossly misunderstanding, but I didn’t know determinism had been ruled out by quantum physics. I was under the impression that quantum phenomena was best described using probability. That means there might be an element of true randomness going on, but also that these systems are so chaotic that an observation is going to have some noise, regardless of any randomness at the core. The latter says nothing about how random things are, merely that they appear with some probability, they could be completely deterministic for all we know.


Yeah he's not really a businessman. Perhaps it would be better to describe him as an affiliate marketer.


Don’t affiliate marketers have to provide individualized links to make sure they get a cut of a particular sale? Does he operate a blog that does that?


Technically, lol is not a word, but an abbreviation for Laughed Out Loud, so "lol, no" would be 4 words, not 2.

Unless by lol, you meant "League of Legends", which would make "lol, fuck no" 5 words, not 3.


Technically, you're correct. The most socially isolating form of being correct.


I also don't agree with the digital native premise.

However I believe that those who grew up with or experienced the 8 bit home computer and it's evolution to what we have now, they have a much better understanding of how computers work.


Digital Native to me means you grew up when 'digital' was both everywhere and all encompassing. You don't have to understand it any more than you have to understand how hot water comes out of your shower or why a light turns on when you flip a switch.

Those of us grew up in the 'before times' had to understand how computers worked just to make them, well work. Much like someone who had to dig their own well, run their own pipes and heat their own water probably has a much better understanding as to how and why hot water comes out of their shower.


I wonder how much of that belief is true, and even more specifically, how much of that translates to real-life skills. In my experience, people picked up "digital" skills casually over some years, are indistinguishable from people who "grew up" with half of their lives being lived digitally. And neither of these understand how computers work, at most, what they are familiar with are the happy path of how they achieve some goals using the computer / smartphone, and maybe basic troubleshooting.

Part of why I don't think people understand the digital world is because it's changing fast. Both the systems themselves on a lower levels like hardware, and on top in regards to UX. Typing into a Commodore 64 is vastly different than a mouse-driven traditional desktop, which again is very different than a material design smartphone app. It's a lot of work to know these systems, and so, I think people don't know them that well, and that they overestimate their, and others' familiarity with them, in a similar way to how the Dunning-Kruger effect works.


Well we have had over 40 years of practice...


Because it makes it more official, that this war is not simply Ukraine vs Russia, but rather NATO vs Russia. NATO has been funding the war from the Ukrainian side.

Soon, it will expand to include China, because China cannot allow Russia to be defeated, because they would be next.

This actually means that there is absolutely zero chance for peace.


What was Russia's reason for attacking Ukraine and starting this whole mess?

Last time I checked, Russia still hasn't officially declared war on Ukraine, or given a reason yet. Despite the large scale conscription of soldiers, Russia seems to still call this a special military operation, rather than a proper war.

The USA / NATO side is defensive purpose. Ukraine certainly deserves a right to exist and fight for itself. This war would end tomorrow if Putin ordered his troops back into Russia.

---------

Why were Russian soldiers attacking Kyiv in February 2022?


This war/conflict actually began back in 2014, after Yanukovich was overthrown. The simple solution is to honor the Minsk Agreement and allow the Donbas to vote on whether or not they want to join Russia. Merkel has stated that there was never any intention to allow the Donbas to vote. The purpose was to buy time to build up Ukraine's army. So the negotiation was in bad faith.

It is false that this war would end tomorrow if Putin ordered his troops back into Russia. Again the simple solution is to honor the Minsk Agreement.


> The simple solution is to honor the Minsk Agreement and allow the Donbas to vote on whether or not they want to join Russia

Why did Russia invade, kill, and kidnap citizens before such a vote?

Its pretty obvious that what Russia is doing here is simple colonialism and imperialism. Russia wants Ukraine. It started by gobbling up Crimea, and moved on to to take Donbas and other such territories.

Last year, I've had plenty of Russian sympathizers tell me how peace-loving you all are, especially with your "Slavic Brothers". And it was all proven false upon the brutal attack on Kyiv on Feburary 2022.

-------

> It is false that this war would end tomorrow if Putin ordered his troops back into Russia.

The hostilities of Feb 2022 through today started when Putin crossed into Ukraine. It will end when Putin retreats his army back into Russia.

-----

> Again the simple solution is to honor the Minsk Agreement.

And the first step to that agreement was a ceasefire. And that ceasefire was utterly demolished when Russia attacked Kyiv.

Putin DESTROYED that agreement with the Feb. 2022 attack. You realize that? The conditions of ceasefire will never again return, not until the Russian army is out of Ukraine.


Do you believe that Pearl Harbor was an unprovoked attack?


In 1994 Russia signed the Budapest agreement where it guaranteed the independence of Ukraine. Ukraine had to transfer all it's nukes to Russia to honour it's side of the agreement. Which it did.

Ukraine's borders included Donbas and Crimea. Why did Russia reneged on that agreement?

Talking about the Donbas, why has the Donbas right to sovereignty, but not Chechnia?


At the Munich Security Conference, Kamala Harris said that Ukraine should join NATO. That violates the Budapest agreement.

A few days later, Putin invades Ukraine.

Back in 2014, after Yanukovich was overthrown, the US installed an unelected government in Ukraine, which immediately began attacking the Donbas region.


We literally have the satellite footage of Russians building up on the border in December 2021.

It's the internet today. Public companies have easy to use satellites.

The invasion plans were already in place long before that statement.

----

I know this because when I saw those troop movements published, I started to buy oil stock. I've made a profit from my prediction. I knew Russia was not to be trusted and that a war could break out.

> which immediately began attacking the Donbas region.

Donbas was, and is, owned by Ukraine. But nevermind that. The other poster already has the answer for you.

> Talking about the Donbas, why has the Donbas right to sovereignty, but not Chechnia?


The Ukrainian government may be the most corrupt government in the world.

The Ukrainian nazis were far worse than the German nazis in WWII, and they were never held accountable for their actions.

Hunter Biden's laptop has been covered up.

I have no desire for WWIII, but it is clear that is where we are headed. NATO has no desire to seek a peaceful resolution. They want war. Ukrainians are consumed by their hatred of Russians, and most likely they will end up destroying themselves. Nothing the Ukrainians say has any basis in logic, they are consumed by hatred.

It is like that episode of Seinfeld, Newman and Kramer are playing Risk, and Newman says 'I am not defeated yet, I still have armies in the Ukraine'


Well actually, it's not. South Sudan is (https://worldpopulationreview.com/country-rankings/most-corr...). Russian corruption is worse than Ukraine's (same source).


> The Ukrainian nazis were far worse than the German nazis in WWII

Uh huh.

1. Zelensky is Jewish.

2. How many millions of Jews have the Ukrainians killed?

3. How many millions of Slavs have the Ukrainians killed?

Ah right... no where close to the Nazis. Your hyperbole is noted, but there's a little law here on the internet called Goodwin's law.

The moment someone starts talking about Nazis on the internet, you know that they're at the end of their argument and have no facts backing them up.


You know that the RAND Corporation published the blueprint for this in 2019 - titled "Extending Russia", right? 8 of the first 10 measures have been implemented (items such as "Exploit tensions in the South Caucasus"). So the more sensible question is: why is the US doing this, and why would Russia just idly wait for the "Provide lethal aid to Ukraine" measure to be fully executed?

Short answer: the US is more interested in destroying the German economy than Russia's, and starting a protracted war with Russia through a Ukrainian proxy is how that is being done. It is amazing how happily the EU wrecked its economic prospects for at least two generations, to the exclusive benefit of US industry. Russia's actions here are totally rational, not only that but they provided ample warning for years about NATO expansion into Ukraine being an actual red line (as opposed to a lot of the red lines declared by the WH).


So Russia invaded Ukraine on the orders of the US?


You are mixing up who is the factotum here - Ukraine is the one taking marching orders. Also, the other silly things your mother said to you when you and your sibling fought don't apply in real adult life. There does exist the legal concept of "menacing" and it does justify an overmatched demolishing.


AI is only as good as the input data.

Garbage In = Garbage Out

The data is more important than the model, and more data is not better than good data.


Making it illegal will just push it underground, the end result being some kind of AI mafia.


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

Search: