skysight-inc/HackerNews huggingface dataset:
Thanks for the question! Clarification -- by "yield" do you mean "return a single function's result" or "use a function that's a generator"?

In the former case, yes, it's pretty easy:

driver.execute(final_vars=["my_func_1", "my_func_2"])

will just give out the specific ones you want. In the latter case, it's a little trickier but doable -- we were just going over this with a user recently actually! https://github.com/DAGWorks-Inc/hamilton/issues/90
Really? Try injecting the majority of hoarded wealth into the equation and re-run the numbers, and then tell us there aren't enough workers to support the system.
They might also be just people who are fed up with cars filling up the streets taking precious space in cities and be a life-threatening issue when you're cycling around. But hey, "moral superiority" is easier to say.
Does this include the Youtube TV offer that I have to decline every couple of days?
I don't necessarily know how eSIMs or iSIMs are supposed to work, just throwing out some ideas here discussing how they could be implemented.

Just because a device is on the same package or die doesn't mean all features need to be exposed to everything else on that package or die. Imagine if you just took the design for a regular SIM card, and then essentially just directly connected it on the package or on the die. Its still the same interface, but instead of it being a separate package connecting to pins on a board that connect to other pins on a board and then to the SoC its just all in the same plastic package. Then go from instead of wiring it in the plastic package, you're not wiring it on the die itself.

Now, of course, this obviously isn't how these things work, since they can load cryptographic material from things like QR codes and apps. While older SIMs were mostly read only (usually a small amount of user memory like address book stuff and what not) these newer eSIMs and iSIMs allow for provisioning in the field. This does bring some attack surface to them, but once again these kind of interfaces could be locked down. It doesn't necessarily need to share logic with the main CPU or have its memory in system RAM, it can still hold all its cryptographic secrets in its own private non-accessible memory and do its functions with its own logic designs. The provisioning step is still potentially attackable, but if designed right its secret storage and management can still be highly isolated to the main processors in the same way older SIMs were.
If you live in the US, the EPA has a website to check outside air quality

https://www.airnow.gov/

There was a recent thread[1] about air quality sensors a few months ago. From that thread there were a lot of recommendations. I ended up buying the Airthings ViewPlus[2] because it covered the widest range. If it's too pricey for you, AirGradient[3] sells a DIY "Pre-soldered" kit for cheaper that I strongly considered as well. The article in that thread was about how "Many indoor air quality sensor products are a scam," but like people mentioned in the comments, even if they are not 100% exactly accurate, you can still see that something has changed and you can crack a window, or close one if PM2.5 from outside is too high.

1. https://news.ycombinator.com/item?id=33025995

2. https://www.airthings.com/view-plus

3. https://www.airgradient.com/open-airgradient/kits/
When you have strong methods of surveillance and identification it automatically leads to scope creep.

One egregious example is that it is effectively mandatory to share Aadhaar ID to visit the popular Venkateshwara temple(often considered as one of the richest in the world) in Tirumala, south India.

A government has no business in tracking religious practices of its citizens, yet it happens in the name of fraud detection and convenience.
These Ukranians are really punching above their weight ...
How does that relate at all?
Tangentially, newspapers sales too have been plummeting during the years, and I still have to see someone photocopying a newspaper. This also well before some of them were available online or in .pdf format that could be copied and shared.
Some markets shrink over time, period. Blaming that on piracy is not only misleading but feeds incompetent or corrupt politicians with a convenient excuse to restrict online freedoms.
Author here: Happy to answer questions about the post!
The Ariane bug was an overflow casting 64-bit floating point to 16-bit integer. It would still have overflowed at the same point if it had been 64-bit decimal floating point using the same units. The integer part of the floating point number still wouldn't have fit in a signed 16-bit integer.

As per the provided link, the Patriot missile error was 24-bit fixed point arithmetic, not floating point. Granted, a fixed-point representation in tenths of a second would have fixed this particular problem, as would have using a clock frequency that's a power of 1/2 (in Hz). Though, using a base 10 representation would have prevented this rounding error, it would also have reduced the time before overflow.

I think IEEE-754r decimal floating point is a huge step forward. In particular, I think there was a huge missed opportunity in defining open spreadsheet formats that decimal floating point option wasn't introduced.

However, binary floating point rounding is irrelevant to the Patriot fixed-point bug.

It's not reasonable to expect accountants and laypeople to understand binary floating point rounding. I've seen plenty of programmers make goofy rounding errors in financial models and trading systems. I've encountered a few developers who literally believed the least significant few bits of a floating point calculation are literally non-deterministic. (The best I can tell, they thought spilling/loading x87 80-bit floats from 64-bit stack-allocated storage resulted in whatever bits were already present in the low-order bits in the x87 registers.)
You might not be aware, but dns-over-tcp has been added to musl[0] and will be part of the next release.

[0]:https://git.musl-libc.org/cgit/musl/commit/?id=51d4669fb9778...
Yeah I get it. At an organization your size, you want IPv6.

I was illustrating why there is zero incentive for 99.99% of people to not care, which is the reason why it isn't getting adopted.

If moving my home network to IPv6 came along with some incentives -- e.g. significant tax breaks, free symmetric gigabit for a year for IPv6 traffic, discounts on rent, tax-free early IRA distributions to buy networking equipment, free electric car charging for 5 years, I'd move to IPv6 in a heartbeat.
You are confusing two things. Usually you represent decimal numbers as rational fractions p/q with two integers. If you fix q, you get a fixed point format, if you allow q to vary, you get a floating point format. Unless you are representing rational numbers you usually limit the possible values of q, usually either powers of two or ten. Powers of two will give you your familiar floating point numbers but there are also base ten floating point numbers, for example currency data types.

BCD is a completely different thing, instead of tightly encoding an integer you encode it digit by digit wasting some fraction of a bit each time but make conversion to and from decimal numbers much easier. But there is no advantage compared to a base ten fixed or floating point representation when it comes to representable numbers.
Yes, for sure, I didn't mean to imply the website is entirely worthless, sorry.

But my larger point here is just that you don't have to care about "only importing lodash if absolutely necessary" to be a good dev. You can care about those things, but for the folks who think they have to care, I'm here to say you don't.
Feel free to contact oxfam: https://www.oxfamfrance.org/rapports/nouveau-rapport-la-loi-...
I can't tell if this weirdly popular opinion is concern trolling or not, but if you actually do really care about the working class, then the EV transition is a good thing for them.

Less pollution, less disease, less war, less imports, cheaper transport, higher standard of living. Its a win win win win and you have to have your head deep in far right conspiracy nonsense to believe otherwise.
>The people who will see you as an enemy are at a dead end anyway and not likely to ever have any influence over you.

That's more idealistic than my experience. I've seen team leads with a very strong sense of ownership. Also, if their mistake is responsible for a 6-figure overspend, it's better for them for it to remain hidden than to be revealed by someone else (especially a non-expert).
Yes, keep going...
The point is not that we should code using visual tools, but that our code should be visualizable.

And for debugging, we write textual pretty printers for data structures, but wouldn't it be better to have them graphically visualized.

Keep the best of both worlds.
And similarly I wasn't saying to not feed poor kids, I was saying that by making it dependent of physical schools it limits the ability of the country to adapt and make changes like remote learning, responding to a pandemic (though I'm doubtful school closures accomplished much if anything in that regard), etc. Flexible ways to accomplish the same or similar goals are preferable to enshrining one specific way of doing so in law.
The resources I'm familiar with are I/O, memory, and CPU. The only one I believe can be spared in the database by using that resource outside of the database, is CPU. When the database is far from saturated on CPU and latency and throughput are determined by I/O and memory, using CPU on some other machine that isn't the database can't possibly have any impact on latency and throughput.
France already has a wealth tax and it is famous for being completely ineffective. Very wealthy people just move away with their wealth to richer countries.
Offline JSON Viewer
I hope you’re right and Halli was prepping for something like this to happen, it’s much nicer that the idea Twitter has just been wasting his time.
Nah, I like “Meta” since it’s appropriately short for “Metastasize”.
> when it comes to Privacy Apple is the only company amongst the big tech we can trust

No, it's not: https://news.ycombinator.com/item?id=34299433, https://news.ycombinator.com/item?id=26639261, https://news.ycombinator.com/item?id=26644216.
Fixed above, thank you!
> I'll never eat Alaskan King Crab ever again.

Decrease of 84% of the Alaskan king crabs stocks between 2018 and 2022 so, not... probably not soon.

May be covid-19 messing with the data (by several reasons), or changes in the environment or in the trophic chains, or pirate fishing fleets moving a lot of the stuff under the radar, or Fukushima. Probably all of them attacking at the same time.

In any case it seems that something hit the Alaskan crabs and it must be happened a few years before 2018. Marine biologists should be able to even estimate the exact year.
Seems like a fixable problem.
I am experimenting with an intelligent RSS reader that has a content-based recommender as opposed to the social recommender that people are used to.

The figure of merit for this sort of thing is “area under the receiver operating characteristic curve” and with a very simple model I get around 73%, I was reading that Tik Tok gets 80% so I don’t think I am doing too bad.
How many people will be able to charge at work in 12 years?
I agree, the days of chaining lodash functions together are pretty much behind us.

But I still like lodash, particularly for functions like these:

- words

- kebabCase / startCase / snakeCase

- partition

- debounce

Basically the more advanced functions for which no readily available alternative exists?
This is a neat little box, but pre-soldered ones seem to be only available on the used market. There are bare PCBs out there, but I’m not very confident with SMD parts.

This is the thing that bums me out with DIY audio: people come up with extraordinary designs, do a limited run and then never (or rarely) make any more.
> Lodash is tree-shakeable...
> Just use Lodash, it's better than having to maintain your own hodgepodge of poorly documented and tested utility functions.

There are good reasons not to:

- You don't want to add a build step to your project

- You don't want to introduce any additional knowledge burden on contributors to your code, other than knowing JS. Your "chunk" is the few lines of source code in your repo -- not an external thing with documentation you have to lookup.

- You don't want to deal with the security issues every dependency introduces

Let's specifically address this claim, which is often used in roll-your-own vs use-a-library debates:

> to maintain your own hodgepodge of poorly documented and tested utility functions

I feel, in this particular case, this argument is a straw man. The functions in question are basically 1-liners. The likelihood of bugs are low. The need for documentation is nil: the implementations self-document.
They're indestructible--until they explode into hundreds of glass pieces when you stack a very hot one from the dishwasher on a room-temp one on the shelf.
When will Europe say they can do this?
bullshit fantasy
China isn't playing by the rules here so there should be some form of sanction. If it's not banning Tiktok, then it should be something else.
https://archive.is/NIdWB
Removing sms texting from their android app is probably going to make me stop using Signal. It's a shame, but there are not enough people using it to make it worth having another messaging app.

I really hope they reconsider their decision.
most people at these companies don't last very long. if you doubt that, just take a look at the average person's linkedIn or resume. You'll see the average tenure at a tech company is about 2 to 3 years.
Some Why Smartphones Might Make Adolescents Anxious and Depressed
Ask HN: Trunk based development along with pair programming
Do you use trunk based development along with pair programming to commit straight to master?

How is it working for you?
The gas supply did in fact change, as did demand. Even a small shortage can drive prices up dramatically, because gasoline is critically important.
It's specially weird because with those mods you always assumed they were people with little to now life outside that forum, hence the tripping on such small amounts of power.

Elon has enough money that he could quit today and have enough money for 10 lives of pure hedonistic bliss... and yet chooses to spend his days on his phone, posting shitty memes and being a dick on Twitter.

It's mind boggling, really.
Can it be reprogrammed?
Lodash also handles "bad-types" in really graceful ways. In fact, it's almost the primary reason I use it.

For example, if you have a nullable array. In plain JS, you have to check the presences of the array, then run `find` (or whatever function). Lodash simply treats it like an empty array - returning nothing.

This is particularly handy in React where it creates clutter to have to check for the empty state.
I know some of the reasoning, but I find it really obnoxious the way it kills the wifi when switching users. I often am bouncing back and forth, I get the reasoning, but it would be nice if there was a setting to stop that.
> Awkward sites that require much more than a minute for basic tasks — such as transferring money from a savings to a checking account — will be abandoned.

An impatient user indeed, if already-written checks or automatic drafts from the account are pending.

Seriously though, this points to a special case which we might call "end-of-flow". If all required info for the transaction has been keyed in, short term memory needs only to retain awareness that a confirmation notice remains needed.

Likely next user actions are:

1. Switch to an unrelated task,

2. Check back after a few minutes for the transfer verification,

3. Close the page of the now timed-out session.
What good is that going to do if the data always resides in the database?
Trying to understand, not interpret. Is there law allowing discrimination against lower cases? Or is there law allowing reverse discrimination to redress previous discrimination?
Must have depended on variant, the one we used in college would throw a GP fault for misaligned access. It literally didn't have an A0 line. That said it's been over 10 years and I could be remembering the very hard instruction alignment rules as applying to data too...
You're not wrong, but Imgur hasn't even hit that level yet.
> Nobody knows how electricity production will look like in 12 years

Maybe not - but in the UK we know how long it takes to flood a valley for pumped hydro storage, or to build a new nuclear plant, or to roll out new equipment to people's homes (like smart meters) - More than 12 years.

So we don't know what electricity production will look like - but we surely know what it won't look like.
Nothing will ever be more annoying than in-video sponsorships
There are all kinds of ways to set misleading records if you don't correct for population growth.
It’s sad but he’ll probably forever now be remembered as “that guy who got publicly fired on Twitter by Musk” rather than Iceland’s person of the year 2022 and all the great philanthropy he’s done :(
Oliver Alexander already did a thread on NYT article btw:

https://twitter.com/OAlexanderDK/status/1633138513934798856
I like 6502 assembly a whole lot, but there's definitely limitations to it at scale. Multi-byte arithmetic is a chore, bank switching is a pointless time sink, and managing local variables makes me want to pull my hair out. Those were the deciders in making this.
Even if you have Lodash in your codebase, there are a bunch of functions it offers that have direct built-in analogues at this point, and I think it's still best to skip the library versions of those

Ironically I don't see all of those in this list. Maybe OP just assumes everyone already knows how not to use those
> there are many many places

Can you please name 5 of those alternatives which pay as well as Facebook and yet are a better corp for the world?
https://archive.is/QW4Gj
Where in your link does it say taxing the ultra wealthy would be enough to cover the pension shortfall? I'll give you a hint: nowhere.
if you just play around a little bit it's not that hard to figure out
Same. I started on an Atari 8-bit and had most of the i/o memory map memorized in both hex and decimal as well as the ROM i/o routine address/parameters.
Here's hoping we end up with the Mariachi version of Twitter as a result.
ADD: Oh my, remembered one thing.

Two years ago I made a QR code for a local bar so a visitor could just scan it to join the news group.

One night I helped a girl to scan that QR code, because she said what scanning QR-codes never works on her phone. Turns out you need to go to the settings and check some options to allow a built-in camera to process QR codes. I think it was some premium Samsung Galaxy S20-something. *shrug_emoji*
The richest person in the world dunks on someone else for being ‘independently wealthy.’

Anyone else have ‘Elon fatigue’?
The way Elon is handling it on Twitter is uniquely bad, and could be opening Twitter up to massive discrimination liability. I would say this does actually make a top ten list.
Customers don’t always know what they want until they experience it. The overall point of this article might be true most of the time, but in order for there to be advancement of products beyond the obvious pain points, teams must sometimes move forward with novel features that customers are not asking for yet.
https://archive.is/kRXDJ
There’s a lot of super impressive stuff going on there!
Great course - thanks for sharing!

Regarding being very good at differential equations: if I remember correctly, one way to approach solving them is to convert them to difference equations and solve them numerically (and not analytically). Is this true? As you can probably tell, I am not good at differential equations at all, so I was thinking about using difference equations as a crutch.
DevOps is a very loose term in today's market.

It can range from developer, to pure support engineer, to a jack of all trades, to yaml engineer, to CI/CD maintainer, to Google defined SRE.

Figure out what you want to do, and what you dont want to do, filter job postings and ask questions early in the process.

I'm a "Lead DevOps Engineer", and what that means at my company is that I lead a team doing all of our infrastructure automation(terraform, python), CI pipeline creation and maintenance, update and maintain all the non-prod environments (k8s, docker compose, swarm), infrastructure architecture on all major new projects (since we'll be building the automation to bring those projects up and maintain them), we also get everything else that seems hard to other teams. We build the tools and automation that we use, as well as the tools other teams use. This is important because we provide a common interface to all our teams, even though we work across AWS, Azure, OCI, and on-prem. The developers dont care which cloud their stack is on, that is abstracted away from them.

What we (DevOps) emphatically do not do is on-call. We have a "SRE" team for that (not SRE in any sense of what you think, they deploy new app versions to prod and manage datadog, and manage on-call, they are incapable of writing even basic python).
Given their target 66% profit margin (product price = 3x cost of goods sold), their $/GB compares favorably with any flash based storage that doesn’t use wide erasure coded stripes, even ignoring dedupe and compression.

Not sure how they compare to other enterprise offerings these days, or how hard it is to roll your own RAID 6 open source thing with synchronous replication.
You're against transparent technology?
Companies are always in the lookout for and hire great talent.

When they say hiring freeze, it usually means they will stop hiring a generic cookie-cutter person or fresh graduates
Same. Many others have said the same thing, nobody I know has trouble distinguishing between secure and non-secure and nobody is enthused about having to run 2 apps to do the same job. Signal foundation doesn't seem to care.
I would like to react rudely to that 4+ hour applicant process. I wish they would come up with a better solution to hiring.

Perhaps that company is only doing this because they have received an untenable amount of applicants who are unqualified.

So the truth of the situation seems difficult for everyone.

My advice is to vote with your feet and find a company where it's right for you.

Find a company where they have virtuous solutions to the challenges of the current world. And then post about it here because we all need to build on other people's good processes.
That's a good point.

[UPDATED]

> But as I told HR (I'm assuming that's the confidential health information you are sharing) I can't work as a hands on designer for the reasons outlined above.

> Or even small companies, like Twitter today.

That's gonna leave a mark.
Network effect, followed by usability, beat most other aspects almost all of the time.

If your options are social isolation or giving up your privacy, the choice is rather obvious for most people. And yes, not using the apps other people use does mean social isolation. Sure, your closest friends will contact you through other ways, but less frequently than they'd do if you were in the contact list of the app they use every day.

Discord is by far the most usable, accessible group chat I've seen.
The Civ4 core game dll was its own bottleneck. It's is terribly inefficient c++. Years ago, I was working on my own mod to optimize it because I got tired of waiting 15 minutes for the AI to complete a turn on a huge map late game. It was not hard to get it down to just a few minutes. I think it could be used as a poster child for a code base written by someone expecting the optimizer to work miracles. Lots of macros hiding expensive call chains used in tight nested loops, repeated calls in loops to get the same item that should have been called once outside of the loop(s), etc.

Python was not the bottleneck, just the scapegoat for badly written code.