skysight-inc/HackerNews huggingface dataset:
I agree that we need to plan for climate adaptation (preparing for predictable problems) and resilience (preparing for unpredictable problems), but I have a few kneejerk responses:

- Although it's looking increasingly unlikely that we can avert climate disaster, we can never give up. For example, 8 degrees of warming would be much worse than 4 degrees of warming, and could mean the difference between human extinction and the mere collapse of our civilization. The lives of billions hang in the balance, and even if some will inevitably suffer and die, we can't just throw up our hands and let everyone die. Climate change mitigation, cutting emissions as quickly and thoroughly as we can, must remain a priority for the rest of our lives, even if we can no longer reach the best/safest scenarios. Every little bit of avoided global heating matters.

- This post, as dire as its predictions are, may underestimate the difficulty of computing in 2050, given current trends. If you are/were living in Ukraine recently, programming is not most people's top priority, they have other problems. Famines, extreme weather events, and resource wars will affect programmers who live in comfortable locations today. It's not just your users/audience who might be computing from a shitty mobile phone in a refugee camp, it could be you. Don't forget that we're not only dealing with climate change, but with the reaction of other people to climate change: they might want to kill you for your water. And heatwaves are predictable in India/Pakistan, but look at the freak heatwaves in Canada recently, nowhere on Earth is safe, the climate crisis is a global problem.

- Why are we programming what we're programming? Shouldn't our activities and their purposes change given the dramatic change in circumstances? Isn't there something wrong with the system that produced this result, the impending destruction of the biosphere that supports us? Fighting valiantly to preserve the functionality that is killing the world may not be a wise or ethical use of your time. (And if you're programming something for a fossil fuel company, now is a good time to reconsider.)
Is she confused because you're a polygamist? :)
Wondering the same!
One problem is that a lot of people in the field are very specialized in just one part of the spectrum. For example Marion Koopmans knows a lot about virusses but doesn't know a lot about immunology. That is totally ok, but also means that her view is limited and is very focused on viruses.
Computer science programs used to teach variations of C/C++. Last I checked where I went as well as talking to junior engineers I have worked with. You can get through a whole CS program at a dop 50 university without touching the language.

There have been debates here about C/C++ being "dangerous". And it can be, if you don't know how to use it. I recall discussions where doing in-line assembly in C had a similar discussion.

It doesn't take being an "expert". It does take "understanding what you are doing" but that same thing applies regardless of the language/tool/etc.
At some point, we'll have to put a fine dust in the upper atmosphere.

We seem to have most of the building blocks already for renewable energy. Just need to focus on it and assemble them together... and decide it's worth giving up fossil fuel related things that are still functional.
Exploration and fun
> such as the Tongues you received as a kid when you were forced into learning the bible against your will

Wait, what? My wife stopped going to Awanas when some leader told her she was going to hell for not learning the Bible verses. Later I learned that her father was pissed off about the whole situation.
If truth is on your side, you should not be afraid if someone is pointing out potentially illuminating facts. You just put them in proper context. Or your point that the statements are actually false?
This is exactly true. Noone in the C++ world uses all of C++ in their project. It is a multi-paradigm language, and you are free to choose one (or a few) of the paradigms and follow it throughout the entire project. For example, you can choose to base your project on virtual functions and interfaces, or you can choose to employ static polymorphism instead. Remarkably, even the C++ standard library, for all its intricacy and complexity, does not use all of C++. Also, it is useful to see C++ as two languages, one for library developers, and one for developers of applications.
You can turn off voice purchasing entirely.
I bought a personal MacBook Pro M1, and last year there was a 1 month wait list. I ended up buying not from Apple but from my local independent Mac store: they only had 8G models in stock. Anyway, I do Common Lisp, deep learning, and Swift dev on it with no problems. I would rather have 16G, but 8G is working for me.
He’s saying, that unvaccinated kids are at a lower risk for serious COVID than is a vaccinated adult. It’s true as far as I can tell. So far, COVID has proved to be quite low on the list of things that kill kids. The ratio of fear to danger is / was way out of whack vs other things on that list.
How can a purely static class have internal state if there's no instantiation of the class or instance variables? Are you referring to variables declared on the class directly?

If so, that feels analogous to a function potentially having module-level state variables to me, in Python for instance.
This is a really neat idea! I wonder how close you could get the prose to actually explaining the codes purpose as opposed to just saying "this is a for loop"?
Anyone who thinks that’s what this is about has not been following Right to Repair. While it would be great if things were designed with repairability in mind, the ask from Right to Repair is that no one be impeded from accessing manuals, components, and software needed for repair.
I discovered this flaw 3 years ago and sent it to many bug bounty programs. Almost all were closed as informative/not a security issue and I was paid $50 for one after 6 months as a low priority.

This issue will most likely never get fixed as I already let most of the companies in this article know it was a problem...and they just don't care.
I'd love to see this someday, as an Emacs user. One of my biggest frustrations with Emacs is how it can simply just hang while waiting for anything IO bound (like a response from LSP). It mostly only happens when opening a new file, while in VSCode for example the file is opened immediately and things like LSP and syntax highlighting are loaded in the background.
Well then, they shouldn't promise what they can't deliver.

Also, I don't think that's true. And it's part of the problem with the current DDG defense. They have an agreement with MS to not block 3rd party trackers, and they say "in any case it's very difficult to do and nobody else even tries to do it".

It's a misdirection.
The only two reasons that the CCP seems to not simply be exterminating is:

1) they see more value, for the moment, in these people as workers-slaves (so if they can successfully "rehabilitate"/"re-educate" them, then that's better for everyone), and

2) there could also be a factor of not overstepping too far over the line that would require the "free world" to apply the same level of economic sanctions swiftly against China as Russia was recently successfully hit with.

My current concerns are:

3) When might this change, what conditions change where the CCP goes full holocaust of political dissidents (and easy to do en mass now with the lockdown-"test"-quarantine-disappear ["they died of virus"] funnel): is it having their current disparate but synergistic systems, and teams of people under whatever ethical framework necessary for them to morally carry out their part of the work flow, far enough tested and refined and ready for scaling? Are they just getting into their practice, and seeing how the system, society responds?

4) The rest of the world, with the WEF seeming to toe the line, are pushing for Digital ID and moving towards similar levels of control on freedom, manufacturing consent for mandates and exclusion from society (similar to Social Credit system in China), and internet censorship (as part of "fight against disinformation" as their propaganda).

E.g. The internet censorship bill the government of Canada (Trudeau's Liberals) is currently trying to pass the Senate (bill C-11); the Canadian government trying to pass this actually are claiming that censorship of some will actually increase free speech overall - basically that people being "offensive" are turning off people from freely sharing how they feel online; coddling, paternalism - as a guise to further control, suppress the truth; among other bills to be able to influence the information Canadians see, only inches less bad than outright censorship when it comes to further being able to program the majority of Canadians (such as required injection of content they deem you inject into what you present).
We're currently in the stage when we create all of our own bespoke connectors - glue code. RESTful interfaces are an attempt at solving part of the problem but they still require a lot of hand fiddling to make them work.

While mechanical connectors have existed for millennia, standardized connectors were a set of fairly recent innovations from the industrial revolution [1], with notable standardizations like unified thread as recent as post-WWII. So they're both new and took time for all of the standardizations to settle to what we have now. And the state of mechanical connectors is not static. There is constant innovation. Consider medical, military, and other applications with special demands.

Seen in that light, software is very rapidly standardizing. Like everyone else here, I feel your pain, though.

[1] https://www.nord-lock.com/insights/knowledge/2017/the-histor...
WebWorkers are not very useful as a result. The communication overhead of copying data between two memory spaces usually dwafs any apeedups you could get from doing the work in parallel.

It's easier to implement as a language and runtime, but to get truly high performance on today's many thread many core machines you need shar d memory concurrency more like Java
Dragonflydb – A modern replacement for Redis and Memcached
Atlassian co-founder takes big step toward shutting down Australia's coal power
It's a purely emotional response about what a parent can control. Driving the kids to school, you have some control over the situation; e.g. you can swerve out of the way of a potential accident. When they walk alone to school, there is nothing you can do to help them or prevent accidents from happening and that lack of control opens up the imagination to all sorts of scary things.
Reminds me of the short lived candyfab 3d printer that used a heat gun to melt sugar together in a similar manner.

https://candyfab.org/
You will need to know the number of share that have been issued to calculate the current price per share.

Price per share also has tax implications.

Strike price means they will have to pay 0.01 per share or $100 total for the stock, which is largely irrelevant.

For example, If only 20k shares have been issued, they will have to pay income taxes on 35B over 3 years.

Is 70B the valuation they are being offered stock at or what the 17m investors payed?

https://carta.com/blog/equity-101-exercising-and-taxes/

https://secfi.com/learn/exercise-stock-options-tax-implicati...
Schools should be using open source software
I think that was the basis for Snowpiercer.
Well such is the way of the world that you may have to defend your property or have someone do it on your behalf. Animals have homes and territories that they defend in nature too so it's not unique to human belief systems.
Most baking recipes that use volumetric units actually use standardize mass units converted in a conventional way (based on material and form) to volumetric units, because the recipes are done by pros for the kind of newbs that disproportionately consume recipes. They aren't imprecise measures they are measures for people who are more comfortable with imprecise tools.

If you prefer to work in mass, you reverse the conversion.
How to Disable 5G for a Samsung Galaxy S21 FE Phone
As someone who was in an Awana...club(?) for most of my childhood, I never had this happen. That sucks. Some people are way too crazy.
And things like DarkSky actually involve continuing to provide an appreciable service, a subscription model is quite reasonable. I have no problem with subscriptions for things with substantial back ends.
My rule of thumb is this: For the domain you work in, you CAN use cutting-edge technology. For things outside the product domain, use standard (boring, time-tested) technology to hedge risk.

For example, when writing a DB, you might make use of a novel data structure, but don't use, for instance, an experimental parsing library.
> I want to know right away if the device I bought is a fake.

This is definitely a reasonable thing to want, but Prolific could have done that in a much better way, either by just giving a warning and still allowing the clone to work, or by only triggering when a device is first set up, not just suddenly after it's been in the field and working fine for years.

> The only way Prolific can get these guys to stop is to get the end-user pissed off

I'm not okay with being used as collateral damage for some company's brand enforcement efforts.

> He bought a cheap fake chip, knows it, and wants his free ride.

The article says "I bought device without knowing it has a fake chip in it." Are you accusing him of lying?
Energy is on track to stay the same price or get cheaper as it gets cleaner.

The big question isn't really whether we clean it up, it's the timetable.

Cost and availability of energy is a great proxy for transport cost.
one really nasty conflating issue is that emacs uses a mess of globals. partially because of the domain but largely because of dynamic binding and the lack of namespaces.

emacs really needs to be hoisted onto another language and runtime. everyone says this but no one can really conceive of doing this and rewriting or at least refactoring all the elisp extensions.

I guess guile emacs is still alive? I should really try installing it
Looks like this might eventually be the repository for the associated code. Still empty for now:

https://github.com/Monem-Shennat/Dimensional-Analysis
The Tech Interview Guide
> what’s an overpaid software engineer to do with their money

https://beatmalaria.org/donate/
This model has a large reservoir where you can pour the entire bottle and it'll autodose based on some settings. It's a nice convenience that you can just put the clothes in and hit start to wash with defaults.
That's because you should not fight it.

I have some tips I use in all my Django projects:

1. Split your settings.py in multiple files

This is inspired by Elixir's compile-time config per environment/release/etc...

Instead of a huge settings.py, I have:

settings/__init__.py : Import the correct settings
settings/core.py : The stuff that Django generates and that you touch almost never
settings/base.py : The basic settings of your project (your apps, middlewares, ...)
settings/envs/dev.py : Development settings
settings/envs/prod.py : Production settings (read from env vars, the 12 factors app way)
settings/envs/test.py : Test suite settings

See my gist as an example for the `settings/__init__.py`: https://gist.github.com/linkdd/4aac2c2efc4a51af6ca4b05f395de...

2. Separate your business code from your Django apps

In most project, I have the package `myproject.lib` which contains all the business code, easily testable and mockable. Then I have the Django apps in `myproject.apps.<appname>` which imports from `myproject.lib`.

This allows you to make your views quite small because all the logic is not there.

3. Most of the time, you don't need class-based views.

A small function which call your business code and render a JSON document, or an HTML document is more than enough. Django provides many function decorators that are easier to reason about (login_required, permission_required, require_http_methods, ...).

4. You might not need an API

Server Side Rendering is coming back into trends, huge SPA that are heavy on the client's resource are becoming less frequent. Then, why would you need a REST/GraphQL API?

You can work with HTMX, Django Forms, small views that call your business code and return some small rendered template, then sprinkle some Alpine.JS (or jQuery) on top of it, and you get your SSR SPA that scales well enough.

5. Deploy with gunicorn and whitenoise

By default, Django won't serve staticfiles in production, you need to distribute them via a CDN. Which is a bit more complicated to deploy. Instead, use Whitenoise to force Django to serve staticfiles but with the correct HTTP cache headers so services like Cloudflare can take over after the first request (usually done by your E2E test suite by the way).

Then you only need one Docker image, one gunicorn, and if you deploy in Kubernetes, one Ingress resource.

6. Use django-anymail

This is, by far, the best library out there. I usually make a mailjet account, add my API key to my settings, and use the mailjet backend of django-anymail. No SMTP setup required.

All of those tips might seem obvious, but they get you far, very far. Also, IMHO the urls.py from Django is vastly superior to the route decorator from Flask.

TL;DR: Don't fight Django, embrace it.
It's too bad there wasn't a global organization that could go in to see and interview these supposed political prisoners being persecuted and their cultures being genocided - to see if there's any truth or pattern of abuse/genocide to their stories!

Oh wait, the United Nations wanted to - but the CCP has refused.
> In an ideal world, the hardware volume could be synced to the system master volume

This already works if you're using something that can be controlled via the windows volume. Eg, a USB dac+amp usually works like this. That is, the "hardware volume" and "windows master volume" become one synchronized slider.

Very often there's a break in the digital chain that prevents this from working more broadly, though (for example if you're outputing analog to your speakers, or using separate dac & amp)
> a dumb catch phrase,

It's not a catch phrase, it's the title of an article. Or if it is used as one, it's in reference to this.

> why don't we say the right thing?

We do. It's in the body of the article.
That’s such a good summary. I should have started with reading the comments
The very first Chromebook was just a laptop that ran the Chrome browser. An update made it more Windows-like, but by that time I gave it away to the Digibarn.
I think this is a decent and brief response to why geoengineering is a bad idea: https://www.geoengineeringmonitor.org/reasons-to-oppose/

The most convincing argument to me is that we're already facing a vast problem that would require a great deal of geoengineering to counter. If polluters realized they could geoengineer the problem away, they would stop trying to reduce emissions, and the geoengineering problem would become even larger and more unmanageable.

Due to how entropy works, it's always more efficient to simply not spill milk on the floor than to mop it up. Deciding that you should just have a milk bottle fight because you have a mop in the house is... strange? It will never be more efficient to scrub greenhouse gases from the air than to avoid emitting them in the first place.
"Alexa, time remaining".
Darkest purples. Wild looking stuff. It negatively impacts yeild and health of the plant; but produces fancy stress flavors.
“we have to accept immense hits to the global economy and the resulting poverty, suffering and impact. The scope of the change required is staggering. We've never done something like this”

This is an insanely extreme claim with very little evidence to back it up, if we watch this unfold at the hands of global leadership please know that it didn’t have to be this way and somebody is taking advantage of all of us for power and control.
DDG followed by a !s (Startpage) if needed always gives me more and higher quality results than Google or any other combination of search engines I've tried. YMMV. Not sure there is any other privacy related search engine worth using. Brave feels pretty sketchy to me skimming ad dollars.
That's a ridiculous characterization of the student's behavior, but you'd know that if you had read the article you're criticizing.
You got literally everything wrong about Kagi. Kagi founder here. Responding as I will not stay silent to public defamation. I'd politely ask you not to do what you did here (drop a ton of accusations without a shred of evidence) again.

> kagi is just like duckduckgo

There is almost nothing similar between Kagi and DuckDuckGo, starting with the fact that DuckDuckGo is a global brand that has ~100M users and sells ads to make money, where we have few thousand and are 100% user supported with a subscription business model.

> under the hood they track the shit out of you, even more than DDG with their machine learning tools for user based scoring system for links

We literally don't. Kagi is not only zero telemetry but we do not log or associate searches with an account. The reason is we both don't want and don't need to. Our business is selling subscriptions not user data.

> also i find it weird that product placement comments like this one are always ranked super high on this website

Perhaps people simply genuinly love the product?

> only work on macOS

I think you refer to our Orion browser, which does work on Apple devices only for now. One needs to start somewhere.

Kagi search works in any browser on any OS.

> and is a team of "benevolent living in San Fransisco", living on donations in the most expensive state of the US

I literally have no idea what you tried to imply here.

You can find my email in bio and reach out if you need any additional clarification, I am happy to provide it.
True, they are of limited usefulness, but in Emacs you could (probably) make them more useful over time by exposing more and more sharing -- but (I'm again guessing, don't know Emac's insides) it might be easier/safer to start sharing nothing, then work on sharing as much as possible, rather than start with full sharing and then try to make everything work.
> if it goes for a piddling $500M your friend gets ~$11K over 3 years

They would get 0, you aren't accounting for seniority.
That's a pessimistic view at best.

Could it just be that compatibility is not monetarily incentivized? And incompatibility is not punished by some regulation enforcement bureau?
What does DDG have that Qwant.con and Ecosia.org don't do better?
If they don't respect your opinions anymore , look for another position and take that position. I agree do not just quit.
A lot of new tech is also spun out of large companies where the original ideas were piloted internally (see Kubernetes, Bazel, a number of distributed databases)
No one said it was the only way, you seem personally offended no one is keen on your weird alternatives though
Hopefully I get this right with the formatting.

#!/bin/sh
ZOOM=$(xdotool search --limit 1 --name "Zoom Meeting")
ZOOM_WEBINAR=$(xdotool search --limit 1 --name "Zoom Webinar")

if [ -z "${ZOOM}" ]; then
xdotool windowactivate --sync "${ZOOM_WEBINAR}"
elif [ -z "${ZOOM_WEBINAR}" ]; then
xdotool windowactivate --sync "${ZOOM}"
fi

sleep 0.1
xdotool key --clearmodifiers "alt+a"
How could you possibly know that?

For all we know, the new driver could have been a rewrite from scratch (say to support new products that run at higher speeds than the older driver could support), and the new driver never worked with this particular clone to begin with.

Keep in mind that the driver developer may not even be in possession of a clone of this type. Clones see new versions over time just like any other product, the only thing is that since they don't advertise their true version, it's impossible to practically support them.