skysight-inc/HackerNews huggingface dataset:
Honestly, lots of us Dutchies leave the house from time to time without ID. I don’t even think to carry it when I go running, or to the gym. And most of the time if you interact with the police while out without your ID it isn’t really a problem.

But that is of course only reliably true if you’re Dutch. The right kind of Dutch, too. Autochtoon used to be considered the polite term. (I always found it rather menacing personally.)

If you have contact with a police agent and you’re speaking English or are brown, yeah, better have that ID.

Of course anyone can be in the wrong place at the wrong time - maybe the agents the OP’s friend approached were conducting surveillance and interpreted an approach by a stranger without ID as suspicious under the circumstances. But I have also simply seen lots of differences in how police decide to enforce the law based on whom they are dealing with.
WingetUI – A better UI for package managers
I assume that it's just like with meat, which lowers the pH of the compost, which in turn is problematic if the plants using it later on have specific requirements in this regard.
IKEA was supposed to open in SF. Somehow I thought it was supposed to be coming up in Westfield, but its somewhere else:

https://sf.eater.com/2023/5/19/23729883/ikea-livat-mall-mark...

Anyway, a big blow for SF to lose Westfield.
It doesn't mean it's the algorithm, it means users could be tactically posting to ride a wave of similar interest. That's all.
Indeed, and I've found the same myself - my comment was about the reliability of the OS sleep functionality, and deliberately says nothing about the wisdom of never rebooting!

I have actually found both Windows and macOS generally pretty good if you leave them running for weeks at a time, but it's one of those things that's best done only if you really need it (and can accept a non-zero chance of something going wrong). They're not so very good that I'd actually recommend doing it routinely. A reboot every 1 or 2 weeks massively reduces the chance of weird stuff happening.
Reminds me of something I saw today. An AI-generated continuous "debate" between realistic Trump and Biden talking heads. It's basically 4th-grade level entertainment but seems like it could be tuned for something less ridiculous.

https://m.twitch.tv/trumporbiden2024

Anyway, people with different political views generally do not "talk issues out".
Wouldn't surprise me in the least if ChatGPT gave the alphabet written out as an example of a word with 23 letters.

I wonder what the history is behind why base-64 encoding became so widespread. Sadly I can even recognise certain sequences now without having to decode them. But the fact it's not even safe for use in URLs/filenames (due to + and /) would suggest it's not really fit for purpose (and yes I know base64-url encoding exists, I once had to write code that had to deal with strings that could use either encoding, and you could only tell by looking for the presence of _ or -. Certainly that _ was not originally chosen as one the extra 2 characters needed on top of A-Za-z0-9 for full encoding is a bit baffling. "-" is often used as delimeter though - my other pick would have been #.)
We are the folks that said Dropbox could be done with a few bash scripts, after all.
Cowan is wrong purely based on his bio? What a facile argument. I can’t even tell if you think so for political reasons or something else.

For what it’s worth, Cowan is quite prolific, so not a bullshit job holder if that’s what you’re implying.
Not quite the same thing but I have meetings when I roll out a new feature that are “No suggestions” meetings.

We still allow for enhancements / added features that in other ways, but some meetings are for learning, not the peanut gallery peppering people with ideas that occurred to them in the last 20 seconds and that believe it or not we know…

We get it out and in customers hands and it is like magic how all these ideas sometimes prove to not be 100% necessary on day 1 … sometimes never.
Shoutout to SizeUp the first app I install on any MacOs computer I work on
As a bit of a joke I wrote a library for this once

https://github.com/boothby/dissert

The big problem is that some people use assert wrong. There's a distinct time and place for asserts, and that's for testing purely internal logic. If you're testing anything that can be tainted with user data, that must be done with a conditional & exception.

Dissert saves the day! You can disable asserts on a per-file basis, and get that PYTHONOPTIMIZE experience with no perceived loss of safety. Of course, it uses the horrid content-encoding hack to trim assertions out of your code, so I make no guarantees.
The article is forward looking, while SAP etc. is likely not going to increase its processing needs on orders of magnitude from now.
That’s simply not true. This method is monkeypatched by json gem
Launchpad can also be started by taking four fingers spread out and bringing them together into one spot. I think that is enabled by default. (Control panel, at least in older versions, also had a little animation for all the gestures, and you can assign different functions to them)

You can also swipe up with three fingers to get a view of all the windows on your current desktop (and also select other Spaces). Normally I just use Cmd-Tab, but if your window is very visible this can be faster. I keep my source control app's window hidden behind Xcode, and then 3-swipe-up to click on it when I need to commit something.
I'm paying and I find it worth it because YT Music is included so I could cancel my Spotify subscription.
Is it? I feel like it’s mostly tourist traffic. I don’t know if natives shop there all that much. In terms of revenue and tax basis maybe.
yeah, that especially annoys me when I come across a dead thread that somehow made its way to SERP or something and someone helpfully provided a correct answer. maybe forums need a 'don't bump' checkbox enabled by default or something for old threads
If people complain about leadership decision en masse, then maybe the leadership failed to explain the decisions at the first place.

Give people a meaning and they will do much better work. It’s not rocket science.
> IF statements looked like this:

> IF (Y+Z) 100,200,205

> This evaluates X+Y

Found your bug! Please resubmit for evaluation in 24 hours.
Climate change is real and we are running out of CO_2 budget.
Need to teach kids to be self learners. I knew these facts about old English, but I wasn’t taught them in school. I learned them on my own.
Further context:

> Graeber died suddenly from necrotic pancreatitis on September 2, 2020 while on vacation with his wife and friends in Venice. ... His wife, Dubrovsky, attributed the pancreatitis to COVID-19, saying they both had strange symptoms for months beforehand, and she said there was a connection between COVID-19 and pancreatitis.

(From Wikipedia)
> Thanks, is there any kind of tutorial on how you should use this in a python project?

The PyPUG docs contain examples of using all of the PEPs mentioned above. TL;DR: all you need for 99% of use cases is a pyproject.toml.
Correct. And it's trivial to add a new name, if I need to; just lookup a special name to add the other name.
I'll agree with everything here except the clean code. Clean code is about optimizing human perception and there can't be a standard for that because humans think in a wide variety of ways and it's further impacted by the level of understanding the human already has on the subject matter the code is dealing with. One person's "clean code" can be another person's nightmare.

I'll back this up with the example of Magento 1. It's a PHP e-commerce platform that has (at first glance) some of the cleanest code you'll ever see in PHP. It looked like the entire development team had come from a Java background. Every component was neatly divided into a PHP object with documented private and public methods. There was a clean MVC separation, with lots of shared behavior abstracted into "Helpers", and a Theme system handling the rendering of the front-end. I have no doubt that the authors of Magento prided themselves on how clean their code was. For them, having spent full-time careers structuring all the many features of their platform into these files, it probably did feel like a clean organization. And when I initially reviewed the code to evaluate using Magento, I also thought it was clean and was part of my choice to use it.

The problem was that when you take something as complex as a full-featured e-commerce system and modularize it so thoroughly, you end up with a literal 7000 classes, and it becomes impossible to figure out the sequence of execution of a single page request through that massive tangle. Is it "clean code" if I have to add debugging print statements to 57 source files to figure out the path of execution that renders a single page?

If I had to choose a circle of hell where I would edit Cyrus IMAP (the worst C code ever) for the rest of eternity, or edit Magento for the rest of eternity, I think I would actually choose Cyrus.
The biggest takeaway/shock for me in this article is the fact that JSON string literals can't contain escaped characters outside the Basic Multilingual Plane (i.e. whose code points are greater than U+FFFF).

Quoting RFC 8259:

To escape an extended character that is not in the Basic Multilingual
Plane, the character is represented as a 12-character sequence,
encoding the UTF-16 surrogate pair.

So in order to encode U+1F914 THINKING FACE you can either do

{"text": "<thinking face>"}

(Emoji omitted bc of HN) or

{"text": "\ud83e\udd14"}

but not

{"text": "\u1f914"}.

This seems to be a relic from ECMAScript which (iirc, only skimmed it) assumes UCS-2/UTF-16. From that perspective it makes a lot of sense but it steel feels a little icky to me having surrogates referenced in a standard that is supposed to be UTF-8 only :)
Ya sure, there’s no one app fits all situations. But the issue here is that there’s literally nothing versus something, so if Apple provides something that works with 80% of users that is far better than just trusting third parties to fix their OS.
Apple refuses to do things all the time.

Aside from the aforementioned window-management gaffes, here's what I think is the most ridiculous design defect of the iPhone, which I reported first as an engineer there and repeatedly as an independent dev: It does not provide audible notifications of MISSED CALLS. I mean... WTF? A 1990s StarTAC (and probably most other phones) provided this obvious feature. So did 1980s answering machines. My 1992 microwave beeps if I forget to take the food out. But Apple's handheld Unix computer-phone remains silent if you happen to miss a call while you're in the shower, or down the hall doing laundry, or watching a noisy movie. If my parents have some kind of emergency, they're going to CALL ME. But Apple doesn't think that's important.

That was the first bug I filed against the iPhone, probably on the day we were given them (the day of release). FIFTEEN YEARS LATER, it's still not fixed. But what did Apple petulantly do instead? Add repeating notifications to TEXTS... but leave that option off of the essentially identical settings screen for the Phone app.

That is Apple refusing to do something, to the detriment of all customers. I was not the only person to file this bug; I checked Radar (Apple's bug-tracking system). So it's not as if they haven't heard the complaint. You can also find plenty of references to it in a general Web search.

When Apple finally allowed developers to write real applications, I expected that problem to be addressed quickly (by me or someone else). But NOPE; developers can't access telephony functions.
We are not great, 1750-1850 on lichess rapid. Don’t recall well enough to place him
What’s tech? I recently had surgery and the surgeon used a robot. I was an out patient the same day and had basically no pain without medication. Compared to a similar surgery I had roughly twenty years ago this experience was like science fiction. Does that count?
Living standards in the US are reverting to the global mean well enough on it's own

Life expectancy is not even top 20 and dropping. Social mobility is also not top 20, cost of healthcare is up there, poverty is up there.
I had the same questions. The article was extremely light on how GPT-4 was actually used to generate the pitch decks. All it says is that various prompts were used to do so. That could mean lots of different things.
It could probably be tailored to a shorter time period.

A possible great way to do it is have the students originally questioned by grad students, and then the professor themself 'follow up' shortly afterward as a 'check' on their grad student's process. The problem with that is that some of the students may feel incentivized to make the grad student look good.
I read half of Graeber's book Debt before realizing he was always taking the most pessimistic opinion every chance he got for no real reason. I had to stop reading it.
Yeah this mall is terribl
I think that is GP commenter's point. If LLMs were to outperform humans in this area, such that anyone could produce a highly marketable pitch deck for any given business idea, then better PR would no longer provide a competitive edge with regards to getting funding, and would thus no longer be a critical skill in the free market.

This could be a net positive, as whatever criterion investors may start using to decide which businesses to finance, at least it would no longer be a proxy of 'which startup had enough money to hire the best PR staff to sell their idea'.
Can you provide a reference where I can learn more?
Some things are clearly valueless. For example, if you slave away for 6 months creating a report on something, and then the document is never even opened by anyone, your work was clearly valueless. There are a lot of jobs which have components like that in public administration, in military, as well as in private sector, in areas like compliance, due dilligence etc.

For example, I once worked on a team tasked with auditing a large EU-funded project. We were hired only because the EU fund required a post-mortem audit. The actual public administration officials who hired us to do the audit never seemed interested in the contents of our audit report, as long as it didn't contain anything that would put them in a bad light. The whole audit was mostly bullshit work. For extra irony, the project we audited was also largely bullshit work - tens of millions of euros spent on a system which ultimately didn't work, and its users had to send each other excel spreadsheets instead (with the data that the system was supposed to be managing). Ocassionally, they had to come in to work on a Saturday to enter the data into the BS system that provided no value to them.
Category Velocity
Very cool, thanks for sharing!

I'm not a native speaker of English, but pretty sure that the word "tic" [sic] is not what you want. Look into apostrophes [1].

[1]: https://en.m.wikipedia.org/wiki/%27_(disambiguation)
I thought the same of Graeber's book about Debt. It's not a bad book and I feel like I learned something from it but Christ it was like 5x longer than it needed to be and felt very unstructured.
How much of this is due to crime, versus WFH causing downtown to be less busy?
So ... UBI
Ask HN: What does it take to be a CTO?
Hi,

A friend of mine and I are thinking of starting a company together. My friend is a sales/marketing person (CEO), and I'm the (only) technical person (CTO).

I want to know what it really takes to be a CTO. On one end, I see people starting companies directly after their college as a CTO. On the other end, I see people who were architects at FAANG, built massive open-source projects before starting their companies as CTO. I'm somewhere in between - I have a few years of experience at FAANG as a Senior ML Engineer, but most of my work has been on platform/ML research rather than things like full stack development, deployment, etc.

I am trying to figure out if I'm capable enough to be a CTO. I understand there will be a lot of on-the-job learning, but my question is more about how much I should already know on day one.

The question is deliberately a little vague as it's tough to convey my full background. I would appreciate any tips or suggestions here.
Show HN: Automating Feature Engineering with LLMs
CAAFE lets you semi-automate your feature engineering process based on your explanations on the dataset and with the help of language models. It is based on the paper "LLMs for Semi-Automated Data Science: Introducing CAAFE for Context-Aware Automated Feature Engineering" by Hollmann, Müller, and Hutter (2023). CAAFE is developed as part of Prior Labs. CAAFE systematically verifies the generated features to ensure that only features that are actually useful are added to the dataset.
It does add a few ms, but you're overstating it. For LAN traffic, it's usually 5-8ms last time I checked on my servers.
I bought a half-built house right after the kid was born.

Yes, using power tools while kid is napping is no-go. But after few months kid is not napping that much. And there’re many relatively silent jobs. It’s easy to silicon a window sill while kid is sleeping in another room. Or assemble a drawer with an old good screwdriver instead of a drill. And after a couple years there’re endless learning possibilities. Sure, it goes slowly, but it does happen eventually.

Full disclosure - I did hire handymen for a good portion of jobs for various reasons. Mostly because we were burning a lot of money in rent or some jobs require too many special tools and knowledge to be done right (electricity, drywalls, etc).
Excellent question, and you are correct. HN is not an automated system, and votes are indeed driven by users. Given this context, my comment about how HN votes referred to the collective action of HN users according to the well-established (and tactfully moderated) site guidelines, which strongly favors discussions made in earnest, without low-effort jokes or tropes.
Personally, I use Swish for this [1], but the reason is probably because of the intended audience. Window snapping requires you to organize your windows yourself, which is something they clearly don't want you to do. That's why Mission Control, App Exposé, Stage Manager, and (arguably) Launchpad exist—they organize your windows for you.

[1]: https://highlyopinionated.co/swish/
Even if I know the exact query I want to write, your suggestion does nothing to improve autocomplete for typing it in.
Policymakers Will Need a Miracle, Not a Pause
This article relates the two: https://compactmag.com/article/a-i-might-not-steal-your-bull...
They firebombed the one in Oakland on telegraph during the uprisings
This is a curious comment in multiple respects. First, Britain has never been a particularly bureaucratic country in comparison to its European neighbors or even the USA. For example, it is very easy to start a small business, file taxes, etc. etc. Second, as the sibling points out, the country is in a pretty bad situation economically at the moment. Many people would happily wind the clock back 10-15 years in that respect.
> a bunch of Western Europeans (what I assume […] As an American, it sounds like your judges and politicians haven't even tried to keep them in check.

Wait, what? You don’t know if this is a Western European thing but you just took that “from the rest of the world”? I guess I could do the same: (1) I’m not from America (the majority here), (2) I haven’t experienced bully police asking for id, so (3) I’ll just assume that that’s an American thing. How funny!
UK version of Miranda warning is

>You do not have to say anything. But it may harm your defence if you do not mention when questioned something that you later rely on in court. Anything you do say may be given in evidence.

More info: https://www.libertyhumanrights.org.uk/advice_information/pol...

This video is one of my bugbears. It gets posted every now and then on Reddit and other places, upvoted a lot, and nobody in the comments points out how dangerous it is to rely on some of this advice outside of the US. You can really land yourself in trouble if you aren't aware of the differences between American legal system and your home country's, even when they're both based on common law. Just another side effect of American cultural imperialism.
The roots of MacOS UI principles date back to the 1980s. Even the current UNIX based MacOS was created in 1999 based off of the Next OS.

Multi-finger gestures were introduced with the iPhone in 2007, and eventually made their way onto laptops. Not only is MacOS 10 / 11 not based on multi-finger gestures, you can only use gestures if you are using a laptop or an Apple touchpad. The default mode of using MacOS is mouse based.
The model has to be trained repeatedly to update the information.
Thanks for the tip. I usually search for "ivermectin" to see how biased a search engine is and mojeek did pretty well.
Windows tiling still keeps you on the overall Desktop, while the split full screen is a separate Desktop altogether with no access to the other applications (without exiting fullscreen).
For some reason I thought it would be about Coq or other similar structured proof assistant language.
Interesting perspective. I guess yeah - in some ways folks I know moved to New York to "work hard and make a career" vs a move to Cali is more to "strike it rich."

I disagree with you on the finance folks angle. Full disclosure, almost 20 years in finance, now at a faang due to non compete. Most folks I know in finance are in the "hard working career builder" camp - invested in their families and communities for the long term. That's who takes the 7am train from Westchester to operate the index funds in your 401k.
... or entering a bar, or buying alcohol, or purchasing allergy medicine
13.4% due to crime, and 46.2% due to reduced traffic and 34.1% some combination and 6.3% unknown.
I've always been wanting to register a 2 letter domain on .ga though have never been able to. Their old site made it seems technically possible though every registrar I've tried fails in some way or another.
Please complete the sentence for me. How does this thought end?
The sooner you realise Go is just C with some niceties, the better.
Somehow your call for them to add more points to the discussion adds even less to the discussion. Maybe that's the cause of your down votes.
> window controls are on a left side of a window

Simpler explanation: Mac OS’s first release preceded Windows so they had to pick a side for themselves when first designing the system. See https://www.versionmuseum.com/history-of/classic-mac-os - the square on the left side of the front-most window’s title bar is the close button.
what if you get into an accident, should you still give the police details?
Induction seems pretty excellent to me, and any short comings are made up for by the ease of cleaning.
I tend to setup separate Spaces and put related apps/windows in the same Space. So I have a general/browsing Space, and development Space, a graphics-editing Space, etc. So I don't usually need to move my windows around. Unfortunately when reboot/login restores them, it puts them all in the first Space, so I have to move them, but since I reboot a handful of times a year, it's not a huge problem.

I've defined Cmd-1, Cmd-2, etc. shortcuts to switch spaces like on Linux desktops, which is a lot faster the 3-finger swiping macOS comes with.
What if it was a hatter and not a milliner?
The NBA Subreddit Reopening Gives a Glimpse into User Sentiment
This is a pretty common misconception. Nearly all economics agree that free markets are good, immigration is a net benefit, rent controls are bad, congestion pricing is good, lowering corporate tax rates are good, the gold standard is a bad idea. Politicians disagree on all or most of these things, but nearly all economists are in consensus about this stuff.
Commenters like you are why people don't share thing. Why make something available for free when someone like you is just going to come along and shit on it?