skysight-inc/HackerNews huggingface dataset:
Loss leaders.

See "Loss leading as an exploitative practice": http://idei.fr/sites/default/files/medias/doc/wp/2012/lossle...
mm. The loss of the RNLI would leave a major hole. More details for anyone who is interested: https://hmcoastguard.uk/news/whos-who-search-and-rescue-your...

But i still maintain HMCG best fits the description "the maritime search and rescue service for the UK". I mean, if you call RNLI with an emergency they'll tell you to hang up and dial 999.
This is a fun post!

I installed Zed recently and I indeed find it fast. I was able to quickly open lots of large files / projects.

I am trying to hack on SQLite and unfortunately, I couldn't figure out how to setup the project (which comes with a Makefile) with Zed for code completion and go to definition. I couldn't find any help in the documentation either. VSCode was automatically able do it once I installed the C plugin. I will keep an eye on the project and probably try again after a few months.
Two things that are simultaneously true-

-The EU has a really liberal policy of meting out massive fines to US companies, seemingly seeing them as free money

-Apple is abusive, greedy and entitled and desperately needs to be checked. Apple's hubris (like "don't tell customers they can pay significantly less outside of the app") can only be defended by the Stockholm syndrome few who have deluded themselves into thinking this is rational or justified. It is plainly evident that Apple operates their actual app store team as a discount, rag-tag minimalist operation doing the absolute least possible, yet that yields a profit for them greater than the entire Citibank conglomerate. Just insane. Apple's take from the industry as rent-seeking is greater than entire industries, and we still pretend that it's some need.

There is zero justification for the no-value rent-seeking Apple commits in the app store. And if you have loads of Apple devices in your world like me, seeing Apple saturate markets and start to have trouble growing their already insane profits should cause you some concern as now is when they're going to look to lean on their rent-seeking and "service" income sources more than ever.
Love Quacks. Still takes a long time to set up (especially with the expansions), but yes, with organizers it's less of a pain.
Curious how different a long time FreeBSD user feels. I have a strong distaste for anything not nvidia.

Official nvidia drivers have been added to FreeBSD repository 21 years ago.
I can't count the number of different types of drivers used for ATi/AMD in these two decades. And none had the performance or stability.
She Stole $54M from Her Town. Then Something Unexpected Happened
The dissonant threshold is dominance not monopoly. But specifically willfully and intentionally conspiring to use that dominance to manipulate pricing, exclude competition, and otherwise distort cross market structure to their advantage.

The MSFT vs DOJ did in fact use their monopoly power in operating systems to enter a new commercial market, price anticompetitively (price a competitors commercial product at zero), bundle with their new product with monopoly product in a mandatory and exclusionary way, etc. The actions were willful and planned, had no other commercial consideration other than harming competition. Even so the action came many years too late and Microsoft had successfully destroyed Netscape and it took until Chrome before any competition surfaced.
Schedule an event to occur at 4pm every day, say in crontab.
How many % of the kernel is Rust now, in terms of LoC?
GPT4 is very cheap when you're hitting the api with common knowledge questions or reasoning about known things, and asking for short replies. It's very expensive when you're loading up the context with a ton of data and asking it to convert some data points into a narrative structure.
Derek Powazek – On Blocking
What? More housing means prices go down. You seem to be under the impression that apartments == renting and houses == owning, which is not true at all.
Intentionally pushing competition out of the market. If you don't have monopolistic power, totally legal.
Pico CSS – What's new in v2?
Whole different story but do we really have to insist on not delivering any first party frontend logic in 2024? It's minimal and most code is on the server. Also it's a small footprint and proven to be fast (Preact). This site has a 100 performance score on Google Pagespeed, JS doesn't mean bad UX.

Blocking third party scripts and cookies is one thing, but not wanting first party script just forces the developer to use server-side templating for their static content which means you either deliver everything from the same origin (bad for latency) or chain a CDN in front that picks out static content to cache (I don't think that's compatible with the web 2.0 ideology). So it's not ideal too
This is not true even in San Francisco. The population is barely now recovering from covid.

This is entirely about cities needing to grow their payroll tax to overcome their losses in retail and CRE.
I agree that they should make it more of a luxury item in the EU and avoid all of this monopoly talk. If Apple were Bugatti we wouldn't be talking about it.
Funny because I only drink coke if it comes from McDonald's. I always thought it tasted a little different but didn't know why.
Probably a psychologist who studies the phenomenon of "high performance" in humans.

As in, they would study literal performers (music, sports, etc.) .. high-level execs, "10x engineers" or whoever.

(Like the guy who came up with the rule for 10,000 hours of practice, that kind of thing)
Fasttracker II Clone for Windows/macOS/Linux
So one issue I can imagine being the culprit with rust is the specializing / c++ style semantics of rust generics. C code generics tend to be void* flavored or point to a struct of function pointers. Which will generate less code. Not sure how this translates to the kernel setting thoughb
> This is especially important when you use sequential auto-incrementing identifiers with type integer or bigint since they are guessable.

I thought we had long since moved past that to GUIDs or UUIDs for primary keys. Then if you still need some kind of sequential numbering that has meaning in relation to the other fields, make a separate column for that.
But not listening to other people's opinions can also mean internalizing justifications for bad or mediocre behavior
At a previous company we used https://postgresql-anonymizer.readthedocs.io/en/latest/, it worked out well and was pretty powerful, it could even add randomized fuzziness to coordinates, swap random cities, etc.

We ran it weekly to dump production down to a “scrubbed” copy which we used for our test/qa environments and then further trimmed some large tables to create a much smaller development version.

It really helps to have the “shape” of production data and we saw surprises/bugs on prod deploys due to unexpected data drop to almost nothing. It was much easier to maintain than seeds imo, though it is a cat and mouse game, if a new column with sensitive data is added, you need to ensure it’s covered with a masking query too, but we solved that by auto tagging the security ops folks whenever our schema file changed on GitHub.

It wasn’t perfect, but it was 95% what we needed
Fwiw I'm going back to my original hypothesis and saying there's no limit at infinity, but there is a class of questions that are in none of the levels, essentially meaning you can't prove anything about their solvability. It's impossible to prove that any particular question is in that class, by definition, but it may be possible to prove that there exist questions that are. Which opens the philosophical question of why so many questions aren't.
Outside of the web, Wasm is useful anywhere that you might use a scripting language embedded in a program. For example, Lua with game engines. You could replace the scripting layer (e.g., Lua) with Wasm. Some might see this as pointless, but others, like myself, see this as an opportunity to do some cool things. Some things I'm excited for are (1) wasm-c-api, which creates a VM-agnostic API so I can swap out VM implementations without recoding my app; (2) great performance, since there are many Wasm VMs that are heavily optimized for both quick startup and maximum speed; (3) the ability to use many languages, which means I can use a consistent language for the main game and the scripting files.
Bizarre NIMBYism (for HN) going on in these comments right now.
The cost of... what?
No, it is about the exorbitant cost of housing in SF + the very real benefits from agglomeration
So would a US tax payer. Just he would be incentivised to trigger a US fine on Apple instead of a EU fine. So would a Japanese, or any tax payer, really. How did you come up with the idea that this is EU specific?
If it's just to add one more skill to your resume, then it's obviously unnecessary, unless the company you're applying to explicitly states the need for this certificate; besides, I believe creating a software to showcase your abilities and ideas is more meaningful. It allows others to see what you have done more directly, and to see your value.
Dupe, with well over 1k comments across the stories and no new information:

https://news.ycombinator.com/item?id=39388218

https://news.ycombinator.com/item?id=39408196

https://news.ycombinator.com/item?id=39418412

https://news.ycombinator.com/item?id=39386244

https://news.ycombinator.com/item?id=39371119
Don't have Mac. Won't buy Mac. Please, Linux.
Apple had 15years to deal with alternative browser engines and they buried their head in the sand the whole time while racking in the money. Arguing it's hard to deal with all the cases within a few months is just giving them excuses for dragging their feet for so long.
Don’t buy apple products
The point is to have a more efficient solution to deploy large scale Web applications. Efficiency here is measured in comparison to JavaScript, and it's based on 3 main points

1. More compact representation due to binary encoding compared to text

2. Improved compilation times, since WebAssembly is "lower-level" compared to JS and the engines can assume code has been already optimized and can skip a good chunk of the normal JIT optimization pipeline.

3. Improved runtime performance due to strict typing. No type-checks, no bailouts, etc

These come with their set of drawbacks, the main one being that WebAssembly cannot _really_ use the DOM or interact with JavaScript directly and is effectively just a computational engine. Any interaction with the outside word is abstracted to "imports": calls with arbitrary semantics come from outside of WebAssembly.

At some point WebAssembly also had the advantage of predictable performance, with the idea being that code would be compiled once-and-for-all during module loading.

This promise was, as far as I understand, effectively abandoned first by the introduction of "Baseline" compilers (Liftoff, in V8 terminology) and in more recent times by the requirement of WasmGC, which (I think) has reintroduced the need for bailouts and dynamic recompilation.
Here's an older HN link from an MIT article.

https://news.ycombinator.com/item?id=39156463
Ultimately this title is just another persons opinion of what they think I should be doing.

I wish titles could be phrased less condescendingly such as "Reasons to consider not allowing your self-worth to be defined by others". It better allows for a position in which the reader may actually already be doing this.
The risk is exacerbated by the piecemeal why in which this is occurring.

The authority will generally only rezone the quadplex’s lot and not the whole neighborhood, leaving your home with the costs of greater density, but without the value of less restrictive zoning.
this supports my flow-y experiences as well, i find it hard but if i can pace myself to the flow of my thoughts i end up being very productive.
tons of apps are full of ads. Nearly every game on iOS has ads. PWA vs Apps has nothing to do with whether or not there will be ads.
Because the local time is the thing that you have immediate access to, with no additional conversions applied. Every conversion requires an external source of information. Converting from local time to time zone requires measuring the system clock drift. Converting from time zone to UTC requires knowing which time zone you are in. Converting from UNIX timestamp to UTC requires measurements of the earth’s rotation to know how many leap seconds to add.

I’d propose going in the opposite direction: All timestamps should indicate which clock they were produced from. There is no such thing as a global clock, only conversions between your local clock and the UTC clock.
Apple makes it official: No Home Screen web apps in European Union
I don’t believe Apple “strangles” Safari to promote their App Store and protect its 30% cut.

There’s a mountain of web capabilities that Apple lead the charge and either invented the specs on, or adopted before others, on to make more native-like experiences for the web. I think things like backdrop-filter, position: sticky, and css snap points do a whole lot more to make websites feel like native app than stuff like WebMIDI.

I think there's plenty of 'malicious compliance' and pettiness in Apple's recent DMA stuff, but I do not think removing chromeless home screen bookmarks was one of them. I think they took a strict interpretation of the regulations and don't really care too much about them so just removed them.

I think Apple just has a different philosophy and priorities for their web platform, putting a higher value on privacy, performance, and efficiency than Chrome.
Wait how do you get likelihoods greater than one?

Definitely won’t work for likelihoods like Poisson or other count based models.
Really? That’s fascinating because there’s an explosion of apartments in my metro and rents have went… up! So I’m sure in whatever fairytale Econ 101 world you live in that’s the case, but not in the real world.

The amount of housing deficit we have in the United States will never be aided by building more apartments.
> What if trace amount of mercury are needed for the next world changing technology?

Then they will legislate again. Laws aren't written in stone. (And even if they were, you can always get another stone).
The only times I have made significant route finding mistakes in the last ten years were after I started using a GPS for route finding - in both cases I took the wrong ridge down from a peak. My wife was also in a group that managed to descend completely the wrong side of a mountain the first time the person leading used a GPS...
Something like "schedule a reminder to stop using the computer at 10pm so I can sleep by 11pm"? Since I want to sleep at 11pm local time every day
Yep, essentially a Terraserver reboot.
Your dreams are real life; real life is the nightmare.
On the contrary: static documentation rendered via complex client-side code, producing seconds of visible pop-in and an atrocious user experience is entirely in line with the ethos of people who thought the web needed a more developer-convenient way of dumping huge opaque blobs of cross-compiled code into pages.
How do you solve "give me the epoch for 2:30AM" the night daylight changes?
> "We expect this change to affect a small number of users," the fruit cart wrote in an explanatory note covering its obligations under the DMA.

"fruit cart" made me laugh, but otherwise, this is quite an annoying (albeit unsurprising move) from Apple.
Rust: 20,887 lines

C: 33,351,596 lines

(That's just doing 'wc -l' rather than using any proper code metrics tool)
you need to do both but I think it's better for the smaller homes thing to come second because that has lots of negative outcomes if you implement that when there is a shortage (i.e. you supply a lot of tiny units that noone will want once supply and demand come back into balance from higher density and then you end up spending a lot of unnecessary resources demolishing/rebuiling/combining).
My bigger concern around this higher density is uneven reconfiguration of the transportation corridors to accommodate more walking/cycling/non stupid transit (i.e. subway/lrt/trams and other forms that aren't sharing the road and therefore getting stuck in the car congestion). If you build much higher density and still expect everyone to get around by car, that's a disaster in itself.
Really bizarre! What’s going on?
I’ll take spam over moderators any day.
You're right, in that Microsoft used their dominance in one market (operating systems) to gain an advantage in another market (web browsers)

Apple or Google would have to be doing something similar, like using their dominance in one market (operating systems) to gain an advantage in a seperate market - for example, music streaming services (Apple Music, Youtube Premium) or web browsers (Chrome, as pushed heavily by the world's most prominent OS, Android)

To be clear: Android is not the entire reason Chrome is ubiquitous. My arugument is that Android is, pretty clearly IMO, a competitive advantage when pushing a web browser.
I think the correct answer is that it is mostly bogus, but likelihood based statistical methods mostly work for well-behaving distributions, especially for Gaussian.

Maximum likelihood estimation has some weird cases when the distribution is not "well behaving".
>A large number of academics express a willingness to discriminate against conservatives when it comes to hiring, publications, grants, and promotions.

Why would anyone hire or promote people who have an outspoken bias towards despising the very topic they pretend they want to study?

I mean, how could anyone who thinks black people are inferior be put in charge of any ethnographic study?

Basic curiosity for the very subject one studies means one can't have "conservative" views - because the meaning of the word itself is that you have a set understanding of the topic!
I would like to see more work done to make local natural resources valuable. Central Texas it is becoming a fairly dense suburban area (where I live and grew up). It is nice to see someone working in this direction. The milkweed stuff mentioned in the article is interesting (https://www.monarchflyway.com/)
This pops up here every so often. Photopea is one of my favorite pieces of software of all time. And the 1 guy who runs it does very well for himself.
I know this is an unpopular opinion in the US, but the tenements can be pretty great.

I grew up in Eastern Europe (Warsaw) in "commie" blocks and there was a lot of valid criticisms and problems (like poor quality of buildings, small apartments, or thin walls - but consider that they rebuilt whole Warsaw after it was completely grounded in WW2 in a decade or two!), but also a lot to love. Extremely walkable, safe, all amenities (cinemas, stores, cultural centers, playgrounds) in the walking distance, lots of trees and green, easy access to public transit.
As a kid or teenager they were great. I preferred it 100x over suburbs where my parents moved later, and to typical American cityscapes. (And this is why I moved to NYC and love it)

Here is a fun and a bit provocative/exaggerated video https://youtu.be/1eIxUuuJX7Y

Everyone is different so I'm not forcing my perspective onto anyone, just worth considering - especially if you have not had such first hand experience (and the main objection to tenements comes from how depressing they look or American association of "projects = crime", which misses a lot of "why"). Feel free to disagree!

And apart from that, I don't think "more of small houses" solves anything. It has to create more car dependence and social isolation.
And it does not really scale, where would you fit more of smaller homes in SF?
i think the biggest is you can run them offline. kind of the whole point of having a service worker.
If the demand for housing increases faster than the supply increases then yes prices will still go up. They just go up less than they would if supply hadn’t increased.

Even the cities in the US that are building aren’t building nearly fast enough.
Wait. Im super confused. If building more housing doesn’t help with a lack of housing, what does? Genuinely asking. I know it’s more complicated than “just build housing bro” but I’ve never heard of a policy that says don’t build any new housing?!
Nothing Chen wrote motivates me to use the API correctly, that's the whole point. "Just don't do the bad thing" is naive. People will use APIs incorrectly, despite your admonition.
True, and it's still in-stock if you happen to have £15,000 burning a hole in your pocket.
Show HN: I made an app to get notifications of new golf tee times
Golfing has blown up in recent years and it can be impossible to get tee times at certain golf courses, especially on the weekend.

Inspired by Resy notifications for restaurant bookings, I made an app that lets you pick a day and time range you want to play at a golf course and the app sends you a push notification when there's new availability for you to book.

I've already used it to play at a notoriously difficult course to get weekend tee times at, Los Verdes, in California.

Built with SwiftUI you can download it for iphone/ipad/mac.
It's quite shocking what appears to be the common ground here.

The EU has been trying to give users (YOU!) freedom of choice when it comes to YOUR personal data. But you are complaining that businesses tried to circumvent this with cookie banners?

In this case the EU is trying to make sure there is COMPETITION, which benefits YOU. Capitalism, Free Markets, etc. Not a fan?

And coming up next: The EU is trying to make sure that YOU are allowed to install any application you want on a device YOU own. Again, a device YOU own, not Apple.

And this time around, Apple is going pure evil on this, by trying to force application stores offering open source (isn't this supposed to be a thing here, you know, HACKER news?) to pay them for allowing YOU to download a free open source app onto the device YOU OWN. Are you guys again going to defend them for that move?

Apple has absolutely no legitimate reason for all of this. Not by any commonly known definition of the term "free market".

There is so much shit going on here in my region (Central EU). There is a lot to complain about when it comes to the EU. But complaining about a governmental entity fighting for the rights of the people instead of the oligarchs for a change?

Seriously, what's wrong with some of you guys? Do you really want to live in a world where a tiny number of mega corporations, some of them run by lunatics, are allowed to have full control over devices you own AND all of your personal data?

I am SO looking forward to the EU smashing Apple to pieces for the disgusting stunt they are right now trying to prevent users getting back some control over their hardware.

I would assume that a US-based hacker/nerd/tech enthusiast would respond to what the EU is trying to achieve here with: "Hey, why can't we over here also have some of that? Is it normal that OUR government is not fighting for our basic rights?".

Sorry for the harsh words, but this really needed to be said. Some people really need a reality check and look at this site's title. No, it's not "i-want-musk-to-rule-the-world-and-eat-my-firstborn.com".
There may be a time delay for the effect to be felt.

But more directly (excuse my directness) building a nice new apt building in your area may actually increase rent in your area. But it may decrease rent in other areas, as people move into your area.

Weather is not climate, and your neighborhood is not "The Economy".

And in general, we should expect rents to increase over time, but hopefully at a much slower rate as we build more.
At least according to the Github's language breakdown for https://github.com/Rust-for-Linux/linux, C is still 98.3% of the repository, and Rust is in the 0.1% of "others".
Posts with more than 500 upvotes are rare, therefore making them outliers.