skysight-inc/HackerNews huggingface dataset:
It was a bit of a shock when I upgraded my Debian systems to Bullseye (11) from Buster (10) a year or so ago. I discovered that the wiki I've been using for years, Moin Moin, was removed because it didn't support Python 3. I've a lot in the wiki and was in no position to migrate, so I made a wiki only VM and keep it at "oldstable". Since none of it is internet-facing, I can keep it this was forever, even once all support ends. I'd rather not have to have another VM though.
I tried adding type hinting to a program that I had to maintain once - because it had no unit tests and I was looking for the quickest way to make it less fragile. One tended to make a small change and then find that it broke something somewhere but finding that out was a long process.

FWIW I found it nearly useless - whereas biting the bullet and refactoring it so that it could be unit tested - even just a few tests - made a world of difference.
Ask HN: Alternatives to Scratch for a blind child?
Hey HN,

My friend’s children are starting their adventure with programming at school with Scratch. Unfortunately, the eldest one is blind, and as Scratch is visual, he won’t be able to use it. A pity: the kid has probably the most vivid imagination of all people I know.

Can you recommend an alternative? Something tactile or audial, perhaps? A quick googling yielded https://codejumper.com/ – is it worth the $1K it costs?

Personal experience reports are most welcome. Thanks!
> I wonder how much other information exists on the web that is extremely valuable yet unnoticed

Basically every scientific progress which gets published on peer reviewed journals (a lot of them open). Some books also are online.
It's weird how people mix these up, I think it's due to incorrectly assuming it's related to the verb "to wear".

While we're on the subject - more then and less then are becoming very common due to the similarity in how than/then are pronounced in US accented English.
In my opinion, overengineering is putting JSON into a URL or exposing data as a resource and putting a URL parameter to it in a URL only to avoid an actual request body, for some unclear reason.

I believe all the described tactics come from a static html limitations territory where it makes sense to put continuation data in hrefs to avoid forms and javascript.
>Housing sure is cheap in Korea, China, and Hong Kong!

Just to clarify, that was sarcasm for everyone who thought your statement was serious and didn't open your link.
They could increase the bank account fee and waive the cash handling fee. That would make no difference to them, but that means every business customer is now paying for part of the cash handling, even if they don't deal in cash themselves.

Why not itemize?
This is not true. There are quite a few large (and also some smaller ones) youtubers who shared their ad-sense revenue.
I don't think my co-workers would like that :-)
Sure, but the GIL behaviour is inherent to all concurrent (for a given value of concurrent) Python code. And code that could be run concurrently.

Removing the GIL would be bloody fantastic, but it's far more involved than 2 to 3.
Can you explain what that is or what’s it’s trying to do?
https://archive.vn/txohc
The people it lost are going to things other than python3.
I wrote a self help book about relaxation and want to make it better this year by adding couple of chapters on how to live a more meaningful life. and marketing of the book. thats the side goal for this year :)
https://archive.ph/Ws3yN
It’s interesting to think that there are no boxes in nature, especially boxes with lights or transparent windows. So while it seems initially weird dragonflies and other insects really struggle with lights, windows, and human attributes, I suppose it makes evolutionary sense. They used to only have two “north stars”, the Sun and the Moon, and no boxes.

I wonder if there is any evidence for noticeable adjustments in insect navigation.
A German norm for evaluating the sustainability of startups
In my day... Green Day was on the same label as Operation Ivy!
Not necessarily. If you stop uploading, views will fall off a cliff sooner than you’d think. Even for old content that had been consistently attracting views. It kinda sucks.
> What's the big advantage of encoding whole requests into JSON blobs

If you're doing URL routing, you're at the mercy of your web framework

If you've got a data structure coming in, you're probably turning it into types in the programming language you used fast, and you're more quickly into the land of plain old programming, rather than routing configuration in a web framework.
Meanwhile, in the real world, the feature backlog means that 2 to 3 never happened for a lot of us.
Should you pay more for dbt cloud?
That’s a good perspective. I do like personality in a manual but some can take it too far.
If we're being pedantic, this is only true if your type system is weak enough to lack type-level natural numbers.
Most of the IT workers in India pick up English from colleagues, bosses, etc, not so much from the English media.
Too bad for them. The rest of us get improvements. I'm way tired of being forced to use old C++ compilers because "upgrading is non revenue generating work". If you think rewriting your code in some other language is easier than upgrading to Python 3 then good luck to you.
Co-founder of Appsmith here. Thanks a lot for mentioning our project.

We love Typescript and chose it to take advantage of static type checking. At Apspmith, since we are a small team, we wanted to reduce management overheads and opted for a monorepo layout. Typescript went a long way in helping us organize the code into modules and let our build scripts compile relevant modules for each changeset.

Having said that, Appsmith has been a learning experience in efficiently running a large project with lots of files. Feel free to dig into our source code to learn from our experiences. :)
Good example. In the US, We thank our circumstances that we were not born in Saudi Arabia. And that’s about it. We buy porn and keep our body parts. The parent traceroute66 has no idea what he’s talking about.
I think it's purely a strategic tech stance. Google building an at least on-par browser competing with safari was not good for apple, and the faster way to achieve that for google was to poach engineers, especially that the iPhone was probably in the pipes at this time.

For engineer, compensation is not everything, regardless of money, going to google to build a browser would easily look like a good idea at the time.
How big were these projects? I work on a giant py2 codebqse with thousands of _files_. I haven’t run sloccount in a while but I bet we’re over 1M LOC.

(And before anyone asks, a big part of why it’s so big is that it’s very old. So old it predates Django, so, in house framework, in house ORM, etc.)
I'm currently forking Chromium to render directly in a terminal to learn Rust. It lets you browse the web from a server using a stock terminal app and SSH for example.

It's working and I'm currently making performance adjustments. Hoping to share it here with the technical journey in the next few weeks!
*It would be fantastic to see.

Had the TFA included a couple of actual photos instead of clipart illustrations.
Are you claiming that only new grads and immigrants fearful of deportation worked at Pixar?
>There are various tests that apply to contractors in the U.K.

As there are in most of the world. Most of them were made for the factory and office era, and despite "updates" still within the old spirit, are antiquated in 2023 when it comes to addressing many new work scenarios...
A DRM remover for a niche e-book vender.
This makes it sound as if the ipv6 crowd would be larger than "the windows crowd". Perhaps start with convincing every windows user first, then "the ipv6 crowd" should be easily convinced.
How do you know they are foreign? Either way, if you live in say some little ski town, you are going to have people both foreign and domestic who want a ski lodge. That's just the order of things. As long as you throw your hands in the air and say "they are buying up our limited housing stock, lets do anything but make more housing stock" then people will continue to be priced out by those who can afford to compete on the finite amount of housing on offer.

If you keep allowing for building and taxing to pay for infrastructure, however, growth will continue at a more sustainable rate until demand is eventually satiated and builders have less work, and there won't just be infinite demand either. There are limiting factors here too: maybe the ski resort has a finite number of lift tickets being sold per day, or maybe the local airport only sees so many flights per day.
It craps me off that I still need to look up which direction to encode/decode strings and other things like bytes and ascii even after programming Python 3 for more than 10 years.

It's a huge usability fail on the part of Python that it's not obvious and easily memorable how to do this.
The farm products were owned by the sharecroppers too, to eat or sell as they see fit. They just had to pay their tax to the landowner and be at their mercy regarding the property and changes in demands.
Any time someone argues for a breaking change that will have oh so many benefits if we just get the whole ecosystem upgraded this one time, it should come with an explanation of how the new version will manage to make the same substantial changes without breaking any code again, or it shouldn't be taken seriously.
Why did Google kill the Coral TPU?
Their argument for creating the chip is that AI will move to the edge and that edge computing will see a 150% growth.

I've been trying to find these devices, in particular, the camera and their PCIe card. There doesn't seem to be a single device anywhere.

The device was introduced in 2019 so it's not very old. Nothing seems to have replaced it.
Yeah, I mean personally the only thing that would keep me in the community is wxPython, which AFAIK still only supports Py2.
I love this approach. I'm trying to bake it in https://acreom.com - a local-first md. editor with sync and real-time collaboration(WIP) + plugin system in future.
And any sharecropper was welcome to buy their own land, spin up their own castle, fund their own mercenary army, and make their own feudal kingdom! Sharecroppers weren't slaves either. But that's a pretty low bar (and "build your own YouTube" a pretty high bar).
Quite interested in doing similar as well, feel free to drop me a mail if you're inclined.
The problem is that dang looks the other way as soon as someone uses a thesaurus instead of spewing misinformation and hate in plain words.
Could they have at least minimised the blast radius? For example, make all of the text/Unicode changes for Python 3 and thats it.

Python 3.1 could then have introduced some of the other minor changes, perhaps behind a future import.

I had a hand in moving from 2.7 to 3.6 for a 1M LOC repo and it was not pleasant. So many backward compatible changes that that all had to be accounted for rather than being able to focus on the major breaking change of a particular version. We couldn’t have done it without six.

It seems that a bunch of changes were made all at once because it was already going to be incompatible so let’s take the opportunity to clean up as much as possible. I think that was the big mistake.
Postman does both.
The D-Wave demo was just a demonstration that the technology works.

The standard version of PerfectTablePlan running on a standard PC can solve seating for 100 guests in a few seconds and 1000 guests is no problem.
Which programming languages have a strong enough type system to do this? And does it have any draw backs to implement type-level natural numbers, or is it just complicated and a lot of work?
>convenience

True, if you don't care about security upload you password to the cloud or open your Car without any manual action ;)
Zoom allows for the same thing: connecting via both phone and another device for screen sharing.
I think two aspects have played a significant part in the migration pain:

1. The amount of breaking changes. If it was possible to do a little at a time, over a series of releases, it's a bit more manageable.

2. Being an interpreted language makes it difficult/painful to break compatibility over a series of releases, as all applications and libraries have to be kept source compatible. Source compatibility also makes it a pain for library maintainers, as you can't just cross-compile the library to a older ABI.

Maybe support for consuming libraries based on an intermediate, compiled representation, would make it easier for the library eco-system to follow breaking changes over a series of releases, and in turn make it more feasible for applications to handle a small amount of breaking changes over a longer release timeline.
Luckily, machines don't have costs associated with them. Software and computers neither, I guess that is why I get my MS Office package for free...
Does Germany need one more?
Is this a reference to the small bit significant traces of cocaine found on £ notes?
Squarable Numbers Puzzle
"Liberal" in the US used to mean (and still does outside the US) someone with a "live and let live" mentality, where things/actions are generally allowed unless there is a very good reason for restricting them. "Classically liberal" is a better match for the term in modern US English. So things like decriminalizing drugs, allowing gay marriage, being pro-gun/self-defense as a human right, privacy as a human right, etc, all fall under "classically liberal". It might help to read the word "liberal" in a philosophical sense, where it means "liberally applying the idea of freedom for everyone, only restricting that freedom where absolutely necessary, where one persons freedom begins to infringe on the liberty of others".
As someone who also plays chess online I think you have the causality wrong. You obsess way to much over your online rating causing your mood to worsen when you are on a losing streak. Big rating swings happens everybody and is mostly the result of chance. Stop obsessing about it if you can and your mood will improve.
Many. For one the government can now collectively bargain for better prices. They can also subsidize the drug such that its available for everyone who needs it, not just those who have great insurance or who can afford to pay entirely out of pocket. Keeping your working population healthy has massive second order effects on the economy, it would be an investment paying for medical care.

Where does this money come from? The people in this country who make way too much money to notice any decrease in quality of life from this potential tax hit. This country is full of such whales who could front a lot of money for collective good if we thought about things in a more redistributive manner instead of the "screw you I got mine" manner that somehow got perverted into the American way.
Mike Oldfield’s Amarok has “FUCK OFF RB” in Morse code - RB being his label boss at the time, Richard Branson. It’s pretty prominent and blatant.
Farcaster(farcaster.xyz) is working towards sufficiently decentralised social network (https://www.varunsrinivasan.com/2022/01/11/sufficient-decent...). It aims to have a model where server admins don't get the power to prevent users from following one another.
The engine simply divides the space into parts to decrease the number of checks necessary. It doesn't constrain you in any way regarding to what shapes you want to insert, however the broad "hitbox" must be a hypercube, and later on you can do your own math to inspect if in fact your "real" hitboxes are in contact. It doesn't matter if your shapes are convex or not, the engine sees them all as hypercubes, so all you need is provide one that's equal to or larger than your model.

This has it's downsides, namely that for very slim yet long objects you will have a pretty big hitbox, but I wouldn't worry about it that much, since the collision detection step is done really quickly. Or, you can always insert multiple smaller hypercubes to ease it up a little bit, but then you need to be vary of duplicate collisions.

If you really want, I can extend the existing codebase to also include 4D. I hope I will be able to correctly deduce the 4D cells that need to be checked for collision haha, I think nobody is good at visualising 4D very well.

As for the math equation for the shape you are looking for, I'm not a 4D guru, so I can't help you with that, sorry. I tried some research just now, but this just isn't for me.
It being worth it does not determine whether he was an asshole, just whether you are glad he was.
That's the "fun" thing about it, neither of them actually know. They woke up in the hospital and have no recollection of what happened.
I recently blogged about this. In Polish, but Google Translate does a recent job of conveying the story:

https://plblog-danieljanus-pl.translate.goog/2022/12/24/jak-...
People keep advocating that REST isn't RPC, while almost no one uses it as it was originally proposed, almost every major product with REST APIs has client SDKs that wrap the boilerplate of doing REST calls, just like any RPC wire protocol.
Absolutely. After all

in language

whitespace

doesn’t matter so

much!
We should instead publicly subsidize the drugs that people need to be healthy just like we did for the covid vaccines that we offered to everyone at no cost.
Python 3 paved the path for the changes that you mentioned you wished for, some of which are being tackled now. It's not only about what Python 3 offered at the time, but also about what it made possible in the long run.
Poll: What browser do you use?
I was wondering whether my browser choices were up to date, what browsers do you use?
None of these
None of the above
>or a CIA ops?

Damn you got me.
Worth checking out farcaster (farcaster.xyz). They are working towards a solution where things are "sufficiently decentralised". The server admins can't prevent users from following one another etc.

https://www.varunsrinivasan.com/2022/01/11/sufficient-decent...
>Musicians who refuse to adapt won't succeed, and those who do thrive.

tautological - anyone who is thriving has adapted, if they aren't thriving obviously they have refused to adapt.

Probably more likely that many have adapted to the situation but still making less money than they would under the old system, perhaps to the point of not being able to have music be their primary employment.
Lars Bak?
https://en.wikipedia.org/wiki/Lars_Bak_(computer_programmer)
Ask HN: Rewrite or Refactor?
Hello HN,

just wanted to put this discussion out there again to help me (and potentially others) to get a more professional judgement of crufty software projects.

I think "This codebase is bad, I could do it better from scratch" is a thought most of us had sometimes in our professional carreer, ironically more often as a young inexperienced programmer than later in your career. I guess that comes with a better understanding of the vast complexity of a software project, the respect for value-producing software in production and a less ignorant assessment of your own abilities. Now I am much more reserved to propose a rewrite. However I recently adopted a codebase (and a team) that made me think: When is a legitimate point reached where a rewrite would be actually justified? I worked with it 3 months now and realize:

* There is a substantial amount of Hotfixes from apparently inexperienced programmers (mutable global state, arbitrary waiting statements to battle race conditions)
* There is some business requirements that became obsolete (abandoned views, commented out code with no explanation)
* A whole bunch of skipped test suites
* Two outdated libraries, each of which would demand a very substantial refactoring (vue2 with class decorators -> vue3, dropping of vuex as global application storage)
* Generally a missing pattern on how to organize API access, it's pretty much all over the place

What I'd like to hear of the experienced people in this community: Did any of you faced a similar situation with a bad codebase? Which steps path did you go? Rewrite or itearative refactor? How did it go? In retrospect, was it a sane decision? Have you been able to identify markers, or a threshold were rewriting were actually the better decision?

Happy new year to everyone and thanks ahead!
You're quoting the top two Pixar executives, and from immediately after Jobs' death as well. How about someone who isn't a millionaire?

aren't credible because they became so successful that they're now millionaire executives

Yes that's what I'm saying. The statement of two men who stood at the top of the ladder about the man who put them there immediately after that man has died is absolutely not credible in regards to judging how that man treated regular workers. At all.
Building the new writing platform I’ve been working on for the past year: https://reproof.app/. Trying to find the best ways to make writing teams more productive.
Also the classic safety training movie Staplerfahrer Klaus:
https://www.youtube.com/watch?v=9ivFQNSifm8
"Side effect" is a breakage of referential transparency.

Depending on your model it can be proven.

Electricity consumption won't be a side effect in any reasonable model.
Maybe it takes some time to get to know the different strains and how they feel. I mean, I cannot tell the difference between different wines because I am not experienced in that, I can mostly say that this is shit wine and this is good wine.

But with this plant, the different strains definitely have different effects, and if you compare a strong indica vs sativa, the effects are very clearly different.

I mean, it is a plant that affects your mind and body, if you spend a lot of time with that you get to recognize the definite differences. The way the grower also handles the plants seem to have a difference, so it can be very sensitive if you have sensitivy for that kind of things.

Personally I agree on that the race to increase THC levels in the plants is not the best way, I mean I would be more happy if there was a race to create balanced strains, instead of trying to maximize the "blast you in the face" high THC buds. Like you said, sipping on good balanced strains is a much better experience at least for me, than just getting blasted to the moon with these modern strains coming near 20-30% THC content and almost no CBD.
What would a remote assistant help with? I personally would choose a cleaner and a chef..
https://en.m.wikipedia.org/wiki/Military–industrial_complex
> the distance between the code they write and the machine code that will be executed is greater than in languages like Rust or Go.

First of all, one of those languages is not like the other (Go is closer to JS than to Rust) - second, we really can’t reasonably guess at the produced assembly, even C compilers do some insane transformations leaving the code nothing alike the original, let alone more expressive languages.
I came across a YouTube creator who shared their revenue with their audience. They mentioned that the idea that sharing revenue is not allowed has been a myth for many years. However, I believe that some channel networks may prohibit creators from disclosing their revenue. Unfortunately, I cannot recall the name of the creator.
Are you open for Frontend engineers or only FullStack? Thanks!
I'm working on getting back into programming. I took a break after burning out.

My main love of software has always been writing programs that deal with music and audio. I'm going to spend more time writing plugins and building out more of my ontological approach to music theory, and eventually work on more evaluation models.
>Surely there was market research showing it might?

Yeah of course, it was done along side the crypto due-diligence
In my mental lazy file there’s a company called antipode that is able to find people with opposite and like reviews and can help people identify and avoid items.

So you can basically collect people who review in ways that are useful to you and layer that over the web to rank search results, apartments, blenders, etc etc.