skysight-inc/HackerNews huggingface dataset:
You've just moved a bunch of problems to whatever is accessing SQLite. How do you scale out the application server compute if it needs to make transactionally conditional updates?

E.g.:

transaction {
if (expensiveFunction(query()))
update();
}

(My applications always get much faster when I plug them into Postgres after SQLite. But then I do do the odd sort and group by, not OLAP, but because they express the computation I want and Postgres is simply much better at that.)
I am not prepared to discuss or generalize from your specific situation. I have seen very wealthy people lose it all due to laziness and worldliness and I have seen very poor people become successful despite many roadblocks. Broadly, in the upper class environments I have been in, luck and connections appear to play a larger role in major success.

If you feel guilty about your relatively easy success, I do think that focusing on both gratitude and charity is an effective moral approach.
I shopped on Amazon for many years. I never had problems until around the time of COVID19. It seems to be a cesspool of scammers and conartists now. Amazon doesn't do much of anything about it either. I'm out a couple hundred bucks.

I'm kind of annoyed. I need a reliable place to order stuff. Aliexpress and eBay seem ahead of Amazon now. That's bad.

My favorite scam: Futures. Sellers will sell low-availability things at (slightly) inflated prices and long ship times. If prices go down, you get the product. If prices go up, they refund you. It's too complex for Amazon minimum wage drones to understand why this is a scam, so you can't do anything about it.

Amazon wouldn't refund my Prime, which renewed around the time of COVID19, and which hasn't really worked. That's turning into a scam too.
The plant omega-3s are short chain (ALA) wereas the health benefits come from the longer chain animal omega-3s. Our body has some ability to convert, but it varies from person to person. Some people (especially Men) may be unable to convert enough ALA to get the health benefits.
SelfDecode Assistant job responsibilities: “Organizing dates for CEO”
Forgive my skepticism

> I feel the talent we have now has the ability to crush, kill, and destroy the talent in Silicon Valley "engineers" at a fraction of the price in terms of output to input ratio. We've done work on crazy levels of core infrastructure and are scaling.

SV is a hotbed for a ton of international talent, not just American. Indeed, SV pays the most out of anywhere on the planet and therefore has an incredibly strong pull for the best and brightest from across the world. I sincerely doubt that one country's local talent is strong than a clustered talent center like SV.

Is Pakistani talent flying under the radar? Are we simply not aware of the amazing research and development being made in Pakistan vs US or China?
On the WD external drives, the serial number on the case matches the serial number on the drive inside. Once you get a couple complaints from either WD corporate returns or customers you sold the returned product to, I'd expect returns to be checked for this --- especially if there looked opened, but it takes a minute to power on and ask the disk for its serial number. You can check the smart pre-failure indicators too and maybe decide not to ship hard drives in a big empty box with three air pillows. (I dunno, I'm never buying a hard drive from amazon until they learn how to ship them)
There is no way you are informed... Who do you think you are helping by doing that?

This kind of turning on people who agree with you in principle but might have some of the details wrong is exactly the kind of fractally magnifying divisiveness that some of these subthreads are talking about.

We are all largely on the same side w.r.t. wanting positive outcomes for everyone. We will get there through deescalation and cooperation (not that I am perfect at either).
Sure, but in Canada you've got a much more robust social safety net and healthcare not to mention a sane leader.

Now that a lot of jobs are allowing remote work why not live in Canada and work for a US company?
More hardware needs to have handles. I really can't think of any moderately large product that wouldn't be improved by a simple handle
>but many are skeptical that empowering the government is the best way to achieve these ends.

That just seems like a rejection of socialism with extra words.
Maybe, but I remember thinking how cool it would be to have one of those. They actually sent someone to your home/office to set it up for you as part of the purchase experience!
What newsletters do you get? I'm definitely interested in this.
For uninitiated, Nikita has created in-memory database with mostly compatible API (datalog) for ClojureScript or Javascript. My impression is that his variant actually has more wide-spread use than original Datomic, based on number of open source projects that use each.

I used DataScript for a while to get familiar with graph database querying. I was fascinated how easy it is to construct queries that mine obscure relations between distantly related entities. I hope I get to use similar tech again.
I've contributed to large codebases that have static typing (C++ and TypeScript) and dynamic typing (JavaScript) and I've come to the conclusion over the years that static typing isn't really worth it as long as you have the discipline to write tests for your code. The most basic unit tests cover type checking concerns. Refactoring might require a bit more search/replace but I don't see how that is a big deal. Tests make refactoring safer than with just types. Tests act as good documentation of how you expect your code to behave and what expected inputs/outputs there are. You just don't get autocomplete which is a pretty overrated feature imo.
I don't know how best buy our other brick and mortar stores deal with this kind of scams. Unless they actually hook it up and check for that kind of scam its tough. In that sense its not a uniquely Amazon issue. At Amazon's scale though it gets exaggerated and also because of that scale they can ignore it and keep replacing items for their customers. The process to check each and every item for scams might be too costly. Its a fascinating study nonetheless and it will be great to get some real insight from people working on these issues.
Sorry, I should have been more specific. I was referring to travel, not immigration. No clue about immigration.
Lab-made virus mimics Covid-19 for research purposes
Holding stocks doesn't stimulate demand, it produces capital. In order to start a business you have to spend money to procure the means of production before you can open your doors. You can put up your own money, you can borrow it (debt financing) or you can raise it by selling an ownership interest in the business (stocks/equity financing). It's true that after the stock is issued, lots of financial games get played that don't actually help the economy, but most businesses would never have been started in the first place if not for the ability to issue stock.
First, they used to put these reshrink-wrapped items back on the shelves without any labels. Few years later, they started to put the label "Returned item".

Fry's is dead, as their HQ on Brokaw Road is being converted to an office complex. They missed the dot com gravy train; had they gone to IPO around 1999, they would have made a killing. However, Fry's brothers and their management are weird.
Massachusetts Covid-19 Travel Order
Yes. But C# also supports struct which are stack allocated.

C# allows to optimise memory allocation when that matters and to rely on the GC for less critical parts.
Thanks for noticing, it is really crazy indeed. I remember when my wife first came to my country of origin in the EU and it was pretty straightforward. Hope the US improves on this.
Is it like fish and fishes?

fish = plural for many of a single kind of fish

fishes = plural for multiple kinds of fish

So by analogy:

code = any amount of code from a single project

codes = plural for code from multiple projects

I'm American and this is how I use code/codes, so I'm curious whether you make the same distinction, or if you always use codes.
the thought crossed my mind, but wouldn't you do that after you sue in the discovery step?
Please don't feed the trolls. This is in the site guidelines, albeit with softer language: https://news.ycombinator.com/newsguidelines.html.
There is a new version coming out next year:

https://mitpress.mit.edu/books/machine-learning-second-editi...
Well, it's not a lose lose situation to the people that don't own property yet. They would greatly benefit from housing costs dropping, since they could afford to buy their own house or pay less in rent. The problem is that the people who don't own property tend to have less political power and influence than property owners.
My understanding is that fatty fish consumption is linked with health benefits, but for the most part omega-3 supplementation fails to reproduce these benefits. Perhaps it's due to other nutrients (selenium?) or perhaps the omega-3 gets oxidized or rancid too easily when purified out.
A hint of the coming future:

> “Do you really want to put a hole in this thing and put a button there?” Jobs asked me, justifying the lack of a power switch. “Look at the energy we put into this slot drive so you wouldn’t have a tray, and you want to ruin that and put a button in?”
What do you think are the effects on the H1B1, especially new H1B1 applications?

What should I do in response to the effects?

What should I fill in if there is a form that asks about visa?

What should I say when recruiters or companies ask about visa during our call?

Thanks for doing this AMA Peter.

https://en.wikipedia.org/wiki/H1b1
https://news.ycombinator.com/item?id=23942614
Frida 12.11 is out with macOS 11 and Apple silicon support
> preferrably C

Why?
I'm going through this article and it seems to me that is suggesting very low level techniques. Grep-able messages? Like ssh-ing into a machine and running grep to see your logs?

I would go for a centralized logging system.

If you are working on a PaaS, probably has its own logging feature already built in.

If you are looking to self-host, give the ELK stack a try(many alternatives as well).

If you are looking a third-party service, look over at Loggly (many alternatives as well).

And the most important one is: export structured JSON. A centralized logging system will parse and index your logs.

In the ELK case, logs will be indexed in ElasticSearch. From there you will be able to not only filter and search but also create monitors and alerts on your logs.
That one is a little existentially challenged. As it only exists in Trump speeches.
Paying the minimum in tax allowed by law to reserve the maximum amount of money possible for pursuing your own social or charitable goals is not immoral.

The government is not a charity (indeed, Apple HQ’s government uses some fraction of their tax revenues to conduct mass murder) and to argue that anyone is immoral for not paying more tax than is specified by the law is an argument against the rule of law in society.

If you don’t like the laws, take it up with your lawmakers, or with the concept of representative government or democracy in general, NOT those who explicitly comply with the law, and indeed spend millions on staff (and their payroll taxes) to ensure that they do.
One of the main challenges of building on Serverless platforms is rate-limiting.

There's nothing stopping a script-kiddie from thundering away at the Serverless endpoint resulting in an unexpected and quite high billables [0].

As for Workers specifically, Cloudflare's rate-limiting plan makes the whole thing 10x expensive at $10 for 2,000,000 good-requests [1] + $1 for 2,000,000 Workers requests. Other cloud providers I don't think fare any different.

[0] https://community.cloudflare.com/t/how-to-protect-cloudflare...

[1] https://support.cloudflare.com/hc/en-us/articles/11500027224...
This is like being in a plane at cruising altitude, looking down at the ocean, and declaring there's zero signs of life, so the ocean must be dead.
Coming soon: publicly accessible stores?
> Aliexpress and eBay seem ahead of Amazon now.

Wow, that is bad.
I read almost all of the essay assuming that the conventional-minded people meant the woke cultural Marxists. They are the conventional wisdom today. He should have used the word conservative:

[1] On (The Future Of) Conservatism

.... https://www.youtube.com/watch?v=uu5T3sWAg0w

Most young Western people seem to be conventional in the progressive tradition, because they were indoctrinated at school and university by ex-hippies from the 1960s, who couldn't actually do anything, so they all became teachers. Sixty years is more than enough to become the conventional wisdom.

Marx proposed a keen and mesmerizing analysis of Capitalism, a plausible (but wrong) diagnosis, then a completely ridiculous and laughably naive solution. Real class-based Marxism was proved wrong many times over, so the Frankfurt School and 1960s French philosophers decided to switch the dialectic, from class-based polarization, to group identity politics and the anti-scientific relativism of non-truths. Struggle by any other name would smell as sweet.

America is now in the middle of its Maoist Cultural Revolution. Let's see what happens. The world is watching. Does the Enlightenment survive? It's certainly up for grabs at this point.

The precedent is not good. China was utterly laid waste for decades by Mao. Tens of millions died, leaving a legacy of intellectual, historical and economic impoverishment.

It is hard to imagine anyone more evil than Mao, because his fear-mongering catastrophes and casual genocides were so routinely inflicted against his own people, his supportive party colleagues, his family, his (ex)wives, and even his children:

[2] Mao: The Unknown Story, Jung Chang & Jon Halliday.

[3] Nine Commentaries on the (Chinese) Communist Party

.... https://www.youtube.com/playlist?list=PLED64004A96BE76FA

[4] Evolution Of Evil: Mao Zedong

.... https://www.youtube.com/watch?v=WxaWmqgmJxs

Let us see what happens in America ...
Right. Posts like https://news.ycombinator.com/item?id=23917131 keep me coming back. Hard to find such focused discussions elsewhere in my opinion.
Really complicated and nuanced stuff unfortunately. What's clear is that one can incorporate, get office space, build a product, and even get funding and that one can't get paid cash for work done. Everything else in between is nuanced, such as generating revenues if not taking a draw or cut. I'd be happy to talk this through with you and anyone else but my general approach is that once the business is real (not a great definition, I know) and not just a hobby or side project, one needs to get work authorization.
Your response doesn't address the points of concern I raised about the quality of Hungary's democratic institutions.

I agree that it is debatable as to whether those concerns make it an autocracy. As you say, it is not a clear cut matter. Countries walk a path towards authoritarianism, they don't flip a switch. But this news item didn't come from out of the blue. The state of Hungary is walking further down a road it set out on some years ago.
> using PEI coatings that'll scrape off easily with metal-on-metal contact.

Yeah, you're correct, it's a glass bed so I use it to do the 4 corners (every few months) and then use a BL touch to do a 3x3 grid on top of it.
I'm not going to pretend I know the right answer here. It's an amazingly complex issue. But I find this to be a poor argument.

Absent central bank intervention, a productive economy should naturally undergo significant price deflation year after year as efficiency improves, causing more goods and services to be produced with the same inputs. This is why consumer technology prices trend continually downward.

So if the default, absent any intervention, would be for prices to go down every year across the board, pointing to "low inflation" numbers is a red herring. The question shouldn't be how far inflation numbers are above zero, but how far they are above the negative rate of inflation we'd see otherwise. That differential is what tells us how much wealth is really extracted from the economy via what is effectively a highly regressive tax.
How is it in the spirit of democracy or national independence to lobby a supra-national organization to meddle in the affairs of Hungary?

Is that not authoritarian?

Why is it for Europeans outside of Hungary, or even international citizens living in the US to define how Hungary should operate? Is it not for the people and leaders of Hungary to do so?

Is it not more in line with self determination to not get all bent out of shape when a nation does not conduct its affairs in line with your foreign sensibilities?
Hired a band to play in the front yard for my kids birthdays.

People will park in their cars and listen from the street.
If you add a new value to an enum, or a new argument to a method, you have to know all the places where you do switches on the enum or call the method, which is hard to do without static types.
Vint Cerf's "Quantum Internet" Comments
Is a newsletter not the same thing as a blog? If so, is this really a new trend? And if not, how is a newsletter in this context different from a blog?
Apple pays taxes in every country it does business in. The remaining profits it keeps in Ireland because of the low tax rate, otherwise if returned to the US it would be taxed again.

US international corporate taxation works like this if you repatriate profits to dividend to shareholders:
1) First pay taxes on profits in each country the profits were made.

2) Out of the remainder pay state corporate income tax in the US state you are headquartered in.

3) out of remainder pay federal corporate income tax.

4) out of remainder shareholder pays state income tax.

5) out of remainder shareholder pays federal dividend tax.

Typically the shareholder is able to keep about 30-40% of their share of the original profits after they go through the five layers of taxation.
Are you in the I-485 stage?
>Hopefully, Amazon will learn it or make it a problem for the vendors.

The problem is, it'd be trivial for someone with a sticker printer to slam a new label on the drive, saying 16TB. It'd be quite unrealistic to have Amazon own the tools and perform QA testing on all the millions of items on their site. You see a similar problem with knock off headphones, even plugging them in and listening to a song wouldn't be enough to find most fakes.

I think the only real solution is this to be fixed at the government level. At the moment it's too expensive and risky to go after customers, even when Amazon can determine they are running this scam. Either you get drawn into a legal battle trying to prove it, or you get labeled as evil Amazon going after the innocent little guy in the media. It's easiest for Amazon to just raise prices 1% and call it a day. Which is what Walmart does for theft/return fraud as well, and likely every company in the U.S.

There needs to be a law that makes it easy for Amazon (and other companies) to go "this account was found to have returned different merchandise 5 times, they need to pay $xxxx fine" and it to be done. But if even if one of these cases go to trial, it'd be at least a $5000 expense to Amazon.

As long as this is impossible in our legal system, these scammers will continue to thrive.
Remote Laravel/Vue Full-Stack Developer
Mobilozophy is looking for an experienced full-stack developer. Our entire team is remote, so while we prefer US candidates, you can work from anywhere as long as you’ve got some overlap with the typical North American business hours.
bearings and bushings need to be hard to resist wear and maintain their dimensions. Stainless steels hard enough for the job are too brittle and those other metals (Al, Ti) aren't even close to the hardness of any category of steel.
Emulation involves a lot of large byte arrays and static structs that your code updates a lot to represent the hardware. It isn't necessarily creating a ton of objects all the time. I do not have specifics on hand for these emulators but it's not hard to imagine that they could well be running the GC for a few microseconds every few minutes or something [1]. It is a very different type of program than a traditional game, or, indeed, almost any other kind of program.

There does seem to be this odd semi-subconscious idea in the "GCs aren't appropriate for any high-performance" world that they intrinsically work by stopping the world for 50ms several times per second or something, but that does not have to be the case.

[1]: I actually have a number of servers in Go that run on about this schedule. If you eliminated 100% of my GC cost for these servers, I wouldn't care at all, or even notice.
> Given that most stocks by far are held by wealthy people

I also won't pretend to be an expert here, but I think this is where your thinking may be going astray. There are lots of retirement-age people who are counting on their pension funds to fund their retirement. Pension fund managers assume steady growth in stocks, something like 7-10% per year. If stocks don't meet that threshold, major parts of the pension system run into big trouble. Pension plans have trillions of USD in assets. This article [1] estimates ~$9T. Retirement-age people in general are a powerful constituent.

[1] https://www.investopedia.com/articles/credit-loans-mortgages...
F1 Visa Revoked

Before pandemic, in July 2019, I got my F1 visa. In September 2019, I went to the airport to fly to US, but the airline officer said your visa got revoked! I resubmit my second visa application in September which is still under administrative process after about 1 year. What can I do?

My case is related to this news:

https://www.theguardian.com/us-news/2019/oct/14/iranian-stud...
I was just looking for some reasonable way to decide if the OP's claim about NC A&T grads was true.

I asked about noted accomplishments simply because I couldn't think of any better way (within reason) to evaluate OP's claim. I'd be happy to hear other approaches.
I can verify that at least some of those companies listed there have whiteboarded/leetcoded me.
You can't work for your own company while on CPT and you can while on your first year of OPT and with some additional restrictions/requirements you also can work for your own company while on STEM OPT.
I have a friend who regularly buys items on Amazon, uses them for a couple of years and then returns them just before the warranty expires because of "dead pixels" or some other excuse, and gets a full refund.
What application do you have where huge public keys are no problem, but you fear imminent (at least within a lifetime where you can't upgrade) availability of large quantum computers capable of Shor's algorithm?
If we follow that argument to its limits, are there any true individualists?

Maybe it's just conformists with progressively smaller groups.