skysight-inc/HackerNews huggingface dataset:
Loads of little things, but you specifically asked for daily use so:

- Rectangle for window management (I appreciate you have Magnet and tastes differ)

- MarkEdit is an excellent (free) Markdown editor

- Highland 2 (not free) for more long-form Markdown writing as it can handle normal Markdown files and feels more polished than similar tools (especially the document map)

- VLC as I watch a lot of box sets and it's better than the Apple options

- SourceTree for source control (not as good as Git Extentions on Windows but more to my tastes than the VS Code plugins, Fork, or GitKraken for example)

- BitWarden as I'm cross-platform so don't want to rely on the Apple Keychain

- Authy for two-factor authentication - not the Google, Microsoft, or similar option as I don't want to be tied to a tech giant account that can get switched off

- PCloud (with encryption and a mapped drive) for the same cross-platform reason, plus again I don't want my backups tied to a tech giant account that can get switched off

- PGAdmin 4 for database management during development

- Keka for handling archives/zips as it usually handles files fine when Apple's archiver won't (eg some EPUBs when renamed to zip)

- Fastmail for being able to manage multiple custom domain emails, aliases, and even nameservers from a single (paid) user account (I'm aware it isn't a Mac app but I do often use Outlook from Office 2019 to access it despite the excellent web site)
> Because it's translated into a single machine instruction!!!

Actually we never learned the x86 binary representation of instructions in that assembly language class. The textbook also did not cover that.

All I wanted to say is: Intel syntax hides the fact that there are only 4 things in address calculation: displacement, base, index, scale. The compilation error is also hard to understand (at least for the compiler I used). It says something like "the expression is invalid" but you never know what went wrong.

AT&T syntax exposed the underlying requirement, and the compilation error is easy to understand.

Now I am okay with both AT&T and Intel, but when I was learning, I appreciated AT&T syntax more. Assembly is mandatory for CS major in that college, and AT&T syntax made my semester easier.
In a way, it does give you an opportunity to think about what you appreciate in a detailed postmortem - not just a single cause, but human and organizational factors too, and an attempt to figure out explicit mitigations. I’ll admit the informality and the breezy tone here made me go “woah, they’re a bit cavalier…”
either way it sounds like they're stuck with poor testing around their code. that shows the devs probably don't understand the code which means fixing or changing things in the future will take longer.
There’s definitely not a lot to like, but there is a lot to appreciate.

If you want a somewhat toned down version, the first episode of James Burke’s Connections describes some of the same concepts and themes in the context of the NYC blackout of 1965, and is only somewhat less disturbing, but is easily the most upsetting episode of the otherwise charming educational program.

https://www.youtube.com/watch?v=XetplHcM7aQ

https://archive.org/details/ConnectionsByJamesBurke

https://en.wikipedia.org/wiki/Northeast_blackout_of_1965

https://en.wikipedia.org/wiki/Connections_(British_TV_series...
I dont get it , line 56 every time it was invoked would call the uuid4 function to generate a unique id isn’t it? Or was the issue due to the uuid4 function not getting invoked for any reason?
I’m not sure, but aligning for helpfulness and absence of self, like OpenAI did, could be a right move.

It had been known for some time that selfish behaviors are a source of a lot of unhappiness, greed, etc. And the absence of self, absence of I, absence of character tends to fix that.
That dude is a complete scam artist. He willingly defaulted on millions of dollars owed to airlines, and now he makes a living by scraping airline data, lol. This guy has gone bankrupt multiple times and has single-handedly stolen people's money every single time. It seems this scoundrel has spent his entire life exploiting others and living off money he owes.

I told you -
https://www.reddit.com/r/CreditCards/comments/171ld1s/while_...
"...In one case, the complaint alleged, he found that a short video posted by the Palestinian photojournalist Motaz Azaiza had been misclassified as pornographic even though it showed a destroyed building in Gaza. ..."
Demystifying Cookies and Tokens
Is this just another case of going half step back after public backlash, only to go two steps forward when everyone forgets about the issue?
agreed, though if a developer had manually made the mistake they might have realized the problem in less than 5 days. copy paste a bunch of ai generated code into your project and no one can try to deduce where the problem might lie once something goes wrong

though a little logging would also have gone a long way. I don't really get how this could have taken 5 days to find, since they knew exactly where the problem was
Someone needs to hook an old card reader up to a pi.
Five days to figure out this bug is pretty crazy ngl
They spent 5 days. The bug type is pretty common and could easily be done by a developer. (It's a similar class to the singleton default argument issue that many people complain about) Meh, I don't mind the cautionary tale and don't think chatgpt was even relevant.

It's actually a tricky bug, because usual tests wouldn't catch it (db wiped for good isolation) and many ways of manual testing would restart the service (and reset the value) on any change and prevent you from seeing it. Ideally there would be a lint that catches this situation for you.
Thanks for this, this seems the proper way to accomplish it
> The point wasn't getting the knowledge, it was developing the skills to get up to speed on a new topic quickly.

Well, then how do we qualify "this", and help future expert-generalists immediately find a niche and start pursuing meaningful work? (Not that "work" is the end-all, because we hopefully work-to-live and not the other way around.)
This is in the UK highway code too
We do proper apocalyptic books and films in the UK! If you survive "Threads" and "When the wind blows", why not wash it down with some dystopia! 1984, Animal Farm, Children of men.

Other apocalypses and dystopias are available. The UK is not the sole source of them. 451F, Brave New World ...
I searched the article for "occupancy" and nothing. These ultrasonic tones are most likely ultrasonic occupancy sensors used for lighting and/or security. Typically they're 25kHz or 40 kHz (i.e. out of normal human hearing range), but it's possible that they are measuring some subharmonics of the sensors. I've certainly encountered ones that have mechanical issues and will spit out frequencies that I can hear too well.
> I wonder if these are layout-RE'd clones or reimplementations

I have heard on the grapevine of several cases where these Chinese clone manufacturers don't use any of the original layout, but did put their hands on the original device's test vectors to design their reimplemention.
This is a great example of why SQLAlchemy is a terrible ORM, and chatGPT is not alone in making the same mistake as millions of engineers, in fact likely where it learned the mistake.

default = python code evaluates the default value as necessary for each new record

server_default = the initial CREATE TABLE uses this computed (from python) value, thus the hardcoded UUID. They also could have done server_default=text("uuid_generate_v4()") if they had that corresponding module installed on postgres.
If you read the British highway code, you will find that we have this rule too.
By all means go back to university, even do a PhD, if you find a subject you’re passionate about (and have the beans to finance it). That’s what I did and it was great!
even though it's in high level web stuff, that's a classic heisenbug -- one that appears intermittently due to some hidden process that requires an expert to understand.
Reminds me of Mise en Place or Knolling
Cant wait for somehow the government to require four companies in order to ensure good competition by some well intentioned poorly reasoned and executed policies.
i can see missing this during testing since it relies on doing the flow twice. though i have a hard time imagining a team of people not figuring this out in less than 5 days
> line 56 every time it was invoked would call the uuid4 function to generate a unique id isn’t it

Yes, but that line is only evaluated once when the class is declared (aka when the application starts), it's not evaluated for every instance.
I'm not familiar with the library either, but that seems to be a SQL expression executed on the database server. It's basically a copy-paste from the official documentation[0]. So no, not a lambda expression, because it's not computed in Python.

As to the extra parentheses: I bet that's a force-of-habit thing to prevent potential issues. For example, it seems Sqlite requires them for exactly this kind of default definition[1]. It could also read to nasty bugs when the lack of parentheses in the resulting SQL could result in a different parse than expected[2]. Adding them just-to-be-safe isn't the worst thing to do.

[0]: https://docs.sqlalchemy.org/en/13/core/metadata.html

[1]: https://github.com/sqlalchemy/sqlalchemy/issues/4474

[2]: https://github.com/sqlalchemy/sqlalchemy/issues/5344
I'm not a Pythonista, but I think the deal is that line 56 was only executed once, at class definition, so every time the server spun up, you got a new uuid that could only use once
The issue is that uuid4() would be called a single each time the app was launched when that code was first loaded. Each record produced by an individual instance of the app would have the same ID.
> As someone who has both written and read a lot of assembly in a professional context, my colleagues who are assembly writers very frequently prefer Intel syntax. The ones who are mostly (exclusively) readers seem to generally prefer AT&T. It is pretty undisputed that AT&T is easier for computers to parse, but it's also generally easier for humans to parse when reading it.

Wow, that surprises me. Without knowing anything, I would think it were the other way around, because in Intel syntax, the address calculation is more explicit than the comma-and-parentheses form; the registers don't require a % sign every time, making it distracting to read the code; and the opcodes are easier to read out loud because they lack the suffixes.
It's invoked once when the class is instanced in Python, then reuses that same value for as long as the class lives in memory.
This seems like an area where a mutable API beats an immutable API. It's very easy to accidentally reuse old states when doing functional programming. On the other hand, if you need a way to serialize the RNG, (to send it to another task, perhaps) then the risk of reusing states comes back again.

The counter-based RNG I was looking at is an immutable API. It makes it easy to initialize generators in separate tasks by feeding each one a unique ID, but figuring out how to do a split operation is harder. Conceptually, the way to go is to multiply the key by 2 and add either 0 or 1 for each branch, to give them unique IDs. (This is called a pedigree.) However, for unbalanced trees, you will run out of bits. Figuring out how to do deal with that seems tricky?

The LXM generator paper (non-crypto) looks like good reading:

https://dl.acm.org/doi/pdf/10.1145/3485525

They initialize the new child with the next random values of the parent. There is an extra parameter that they use to add more input bits, to reduce the probability of overlap.
Didn't the logs say something like "duplicate key value violates unique constraint [...]" ?
That's beyond ridiculous, as an ecosystem. There is zero means for a user of npm to audit packages end-to-end.

Is anyone attempting to improve upon this poisoned web of packages?
On being brought up by libertarian economists
Perhaps. But let's assume those of us who've "made it" are generally acting in good faith (because a world-system built on sand will never last) and not simply slaves to their hind brain.
Fake beauty queens charm judges at the Miss AI pageant
More importantly, what was the motivation behind a rewrite from TypeScript to Python? From the article

Our project was originally full stack NextJS but we wanted to first migrate everything to Python/FastAPI.

Seems like this entire mess could've been avoided if they had stuck with their existing codebase, which seemed to have been satisfying their business requirements.
> Much more low hanging fruit exists if you give up on writing a Chromium clone.

One idea that’s crossed my mind (may never get around to trying it) is writing an engine that completely ignores everything that’s not modern HTML5 and CSS3. That’s still a lot but it seems like it’d cut down on the scope significantly. This engine wouldn’t be very useful as a browser but it’d probably be enough for displaying bespoke web content in an app or something like that.
I feel it’s dangerous to give an AI “character”, especially when its personality and knowledge is in the end, decided by a few humans to reflect their own worldview. Maybe a choice of characters would help but I think hiding the fact that it’s a biased and intentionally designed software, and not a real human, may cause actual humans to make false assumptions about it.
What’s your niche and did you already have the foot in the door in some way?
Placebo in depression is strong because placebo effect involves the opioid system, particularly the mu receptor. That receptor is known to have antidepressant effects when stimulated.

If you mean ECT by electroshocks, then yes, it's reliable but poorly tolerated with possible memory loss and cognitive impairment. It's still unknown how it works. TMS is very different from tDCS as the power in the brain is very different.
Yeah this is not a good thing to advertise.

- They were under large time constraints, but decided a full rewrite to a completely different stack was a good idea.

- They copy-pasted a whole bunch of code, tested it manually once locally, once in production, and called it a day.

- The debugging procedure for this issue so significant it made them dread waking up involved... testing it once and moving on. Every day.

The bug is pretty easy to miss, but should also be trivial to diagnose the moment you look at the error message, and trivial to reproduce if you just try more than once.
As previously seen on HN:

https://github.com/Frost-group/The-Oracle-of-Zotero
The world is a wonderful place
So you agree with the article or not?
I recall Robert Heinlein poking at this question in his book "The Moon is a Harsh Mistress"; the inhabitants of its hardscrabble lunar mining colony have no health insurance system, but they certainly do have bookies, so they place bets against their own ill-health as a means of covering medical costs.
> and could easily be done by a developer

...who didn't know how the ORM they were using worked. That's what makes them look so bad here: nobody knew how it worked, not even at the surface level of knowing what the SQL actually generated by the tool looks like.
> Our project was originally full stack NextJS but we wanted to first migrate everything to Python/FastAPI

This is the eye opener for me, how is a startup justifying a re-write when they don't even have customers?
I hate that they did it but I have a hard time sympathizing with Edge/MS
>Why can't it be true that the economics profession is wrong, or better yet "not even wrong" and not really even talking about anything that has real world applicability?

I'm not ruling it out, only pointing out that it's a lazy argument to handwave away the statistics while not providing evidence that's equal or better than the ones you're trying to refute. This is especially true when the discrepancy is from a group of people who can't get basic facts right. Maybe they're actually right but there's some contrived reason they're not answering straightforward factual questions correctly, or maybe they're just wrong.
agree, but this sounds like it would produce logs/error messages which could then lead to a solution, quicker... if the logs were captured and propagated sufficiently
>From what I've read, in the 1960's, the average plate size was 75% of what it is today. Most people don't measure the amount of food they put in a plate. They eyeball how "full" the plate appears.

This is also why food plates are often quite small in places with open buffet (hotel breakfasts, events with catering)
Perhaps I misunderstood, but what makes you think that only SquareSpace supports .dev? I have one with Gandi, and it looks like Namecheap support them too. Haven't checked other registrars but I'd be surprised if they weren't widely supported.
Ah so it would get invoked one time for the first user that resulted in a task (container ) initialization on the backed ECS cluster and once all 40 of the tasks were running new users will just reuse one of the running containers and already instantiated object in memory.
Show HN: Turn any number into a complicated math expression
Credit goes to the contributors of https://github.com/enjeck/num2math for making the tool's core.
Choosy - is a must for me. It lets you select the browser/profile after clicking on any link or define the rules for opening them. For example, if a link contains a certain domain or it's source application is Slack, it will be opened in Work profile of your browser.

Obsidian - note taking, making presentations for work-related stuff.

iTerm 2 - it's better than default terminal emulator, but i consider moving to Alacritty to see what's so hype about it.

Scroll Reverser - macOS still doesn't know the difference between mouse scrolling and trackpad scrolling.

While i can't recommend Arc browser, i still use it daily. I don't believe it will exist in it's current form in two years, but now it's much more usable than other Chromium-based browsers for me.

I also have a simple shortcut in Siri Shortcuts that calls m1ddc tool to change the external monitor current input between HDMI and DisplayPort.
A good chance to learn why people who write reliable software almost universally like static type systems.
Loopring's "most secure" wallet hacked for at least $5M
Since this looks like table definition code it likely would run once per db migration. So in all likelihood it ran once when they created the database tables which itself essentially ended up with a definition like “default=89abcdef-0000-0000-0000-fedcba987654”
But how many people really stream the same content at the exact same time anymore these days?

Large sports events are probably the only remaining application where broadcast would still see much advantage over individual streams.

In the case of a few simultaneous viewers, unicast can sometimes still use bandwidth more efficiently in case of a(since the transmitter precisely knows the receiver’s SNR and doesn’t need to waste any energy transmitting at the wrong coding rate or the wrong direction/place). That’s how modern 802.11 (Wi-Fi) often does reliable multicast, these days.

A seamless transition from unicast to multicast once the critical ratio of listeners per base station is reached would be very cool, but require pretty deep levels of integration between broadcasters and ISPs that are probably not worth it.
Imagine trusting ChatGPT for something important. OMG. My apologies, But I cannot feel any kind of sorry. Even for my private projects, I hardly trust on it since it allucinates a lot.
Reminds me of this tool museum in Troyes, France: https://www.discoverfranceandspain.com/maison-de-loutil-et-d...

It is filled with hundreds of slight variants of different tools.
Thank you for this, extremely appreciative of it.
Europe will be needing such systems soon. Poland is upgrading theirs now.[1]
Here's the live Ukraine air raid alert map.[2]

[1] https://breakingdefense.com/2024/02/us-greenlights-1-2-billi...

[2] https://alerts.in.ua/en
Honest question: didn’t you have any unit test around the subscription functionality?
Kerr Avon was always more popular than Roj Blake on the BBC show Blake's 7, so I guess there is a point to that.
I’m sure they are influenced by the likes of Reddit and Twitter rewriting their stack. I mean, that’s what has to be done, right? /s
Password Cracking as a Medium Introducing Cybersecurity Skills, Student Autonomy [pdf]
I'm not sure what you think SQLalchemy can fix here? There has to be an option to pass a static default value and the library does not have a visibility into the parse tree. What's the proposed solution?
Sublime Merge: git client

Karabiner: mostly map my mouse back button to previous page gesture for web browsing.

ITerm2: just a good terminal

Sublime Text: text editor

IINA: video player
40 servers for one paying customer might seem like a bit of total annihilating overkill.
This isn't news to me. We've known for awhile that light circles around black holes.
I brought some class actions years ago alleging the unlawful use of this tech for essentially ads purposes: https://topclassactions.com/lawsuit-settlements/lawsuit-news...

and https://www.freeadvice.com/legal/lisnr-responds-to-lawsuit-t...
Somewhat off topic - I'm curious if the diagnosis has helped in any way. I'm early 40s and have gone so far as taking an online test for autism where I scored very high.

I've thought of being tested by a doctor but always think "What's the point? How is it going to help knowing?" so I'm curious as someone also well into adulthood if you've had any impact from knowing.

I'm also married and am able to keep a job and function relatively well even though I'm not the most sociable person.
I agree, but I am not the kind of person you need to persuade not to buy spyware.

I am just explaining the kinds of reasoning I've heard first hand coming from "gamers".
I have a lot of employees ask about how they will create value in light of AI that can do more and more of the things that have been central to their careers, and the answer is usually that they will do different things than before, and perhaps more of them, by leveraging these tools but also that they are responsible for the quality of work product, the tool is not.

That’s always been the case, but there is so much more surface area for human and tool interactions now that we have tools that are so generalized.

Good for them for sharing the story, countless others have them but not sharing them.
NASA Tests Mobile Launcher's Slidewire Baskets
Einstein's equation includes all forms of energy not just rest mass. Photons have 0 rest mass not 0 energy.
I know how pressure works but I think there's a small hole in the hose wall.

My garden has a series of drops in it. I once leapt over a low wall and down 10' on to a path four feet wide (with another drop the other side), whilst holding my thumb over the end of a hose.

I'm 10 years older now and don't do ninja gardening any more. Rain water with a frisson of rotting veg, some dead insects and a hint of sulphur isn't the worse thing I've tasted but I wouldn't recommend gargling the stuff.
This code would pass static type validation, there's nothing wrong with it at that level. It gets a default value to use and does exactly that.
Drawing compasses are also still important creative tools. But there are tens of thousands (millions?) of excellent used ones in great condition stashed away in people's attics and 99% of professional users switched to CAD, so the market is gone.

> There is no market for digital sensor simulations

Digital sensors strive to neutrally record as much data as possible about the scene. The creative appearance part is done in software later. You're comparing apples to oranges.

There's also no market because simulating a shitty 1998 digital camera with low resolution and JPEG artifacts is not hard to accomplish using Photoshop if you really want.
> NextJS

There is well-hidden vendor-lock when using NextJS, at least.
to be fair, they didnt think it was a problem at the beginning, which can happen... if you made a mistake with your logging/monitoring