skysight-inc/HackerNews huggingface dataset:
Automatically updated materialized views are something I really want too.

Take a look at ravendb, it might be a good thing to try on next smallish project that you can move to a later one :)

Postgres has a nice advantage of supporting json, so in theory you could have embedded documents as materialized views and whatnot, but it's hard to make it play nice with orms.
That would be fraud, if they were getting benefits from both.
Is it normal for journals to charge a fee for publishing?
The dedication here is unmatched. Not only it's novice having to write programs on his head with no feedback but also all the hassle there is to run and debug these programs.

Just want to say I hope your brother can keep on this track, he looks on the way to success.
When I started out of college as a SWE at HBO in 2009, there was a ton of code written in like 1999-2002 still in use. It was cool to see well-written and documented code live on in real perpetuity. Also, most of the engineers who wrote that code were still there! I think things have both changed a lot in the last ten years (power of iteration), and also things in a stable, profitable company are just a lot different than in a startup.
I've been fortunate to never need to use greynet medicine but this seems like a comprehensive guide to it. But the author only lists 4rnx and unitedpharmacies. Are there other ones people use?
The prepayment penalty is instead of the interest they were expecting, not on top of it.
It will give a server (website or api) you have running on your local machine a public url.

Like @beaconstudio below mentioned it could be used to test webhooks. Other uses are testing local sites on mobile devices, like I just did to give the mobile experience of expose.sh a revamp. Its faster than running adb, rooting your phone or connecting a cable and doing mobile debugging.

There are other tools, although expose.sh is focused purely on http/https and not other protocols, this makes the syntax a bit easier as you don't have to specify a protocol, just a port i.e. "expose 80" instead of "ngrok http 80" (using ngrok as an example).
I think the fetishizing of algorithms has caused a lot of people to not move out of the 2) camp.
Actually I feel it is the opposite of that. Existing code can be battle tested and reliable, with lots of unforeseen bugs encountered and fixed.

But those bugfixes made the old code difficult to work with, and rather than take the time to understand it, new code is developed instead with a whole new set of bugs (many having been solved previously). Working with old code is unexciting and unsexy anyway, and it is unlikely to advance your career. And so the cycle continues.
Folks I work with support some clipper apps written in the late 80s.

It’s getting harder now with 64bit windows not supporting 16bit apps — they are living on a “legacy” Linux VMs tenant in Azure now, and probably will continue until around 2030. Possibly longer, as they are on emulated DOS now!
As a retro gaming fan I can almost guarantee you that there will (if not already) be a way to play those things.

I too miss iOS games that I can't play anymore, like (most memorably) the Texas Hold 'Em game Apple itself made!
> Can you provide recent examples?

We could do this same exercise with r/the_donald. While it's easy to find a few bad apples in any of these subreddits, it's pretty egregious to generalize it to the entire community.
I talked to a consulting company once that offered me a fixed price per sprint, with no commitments on how many sprints the project would take. I did not feel like our interests were any better aligned than in a fixed bid contract.
I feel like git clicked when I learned the tree and node structure it used to store commits. once you get that, it becomes easy to visualize operations like creating branches, rebasing, and cherry picking
I'm a bit confused then. I don't really get the point of simultaneously being the protagonist of the story, and also being the dungeon master. And I don't like that the game on its turn will decide actions for your character. I also played in Hardcore mode which has no undo, as the idea of undo is not fun to me in these sorts of games.
Please point to where I said it was bad
It goes over great with talented people who are tired of relearning the same things over and over again. The ones that need to "chug" every 2 years can go somewhere else.
> The only way to counter that push is by giving more power to the worker, and in low-skilled fields with lots of available workers, you need to do that through regulations and subsidies.

The only way? You don't think unions can give more power to the worker?
> > Ubuntu deciding to remove old libraries/apps that are not maintained. That's fixed via docker or just keeping an old version.

> Which is not a simple task. Why can't keeping old software be simple? It is in sane operating systems. Hell, even Linux can do it right,

I've wondered about these things, and I think the true reason is that Linux is a source-compatible operating system.

Other OS's solve this by the boring and painstaking task of assuring binary interfaces are stable and remain working. They usually do this by hiring and paying people to do it.

Linux does all compatibility at the source level, and binary compatibility is a little hit or miss. The common way to fix it is to recompile a lot of stuff.

As one example, I installed ubuntu 18.04 and it should be Long Term Stability.... but I did an

apt-get update && apt-get upgrade

and upgraded from a 4.x kernel to a 5.x kernel. I recall all the kernel dump stuff broke
> The level of corruption in this administration and this entire government is more than nauseating

Let's be fair, it's not just this administration, it's administrations before it as well. How many bombs and rockets did Obama drop and fire?
Just wait until all these SPA's stop working without constant maintenance.

Data: Always readable, assuming it sticks to some discernible format.

Data generated by code: Inherits both disadvantages; the changing of data formats AND the ephemeral nature of old code.
Only if you call GPT-3 AI. True intelligence would write as well as possible.
COBOL and SQL are for different purposes, apples and oranges. One can’t be worse than the other. Programmers who have never seen or written COBOL should stop trotting it out as an example of bad. You’d be surprised how many important systems are written in COBOL, and how well-suited it is for the problem domains it was designed for.
Thanks for the kind words. I think you are onto something - the sentiment you describe runs deep, especially among older people. It is of course generously fueled by state propaganda with "see how they treated us" being one of the favorite talking points. So distrust grows from both sides.
> The issue isn't that Apple has a monopoly on "their app store" but rather that they have a monopoly on distribution of apps to the set of customers with iOS devices.

You keep saying this but it's unlikely that the courts will see it this way. The US legal system generally doesn't consider an aftermarket of a single brand's product to be a valid antitrust market unless specific exceptions are met. I've explained why in detail elsewhere. [1]

Because it would be inappropriate to punish a firm for its natural monopoly in its own products, courts embraced a sweeping prohibition against analyzing alleged anticompetitive activity by focusing on single-brand relevant markets: "[A]bsent exceptional market conditions, one brand in a market of competing brands cannot constitute a relevant product market." [2]

The court held that “the aftermarket is the relevant market for antitrust analysis only if the evidence supports an inference of monopoly power in the aftermarket that competition in the primary market appears unable to check.” [3]

When a manufacturer lacks market power in the primary market, an aftermarket restriction set forth in a purchase contract is generally safe from challenge under the antitrust laws. Numerous courts have rejected aftermarket claims based on contract provisions that exclude competition in an aftermarket. Because such restrictions are disclosed to customers at the time of purchase, customers can understand and plan for the aftermarket restriction before they are locked in. [4]

> what makes it a monopoly is that there are no viable alternatives to it.

The court will (correctly) point at Android and ask, "why isn't that a viable alternative"?

[1] https://news.ycombinator.com/item?id=24193731

[2] https://casetext.com/case/metzler-v-bear-automotive-service-...

[3] https://www.ftc.gov/system/files/attachments/us-submissions-... (This is an excellent read for anyone curious about how aftermarkets are treated in antitrust law, btw.)

[4] https://eu-competitionlaw.com/competitionantitrust-challenge...
There are likely empty cigarette packages and beer cans inside the walls of many contemporary buildings. Gut rehabs of older homes often turn up interesting artifacts behind the plaster walls and in older buildings it wasn't uncommon to use newspapers and old clothing for insulation material. Our landfills will likely be the primary archaeological sites though. My dad often complains when my mom throws things out claiming that the archaeologists of the future will lose access which I often rebut by pointing out that she's merely sending it to the central archaeological repository.
With your library one has to write types twice.

I understand that it’s not TypeScript’s job at the moment, but it’d be great to enable runtime checks with the flick of a switch without typing extra code.

function upper(s: string) {
return s.toUpperCase();
}

This function could have a nice implicit TypeError instead of “undefined is not a function”
Do you believe then that it's impossible to identify a good situation until you take the job? There are no reliable job search tactics to select for better settings?

I would say, for example, that a job interview helps provide a vibe for the current situation at a company. But it's not a perfect signal, and as an individual I can't go on that many interviews. Hence looking for other approaches people have tried.

> Companies tend to optimize for profit, not for the comfort of programmers.

I believe that's a separate issue from my question. Seeking profit doesn't force a company to hire incompetent or apathetic programmers. If anything it wastes money on salaries that don't deliver as many new product features to sell, or as many improvements that will increase customer retention.
+1 for decentralization.
Those are some good reads, and have absolutely been my experience. It's depressing how many publications that I've come across don't provide the whole story, and are probably false.

I've found that looking at what a paper doesn't report can be far more important that what they claim.
No, not all administrations are equally corrupt. And Obama "dropping and firing rockets" is not an example of corruption.
This is a bad uninformed take. AOC would be a literally who without Conservatives pushing her as a villain in their media.
Yes, I am aware of the fact that some people are adamant that the word "kushi" is harmless and wonderful, and that black people shouldn't feel hurt when this word is used to disparage them.[1]

http://www.jewishmag.com/180mag/kushi/kushi.htm
The explanation that makes the most sense to me, from wiki:

Yet another insight is that your chance of winning by switching doors is directly related to your chance of choosing the winning door in the first place: if you choose the correct door on your first try, then switching loses; if you choose a wrong door on your first try, then switching wins; your chance of choosing the correct door on your first try is 1/3, and the chance of choosing a wrong door is 2/3.
The Mystery of the Sea Peoples
100% agree. The concept of Big O is actually pretty simple, so I would expect someone to be able to pick up the basic given a little bit of research.
> it takes me ages to convince myself this implementation is correct.

So never use it in code.
I'm assuming by hardware you mean iPhone, and software you mean iOS, and services you mean AppleTV/ApplePay/Music/whatever.

None of these are the main reason though.

The biggest reason you use an iPhone today is because it has Instagram on it, DoorDash on it, Amazon on it, Netflix on it, TikTok on it, and yes, even games like Fortnite on it.

And so... we get to this:

> Why can't you just leave us alone?

Because they want Apple to stop engaging in anti-competitive behavior. Without 3rd party apps, the iPhone is just a better phone. Being a general purpose computer is what makes it the behemoth it is today.
The idea that right wing Europeans are American leftists is an untrue and ridiculous meme.
Feedback from our HR department indicates that we struggle to retain younger employees in large part because they don't want to use legacy systems.
Sorry if I was unclear, the point I wanted to make was that asymptotic behavior is not something you need to worry about because it's unlikely your program will behave asymptotically.
I had this exact question, and the researchers said it was a serious consideration. Turns out the critters at this scale move quite slowly and so does the wheel. There's some effect certainly but it's small enough that they can track a single organism for quite a long time. It wouldn't work in other circumstances or scales for sure.

I wrote it up here, in case anyone would like to read about it in article form: https://techcrunch.com/2020/08/19/this-looping-aquatic-tread...
Seems unlikely here. (I was going to say the whole case is pretty silly, but then I read the indictment, re: the FTC investigation.)
The Wall Street Journal has run an experiment for quite some time where staffers chose stocks randomly by throwing darts at a dart board, and compared the results of their picks to those of professional fund managers. The random picks almost always won. Here's an example: https://www.marketwatch.com/story/random-darts-beat-hedge-fu...

To do much better than the index over a long time frame would probably require a time machine.
And that is the way it works, in functional countries.

And I absolutely agree, divorcing healthcare from employment is the single best thing the US could do to help fix several different issues.

But "We could massively restructure the US economy" is only an answer to "how should rideshare employees be classified" if you want to ensure nothing changes.
My favorite experience so far was as an assassin sneaking up on my target. I had followed them to an alleyway with no one else around. My target turned around and said something along the lines of "I know who you are. You are here to kill me, aren't you? Well you may as well do it, I no longer desire to be in this world."

Had to take a step away from my computer for a second there before continuing.
Banning a form of work where workers owns the means of production doesn't seem to be in the workers interest. I'd rather they regulate it in a better way, for example rewrite union laws to make it possible for gig workers to unionize.
> Either the OS broke userland, or it didn't; if it didn't, then the same binary should run just as well today as it did then.

I think you're oversimplifing things here. There are many reasons why programs did run on the old OS, but no longer work on the new that are not "new OS broke userland". Some of these boil down to inaccurate or short-term assumptions of the developer. Not exactly userland, but this story [1] why old Windows versions crash on fast processors is an especially entertaining read.

The sibling comment by jiggawatts provides good examples.

[1] http://www.os2museum.com/wp/those-win9x-crashes-on-fast-mach...
I think the one exception there is that you need to distinguish between people who don't take contracts and people who break contracts -- refusing to take a job is one thing, but if a driver frequently accepts a job then cancels it halfway through (eg, they are driving to the pickup and suddenly get offered a better job, on the competing platform), that is a horse of a different color.
We didn't find any significant correlation between funding and cause of failure. I guess, however, that this is because our data set was quite limited.
> whereas previously your taxes only had to cover some of their needs

I don't believe this. I also pay for the negative externalities due to them driving: increased traffic, increased pollution, increased accident rates, hospitalization (driving is one of the most dangerous acts for people under 30), etc. I don't believe that the tiny amount they get driving for Uber/Lyft even slightly offsets this.

> working their way up to better opportunities.

Unfortunately, Uber/Lyft are a trap because they sink time in return for not very much money and give you nothing in return. I would rather support those people idle--so they can go to school, learn English better, learn a trade, work a job that has a promotion path, etc.
Wait, what??

Electron apps contain a local web server. (That's part of the reason they're such resource hogs.) In principle at least they work offline. Github's desktop app, for example, works fine on a disconnected machine. You obviously cannot push or pull, but you can do local git operations with the GUI.
They have a method for imitating natural chemical, temperature, and light gradients even in the otherwise sealed tube. So they can simulate a great deal of those conditions and have observed some interesting behaviors at boundary layers, if you check the gallery.
I guess the problem is if you are using company property and the company is wiretapping that property and you have signed some disclaimer then it might be difficult to prove the company did something wrong.
Hopefully not, considering he hasn’t had due process yet.
> American conservatives have pretty eagerly woven prejudice into the ideological fabric of the party. Similarly the party seems willing to promote or at least enable blatant criminality.

Wow, what a complete load of horse dung.

American Conservatives aren't the ones burning down cities, looting businesses, beating people up, threatening people with violence, and demanding white people give up their suburban homes on an almost daily basis -- justifying it all under the false guise of oppression.

The level of denial is sickening, but ok.
I don't understand how you can draw any conclusion from the ratio. Not all of GDP comes from the public companies in the wilshire 5000. If we pretend it did, wouldn't 170% be a P/E ratio "in disguise"? In which case 1.7 is very, very low as P/Es go.

It seems to me that 170% is clearly not evidence of the stock market being overvalued, while not being clear evidence it is undervalued either.

If you disagree, what tells you the appropriate number? It seems like not knowing the portion of the economy outside the stock market, and whether it has gotten bigger or smaller, rules out knowing what the ratio means.

Another thing I just thought of is that public companies draw on the global economy, but the "D" in GDP is domestic.

And yet another thing I thought of is, what about the Net Domestic Product? TIL there is such a thing, although it isn't tremendously smaller than GDP. It appears substituting it would bring the ratio closer to 200% or 2:1.
So much terrible advice in this article, I don't even know where to begin. I guess I'll just flag it as misinformation?
I find the following easier to visualize. If L is the lower bound and U is the upper bound, and if you visualize L, U as two points on the real number line, then:

left_of_U ( right_of_L (num)) = right_of_L ( left_of_U (num)) = clamped version of num between L and U.

Here, left_of_U = Math.min(num, U) and right_of_L = Math.max(num, L).
The guy moved to Switzerland, where he has multiple businesses. See https://www.moneyhouse.ch/de/person/bauer-schlichtegroll-pau...
So productivity is a requirement of morality?
I get it. You're saying if Apple takes less of a cut, then that savings will trickle down to me.

The stunt by Epic, aside, has that ever happened to you? Has your Netflix bill ever gone down because they secured a better discounting with their cloud service providers due to their growing volume?

That's never happened to me (but maybe my experience is unusual)

But for the sake of discussion, let's explore how this might play out.

If a developer switches to a different payment services or store, they'll have to make a decision - pocket all the cost savings (and hopefully pass it on) or take some percentage of that saving and channel into their new acquired support costs. They'll have to support refunds, false charges, etc, right?

The big developers will hopefully act responsibly and balance the savings with their new support costs.

But what about the small(er) ones? Will these 2-10 people developer shops be prepared for the support costs? What if the support costs are greater than the savings?

What's your take?
This is normal practice. To publish in a respectable journal you are charged £1000+. To publish your paper as open access, you can be charged another ~£1000 for the privledge (IEEE).
Hmm, a google store on iOS would mean you could potentially ship Android apps to iOS with some iOS shim, couldn't you?

I'm actually kind of surprised Apple hasn't done this on Android yet, now that I think about it.
"You wanted a banana but what you got was a gorilla holding the banana and the entire jungle."

When Joe Armstrong said this he was talking about object-oriented programming, but it applies to dependency hell as well.
I guess I should be more specific. If I get kicked off of Fortnite, can I play in Fortnite’s sandbox? Can I buy virtual coins to use in Fortnite from a third party?

Why does Epic get to be the only company that can sell
virtual currency in Fortnite?

What if instead of buying apps with money, Apple made everyone by “Apple points” to buy things on the App Store like MS use to do?
> after receiving a punch ... maybe they’ll become better people.

That seems like the logic of a supervillain or sociopath. "When they did something bad, it's because they're a bad person that I'm allowed to hurt, but when I'm violent it's because I'm making the world a better place."

There may be times when that works, or it's the least bad option, but my instinct tells me that the sort of person that most deserves a punch is also the sort of person who is most likely to respond to that violence by doubling down and hurting more people (their victims often being those who can't defend themselves).
No intentional user-facing arbitrary software installation vectors. Safari, WhatsApp or whatever you use will serve that role whether they were designed to or not.
Show HN: Hack your tastebuds to enhance the flavor of alcohol and mellow bite
Hi fellow hackers! I came across this great video that shows the impact miracle fruit (my business) has on the flavor profile of high end whiskeys: https://youtu.be/MBcp-kY_XGo?t=322

I spent the last year making a formulation that dissolves 10+ times faster than the competition. Whereas the pills on market (depicted in the video) take 5-10 minutes to dissolve, my pixy-stick like product dissolves in 10-30 seconds. You won't find anything out there like my product.

Would love to hear what you guys think about the product! I believe miracle fruit has the potential to take willpower out of the equation of a healthy diet by making nutritious foods taste as indulgent as the junk foods that are otherwise killing us. No one has the patience to wait 5 minutes in the morning while they are rushing to school or work, so I knew this is what needed to be changed in order for miracle berry to go mainstream and positively impact people’s diet and health.

Please use the code “HN” for 10% off at checkout.
The media has been evolving over the years, it's not a sudden shift. However if you are looking for one, I suggest watching the Shadowgate documentary on youtube (released in the last few days). It's about a specific government program whose aim was exactly to "crack the code to finally reach the psyche of op."
Tokyo 2020 Olympics fireworks [video]