skysight-inc/HackerNews huggingface dataset:
I agree that we need electric cars but I think it’s a mistake to think of urban planning as needing to have such long gone scale. Some things are slow like planning rail lines but other things can be quick if you have the courage to do things like what Paris or London have done. An express bus lane is paint and cameras on the buses to punish scofflaws. A good bike lane needs physical barriers but a quick build design converting a parking or traffic lane is very fast - what makes it slow is the insistence that not a single parking spot be lost or driver forced to go only the speed limit.

Make it easy to build ADUs or upsize detached single family houses and you can double the number of people living in many neighborhoods in a decade or less simply by not preventing existing demands.
Olaf Stapledon has two sci fi works that incorporate many ecological ideas into his vision of a future history of the human species (Last and First Men) and his ideas for possible alien life (Star Maker). They are both incredible works of human imagination
No mocks doesn't mean no tests. It means running tests against the full code path which includes requests to running instances of the services you might otherwise mock. For many apps and use cases, the overhead in managing container state is worth it.
When you say "old apple" you're referring to the early 80s Apple where Steve Jobs pitted his Macintosh team against Wozniak's Apple II team to near disastrous results.

Jobs referred to the Mac team as "artists" and the Apple II guys as "bozos"

The company almost collapsed under the insane price of the gen 1 mac ($2,495, or nearly $8000 today) which lacked a desperately needed cooling fan and also didn't have color graphics.

I'm not sure if Jobs kept doing that after he came back in the late 90s, but that practice was generally not very effective from a mangerial perspective.
Your comment with it taking only 5 minutes made me move my sites. And indeed it was super fast. Thanks for the needed motivation!

I don’t think you are overreacting. I had Netlify in pro mode at work and their pricing tactics are predatory. It was really hard to figure out why I got charged a seat, even though nobody had rights etc. And I couldn’t then remove these seats, I had to wait a month and hope I figured out where those contributors came from.
> Where in the article does it say "the code in question ... is displayed on screen"?

As someone else mentioned, it shows up in the GIF animation, about 45 seconds in, as a sequence of text boxes.

https://i.stack.imgur.com/8Aznd.gif

> Your assertion about "reliable way of making basic sounds" is sort of true, if you ignore the shonky hardware that used to and get shipped as a "speaker".

On the IBM PC, one of the channels on the PIT (programmable interval timer) was hooked up to a speaker. It didn't sound great, but it could at least make simple tones on its own, and even music, without sucking up too much CPU time:

https://www.youtube.com/watch?v=1IOL4q5tDDQ

The Apple II had it much worse. It had a built-in speaker as well, but no timers -- the speaker was connected directly to the memory address $C030, such that performing a read or write operation on that address would toggle the state of the speaker (on/off). Playing a tone required the CPU to hit that address in an appropriately sized loop; since the CPU wasn't particularly fast to begin with, it was nearly impossible to play audio while anything else was going on.
And yet you are still here, posting memes. Are we just stuck in a loop forever?
Zillion queries happen in two layers...

It first runs one or more queries against your DataSources in a drill-across query fashion. You can think of DataSources as one or more completely separate databases. You could have one mysql, one postgresql, one duckdb etc all in the same Warehouse (not saying this is common in production, just an example). Within those DataSource queries it's also joining all needed tables together for you, i.e. joining multiple tables in each database to meet your required grain.

It then takes the results of all those queries and combines that data in another layer which is currently an in-memory sqlite database. The purpose of that layer is joining the data for presentation as well as applying some additional features like rollups, technicals, formula fields, etc.

I'm not familiar with what superset does under the hood or exposes as an API so I don't know how to compare it, if there is some similar backend piece. But I suspect no part of superset is quite the same as this, based on what its front end can do.

Happy to answer any other questions you have.
I've been experimenting with making a Firefox plugin to hobble YouTube. I don't want to outright ban it (easily done using /etc/hosts) because there is good stuff on YouTube.

I talked to a guy at a conference who seemed really offended I might hack into my kids computers by modifying their YouTube viewing. But YouTube is hacking their brains right now and it drives me crazy. No one seems to be concerned about that.

I'm trying to get my kids to use their Ubuntu Linux machines instead of the fucking iPads. There is no way to inject myself into their YouTube experience on iOS devices. It's just them and Google, with no insight or control by me, their parent. I hate it. And I pay for YouTube ad-free. Why can't I have a dashboard to prevent my kids from seeing Ninja kids where they just shill junk from Walmart?
All the awful reviews of united here, and yet it's reviewed as one of the highest rated insurance agencies (for example see https://www.forbes.com/advisor/health-insurance/best-health-...)

Are these reviews completely paid for? What's going on here? Or are all the options awful.

I am in the position to choose our provider at our (small) company, but between Gusto and JustWorks and the majority of our employees being in Texas there was slim to none options except united.
I thought it's the opposite. Most of the things we could buy are pretty boring - stuff like Slack, wikis, HR tools, CRMs, customer loyalty, travel claims management. I wouldn't sign up for a fashion marketplace job only to end up making a HR tool for it.

But I wonder if it's a front end vs back end thing, because front end are the peeps who also work on branding, marketing, etc.
Who is claiming that "everyone has the right to work every job", though? The only person to even bring up the sentence is someone who's handwringing about an interpretation that nobody was making to begin with.

This is why I called it weird devil's advocacy, because what exactly is the point of jumping to caution people about something they aren't doing?
Pythagoras was wrong: There are no universal musical harmonies, study finds
>Nobody was saying that about music players and smart watches

Those things were said for both music players and smart watches, by pundits and competitors alike.

E.g. re the Apple Watch, here's a Forbes summary: "In 2015, the year the Apple Watch was launched, LVMH watch division president and Tag Heuer CEO Jean-Claude Biver said the Swiss industry was not afraid of Apple’s new product, because it could not be repaired in a thousand years or eighty years, nor inherited by children, nor would it ever become a status symbol. As is always the case when disruption occurs in an industry, traditional competitors are not able to see the threat, and continue to try to analyze it according to the variables that were important yesterday."
This is great, I tried to do a similar thing once but my language is one of those that AI doesnt do well.

I think you can look into muting the original voice in the video, I remember I saw there is some AI/tech that can separate audio into voice and nonvoice.

Yandex browser does this in the browser, you open a YT video and it offers to translate, a few seconds later the voices are all in Russian, it's probably the most interesting production use of AI I have seen and for free. It's to Russian only unfortunately.
I think mocking with DI makes perfect sense.

Most people will say something like for unit tests you should test your functions by passing the state as parameters to test. I'm going to call this "outside in" loose coupling.

Mocking is for the inverse. When you want to test a unit of code that is calling some other outside unit code. Its really not any different just "inside out".

So imo with DI you gain loose coupling through dependency inversion. But because of dependency inversion you need to mock instead of passing state as params.

So I think if you are injecting a mocked stub this is still loose coupling because you are testing against its interface.

You're still passing state through your test but its coming from inside instead of outside, hence the mock.

Another way I have thought about this is: framework (framework calls you) vs library (you call library).

Frameworks naturally lend themselves to a more mock way of testing. Library lends itself to a more traditional way of testing.

Testing something that accepts a callback is also essentially a mock.

I hope that thought made sense.
It’s insane to say generative AI has zero demonstrated value. I use it every day.
Its great but I find it harder to debug. And I have to say, I usually dont need it. Typically i just have some command which spins everything up from docker-compose files. I prefer this over putting configuration in code like you often do with test containers. You can also load from docker compose files but at that point the test container API isn’t really doing much.

Its pretty much required when you want to setup/teardown in between tests though. This just usually isnt the case for me.
The electric Fiat 500 is super cool though.
Does Apple's car→AI news mean they didn't have a secret AI project after all?
I'm talking about this thread: https://news.ycombinator.com/item?id=39528134

For months (maybe years), the arg made by some people was that Apple is heavily invested in AI, but they're waiting to surprise everyone with something that's better than everything else. So the idea was that Apple may be late to the party, but their product would be the best in class.

After today's news, I'm not so sure about that anymore. How could a $3T company sleep on what's the humanity's greatest achievement? Like, wasn't there anyone among the higher-ups that thought "oh maybe we should do something about this GPT thing everyone is talking about."?
The law has dealt with large companies before. We used to understand that companies were unnatural constructs, permitted only to the extent that they serve the public interest. We regulated the railroads, we broke up Bell and Standard Oil. We need to get that spirit back.
We didn't have any private contact with anyone about this post other than a couple users emailing to ask why it wasn't on the front page anymore. Nor were we thinking about who would or wouldn't benefit—that never crossed my mind. I was just thinking about standard HN moderation practice.

I don't know how to get every user to trust us. All we can do is answer questions when asked. That seems to be enough to satisfy most of the community most of the time, and it's probably not possible to do a lot better than that, much as I would like to.
Obligatory Gall's law

> A complex system that works is invariably found to have evolved from a simple system that worked. A complex system designed from scratch never works
I don't feel like I can go into any random restaurant and get the same calorie per dollar food from a vegan entre as you would a meat entre. It's almost always paying more for less, and sides-only. There is a supply-side problem that the morality argument isn't addressing.
> There are 100s of AWS services and many where you can't just apply a sensible rejection policy once you hit that hard limit without doing something the user cannot recover from. It's only not hard because you aren't actually thinking about the matrix of AWS products that exist and how they are billed.

I don't think you understand what a hard limit is. When I set a hard limit, that means that under no circumstance should I be billed more than this amount. From this you should be able to deduce that the platform needs to stop you from ever entering into a situation where they could end up having to decide between nuking your data, or overcharging you.

This means that for all data storage scenarios, they should apply limits to projected monthly usage rather than actual monthly usage.

If 1 GB of storage costs $1 per month, and my monthly limit is set to $10, then they should not allow me store more than 10GB of data, rejecting writes as needed. This design guarantees that my hard limit won't be exceeded and the data is never at risk.

Any service which doesn't persist data can apply limits based on actual usage, and safely shut them down when the limit is exceeded.

> Does Amazon drop your entire database once the credit limit is reached?

No, they should refuse further writes when your database reaches a size that would exceed $10 a month. That's a safe behavior.

> Consider secret manager. You are charged 40 cents/month per secret. You have 100 secrets, so $40/mo, but you set your hard limit to $20.

If you set your hard limit to $20, then Amazon should refuse to create more than 50 secrets. That's a safe behavior which limits your spend to at most $20.

> Building all this out just so that some college kid isn't charged a bill they could obviously never pay likely isn't a good use of resources. It's not likely AWS has a reputation of being greedy either, if you explain the situation they refund you. If they are truly doing this to make money they have remarkably poor execution.

This is just a bad faith argument, everyone from broke college students to medium sized businesses has complained about this at one point or another. Relying on the good will of a megacorporation to forgive a surprise $100k bill is nuts and if you scroll through these comments you'll find some that claim that AWS is no longer forgiving these bills like they used to.

I'm not claiming that this solution is perfect, or that it would cover every failure mode, but it sure beats the status quo and would solve the vast majority of surprise bills that result from unexpected traffic.
Looks interesting. Clickhouse seems to be conspicuously missing as source and destination. Although I suppose clickhouse can masquerade as postgres: https://clickhouse.com/docs/en/interfaces/postgresql

Ed: there's an issue already: https://github.com/bruin-data/ingestr/issues/1
The Meta Quest 3 screen has 1/5 the number of pixels. (4.5 million vs 23 million) It’s still absolutely a better game console and that’s where FOV shines, but the general consensus is the Vision pro has much better screens for consuming content:

https://www.cnet.com/tech/computing/meta-quest-3-vs-apple-vi...

“For playing movies, personal videos, or basically any video, Apple's Vision Pro is a revelation. If you can find a comfortable fit for the headset, its displays create a cinema-like experience. The Quest 3 can also play videos, but the experience is night and day. The Quest 3 display is acceptable for video, but worse than my phone or iPad. The Vision Pro, meanwhile, is better than my TV. Movies feel special. My own videos look good.”
Low-latency multi-modal LLMs with constrained outputs can outperform most specialized prev-gen networks, so this may actually work out independent of achieving AGI!
The composition and purity of asteroids can be vastly different than on Earth.
I think about doing this. Just guerilla tree planting. Harvest
saplings from where they're obviously not going to thrive, grab a
foldable entrencher and just hit spots that need a bit of
reforestation. However I suspect most of them wouldn't take and that
there's a bit more to successful tree planting than I suppose.
The two I can think of offhand are:

China is definitely starting to do this as part of its wider geopolitical ambitions under Xi.

Australia has started to dip its toes into providing security to small pacific island countries, it’s an interesting case too since while they can promise their own security resources, due to Australia’s deep ties with the USA via multiple defence and military related treaties, Australia is to extend the “selling security” business metaphor, starting to sell security as a “Value Added Reseller”… effectively they offer the immediate response time of a smaller business partner, with the added benefit of having having an even larger supplier that can be turned to if things are too big for your direct supplier to deal with… the catch is the same in business as in geopolitics however… to what degree your reseller is able to supply their own resources and call on upstream vendors for support, can vary greatly depending on what you need and when you need it…
I'd recommend that you start by learning React without Django.

You can make a little tic-tac-toe game that runs in your browser using just React -- no need for Django, provided you don't want to save the state of the game to a database or something.

If I wanted to start today, I'd make sure I had Node 20.x installed, and then run `npm create vite@latest`. I'd name my project `tictac`, then select both `React` and `TypeScript`. I'd follow the instructions I get and visit the running React app in my browser at http://localhost:5173/.

From there, you can edit `src/App.tsx`. Make a tiny change, save it, and your browser will update immediately. I'd probably build my whole tic tac toe game right there in that single file.

TypeScript is optional but it's useful to learn and won't add too much complexity for this particular project (you can mostly ignore it if you like).

Once you have some basic comfort with these tools, the next question will be: okay, how can you make the code you just wrote talk to a Django server? A simple answer might be: have your code call out to the Django server by making a fetch() call. You'll have to figure out where, exactly, fetch() calls belong in React-using code. And you’ll want to have your Django server return some JSON (from a view) that your javascript code does something with. For this to work on your development machine, you'll run both the Vite server and the Django server at the same time. (npm run dev; python manage.py runserver).

A really tiny Django view should do just fine to start -- your goal is just to make sure the data sent by the Django server is received by your javascript code. After that, you can start to get fancy. You do not need Django Rest Framework, Ninja, or any other extension to Django on day one -- plain old Django is quite capable of sending and receiving JSON data. (Someday later, you might consider one of those add-ons, but I'd stick with the basics first.)
Are they talking about this stuff ?

Right here ?

> https://en.btdig.com/search?order=2&q=%22Complete+Play+Ninte...

Better avoid it then.
> how could we hope to measure reliably a difference between a good hire and a bad one?

We can’t. That’s my point.
I’ve seen comments here on HN about people having similarly visceral reactions to the name CockroachDB and swear they will never use it for that reason alone. I always laughed at the absurdity but now I actually have some sympathy towards this type of reaction. If I opened the docs for an unsuspecting python package and was greeted with a detailed, half-screen photo of any arachnid I would probably throw whatever device I was using.
Just during every quarterly earning report
Regardless of whatever your take on emulation is - can we all agree that it's actually awful there isn't some organized archive of old video games? The library of congress supposedly has 173 million items in there - you'd think they'd have an archive.
I really enjoyed reading this, and felt excited when the author promised to explain viscosity at a particle level. But there was just a short presentation about two colliding molecules and I didn't understand the connection to viscosity. It's like a section is missing or something..?

How does viscosity work?
Right, and so far we've seen that's true, despite your various tangents about related but distinct issues. Glad that's settled.
how old are you know? I've continued to pursue biking quite aggressively and now at 50 find the speed of progression and the ability to recover much slower. Right when I have more time and money than ever before :(
That sounds batshit insane! Why the heck did Unity hire so much???
> I have a simpler theory. The apparent speed of the passage of time is inversely proportion the number of memories being accumulated.

I had this same realization. In other words, our internal clock is not like a mechanical, or a quartz watch, with seconds flowing at a constant rate. It's more like a hourglass or a clepsydra, but instead of sand/water, the flow is of bits of information from the world into the brain. As in a hourglass, near the end the flow is weaker (learning is much slower as an adult than as a child), and the same amount of physical time corresponds to much less sand (subjective time).
Because it's a less extraordinary claim than the contrary. Attributing intelligence to stuff willy-nilly is why we used to think solar eclipses were caused by sun-eating dragons.
Have you determined for sure that it's real users and not bots doing this?
> and you're absolutely kidding yourself if you think any meaningful percentage own the game.

respectfully disagree. nintendo has fought hard to capture the casual/normie demographic and they have consistently sold more switches than M$ has sold xbox ones every month since launch.

switch emulation is alive and well but doesn't jeopardize their position as the non-techie's console of choice. therefore they have taken to only pursuing legal action when an emulator is being packaged up for the masses to one-click install on steam
Let me guess, the "one pedal" design was not catching on in focus groups.
But you wouldn’t be comparing them as much as evaluating a third strategy which is “randomly switch or not”. Right?
“Jimothy, when you make enough money, you get to write the laws.”
WW2 killed Isolationism… and the funeral was when Nixon went to China.
It's also the reason going back feels much faster despite the fact you're exhausted and probably walking/biking slower. You know the route so you switch to automatic more often and remember less.
I believe it's just saying "a few unlucky trees have taken root upon this steep and rocky cliff".

I don't really like fanciful writing like that either, but to each their own! I feel like mass media writing has gotten simpler in recent times, targeting a lower grade level than before. Good for me, bad for folks who prefer poetic scenery.
Minor correction, the wire dynamics model was provided by Naval Air Systems Command (NAVAIR), the Navy engineering organization in control of research, development, test, evaluation, and sustainment of Navy aircraft.
I typically promote the little book of talent in this scenario. Sure, it's all common sense, but distilled and focused on this specific scenario.

https://www.amazon.com/Little-Book-Talent-Improving-Skills/d...
No it isn't. Where have you got any of those ideas from?
NASA's asteroid-impacting DART changed the shape of its target
been doing this for years, I would not say this gets rid of testing though.

Running integration tests are significantly more complicated to write and take longer to run.

There is also race conditions present that you need to account for programmatically.. Such as waiting for a db to come up and schema to be applied. Or waiting for a specific event to occur in the daemon.

That being said, this looks like a decent start. One thing that seems to be missing is the ability to tail logs and assert specific marks in the logs. Often you need to do an operation and wait until you see an event.
The world’s biggest maker of spectacles wants to be a tech firm
Somewhat related: anyone here using AWS Neptune graphql database? How do you develop locally against Neptune? Apart from Localstack, is there a way to mock Neptune for local testing and development?