skysight-inc/HackerNews huggingface dataset:
PyCmd: wrapper for Windows' CMD.exe to provide a modern, dramatically improved interactive experience while maintaining ~complete compatibility: https://github.com/horeah/PyCmd

I started it many years ago for my own use, but it is an open source project and has aquired some public "audience" in the meanwhile.

It has a recent Linux port (beta quality) which brings the same interactive improvements when working with bash.
Only because there weren't affordable compilers, everyone was cloning UNIX, and there weren't goverment mandates for the industry at large.

There are still COBOL and Fortran developers, C and C++ won't go away tomorrow, even if the goverment says so, but it will be harder to use them in security clearance contexts, similar to hazardous goods.
A bit ranty but fair enough. There is a sea of code and articles out there and no one has the time to curate it. Also meritocracy has been dethroned, we are living in a Celebrityocracy.
Wrote a small shell script tracking "time since last break". (tested on Ubuntu, would like to support others) https://github.com/svandragt/break-aware
I once arrived in Vancouver on an international flight from Europe and somehow they messed up the "routing" of passengers and everyone just walked out to the baggage carousels for domestic flights without going through customs at all! After a few minutes the employees realized what happened and they just brought over a few custom inspectors to the "exits" (it was really just a low wall with plants separating the carousels and the doors to the outside) and checked passports of people leaving, but a number had already left and they didn't even have a computer or anything, they just manually checked the passports. It's possible they only let Canadian through this way and directed foreign passports back to a real customs area, I don't exactly remember. It was pretty bizarre and only about 10 years ago now. Mistakes do happen!
It's very strangely browser-dependent -- it runs really slowly in Safari, chugs a bit on Chrome, runs very smoothly in Firefox.

Maybe I don't fully understand what's going on here, but what causes it to run slowly? For a 5D cube, I would have thought you only need to transform 32 points. That surely isn't much work per frame. Are you rendering with WebGL?
>South Africa managed to end apartheid without the need to split in a white-people country and a black-people country. The same can be done in Israel too.

And decades later, South Africa is probably one of the most dangerous countries to live in, where people install flamethrowers on their cars because violent carjackings are so common and people who have any kind of money live in gated compounds with heavy security. South Africa doesn't look too much like a success story to me, and certainly doesn't look like it's completely eliminated a form of apartheid, it's just replaced apartheid enforced by the national government with an apartheid at the local levels.
> adds a lot of features to games though over just having a windows install

Sure, and that goes into ways it should be able to compete well with other stores, not just be "the default".

> a uniform way

Also known as "a complete monopoly", and this is exactly the mountain that any competitor has to completely break. Epic's use of both paid exclusives and free games is to build you enough of a library that you (and your friends) likely have and want to play at least some Epic Games, and hence, already have both Epic and Steam installed.

Only once both stores are somewhat similarly available to you, can Epic really compete on the price and features aspects.

EDIT: The other thing that's important to realize about monopolies is that nothing remains the same forever. You might like Steam today, and feel we should all just let Steam be a monopoly because they're "good", but what happens when Gabe retires and a private equity firm comes in?

The only difference between Steam and Ticketmaster is that Steam hasn't tried to maximize value extraction yet.
https://github.com/agentcooper/telik

I was tired of YouTube website UI, so I created a simple macOS app to track YouTube channels and playlists. It is called Telik and available both as open source and for a small fee in Mac App Store.
No, committed generated code does not invite manual changes. This should obviously be prevented and part of your standard software development process and guidelines. That's why autogenerated source files usually have a big warning in their headers, and you would kill any manual changes in code review with a telling off of the dev, anyway. Very simple to enforce and maintain.

At least you have the whole compiled code base under source control, you can guarantee that you have access to the exact source files used for previous builds, and debugging is generally easier. You have the generated code subject to your normal code review process and everyone can easily inspect it. You also have a separation of concerns and source files, embedding Python scripts into your, say, C files is conplexifying everything for little, if any, benefits.
>> seen on airport surveillance images “without a valid ticket.”

What a wonderfully meaningless statement from the Copenhagen Airport representative.
Those C security holes are C++ security holes, since the day C++ decided to be a TypeScript for C.
The games industry is a Leviathan, just like movies and music.

If one Leviathan threatens another, things get ugly.
Flavor

A flavor pairing app, inspired by The Flavor Bible and similar books

https://theflavor.app/

https://testflight.apple.com/join/gyNuC43k
Two checks? What is the second?
Spring Boot 3.2.0 Comes with Virtual Threads and CRaC
Get Comfy with Capex
It's currently whitelist-based [0]. The downside is larger (code) size. The upside is simplicity. I imagine a blacklist could also work well, at smaller size but with more preprocessing needed.

[0]: https://github.com/alexpovel/srgn/blob/0008cce1c71f0d83f6a31...
> Equivalent to a “No outside food and drink” sign

Really?

When you buy food from the grocery store, the grocery store goes to your home and physically prevents you from also eating food from a different store at the same time, in your own home?

When people buy a phone, they own it. They are using it in their own home.

No, a grocery store does not force you to only eat food from them, in your own home.

They do not prevent you from mixing milk from their store with cookies from a different store.
The article is entirely about tooling for safely changing wheels mid-journey. In that context, it's not weird to expect the database to remain available during updates.

Yes, it will require more work and time than just taking the database down and performing the update while it is offline. But as long as the database remains available it doesn't really matter if the update takes 5 minutes or 2 days, just that you can do changes faster than they appear. Since DBMS updates happen at most every few months, that should hopefully not be a problem.

At one of my previous workplaces we had a multi-TB table that could take several days to migrate with the online tooling, and would take 12+ hours to migrate even offline. Nobody wanted to take 12+ hours of downtime (for a busy customer-oriented website) but as long as the db stayed up nobody much cared how long it took.
> me as a user it means I prefer paying more for games in steam than to pay for it without steam.

Unfortunately this is not an option. Valve's Steam agreements forbid publishers from charging less money on competing platforms.

https://www.masonllp.com/case/valve-mass-arbitration/#:~:tex...

(Others have pointed out that this fact is contested, see https://news.ycombinator.com/item?id=38625225)
The Gaza blockade is not about the border wall. It's about preventing any access into or out of Gaza over sea or over the Egyptian border.

The equivalent would have been to erect a border wall, then send the British navy to intercept any ship going into or out of Ireland, and signing agreements with other EU countries to ensure they enforce the same terms for air travel. This is what Israel is doing to Gaza.
I don't think you understand comedy.

It's Always Sunny in Philadelphia is not an educational show about how to manage a pub.
My point is it's not non-violent, as the point of the "protest" was threatening the same violence as happened on 7th of October - and, as it was organized by Hamas, potentially distracting IDF in order to commit actual violence.
Show HN: Slinkadoo – A Desktop Snake Game
http://lalo.li/lsd/ was really cool. You should make a mobile app out of it
Nice, there is a guy here live coding a tesseract on a string in javascript using geometric algebra. The code is general enough that you just have to adjust the dimension n=2,3 or 4. The rest of the code is identical.

https://youtu.be/5R2sv9GCwz0?t=685
"No you don't" is not the case in neither FRA, CDG or AMS, I assume CPH is the same, though I never did this specifically at this airport - you have to go through x-ray and sometimes there are some boarding pass or passport checks

But if you have specific experience in this airport I'm all ears
I like using my E-Reader to read things, and often "things" will be articles on the web.

But I also like making annotations and like the reading app I use (KOReader) quite a lot, so firing up a browser would hurt the experience.

So I made a script that turns websites into cleaned-up epub files that get synced over to my E-Reader:

https://github.com/solarkraft/webpub

It's deliberately engineered just far enough to be good enough for my use case :-)
I'm not upgrading for a while :D
October 7th is the worse attack since the war. The blockade has been in place for almost 20 years now.
This is one of the reasons why I only use wildcard certs; yes, it’s security through obscurity to some extent, but it does work.
Most of stuff there still works just not supported. You are free to run Java 2 or Windows 95, just you won't get any free support for it forever. Check with MS for right money they may even support it.
Thanks! Probably the only side project I've ever seen through to completion
Nothing public, but I’ve moved from tech into driving trucks, and I wrote a small website I use daily to track my working hours, rest, payslips, mileage and weight - so far it’s been about 3 months since I’ve had to make any code changes
Flagging this submission should lead to its removal. I'm very disappointed that HN allows political topics now. It's well-known that discussion of one-sided articles like this one doesn't lead to good discussions. It's clearly political, and, even worse, based on a one-sided submission pointing to Al Jazeera, which is driven by ideology and known for publishing way more radical articles in Arabic than in English. The best thing is to remove the whole submission.

In the absence of removing the thread, I feel morally obliged to represent the other side. According to a recent survey in the West Bank around 80% of all Palestinians in the West Bank support the October 7 attacks.[1] This may explain why the IDF is not always friendly towards Gaza prisoners and by default assumes they're Hamas members or sympathizers.

[1] https://www.awrad.org/files/server/polls/polls2023/Public%20...
its one example. then she list 4 others. your company probably gives you safari books and lynda... ALL of those record every single action for DRM purposes. the side effect is that now you reading list, how long, what time you read which line etc is all collected and readily available to anyone as we know what happens to all data (from marketers to gov to law enforcement etc)
I created an account, but then installed KOreader on my Libra 2 and just read books through that. It's FOSS, more customizable, and supports OPDS feeds which can do pretty neat things like finding articles from HN[0].

[0] https://github.com/BHSPitMonkey/news2reader
Yes, and this is when I discovered this system which looks quite crazy to me.

I am coming from abroad with experience nedded in a US company (and therefore in the US at large) and I start my finance as if I was 18.

Then if there is a problem with my PII I have to worry about why it was lost. The company that lot it is going to give me a year of some kind of monitoring.

Well, no. I am not really interested to depend on some proprietary system that can make my life difficult just because someone fucked up. Or go through hoops to build it without consideration of my past outside the US or my job.
How do you pirate a social media product though?
> Go to Clock, Sleep|Wake up (yes that's really the label!), click Change, scroll down a bit, click "Edit sleep schedule in health". It opens another app in hyperlink style, which the article recommends against.

Most of the alternatives would be worse for either usability or maintenance, or both:

- don't track sleep in the Health app

- track sleep, don't provide alarms/notifications for the sleep/wake along with the schedule in the health app

- put almost all the UI for Health's sleep/wake in the Clock app instead

- provide almost identical UI in both the clock and health apps

I'm sure there are better implementations of the current UI tho'. E.G still link to the 2nd app, but have it _after_ the normal alarm clock in the vertical/reading order, and use better wording to explain the function and behaviour.

I wonder if they're trying to avoid having Clock ask for permission to read the HealthKit data, which presumably they would have to do in most other possible implementations.
Gesture navigation is the standard in android these days. The OS-provided bar isn't even default on budget oppo or Xiaomi devices.
As someone with ADHD who grew up in the countryside without any screens and with a lot of physical work, that sentence made you seem as clueless as you could be.
See my other comment, you don't usually disembark in the terminal, but in a separate area

This might be true in some cases but it is usually not the case in the Schengen airports I know
Denmark is surprisingly lax about a lot of stuff, we have an impression of Danes being a highly educated and motivated society but the reality is definitely more average. Stupid shit like this happens all the time but nothing happens because usually the consequences aren't too big (read: noticeable), if they are Danish companies usually hire American consultants
> The major advantage of AA/CP is they are simple screen projection protocols capable of being supported for decades.

There's a whole weird gray market for Chinese-manufactured "computers on a stick" that reverse-engineered the CarPlay protocol and use it to display a custom computer/Android interface in your car. You can do things like stream Netflix, use Chrome, install any Android app, play games, etc.

I'm not recommending it as it seems both sketchy and unsafe, but it's a funny niche that exists. For some reason, they are usually marketed on AliExpress as a "Car AI Box" but of course have nothing to do with AI.

Here's a random example video of what they look like: https://www.youtube.com/watch?v=LrFHjrYnoDE
If you mean mobile apps, none, though I have gotten interested in writing some. CLI and very simple web apps (local cgi's), quite a few. GUI: nothing for real practical personal use, but a few to practice with the toolkits, and I've done commercial work with them.

I'm sad about the mobile app world. Lots of ridiculous bloated apps to do the same things that a very simple CLI or CGI script could do.
As far as I know (having gone through a security training to get an airport pass): it depends.

There are mutual security standards audits and inspections after passing them one airport (or aviation authority) accepts the other one’s security screenings and then you don’t need to go through security again at the intermediate airport.

So traveling quite a bit you will find weird things.
Could you explain what you mean by this? Not sure if this is even what you're talking about, but I can't imagine how a thermodynamic limit could apply here. Isn't there virtually infinite negentropy we can borrow from nearby to use in the places that matter to us most?
I won't pay $0.25 for an article that's likely to be clickbait. I won't spend time fighting a refund on those $0.25 either. I'll just go elsewhere.
The important thing is that Valve does not engage in anti-consumer practices, and they provide a vastly larger infrastructure than Epic Games, going far and beyond your typical storefront and providing a rich, unparalleled gaming experience. I do think that their price control for multi-platform launches is in very bad taste, but unfortunately this is commonly found in retail.

I buy from GOG sometimes, because they also have a unique value proposition with their anti-DRM stance. Other than that, Steam simply provides the best service by leagues, and it's very take-it-or-leave-it when it comes to the 30% cut.

I personally would love for them to reduce their cut, I think 30% is massive. It is worth pointing out that the 30% cut is well-established in many industries outside of gaming, such as franchising. But it's also fairly standard within gaming.

- Gamestop, Amazon, Best Buy and Wal-Mart take a 30% cut.

- PlayStation, Xbox, Nintendo each take 30% from their console stores.

- GOG, Microsoft take 30% from their game stores.

https://www.ign.com/articles/2019/10/07/report-steams-30-cut...
I did several small projects for me and my family:

- https://consumebefore.jose.gr/ to keep track of when the food expires once opened

- https://markdowntable.jose.gr/ generates markdown tables with a link to edit the table

- https://mazes.jose.gr is a simple maze generator. It never got traction inside my family, so I didn't invest much time in adding features.

- https://bookmarklet.jose.gr/ a bookmarklet generator

- https://docmati.com/ I did this for a friend and tried to productize it without much success

- https://keepthis.site/ is just for me but open to everyone. It would be cool if it gets some traction, but I know there are several alternatives, and it lacks some basic features.
I've created a mobile proxy pool for a personal project of web scraping real estate data: https://scrapingfish.com/blog/byo-mobile-proxy-for-web-scrap...

Then, I expanded the infrastructure and built a web scraping API on top of it: https://scrapingfish.com
Passport check for exiting Schengen.
Even with actually buying the music or whatever (and without DRM), it's interesting to consider that digital distribution means that things can be pulled from distribution from one moment to the next, without any warning. And the nature of digital distribution means that in that case there's no remaining stock still to be sold off which you could hunt down, and no second-hand market to speak of, either. So you're immediately down to either piracy, or else nothing…
Maybe A Deepness in the sky, from this author?

The hero saves the day by hacking old routines lying in the depth of the ship systems.
Roast My AI Art Generator and Landing Page
I'm dead excited for 2040 when SwiftUI can handle all of these patterns natively.

And, maybe for 2043 when our n-3 OS target will let us support them in our app.
yeah. and the fix came on the system wide update. which does not touch the modem firmware. so they fixed the root from modem to phone end point. not the modem problem.

also, it was the first update to be delayed over 40days from the usual calendar. because the issue was seen in the wild a week before the release date so they scrambled to include a patch and delayed everything
Maybe you'll divorce at 40, maybe you'll dance the 'Funky Chicken' on your 75th wedding anniversary
I'm curious as to what qualifies as "taking code". If you copy some code and change variable names, do some minor refactoring or reformatting, is that considered the same code?
Steam is an interesting instance of near-monopoly store fronts. Unlike the App Store, which Apple forces upon users of their devices, or the Play Store, which is a default on most Androids and Google strongly pressures both devs and users into relying while technically allowing for competition, Stream is a third-part and cross-platform store/application managers which users go out of their way to install.

So while being the default (or only) store is clearly valuable, it is not the only path to a dominant position. As a Steam user, I find myself groaning if a game is exclusive to Epic or Battle.net (or whatever it's called now), but don't mind if I have to buy a game from GOG or a dedicated site put up by the developer. So the actual complaint isn't that the game isn't on Steam, it's that I don't want to have to install and use some shitty game launcher. I don't want it on my computer. People felt like this about Steam initially too, and it certainly has its shitty parts still, but it actually adds sone value over a raw installer exe, unlike some other stores.

It's all about the user experience. Minimal steps between them and the product. Buy on Steam? Great, I have that installed and ready to go. Buy on your website? Fine, I can autofill the purchase form, get an exe/zip, and I'm set. Buy on Epic? I have to install their store... then make an account... then add payment info... then find and purchase the game (while being bombarded with ads and flashy shit in an unfamiliar store interface). I think I'll pass.
There's this phenomenon where people only notice an interface if they don't like it. There's heaps of well documented and well used patterns in lots of apps in iOS, I think when rplnt says "There's no patterns" he's happily ignoring everything that works.
Just think of all the amazing content from decades past, even movies from not long ago in the 90s, that many gen z will never see and experience and enjoy in their whole lives because they can’t buy or rent or play dvds any more, don’t use torrents, and streaming providers have very little content from years or decades past. It a loss.
More than I can count, but here are the big ones:

http://moros.cc - A hobby operating system, with a shell, an editor, a lisp interpreter, and many other little things

https://geodate.org - A lunisolar calendar with decimal time (centidays and dimidays)

https://github.com/vinc/geodate - An implementation of the calendar + time

https://github.com/vinc/geocal - A tool to visualize the calendar + time

https://github.com/vinc/littlewing - A chess engine written in Rust (and another one before that in C++)

https://vinc.cc/software/ - A more complete list, on my personal website

I'm good at scratching my own itches but less good at finding projects that could be useful to other people.
Not that, it's about how you navigate through screens in the same app and in multiple apps. Since the back gesture and back stack is universal and all apps are presenting activities added to the back stack, you can seamlessly move between apps using "intents" which are abstracted messages that multiple apps understand, and even tunnel through an arbitrary number of apps, and back up through each of their screens as if they were all in the same application.

An example of an intent is "can anyone open this PDF file" or "the user wants to pick a file, can any app do that and let me know what they picked?"-- those file pickers could also be from your network browser app, or Dropbox, etc.

And since activities are serializable (well, technically the intents that led to those activities being started), Android can do this without requiring the apps deep in the app stack to be running. It can freeze those apps to reserve resources and restart them at the specific activity when the user returns, if necessary.

iOS does have limited inter-app linking (it's the tiny little back arrow and the previous app name that you'll sometimes see at the very top of the screen), but since back gestures aren't universal, the only reliable way to activate that feature is to tap it, since the app may not even understand back gestures, let alone do the extra work of relinquishing control when their own local back stack is empty.