skysight-inc/HackerNews huggingface dataset:
Most of these stories of companies dumping react native are from apps that didn't start out as react native. Adding react native to an existing app and organisation is MUCH harder than using react-native or full-native from scratch

Not only on the engineering aspects, but on the people as well. You will have a lot of attrition with devs not wanting to switch

I would say that the only 100% safe way to succeed in this endeavour is to fire ALL your native developers and rewrite the app from scratch instead of introducing RN gradually. Obviously that is impossible for any app that is already big

So unless you are willing to do a full rewrite and fire all your native developers and hire some people with RN knowledge (you need at least a few people with RN specific knowledge even if you have web-only devs) you will most likely fail

Also if you DO want to share code between your RN apps and your web app that is ALSO somewhat harder and might need significant rewrites of your web codebase

So in short, DONT DO IT, it is very unlikely you have the in-house experience and political will within your company to pull it off
I've found that a super simple way to parse basic expressions is a recursive descent parser. It is very simple to implement. No need to to break into tokenizer/parser, no need to generate an AST, just evaluate the expression while parsing.
This is well beyond my comfort zone of knowledge, but I have to ask. If I throw an electron in, and have "artificial Hydrogen," and then throw a couple more in and have "artificial Lithium" — don't I actually just have Hydrogen and Lithium? That is, what's the difference? Is it simply that I produced this rather than it originating "naturally?" Or is there some other unique property that makes it "not really Lithium" in the lab?
> or view the form here https://sayitwith.ink/form/d59de7609590d1da1cd24fb5ddd6a775

bad form id
Believe it or not, it’s actually possible to pay attention to two (or more!) things at once! It’s even required to drive effectively, such as paying attention to side and rear view mirrors while also paying attention to what’s going on in front, while also paying attention to vehicle handling and road conditions.

Or are you white knuckling while staring straight ahead the entire time, and thinking you’re being safer?

And no, I haven’t had any accidents despite driving a lot.
No. Zuck's had this problem forever.

It's just astonishing that you can visit Horizon Worlds, have no legs, and get sexually harassed by another person with no legs.
The future of cloud is Zero Isolation... With all the mitigation slowing it down, and the current energy prices and rising, having super-small nodes that are always reserved to one task seems interesting.
I mean, Bangqiao wiped out numerous settlements. On the other hand you know the remaining RBMK reactors at Chernobyl continued to operate for years after the incident, the last one closing in 2000, and only after the international community conditioned funding for the New Safe Containment installation on it. There's still a few RBMK reactors operating - after the safety retrofits of course.
> The touch screen, since it can have scrollable menus, gives significantly more customization opportunity than pure physical controls allow.

I do want a screen for GPS navigation, and for the backup camera, but I don't need it to be touchable at all. I'd rather have fewer features that need customization than add a whole system that allows me to customize those features.
Not useless, but users will need to manually flash tow-boot when that should just be the default. If Pine64 had made better moves, their customers would have never had to worry about firmware or bootloaders, only which (standard) distro install media to use.
CLion is a solid Choice for some C and C++ workloads, not all of them. It’s pretty good at most tasks. Struggles with super large projects and exotic compilers/build systems, but mostly solid.

Though if you’re accustomed to say visual studio, there’s few reasons to switch.

It’s nice to have a enterprise-grade IDE on Linux, though. I personally love it.
I would say it can also be linked to fact that music from your teens and twenties is important because you tie it with emotions you lived going to the parties with friends.

After 30 most people have job, kids go for parties a lot less often.
This happy path seems pretty nice, but I feel like there’s lots of room for attacks of various types, anyone aware of pre-existing discussions around possible attacks?

For example would something like a robocaller be able to reconstruct my social graph? What about work/life contacts leaking across boundaries I’d prefer they didn’t?
This is really cool, you're a braver person than I for tackling the English representation of numbers stuff!
If you want to use SAS with the Pi, I've only gotten newer generation Broadcom/LSI cards working so far—see my notes for the storage controllers here: https://pipci.jeffgeerling.com/#sata-cards-and-storage
Aside from running Ceph as my day job, I have a 9-node Ceph cluster on Rasberry Pi 4s at home that I've been running for a year now, and I'm slowly starting to move things away from ZFS to this cluster as my main storage.

My setup is individual nodes, with 2.5" external HDDs (mostly SMR), so I actually get sligtly better performance than this cluster, and I'm using 4+2 erasure coding for the main data pool for CephFS.

CephFS has so far been incredibly stable and all my Linux laptops reconnect to it after sleep with no issues (in this regard it's better than NFS).

I like this setup a lot better now than ZFS, and I'm slowly starting to migrate away from ZFS, and now I'm even thinking of setting up a second Ceph cluster. The best thing with Ceph is that I can do a maintenance on a node at any time and storage availability is never affected, with ZFS I've always dreaded any kind of upgrade, and any reboot requires an outage. Plus with Ceph I can add just one disk at a time to the cluster and disks don't have to be the same size. Also, I can move the physical nodes individually to a different part of my home, change switches and network cabling without an outage now. It's a nice feeling.
Yeah you are missing the fact that the bottom 50% of Americans don’t show up in economic charts or data. The wage disparity is so high that they basically become noise on most statistics. Basically if the top 10% do well then it looks like the entire country is doing great.
This is a good document. I remember receiving it from my boss at NIST when I got there as a postdoc.
Yes I think it is possible to ship dotnet applications and packages as apt or other image formats. What I would do is to put the Nuget package inside the deb package, extract it into the local Nuget cache, and then let Nuget discover it as if it had downloaded it.
Clicking the "view the form here" link is also bugging out, says "bad form id"
I feel like you're inferring qualities in OSS that don't (explicitly) exist. This is not uncommon. Specifically;

>> It seems the large corporations like FANGs are largely pushing OSS to use volunteer work to make software a commodity

Why would you expect them to do anything different? Companies are driven by profit, not some sense of morality. OSS licenses allow them, even encourage them, to trade volunteer (aka free) labor in return for source code availability.

>> which to me seem increasingly more about a way to make a profit of the FOSS trend by using volunteer work without any investment from their end.

There's often serious investment from their end, but that's irrelevant. They absolutely want to leverage FOSS to make a profit. And that's explicitly allowed by OSS licenses.

To put it another way, your disillusionment is because of a "bug" on your end, not on theirs. They are behaving exactly as OSS is designed. Your _expectation_ of their behavior is inaccurate, and so does not match reality. Not surpisingly this makes you sad :(
When Docker images stop being portable
You could have said the same thing 30 years ago because of the C standard library. People used to hand-roll a lot of code you get for free from it.
Thanks a trillion. I'm basically hoping to use the code I write targeting redbean + lua + sqlite in an OpenResty (nginx + their set of lua modules) environment without too much mental overhead or god forbid, a parallel implementation. This confirms I'll be good to go!
You don't write off your rental income. You depreciate the rental property over 27½ years and write that off against your rental income. Few rental properties will have under a 3.7% ROI where depreciation would cover all the income. At best you might be paying half tax. In your example, you'd pay no tax, but you'd lose out on the potential income you could have had with better investments (and lose about 6 years' worth of depreciation by the depreciation then being too fast).

And flipping to more and more expensive properties through 1031s requires more and more capital and only makes it cover less taxes. There's no tax benefits versus just keeping the first property and paying all the taxes and buying a separate property to depreciate.

If you sell a $500k property earning $40k/year where the depreciation covered 45% of your income, and you buy a $1 million property earning $80k/year, you get a new $500k to depreciate $18k/year. Then the depreciation only covers 22% of your income.

Depreciation is very fundamental to business tax law. I'm not sure how you'd "fix" that without penalizing non-rental companies for expanding.
My personal belief is that the housing supply scarcity is having the opposite effect and is actually holding property values down. Let’s say there’s two 1 acre lots that have a market value of $1m each. A developer can buy them and turn them into 8 condos and sell them each $600k yielding $4.8m. Is it possible the developer would pay more than $1m apiece for these properties? Obviously, these numbers are made up someone who has no real estate experience. with current prices the way they are largely due to zoning and external factors, the base economic case for these things holding down property values seems at the least a defensible argument.
>I guess if weren't registered I'd go down to the town hall and do so.

What if your job wouldn't let you off during the town hall's regular hours? What if you don't have transportation? What if you don't have the necessary forms of identification?

> I assume I could call the town clerk, and they'd send me a form in the mail

What if you're not already registered and cannot just fill out a form to send in? What if you have to provide proof of residency in the form of a bill in your name and current address that matches your ID? What if you don't have an ID because you can't get to the DMV because you can't get time off work to go get it, or you don't have transportation, or you don't have internet access to set an online appointment with the DMV, or your credit is bad enough that the bills are only in your roommate's name to avoid headache with those companies?

I guess my point is, it's very flippant to just say, "well it's easy for me, so it's probably pretty easy for everyone else, so it must be apathy as the only solution."
Credit where it's due - this is some 18 watt awesomeness at idle. Is it more "practical" than doing a Mini-ITX (or smaller, like one of those super small tomtom with up to 5900HX) build and equipping it with one one or more NVME expansion cards? Probably not. But it's cool.

Now, if there were a new Pi to buy. Isn't it time for the 5? It's been 3 years for most of which they've been hard to fine. Mine broke and I really miss it because having a full blown desktop doing little things makes no sense, especially during the summer.
Anyone who works in automotive manufacturing/pricing: what does the touchscreen/cameras/“smart” part of the vehicle cost?
I’d love to buy a “dumb” chassis/motor/battery/interior from Toyota (for example) and plop in a tactile console with a simpler controller. I wonder if there’s a market for something like that at a possibly lower price point.
So far it seems like "maybe 2023"... this year supplies have been slightly better, but not amazing. Usually a couple CM4 models pop up over the course of a week on rpilocator.com.
We'll be training it over the coming weeks and releasing a checkpoint! Right now it is just the model source code
This is extremely uncritical at best and copaganda at worst. We also lag behind those comparison countries in hundreds of other metrics--food security, housing, segregation, relative public spending on healthcare, education, services, etc.

What would make more of a difference for crime--expanding police budgets in cities that already outspend dozens of foreign militaries or investing those resources in systemic changes to provide people wellbeing and economic stability?
>We look at podcasts as one of the largest knowledge-bases in the world, and are hence focused on the knowledge-seeker community, While our competitors treat podcasts as music which you listen to from start to finish, we look at them as a series of knowledge-rich moments.

I find this view of the podcast ecosystem very interesting. I believe this understanding is allowing Snipd to provide a new way of consuming podcasts,
Your last link is 404ing
Anti-usury laws of some kind might help too. Anything over an effective 25% APR (including one-time fees) seems like a trap.

But you're right, there's no political will to do anything like this since consumer debt helps to fuel the economy.
Interesting take. As a TNG geek who's watched the episode multiple times, all I ever took away from it was an extremely overt, stereotypically early-90s "Drugs/addiction are bad" message. Particularly, Wesley and Robin's discussions about addiction sound like they are straight out of a DARE pamphlet.
It indicates an overheated economy
You must not be in the Java world? They have dominated the IDE there for quite a while.
I’m more concerned about changing the license of contributions during merge to master or a release. That something goes wrong there and the whole code base ends up „poisoned“ with non free code.

Software licenses need to work in a lot of different legislations, and it’s really hard to make a license that means the same thing in all countries.
And speaking of audio, make the volume control a real analog knob that's directly in the output circuit, so when I quickly spin it down it immediately goes down. Not some encoder that's trying to rationalize how far down I really meant to turn it, with an inevitable delay.
> It is easy to pick an example like this to show the “bad” sides.

You're saying this as if the example is a cherrypicked outlier rather than ubiquitous.

> If people had to pay inheritance tax on their family home, how many could not afford such a tax bill and would have to get rid of their family home to please the tax man.

At some point in the value of a home, we're not really worried about that. We do not sympathize when someone can't keep their parent's $50 million dollar home tax-free. We've set that cap at around $12 million. It's a very high cap.

edit: we're happy to grab the estates of working people who end their lives in intensive care, nursing homes and hospices, before the Medicare kicks in.
Double-entry is kind of a bad name, but the concept is sound.

I like think of each entry as the complete journal entry - a set of debits (abbreviated DR) and credits (abbreviated CR) that describe an event. Debits and credits are, as many accounting instructors have taught many students, names that effectively mean "Left Side" and "Right Side". Some accounting systems represent debits as positive numbers and credits as negative numbers - this is perfectly valid too.

Say somebody purchases a product for $60 and a service for $40 from me. The product that I sold cost me $40 to purchase, and both the product and service have a 5% sales tax applied. This is a very common transaction - car repairs, for example, are usually a combination of products (e.g., oil, oil filter) and services (e.g., oil change and inspection).

Account DR CR
Cash in bank 105
Tax Payable 5
Sales Revenue 60
Services Revenue 40
Cost of Goods Sold 40
Inventory 40

In this example, I collected $105 in cash from my customer which will go into my bank account. Because of this sale, I now owe the relevant tax agency $5 because I collected sales tax on their behalf. I recognized sales revenue of $60 and services revenue of $40. Since I sold some physical goods that I had in inventory, I also reduced the value of my inventory by the cost of what I sold.

This is, in my mind, one "entry" which has six detail lines to recognize all of the different things that need to be recorded for this event. The important point is that everything balances, credits always equal debits.

Some businesses might not do the Cost of Goods Sold / Inventory entries with each transaction, instead they might count their inventory once a month and calculate out how much they sold (inventory at start + inventory purchased - inventory at end = cost of goods sold) and just do one entry a month to get the books in sync with reality.
I think for a creative website like that is intended to showcase artists it makes sense. Unfortunately I don't think there's much they can do about losing in the market to text-to-image models in the long run... the costs are essentially zero
Thanks! I don't think we could have done TigerBeetle the way we did, without Zig. It's been two years now, and looking back the choice has worked out well for our design decisions. For example:

- single-threaded control plane (thread-per-core architecture),

- static memory allocation at startup (we never call malloc() or free() thereafter—no UAFs) for extreme memory efficiency (TB can address 100 TiB storage using only 1 GiB statically allocated memory),

- explicit memory alignment expressed in the type system (for Direct I/O), and of course,

- Zig's comptime which is insane. We use it to do all kinds of things like optimize the creation of Eyztinger layouts, or to eliminate length prefixes in our on disk LSM table formats.
That would cost 6 arms and 6 legs.
Anything that feels repetitive, like writing boiler plate code, is something that can, should, and probably will be automated eventually. This is a constant if you are a programmer, whatever you are doing today that is repetitive, you'll likely be using some better way of doing that in the future. And as Alan Kay says, the best way to invent the future is to invent it. I'm always on the lookout for doing the same things with less repetition.

Boiler plate usually results from people using something that was not originally designed to do that thing or not designed that well. It's indicative of some kind of design friction or feature creep. When it works, people just do more of it without really thinking about what they are doing or why. If you see people copy pasting the same blobs of code over and over again, that's a good sign something is wrong.

At some point that becomes the way things are done and people start nit picking each other about doing it properly and then inevitably somebody comes along and does a thing that is vastly simpler and accomplishes the same thing. Happens over and over again. Some people then inevitably resist that new way of doing things because they are really invested in the old way. But the way our industry works is kind of Darwinist; so those things tend to die out quickly once something better comes along.

The two mistakes people in this industry make over and over again is assuming that 1) they know it all and 2) things don't change. Because things actually do change, and usually for good reasons, the former requires work to stay true. Some skills last longer than others and not all change is great. If you are just coasting and writing the same stupid code over and over again like it's ground hog day, it's going to eventually run out on you.
Although "not ship work in progress" has many advantages, it interferes with "staying very close to HEAD of our dependencies" as discussed in the https://aboodman.medium.com/in-march-2011-i-drafted-an-artic... post. In other words, if your code is being consumed by another project that has extremely good test coverage, and your HEAD changes, then they can manage the risk of proceeding - even if they have no a priori idea of whether your latest commit is for a standalone improvement, or whether your latest commit is disruptive unless the entire work-in-progress is consumed together. They may find that managing this risk is easier than managing the risk of "huge chunks of new code suddenly showing up."
The solution is to have a "mode selector" so that the buttons have a fixed meaning in that mode. Like a 3 position rotary selection switch, all the way the left could mean basic AC control.

I'd love buttons with braille on the surface so I could read what they said without looking at them. Does someone make mems braille screens?

*edit, looks like there is a bunch of stuff in the works

https://duckduckgo.com/?t=ffab&q=mems+braille+screen&iax=ima...
Show HN: Task – A task runner / Makefile alternative
Yes, that was quite confusing. Thanks for mentioning.
After the Zig compiler that is, which dwarfs TB's code base. The Zig core team are all machines. ;)
They are Czech on paper, founders and most high level employees are Russian. Their main dev center used to be Sankt Petersburg, that's why Kotlin is named like that.
Most cities are where they are because all the good spots have been taken.

Any new significant city will need billions if not tens of billions of dollars on transport links, water, sewer, etc, if there is even a way to bring a city sized amount of potable water.

And then you have to convince people to actually move their residences and jobs there. Most people don‘t like betting uprooting their whole family and social lives on a total unknown. History is littered of examples of new failed cities that in the best case scenario became really far bedroom communities, or in the worst case didn‘t get off the ground.
Yes, this, exactly. Two different people who bullied me in high school aggressively (for my sexuality and general nerdery) have gone on to be cops—they were the type to post pictures of themselves on Facebook shooting guns.

I would run from them without hesitation if they ever pulled me over. They're not the right type to be cops. And I'm relatively confident that many, many cops are like them. It's chilling.
And, of course, these models learn in part from the art generated by these artists. If we stop having humans create art, we're no longer generating data to train the next generation of models and so in some sense the "creativity" of these models would seem to necessarily be hindered.
Am I missing something? Did you know my grandmother?
> Writing tests is time-consuming, usually doesn't scale, and it easily creates tight coupling with implementations

After thousands of years, humans still use double accounting in finance. This is because it's effective. Unsurprisingly, it's tightly coupled to the original transaction recording.

The constant assertion that tight coupling is bad, because it creates more work which can be error prone. This is a fundamental problem with how people discuss software testing. It's not a panacea, but a guardrail. Guardrails aren't indestructible. That isn't the point. Developers have an obsession with making things as easy as possible (be that simplifying or codifying) and this is not a domain where that makes for a better solution, all other qualities being equal.
Google Cloud will shut down its IoT Core service next year
Author here. We just pushed out a fix. Thank you for flagging!
I would guess that the art direction is still informed by the desire to use this technology for phone calls and work meetings, where a sanitary and boring avatar is fitting.