skysight-inc/HackerNews huggingface dataset:
1. Be very skeptical about anything coming out of the Android UI toolkit team, especially ViewModel, LiveData, Navigation Component and Pagination Component. You can do better.

2. Koin is not a DI framework.

3. Avoid KAPT (at least in development builds). It's slow.

4. If you think about your UI as a state machine, this state machine _must_ be total. For all intents and purposes, any possible input can arrive in any possible state due to how the Android event loop and view callbacks work and you must handle it gracefully.

5. Your app can be killed and state restored, partially restored or not restored at any point in time (yes, even if you disable config change) and you must handle it gracefully.

6. Be mindful of energy saving and background tasks. The logic for background work changes frequently and manufacturers do not abide by the standards.

7. Do not blindly implement MVI or similar architectures because you read about it on the Spotify blog. Read research papers and in-depth material from the web dev community. They're always about 5 years ahead of the Android community.
If you have trouble measuring your pupils distance (which is hard), you can also just calibrate using a set of known object sizes and distances.
Higher glass transition temp so can be left in the car, and less prone to break when dropped?
That place is fantastic as well, and just so tiny, barely like a big bedroom! It’s also amazing how zany it’s name is, but it really does have a serious collection of used books. I found some film books that studied directors with depth, but had to restrain myself !
This website was also a lesson to many back in the day how urls could be easily misinterpreted.

Eg “ExpertsExchange” vs “ExpertSexChange”
There might be a higher lower bound. So for all f that meet the requirements, ∫f(x)²dx ≥ d, the article shows that d is at least 4.

I can show that d is precisely 4, because that's the value for f(x) = 6x - 2.
Interestingly, this does not seem to be the case in countries with a well-developed car & cycle infrastructure. It still happens, but it is way rarer than anything involving cars.

Comparing it per-kilometer is disingenuous due to the wildly different speed. If you want to make a fairer comparison, you should look at it per travel-hour. And cars definitely do all the things you mention bikes doing wrong - you are probably just so used to it that you don't notice it anymore.
A quick web search gave me:

> A data warehouse is a repository for structured, filtered data that has already been processed for a specific purpose.

Structured logs that have been filtered by their relevance to security really seem to fit the definition. If we must use newspeak, "log warehouse" then?
No doubt related to the CHIPS act, named after a TV show about motorcycle cops.

https://www.commerce.senate.gov/services/files/1201E1CA-73CB...

Some interesting things in there ($50 million for artificial photosynthesis, what do they know). Plus lots more than that for nuclear. Don't know how much, they purposely broke it into lots of smaller pieces in lots of different paragraphs, like they always do.

All in all a good bill, even though it's textbook business as usual.
it is still not the pedestrians' fault!

call the police and make them notice it.

if bike lanes are not available, they have to, by the law, use the road, not 'what the biker thinks it's best'

Imagine if car drivers did the same "oh, there's a truck stuck in to middle of the road, let me cut through this park where kids are playing, at 80mph"
The problem of figuring out the dependencies of a package given that is was installed by an external package manager is unsolvable. For the pip example, you would have to wait for all runtime possibilities to occur to know what dynamic libraries can be loaded. It's not even clear how the main library should find these given that it probably has /usr/lib/libwhatever.so.13 hard coded inside - should nix try to intercept the syscall for this when it happens?

The way I go about this these days is to keep a nix derivation that builds a container image, and then I run pip installs freely in containers that I spin up. I use mach-nix.

If a package is deemed important, then I add it in the derivation. So there is a kind of flow from "runtime" to "build".
Really interesting documentary, and a cool technology. One thing buried away at the end really surprised me, which is that even if they get it working it'll be more expensive per kg than a falcon 9 heavy. Wow.
I didn’t leave SF, but am based in Midwest. Cost of living is definitely a great help. It’s possible to live on one income (if married). Or, if living off savings, you can stretch it further.

On the flip side, fundraising is harder. You can fly out to SF for fundraising season.
A Possible Fix for Scientific Publishing
Hey HN, I've had this idea for an open scientific web platform for years. It seemed like such an obvious thing to try. I kept waiting for someone else to build it, but to my knowledge no one else has. I finally saved up enough to take some time away from work and build a proof of concept. I'm looking for feedback on the PoC from scientists, scholars, researchers and academics to try to figure out if there is merit to this idea. I would deeply appreciate any and all feedback, and help getting this request in front of more of the target audience.
Which benchmarks? OpenAI claims 37% accuracy on common prog synthesis benchmarks
Self-Reliance (1841)
I have a quest2, I don't think it's anywhere near comfortable enough yet for prolonged use such as development. I've tried watching films in it and even that can get a bit too uncomfortable.

As you say they are still a bit heavy, it's tolerable for an hour of gaming but not work. Now that VR is mainstream I'm sure this will gradually improve, it would be nice to have something almost as light as a pair of glasses or maybe more realistically headphone weight, that would also make it feel a lot more convenient to take on and off without all the head strap paraphernalia. Might be worth revisiting the idea in a decade.
What's the rational behind coming in at that point?

When I was in an office, my team was co-located, so we rarely needed a call. Currently my team is mutually remote without an office, so we zoom our preferred environment.
Glad to hear that. 2023, year of Linux on the desktop.
I'm with you. Read way too many horror stories that I didn't want to deal with it. I'm in the US and when we were looking for a new house a few years ago, one of the hard requirements was no HOA. We compromised on other factors, but not on the HOA!
I haven't used it in the way you're describing but this might be a good place to start.

https://www.oculus.com/experiences/quest/2017050365004772/
In the bed of pickups, maybe?
That is exactly what I did.

I placed a ruler of 40cm on a closet at eye level. I did the thumb trick and found the exact distance I had to stand so my thumb jumped from left to right of the 40cm ruler. Then I measure the distance I was standing from the ruler. distance / 40cm = your body ratio.

So there is no reason to measure length of arm or distance between eyes. We are only interested in their ratio here. You basically run the "thumb trick" in reverse. From the distance and object size => you get the ratio.
A Look at the Lightning Network
Seems like they only just started and are not close to being done. I wouldn't expect any cultural change, such as drivers respecting and riders trusting new infrastructure, within a year.

It wasn't Milan, but I know I refrained from renting a bike in Italy because the road traffic seemed to dangerous. Maybe the standard European bike lanes you're referring to (which don't exist, btw, there are various styles in various countries, some good, some terrible) don't work for Italian road users.

https://road.cc/content/news/milan-confirms-new-bike-network...
N = 1, but looking on Google Maps, pretty much all major parking lots around my suburb have at least 2 (small) trees per 20 parking spaces. In most large lots, the trees occupy their own islands, but a few lots have a line of trees around the perimeter instead. IIRC, there's a county rule requiring a certain number of trees on a property relative to the land area. An least in some properties, the issue has arisen of developers placing trees too close to buildings and other structures for their size.
> e-bikes in particular run much faster than regular bikes and are used much more by incompetent bikers, given they are basically a non-taxed non-regulated non-plated moped (mopeds are quite dangerous for pedestrians)

This is factually false, or at least, in several countries, where their design is regulated:

1. the engines are limited to 250W, which is not weak, but not strong, either;

2. some even have an electronic cap to 25 km/h, and engine turns off after such speed (I believe this is for mid-engine models);

3. can't propel on-demand.

E-bikes are also heavy, not aerodynamic, and don't put the driver in a position to push stronly. The speed demons who overtake me in the streets, are typically non electric racing bikes.

I had both types, and they definitely assist the ride, but they don't push the driver to go faster.

Wheat fits the description you've given are actually electric (kick)scooters:

- they propel only on-demand

- they're often driven by reckless teenagers, which sometimes bring a passenger

- since they're smaller than bikes, there is a considerably lower (both physical and psychological) barrier to traveling on the pavements
If you want to know foods that fight inflammation just look at traditional Indian diet it’s full of such foods because this optimisation is at the centre of traditional Indian diet
This is entirely in line with the APL tradition. I suspect part of the motivation is that APL has a lot of binary operators, none of which have a conventional infix form in traditional mathematics or anywhere else.

(Cf also the Smalltalk tradition, which associates all “binary messages” to the left, but that has the motivation of allowing user-defined names without fixity declarations.)
I’d argue the Mac is nearly as locked down too, at least as far as the permissions that apps have and are granted, for things like the mic and camera.
Opus is low latency and higher quality than the other music formats. It was designed to be suitable as a low delay voip codec.

I've never seen comparisons to the proprietary Bluetooth codecs, but those are always implemented in hardware so it is impossible to do.

I don't know about battery usage, but Opus is simple enough to be implemented on micro controllers, so it should't be too bad.
Cars are far deadlier for both individuals and the planet. That's why everybody travels on the sidewalk. If instead of subsidizing cars they built infrastructure for pedestrians, bikes, and light EVs, then there wouldn't be a problem.
> it isn’t because they aren’t capable. It’s because it feels silly or wrong to sing when you’re supposed to be talking.

My problem with tones is mostly that they are hard to remember.

But I think you have a point that sometimes it feels silly. Especially if you learn with non-native with others who have the same bad accent as you, you don't want to stand out as the one who tries too hard.

Another issue is when the language you learn use the same alphabet. For instance, if you're French learning English, you're tempted to read the English words with your French accent.
So you’re trying to regulate morality?
Maybe all types of shelter covers will be replaced by solar panels once they're cheap and efficient enough. Canopies, roofs...

My house is almost 100% covered by solar panels, they pretty much are my roof. It's really nice. I wonder how much energy we could generate if every house had solar panels instead of roofs. There probably aren't enough batteries in the world to store all that power.
> Even if China completely wipes out Taiwans 1% share of GDP that impact is miniscule compared falling 10 years behing on Moore's Law.

I could not tell if it was a tongue in cheek statement, but if not, can you explain why falling 10 years behind on Moore's law would be such a big deal.
That is a significant change. It seems like Tokyo winters are much milder now than pre WW2.
A friend of mine in the 90s was there as an F-16 test pilot and saw the accident. He said this sort of problem is a well known risk of being a test pilot so they spend a lot of time on planning how to deal with something bad. He also said they usually left much more daring things to safer places and preferred to keep the air show maneuvers less risky since crashes are not a good marketing plan.
I'm not sure what your point was?

https://www.yorkshirepost.co.uk/news/people/cyclist-riding-e...

To me it is quite obvious that pedestrian crashing with a bicycle is much less dangerous than pedestrian hit by a car.
https://www.pressreader.com/china/south-china-morning-post-6...
Do you think returning to god would help solve our cultural issues?
Flash, Shockwave, Silverlight, Java Applet, and many more.

Be cautious investing time into development on a user downloadable runtime.
I was referring to laptops, which most developers use these days.

umanwizard's reply is interesting.

Also - I have been using Linux for 26 years, if that matters. However, on the desktop I largely moved to macOS (then called OS X) in 2003.
Ha ha, I say build shorter trucks.
Twitter's lawyers (Wilson Sonsini IIRC) don't need to be. Quinn Emmanuel, on the other hand, might be.
VR development is very video-gamey, so tools used for videogame development is used the most: Unity, Unreal Engine, bespoke engines written in C++, Godot, etc.

The default Oculus browser supports WebXR, so if you want a more webby tech stack you can start building using stuff like A-Frame or Mozilla Hubs. Though, be aware that whatever you can run in web-based VR is still pretty much second-class citizen status, with heavy performance/usability restrictions.
The Thousand Brains Theory of Intelligence proposes that rather than learning one model of an object (or concept), the brain builds many models of each object. Each model is built using different inputs, whether from slightly different parts of the sensor (such as different fingers on your hand) or from different sensors altogether (eyes vs. skin). The models vote together to reach a consensus on what they are sensing, and the consensus vote is what we perceive. It’s as if your brain is actually thousands of brains working simultaneously.
Similarly you can estimate the time before sunset using your body.

Hold out your arm and see how many fingers fit between the bottom of the sun and the horizon.

Each finger is about 15 minutes.
Shinzo Abe's assassination shows Unification Church links to Japan's politics
If you want to take your bicycle on the sidewalk, you're welcome to walk your bike.
See also: Calling for donations after the reversal of Roe v Wade.

Disavowing the role of the party in power to control gas prices when they’re rising and then tweeting about how much they’re doing to save Americans money when gas prices are falling.

As no fan of either major party, it’s amusing to me (and slightly sad) to watch true adherents point fingers at the other side.

* - https://twitter.com/vp/status/1552050367822708737?s=21&t=83g...
> Rules are rules, unless someone thinks that bikers are special and aren't subject to the same laws the rest of us have to follow.

There are indeed different rules for cyclists. There's the Idaho Stop and variants, Paris allows cyclists to go treat red lights as give way. Here in the UK, some one-way roads have a bit of paint to indicate that cyclists can use it in either direction.

Personally, I find that traffic lights are fundamentally designed for motor vehicles and there's better designed junctions that can allow cyclists/e-scooters to go through (with care) whilst the larger vehicles are stopped. Also, zebra crossings are much better for cyclists to use as they don't have to automatically stop (which costs speed, momentum and energy) when there's no-one on it or if they can safely pass behind the person crossing.
> The question is whether we can recognize and want to solve the problems imo. Today our media seems incapable of highlighting issues. The media pushes a narrative to effect social change (ie political); rather than presents the issues.

Interesting. I actually have a completely opposite theory of media. In my experience and research, the way that news media effect change actually _is_ to make narratives and more importantly, bang on and on about them for quite possibly years.

Obviously, me being in the UK, it might be different. But I can find countless examples of the media just presenting issues neutrally and absolutely nothing happening. Because people presented with just an issue simply go "damn, that's crazy, someone should do something about that", and then forget it unless it's about dogs.

But the success cases of the media truly affecting change (I'd list some example but they're all UK cases. A big one is one of our papers spent years pushing for an investigation into a famous case of a mass death at a football match where the police blamed the victims for looting corpses and attacking people to deflect from them not acting in time.) But they all seem to include specifically _finding_ narratives to frame stories with and basically telling them again and again with constant calls to action and searching out every new detail about the story that can have anything done about it.

This is why the NRA are so incredibly effective at making change, they bang on and on about one thing and tell their members whenever anything they can show up to is happening and exactly what to say and do to disrupt or prevent it.
I'm using Pinephone with Mobian as a daily driver. Installing Mobian is as simple as writing iso to a microSD card and inserting it. Telegram and Firefox are somewhat slow but generally work reliably. Noscript helps a lot.
You only hear the horror stories. My HOA is very reasonable and just wants to make sure no one doing anything stupid. They don’t even enforce their own bylaws in most cases or fine people. People outside the US have HOAs they are just called something different in apartments/condos or even when the local city runs things.

Not sure why people complain about HOAs when they bought the house knowing full well what they were in for. I had to agree to the HOA rules well before I bought the house.
Btw, does it allow you to run different scale on the different monitors? It wouldn't really be feasible to run native 4k resolution on one monitor if everything will be tiny, so it needs to have scale. One monitor might run on 1x and the other 2x.
Ivy is described as a "plaything". Rethinking rules that everyone takes for granted and seeing where it leads seems like a fun way to play.

My first CASIO scientific calculator at school didn't understand operator precedence. Since that was how basic calculators worked too, it seemed perfectly natural. I loved that calculator - there was a simplicity and purity to it.

When I got a fancier one at uni that had been taught BIDMAS, it took me a long while to get used to, and I never really enjoyed using it. I don't think it was just because the squidgier keys were less satisfying to tap.
The nuclear wind-down happened in many Western countries and can't be explained solely by US-specific legislation.

The Swedes decided after TMI to not pursue nuclear power. Austria built a reactor and a referendum prevented it from coming online in 1978, with Austria prohibiting nuclear power the same year outright. Spain stopped construction of new NPPs in the 80s because the Socialists were against it. German Konvoi (3rd gen series PWR) was killed for good after Chernobyl, though I grant you it also suffered higher-than-expected costs due to each state having different legal requirements. The only Konvoi plants that went online did so shortly after Chernobyl, because construction was essentially done at that point. Italy shut down their NPPs after Chernobyl and prohibited construction of new plants in '87. etc.
Bikes can kill (or severely injure) too. I had cca 3 super close calls in past few years with bikers going downhill like crazy, zooming through the crowd of cars stopped on red light, not even attempting to break, and going through the crowd of pedestrians walking on green through the pedestrian crossing. Missed me by cca 10cm each time, of course completely silent. Their speed was cca 30-40kmh each time.

Another fact is, bikers, electric or not, simply disregard any traffic rule. Cycling (fast) on sidewalks. Ignoring one ways, red lights or well literally anything that makes traffic rules.

The problem with bikers is mostly their mentality. Feeling above others, above rules, 'I have everything under control' mentality, in past few years added the sense of righteousness because they are 'ecological' (on their 5k$ ebike with tons of eco waste required to produce one, instead of boring good old public transport which works pretty great here).

When my wife worked at emergency, they had a case where pedestrian was hit by cyclist in similar situation as my experiences above (crossing road on green, mental cyclist comes speeding on his red light). Pedestrian went into coma and died 4 days after the accident, 40 years old healthy guy with family. These kind of cases don't make big news, its not terrorism but it happens. Just talk to emergency folks.
> you should look at it per travel-hour.

that would be awesome. if only there was a way to monitor bikes and who runs them...

anyway, per hour is even more faulty than per kilometers.

nobody drives a bike for 5 hours straight, unless it's a professional competition.

> And cars definitely do all the things you mention bikes doing wrong - you are probably just so used to it that you don't notice it anymore.

I've never seen a car jumping on the sidewalk intentionally or running high speed among people in a park walking their kids in a stroller, in the almost 50 years I've been on this planet.
I live in seattle, we have .. some bike infrastructure but much of it is less than ideal (unseperated bike lanes, 'greenways' normal roads that are promoted for bicycle use which can be ok, but i often get aggressive drivers pissed that i'm using the greenway), Every time there is a bike lane and a sidewalk and I choose the side walk it comes down to either: 1) the bike lane isn't actively safe at all, too narrow, un-protected from heavy car traffic or torn to shit or 2) there is some asshole or assholes parked/double-parked in it.

I'd love not to be on the sidewalk, it tends to slow me way down (pedestrians that I don't want to hit).
This is annoying because some of this equipment solves usability problems (small hands, small heads), but it's only available at a premium on top of the most expensive tier of products. I am imagining a team of product managers patting each other on the back for accessing new markets AND increasing margins.
> Reduce the amount of code in your function artifact

From my observations, this is the tip that is discovered far too late in a Lambda development process. A team that already does Java makes assumptions about the codebase, project structure, and will add in the usual dozens of imports or attempt to reuse several existing projects to save on effort. I've seen cold starts of up to 50 seconds when this advice is ignored and a team tries to treat a Lambda project as just another Java project.

And by the time it's too late, it's too late in the project... so the team will not want to optimize the codebase and instead start hunting for bandaids such as provisioned concurrency which can have an impact on others in a crowded account.

Lambda and Java shouldn't be entertained without knowing about these problems up front, importantly it's the mind-shift required to ensure that the codebase is as lean as possible.

So for that reason I still don't recommend Java and Lambda together, I'll point a team towards Python or NodeJS, even .NET Core where I've not seen the problem to such an extent. Inculcating the leanness of a codebase is much easier with a new language (that is, a change of scene).