jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Sadly, I've worked on a lot of codebases where even the "link back on yourself" trick was unknown to the developers, generally leading to devs dumping the entire dataset into an array and then manually iterating over it to find the max values. I wish developers would learn more SQL at the start of their careers...
Time-dependent Schrödinger equation for the time evolution of a quantum system is a linear equation.

Essentially: d/dt Ψ = H Ψ

There is no second, or higher, powers of Ψ. There is even no constant term. It's linear.

https://en.wikipedia.org/wiki/Schr%C3%B6dinger_equation#Time...

Now, how does nonlinear macroscopic world appear, if the fundamental time evolution at quantum scale is linear? So obviously Schrödinger equation alone is not enough to describe the time evolution of the universe. One way is to introduce wavefunction collapse, which is a nonlinear process. But there is no physical theory (well, there are propositions) of how and when collapse happens. It just happens somehow, sometime. This problem is at the core of why quantum mechanics is an incomplete theory.
Of course it is. The topic is hip-hop livestreams, not race war. The article contained a phrase that some people found provocative—does that mean we should change the topic to the provocation and have a big argument about it? On HN, the answer is no. If you've read the site guidelines (https://news.ycombinator.com/newsguidelines.html), that should be obvious.

When I happened on this thread, it had been upvoted to the top and was choking out all discussion on the smaller, more obscure topic. That's a failure mode for HN.

When an article contains a provocation, flamewars don't start themselves. Someone has to import the provocation into the thread and start reacting to it here. From an HN perspective, that's the original sin - not the provocation itself. If we just left it in its original habitat and ignored it, nothing bad would happen.

Online discussion tends to gravitate to the few hottest, angriest, and most repetitive themes. Something about the mind gets stuck on those and wants to repeat them over and over. This is exciting in one way but it's not interesting in HN's sense of the word. Therefore it's off topic here. Threads like this one should be like a spaceship traveling to a little-known planet that hasn't been visited much. For that, we need to steer clear of black holes.

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&que...

https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor...
I regard that as a solved problem, really. It's just not worth the bother using anything for which there isn't a pre-packed parser in the browser (or whatever other client might be relevant).

I'm much more interested in the design of restricted formats, though. It's not much good sending Accept: application/json when the interface will barf if you miss a critical key or two from the subset of json it's expecting.
Person asking such question wants to validate he learned it right way or not.
But there's more money being created every day, for the next decade or so (I believe). Once Bitcoin drops off Hacker News, there's probably going to be inflation rather than deflation. But if bitcoin does take off and they get rich, well, good for them for spotting the next big thing!
@tenzwarszawy
The US Dollar can be used to buy anything. Bitcoin can be used on like, a few dozen websites that support it.

Why the heck would you not use the dollar?
I doubt this. A lot of smart people use it, just not very often or for very much of their day. It's at risk of ending up with the same problem as online dating sites: the average user of one of those sites is a decent, normal person... but the defects spend 20 times as much time (and send 50 times as many messages) on them as everyone else.
Yeah I see your point, but when I said 'one line' I meant more like 'one word.' jQuery-ahm just uses a 'ahm' class on the html link to the Ajax endpoint. like <a href='/tooltip3' class='ahm'> and that's it. The line of jQuery you wrote is still very dense.
A small correction: he has no wife or kids.
That is pretty much ignoring the driver issue, or maybe myopically focusing on the Android API layer.

Look at the changes to file system permissions, and the introduction of the storage access framework in 4.4.

And look from the perspective of joe user, not from hank hacker.
Once you're doing typesetting like that, I think it would be even better if you start replacing keywords with special symbols and reformatting the lines to some canonical representation. That would make it way easier to read.
Actually, you can turn that on now to check it out: http://www.jkwebtalks.com/2014/02/enable-multi-process-tabs-...
It's actually quite a bit worse than that. For instance, I successfully built and installed mono locally now, but am unable to run simple gtk-applications.

git clone git://github.com/mono/mono.git mono.git
cd mono.git
./autogen.sh --prefix=${HOME}/opt
make get-monolite-latest # Need mono to compile mono
make EXTERNAL_MCS="${PWD}/mcs/class/lib/monolite/gmcs.exe"
make install
export PKG_CONFIG_PATH=${HOME}/opt

I can now successfully compile and run a command-line hello world, but
a simple gtk-test (and winforms test) fail when attempting to run the
examples. This probably has someting to do with linking and assemblies,
but experimenting with PKG_CONFIG_PATH, GAC_PATH and MONO_PATH makes no
apparent difference...

cat <<eof > hello.cs
using System;
public class HelloWorld {
static public void Main () { Console.WriteLine ("Hello Mono World!"); } }
eof
mcs hello.cs
mono hello.exe

> Hello Mono World!

cat<<eof > hello-gtk.cs
using Gtk; using System;

class HelloWorld {
static void Main () {
Application.Init();
Window w = new Window("Hello Mono World!");
w.Show();
Application.Run(); }}
eof
mcs hello-gtk.cs -pkg:gtk-sharp-2.0
mono hello-gtk.exe

> Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or
assembly 'gtk-sharp, (...)
Just because everyone wants immortality for themselves doesn't mean that it's a good thing for humanity. Political and social change is almost entirely achieved by old people retiring and eventually dying, and younger people with different worldviews taking over for them. Removing this process dooms a society to stagnation.

Similarly our problems with wealth inequality will get much worse if rich people never die and just keep accumulating wealth forever.

And what about population? We can't just keep adding children to a planet if people don't die in meaningful numbers. There are only so many resources to go around.
FWIW you can run Docker rootless (as an ordinary user) now.
I provided links to my sources in the original post. I thought it was pointless to relink them every single time.
There are very few optimizations that a JIT can improve over a static compilation of a strongly-typed language. Strong typing brings immense capability for static analysis and subsequent optimizations. The most successful JIT optimizations out there typically are ones that make dynamic languages about as fast as statically typed languages by making assumptions about the runtime types of objects, while trapping/reoptimizing when those assumptions don't hold true. It also does pretty well finding hot loops and selectively optimizing those, but PGO gives you that too without any performance hit in your final executable.

A strongly typed language like Scala has the potential for massive optimizations under the whole program optimization umbrella...and no JIT would ever dare to try those types of optimizations, because they are extremely memory and compute intensive. They'd have to pause execution for minutes at a time just to figure out what to do.

I think it is unfortunate that Scala was designed for the JVM first. It brought a lot of syntactic baggage for interop purposes, and it saddled it with weird things like reflection and dynamic class loading, making it hard to statically compile. The ideas behind scala's type system are extremely powerful and could have fundamentally changed programming for the better, but all we got was a JVM me-too that was quickly usurped by Kotlin. I don't think it is dead or a lost cause...but the legacy that the JVM has on Scala is one that slowed it down, not sped it up (like what was claimed would happen with JVM languages).
> You are literally writing this on a device that 50 years ago would cost millions. It somehow trickled down to you and me.

Not to disagree with your point, but the performance of Neural Engine in a new iPhone would cost about $200 billion in inflation adjusted 2013 dollars of implement at the prices of even a 37 year old 1984 Cray X-MP.
I've worked in a place with those. Over time they build up mould in tiny crevices that are nearly impossible to clean without taking the whole thing apart, which is not an easy task. Plus, they blow water drops all over when you use them (put down some strips of water reactive paper... It blows them up to 10 feet away). Not a very healthy technology.
There is also a cultural difference. IT is somewhat rooted, traditionally, in BOFH attitudes; which didn't help its overall popularity.
Maybe https://globalprivacycontrol.org/ could change that.
To me these seem unhygienic - hands often touch the dryer also droplets are projected upwards(often in your face).
Had never heard of the Pyramid web framework before today (1) :

http://docs.pylonsproject.org/projects/pyramid/dev/index.htm...

They seem optimistic about it on StackOverflow:

http://stackoverflow.com/questions/4482879/is-pyramid-ready-...

(1) (not into Python, it's in my ever-increasing should-learn list)
That's kind of misleading, isn't it? I mean, by the same token days could mean 400 days or 4000.
Can you share some usage stats. For e.g. number of users etc? also some technical details on how the platform was built would be helpful. Thanks.
I can't work out if I'm appalled, or reluctantly admitting that this will probably become popular.

A service to allow real time video calls direct to EMS would at least have a useful application. This is just rubber necking. Please don't expect me to like all your vines of mangled road traffic victims.
The Valencian Community Government serves more than 5 million citizens - a population greater than that found in more than half of the U.S. states. It's not local politics, and the budget is correspondingly in the billions.

For scale, the Valencian Government had a budget surplus over 300 million in the first quarter of 2013.

http://www.catalannewsagency.com/politics/item/the-catalan-g...

I am all in favor of government services to the less fortunate. I am not in favor of magical thinking and a lack of rigor.
This article is misinformed... I don't know where to start.

As others have said, the shallow nature of his argument is indicated by the complete avoidance of error handling. Callbacks spin out of control very quickly, not because you have to handle every single callback, but you have to handle an error at every single point as well. Mix in some more advanced control flows like `map`, and it's insane.

Please, please do not heed advice to "not use function closures". That's completely ridiculous and unrelated to callbacks. Every single one of his tests creates a new function for every single iteration. Of course that's terrible if you are iterating 2e4 times. Over here in the real world, my closures are executed oh, about 100 times a second (e.g. completely negligible perf hit). This is a seriously flawed benchmark.

I've seen that a common argument for solving callback hell is to move all the functions up into the same scope and name them. I have no idea how you handle that in real code. It's hard enough to keep track of it in normal callback-style, but forcing me to jump around and create tons of temporary names sounds insane.

Learn you some functional programming, and why it's good. Also learn you some error handling, promises, and why callbacks are terrible.

(note: remember folks, async code is async for a reason. It needs to go fetch data from something very slow, like a network connection or hard disk. It's so silly to benchmark closure creation for IO-bound apps.)
Lucky you! I've not seen it be so common. Obviously the smart guys who properly understand what's going on are all about parameterized queries, but I still see a ton of other people talking about escaping.

To double-check and make sure I'm not just being biased, I did a Google search for "php mysql tutorial" and read through the top five results. Not a single one mentioned parameterized queries. One of the tutorials didn't mention using foreign data in queries at all, just hard-coded query strings. Of the other four, two escaped parameters and two just put everything in single quotes and called it a day.
I've posted it as an article. If you don't mind my asking, and feel free to ignore, what were you in jail for?
I have just realised that this is not a leak of source code but a new implementation. This version definitely needs a new speedrun, I have contacted Marushko.
I think it's a combination of people liking Ruby, as you said, and also just slow work day for folks in US.

I agree with the 2nd ed of Metaprogramming being a great addition to the shelf. I feel like it's been a solid year for Ruby, especially with 2.2 coming out with inc GC and symbol GC. Good times!
Yeah, I always keep a little extra gasoline in mason jars with styrofoam when I go on road trips. https://www.courtlistener.com/recap/gov.uscourts.dcd.225682/...
If you don't understand the difference between a people that have faced subjugation, systemic racism, and generational poverty for two hundred years protesting - and yes, at times, rioting - upon continued police brutality and a bunch of people promoting sedition and talking about being a part of a revolution as they invade the Capitol building because their favorite person lost a free and fair election, I don't really know what to tell you.

I wouldn't give much of a damn if these people had burned down a Target or Quick Stop, either. But they ran into the capitol while many of them were actively talking about it being a revolution. With people talking about grabbing Congresspeople and having military tribunals. People went in with zipcuffs and firearms. Multiple bombs were planted.

This was an attempted coup. A poorly thought out one, a poorly executed one, and sure, not everyone that ran in had such grand aspirations. But plenty did, and plenty were open about it.

Go check out ParlerWatch on Reddit. Look at what's actually being posted on there. People calling for the violent overthrow of the government. People talking about murdering lawmakers. People cheering on those that invaded the capitol and calling for more.
You can already side load apps on iOS, you just need to go through some hoops (install Xcode, compile the app, create a developer account, futz about with certificates) but you don’t have to pay any money (you don’t have to pay the $99/year, that’s only necessary if you want to sell apps).
I don't think there's any remotely plausible prospect of America becoming a Marxist state. Your paranoia is noted, however, and it is typical of Americans, and probably in part why your society is so often so unwell (at least, that's my pet theory).
> This seems like a fairly antiquated view that does not map well to the current era
It very well could be. I grew up in Croatia, I was born right after Yugoslavia fell apart together with its communist regime, so I might be biased towards what I've heard about those times from older members of my family, my history classes, interaction with peers from both Croatia and other ex-communist countries in Europe through youth exchanges, etc, although I was lucky enough to be born in the right time to not live during that period. I'm pretty sure that my views on censorship, free markets, government intervetion, etc. were shaped by my environment. So every time that I read someone claiming that what we see in the US right now is censorship what comes to my mind is that people in Europe during communism would be happy if if was like that during their times.
It seems like anyone that had over 50% of the market share of large SUVs and made 30% profit on each one would probably double down and ride that gravy train to the end?

https://www.autonews.com/sales/gm-living-large
Parler is dead, aka banned by apple and google 1-2 hours ago.
Ah, that explains everything. I have already seen this technique before and wondered why this entry has to be the best of show---I don't doubt it is worth the prize, just that it didn't sound very novel. But it all makes sense if the technique is not well known and authors tried to revitalize that.
I think you’ve mischaracterized the discussion.

Where did anyone say any of the things you are claiming?

The statement was simply that the People have a right to entry into the building and physical access to lawmakers and the law making process. Further, the statement is that access is a foundational principle to the US implementation of liberal democracy since our Nation’s founding.
It’s so foundational that it’s also quite literally built into the building as there are galleries for public viewing of Senate and House proceedings.

It is also an ideal that we strive for like equality and justice. We recognize our union as imperfect yet these ideals are what drive us as a Nation.

Your comment I feel confuses implementation with the discussion of ideals. The implementation should follow the ideals as guiding principles with access being the default.

Lastly, historically the building and lawmakers were much more accessible. This was during my lifetime. We had lots of people then too.
Li-ion batteries cost ~$145/kWh (new), can last >4,000 cycles. That’s <$0.03625/kWh when adjusting for product lifetime.

World electricity production is ~5 TW, assume that you need to store half of it to cover nighttime (seasonal adjustments exist, but I think that’s more a problem for production than storage when the storage itself is effectively a stockpileable consumable), 2.5 TW-years of battery production per year @ $0.03625/kWh = $729.4 billion/year worldwide.

And that’s even ignoring things like a worldwide power grid as an alternative to batteries, as I agree that government projects are often over budget: batteries can be done at a household scale and every kWh helps.

I really should write up a long form blog post about this, these conversations keep circling around the same points.
>Here are some items that are notable

The definition of 'Notable' is open to interpretation; in WP's case there needs to be an author ready to write the article and assert (with cites) that the subject has enough lasting interest.

For example, item:
>Publications International v. Meredith Corp ... cookbooks are protected by copyright, the recipes themselves are not.

WP already has an article on [https://en.wikipedia.org/wiki/Meredith_Corporation]. While it mentions that Meredith "acquired allrecipes.com" in 2012, looks like no contributor since 2005 (17 years ago) has known about and/or seen fit to mention that 1996 case - let alone write an article.

If it's really notable, there's room between 1994 and 2012 for a paragraph mentioning the case and citing how important the outcome was. But a whole article? Why?
Yeah but most websites don’t directly talk to each other. And email only covers some of what social media platforms have. It’s difficult to make and plan an event over email. But if I could make an event on a discord-like client, and my grandma can get updates on facebook, and so on, that would be an improvement from what we have now
This is pretty cool, but it’s just another walled garden. No thanks.
I would say since the primary goal of genetic life is to survive and pass on genetic code. Muscles which clearly ended up working so hard that they were damaged need to be strengthen so next time such and such situation occurs they do not need to be stressed to such an extent. They are prepare for the eventual re-occurring of that task. Eventually you will lose muscle mass if you do not use/need it.
Yandex was also previously used for search, largely of Russian sites.

That relationship has reportedly been "paused":

https://www.protocol.com/bulletins/duckduckgo-yandex-ukraine
NZ some younger polichickens suggested rental WOF (warrant of fitness) which IMO is great idea. We already do that for cars every year and it costs almost nothing. For housing it would cost something like 0.5% of your rent.
Ok. That gets you to stay alive for a few months.

Now, imagine a world in which there will no longer be any agriculture, fuel, easy access to clean water, electricity, heating, medicine, health care, communications, government, supply chains, or law enforcement. The food supply that was available at stores and in homes has now run out. Fertilizer is no longer available, contemporary farm machinery that runs on petrol won't last long as the petrol dries up (and when they break down, won't be repairable due to DRM). Wildlife might supply enough calories to feed a small fraction of one percent of all people currently still alive.

This would go on indefinitely.

Preppers look at surviving a nuclear war like it's an adventure where all their Eagle Scout skills will finally be put to use. It's really just slow, heartbreaking death from starvation and disease, with horrible violence from desperate people and regional warlords mixed in. Think "The Road", without the extreme environmental destruction.

Note that this wouldn't be everywhere, just in targeted countries. US, Canada, NATO and NATO leaning Europe, Japan, both Koreas, China, Russia. Those not targeted would be looking at this whole thing kinda like insert "it's free real estate" meme here

And if nuclear winter is a real thing, which most contemporary modelling suggests it is (though this is not settled science and some modelling suggests it isn't), likely there won't be an environment conducive to growing crops anywhere in the world for at least 5 years. A lifetime Prepper Magazine subscription won't help you there.
And do you ask payment for the comp-off against the time-off that you had to take to visit for the interview.

And do you ask payment for the gas spent while driving to come attend the interview.

And do you ask compensation for your intelligent views presented during the interview when they asked you a technical problem related to their real life scenario and your answer ended up solving that saving them millions.
I would be very surprised if there is build infrastructure to build a full version of Windows outside of Microsoft.
It's fully open source, it's called Ovirt, find it at ovirt.org.

The one thing they do not provide to everyone for some reason is signed Windows drivers for QXL KVM graphical devices, but one can sign it himself need be.
I've heard this too. I've seen it recommended that you buy "Bee bread" as well, though this seems tricky to get hold of.
Whilst I've never tried either, I have noticed that hayfever is incredibly localised. I get awful hayfever in my native Essex, but just 180 miles away, nothing at all.
Anyone had any similar experiences?

Bee bread: http://en.wikipedia.org/wiki/Bee_pollen
Yes, and I believe that's a limit of the concept.

If you smoke 2 cigarettes on one day, chances are that you are actually a smoker and therefore you fall in the category of people that are more likely to die from cancer.

The actual impact of the cigarettes you have smoked isn't really taken into account here, it is the fact that you are likely be a smoker that increases the number of microdeath.
NYC (Meatpacking)

http://jumppost.com

We're hiring a product design lead and front end developer.

We're running on Rails/Heroku/S3. Small, but fun team in a great location.

See the job post at http://jumppo.st/bqCUJv
If I understand correctly, the traffic on the freeway doesn't stop -- only the traffic on the intersecting road does.