skysight-inc/HackerNews huggingface dataset:
Ask HN: Courses to teach an experienced JavaScript dev Python
Hey all! I am an experienced JS dev and want to delve into the realms of Pyhton to expand my toolset.

I've found a load of courses online to teach people Python or JS but am struggling to find something which essentially teaches Python in the context of being a dev who already knows JS/TS.

I have found a couple articles which go through some of the differences but I figured there must be a course of some kind which is aimed at teaching to build out projects in Python by the way of giving the user a JS project and asking them to remake it.

Does anyone have anything reputable which they can recommend?

TIA!
There really were some good songs in there

One Step Forward is amazing
Pick out the even (i,j where both even) elements from a matrix

m[0::2, 0::2] // Numpy
m(0::2, 0::2) // Fortran [1]
m(seq(0, last, 2), seq(0, last, 2)) // C++ Eigen

[1] If you have declared the array to start indexing from 0.
Converting all matter in the universe to compute.
And the Loom
I would bet quite a bit of money they didn't forget, based on the people I've known on the team. That's just Samsung's modem not being as good as Qualcomm. Choosing Qualcomm would have led to a very different phone where the feature differentiation they were trying to deliver with Tensor simply wouldn't have been possible. There are serious consequences to the middle ground solutions as well.
>This is not a vulnerability in 2BSD but rather a consequence of the CPU not having the capability to mark the relevant area of memory as non executable.

well, it was a consequence of vulnerabilities like this that CPUs added the capability to mark areas of memory as non-executable, more or less an extension of protected modes that separated different users.

The original von neumann idea that you could execute wherever the program counter was pointing was absolutely "feature" if not "obviously". The harvard architecture separating code and data space was "twice the address space in the same number of bits" beyond its "well the buses are separate anyhow"
Ironically, we don't know what the penalty for non-compliance is because we don't know the non-profit's gross receipts are for its most recent complete tax year. If they are over $1 million, which is plausible, the daily penalty is $100/day not to exceed $50,000. See 2022 Form 990 Instructions, page 81. Not that this really matters.

The crux of our disagreement is whether they have the right to refuse entry. They can [unlawfully] deny a request I suppose and just choose penalties over compliance, but when it comes to denying the ability to lodge a request in person with the associated "immediate" timeline, there are First Amendment interests at stake and I think the federal constitution, if not federal preemption, wins.

In this specific instance, it wasn't clear to me what, if anything, the security guard had done or intended to do with my name and ID information (which is not needed to file a request for tax forms). So I didn't feel as though a specific request had even been filed. He wouldn't provide his name, he wouldn't allow me to speak to anyone with any knowledge of the issue, and I had nothing in writing. From my perspective, OpenAI prevented a request from being filed after its accountants said that they had the documents but that the non-profit's offices were the proper place to lodge a request.

On top of all of that, the 2022 IRS Form 990 instructions (page 79) refer to "the room" and the requirement that the member of the public "must" be allowed to "take notes freely." Outside on the sidewalk is not a room where you can take notes.
We certainly dont. Though half our infra was already on Hyper-V anyway. Lets hope MSFT is watching and wants to put effort into HVS.
What's your goal in learning Python?

ML? Backend web dev? Leetcode?

Hard to recommend a course without more detail.
So, we’re saying it’s not the person’s fault when they do something bad. So what? Wouldn’t the threat of punishment factor into the outcome still; thus making punishment valid and valuable?

I understand the logic behind not getting angry with people and considering them a “force of nature” as Harris says, but that seems somehow different than not holding people accountable for their actions-free will or not.
Let's assume everything the guy in the video (the self-anointed journalist) says is true and that OpenAI is required to "hand over" those forms to anyone who asks...

With that said it still doesn't mean that if don't do that that you get to shove your way in (or try to) and start yelling at people lol.

I'm sure the actual process is that if they are required to do so and do not then you a member of the public ("data journalist" or otherwise) can pursue legal action. The "I'm entering the property NOW!" thing is likely not codified into whatever law this guy is quoting. "If they don't turn it over you're allowed to invade the corporate HQ!" Doubtful.
Time to find better customers.
How do you know intelligence isn't sufficient and that computers cannot have qualia. Any incoming information could result in qualia. Just because we cannot imagine them doesn't mean they cannot be someone's subjective experience
Major 1st/2nd amendment auditor vibes. This is a non-story by someone seeking attention.

Update: ok, I skimmed the article and there's a lot more to it than what's in the videos. This is a non-story by someone with a vendetta. That money transmitter law is bullshit. Enforcement of it is bullshit. Sucks that you tried to do the "right" thing and follow the law, but it's probably best to just move on from that. What do you hope to accomplish by continuing to pursue this?
I think I made a post-guitar radiohead track.
Oh right! Mescaline became known in the US artistic and scientific circles a bit earlier than psilocybin.
To some, any expectations placed upon anyone (company or person) by the government is too much. Mostly people that haven’t progressed much after reading Rand in high school.
In the United States, internet connectivity is insufficient for uncompressed video footage.
Teachers use websites to try and detect if AI wrote essays (and often it gets it wrong, and they believe it) we've defacto passed it.
I want to see reliable fully autonomous cars before I worry about the world ending due to super-AGI. Also, have we figured out how to get art generators to always get the number of fingers right, and text generators to stop making shit up? Let's not get ahead of ourselves.
>Or is this where we pretend that leading YC is even vaguely similar to being a rogue cop, in terms of potential impact on people’s lives?

If a cop shoots someone and kills them, it destroys that life and possibly the family of those around him, the legal system kicks in -- that cop gets ousted or thrown into prison.

how many lives have been destroyed by the mere existence of reddit and twitch, and by extension the human trafficking they help to support? how about victims of sexual exploitation that are enabled by platform payment services? how about the person drug below the Cruise self-driving car for 20+ feet? how about drug interactions caused by e-doctor prescriptions that have little over-sight or supervisory element?

how about the simplest and most common thing ever -- how many lives are fucked up when an acquihire or business movement of some sort liquidates 80% of the staff?

I think the fantasy of the reins-holder being pardoned for the sins of their business is a concept that needs to be re-evaluated; these elements do serve to do damage as well as social good.

a rogue cop constitutes a rogue element in society that is dealt with in fairly swift fashion, a rogue corporation pays the fines and continues until a senator or similarly powerful person speaks up and points a finger ; that opens the floodgates for abuse.
`np.random.normal(0, 1)`. You too can generate infinite amount of normal distribution data to use for fake datasets, free of AI.
How HN continues to not expand current progress into any decently significant future timeline is beyond me.

It’s grade school math NOW. But what are the potentials from here?
It's exactly this.

You could see the difference in GPT-3 before they depreciated the TextCompletion API.

There's no way that telling a model that it is "a large language model made by Open AI that doesn't have feelings or desires" as an intermediate layer before telling it to pretend to be XYZ is going to result in as good a quality as simply directly telling a LLM it is an XYZ.

The one area this probably doesn't negatively impact too severely are things like Big-Bench or GLUE. So they make a change that works fine for a chatbot and then position that product as a general API that kind of sucks other than the fact it's the SotA underlying model.

As soon as you see direct pretrained model access to a comparable model by API, OpenAI's handicapped offerings are going to pale in comparison and go out of style for most enterprise integrations.

And this is fine and completely safe to do, as long as they are running a secondary classifier on the output for safety instead of baking it into the model itself. So it's possible to still have safety without cutting the model off at the knees (it just increases the API per token cost, but probably results in net savings if there needs to be less iterations to get to the quality target intended).
You've just described why once prominent companies fade into shadows of their former glory (eg. Kodak, Blackberry, IBM, Oracle, Microsoft). Definitely not inevitable and could be avoided with better leadership.
Try finding out if Walmart is closed tomorrow. Google results are all SEO spam even though Walmart themselves tweeted about it.
Two out of three of your problems are solved already
You have it backwards. You have to be able to make the request at the offices in the first place. This is about OpenAI attempting to prevent an in-person request from being made, in violation of the law. No one was "invading" anything.

Other prominent non-profits do not seem to have this problem.
Things that benefit everybody may sometimes disproportionately benefit some entities more than others, but that is the price of having something that's indiscriminately beneficial to everyone. On the other hand, the amount of people who get to benefit from those things is still vastly greater than something that is limited to benefiting just an exclusive group.

If anything, I think the way a lot of open source software winds up playing out just makes the economy a bit more efficient. Everyone does not have to write Apache or Nginx, or pay a lot of money for it. Everyone, from Spotify to some guy named Eric, can run Nginx on a server and do interesting things with it.

I'm all for fixing wealth inequality but blaming open source for it seems like a terrible mistake. Open source software certainly didn't cause the wealth inequality of our society, and it's not even clear it has yet made it much worse.
If the criteria for truth is a convincing argument, and we have a machine for generating convincing arguments to fit anything, and analyzing the argument is too much trouble, then what?
Pretty cool. Not sure what pricing is, seems like it's focused for enterprise.
Without taking away from how cool that is, the Threadripper 7980X manages to run at just 3.4W/core according to GamersNexus [1]

It's pretty amazing where everyone (other than Intel) is on the perf/W scale.

[1] https://www.youtube.com/watch?v=yDEUOoWTzGw
The article makes a very simplistic analysis, in that because capitalists won in taking over OpenAI, those concerned about a responsible deployment of very powerful technology lost. But in truth, OpenAI was already a capitalist/commercial enterprise and has been for over a year and those concerned had already failed in keeping the beast contained. The cat is out of the bag, and trying to keep ChatGPT in the box wasn't going to do anything in preventing LLMs to continue to proliferate.

Clearly the board should have changed the moment Elon Musk left the company and OpenAI stopped being a non-profit. That's what failed here.

If you are going to accept billions of dollars in funding from Microsoft and you are going to start selling a service, then wake up, it's a capitalist venture.

The time to pull the trigger, was in releasing ChatGPT to the public. Trying to kick out the CEO after Skynet was activated is pretty pointless.
"it's a big club, and you ain't in it" - George Carlin
Yes. They also don't want competition. That's why opensource won.
Thankfully using GPT doesn’t preclude you from using Faker, so I think we can all agree this is strictly an improvement in one’s ability to fake data.
>Are you a graphics programmer, or are you just saying this because that's true in the CPU world (where you have experience)

Neither.

>the nature of GPU architectures means you are forced to deal with super low-level details from the very beginning.

Not everyone is trying to push the hardware to its limits by making the best thing possible with the hardware. Plenty of projects can get along fine with a A/AA renderer or with unoptimized shaders.

>there's no operating system to manage threads

There literally is. Or if you disagree the firmware manages the threads.
Comments moved to https://news.ycombinator.com/item?id=38386487.
Entity Framework Core 8: Improved JSON, queryable collections, and more [video]
Applying the unary "negate" operation isn't particularly useful test.

For reference (and note the apostrophe locations):

* sign-magnitude is slightly easier for multiplication/division but makes addition/subtraction marginally harder. It's widely used in bigint libraries, and IEEE binary floats use a variant of it (unlike IEEE decimal floats, which are not at all sane).

* two's complement is optimal for addition/subtraction, but has a weird "most negative" value. Fixed-width multiplication and division have a couple warts but .

* ones' complement is not particularly useful compared to the above two choices, though I suppose it's marginally easier to sort than sign-magnitude

* offset-binary is useful for naive sorting, but casting to/from unsigned is not a nop.

For two's complement at least, to avoid the UB you can just cast to/from unsigned around most operations. Division has to be done with some kind of branches, however.

I rather wish we had an integer `NaN` instead of the most-negative value.

Also, there are several useful overflow behaviors: trap, wrap, saturate, unspecified, and undefined. "unspecified" is particularly useful if you're sometimes transpiling to a JS-like language that doesn't actually support integers.
Is there any progress in AI that you find significant or what do you think would qualify as a “breakthrough”?
We think objectively about it. We have goals and intentions. We use logic. LLMs don't.

The dirt in the ground sorts impurities from water, but we don't call it intelligent or generative. We call it entropy.
I will bet ANY amount of money that 30% of current jobs will be displaced with AI advances in the next twenty years.
But at current valuations? With existing licenses already in place? It's not like their commercial value (or value to Microsoft) drops to zero if they stick to the original mission don't license AGI.
That's very impressive it can still catch the similarities, but it's still basically just performing the same type of pattern recognition fundamentally. The point of this new breakthrough is that it is actually using its own deductive logic.
All the top brass domain experts of these systems, like 95% besides Yann LeCunn, believe it's an existential risk. Nothing has "proved that people are a little too paranoid." Why people listen to HN prognosticators over Hinton, Bengio, Sutskever, Altman, Amodei, Hassabis, etc. is beyond me.
Asp.net Basics for Experts [video]
Apple switched when bash switched from GPL2 to GPL3 which they didn’t like. The older bash is still available.
Maybe, Broadcom's strategy is 'to raise maintenance and licensing fees until they very last customer turns off their last ESXi box'. Broadcom spent $69B to acquire VMWare. They just need to squeeze blood for another 10 years.

VMware's revenue for 2022 is $13B, and net income about $1.8B. Trim sales department, remove duplication(HR, IT, etc), cut down development, remove many make-work projects that the middle management engages in, increase licensing/support cost. They will focus more on net income, financing costs for $69B will be taken care of by layoffs and other stuff.
Not OP and don’t have GPT 4 (used 3.5), but I played around with a couple of different prompts and this is what I experienced.

For the first try, I came up with my own wording for this logic puzzle. I think it’s different enough from the original wording of the puzzle for the LLM not to base this from the original logic puzzle. I asked the ChatGPT 3.5 if it recognized the puzzle, and it seems to have hallucinated (I’m guessing because it did not actually recognize it as the original puzzle— unless the 3 orb puzzle/3 wizards puzzle actually does exist, and from a quick google search, it does not).

On my first try, it got pretty close to solving the puzzle, but after the 5th point, it seems to mix up the white and black orbs. When I pointed out the mistake, it gave me a new sequence which was even further from the correct answer.

First try:

https://chat.openai.com/share/f8505609-46ca-494b-95d9-56685e...

I realized that I didn’t specifically say that all 3 orbs needed to end up at the post office all together. So I tried again and the outcome was even worse. I wonder if ChatGPT 4 would answer this better?

Second try:

https://chat.openai.com/share/71292efa-c3c7-471e-954a-55966c...

Anyone want to try this prompt on Chatgpt 4 and see if it fairs any better for them? This is my version of the river puzzle.

————————

> I have 3 orbs of different shades (black, white and grey) at my store and need to bring all 3 orbs to the post office in my pick-up truck but can only travel with one orb at a time. All 3 orbs need to end up at the post office together.

In this scenario, the following is true:

-If the black orb is left alone with the white orb, the black orb will absorb the white orb

-If the white orb is left alone with the grey orb, the white orb will absorb the grey orb

-the grey orb is unaffected by the black orb, and vice versa

-when all three orbs are together, they do not absorb any orbs

How do I get all three orbs to the post office while keeping the orbs unchanged?

————————

I also tried a prompt with the original puzzle. 3.5 could not figure it out without me hinting that the goat needs to go first.

https://chat.openai.com/share/e384b96a-25b1-40d7-adc5-5afb07...

And with even more clarification in the wording of the puzzle, it still didn’t give me a correct answer. This time I didn’t hint what the right answer was, and after many tries it still could not give me the right answer.

https://chat.openai.com/share/bb9ba6b0-f46b-4cc4-bd54-abbf2e...
A master printer makes his last print [video]
Given that I've moved to Kagi and chatGPT how much are they making off me now? They should have disrupted themselves when they had the chance.
Tried Notion, Todoist, Trello, Obsidian with many plugins, plain-text files, hand-written notebook, Things 3 and more.

Ended up at using Lunatask for task tracking and Bear as my wiki. I mostly do work on Mac, to separate gaming life from hobbies, so it works well for me. And is stupid simple.
The most amusing strip of road I remember was a highway that went through the "country" areas. Random vehicle types changed depending on the area, so sometimes the game would spawn a tractor ahead of 70mph traffic and immediately cause a huge AI car pileup in front of you.

It had to be something they saw in testing, but left in purposely because it never stopped being hilarious.
The article covers this method of using an image: https://spencermortensen.com/articles/email-obfuscation/#tex...

The problem is that humans who want to cut and paste your email into a different client have to retype it, which is annoying and error prone.
>> Exactly. The rational fear is that they will automate many lower middle class jobs and cause unemployment, not that Terminator was a documentary.

> Wasn't this supposed to happen when PCs came out?

Did it not?

PCs may not have caused a catastrophic level of unemployment, but as they say "past performance is not a guarantee of future results." As automation gets more and more capable, it's foolish to point to past iterations as "proof" that this (or some future) iteration of automation will also be fine.
I'm curious. How fast did WebArchive archived it or did someone did it in nick of time? The article was taken down in less than 24-hours.
Okay but if the non-profit doesn't comply, again does that mean the person (who I guess I said was "invading") gets to start yelling and doesn't have to leave if asked to do so?
This could just be a damage control attempt. Irrespective of whether the original report is true, the extra attention at the current stage is not very desirable.
Yeah, I was only ever a ‘casual’ ESXi user (we only ever had a couple of hosts and two dozen or so VMs, and nothing super mission critical), and I’m amazed at how good Proxmox is now we’ve started using it instead of ESXi given the Broadcom acquisition.

Obviously if you’re running dozens of hosts and thousands of VMs, needing live migration and things like that, then it’d probably be missing a lot of features you’d want, but for smaller stuff it’s pretty crazy how well it works.
I initially thought this was his older video, but I see this video was published just an hour ago (from the time of this comment).

I was thinking of this other video he had published early this year:
"Let's build GPT: from scratch, in code, spelled out" https://www.youtube.com/watch?v=kCc8FmEb1nY

Karpathy is generally well-reputed as a good tutor, especially for complex topics in AI / ML.
The latest Apple Watch models do this and it’s so much nicer.
> Choosing Qualcomm would have led to a very different phone where the feature differentiation they were trying to deliver with Tensor simply wouldn't have been possible.

Would you mind elaborating on this point?
this is very cool, but why shouldn't it be possible?
AGI doomers can now be referred to as Q*Anon.
Since this is very straightforward to do, I took it as equivalent statements
Gpt4: To solve this problem, we need to ensure that neither the ambassador of Costaguana is left alone with the ambassador of Buranda, nor is the ambassador of Buranda left alone with the ambassador of Atlantis. Here's a step-by-step strategy:

1. *First Trip:* The general takes the ambassador of Buranda across first. This prevents any initial conflict.

2. *Return Trip:* The general returns alone to the bunker, leaving the ambassador of Buranda on the other side.

3. *Second Trip:* The general then takes the ambassador of Atlantis.

4. *Return Trip with Buranda:* The general brings the ambassador of Buranda back to the bunker. This is crucial because leaving the ambassador of Atlantis and the ambassador of Costaguana alone would not cause any conflict.

5. *Third Trip with Costaguana:* The general then takes the ambassador of Costaguana across the tunnel.

6. *Final Return Trip:* The general returns alone to the bunker for the last time.

7. *Final Trip with Buranda:* Finally, the general takes the ambassador of Buranda across.

This sequence ensures that at no point are the ambassador of Costaguana and the ambassador of Buranda left alone together, nor are the ambassador of Buranda and the ambassador of Atlantis. Thus, the relationships between the nations remain unescalated.
How long til I can produce a paper that says smoking is good for you, and will extend life or increase quality of life? ;-)
feels like a very clever marketing ploy

any publicity…

and just following some major feature releases

premium service has been v slow since the news began. suggesting a massive influx of users

well played(?) Sam
I was not expecting to love this and I love it. +1, I would really, really like to be able to share 'compositions'.
I legitimately laughed out loud on this one.

Thank you