skysight-inc/HackerNews huggingface dataset:
Windows has a new terminal as default that is pretty cool - I install MSYS2 and set it in the new Windows Terminal and it's all good. Gnome Terminal and other terminals on Linux are also pretty cool too.

If you want the worst default terminal experience just boot macOS.
If you're curious, here's her PhD thesis. (It's dual-language German/English): https://publishup.uni-potsdam.de/opus4-ubp/frontdoor/deliver...
> They already get so much information from maps running on your phone, why do they need to shove ads onto driving directions?

I mean, what are they doing with that information ultimately? Probably serving you ads somewhere, right?
> This is just a regular PhD experience, but the author has made it sound like some special sort of skill only they and a few others know how to master.

Making a regular experience sound like a special sort of skill only you have is itself a special sort of skill that it's valuable to have if you want to apply for grants.
> some things this post left out

+ wide characters

+ different keyboard modes causing the same key press to be presented by different ANSI escape sequences

+ different TTY states (eg local echo)

+ different OSs having subtly different syscalls for changing TTY states

+ differing support for terminal emulation (most these days roughly emulate xterm, but even there, none aim for 100% be compatibility)

+ a lack of a consensus on how to check for features provided by a terminal (some use ANSI escape sequences and wait for an ansi sequence to be returned from the term (that’s how the old VTs worked), some check $TERM (that’s how the first wave of terminal emulation was detected), some terms expose themselves as xterm and ignore the VT feature sequences, but set other env vars. it’s honestly a bigger mess than the user-agent string.

…and this is assuming a POSIX system. Things get doubly interesting when you throw Windows into the mix
> and I absolutely hate that there is no separation of concerns

There is a separation of concerns when using react but it’s not split by technology but by responsibility. A react components is an isolated piece of the puzzle which’s concerns are separated from the other puzzle pieces.
I do the same. The only advantage I can think of is editing kernel boot option on boot.
In German, it's the same. I hope you are not talking about null in coding? Because I'm pretty sure human 2000 years ago did not know any programming code or even empty sets.
This improves the security over airline tickets.

There was a recent story of someone taking pictures of other people's boarding passes, and using that to board the plane.

With this ticketmaster scheme, unless the person has access to the secret keys, the pass would only be valid for a few seconds, likely defeating this attack against boarding passes.

https://www.nbcdfw.com/news/local/texas-news/texas-man-board...
How to use the Bitwarden forwarded email alias generator
I know the discussion has drifted into the larger realm of ethics and civic responsibility. But with respect to the original title, I always thought that it would be trivial to create a software 'tumbler' the logic of which was based on primitive examples, such as this.
Edit: each user could have thier own initial state.
https://en.wikipedia.org/wiki/Alternating_step_generator
granted you'd need to ramp up the bits to make them less crackable.
Then all you'd need is some translation to 2-d QR scancode graphics and a silly sliding bar and voila! Ticketmaster hegemony.

But yes, its disgusting that i've needed a phone for events...
>"The model and pitch also came into clearer focus. Truly, it’s simple: if you’re betting your business on a critical open source technology, you

1. want it to be sustainably and predictably maintained; and

2. need occasional access to expertise that would be blisteringly expensive to acquire and retain.[5]

Getting maintainers on retainer

solves both problems for a fraction of the cost

of a fully-loaded full-time engineer. From the maintainers’ point of view, it’s steady income to keep doing what they do best, and to join one more Slack Connect channel to answer high-leverage questions. It’s a great deal for both sides."

I love it!

I love your business model!

More power to you, your company, and other future Open Source maintenance companies!
Verifying Peephole Rewriting in SSA Compiler IRs
A really controversial move that could have significant repercussions for user experience and trust. Cannot understand why the problem is not seen
The author links to a study to back up their claims, and that study is a single survey of a grand total of 34 people. A survey of 34 people was turned into a vast, sweeping, manipulating, headline + article which claims that the journalism trust problem is about money, not politics. From a single survey of 34 people, they're decreeing what the problem with journalism is.

I'm not going to attempt to point out all the other litany of logical fallacies, disgusting social manipulation tactics, and other problems with the rest of the article, I could type page after page. It's so ironic how many problems exist in this article which writes about problems in journalism. They have no self awareness.
Digital products are also worse than physical ones, because the content cartels have used DRM to trample on your first-sale rights like resale and lending. It's no coincidence that digital books are often more expensive than paper books, because the publishers have killed the second hand market.
For sonyalpharumors.com, the image preview extends into the side panel for post embeds, do you have a fix?

Edit: On line 21 & 22, I changed the container width to grab `frame.parentNode.width` instead and did the same for height. Seems to work better for that site at least.
They did a similar trial during covid which was what got me to try them out. Love their tools, except some of the magic tools aren't available in Designer and require Photo, which can be annoying for people who prefer just one.

Some excellent official tutorials, too:

https://youtu.be/6wfeMGwcF0c
Chinese self-driving cars have traveled 1.8M miles on U.S. roads
Based on the highly questionable PS/Xbox accounts sold on eBay, I think that's just what scalpers could do as part of their everyday job.
I was expecting an article about the refreshing change of mentality of a small community.

Instead it was just someone completely missing the point.
Or, really, use the ROM's boot loader.

This is getting closer to the way QNX booted decades ago. The boot image has the kernel and whatever user space programs and .so files you decide to include. For a deeply embedded system, you might not have a file system or networking. For desktop QNX (discontinued), you'd have some disk drivers, a file system driver, a network driver, and a shell, along with a startup script, to get things going.
Airlines are starting to use rotating barcodes as well. Heck some are even switching to purely facial recognition.
Exactly. TFA says "heat pump", but the imp on my shoulder says heat pumps don't scale down to palmtop size and it actually runs one of these, a thermoelectric cooler:

https://lairdthermal.com/products/thermoelectric-cooler-modu...

Efficiency is much lower than pumped-refrigerant systems. Access to a flow of cool ambient, external air will be critical.
Navigation apps need to be reliable. But with these pop-ups - trust is not in the line
This advice is old enough to drive, but Joel Spolsky suggested doing just that.

"Word and Excel have extremely complete object models, available via COM Automation, which allow you to programmatically do anything. In many situations, you are better off reusing the code inside Office rather than trying to reimplement it. Here are a few examples..."

https://www.joelonsoftware.com/2008/02/19/why-are-the-micros...
> If you mean to distinguish the normative and the positive, doing so in those well-known terms may save both your time and that of future interlocutors.

I'm not sure what you mean, could you explain please?

> The ignorant mind finds binary distinctions most facile to draw. The clever but ungrounded one unfortunately tends most easily into more complex modes of error.

Is this an accusation directed towards me? If so, please provide more detail so I can realize my error.
Unless things have changed, a Linux machine will not give you a high bit rate picture. Netflix requires DRM and will only give you 720p.

So you get freedom, but a worse product. Which is a trade off not all would be willing to make.
> Small private communities are contrary to some of the most important, biggest promises of the Internet (and the web)

I fully agree with you there. This is why I remarked on the private (or perhaps better said, semi-private) nature of forums/chats I use with high SnR today. I’m disappointed it has gone this way, but then the 90s was a long time ago now and I was certainly more naive then.

To draw an analogy, I think distance/privacy brings its own benefits. There’s a reason the corporate giants of the 50s, 60s, and 70s put their research campus away from the main HQ centre of gravity.

In the late 80s/early-90s, it was quite a “hike” to get to the Internet. Either you were at University or as in my case, you had to get modem, cable, KA9Q, terminal emulator, Kermit, rz/sz, etc working together to reach it. Even when browsers became a thing, you may have needed to compile one, or get Winsock working if on a Pee Cee.
If the only Linux distributions were in the style of LFS, Gentoo and Arch* you would have a point, but as long as Ubuntu, Mint, OpenSUSE, Fedora, Manjaro and the myriad other user-friendly exist I fail to see the argument.

Yes, Ubuntu has a Concorde cockpit behind the scenes and yes, I can access it on my Ubuntu work* laptop and I am grateful that I have that choice. I would hate not having that level of control.

Meanwhile, my mother's laptop is also Ubuntu and my girlfriend's is Manjaro, and they are both perfectly happy "flying their drones around" without ever setting foot in the Concorde cockpit.

(*) I use Arch btw
Anna's Archive Faces Millions in Damages and a Permanent Injunction
Both persistence and obstinance are somewhat social.

Many persistent leaders become obstinate when they develop a success history that surrounds them with positive feedback - yes-men, resources to waste, etc.

Obstinate people flock together for mutual validation (and form protective bureaucracies).
Or just scan your face with the new Digital ID rolling out. It's actually quite nice.
> Now if anyone talks to me about NFTs, I send that me that Folding Ideas youtube video, 'Line goes up' and refuse to engage with them.

When someone talks to you about a topic you don't want to engage in you send them a link to a 2.5 hour long video?

I mean, can't the point be made in 3m?
<sigh/>

Yet another reason for caring & competent people to cross off "teacher" as a possible career option. And for social media bans for under-16's to be passed. And doubtless further fallout.
…and that is a major plus to using Airbnb. I don’t want to have to be in a tourist zone because they, just like hotels, suck.

Airbnb has turned me into a traveller because they disrupted the hotel industry. When a city bans airbnb, they are banning me from visiting.
Would it be possible to sue?
Postmodernism has stripped away fulfillment with the promise of higher pay if you just grind harder.

If you no longer feel pride in your work, then money takes over. In my search, no employer cares about this anymore because the newer generations are only here to grind for gold.
I'd argue compressed file formats make up a lot less of the broader problem space than most people realize. If you're doing anything high performance (where the difference matters) but not immediately consumer facing you're spending a lot of time working with lossless/uncompressed imagery in ram/disk. Stuff like MIPI->CUDA for classification, this question can go a number of different ways very quickly.

Keep in mind, at least in my experience, if you're even remotely thinking about doing anything with grayscale and this question comes up you're probably doing something...interesting (read: multi band remote sensing shenanigans).
The content creator should decide the frame rate. Higher real fps I can get behind. But I don't want a third tier middle man making up fake frames.
It seems unwise for a NHTSA-regulated entity to accept payment to promote distracted driving.
I don't think I ever used or bumped into the z-library. Did they have a subscription/paying type of account? Did they have ads running?

If they made any kind of revenue from that size, which they used to fund the domains/servers/etc, and their living expenses, that would be a reasonable accusation.
For me the major deal-breaker is the dearth of business opening times information, especially in Poland.
Open Source Intelligent Tutoring System with BKT (ReactJS and Firebase)
"I'm an 11 on the Tufnel scale."
Is it related to KAN?
I prefer using braces to delimit blocks (although the code will be indented, too), and semicolons to separate lines (the "automatic semicolon insertion" is, in my opinion, one of the worst features of JavaScript). Sometimes I will deliberately indent code in an unusual way, e.g. temporary debugging code might be not indented at all (although such things are not usually present in the final code; they will usually be quickly removed after being added, and such temporary debugging code is often are not committed to the version control system).

The ability for GCC and Clang to diagnose misleading indentation can be helpful; some programmers may wish to use it (and others may prefer to disable it). However, apparently it treats a tab as a number of spaces; I think that it should not do that, and using tabs on some lines and spaces on other lines to measure indentation within the same block, should always be considered misleading indentation (so if -Wmisleading-indentation is enabled, then it should always display a warning message in that case).
Depends on the departure and arrival city. It is common for ID to be checked at the gate for international flights because airlines are held responsible for transporting passengers that don't have the correct paperwork / visitor permits for the destination country.
Honestly, stop. Just...stop with the apps and "optimization".

Go to bed at a regular time. Get up at a regular time. Make sure your bed and bedroom are comfortable for sleep. Done.

Fretting over the details is not useful.
I get your point, but let's assume that you had separate resources for escape and home power, and then you needed home power for an extended period. Wouldn't you like to have the option to be able to use your escape resources to power your home?
I'd assume this might be solvable in the DB layer using CHECK constraints, possibly combined with JSON Schema validation?

From quick glance, JSON Schema validation isn't built-in to Postgres, but there are third-party extensions, such as https://github.com/supabase/pg_jsonschema or https://github.com/gavinwahl/postgres-json-schema.

I'm more familiar with MySQL and MariaDB, which offer it built-in: https://dev.mysql.com/doc/refman/8.0/en/json-validation-func... and https://mariadb.com/kb/en/json_schema_valid/
Ignoring the problems of global interconnectedness doesn't make them go away. Information can be weaponized and used against you in ways that are difficult to detect and prevent. We know that propaganda, like advertising, is highly effective, and the internet is the best medium we've invented yet for broadcasting it. At what point do you prioritize issues of national security that threaten your society and way of life, over your perceived freedom to consume funny memes and dancing videos? It's increasingly clear that an unrestricted internet carries existential risks, but most people also wouldn't want to live under totalitarianism either. So there's a delicate line that "democratic" governments need to walk to ensure their subsistence, and it's on us to voice how far we're willing to sacrifice some of the "freedoms" we're used to.

Needless to say, it's going to be a bumpy ride until we figure this out.
At least they still highlight the cancel button, if I interpret the image correctly. I wonder how long that will last.
I don't intend to let go of my 2020 Prius for as long as I can help it, largely for this reason. I was able to purchase a microSD card with updated maps to catch it up to 2022 but had to ask a couple of dealerships before someone knew how to look up the part number for it, not sure if they'll continue to publish updates, but the Toyotas that came after this one expect you to have cell signal to determine a route which is ridiculous IMO, I don't even live in the boonies but between towns I have 0 cell signal.
And it would be a good decision
Very unclear how this is related to the previous comments about why Russia would be preserving Western culture.
Bit confused by this comment. I don't think anybody suggested you're going to find these things solely by interacting with the terminal - but rather through "out of band information" as you put it, which in GP's case, as he said, was a book. The surprising part of TFA, and replies to my comment - to me anyway - is how one can go so many years without picking up that information.
Peltier's are crazy inefficient, they produce a lot of heat.
Which has been owned by Google since 2013?

https://www.zdnet.com/article/google-brings-waze-and-maps-te...
Essentially, unless you `fsync`, there's no guarantee that your data will be durably written to disk. This is because the operating system keeps data buffered in in-memory caches, so if the machine crashes you may lose some data. The `fsync` system call forces the data to be flushed from the in-memory OS cache to the disk. As far as I could tell, the Flush you use does not `fsync`.
The story you're thinking of is about Leonhard Euler, though it may not have actually happened (see Wikipedia on Euler).
You can't specify it in the viewer, because it won't know where to break. How does it know that x, y, width, and height are semantically grouped and best put on the same line? It doesn't. Auto-formatters can't format this. Or rather: they can only format it in dumb ways.

And including tons of extra info in the AST means you've just got the same as a text file, but in a more awkward and obfuscated format.

Also what you want can already be done right now. Converting your source code to AST and then formatting it how you want is already easy to do. But your coworkers will hate you, because you will lose all these small details that are actually quite significant. And there is no way to get them back once they're lost, so your coworkers all using some formatting tool is not going to help.
I like to try to build tiny MVPs (or micro prototypes) during the planning process itself. If someone hands me a big project, I'll take a few days to break it down into bite size pieces and try to make a super simple prototype for each piece.

For example, what are the user flows required (login, checkout, change settings, blah blah). How many screens does each one take? How long does it take me to build 2 screens and the connection between them? I'll try it, time myself, and then multiply that out.

For the API, what endpoints are required? What's the most difficult one, like auth? Try to implement a simple version of that. Do the same for another easier endpoint. Average them out. Buffer for shared infrastructure config time (all the CI/CD stuff, IAM, dozen Docker and yaml files...). But still try to build a couple small ones and then extrapolate from that.

Add in multipliers for adding tests, project management (especially if there's Agile bullshit and lots of Jira), QA, UI polish, accessibility, security testing, etc.

Whatever you end up with, add 20% on top it at least.

It's always a negotiation. If you come in with a too high number, it sets more realistic expectations and might get you additional resources. If you come in low, you'll just end up cutting corners and disappointing everyone in the end.

Document the hell out of everything and present it as a retrospective of the process itself, and use it to better improve the estimation and development process going forward (this IMHO is the real value, more than any one single estimation in and of itself). It lets you identify bottlenecks and "what I didn't know I didn't know" pain points that are different for every dev, ie what they ended up missing the estimates on by a lot.

Mostly the thing to keep in mind that the software estimation process is itself an algorithm that can be debugged, refactored, and improved over time.
I haven't used the new one! Will check it out, thanks.
It's something you can do since a lot of years. I used to do so 10 years ago, when I've got the first motherboard with UEFI. But is it useful? It saves a minimal time in the boot sequence, but at what cost?

The bootloader (being it grub, or something more simple as systemd-boot) is useful to me for a couple of reasons:

- it allows to dual-boot with Windows easily: motherboard boot menu is often not easy to access, you need to perform some key combination in a short window, also modern bootloader save the last boot option such that if Windows reboots for an update Linux does not start

- it allows to edit the cmdline of the kernel to recover a system that does not boot, e.g. start in single user mode. That can really save your day if you don't have on hand an USB stick and another PC to flash it

- it allows you to choose between multiple kernels and initrd images easily, again for recovery purposes

- it has a voice for entering the UEFI setup menu: in most modern systems again entering the UEFI with a keyboard combination is unnecessarily difficult and has a too short timeout

- it allows you to boot any other EFI application, such as memtest, or efi shell. Most UEFI firmwares doesn't have a menu to do so.
It’s impossible for Canadians to “emit” more on a per capita basis than China does, in fact Canada is a net sink of carbon emissions in the world. The “emissions” from Canada are a net negative because of its immense forests!

What does China to do their forests? They chop them down
Show HN: FoxVox – how AI can subtly manipulate the content you consume
I've been thinking about AI propaganda risks lately and built this little demo in my time as a contractor at Palisade Research lab. It's a browser extension that ~instantly rewrites any given page to a particular political slant or agenda (has buttons for liberal, conservative, humorous, and conspiracy).
Many of my friends found screenshots of foxed up NYT and Twitter feeds disturbing: now you can make these too.
I built this in 2 weeks; wonder what better-resourced disinformation actors can do these days.
Enshitification, is there anything it can't spoil?
Just to put this out in the universe: I hope it stays 1-time.
I bought Affinity and have tried to use it but really don’t find it anything like equivalent to the Adobe products unfortunately.

For color correction of photographs, PhotoPea does a much better job than Affinity I feel.

After wasting 15 or 30 minutes trying to get Affinity to work for a photo touchup and color correction, I give up and use PhotoPea.
Yes, but I think gross output as % of global share still illustrative proxy of how much resource intensive physical goods are produced relative to emissions. That's closer to maximizing "production" than using GDP/value added as % of global share which is proxy for maximizing "value".
Earlier this year my roku-enabled TV started showing some new Terms Of Service, and it wouldn't let me watch anything unless I agreed to them.

...or unplugged it from the network.

Now, it sounds like they may have done me a favor.
Having studied Euler a little, I am at a loss to explain his work rate. Somehow I think such people are so far outside normal output for a human being and are under-explained. The guy could almost have been some other life-form wearing a disguise. JvN another of course.