skysight-inc/HackerNews huggingface dataset:
> They are very interested in stories like this because this gives them the chance to work themselves into high dudgeon about a shitty little paper no one cares about. This way they have something to point to when they pull their "50 intelligence officials said this is russian disinfo" bullshit. "We're not unprincipled, self-serving, corrupt morons look how huffy we got about this tiny paper in kansas!"

Furthermore, the stifling of not just Assange or Snowden no withstanding, there has also been direct vilification of people who stand up for the first Amendment; people seem to have glossed over that James Larkin (of Backpage infamy) who commited suicide while under extreme duress for his trail is actually a newpaper owner.

He had been committed to standing up to power in a litany of documented stories, and even got settlements from them to keep operations going, it's sad, but I don't think the US mainstream news is worth anything but a coaxed form of derision, fear and a perverse 'infotainment.'

Being from SoCal in the 90s I saw how the paprazzi made everything about celebrity a cult-like mania, and car chases, I still remember the OJ case being played where cartoons once stood; in the 2000s I saw it go to chasing on reality TV and socialites and just tuned out. It's also why I saw social media for what it was: it was a eye-ball grabbing solution to fill the vacumm in order to cash in on people's need to doomscrool and engage in pointless online fighting--most of us who grew up on the internet at the time had been in enough flamewars to know what this was.

Honestly, I wish I could say I was entirely immune to it by only following a few sources and journalists, but I did follow the riots during COVID and saw the Blueleaks thing unfold and saw this captures people's attention.

Elon destroying what little credibility he has since taking over Twitter/X and desperately holding on to his cult of personality the Market may have bestowed him by taking credit for his worker's efforts with reality TV like antics (celebrity fighting?) has been amusing but his comeupance raises a valid point: there is no trusted news source since its been so monetized.

I feel that because British disinformation and Soviet/Russian propaganda tactics have been so pervasive and effective with these mediums that no one really knows what is going on at all. And that may be intended.

I'm reminded about this clip from Newswipe of Bitter Lake [0] at least every 6 months, and seeing how more relevant it becomes with every passing year.

0: https://www.youtube.com/watch?v=KOY4Ka-GBus
Public housing is impossible
Ask HN: LLM Leaderboard for Code Generation?
We have a use case for doing code conversion (think like SQL to Python), and are looking at other models we can use and fine tune. Does anyone know if there are LLM leaderboard specific for code generation as we won't be using it for generic stuff like creating essays, etc
How to check your Mac is secure
That is a solid idea. I've never used a travel router, but I've always thought about it.
github could advance OSS a lot by making license reminders much more prominent. so much code intended-to-be-open-source cant be treated that way because no license file. if anyone from github is here please prod someone in your UI department to make a banner or something!
Offers are probably already written. 'Distressed property' they're calling it.
Human beings have been naturally programmed for exponential growth, resource consumption, and territorial expansion. While nature historically provided negative feedback to limit this, advancements like the scientific revolution and fossil fuel usage have diminished these restraints, amplifying our growth. Modern neoliberal economics further promotes this growth. However, our unchecked growth means we are depleting and contaminating the very resources upon which we depend. Though climate change is a prominent sign of this unsustainable growth, current mainstream solutions might exacerbate the issue. Given our current trajectory, society is heading towards a major economic contraction and significant population reduction within this century.

“Without a biosphere in a good shape, there is no life on the planet. It’s very simple. That’s all you need to know. The economists will tell you we can decouple growth from material consumption, but that is total nonsense… If you don’t manage decline, then you succumb to it and you are gone” (Vaclav Smil).
Daily reminder that whenever a politician speaks of doing something for "the people", or "the children", your BS detector should on high alert.
This is what has already been happening in Puerto Rico after recent natural disasters. Accelerated thanks to the unelected, neoliberal FOMB that Obama put in place.
No? The two statements at hand equate to: "Do not add features to the product without adding validation to CI" and "Do not write validation steps CI just to add features to the product". Those are pretty clearly related concepts.

And the reason for the disconnect is that the former centers the requirements of integration and not development, which is exactly backwards. CI isn't "the place where you run tests". The place where you run tests is underneath the software developers' fingers. CI is where you integrate tests developers are already running. And to the extent that is not true, CI stops being a useful tool for development and turns into just another roadblock to evade.
That loan has to be serviced and a loan company will want to take on that risk. So you are saying that old people should be forced into a reverse mortgage solution? How is that helping anything other than the mortgage industry?
Long ago, I was working on a small Windows desktop app. It was a companion app to a much larger app that took tens of seconds to load. The companion app had a requirement to show a splash screen while loading, but the app was so simple and loaded so quickly that it just flashed on the screen for a split second. PM asked me to put in a delay of a few seconds so the splash screen was readable.
Municipalities all over the world refusing to build enough housing (and hotel space) is what's pricing people out. These are all pretty simple problems to solve but there's fractal resistance to making enough room.

In New York we built like 100k new units in the 2010s but we grew by 500k people and still, the default position of people who theoretically advocate for cheaper housing is to block new development.
You can run simulations perhaps, but it's not really possible to test this outside of production.

Running the routes on the real streets on a non-school day would show if your routes are completely non-feasible, but traffic patterns are different on school days. The first week of school is almost always worse than the rest of the weeks because there tends to be more bunching.

With a totally new transit plan, there's going to be a lot of bottlenecks that are hard to discover.

You could maybe run a test of the new routes during the school day toward the end of the previous school year, but you would need an extra fleet of busses and drivers, so that's a big expense. Not to mention, some school districts finalize their transit plans weeks before the start date when enrollment is firm.
> Well we already have laws against mobs violently attacking people.

And violation of those laws is a threat to the freedom of the press.

Let's consider a hypothetical but plausible example: A billionaire named Elon Bezos is tired of journalists exposing his illegal schemes so he hires the Pinkertons to stalk and harass journalists, dox them and post their personal information on 4chan with claims of those journalists working for the pizzagate illuminati, and threaten their friends and family with life ruination and murder. In this hypothetical everything done is illegal and none of it was done by the government; would you therefore earnestly conclude that none of it constitutes a threat to the freedom of the press? Ludicrous.

You need to stop conflating the First Amendment with freedom of the press. The First Amendment is one law that aims to protect the freedom of the press from one specific kind of threat; threats coming from the government. It does not preclude the existence of other kinds of threats to freedom of the press.
I always tell juniors to remember that it is their code until it gets merged in. Feel free to tell people “no” and why (“addressing” a comment doesn’t necessarily mean the code has to change). If the reviewer doesn’t like it, they can do it themselves after it gets merged in or create a PR to the PR. There are only a few cases where they can actually get blocked: leaking PII, security issues, and egregiously bad code (like writing something 5x times instead of using a loop).

Anyway, if I’m reviewing and I see some improvements, I usually open a PR to the PR with my suggestions. I sometimes get halfway through it and realize why it is the way it is and never even leave a comment (and will defend the PR if someone else does a low-effort suggestion).
I use it as a starting point. I don't think I've ever actually used its answer directly, but I use it most days now to give me the skeleton of something I can then get working the way I want it from there. I've always been better at editing than filling in a blank page, so this has turned out to be a good fit for me.
Body Language Cues That Lead to Instant Likability
Python was a disaster. I still miss print statements and encoding-agnostic strings. Good on Go for doing the right thing.
or just link to something off google for it, we shouldnt have to write that for every oss chrome extension
Moving some code from python to Golang was instrumental in helping me scale. I am so glad to read they are going to stick to their core statement of backwards compatability
I went through this the other day, archive.today mirrors don't play nice with CloudFlare DNS (iCloud Private Relay also uses CloudFlare for DNS). Either VPN or change your DNS to some other provider and clear the local cache.
> I'm not sure you would want your house built by the contractor that took short cuts and did shoddy work. You might have roof over your head, but there will be more expensive problems later.

You might want to pick a better analogy as you've literally described all roofing construction at this point
Because Jarvis wanted to bleed the state as much as possible.

> I think the public school system is a cancer on this society. The only difference between the public schools and the Mafia is that the public schools steal more money.

https://prop13.wtf/2023/06/18/howard-jarvis-bestof.html#howa...
It's probably because Google has no interest in rewriting the hundreds of thousands of lines of Go code they have internally and don't want to expend the resources to maintain a v1 and a v2.
Amen to that. I get super excited about Go releases because they often add useful stuff with zero breakage of anything (just free wins all around). It's not clear that any part of the language is so broken that backward compatible changes can't fix it. Even the few foot guns like loop variable assignment have proposals that mostly preserve compatibility.
I wrote some code last week to generate one: https://github.com/captn3m0/swe-ebook
Actually most people (in the US) get a choice between the cable company, the LEC, and a 5g carrier, and maybe even StarLink.
> Some of the POSIX demands are really quite costly to satisfy in a distributed, networked filesystem, and often unnecessarily degrade performance.

Especially things like `stat(2)`, which complicate things for distributed filesystems like Lustre. Or the lack of a readdir()+stat().
> How can you recognize NPR as illegitimate, yet give them control over you?

Pointing out hypocrisy is giving "them control over you"? TFA is posted on npr.org.
Thanks for sharing! Have you used this already? If so, what works well for you, what doesn't?
I write a lot of Go and I can’t tell you how much this warms my heart.

Compatibility probably isn’t much fun for the language team, always having to keep one foot firmly in the “distant” past. But for those of us that have to maintain large Go systems it’s such a gift.
servers cost money too. nothing is free.
Where are they from? Is it oligarchs flush with dirty money from some developing countries?
Interesting to see the first two comments in this thread have the opposing opinions on backward compatibility. I guess it depends on how deeply Python cut you.
That’s actually a really interesting field of study
https://buildingtheskyline.org/highrise-living/

High rises have their own associations with mental illness. I don’t know if anyone has ever looked at pure altitude as possible effect.
Also, fake progress bars that are really just spinners with the illusion of showing percentage complete. These are pretty obvious when you see them move smoothly to 90% or so then stall out.
Veluwemeer Aqueduct
Both are problems
Hawaii doesn’t want lots of development, don’t try and force it on them.

What America should do at large is block all non resident investment in non commercial real estate, period. Would do a hell of a lot more for housing than all the nonsense about building more.
Especially for a compiled language, I would think it is significantly easier to make automated code porting which is guaranteed to be correct. Or at least enough to handle the 99% of a code base which is likely not impacted.
The next logical step after writing the code given in the article is to abstract common boilerplate SQL into a library so you're not spending 50% of your time writing and re-writing basic SQL insert, update, and select statements every time your models need to be updated. At which point all you've done is write your own ORM.

If you want to go full-blown SQL you can use something like PostGraphile, which allows you to create all of your business entities as tables or views and then write all your business logic as SQL stored procedures, which get automatically translated into a GraphQL API for your clients to consume, but once you move beyond basic CRUD operations and reporting it becomes incredibly difficult to work with since there aren't really any good IDEs that help you manage and navigate huge pure-SQL code bases.

If you're really dead set against using a powerful ORM, it's probably still a good idea to find and use a lightweight one--something that handles the tedious CRUD operations between your tables and objects, but lets you break out and write your own raw queries when you need to do something more complex. I think there's a sweet spot between writing every line of SQL your application executes and having an ORM take care of boilerplate for you that will probably be different in every case but will never be 100% at one end or the other.
> The SQL is not really the point. It's about the rows and objects, moving the data from the objects to the INSERT statement, moving the data from the rows you SELECTed back to the objects.

That's easy. It's a database mapping library. Write the query, give it an object and it fills it in or reads from it. You can do this with annotations, or struct tags in the Go world. There's no need to introduce abstractions over SQL joins which I find very off-putting, because the abstractions are never perfect and suddenly you have to learn invented concepts just because you didn't want to write a JOIN in an SQL query but rather have some clever framework introspect some classes and automagically write the JOINs for you.
> Python made it through a backwards-incompatible source change

The transition took more than a decade and was kind of a mess for a long while. For other languages, like Perl, it really didn't work out.
Modern Dodge Ram with the Cummins is 7000 lbs. But a one ton truck is also going to have a much higher payload rating. Therefore, it's going to have tires with a higher load rating, not to mention more sidewall that will cushion road imperfections.
darn i was hoping for at least a hint or mention when Go 2 might be released... no dice
I bet there are some that do a good job, but my "modern" OS (hint: it's the one that probably has 10x the engineers working on 'cool' UI animations than on the search backend) is absolute trash at relevance when searching contents. Not to mention slow.

A spotlight search for Chevy I get every document on my system that ever mentioned Chevy in random order. Maybe 1000 documents (or 10,000 if it helpfully decides to pull in e-mail, and thus picks up 9,000 marketing emails). If I search names for Chevy I am going to find the file I mentioned and any others where a human decided the file was about a Chevy. Same for Jane. If that's my partner, adding her name will just pull in every document that's ever mentioned her, like every tax form ever. But files named after her is a much smaller set.
Well that's what I was wondering about. Do police and fire there conduct sweeps of buildings preparing for large conferences as a routine matter? If so then fine, it just didn't exactly sound like it from that statement.
If you look at how anonymous functions are compiled at a low level you'll understand why that's not possible: a function is literally "the module it's in" + the bytecode "line number" + arity (so that it knows how many register items to instantiate). For inlined anonymous functions, a secret private function gets created.
Ah, parsing IPs. Just how exactly was the BSD's original inet_ntoa written, I wonder? The atoi/atol and sscanf with %d/%u always parse exactly decimal integers; it would had to use either %i or strtou with 0 base to have this silly effect.
That is pretty good. Much more readable than gluing a bunch of strings together.
That’s the beauty of using ChatGPT for programming questions. You don’t have to have confidence in the answer. You can easily verify correctness by running the code it outputs and testing it.

That being said, I realize you do have to be careful about subtle bugs.

My canonical example is “write a Python script that returns all of the AWS IAM roles that contain a given list of policies”.

The code it usually generates works correctly as long as you don’t have more than 50 roles in your account. It won’t add pagination support unless you spot the bug and tell it.

The second question I have is what type of questions do you find are better suited for Stack Overflow than ChatGPT? Are they questions based on post 2021 knowledge?
Did you look at doing 5g home Internet? There's great coverage in lots of areas.
The answer is just more housing, and at least it's starting to look like CA is making strides in that direction. The best protection for renters is a market where there's abundant supply - landlords will be severely limited in house much they can increase rent if a big rent increase means they're out of line with the market and can't get tenants.
Robominer: A Highly Configurable and Modular Scaled-Down Mining Robot Prototype
As an example, I have 9 months of hydrophone cable data that has a large number of sounds that occur across a large variety of time lengths and frequencies. It would be nice to have a method that highlights certain signals given specific meta data. Tbh, what I think I want is a pipe dream.
It becomes a semantic difference at that point. If Go is doing semver, and there are going to be no backward-incompatible changes, there's no reason to ever increment the major version. Everything is a minor version (compatible additions) and patch version (bug fixes).
Python is definitely the exception, not the rule.
I think about it in stages. What do we need more? To get shit done or to maintain. Great code helps with maintenance. Shit code can help ship fast.

Your goal is to decide when to go from ship to maintain. And what level of quality should be the base level regardless.
Exactly. Obtaining information about someone is not identity theft. It might be stalking, it might be journalism, it might be credit-reporting, but it is not identity theft.

Pretending to _be_ someone, _stealing their identity_, is identity theft. Absolutely nothing in this story sounds like that, and it sounds like the warrant is entirely farcical.
Print statements were a mistake. If you forbid breaking changes, you have no way to fix past mistakes in the language design. There’s noting inherently "right" in refusing to do breaking changes.
I think if you'd ask any Python programmer today, they'd say Python is very much healthy and the community has successfully transitioned.
How to Prevent an AI Catastrophe
Michio Kaku is a smart guy, but I wouldn't call him a "Top Physicist"
> I understand breaking backwards compatibility would be difficult on a short timescale, but on a long-term time scale people would migrate.

It's funny to see people expressing this view because the "2 to 3 migration problems" is still a lively conversation in the Python world. I happen to agree with you and view it as a price of success - but at the same time I think it's obvious that you will pay an outsized price in community sentiment for even reasonable timescales for EOL'ing old versions.
Because, especially for learning, you need tools adequate for the task... Masters can be more flexible and use inferior tools and still be successful; students need every bit of help they can get, and they need the tools that aren't going to betray them every step of the way.

Giving someone Python to make a database, is like giving a student in a culinary school a dull knife: it's hard to do it with the right tools, but it becomes mission impossible when you are also crippled by your tools.

It's the same analogy I used before: using toy "doctor set" vs. learning to be a surgeon. There's no path that will bring you from using a toy set to be a surgeon. It serves a different purpose: entertainment / roleplay. You don't mean to roleplay as a programmer by using Python, right?
Oh I see, thanks! I was under impression Google has migrated away from Perforce towards an in-house system a while ago, but looks like I was mistaken (or do you mean that system is derived from Perforce?). Edit: I guess its name is Piper..

It’s quite interesting/mind-bending to think of work-in-progress that’s still somehow synced between peers (in fact this is one of those “missing nice-to-haves” I wish Git had, and can only be approximated with wip branches..)
The government can be a landlord as well.
They might look garish like Craigslist, but they're mostly functional rather than focusing on some trendy aesthetic like the 'flat design' trend that has infected the whole web. They're actually timeless in the sense they don't need to conform to trends.
Go 2 is coming out every six months as continuous Go 1.x releases.
> The updated terms now also specify that automated tools like website crawlers designed to use, access, or collect such content cannot be used without written permission from the publication. The NYT says that refusing to comply with these new restrictions could result in unspecified fines or penalties. Despite introducing the new rules to its policy, the publication doesn’t appear to have made any changes to its robots.txt

Not sure why NYT thinks they can specify "fines" but OK.
"Residents with insurance or government aid may get funds to rebuild, but those payouts could take years and recipients may find it won't be enough to pay rent or buy an alternate property in the interim."

And there's the problem. There's no slack in the existing housing system so there's nowhere for people to be temporarily "displaced" even for people who did everything right and had insurance and savings. So people will absolutely take the quick-money offer made by people who have bought themselves that flexibility elsewhere (e.g. a buyer who lives on the mainland and who can live in their existing house while helping to turn Hawaii into a second-house state).

Because we are so wound up in what housing means to our finances and culture, there's no political will to fix this even as climate change worsens. So, like always, people with lesser means--even people with lesser means who did everything correctly--still get screwed.
Is this essentially the "cyclic reference counting" algorithm from the Garbage Collection Handbook [1], Chapter 5, Algorithm 5.5?

[1] https://gchandbook.org