skysight-inc/HackerNews huggingface dataset:
Automate news posting to your Twitter community in 2 minutes
it's pretty obvious that it can't actually walk.
Its what makes an initial thought lead into the same thought. gasp
You can drive a nail with a brick if you try hard enough. Does that make it not stupid to go looking for a brick while there's a hammer right there in your toolbag?
See the other responses - yes.
Ditto for entity framework in the .NET world, in my experience.

Of course everybody has a horror story about some abomination of a query that they had to fix some time but the productivity gains are worth it.
Here are some leap year digit tallies[0], which might help a few people.

[0]: https://pastebin.com/hNVR2MG6
The real problem here is the decimal number system. We should have switched to dozenal before creating the metric system. Instead of counting fingers, we should be counting phalanges.
As usual there's a time and place.

What I've found is that devs tend to be able to write "OKish" SQLs, but fall over when trying to optimize them, so the DB side can then take over and write optimized stored procs, which can have a separate cadence of code updates and version control compared to the backend team.
Just call them a cocksucker, should be obvious after that.
Stored procedures often increase CPU load of the DB instances

This is of course true if you're doing a bunch of computational work in your stored procedure (as opposed to just doing pure CRUD stuff) but I'm struggling to think of a real world situation where this might be the case.

Can you name some examples you've encountered? (I'm not doubting you, I'm just curious)
> For most businesses today, Google ads are not cost-effective. This applies double when you are buying ads for your company's name: you would have gotten the clicks even if you weren't paying!

Source?

It’s always extremely funny to read engineers on hacker news to make claims about ads, with no understanding of how the business work. And the underlying assumption that companies throw away billions of dollars away, with no results to show for it.
They should reward the human players for being guessed as bots and the bots for being guessed as humans.
Schools are one-sided and 1 teacher teaches to a class of 20. The teacher talks, the others listen.
Mentoring is usually 1 on 2, or one to 2/3, the mentor alters the session based on what happens and listen to your feedback.
Also, the mentor is open to feedback to improve their mentoring session.

And you can ask for a break if you are tired or need more time.

My opinion is that the two are not really comparable
The video is very well produced and engaging, however (from skimming it), it seems that all the implementation methods it presents are suboptimal.

The N64 CPU had an FPU, so it seems obvious that the best method, from both a speed and accuracy (or whichever is deemed more important) standpoint would be the same method that's used in all the libms in libcs like Glibc, musl or LLVM-libc, or in the standard libraries of languages like Go or Java: approximation using a polynomial. This polynomial is not derived analytically, rather it's found using an iterative algorithm, traditionally using the Remez algorithm, but also see my WIP project here: https://gitlab.com/nsajko/FindMinimaxPolynomial.jl.
It's not a grey area if you're putting out an ad for a product in the same category as the registered trademark.

Putting up a "Nintendo Switch" ad on the "Steam Deck" search term, and vice versa, is wrong. Even more so when big companies camp on the trademarks of smaller startups.

I'm angry because this has happened to me.
It is, agree. Imho in most cases the right answer is to build it to not require that kind of clock synchronisation
Nice tool, but I don't see how it would detect the issue described in the blog post, which is that the manifest uploaded to npm does not match the manifest inside the tarball. The package.json that's presented to npm is never actually downloaded into your node_modules.
yes, I think so!
Making things worse while hiding that it's gotten worse is just corporate strategy, and corporations have every incentive to attempt to do it all the time.
There are compat libraries that are available, so if you are running 13.x (the most current major release) but want to run binaries originally compiled under 12.x, you install:

* https://www.freshports.org/misc/compat12x/

See further:

* https://www.freshports.org/misc/compat11x/

* https://www.freshports.org/misc/compat10x/

[…]

* https://www.freshports.org/misc/compat4x/
The biggest downside of the ESP32 is that it doesn't support 5V GPIO, and I believe having to run the wifi stack makes running cycle-accurate code quite tricky.
> RLY? Hello from the UK!

I did say almost everyone. The UK is unusual in still retaining significantly more pre-metric units than the average country does, although still much less than the US. Road distances in miles and speed limits in miles per hour being the most obvious one. Almost everywhere on earth, other than the US and UK (and maybe a tiny handful more, such as Burma/Myanmar, Liberia, Antigua), road distances are in kilometres.

> I suspect that most other countries are the same.

Many countries have some occasional lingering use of pre-metric measurements, but 90%+ of day-to-day units are metric. In the US, it is the other way around, 90%+ of day-to-day units are non-metric. The UK is unusual in lying somewhere in-between.

> I recall (my Mum) buying stuff in West German markets by der pfund (slightly larger than the Imperial pound, I think).

Since 1854, Germany has used the "metric pound" (pfund) of 500 grams exactly, as opposed to the US/UK pound of exactly 453.59237 grams (since 1959; before then, the US and UK had slightly different definitions of the pound). Prior to the metric system, almost every country in Europe had its own unique "pound", all of which were around about (but not exactly) 500 grams. Some countries (e.g Australia) metricated by dropping the pound entirely, but several West European countries (such as France and Germany) instead metricated it to be exactly 500 grams. Arguably, the metric pound actually is a metric unit (0.5kg is a sufficiently round multiple of the base unit, even if a power of 2 instead of 10), whereas the US/UK pound is not (nobody would consider 0.45359237 to be round)

> We still drink pints (obvs!)

In Australia, we still measure beer by pints too. But our pint is different from the UK pint. The UK pint is exactly 568.26125 mL. The US liquid pint is exactly 473.176473 mL. In Australia, a pint of beer is exactly 570 mL (metricated by rounding up from the UK pint), except (for obscure historical reasons no one seems to be able to explain) in South Australia were a pint is instead defined as 425 mL (a volume of beer which in other Australian states is called a "schooner").

However, stuff like beer sizes falls into that "10% of surviving non-metric" which many countries have, so I don't think it really counts.
an application (client) should be free to query a database (server) directly

a stored procedure is an implicit dependency between client and server, fine as an optimization, but definitely not what you want to do by default
I have an IQAir monitor, but their whole system seems like a PurpleAir copycat. Right now, most of the data on their maps comes from PurpleAir sensors, and it's likely that it's PurpleAir that doesn't care for that.

That said, IQAir is kind of crazy to me. They launched a new dashboard which has a "view as TV dashboard" button, but doesn't let you click it unless you upgrade your plan. The local data access situation is also unclear to me; I bought the sensor after reading that it has a Samba server, but it requires the indoor monitor to display the password to you. I opened a support case to get the password for local analysis, but am beginning to feel like they're not going to give it to me. (Who wouldn't want an indoor air quality monitor? Well I already have one. I've cared about indoor air quality forever, but after wondering for two days why the sky was a weird shade of yellow, I wanted to keep an eye on outdoor air quality as well.)

In that case, it will be UART time. It's definitely Linux running an out-of-date unpatched Samba. Won't be at all difficult to get my data, I'm guessing. The question is... why do they think there's money in a cloud service that shows you dashboards of your own data? They should be bending over backwards to accommodate anyone that wants to contribute to their public site; they are way behind PurpleAir there.

TL;DR I'm certain that PurpleAir is the unnamed company in this article. IQAir is too new to be relevant in the space.
I moved my Gmail to Fastmail, it was surprisingly easy (and fast considering I had over 5gb in 20,000 emails).
JuliaHub Receives $13M Strategic Investment from AE Industrial Partners HorizonX
I'm having a hard time believing anyone uses old growth lumber for stick houses nowadays. That shit's expensive and much rarer than it once was.
Trademarks are for a given category. Apple has a trademark on “Apple” in the computing space but they don’t run up against apple orchards.
Rent isn't increasing where i live, but they have added new cost like water cost/ washing machine costs etc.. I hate such shenanigans.
Not being sarcastic, what level of effort are we talking about valuating clean local air at? Only actions that cause no inconvenience? Using monetary value of pollution related production vs health care costs?

It would be not that inconvenient to not drive for local trips but very inconvenient for longer trips? Or vice versa depending on where you live
> You don't have to listen to what other people "consider harmful" or think are "anti-patterns" or "clean code".

Please do.

There is a lot of very bad code doing very important things.

Many of us have been around learning for decades, and some of us (not me) are brilliant at writing and communicating

Pay attention, please. Do not think "you know better because you are smart". Yu do not, even though you are
This is so relatable. It also makes me reflect on how annoying I must have sounded at 25!
> It's also not a complete alternative, because it doesn't have anything for user session services like `systemd --user`.

i am working on a implementation of that for openrc for a while now, it's been working nicely so far: https://github.com/OpenRC/openrc/pull/573
It's happening everywhere. Signs of a recession and inflation.

They are saying that if the airbnb market tanks so will the housing market
Report of new U.S. ban on AI chip exports to China
> To avoid this failure mode, you have to provide players incentives to prove that they are human.

This is also more aligned with Turing's original idea.

I agree with you that it's easier for a human to imitate a (bad or inadequate) bot. You could also, for example, run your own copy of Eliza and proxy the conversation to that, or even memorize some of Eliza's rules and literally apply them by hand in your conversation. You would basically always convince people that you're a bot.

Since the human role is understood to be the harder one to implement, having everyone attempt to play it is the most incentive-compatible solution to a contest: it encourages all participants to best demonstrate their abilities instead of concealing them.
The design looks good but what are your plans to make the alternative more attractive than the other alternatives?

What don't you like about the alternatives that exist?

What's your killer feature?

Why won't yours end up like Voat?
Two-stroke engines are bad not only for the environment, but also for the people who operate them.

These engines not only produce a ton of particulate emissions, but also a lot of half-burned and unburned hydrocarbons. Including formaldehyde, benzene, and all kinds of other crap.

You can at least filter out particulates with an N99 mask, but it does nothing against hydrocarbons.
In addition, I'd add that "not being dogmatic" includes the potential of adopting the dogmatic belief. That's because the idea itself was evaluated for more than just the fact that it was dogmatic; though, the associated dogma can still be considered a variable in the evaluation.
I love ORMs. I recently wrote a little script to scrape a website and put some data in a database. I used Sequelize and it's excellent. I don't want to write an

INSERT INTO blah (A, B, C, D, E, F, G, ...) VALUES (a, b, c, d, f, e, g, ...)

statement where, whoops, I transposed two values! Will SQL throw a cryptic error because the types don't match, or will it silently accept my awful query because the types do match? Perhaps I'll find out after a frustrating night of querying data that doesn't seem to make sense.

"But post-it, why don't you write a loop that builds a query string?"

I could! But if I'm already abstracting away the misery that is SQL, I may as well use a library.

"But post-it, with an ORM I can't do <X thing to speed up my query>!"

I'm never going to need that. 99% of people using SQL are never going to need it. They're going to INSERT < 100 million things and then they're going to do a bunch of SELECTS and some JOINs and they won't care if the query takes 150 ms or 50 ms. And if they do, they'll optimize and write that one thing in raw SQL.
I feel this password field is Turing complete.
I live in a Sears Argyle. We too benefitted from good materials and craftsmanship for this tiny house.
Lambda seems like the easiest to work with at present.
> Walkable, safe and cheap places with good internet have a lot to gain (e.g. Portugal, Thailand)

Why do the people living in those cities feel so strongly that this isn't the case[1]? How does the city administration deal with skyrocketing rents?

[1] https://www.euronews.com/travel/2023/05/12/proto-gentrifies-...
Any suggestions are welcome to help me improve the pages of the site
The content of this blog is mainly a blog about recording daily life and program error resolution.
Content about Buddhism will also be recorded.
This blog page is very crude, hoping to get some advice.
gnome hard depends on systemd, so much that for it, *bsd (and any non-systemd unix-like) had to write a systemd-shim to emulate some functions of it, and/or gut some of systemd's components such as logind in to elogind
Sure, but the point is that you have to know what category someone is search for in order to apply the ad filtering rules. If people search for "windows", Google has to take its best guess on whether you want Windows 11 or quotes on replacing your wall-holes.

Even then, what counts as an ad that competes with Microsoft? Can ubuntu advertise their Windows alternative? Can an authorized reseller advertise themselves as the best place to buy a copy?

This problem sounds almost impossible to me, and the cure almost sounds worse than the disease.
Jumping ahead, I want a plugin that automatically applies "standard" volume to mass conversions for me. E.g. 1 C whole wheat flour is 5.5 oz (or 150 g).

This is walking the line of laziness (why don't I just look them up myself), but it sounds great.

Maybe I can combine the web server with a customized GNU units.

I don't love the % either.

Fun stuff, nice creation!
Now do the same calculation with a tech CEO earning $100M+ a year.
The US does not have a shortage of single family homes. It has a shortage of single family homes that are being used as single family homes.

The data in this video is unambiguous. Sales down 40-50% in cities where there are 4x more Airbnbs than homes for sale. Some of those houses WILL be entering the market as operators cannot handle the negative cashflow. These will be either hard or soft forced sales but let's be clear, many sellers will have no say in the matter.

Fail to understand this dynamic at your own peril. Housing is not nearly secure as many people are suggesting at the moment.
> when you root-cause, add in additional checks to hopefully catch things before the smoke.

No, what you should do is update the software to handle or avoid the problem gracefully. Keep the smoke detectors, but don’t keep adding tiny things to monitor and keep in sync with your ever-changing software.
Except almost all white-collar offices (in the US at least) went remote during the first 2-3 years of COVID. Most did so successfully. Yet, many now want to return to traditional office work with little evidence that’s a better way to work.
Wonder how many of us are out there!? Long live this app and workflow, iCloud sync ftw.
There’s a subtle difference here between ignorance of code smells and cargo-culting “best practices.”

Software will never be perfect.
bs story, ft try to make it seem like he's being charged, but quite the opposite is happening https://twitter.com/RetroCoast/status/1670605414377947138

don't forget that ft is a friend of bankman fried, and they will lie to protect this guy
Nothing from CA ?
Level converting is surprisingly difficult when you have to deal with both push/pull outputs, digital&analog inputs, and pullups for open-drain buses. In fact, I am not aware of any level converters which can deal with all of that.
Strong disagree. Murderers should be locked up, and the not-of-sound-mind defense is a weak excuse, and too often looked towards as a nice clean way to get away with murder.
Apple is presently suing a Swiss fruit association over its trademark on "apple".

https://www.wired.com/story/apple-vs-apples-trademark-battle...
Building a Credible Case for Safety: Waymo’s Approach to Determine Risk Absence
The moment revenue tanks they will panic and change their tune
Putting ingredients inline is interesting. I think I actually see the sense in it. As a reader, I want the ingredients list at the top, but as a writer, I'll think about ingredients as I write the instructions. So, doing it this way potentially saves on jumping back and forth between the instructions and the list, which almost feels like boilerplate.

However, if you want to make shopping list annotations, then you're doing that extra work anyway. In a separate file? It'd be cool if the spec allowed for doing an ingredients list with annotations at the top of the recipe if the writer so chooses. The current syntax works, but not for all people/scenarios.

How would I do recipes with sections? For instance: https://www.kingarthurbaking.com/recipes/fast-summer-berry-p...

Note the ingredient sections; crust, filling, topping. Note the step numbers. Note the link to another recipe. Note the step section titles that are represented here in bold and which don't perfectly match with the ingredient sections. Note the footnotes at the end.

Not sure how I'd do most of those things with this markdown spec.
> They have no obligation to do so under a permissive license. That they do so under any license should be celebrated, IMO.

They are doing it as a growth hack, to ride the publicity of being open source without allowing any of their actual customers to benefit from it. They are not doing it out of the goodness of their hearts or altruism. The class of software they provide are next to useless for non-commercial customers. If they are not open source, they won't get the free attention and eyeballs. It is very much a bait and switch, and they very much deserve to be insulted and dragged through the mud for their bullshit. Don't apologize for their bad behavior, Open Source is not a magic panacea that waives all ethical judgment.
ecowitt wh45. you can read data from it with rtlsdr usb dongle and rtl_433 program
usually, every interaction with your database is its own unique code path and query

it's pretty rare for queries to be dynamically composed from arbitrary sub-queries

if this is a problem you need to solve then ORMs certainly make more sense, but even in this case I find query builders to be more effective

the interface between the application and the DB is actually a string! it's not an abstract data type, it doesn't benefit from being modeled by types
One bad consequence of this is the case where a human agent calls from a doctor's office or something, on legitimate business, and then gets ensnared in a long, confusing, and unproductive conversation.

I guess the way to minimize that is to focus on asking to speak to specific people, and not getting into long conversations with people who don't agree that they are actually the person sought. But still, imagine a bot saying "oh yeah, I'll take a message for her" or "oh yeah, just explain to me why you're calling and then I'll pass the phone over to her" or something, and then not actually doing it. :-(
Ask HN: Home Energy Monitor Recommendations?
Hi all,

Wondering if you have any other recommendations or thoughts on the below.

Use case: I have a solar array and want to track in one spot all the energy produced, energy imported, energy exported, and where energy is being used.

Both of the following seem to do what I want with some nuances. I am looking at:

1) Sense [0], which identifies energy use patterns of different devices to determine what devices are on different circuits (apparently even multiple devices on a single circuit) and how much energy each device is using. It is the most expensive option, uses proprietary tech that I am concerned means the company either goes belly up and I’m left with a brick, or forces everyone to switch to a SaaS model and I get held hostage if I want to continue using it in the same way. The other concern is that reviews are massively split - either it’s the greatest thing ever or it simply doesn’t manage to identify energy draws).

2) Emporia Vue 2 [1] which uses traditional CTs clamped on individual circuits. It is more cost effective than the Sense but is limited to 16 circuits and doesn’t provide any insight behind the circuit (so for example if a fridge and freezer are on one outlet, they are grouped together, which apparently the Sense can disentangle to varying success) so the data produced would seem to be less useful. There seem to be options for pushing the data to local storage [2] so if the company goes belly up or trying to force users to SaaS there seems to be an escape hatch.

Anyone have any experience with either product or an alternative? Any insights? Much appreciated!

[0] https://sense.com/
[1] https://www.emporiaenergy.com/how-the-vue-energy-monitor-works
[2] https://github.com/emporia-vue-local/esphome
I want to say that i really hate you
Almost every response to that tweet is claiming it's false, and some are citing sources.
What's your business plan? The code side of things is pretty trivial, the business side is more difficult I think.

In other words, how do you plan to attract a critical mass of users that generate significant enough income (directly or indirectly) to cover your costs?

What is your projected hosting costs per user? What are your fixed costs? What are your marginal costs per thousand users?

What is your revenue model? Subscriptions? Advertising? Other? Some mix of the above? What are your projected returns to an investor?

How are you planning to moderate the content? (And yes, it will need to be moderated, else you just have 4chan).

What is your marketing plan to attract new users? How will you differentiate from a dozen other options in this space?
It's perfectly fine, but because addition is very common it's unlikely to be optimal.
The False Dawn: Reevaluating Google's RL for Chip Macro Placement
> this showed me how to make the toolbar disappear

It’s no great mystery; it’s right there in the menu. Select Options → Show/Hide → Tool Bar → None

Then, to make the change persist, select Options → Save Options