skysight-inc/HackerNews huggingface dataset:
Ask HN: Native mobile app or web app?
Do most people prefer native mobile apps to websites these days?

Is this also the case on desktop (and I don't mean electron)?
As a Zig fan, I disagree. I think it's really important to examine the toolchain that beginners are going to use.

> I'm also focusing on software as it is typically shipped, ignoring eg bounds checking compilers like tcc or quarantining allocators like hardened_malloc which are rarely used because of the performance overhead.

To advertize that Zig is perfectly safe because things like ASan exist would be misleading, because that's not what users get out of the box. Zig is up-front and honest about the tradeoffs between safety and performance, and this evaluation of Zig doesn't give any surprises if you're familiar with how Zig describes itself.
Made by machines, for machines. It’s poetic.
Unlike the 1km, this doesn't require 18awg wire :)

10Base-T1L may replace RS-485 in forms of process automation, but the length capability is not the particularly interesting feature there :)
Most of those ants are workers, so already evolutionary dead-ends!
How Uber Halved Their Go Monorepo CI Build Time
I'd also imagine that people using Julia in 2022 are doing so because they wanted to use Julia. They're probably senior and they have a lot of flexibility in tooling selection. Whereas I know A LOT of people using Python and JavaScript against their will.
8601 is fine, but generally MASSIVELY overkill. RFC 3339 might be a bit easier and accomplishes what you want. https://ijmacd.github.io/rfc3339-iso8601/
> Look at his actual comments, they aren’t narrowly related to lab or theoretical efficiency (he is making points about land use, death, etc).

I don't know about deaths, but the point about land use is related to theoretical efficiency. If an existing solar plant that is 20% was 100% efficient it could generate five times as much power in the same space, or generate the same power in a fifth of the land it currently uses. The land used by solar power plants is very relevant when considering its practical utility.

> 20% of something free that would have been entirely wasted is different than 40% of something you have to find, dig out, transport, crush, then filter.

It's not free, though, because those rooftop panels will lose efficiency over time. Eventually they will need to be replaced or they will generate so little power that they may as well not be there. Since they need to be replaced over time then harvesting that 20% of sunlight is no longer free, but carries an ongoing resource cost. Is that more or less than the cost of getting the same total energy from a nuclear power plant?

> I am broadly saying this point doesn’t support his conclusion.

The conclusion is that solar and wind can at best only complement nuclear, and this is supported by various points about the inefficiency of solar panels. Setting wind aside for the moment, why do you think the fact that solar panels are inefficient and degrade over time doesn't affect their viability as an alternative to nuclear power?

Response to edit: I don't know whether the 20% figure counts in the theoretical 100% light that is reflected or unabsorbed. It seems to me that it shouldn't be counted, since if you're going to count light that couldn't have interacted with the cells anyway, then you may as well count light that hits the ground next to the panel, which would mean the panel is 0% efficient.
Microsoft provides the Microsoft Store which when you distribute apps through it Microsoft can handle all the binary signing. The price of that has dropped down to $19/year for "individual developers" [1]. That seems pretty reasonable to me, I'd hope most open source developers could get at least get a Github sponsorship for $20 every 12 months. Rumors are that if you are an open source developer with a well known app you can get the "developer account" for free if you find the right channel to ask, they do seem to want more "official" distributions of open source on the Store.

Obviously, that's not the answer a lot of open source developers want because of mistrust in the Store and Store distribution, but after years of all the complaints of the CA cartels and people asking for an alternative, Microsoft built an alternative (and no one came, lol).

[1] https://developer.microsoft.com/en-us/microsoft-store/regist...
> South Park also put it well when they understood that total abstinence is not the only way to deal with the situation. Maybe all it takes is a little discipline.

Exercising a "little discipline" doesn't really work for addictive substances. In my experience, high-functioning people with tons of impulse control often don't appreciate that others around them have more limited capacity for that. Despite drinking a lot in grad school, I just stopped after my daughter was born. Not out of any problem functioning, I was a social drinker and was just too busy with a job and baby. But it would be foolish of me to assume that everyone can just exercise "a little discipline" and go from 5+ drinks a night to nothing just like that.
If the output .o is identical then I think bazel will also skip recompilation, FWIW.
If one more person tries to tell me it's strain...
Both, any mixture, any strain. Edibles, vaping, smoking, all of it.

Some of the more pleasant times are when I mix up ABV (already vaped weed) into edibles. Those I can get weak enough and with only the more stony compounds remaining where it can be pleasant, but it still turns me into a drooling idiot with absolutely horrific munchies.
The Strong Town series by Not Just Bikes on YouTube is often linked on HN but the third video[0] in the series covers your question. Take a look if you are curious about where the "making ourselves poor" point of view is hatched.

[0] https://www.youtube.com/watch?v=7IsMeKl-Sv0
Exactly. Just to clarify, this is the authority responsible for those multi-million dollars fines against faang
Here's a version with D included:

https://gist.github.com/pbackus/0e9c9d0c83cd7d3a46365c054129...

The only difference in BetterC is that you lose access to the GC, so you have to use RC if you want safe heap allocation.
Who does this kind of app install, and what do these kinds of apps promise that makes this sound like it is worth doing?
You don’t need ai for that, tons of ppl here in russia will do it for pennies.
My basic stance on guns is that people who commit or intend to commit crimes using guns do not know or care about gun laws. We can pass all the laws in the world to control guns and they will be about as effective as all the laws we have to control drugs, which is to say, not very effective.

My belief is that the more we restrict access to guns, the stronger the black market for them. This has proven true with alcohol (Prohibition) and drugs, and I believe, without knowing it to be a fact of course, that it will prove true with guns.

Criminals do not care about gun laws. Only law-abiding citizens will obey gun control laws. If we outlaw guns completely except for police, then I believe criminals will still have guns and will not need to worry about a homeowner, school teacher, or other law-abiding member of the public being able to challenge them when they (the criminal) commit their crimes with a gun.
Sigh Sad and disappointing, but not unexpected. Good ol' US of A, where constant massacres of children makes us decide we need more lethal weapons available in public. The "good guy with a gun stopping a bad guy with a gun" fantasy is as prevalent as the American Dream myth, and more acutely dangerous. (Both are dangerous, to be clear, one is just a more chronic issue compared to the other.)
Yelp CEO shutters some offices, says hybrid work is “hell”
I really hope this isn't a lever to get people to sign into Twitter, Medium-style, just to read a 5 paragraph reaction to some recent event. The reason why Substack and Medium will never find any long-term success is because they don't really scale your audience. They've got plenty of users to fund development, and apparently a good amount of paying readers, but everyone else will never get the opportunity to read their works.
I really want to play Fantasian but it's exclusive to Apple Arcade.

(And I wouldn't mind trying Card of Darkness, Grindstone, or Sneaky Sasquatch either...)
He’s looking at that inflection, which is part of the difference-in-differences trend in econometrics

https://en.wikipedia.org/wiki/Difference_in_differences

The idea is to look for events that provide you with a natural experiment, like the switch to multicore.

Anyway, the cloud has really accelerated parallel loads, so you are right: I’d love to hear about now

https://twitter.com/lookinggdlouis/status/154003428764216934...
I think it's a substance that can lend itself really well to the creative aspects if used in moderation and with something like taking continuous notes so you don't lose those thoughts and ideas.

I've come up with some really great stuff while moderately stoned, and while I don't consume it on a daily anymore, I can't understate the importance of having some way of recording those thoughts as soon as you come up with them be it a notepad, notepad.exe or even a voice recorder if logging things on paper or text isn't your thing because it tends to mess with your short term memory enough to forget whatever interesting point of view you've arrived on within a minute or so. I think I learned this from comedians actually, George Carlin used to work like this. I bet there's plenty of writers on South Park and may other comedy shows who do, too.

Obviously taking it on a wake-and-bake basis throughout the day is going to give you problems though. Don't use it like that unless you're trying to manage serious illness like to keep your chemotherapy meds down or arthritis or whatever. Hell I don't even drink caffeine on a daily anymore because I find WAY more utility out of it once every couple of weeks or so. Oh yeah and if I'm going to agree with anything in this article it's that extracts are kinda too turbo, but I've also tried them in small amounts in drinks (Around 5-10mg) and that was pretty amazing compared to smoking in terms of lack of side effects from inhaling crap.
> but the app store review process makes it harder to sneak one by.

Imo the key question is: If you can find an exploit in the iOS sandbox, will the app store review really stop you? Compared to the expertise required to find such an exploit, it should be pretty trivial to obfuscate it or load the payload remotely after install.
'Fast Inverse Square Root algorithm, which is under the GPL'

The algorithm isn't under GPL, the code is. John took the algorithm itself from code which was written earlier.
This is how I think of this.

Think of the median income of a country that you might imagine is a "nice" place to live. I found a source that lists them all (in fictitious "international dollars", not USD). So here's a few:

* USA: $19,300

----

* France: $16,300

* Japan: $14,200

* Israel: $10,800

* UK: $14,800

* Spain: $11,800

Wow, we are so much richer than those guys. Our quality of life must be higher, right? This extra 30% money for everyone(!) must translate to a higher standard of living. Maybe we work more than people in those countries, but it translates to: less air pollution, quieter streets, less time spent commuting, more pleasant built environments, more beautiful cities, better health, more civil services, better parks and public facilities ...

Nope. All that money just goes to cars. We make an extra 30% -- and then turn around and burn it, literally, in cars, making everyone poorer, more atomized, more depressed, more unhealthy. For an unlucky hundreds of thousands of us per year, we are physically hurt; for 35,000 of us, we are killed!

For what?
Just in Time: Assumptions and Speculations
> I've worked at big companies that have lawyers that care very much about this topic and what you're describing is prohibited.

They are doing this to make sure that any lawsuit can be easily dismissed. It has nothing to do with the legality of the action (which sounds like fair use as the parent described it), and everything to do with the expense of a potential lawsuit compared to the cost effectiveness of simply telling developers “don’t do that”.

Most people think that the law has two shades: lawful vs unlawful. But the more practical distinction is expensive lawsuit vs dismissed lawsuit. This is the lens through which corporate lawyers see copyright and it might explain why so many programmers think that copilot is “obviously” breaking the law and “stealing” their code.
This can bel alleviated by choosing better sources or relaxing the objections to editing titles. I agree that there are lots of useful and informative stories with shitty headlines. I personally don't mind title edits as long as they aim to be less rather than more sensational, and OP briefly notes the reason for the change.
weed is a godsend for me. I normally aways feel a bit guilty if I'm not doing something productive. To the point where its a significant source of anxiety and insomnia. when things start getting to hot in the brain, a few puffs and I'm content to relax, watch some anime and sleep early.

completely agree with the op in general though. def not good of for kids who should be working on establishing themselves.
> you don’t know whether i contribute or not.

Okay, so do you contribute? Because your wording here:

>> i will lose all interest in ever contributing

To me reads as a clear indication that you don't yet.
Your comment kinda demonstrates his point though. He made a comparison, and you pointed out that what he compared weed consumption to is crazy. And you said absolutely nothing about weed consumption itself which is required to understand the validity of the comparison. And not providing that part is exactly demonstrating the lack of self-awareness.
That leaves 2h30 between you finishing work and putting the phone down. It’s not even like @jamwt said “go to bed at 8:30” or even “no screens at all after 8:30”, just put the phone away and chill.
Thanks for sharing this. For other people who are hovering over this and unsure if they want to watch a 40 minute video, it's time stamped and the two parts I found super valuable were the 'Anti-Pattern: Custom Methods' and the 'Anti-Pattern: State Machines' sections. The TL;DR there is it's alright to create a controller that manipulates a single field on a single model. If it is enough of a resource to expose it by a custom url (think update password) it is enough of a resource to get its own controller.

And going beyond that, to the state machine, if each state (or really, value of a particular field) is important enough to have it's own contextual validation, transition points, etc, then it's important enough to expose each state as a resource with it's own controller.

Super cool stuff and I've got some thinking to do about some side projects now.
Some of those moral panics did lead to action though.

Hard drugs, alcohol, gambling, duels; a lot of this stuff is if not banned then at least restricted and regulated.
It should be noted that it is against their rules and you might get worse instances if they somehow detect it

https://research.google.com/colaboratory/faq.html#limitation...
If that's what you want, you should license your code not under MIT, but under a license that allows replication/distribution without attribution. Meanwhile, others who do care about such things can license their code under licenses that require attribution/copyleft/etc.
You don't have any understanding of what CHS is or how it works, so it's entirely inappropriate for you to be making claims about how anyone who suffers from it must be "stupid or naive." From behaviors, to how strains work, to how people get sick, absolutely none of what you said has any foundation in reality.
It was consumed by AI
> However, it's incredibly difficult to harness the compute power of Colab for anything beyond Jupyter notebooks. For Machine Learning engineers that want to productionize their models and bring them out of the notebook stage, this is a particularly relevant issue; notebooks, while perfect for exploration, don't play well with more advanced MLOps tools that codify the training process into a formal pipeline.

That isn't what Colab is intended for. Google has better and more productive tools for companies who can fit the bill, which is getting cheaper over time.

AI Notebooks behave the same in practice as Google Colab with one-click one/off for model testing + JupyterLab. If you want to minimize costs via spot instances, you can deploy a Compute Engine with the Deep Learning VM image, which also includes a running JupyterLab on launch if need to use that workflow, and also saves time by including your framework of choice. A spot VM with a T4 GPU is about $0.18/hour.
> If some ordinary citizens of Italy, Poland, Spain, etc. were calling out for "widening and deepening" I might be more impressed.

Poland is an extremely pro-EU country, the support for the EU reaches 94% in large cities and 88% in the rest of the country. And Poles are very much in favor of these poorer countries joining the EU in one way or another, because everybody knows forming ties with Russia is apparently cheap, but there is always a price to pay at the end.

[0] https://www.thefirstnews.com/article/majority-of-poles-want-...
Is there an explanation of what would go wrong with the naive approach? E.g.:

- Change the binary file format in repos to support arbitrary hash algorithms, in a way which unambigously makes old software fail.

- Increment the Git major version number to 3.0

- Make the new version support both the old version repos and the new ones. Make it a per-repo config item that allows/disallows old/new hash formats. In theory, there's nothing wrong with having objects hashed with mixed algorithms as long as the software knows how to deal with that.

- The old format will probably have to be supported forever because of Linux.

Most user-facing utilities don't care what the hash algo actually is, they just use the hash as an opaque string.
I love Yandex. They are the best search engine by far for politically controversial topics. They also release a language model to benefit everyone even if it says politically incorrect stuff. They also name their projects "cocaine" probably to perhaps to prevent western competitors from using them.

You look at OpenAI and how they don't release their models mainly because they fear "bad people" will use them for "bad stuff." This is the trend in the west. Technology is too powerful, we must control it! Russia is like... Hey, we are the bad guys you're talking about so who are we keeping this technology from? The west has bigger language models than we do, so who cares. Also their attitude to copyright and patents, etc. They don't care because that's not how their economy makes money. Cory Doctorow's end of general purpose computing[1] and locked down everything is very fast approaching. I'm glad the Russians are around and aren't very interested in that project.

[1]https://csclub.uwaterloo.ca/resources/tech-talks/cory-doctor...
There might be more powerful ideas, but I'm thinking pretty simple:

$downrank=%adcount%
www.amazon.com*tag=$inlinks,downrank=2
news.ycombinator.com$inlinks,boost=1
I know how you feel--I've got a decade's worth of shoes around here. I wear a 13EEEE running shoe (and I'm not a runner, I just need the shape), more likely than not a shoe store will have nothing that fits. Thus when I find something good I stock up.

At least for the trails I can so far reliably get shoes that fit, although even there there's none to be had in town, they have to be ordered.
> What makes you think that? I'm pro-EU and ideally I would like to see it turn into a full fledged country. The issue is that the general population doesn't want this (yet).

Disbanding the EU is also not popular with the general population, yet there are many people discussing it and non-trivial political factions supporting it (yes, often they're not serious about it, but still).
Where are the people pushing for a common language? My impression is most staunch EU supporters aren't just not pushing for this - they'd actively try to prevent national languages from dying.
I’m talking in the context of verbatim reproduction, which “suggestions matching public code” sounds an awful lot like. At that point, I think “probable copyright infringement” is a fair description.
Certainly in UK English we use watchdog to mean any organisation that has an oversight role, frequently government ones. For example the Financial Services Authority might be described as “the banking watchdog”, it is very much a government agency.
Codecov releases Impact Analysis to public beta
Don’t most licenses require at least attribution? I don’t believe GitHub is restricting themselves to only licenses that don’t. In fact the only software licenses I can think of that don’t require attribution are 0BSD, WTFPL, CC0, MIT-0 and Unlicense, and they all aren’t super popular. Also in some countries creators have inalienable moral rights which can be enforced regardless of the license. For example in Germany it is impossible to relinquish certain rights you have as the creator of a work, including the right to attribution.
The RAM is not using all that much of the power, and I think that scales more on bus width than capacity.
By the time Git was first released the first attacks on SHA-1 had already been published, but I agree with your general point about allowing for backward compatible updates.
Apple and Android phones hacked by Italian spyware, Google says
> meaning that Google itself does not violate GDPR, but only the websites that use it.

This is so baffling to me. Google has subsidiaries in the EU. The fact that it's ok to give a product to a EU client which can't be used in accordance with the law, and the client is responsible, is just idiotic.
I like to take a break from bike shedding at work with some bike shedding on HN. Has a different flavor.
Those models aren't trained with the objective of being deployed in production.
They are trained to be used as teachers during distillation into smaller models that fit the cost/latency requirements for whatever scenario those big companies have. That's where the real value is.
Why do you think watchdogs have to be non-governmental?

For example:

https://www.theguardian.com/technology/2022/may/05/uk-watchd...
Yep, we're planning to offer a `@shopify/hydrogen-ui` package with useful components and hooks. That work is in progress but not quite ready.

We have a working prototype of Hydrogen deploying to Vercel, and we need to formalize it into our official documentation: https://github.com/frandiox/hydrogen-vercel-edge
It’s really problematic. Next door Cambridge is devolving into civil war over bike lanes on Mass Ave. The trouble is that to put in the bike lanes something else has to give. What’s giving is parking spaces which the merchants consider essential to their livelihood. Every time this comes up on Nextdoor it becomes a shouting match. Personally, I stick to riding on the Minuteman. My calculation of the risk reward ratio isn’t good enough to justify riding on the streets.
> well after ... but not by much.

This seems a contradiction to me. Was it "well after", or after "but not by much"?
I used to use Keep. But have switched to pinboard for the last 8 months and incredibly happy about it. Just don't want to wake up one morning and see Google is shutting it down and go through all the hassle that comes with it.
I love native apps if you publish a native version for MacOS, iOS, Windows, Android, Linux (Qt and GTK frontends, musl/glibc certified), OpenBSD/FreeBSD and Solaris.

Or you could write the software just once, and simultaneously publish it to all of the aforementioned platforms. Your choice, though!