skysight-inc/HackerNews huggingface dataset:
"Hands on Rust" teaches Rust by building a rogue like game step by step. Before that there's a chapter where you rebuild Flappy Bird from scratch that teaches the "basics" before diving into more advanced concepts in the rogue like. I liked the approach and recommend the book but it's fast paced and expects quite a bit from the reader (it's excellent if you have some programming experience already but probably daunting as a true first book imo).
checkio.com for increasing challenges in Python or JS.

But also pretty much every book does that.
I don't know why jtimiclat's comment recommending Al Sweigart's books got downvoted and faded out, they are indeed quite good for beginners wanting to get their hands dirty with programming instead of cramming it in an academic way.

Not to mention they're all freely available and give excellent value for both time and money: https://inventwithpython.com/
GOP candidate arrested on suspicion of orchestrating shootings in New Mexico
They are trying to get as close as possible to the amount people are willing to pay before leaving - and they figured out how to do effective vendor lock-in - reduce onboarding friction, give away free credits in the start, price migrating out to oblivion, etc.

I don't really see how this will improve - new competitors will try to emulate the approach to reach similar margins, budget providers won't have the capital required to commoditize SaaS offerings.
> Apple devices have the longest usable lifespans out there

Are you serious? This is Apple policy:

> Products are considered vintage when Apple stopped distributing them for sale more than 5 and less than 7 years ago.

> Products are considered obsolete when Apple stopped distributing them for sale more than 7 years ago. Monster-branded Beats products are considered obsolete regardless of when they were purchased.

> Apple discontinues all hardware service for obsolete products, with the sole exception of Mac laptops that are eligible for an additional battery-only repair period. Service providers cannot order parts for obsolete products.

If you suggested, that you cannot use 10 years old PC (and I actually have one Thinkpad that old here), you would be laughed out of the room.

> and best resell value to boot, which is also indicative of their lifespan

That's what some users think; up until they try to do that. Then the reality kicks in.
I would not be surprised given that Tor was specifically created to anonymize the traffic of US spies. It was released to the public to give plausible deniability to the spies. A new protocol that ONLY spies used would be obvious to track down, no matter how much encryption it had. But if everyone is using it for different purposes then you have to actually have to break the encryption to know if someone's using Tor to check in with the CIA or if they're just so paranoid that they insist on surfing Wikipedia with it.
Elon Musk Can’t Solve Twitter’s ‘Shadowbanning’ Problem
Author here, you're correct that there are a lot of performance tradeoffs involved with various GC'd languages, and also correct that GC'd languages do have some support for deterministic destruction (especially with defer).

The article was trying to focus on the general approach of GC more than the GC'd languages themselves, and the article was already pretty long so I tried to keep it scoped to just developer velocity implications of the memory safety approaches themselves.

I did mention some of those aspects, for example how C# is more than just a GC'd language (it has value types to help avoid GC), and Rust is more than just borrow checking (it has RefCell). But I couldn't get as deeply into these other aspects as I would like.

(It's also pretty funny that the article's been called biased by both sides, in both directions now! Such is life.)

I also don't mean to specifically recommend Go over C#, and I see the line that gives that impression, fixing now.
I wouldn't get so excited about this. There have been tons of javascript exploits to leak IP addresses in the past, it's more likely that than the FBI running thousands of servers.
The article says "second-generation 5-nanometer process technology".
Yes, it is. It’s not about machine learning, neural networks but the more approachable AI of the 80s.
IMO, this opens up a real bad can of worms regarding property rights where rich/powerful organizations are going to be able to bully individuals much easier to seize domains they want.

Imagine you have some snazzy domain for a project, but all of a sudden Coca-Cola or McDonald's marketing team wants to use it for some Super Bowl promotion next year. If they apply their full weight and pressure on both the "independent governing board" that determines disputes, as well as on you ("Better accept this one-time offer of $500 for your domain now or who knows what the board will decide?"), essentially you've really disadvantaged individuals.
Free for now! But we're hoping to build a small side business out of this, so we'll probably charge for say, over 10m videos, higher fidelity videos, hosting lots of videos, etc.

Anything in that list feel unfair? Anything you'd add?
I never used blaze, but the main developer, Klaus Iglberger, is a terrific c++ conference speaker/teacher. His talks are really well structured and pedagogical whether the topic is basic or advanced. I recommend checking out his talks and watching them if they are relevant to you!
This response is probably more abstruse and rhetorical than logical, but here goes.

Consider that, if the AI "actually" has experienced all the digested human experiences, the vast majority of them -- even those, in the phase space of human experiences, "close" to Nick Cave, that the AI might utilize in order to seem most like Nick Cave -- are not those of Nick Cave, and detract from the machine's ability to authentically impersonate Nick Cave just as Nick Cave's writings add to that ability.

But, like, I don't think it actually has experienced all that stuff! Don't fall into the trap of thinking that human language correctly encapsulates (or even comprises!) human thought. You'd be in good company -- great philosophers like Bertrand Russell made that error, too. But human language is a messy abstraction for Something Else that's going on while we think. I can read inspiring or evocative words, but I don't really think that even the most vivid description can give me the visceral experiential knowledge of what it's like to climb Everest, or whatever. I can, however, read a lot about Everest and the experience of climbing it, and then write something that might trick readers into thinking I speak from firsthand experience. I suspect that this is closer to what the AI is doing.
Associations of Physical Inactivity and Covid-19 Outcomes Among Subgroups
The conversation hasn't turned. We are still waiting on examples of ORM toolkits that don't provide separation between the ORM and the query building operations. I suspect ad hominem entered the chat because one couldn't be found, but I'll continue to wait as I love to learn new things.
What I got most curious about right now is if my muscle memory still would remember how to navigate with the cursor keys.

Using Shift to move left/up.
This book is still in progress but I've gone through some of the chapters and have enjoyed it. Rust from the Ground Up: https://leanpub.com/rust-from-the-ground-up

I was looking for a book that had offline projects I can work on while on flights, and this book focuses on rebuilding linux utilities using rust. The other nice part is that you get a better understanding of linux internals.

I believe the author is also responsive on the rust subreddit.
You can quote yourself ad nauseam but that does not turn your incorrect statement into a correct statement. If you spent any amount of time looking at a modern PHP codebase, you'd discover that the type of code people write today is radically different to the type of code you'd have seen at the time A Fractal of Bad Design was written. There are still aspects of modern PHP that stand to be improved, absolutely, but that's true of all languages.
You sound like planner of plans. Programming is largely a one-person
job. Hire me.
By now it's probably just cosmic background noise.
OpenStreetMap but as terminal user interface (TUI) program
Maybe it's time to retire the phrase “mind-independent reality”
Show HN: Domsy - Domain Management System
Laravel, NuxtJs
Personally, having used COBOL for what it was intended (accounting systems), I didn't really mind it. It was verbose, but so was everything back then.

I also really liked being able to read DDL directly from the file on the AS/400. Saved a lot of typing to just grab it :-)

"COBOL is where all the money is!" -> Heh, I always joke I'm gonna 'retire' as a part time COBOL coder. I didn't realize there was this many left out there. Maybe I should plan on Fourth instead ? PL/1 ?
If you want to do things properly: you ("the investor") get a "investor's supervisor" which is a person that goes to the building site daily and checks that everything is done properly. For example every time there is something that's going to be covered up and not possible to inspect later, the contractor's crew has to wait for approval of the investor's supervisor before covering it up and continuing the work (simple example -- pouring foundations).

If they don't call your guy to sign off on it, he makes them redo that part. This is the only way to be sure they didn't just throw some garbage there or quickly covered up some shoddy work or usage of cheaper materials than agreed.

Note that you can't rely on the builder's supervisor for this, it has to be your guy. Some architects can come check the site and supervise a bit, however this is not enough and you still need an actual supervisor.

So you can kind of throw more money at it, but you still need to know what you're doing. Perhaps the closest to what you are saying is finding an architect that has reliable contractors in their rolodex. It won't save you from having to run the project properly, but there are going to be fewer issues.
Yup. Don’t put it online if you don’t want it to be seen!
Why would higher quality demand more workers? Higher compexity would.
PHP is still above Go, Rust, Ruby, and Perl in at least the TIOBE index: https://www.tiobe.com/tiobe-index/

Are those all small communities too?
https://archive.ph/R2zXf
Apple’s M2 Mac Mini arrives January 24, starting at $599
GP’s take was way too salty, but to be honest I understand where he comes from.

Yes, it’s a matter of personal preference, but I also never worked with people that thought PHP was beautiful. Not that we look down on it, but it’s probably the same feeling construction people have towards their white vans. We value the good parts, hate the jagged parts, and if tomorrow it made more sense to ride Miata for whatever crazy reason, we wouldn’t look back. But I’m not holding my breath to have any decent reason to get out of PHP at my current job, and I appreciate the reasons why.
> The way we make webpages is so disconnected from the technologies that browsers offer us.

Can you say more about this? I don't really see how "actual applications" differ from a React app in a meaningful way; React apps almost always leverage the capabilities of of course HTML/CSS/JS, history, AJAX/HTTP, cookies, and so on. As the JS distributions evolve, the build systems do too in terms of output.

Maybe I misunderstand something, but in general the idea that just writing vanillaJS or some analogue would be sufficient to deliver the quality of apps enabled by frameworks (and talented devs) seems a bit naive to me.
i Think I couldn’t quite get your specific criticism and the supporting reasons. I had a feeling of strain while I was trying to parse what you wrote
Amazon is not irrelevant in The Netherlands. They just are not the dominant #1 because of a previously existing competitor (Bol.com). Which has a large enough company backing it up (Ahold Delhaize) after they got acquired and had a foothold before Amazon had (Bol.com started with books and wasn't profitable for a long time). They're doing the same shit as Amazon (third party sellers, including drop shippers and such), but more fair. See this article about Amazon possibly being accountable for fake articles being sold [1]. Interestingly, the article also describes Bol.com is way more fair about it selling via a third party than Amazon.

[1] https://blog.iusmentis.com/2023/01/10/amazon-mogelijk-aanspr...
Pretty much most of northern England, outside London a lot of people get by on 18k a year salaries
How do you go ductless in a 6000 sq ft home?
I didn’t downvote you. Im just telling you that displays of fat shaming actually make fat people fatter, statistically, while there’s no evidence that fat sympathy does the same (and in fact might do the opposite).
I work on a project like this and you'll run into some papercuts, but it's not hard.

You can take a model for anything in your legacy code, and just set properties on the model to teach Laravel how to deal with things that don't follow conventions.

For example, you can override the table name. Suppose you had a legacy table called "postdata". In Laravel, this table would be called posts, and a model would be Post.

So you'd just tell Post to query postdata rather than posts.

Likewise, you can tell it which fields to cast as dates, booleans, etc. You can tell it which fields represent timestamps for updating, creating, deleting and so forth.

You can setup relations that don't follow naming conventions the same way.

The only issue I've run into is doing things like setting up relationships across databases. You can do it, it's just not super straightforward.

I think you'll find it's a breath of fresh air to have a modern wrapper around your legacy code, and that your legacy stuff will then fit in quite nicely with your new work.
Amsterdam’s new underwater garage holds 7k bikes [video]
I am really frustrated that the M2 Pro still only supports 2 external monitors.

I don't really need the power of the Max, I just need to be able to power 3 monitors. I figured with the power increase it would at least jump up to 3 this generation, but I guess not.

I was putting off buying a new 16" hoping the m2 would fix this issue, but looks like I am just getting the m2 max.
The world is full of bullshit jobs and bullshit tasks that are unproductive. The next button sending that email for you will balloon the growing pile of bullshit, but look like productivity to passive analysis. So yes our lifestyles have improved, but our work on bullshit is not responsible for those improvements.
> For Chinese Android phones, we only have to assign 100 workers per production line, but we need 1,200 for the iPhone,”

So more of a "Chinese domestic vs export" comparison than iPhone vs anything else comparison.
Specifically "Automate the Boring Stuff with Python" is my favourite Al Sweigart book.
From The Verge:

> Amsterdam’s new underwater garage holds 7,000 bikes.

It took four years to build, but Amsterdam’s underwater bike shed in front of Central Station is set to open on January 26th with space for 6,300 privately-owned bikes and 700 more spaces for bike-shares. Parking is free for 24 hours, then €1.35 (about $1.46) for each additional day.
Pricing has gone crazy here in the UK. Paid £1899 for my M1 Pro. Same spec M2 Pro is £2199.

Edit: at this rate when my previous gen one expires I'm going to think seriously about shifting back to ThinkPads...
> We were told all these bailouts and austerity and artificially low interest rates were the way to solve things and while stock markets bounced back it never felt like a genuine recovery.

Maybe it's because I'm not in the US, but do people actually feel this way?

Sure, the GFC was a big deal at the time, but as a millennial, who grew up upper-middle-class and is now in his mid-thirties, I don't feel it has impacted me much at all.
Is it strange these were not announced during a live event?
> - A few python books from No Starch Press (notably those authored by Al Sweigart)

Yes for example https://nostarch.com/inventwithpython and https://nostarch.com/big-book-small-python-projects
Yes, and I would typically search for simple projects using keywords such as “micro”, “small”, “tiny”, or “pico”.

I would then try to re-implement the “getting started” code in the readme from scratch, like a little programming puzzle. If I can’t figure it out, I‘ll add in some debugger breakpoints, inspect the stack trace to understand how it works, then code the needed methods / classes as I go.

If you’re a ruby programmer, soveran’s work in github can be read in a day or two. I specifically like cuba (micro webframework) and mote (microtemplate).
We have a lot of ideas on how to make this problem a lot easier. It's a big reason why extensions aren't as big as they could be. Browser extension devs having to tinker and even think about the DOM or any other website-specific quirk is a leaky abstraction.

If it's an issue, people's usual approach to solving that problem is to create some mapping of "twitter-sidebar : some XPath selector" on the backend and have their extension query whenever they want to interact with the web page.

They'll have e2e tests to check if their selectors or xpaths still work. If not, they'll figure out what changed and modify the xpath. Some automate this step.

It's tricky because A/B tests are a thing, websites might change based on geographical region, and a bunch of other stuff that leads to users seeing different things in the DOM compared to the e2e test). Logging errors to something like Sentry mitigates some of this, but the complexity is still quite large.

It stems from the fact that frontends only consider humans, not robots. You either need to make your robot super resilient to change (above approach), make your robot act more like a human, have the website consider the robot ("Connect to Wallet", etc), or use the web app's backend API if it exists.

We're experimenting with all four of these approaches this year and seeing which ones are the most valuable to people, so stay tuned for more exciting extension stuff!
More tests/checks require more workers?
Generative QA with OpenAI
Why else would the Space Center be in Houston?
It will because Microsoft’s own Media Creation Tool splits the .WIM installation image accordingly since Windows 10 came out.[1]

1: This is what the media creation tool essentially does, but automatically: https://learn.microsoft.com/en-us/windows-hardware/manufactu...
There's a weird sort of doublethink going on in your post. You're trying to attract talent that knows cryptography but seem to be using the same cryptobro snake oil you presumably use to sell your product (dude...imagine someone spending 8x the bitcoin!!!1! Even tho bitcoin uses secp256)

You also seem to be trying to give the impression you're doing something new and interesting rather than just deploying ristretto255 like everyone else. But you don't want to be caught rolling your own crypto, so you're being deliberately vague.
I was reasonable to ask to WFH in early days of Covid, says fired engineer
What a big disappointment. I will pass this one...
> “For Chinese Android phones, we only have to assign 100 workers per production line, but we need 1,200 for the iPhone,” Chiang said, underlining Apple’s exacting demands.

I'm not sure that this _necessarily_ says that much about "exacting demands"; a lot of that could come down to different design compromises (a once-piece plastic body would presumably require a less complex line than Apple's glass-and-metal one, say).

I'd imagine Apple's quality requirements _are_ higher than the average OEM, but you can't say that much about that just based on production line size.
They sometimes do this if there's nothing more than a spec bump, but also means there might be some other big releases coming soon.
I used to try to add ventoy's CA into the secure boot ca list. But due to one of the hard disks failed(the exact reason I use ventoy to boot an iso).The secure boot configuration just decided to hang every time I open it.

In the end I just disabled the secure boot all along. It's just broken and didn't work.
google cone programmer language. Short answer - your general computer language that is not ready for any practical use.
yeah that's pretty strange, does the file format documentation call it a CSV? In my experience those files are always referred to in their documentation as "pipe-delimited file"
>However, I’d expect those mails to be delivered anyway since I marked the address as safe each time, but here we are.

Exactly - this is the biggest thing for me. I understand that some mail may erroneously be identified as spam, but when I explicitly mark it as Not Spam, I would expect my mail provider to respect that decision (for my inbox personally, at least).

I had a re-occuring issue where the payment receipt from my small gym kept going to spam. I think after marking it Not Spam for like 6 months it eventually started appearing in the Inbox sportatically.
No graphs and all comparison is with Intel's Macs, not with M1s.
> Is it strange these were not announced during a live event?

My conspiracy theory / gut reaction is they want to hide this launch? or at least don't want too many eyes on it? I don't know why I think this but yeah. I have no insider information. This is an unsubstantiated guess.
But at that point your argument is almost tautological - all children born alive are fit to survive ? Being born with such huge asymmetry (missing limbs) and still surviving is low probably (impossible without a head).

I'd say a more convincing argument for deterministic machinery is identical twins - I don't know how much variation there is to put in numbers.
Medium.com Is a Cash Cow
Write to earn!
> It's not beautifully well thought-out the way Python is

Slagging PHP and then saying this just means you are trolling which is not exactly welcomed on HN.
Apple Announces New Mac Mini with M2 and M2 Pro Chips at $599 Starting Price
Your argument is basically:

"Yes, yes, the footguns are still there front and center, but we added more guns that don't shoot you on the foot."

If I was using PHP, I'd be livid that the cruft is never removed. Just deprecate and remove it
FTC Plan to Ban Noncompete Clauses Shifts Companies’ Focus
It could also be they just checked his browsing history..
Yeah according to the internet. In 1984 Wilson’s job is to change the internet in subtle ways so that the lies become the truth. How can we really be sure anymore unless we directly | personal know the author?
Author here, that might actually make the comparison stronger: not all energy in a data center is wasted by the memory safety approach's drawbacks, meaning it makes less sense to optimize for memory safety overhead.

But if I'm being pro-Rust, I would also say that not all coding is affected by a memory safety approach's downsides; there are some domains where the borrow checker doesn't slow development velocity down at all.

Either way, I definitely agree that its orthogonal to many operational costs. I'll mention this line of thought in the article. Thanks!
will this support multiple monitors?
Wait until the victim is someone powerful.
This is a supported use of "Accept" headers, but I kind of miss the pre-SEO web where it was okay for URLs to just carry a file extension - having "example.com/dataset/foo.html" and "example.com/dataset/foo.csv" is pretty simple and less ambiguous too.
Your users can pay. This is the "insert API key to continue" model, standard across the industry.
Ah my apologies, it must've been the C1 then.
There still must have been a time when you didn't know it, assuming you didn't spring from the womb with the knowledge hardwired.
The shade cast on Wordpress at the end is the article is a little disappointing. Ok, they’re behind on versions but for many years there was not much progress in PHP. Now PHP is flying and dependent projects are not keeping up. What can the PHP team do to help facilitate?
No, they have done this in the past when the upgrade is only a spec bump with no other changes. They even do this with iPads sometimes.