skysight-inc/HackerNews huggingface dataset:
> I didn't get round to renaming the file for every edit.

That was your problem then, no? If you don't do that from the get go, you're essentially saying that you don't care about atomicity, consistency and durability.

> Yeah you could do some auto rename thing but it might be simpler to just use sqlite.

You mean atomic rename? The simplest way is to just use a library that does it for you. One does exist for Python. It takes 2 lines of code to safely dump your JSON data with it.
see my reply to the parent; there’s a retrieval market too, which could help that issue
How to manage data automatically with custom Backbeat extensions – Zenko
Not all, but very many will be highly paid.

My comment is about tech workers working in that area. I think this is better for that area to have highly paid workers in remote queens who can live or commute in.

There’s already a ton of tech companies in Manhattan and Brooklyn. The new change would be to have a tech hub in LIC.
Tell HN: I'm worried that certain posts are made and deleted to hide news
This post might be a paranoid reaction on my behalf, but I've run into this issue twice in three weeks. In both cases, the news portrayed was negative for someone (https://news.ycombinator.com/item?id=19165839 , https://news.ycombinator.com/item?id=19004568). I totally understand flagging a post because you believe it doesn't have a place on HN, or deleting your own post for the same reason. However, the latter approach makes it markedly more difficult for someone else who thinks differently about the post to make it on their own, and can therefore be used to willfully prevent discussion.

Again, my reaction could just be interpreting malice where there is none. However, please do not take away the privilege to agree to disagree with each other from topics of conversation where we are still able to act with civility with one another.
because it was haphazardly stitched together we ended up with healthcare that

1. does not cover everyone
2. it is rationed by for-profit companies
3. is is expensive and can bankrupt you
4. tied to employment which means you can lose it easily
5. confusing since you often have to deal with paperwork and multiple providers

If you are rich and can afford it the american system is great but it is awful for everyone else.
Not even developing country standard, at least those countries still can afford some of it.
You know, we love our overloaded terms? In this context it means "Decentralized storage". Keeps people on their toes, keeps the AI guessing.
Unlike most drugs insulin is derived from animal cells so it’s not really possible to make a generic because you can’t demonstrate that your end product is identical to an existing product (at least not as far as the FDA is concerned).

The formulations are constantly tweaked by manufacturers to evergreen the patents too. New patents allow the price to be pushed up without risking new competition arriving.
Short acting is the biggest problem. There's no generic for it.
I don't need to be more specific. Read the ticket outlining the alloca problems. It cannot get more safety relevant.

"Unresolved questions:

* [ ] How can we mitigate the risk of unintended unsized or large allocas? Note that the problem already exists today with large structs/arrays. A MIR lint against large/variable stack sizes would probably help users avoid these stack overflows. Do we want it in Clippy? rustc?

* [ ] How do we handle truely-unsized DSTs when we get them? They can theoretically be passed to functions, but they can never be put in temporaries."
The content was a pleasant read. The left and right margins on this blog doesn't look right on iPhone 7/8 especially when identifying high performance behaviors were numbered.
Hey - it fails:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://us-central1-steamosaic.cloudfunctions.net/mosaic. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
> If the influx in Nashville is from Louisiana, that's still important, because it represents an influx that previously would have gone to some other city where there are attractive jobs.

Your original comment:

> Everyone's moving to more comfortable places with lower costs of living.

Moving from Louisiana to Nashville (or from NYC to Seattle) doesn't encompass that statement, so yeah, it does matter.

> Because, if NYC doesn't compete, then it loses the best job applicants to places like Nashville.

Or, NYC attracts good job applicants and Nashville can as well. This doesn't have to be some weird hyper-competitive thing where NYC < Nashville because Amazon isn't coming to NYC.

People aren't leaving NYC - the city's still growing in population despite being, again, by far the largest city in the country. NYC's doing fine. NYC will be continue to be fine without Amazon. Nashville can be fine too.

I'm not trashing your city, I don't know why you feel the need to trash mine.
I have used a service from Octoparse for one of my clients. it costs them a little under $100 a month. Pretty easy to set up. Runs in the cloud and then downloads to client database 2 or 3 times a day. After a couple of problems early on it has been pretty reliable.

I know they have a trial or freemium version that might be sufficient for your brother. It won't run in the cloud but rather from your brother's local machine.
Definitely! First off, I am biased in my compost preferences and it is always good to hear different opinions. Second, what works for one fails for another, so no sense in throwing more effort into a process that isn't working.

On to your situation. In home composting is always tricky. My wife and I do indoor/outdoor because we have a yard. In your situation, I'd advise against vermicomposting for the same reasons you listed. I was the technical manager for an enterprise vermicompost startup. Our facility was a rowhouse basement and the owner of the property was a founder. Flies are unavoidable, as is the occasional vermischwitz. They are fragile guys and minor mistakes have major consequences. The exact ratios escape me, but 1lb of healthy, mature red wigglers can consume half a pound of Green (fresh) cellulose in a day or two. We were engineering soil additive, so we supplemented heavily with Gray (dead) cellulose (cardboard, paper, etc.) In an attempt to hit profitable output. I will spare you the further details of our failure. Suffice to say that vermiculture is tricky in the best circumstances.

My suggestion to you is twofold: use the Bokashi Method (https://www.planetnatural.com/composting-101/indoor-composti...) and find a friend with a garden to offload your Bokashi Tea. That link is one of the first hits on Google (read: not vetted) because if you go this route you are going to be reading a lot and there are many roads to Rome.

This is very short due to medium, but if you'd like to discuss in depth and at length I'd be more than happy to. Both composting and waste neutralization are passions of mine. Just let me know how to contact you should you desire.
The perverse one is where the new patented version is only marginally more effective but 5x the price and they stop making the old one.

It's a sick system.
That’s a big claim. Can you back it up with some evidence? Edison played a key role in at least three technologies which transformed life in the 20th century. Musk has led some incremental improvements which are nice but I’m skeptical that he’ll realistically match, much less eclipse, that impact.
the mistake is to think that others have failed because they were not good enough. If 10 people tried before and failed, you can be darn sure that there's a good reason for those failures, and it's not lack of ability. When it comes to online software products, businesses always fail due to 2 problems: #1 no one wanted the product (or not enough) or #2 cost of acquiring customers was too high. These aren't going to be solved with better code.
> "commoditize your complement" means that only those whit physical hardware can make money.

Those companies are the ones with physical hardware.

But it's also not true that they'd be the only ones to make money. If you lower your supplier's margins on hardware and then pass half the savings on to your customers, you get both higher margins and higher volumes. But your customers still get lower prices, which means they make more money too, on top of the transactions that it made feasible that weren't previously.
In {lambda talk} it's not possible to write {lambda {y} {lambda {x} {x y}}} because in {lambda {x} {x y}} y is a free variable and lambdas don't define closures, don't accept free variables. I develop a little bit in http://lambdaway.free.fr/lambdaspeech/?view=closure. I just found that there is a life out of closures ...

About precedence, let's compare the prefixed parenthesed syntax to the standard math notation:

{+ 1 {* 2 3} 4} -> 11 // equivalent to 1+(2*3)+4
{+ {* 3 3} {* 4 4}} -> 25 // equivalent to (3*3)+(4*4)
{/ {+ 2 5} 2} -> 3.5 // equivalent to (2+5)/2

Note that in the standard math notation, you can forget parenthesis in the two first formulas provided you remember to multiply before adding. In the last formula you must always use parenthesis. My opinion is that the systematic use of parenthesis helps to understand the process. And, last but not least, the evaluator is much more easier to write.
I read the GP as talking about how code size was always a weakness of RISC, and seemingly the largest one.

And here it is compared against a classical CISC platform and a hybrid one highly optimized for code size, and winning. What just makes RISC-V even more awesome than just any non-optimized design beating the incumbents.
Unfortunately it doesn't work like that.

First, state income tax is exactly that, income tax imposed by the state, and governed by the state. There may be local jurisdictions that impose additional income tax but any savings there would be trivial.

While sports are important to the local economy, my understanding is that they are relatively minor at the state level.

Second, LeBron (and other athletes) earn playing income in every jurisdiction they play in, not based solely on the jurisdiction that the team is based in.

This means they are responsible for filing taxes in each of these jurisdiction.

In addition to playing income, they make money through endorsements and other investments. These are considered income in whatever state they claim is their residence.

It's in a players interest to establish a residence in an area with favorable tax laws.

Cities may try to woo elite players to join them, but tax savings isn't very compelling.
Wealthfront Introduces 2.24% APY Cash Account
Queens: 55% support, 39% oppose

https://hotair.com/archives/2019/02/14/amazon-kills-plan-bui...
Another 2 get taken for eating/commuting if you live close to work, let's say you spend another 1-2 per day taking care of your school-aged children, so now you're down to 20-30 hours a week. Let's say you spend another 5 of those doing social things, that's 15-25 hours a week. Subtract another 5 to deal with errands... 10-20. Some more of that will likely go towards your spouse.

That means you get something closer to 500-1000 hours a year. Perhaps you can get more if you carefully prune.

That's enough to do stuff, not enough to accomplish a second career.
Where in your mind would the affluent residents live?
It is less about the average American worker and more about statistics.

There are 1 billion Indians and Chinese each. When a few thousand of them are migrating to the US every year, you get to meet the candidates that have been pre-screened to be among the best in their respective could tries.

Now since the US has better amenities, the 99th percentile Indian, probably rubs shoulders with a 95th percentile American. But even then, there are just as many 99th percentile Asians as there are 95th percentile Americans (due to population differences)

If Amazon needs a person who is in the 95th percentile on Math/Analytics/CS , then at a certain point they run out of Americans. They then have 2 options. Either hire 99th percentile Indians or lower the hiring bar.

IMO, the US has managed to stay on top in the tech through shameless poaching of top talent across the world. (Among other things)
Letting go of this talent, across the board, might lead to short term citizen job growth, but may cause long term job loss as companies setup base elsewhere, in search of talent or competition gets stiffer.
Facebook monitors and tracks the locations of users it deems a threat
Because endless profit growth is the only thing that matters regardless of the morality or reality of the situation. And what better market to exploit than one where most people have to make a decision between being priced gouged or death.

This is of course an extremely simplistic way of looking at it but the reality is that we allow companies to abuse the patent system (under the guise of making research profitable for profiteering medical research) making generics impossible for things such as Insulin.
I think there are some differences though. "Worse" is a term that needs to define quantitatively what is worse. The quality is actually quite good here.
I think regulating Google is more important. Sure social media has a lot of noise, but Search is actual reality. Google’s potential to shape worldview and commerce based on search result would have much greater impact from regulation.

Imagine a single company selling 90% of all tv ads in the country? Or a single company selling 90% of all the ads in newspapers.
I'm interested in this as well. Failure scenarios for their system are data and financial loss.

For example, if there is a loophole in "proof of spacetime" then you might be paying for your data to be backed up 8 times and have it only backed up once. You find out that was the case only when that node disappears and your data is lost.
Probably better to measure by where people are on the income distribution than above/below arbitrary points like 100k.

Most of the research I've seen uses quintiles as a proxy for "class".

If you look downthread, I've linked some that disagrees with you re: USA vs other anglosphere countries.
Below 100 thousand units it doesn't make any sense to have custom silicon. The ARM SBCs are all based on existing TV boxes, including the original Raspberry Pi so you are unlikely to see a development board before a proper laptop or NUC-like desktop is released.
I like how it effortlessly switches into "git diff" mode at the end of sample 112. Sadly it doesn't do whitespace.

> Showing 1 changed file with 4 additions and 19 deletions. +4 −19 png_source/colors/pointer.py Show comments View 8 png_source/colors/pointer.py @@ -35,6 +35,7 @@ def _draw_hull_class_level(self): repr(Shape[td_get_framepanel_pcs(dc) for dc in xrange(dc.cols)]), self.doublesize.values) \ } def _draw_hull_class_level [etc.]

It also inserted a helpful reference link to http://wiki.openarcade.com/wiki/List_of_Programmer_Constants (I've had to check: no, there is no openarcade wiki.)

Also, sample 217 is some mediocre Java, with comments and all. Impressive how a single model can handle this all at once.
The point is pretty clear: there are people out there who don’t even know what 1-month free rent is. The contribution to the conversation is an illumination of the divide between some generalized types of people in New York. The relevance to the OP is that there may be some wildly different opinions on Amazon’s perceived actions based on which generalized type of New Yorker you are.
Love Waves, A Music Game
In many ways I like TablePlus, but at least on MySQL, I'm not fond that it single-quotes all data types in the "Copy Rows As > SQL Import Statement", including decimals and integers. I don't want to introduce potential data type casting errors into my export. Sequel Pro, while less advanced in other ways, doesn't do this; it properly only quotes the data types that should be quoted.
Yea, that seems frightening. I like to think of my local variables as my inaccessible local state. I'd imagine it keeps my JIT happy too. What would it even mean to have a lambda reference to a variable who's stack frame has already popped?
There are five beneficiaries of these prices (or the broken system): Insurance, Doctors, Hospitals, Suppliers (Drug companies) and Politicians. It is easy to fix - fix the government (Politicians) - and everything fixes itself. And once the government is fixed, incentivize them to punish monopolies.
I've lived and worked in a few countries including the US.
In the US you are a "customer" first and then a patient. The entire healthcare system is run like a business that only cares about the money that they're making.

(Edit: small typo)
unless you're a big wierdo who has problems that few others have. If it's too niche, it won't be able to spread by word of mouth, and it'll be hard to find others with the same problem.
I don't think we should focus on climate change at all. Like you said, it's too daunting of a problem.

What we should focus on is solutions to "now" problems that will help with climate change as well.

I'm talking about things like smog prevention. That's a problem people can see right now, that can be improved within our lifetimes.
Is the new, still under patent, insulin that much better than what would be available to a generic manufacturer? If the previous generation would work for plenty of patients that’s a huge market opportunity.
4a. Because US health coverage tied to employment, it serves as golden handcuffs.

But hey, got to have those profits...
In terms of exoplanetary interchange, time recedes and tonnage expands as the concern. Without a space elevator or MAC transfer solution, you'd be effectively FedExing teacups of dirt to a green house in a Sahara contained on Antarctica... on Mars.
Why Fund Manager Are Investing in Big Data and Machine Learning
> If we decide to not extend it, users will incur .01/GB in all DO regions which is one of the most competitive bw fees in the industry.

Hardly. Maybe if you're comparing yourself to the ridiculous prices of AWS, GCP or Azure but definitely not if you look at the rest of the industry.

I can get, assuming bandwidth is kept at a sub-optimal 10% utilization (which should definitely be optimizable by scaling your instances):

- Unlimited traffic with a 250Mbit/s port from OVH for $32/month, which comes to $0.003/GB

- Unlimited traffic with a 400Mbit/s port from Scaleway for 16 EUR/month, which comes to $0.0013/GB

- Overage traffic on any plan from Hetzner for 0.001 EUR/GB.

And then there are the Bandwidth Alliance members who give free egress to CloudFlare, which then charges nothing to most users: Data Space, Dreamhost managed hosting, Linode, Packet.net and Vapor.

If you need even more traffic, you can start to buy transit, which is dirt cheap.

Bandwidth costs are the number one reason I won't even look at most cloud providers.
Do 'heavily processed' foods increase the risk of an early death?
> we don't need to give the largest company in the world a huge discount to do business here

Looks like you do, because now we have - no discount, no business.

> It's not like the economic development of NYC is dependent on Amazon

Of course, losing several billions of added value and 25K jobs won't kill the economy of the size of New York. Just as shooting oneself in the foot won't kill most healthy people. But keep at it, and sooner or later there would be a surprising development that the health is not what it once was...
> Is there something about the US legal system

At least one thing about the US legal system encourages patent trolls as compared with other countries: the US does not have the rule that many other countries have, that the loser of a lawsuit pays the winner's court costs. This affects many areas of US law, not just patent trolls.
That makes sense, although the guys I am working with had a few solid successes. I am definitely not in it for the glamour; I am in the liking (horror) movies camp.
Ask HN: Good sites for employment / termination advise
Recently I filed a complaint with Human Resources at my company.

Another programmer made a homophobic slur about veterans (I'm a retired Marine) and in his brilliance he did it right over a slack channel. This homophobic coward has since gone on to influence projects that I'm on and recently had me removed from the project.

This is the short story. The long story is 5 page complaint, slack channel screen shots and six months of documentation.

I'm pretty well versed in "at will", employee handbooks, counselling, documentation, improvement performance plans, etc. I feel slightly protected as I have filed a compliant, hence it would be retaliatory, if I was terminated by the end of the week. I'm trying to find a new job, but need to land the right one not the I have to take.

Most lawyers want payment and I don't think they usually win. I have already come to terms with that. All I really want is to move on to another job or be left alone and judged on my merit of my work not the resentments of a crazy stalker coder.

Does anybody know of any good resources for issues such as this?
As per the gp

> There's no laws federally preventing corporate collusion and corruption regarding federal congress. And I would also make the claim it's also true for states as well.

This is where the graft and cronyism comes from, and not just for liberal "over-reaching government" policies - graft and cronyism also infect regulations to enforce monopolies by people trying to downscale government protections, and they infect the removal of some regulations that industries consider too onerous but which benefit society at large.

The issue in the US right now is that graft & cronyism are so deeply embedded into the government that we may not legitimately be able to get them out, but I'd urge caution whenever you're tempted to pre-judge people who want to make large changes as doing so for personal gain.
I wonder if drugs are cheaper due to more relaxed regulations? the American FDA has many strict requirements around manufacturing and distributing drugs, but Mexico and Cananda do not need to follow the same standards, resulting in lower operating costs.

Lower operating costs = lower price.
I don't know how to solve that because I think that no one forces newspapers to accept articles from people they think are crazy.

I don't think this is tangential... I don't think this necessarily resolves to a perfectly fundamental principle, in a philosophically loophole-free way. Maybe a newspaper isn't a good analogy.

Here's one example. A large portion of elected officials around the world communicates with (and mostly to) their electorate mostly on social media. It is how they get elected, argue positions, etc. The argument (I'm not sure I agree, but I think there's an argument) is that twitter, fb, etc have crossed some sort of the threshold where there is a lot at stake.
To each their own, but I can second that most Java programmers find that ability horrifying and if it came to a vote would probably get it ejected.
Those companies spend far more money on marketing than R&D an they’re heavily reliant on US funded research — almost every erything they do starts with NIH funding.
How to save data locally in Flutter
They can only do that because the US system is so broken so you are just reinforcing what the parent comment is saying (which may have been your intention but I was a little unclear on that)
Many people care about a social platform just because of its monstrous popularity, and for that reason one might say there will always be a demand for a Facebook, even if Facebook itself dies.
> it started off competing with commercial UNIX

It started off as a Unix-like toy/learning-platform that people could run on devices too cheap to run Unix.

Then it evolved into a Unix that people could use on devices too cheap to run real Unixes.

It took the best part of a decade to make it competitive with the other Unixes. What just reinforces your point, I guess.