skysight-inc/HackerNews huggingface dataset:
It's not so simple.

In utilitarian ethics it depends on how people value life. If everyone is equal it doesn't matter, because you trade one life for another. If we allow the system to be higher order and allow for a symmetry split in "self vs other" then self-preservation becomes the moral thing.

It consequentalist ethics the previous details can be formalized differently, but it helpfully points out that if you are coerced then someone is coercing you, hence your moral agency is pretty much diminished. Yet if the consequence of your actions is that someone dies and without your actions they wouldn't have died, then sure, it's morally wrong. But that's hard to know when you have to make such a decision.

In virtue ethics you can simplify this to simply say that protecting the life of others' is a virtue and shooting people in the head is a vice, so let's do the virtuous thing! (Of course protecting your own life is a virtue too!)

(And AI Alignment folks spend pages upon pages discussing these problems of how to even began thinking about a formal ethics that is sort of computable. Should the agent predict the consequences of their possible actions and then compute the utilitarian value of them and thus choose the action that has the most utility? Should the agent factor in the possible actions of the coercer? Should the agent factor in time? If the agent is terminated it cannot maximize future utility. If the agent can live forever by default, then future utility can be much much much more than the utility of "one life". Should then one human life be valued at "infinite + 1"? Are we on a tangent to transfinite ordinals? Yes, yes we are! https://www.youtube.com/playlist?list=PL3A50BB9C34AB36B3 )
I congratulate you on your successful projects but I don't understand what you mean by "PHP is C-like and written in C so the hate is funny to me". The language of the runtime is not particularly relevant unless you want to write custom extensions (which I remember being an absolutely atrocious experience back when I had to do in in ~2007, hopefully it improved since then) and the language itself is only very superficially C-like.

In fact the most C-like thing I remember about it is that many standard library functions where extremely thin wrappers around the libc, so thin in fact that you could get a segfault if you weren't careful.
I've been trying to create a platform-agnostic styling language for UI designers. The idea is to create a flexible-enough representation of GUIs that each platform could implement it while maintaining their own visual identity.

One thing that has held me back is that I'm strictly a web developer - never built a native GUI. So I have no idea how realistic, feasible, or even desirable that is. Your comment makes me think it could actually be useful.
Damn, so I really need to follow up on my plans on moving to e.g. Thailand (and getting happy by following my dreams in terms of work/endeavors).

I don't have IBS but more like a colitis and I was really good for months but it came back strong after one of my dogs passed away and I got terribly sad.

What I'm getting at is that more than a vitamin D, I suspect a strong link to happiness and life satisfaction.
In its early years up until around 2006, PHP was mostly "HTML on steroids", that is, an HTML preprocessor with lots of goodies like "batteries-included" DB access, form handling, image processing, text processing, all accessed via a single Apache module. You simply rename your .html file to .php, and put some magic between "<?php" and "?>".

Then came along templating engines like Smarty, and they introduced a new templating language for a language that was already built for templating. For some reason, "<?= $foo ?>" was considered much worse than "{$foo}".
I just published an S3 storage provider for Elasticlunr. You can now store your indexes to an S3 bucket aside the Disk storage provider included in the base project.

The storage API is flexible, so writing to any storage provider (Google Cloud Storage, DB and so on) shouldn't be a problem. it's just a matter of grabbing the right provider or implementing one yourself.

https://github.com/heywhy/ex_elasticlunr_s3
You have a list of legal words? Where is it available?
> but I do find that PID and Kalman etc end up in places where a few if statements end up being just as good.

PID implementation isn't that much more complicated than a few if statements. In fact that's often were many solutions to control problem starts. Once one notes that the degree of control achieved is unsatisfactory one starts toying with that ad-hoc if statement based bang-bang control implementation, for example, overshoot problems, problems of not reaching the set point. So you add some inertia, you add some damping, you accumulate the cumulative error to counter it and behold you have reinvented a PID controller.

Math just formalizes and gives structure to this iterative rediscovery of PID control.

Yes obtaining the optimally tuned parameters isnt straightforward for an actuall messy system, but even with suboptimal parameters PID controller performance is often quite satisfactory.
Interestingly I think that the 1966 movie adaptation visually fits these photographs well.

https://m.media-amazon.com/images/M/MV5BMjEyMTE2ZGYtZjRhNS00...
How many deaths per wind turbine, and how long is the location of a turbine accident to uninhabitable?
> libertarian, but not anarchist

That's splitting a pretty fine hair IMHO.
in the source code of the site.
S3 Storage Provider for Elasticlunr (Elixir)
Microbes Produce Oxygen in the Dark
Yes, people died in the panic resulting from the evacuation in Fukushima. But is that the fault of nuclear power?

Do you "attribute" deaths caused by other energy production means the same way? Coal kills people every day. People die when installing wind farms, do they count?
> Why would one pick PHP over Java except because "you already know PHP"?

If it's a lifestyle business or hobby project, it usually costs less to host a PHP app somewhere than to find a place where you can get decent performance out of the JVM. Even a small droplet can be a lot of money and effort for some people in some parts of the world. I often see kids pick up PHP for this reason alone. Then they stick with what they know.
I think that the magic ingredient is not the image itself. Imagine that you have the language where every method/function is in its own file, and most of them are very short (two, three lines). Then the text editing functionality of the IDE starts to be really unimportant - something on the level of Notepad is good enough. It makes the compilation super fast; the IDE needs to invest in exploring relations between these small code fragments (that have no defined order), their organization, code changes need to be not just text file editing (Smalltalk pioneered refactorings). This is one thing that makes Smalltalk so interesting (and what the mainstream does not get).
I worked on a search engine at a startup that did exactly this, you could up and downvote each result. The main feature was that we essentially "sharded" the search engine so it could be embedded on different sites and give different results based on each community. So a search for "casting" on a fishing website would give different results than the same search on a metallurgy site, as voted by each community. We could also learn passively by watching which links users clicked on and where they "disappeared" from the search engine - presumably the last clicked link was the result they were looking for.

Google did copy the voting feature on their results page briefly but abandoned it. [0] This was back in 2006-7. We learned the hard way that it's pretty much impossible to compete with Google in search even when you're innovating. They either copy you, or can just blackhole you out of existence.

[0] https://techcrunch.com/2007/11/28/straight-out-of-left-field...
It is always funny when people try to euphemism things to avoid obscene or scary ideas spoken out loud.

My pet peeve is a 'lottery factor', because even if a guy would win $$$m you still can at least try to talk to him. You can't talk to a bus factored person.
'the campus farm' 'the town smells like cows'. I mean..come on.
It was Alexander and his father Filippos whose untimely demise left Alexander with a formidable military machine.
So it is people it is the environment it is timing, a good deal of luck on top of capability and perseverance.

People followed in their leadership and did their bit, every piece of the puzzle fell into place.
Might be used for that, but Python certainly wasn't "designed for long-running processes or data processing at first" which was your original argument.

These 3 languages are pretty comparable in many ways.
> added in sound for ambiance

The actual noise levels may have been higher. Regardless, I think the main reason is ventilation. With coal and wood heating streets were designed to act as valleys pushing air through. Also, I hard that old European cities were built with airflow in mind. Whole streets were uninterrupted with trees while some have them.

Also I heard an opinion that Wrocław is one of the most polluted cities because it got a lot of new buildings that break the airflow on main streets.
Hating on PHP almost feels like racism. All the arguments are biased or false. I always get sad after clicking on PHP articles on HN.
It is already a thing, just not prevalent. Although I believe for the moment, you still have to choose your radio-specific variant as the transition to 4G and 5G isn't 100% complete yet; CDMA vs GSM. (I hope I'm wrong about this by now). Sometimes it's (or was) based on spectrum.

Another issue is probably the "incentives" provided through the network providers and their partners, especially when an iPhone is traded in. Often times it results in significant "savings" for the consumer. (I imagine Apple could implement something similar, if not superior if they wanted)

Finally it's physical presence. Apple has done a fantastic job of creating a physical place to serve your needs, and of course you can always buy online, but there are those that prefer or require going to a place to take care of their phone needs.

I also shudder to imagine what the Apple stores would look like if they had to deal with and resolve the kinds of network issues (not to mention some of the characters that need the help) I've seen the superabundance of network provider mall/strip-mall stores deal with.

Hopefully all of these are just remnants of a time we'd all like to put behind us.
What does "square of order 4n+2" mean here?
I think the problem of PHP is the amount of old tutorials/solutions/conventions/etc. Maybe this is the direction all languages take. Eventually the only way to separate yourself from the past is to sever the name link so as to remove the confusion when trying to learn the modern way of interfacing with the language.

Having used Laravel I did feel that was the best version of PHP I had ever used, which while great, each time I use it, I still feel encumbered. It could just be the workflows that PHP provides don’t/haven’t meshed well with the type of endeavors I’ve tried to approach. Or maybe the language just carries too much history.

As an undergrad I made the mistake of attempting to use php solve some bioinformatics homework and ended up reimplementing the k-means algorithm. While that example may be more revealing of my ineptitude for data science it broaches the topic of “where does a language provide the right primitives for the work at hand?” And if the web is changing, is it still appropriate to use a language designed around a previous version of the web?
How about a solution where you don’t need to explicitly bookmark anything, and:

* tracks every web page you visit, saves full text
* makes it searchable later

So when you think about, “what was the page I found on HN that was talking about xyz”, you can find it via a quick search. In theory, anyway.

I came across BrowserParrot doing something like this (I am not the author, just found it intriguing)

https://www.browserparrot.com/

HN discussion:

https://news.ycombinator.com/item?id=28689734
I don't know, I felt cheated when I learned about imaginary numbers in high school (wait, you can take the square root of a negative number?). It felt like you had patiently learned the rules of math and then someone just made some shit up.

Probably when I started my slow deviation away from math (certainly a part of why I never majored in it).

It's too bad though. Over the years since I have come to trust mathematicians more and more.

A co-worker explained to me how the imaginary component of complex numbers represents the phase information when performing an FFT. I think he was even trying to explain to me how it is why an FFT is not reversible, why you lose the phase information from the original (but I was already lost).

(Odd too that the human ear cannot distinguish between two audio sources for which every thing is the same but for the phase. Related?)

I am assuming now, from a position of ignorance if that is not obvious, that imaginary numbers are quite clever after all, perhaps neither a hack nor "imaginary".
>All data stored on the stack must have a known, fixed size

It's a bit confusing to find this statement in the middle of a generic discussion of the stack and the heap. It's true in Rust that everything allocated on the stack must have a fixed size, but plenty of other languages (e.g. C) allow dynamically sized stack allocations.

(Of course C as such doesn't have a concept of 'stack allocation', strictly speaking, but you know what I mean :))
Couldn't find a single obese person in the photos. Really goes to show how the modern living has destroyed our health
It would seem to me that 50-50 would be the "biggest reduction" since presumably you're judging the pruning based on the worst case. In the latter case the worst case is that you're still left with 90 options.

Maybe I'm looking at it too much as some kind of decision tree but it looks to me like one, or at least something very similar. You don't want any branch to be too long.
It is possible. But the evidence that is happening is relatively weak. The wealthy would struggle to consume anything more than they already do. A lot of commodity indexes suggest growth in the US has actually been stalled for a while (eg, energy, copper use are two metrics that don't look rosy to me).

Believing that economies like the US are growing often requires accepting beliefs like the economy being disassociated from the physical world. On the one hand, that is a defensible position. On the other it is stretching - some people care more about the physical world.
It all comes down if you trust the company that you are working for or not. I try to keep all private talks separate from company channels. I use mobile phone that is not connected to the company WiFi.
I find Ruby to be enough of a Smalltalk for my taste. Besides that I see people to stuff with Clojure, such as hot-replacing live code, that I had only seen Smalltalk devs do so far.
I guess the OP means that it would be too late to replace the AGPL code if the company has already published a version including it. My unexpert opinion agrees with the OP.
Google doesn't want to pay Sonos for technology it copied
This would violate the color sum constraint though, that the integral over the cube area of each colour must be equal.
With sincere respect to the author, I stopped reading the article. Even though I found the topic interesting and am definitely inclined to believe that Google's search results are declining in quality, I felt that the search terms and criticisms were distractingly unfair.

If someone were evaluating hammers and handed a bunch of hammers to beginners and judged the hammers by those results, I'd tune out there, too, for the same reason.

A suggestion for improvement would be to have the users RTFM (read the fine manual) first, and then take a reading a week later on their everyday search results. Google is a tool, like an other. Know your tools.

https://support.google.com/websearch/answer/134479?hl=en

And:
https://support.google.com/websearch/answer/2466433

Always put a quote around "exact search" terms that must be grouped together, especially if the term includes something common like the letter b.

Indeed `databricks "series b" valuation` does a lot better: https://www.google.com/search?hl=en&q=databricks%20%22series...

The 4th result is exactly about Databrick's series B valuation. https://www.crunchbase.com/funding_round/databricks-series-b...

Always search for a multi-word proper name, especially a common name like tim lee, with quotes. Put "tim lee" into quotes, and wikipedia shows up on the first page:

https://www.google.com/search?hl=en&q=%22tim%20lee%22%20vlog...

Is vlogger really a common search term? Personally, I'm okay with Google suggesting blogger because I don't think vlogger is all that common. But maybe? Perhaps a better search term would yield better results?

In fact, "tim lee blogger age" gives better results than with vlogger! Google was correct to suggest that change.
https://www.google.com/search?hl=en&q=tim%20lee%20blogger%20...

Anyway, this kind of criticism works best for me when the critic gives the subject the most reasonably charitable chance and then talks about the bad. Expecting great results out of bad search terms isn't reasonable, in my opinion.
Sounds like you're referring to the "coloured functions" "problem", but it's the other way round. Calling a sync API from an async function is no different to calling it from a sync one. Calling an async function from a sync one requires that you make the caller async.

Personally, I like that. An asynchronous function is different to a synchronous one, and if you call an asynchronous function the caller is asynchronous. The "colouring" just reflects the realities of the problem domain. I'm not keen on libraries that monkeypatch the world to hide that fact, as gevent does.

However, some people prefer those libraries. Which is fine. They both exist, use what you like. There's no need to have wars about it.
There are many ancient arts that got lost as time progresses. Not sure if we should fear changing our ways. I've drastically reduced my meat consumption in an effort to help with climate change. The end game for me is for, some time in future, meat consumption to be seen as something old fashioned that no one does anymore. Like wearing a top hat.

The only reason I'm not 100% vegan/vegetarian is because, since most people aren't, it restricts a lot the number of dishes you can eat. Specially when you go out in a restaurant. But, if more people would be vegetarians, I'm sure that would change.
This is an excellent point that I hadn't properly considered before. The term "non-binary" invokes a strawman that it proceeds to tear down. The notion is if you don't accept the idea that gender is an arbitrary social construction, you must therefore believe people fall into rigid, simplistic categories.
Take a look at TruffleSqueak on the Graal VM.
i hear you - however the framework captures most of the abstraction entirely. In addition, most of the bottlenecks are actually i/o (db queries, etc) where its entirely worth doing it explicitly versus magic.

in a general programming language sense...ur right. But from the POV of what gunicorn/fastapi are actually used for - web frameworks - its actually quite good.
Droste Effect
I'm far more sympathetic to the greens... but my personal views don't matter much.

I don't mind the first part of the sentence; that's just editorial. The
second part is weak-sauce backpedalling.

The repetitive moral outrage made this piece five times longer than it
needed to be.
They would gladly have passengers if the demand was there.
I had a spare raspberry pi 4 and compiled OBS on it just this weekend, the idea was to have a physically gapped machine just for streaming development (with no personal information on it at all, just the code). It runs OBS + VSCode surprisingly well! (unfortunately I learned my upload bandwidth is wholly inadequate for decent fullscreen live video but at least the pi can take it without overheating).
Aren't developers always using the same version and blindly downloading and running malicious code doing the same thing, running a single version?

Only those were harmed. And by harmed it was just really a bunch of tests runs failing, I guess no production workload was impacted by that jerk move.
With a VEI 6 happening there, a lil' bit of radioactivity would be one of your lesser problems, I'd guess. One bigger potential problem would be damming the Rhine there, and flooding large areas behind that dam way upstream, with many large chemical plants. And then the flood downstream, if that dam breaks down.
PHP and Java are indeed superficially similar (this was claimed 20 years ago, too).

You can't get rid of old stuff in the name of BC, but you often simply don't have to use that old stuff. For example, people hate on JavaScript (and PHP too I believe) for the semantics of their "==" operator, but it's a moot point since these languages have had "===" since many years.
They are giving the impression that this is an organized crime issue and that these cars are being stolen for financial gain, but I live in Minneapolis and everything I’m hearing is that it is joyriding teenagers with guns. Everything about it is reckless, dangerous and scary - but I don’t think anyone is doing it “professionally” (and I’m skeptical that any organized “boxing in” is taking place).

And I know this next bit is going to come off as defensive - but I think it provides some context. I’m native to the upper Midwest, but I’ve spent a lot of time living in other large cities around the country. Take a look at the FBI violent crime data below.

Minnesota is a very low crime state and is coming off historically low crime. The current uptick in violent crime is real, but still doesn’t come close to the 90’s and lags significantly behind US average.

All that said, talking with people - including family - in neighboring communities and across the border in Wisconsin, you’d think Minneapolis is a burning, crime ridden hellhole where you can’t even walk down the street safely. There’s clearly some kind of political hay being made by that narrative.

https://crime-data-explorer.app.cloud.gov/pages/explorer/cri...