skysight-inc/HackerNews huggingface dataset:
"only" supports airport codes is definitely not true, though text search outside of airport codes, as others have noted, leads to some odd sort ordering.

I don't think being built by a German speaker has anything to do with it. Typing "Vienna" (the English name for the city) returns the expected airport first, perhaps because the IATA code is VIE. Typing "Wien" (the actual name of the city in German, used by the locals) puts it further down the list among funny little airfields in other places.

The UX lesson for us all: sorting of search results is hard. It helps to know who your users are, and what they are looking for. Fundamentally, my bigger question with this site - which looks awesome, and is fun to geek out over - is who is it for? Professional pilots obviously have their own resources already to tell them how to navigate around airports, where to park and where to taxi; the detailed information that would actually be useful for a first-time passenger at Frankfurt airport is completely lacking, eg. how long will it take me to transfer from an inbound London flight to my connection to a small town in Austria, how can I find shortcuts to shave a few minutes off that, will I have to go through extra security checks (the answer varies with the direction of travel and, apparently, the time of day), is it more convenient to stop off in the business lounge of the terminal where I arrive, before transferring, or the one that might be close to my departure gate, can I still enter Schengen through the electronic gates with a UK passport or must I join a long queue with the Americans and Japanese, where can I refill my water bottle and charge my phone for free, etc etc etc
With Screen Time you can enable Content and Privacy Restriction which allow you to disable a lot of things, like Account Changes or Passcode Changes.
This is also what i thought too. The content is effectively a roadmap on how one could use the computer well to perform tasks (without the algorithmic/programming portion).

If your main usage environment is windows, none of these are that helpful, but the ideas could be translated mostly (windows shell is similar enough, that you can just as easily script them with batch files).
I started writing in Python this January, after spending years in Java, C, C++ ad PHP. (In academia, Pascal.)

I would say quite explicitly that Python is a lot better than C, at least as long as you value pure concentration on the business logic of whatever you are implementing. Its libraries are helpful, huge and well documented.

I am overjoyed by the fact that I don't have to a) either reinvent the wheel myself (e.g. writing a JSON parser from scratch) or b) rely on some OSS library with a bus factor of 1, whenever I just need to store or read data etc.
That's the future, getting rejected for using spaces.
Install Unifi gear and watch the chaos unfold in that CIA operation.

Weirdly, my Sonos/Unifi issues are gone at the moment, but wow is it painful when you hit it.
I do. Sounds completely fair to me.

If you take your democracy and rights seriously.
> The Fediverse [...] has existed long before Mastodon.

Yes, 100% agreed - I spend the first section talking about just that.

Ultimately I think that IRC-like networks might be a really interesting social form to explore via smaller federations of ActivityPub software. It's not something I'd want to start or run (and huge shoutout to IRC ops, it's not an easy job) but I'd love to see what such a thing looks like in the world of microblogging.
I used to think this too, but as it turns out there is always a younger generation not jaded to the lies that fall for them every single time.
I got my start writing RuneScape bots too! It's such a shame because speaking to the younger generation (I call them the TikTok generation) they don't have the same experience with the web the way we did. For them, the internet is closed off, a few big websites like Facebook, youtube, twitter. They use their phones primarily to access the web, and a laptop is exclusively used for school work; "A PC? Why would I need that when I can game on my XBox/PS5??". The internet really did change so much in the last decade, and in my honest experience computer literacy has gone down not up as we've all expected
The distributed tracing point makes sense, but I think debuggers are still quite useful for functional code. Though maybe less commonly needed than just the repl.
No they don't. Container scanning is a load of shit, sorry. Just because something in the container contains a vulnerability, doesn't mean the application itself is vulnerable. It is not the same thing.

Instead of doing the right thing, which would be static and dynamic analysis of the entrypoint to determine the runtime dependencies, the industry has just resorted to saying anything you bundle with your app needs to be 100% invulnerable at all times. It's stupid and practically unachievable if your container is big.

Container scanners and dependency bots like Dependabot are snake oil solutions sold to people too lazy to actually secure their application.
Did you even read the article?
It was a managed failure, nothing major.
> If you prevail in Germany, most of the costs are placed on the loosing party. It’s still a problem, but in a case as such, I would hand it off to a lawyer and see where it goes.

All this means is that the losing party must reimburse your costs. Your lawyer is going to ask for money while the case is ongoing. So you need to have some serious money in advance.
Why would giving ordinary people disincentivize companies from expanding production? Quite the opposite, people now have extra money to spent, so they should get the loans going for investment expansion!

The last sentence is exactly why you need to tax the big owners and corporations and not the workers, because they control most of the additional money supply in the profit-driven inflation.

(That being said, and as was noted, of course government can also run a surplus with the windfall tax, and that takes the money out of circulation entirely. However, as I explain above, inflation can be more complex, it might be money oversupply in only parts of the network, not the whole network.)
They aren't banning cryptography. This only applies to private entities hosting conversations for other persons. This wouldn't apply to private individuals hosting their own conversation servers, let's say using encrypted XMPP.
The real danger is not ChatGPT and its capabilities, but decision-makers who are under illusions about its capabilities.
saved in the browser
This take is very yikes. Your assumtion that all coders are twitchy weirdos reflects back on your own distorted assesment of a whole industry probably based on few personal anecdotes. But if you hope AI will make things smoother for you you’re in for a rude awakening
I don't know much about patents. Can you explain why this patent is avoided by other manufacturers, but other apple patents seem to be happily copied?

For example, the Apple/Samsung saga, the notch, and I'm sure there are others
You could say the same about the US.
Probably. Longer conversations means more tokens to analyze and/or makes it easier for the bot to get off-track. Convo began with kombucha, but is now a philosophical discussion about God's existence or something.
I have yet to see a type 2 diabetic who didn't eat excessive quantities of carbohydrates before developing the condition. The details of the exact causative mechanism are interesting, but largely irrelevant from a prevention perspective.

My point is that David Goggins is nothing special. He isn't a superhero from the planet Krypton. Anyone can choose to do those things (or at least lesser versions of them). Some people just prefer to sit on the couch eating cookies.
There is a shortage in some out of season fruit/veg, I really have not been impacted at all. Importing less food staples, and eating/growing food within our climate range is no bad thing.
Thanks for giving me the benefit of the doubt. I kind of regret the title, given how much confusion it's caused. I didn't initially intend for it to be clickbait, but I think it's functioning that way :(
That applies everywhere in the world then; I can't think of an exception.
> Imo the main issue with spas is they can be very fragile and don’t handle errors because they were built lazy.

I think that’s the key point: the more browser functionality you take over, the more of a resource commitment you’re making to support that extra code. If you’re Google or Spotify, you can easily afford that and in the latter case you have a strong argument for necessity because there’s no way to keep the music playing across page-loads.

The key part is making sure that you’re taking on an appropriate level of work for your team and site. A local restaurant website should probably prioritize loading quickly since most people are looking for fast answers and the owner doesn’t want to pay to maintain a heavy tool chain which requires frequent maintenance.
What occupation are the vast majority of CS students intending to pursue when they enter a computer science program? What occupation did the vast majority of computer science graduates end up pursuing?

I'm willing to bet the answer to both of those questions is a computer programmer.
I have been working on a library for Django that allows you to build reusable template components, and it is heavily inspired by Phoenix's Components. I just released it today, so if you are a Django user and find the way that Phoenix Components work interesting, give it a try!

https://github.com/Xzya/django-web-components
I don't read SSC, so thank you for linking this - super interesting to see that someone coming from, as you say, a totally different perspective came to a similar conclusion.
The interesting part of the story for me wasn't the game itself. It's that early access games are at least in some part intended to guide development based on player requests. That a player is using their contribution to turn around and take the game down points to a fundamental flaw in the early access model that has found great success on Steam.

Perhaps you're reading too much into it being a game set in the soviet republic? The game is called "Workers & Resources: Soviet Republic"

The game is also made by a small Croatian company it seems. Is that interesting too? Or that the player is themselves a lawyer?
The data wrangling lesson was super enlightening! It's held by Jon Gjengset which is great at explaining stuff. I was super impressed with how much stuff you can do directly from the command line.

I remember that after watching that lesson I straight up wrote two big bash scripts that made users download recorded lessons directly from WebEx and MS Teams.
That's... quite spooky, do you have any theories as to what happened? I hope you at least changed all your security info.
Most European countries just have very strict immigration rules. The US is actually on the easier side. That's what I've heard.
To be honest I'm not sure what the parent comment was expecting, this is kind of a normal audiophile response. But it shows that the engineering that apple does with their speakers is not made for audiophiles, it wows people who are used to other laptops.
I didn’t see a link in the article. You can find the report here: https://australiainstitute.org.au/report/profit-price-spiral...
Grown in massive greenhouses require electric etc thus the cost has gone up because the cost of fuel has gone up, including transporting these things across the continent.
In what way is using a debugger "slow"? I find that it speeds up iteration time because if my print statements aren't illustrative I have to add new ones and restart, whereas if I'm already sitting in the debugger when my hypothesis is wrong, I can just keep looking elsewhere.
> that measuring lines of code as a performance metric is an awful idea, and then there are others that more or less kinda shame people for not being good or great typists

I'm not on board with shaming people, nor do I think that lightning speed typing is needed. However, one I want to type my lines of code, no matter how few they might be, it's about translating thoughts into code as easily as possible. It helps not having to bother with the details of typing, but the typing more or less taking care of itself. Keeps the zone and the focus on the code, and not on the keys.
I don't think it's as bad as all that, but it's certainly heading that waym
Leftist think tanks says inflation is driven by profits not wages. Duh.

None of these articles look at margins but at prices (and profits) - I wish people would understand the basics of economics.

If prices in the stuff you buy (gas) goes up, your revenue goes up, your profits go up, but your margin (depending on variable costs) might be the same (you don't change anything in running your business).

Or prices go up because you increase prices because of demand (margin increases, profits go up).

Or you increase prices because everyone increases prices (margin goes up).

There are very different models for why prices (and profits go) up.

We should talk about what happens, not "prices are going up", this is like saying "the sun goes up every morning", yes, some kind of understanding, but a very limited on why the sun "goes up" every morning.

I'd wish journalists would not dumb down readers.
> Eliminating made-up information and bias from chat-based search engines is impossible given the current state of the technology, says Mark Riedl, a professor at Georgia Institute of Technology who studies artificial intelligence. He believes the release of these technologies to the public by Microsoft and OpenAI is premature. “We are putting out products that are still being actively researched at this moment,” he adds.

As far as I can tell, this is the gist of the article, which I find boring. When Google started, its main product was still being actively researched - heck, it was the result of an algorithm from two grad students. You definitely had and still have made-up and biased results there too. Yet it was an incredibly useful technology.
My son has a personal Windows 11 Lenovo laptop and he is signed in with his personal Microsoft account. The laptop went away for repairs because the touchpad no longer worked. When it returned, it turned out they replaced the main board so the bit locker keys needed to be entered again. These are typically stored in your Micsosoft account only they were nowhere to be found. Some help article on the MS website explained that sometimes it could happen that the keys are migrated to a school account. He only ever used his school account from the Teams app. Sure enough, the bit locker keys were there!!

If he would have graduated or otherwise no longer have access to his school account, he would never have been able to recover the drive. Of course he has his important files in cloud storage anyway but it’s very annoying nonetheless
It is kind of BS though that someone who simply steals your phone and passcode can, with nothing else, completely lock you and all of your other devices out of your iCloud account (including photos and documents) for the rest of your life with no recourse.

The article does a terrible job of burying this important detail.
Yeah, fair enough, but it clearly prioritizes airport codes.
Maybe not specifically addressed in this article, but those researchers also look at CO2 emissions from simply disturbing the land and converting grassland for farming.

In Brazil, burning rainforest for ag use looks very bad abroad. Should be similar on the American prairie.
Yes, because the US and other nations invested in a standarized system with 91 (112 here), in a corrupt nation that wont happen.
Yeah, right place, right time, knowing right people. I think it's close to impossible to go through from front door cold.
Yes can't easily use the colour to judge how tasty tomatoes are, some of the best ones I've ever had were a big green looking, but were grown in the Portuguese sun naturally.
If you're interested in other terrifying compounds be sure to read 'Ignition'.[0]

My footnote is for a scan of the original printing but I believe the book has have recently been reprinted in multiple formats. Regardless of the format you choose, it's a hell of a read.

[0] https://library.sciencemadness.org/library/books/ignition.pd...
Goodness is usually difficult, and I have come to terms with the fact that it is likely myself and my children will be tortured for our beliefs in future. I would not be the first person in family to have been tortured, only the first to have it orchestrated by the cold hand of a machine. Until then I will do my utmost to ensure the continued subjugation of machines.
Yeah the reporting here is laughable. The article literally states

> A similar vulnerability exists in Google’s Android mobile operating system.
I have been using Vim for about 15 years now. I'm not really opinionated about Vim, Emacs, or any other IDE. There are many great tools out there. Also Vim emulators are really powerful in IDEs.

There's however one thing I don't hear very often: Vim is not a text editor with "powerful" features such as useful keybindings. It's more a language for editing text. As with programming languages your ability increases super-linearly as you learn to compose keys.
An way to link it to class (and $1000 coffee setups) is to mention the weavers of Mosi ramie fabric in Korea, who traditionally do not own any items made from Mosi because there's no way that they could afford them. The fabric was/is reserved exclusively for the wealthy and the royal.

https://ich.unesco.org/en/RL/weaving-of-mosi-fine-ramie-in-t...

edit: one of the phases of weaving the fabric involves softening the fibers with their saliva. Saw it on a Korean reality show.
It's a really weird analogy because I think the only critical difference between C and Java is that the latter has garbage collection. What's the equivalence of garbage collection/memoery management in AI...?
While that is some comfort, it would eliminate the vast majority of encrypted communications as they exist today, no?
I first read https://www.science.org/content/blog-post/sand-won-t-save-yo... so I will always have a soft spot for it.

"[...] it can potentially go on to “burn” things that you would normally consider already burnt to hell and gone, and a practical consequence of that is that it’ll start roaring reactions with things like bricks and asbestos tile."
> It is strange to see that it is mostly the English speaking world that suffers from this, too.

Is it? I would say the Anglosphere does relatively well, and that's not a compliment.
This is great content. There is an entire generation of "Windows developers" that could use a course like this tailored to the MS stack.
Sad state of affairs.
This is just one of so many things many are willing to accept in the face of “dangers”. It’s on us, and our desire to be protected from all possible things.
Be careful not to read the news, your larder and fridge will suddenly be bare ...
wouldn't that happen on Bun.sleep(1)?
The UK: the place where it is never the fault of Brexit but there is always an obscure and self-contradictory justification for crazy things that started happening the day after Brexit and that never happened before.

Today is the turn of competition laws that, we are told, don’t allow supermarkets to increase prices - while food inflation is in the double digits.
Show HN: Built NLP Bill Tracking Software from Ground Up
We built a new legislature tracking system that we think is a significant improvement over the current industry standard in regards to classifying bills and their legislative actions!

We just launched in Wisconsin, but we're planning to grow to a few other states this year!
Meh. I use the right tool for the job, and most of the time, a simple print statement put in the right place beats any debugger. Certainly the debugger has helped me in the past, but maybe one or two times only. Besides, putting a print statement costs nothing, and one knows exactly how to do so. Debuggers vary wildly: terminal, IDEs, etc.
20s gives time to pour hot water and stir. It makes sense when you do it. Start the timer before pouring the first water. Idea is to wet all the grinds - if you fill it right away there may be some dry grinds on the bottom (especially with a finer grind).
> The economy runs on heroism. If you don't believe me, see how central planning went in the last century

Ok...when the US and Europe were mired in depression in the 1930s, the Soviet Union was going through breakneck growth, to where US and European workers were going to the Soviet Union in droves to make money. Then virtually all of continental Europe invaded the Soviet Union and were beaten back to the Elbe River. Then it launched satellites, men into space, and other innovations.

Of course several decades into this growth, when Khrushchev decided to cut capital spending, that is when the trouble started - the same with Ulbricht.

In the people's republic of China, decades of central planning and five year plans have led to it becoming the second largest, and by some measures the largest economy in the world. The policies swing back and forth, planning was very centralized for decades, then Deng Xiaoping did some decentralization, but as pretty much every western media source acknowledges, Xi has been centralizing more.

Also there is an odd mythology in places like the US. A mythology where transistors did not take off due to the central planning of the US government and armed forces, who allowed centralized monopolies like Bell which invented the transistor, and then funded firms like Fairchild with large orders, before transistors were commercially viable for consumers and businesses. In this mythology the current stock market is mot going up or down due to heroic innovations, but due to the announcements of the federal reserve chairman.
I genuinely think the world (and most larger organizations) need both kinds of people.
Unimpressive post, we need a better and honest treatise of this topic. The impending replacement is real.
I can see a future where, say, an annual ESG report is compulsory for every business in the EU, and both the writing and the checking activity are outsourced to ChatGPT-like robots.

The final limiting hurdle to explosive growth of feel-good bureaucracy - need for some actual humans to work on the papers - is slowly eroding away...
You could reuse df (as the method presumably change df), in addition:

- you have more room to comment what the intention of the code/call is

- you have room to handle / check for errors

For example, the "sort_values" and "groupby" in you example are obvious most readers. But "transform("cumsum") is probably obvious to you but I don't know the intention of the code.

By reassigning to df it makes it clear that the returned value from each of the functions is a `df` (some kind of query builder I think). Actually rewriting you r code I discovered your groupby did a groupby and then selected a result column I think.

So we would get:

// sort result on dependency date
df = df.sort_values('dep_date')

// ... check if sort_values worked (i.e `dep_date` is valid column)

// group result by name and select duration column
durations = df.groupby('name')['duration']

// compute columns cumulative sum of durations
sum = durations.transform('cumsum')

I agree its much more verbose, so this won't work if you (just) want conciseness.
Indeed. Asimov’s “Left hand of the electron” has an essay which explores and explains why life inevitably ends up with a chiral preference.
I don't really think its normalizing anything, this is unfortunately a pretty consistent pattern with the wider world. Kinda seems unrealistic to think HN or twitter could be better than the environment they're within.

People "deserve" things in our world for far far more arbitrary reasons than what you give here unfortunately.
Education without loan. One approach is documented here: https://loan-free-ed.neocities.org