skysight-inc/HackerNews huggingface dataset:
> Setting up a scalable Java service is complicated even with tooling like spring boot

How so? You can use much the same techniques you would in Python, or you can deploy a .war to a bunch of application servers and achieve what you'd do with docker/kubernetes/etc. in a much simpler way. You've also got a much better chance of scaling up with a single instance and not needing to scale horizontally.

> the feedback cycle and general code velocity was much slower since we'd be on java 8 among other things

What's keeping you on Java 8? Major JVM version upgrades are much easier and safer than even minor Python upgrades. I'm not doubting your situation, but old version of one language versus new version of another is not really a fair basis for comparison.

> Plus learning spring or a Java ee framework is tantamount to learning a whole new language it wasn't worth the time then.

Sure. I'm not saying it's wrong to choose to stick with the technology you're currently using - there's definitely a cost to switching or learning something new. But it's worth being conscious of whether your technology choices are being driven by legacy constraints and whether you'd want to make a different choice on a green-field project.
If you have time and space to pre-generate thumbnails, it's probably not a significant win, but I think it could work well for displaying local thumbnails of JPEGs, like from a camera.

If you're browsing a directory of hundreds of large (e.g. 10+ MB) JPEG photographs, generating the thumbnails by fully decompressing all of them would take while. "Progressive thumbnails" that only decompress the first ~100 KB would be much faster.
If there is a law saying that you have to take cash then I would think that limits freedom of contract, not the other way around. It's not like absolute freedom of contract exists anywhere in the world, at least that I know of, e.g. you can't enter into a contract allowing someone to kill you, sell yourself into slavery etc. Sweden definitely have a lot of other restrictions to freedom of contract such as limitations on what you can agree to in an apartment lease or employment contract.
How many people would get addicted to alcohol if they never had more than 2-3 beers in a session? Because I don't expect many people to over-dose their prescription before they get addicted.
>why it was introduced or changed.

"Fixed formatting"
Actually Linux can handle a few million threads just fine - you only need to increase the max pid.

You should just update your reasoning and say you can’t have 100M threads waiting for blocking IO.
It depends on the manufacturer. Some OEMs call the Engine Control Unit the ECU while others use the general terminology where all Electronic Control Units are ECUs and the engine controller is an Electronic Control Unit named the PCM (Powertrain Control Module) or ECM (Engine Control Module). In those cases, there are some strange ECUs... ex. the steering wheel is an ECU, the stereo headunit is an ECU, etc.
I am very curious about the lockdown in North Italy.

Are you still going to work?

Are supermarkets open? Are restaurants and cafes?

Is public transport running?
No amount of P2P encryption will create strong privacy for those people, unfortunately.
actually I wonder if that 40% still holds given the recent news that the study showing that it could be transmitted by asymptomatic people wasn't correct (although I guess that doesn't mean it can't be transmitted by asymptomatics, only that we are back to uncertain)

Then again, the world is not really structured to letting someone with light fever lay in bed for two weeks so maybe it's the same thing.
Hey this is actually something I’ve been looking for! It’s simple and fast without the extra stuff you often find on sites proving the same stock search functionality. I also like the ability so explore by country. What are you using as the data source? Would it be possible to bring figures such as P/e to the site as well?
> If "it" is "the degree of worry that you might be falsely convicted", then you're simply wrong: race is a very significant factor in that degree of worry, at least in the USA.

It is the risk being too high. It's higher for a poor black man than for a rich white woman, but it's too high even for the rich white woman to talk to the police when she's a suspect. It's too high for everyone.

Please don't turn this site into a "acknowledge your privilege, heathen"-Twitter-clone. Read what people write, assume good faith, and if you don't understand something, ask. Don't just go "hey, I choose to ignore 90% of what you wrote, make up the gaps in my head and then reply to that". If anyone wanted that, there are Twitter, Facebook and Reddit.
The article should be entitled "Brave Executive Team is Brilliant."

Brilliant in two ways: (1) they are an ad company that has fairly successfully wrapped itself in a Klingon Cloaking Sheild made up of "open source" and "pro-privacy" atoms; and (2) they did an ICO at a perfect time (peak of hype with BC soaring) and ease of implementation (Etherium). It was so good (bad) that it brought a tear to my eye.

Getting back to the article, I felt that the grade school "Daddy-O" interludes were unnecessary and distracting but I otherwise really liked it. And the illustrations were boss!

In fact, I liked it so much that I wanted to buy the author a coffee. So I clicked the link and...I was taken to some startup payment service that made it a chore to pay $3, so I bailed. I thought that was ironic as that payment site reminded me of Brave. Intermediating a common transaction with useless clutter and therefore foiling it.

So the Brave exec team and founders made a nice chunk of change and have perpetrated a ruse. But, luckily for users, they balanced Karma by producing a mighty-fine browser. Its capabilities rank it among the best.
Very easy to say. Very difficult to implement. Save human life without destroying (an already bad) economy in between. Especially in Italy a country full of strong opinions.
IWD 2020: coercion, exploitation of female open source volunteers analyzed
> unbeholden to investors, and it provides a very tangibly valuable service to an industry which itself provides a very tangibly valuable product

if you wouldn't mind sharing, what do they build/provide?
True. Public companies will use a layoff to fix one quarter of missed earnings (in the eyes of investors).
I would think this is orthogonal to REST-vs-RPC:

> the presumption that GET is safe for [reads]

GET requests are supposed to be idempotent and side-effect free. Sadly, too often, they are not. Internal state gets mutated, a query parameter gets stored and/or processed in a way that affects future reads, and so on.

But then again, nothing prevents you from writing RPC based service with those semantics either. It just might be that people who develop and maintain RPC services are better aware of the consequences of their actions.

REST is conceptually easy, has human-readable on-the-wire payloads and operates on synchronous semantics.[×] The bar for entry is simply lower, allowing even an inexperienced developer to get going with very little friction.

The very fact that I can do this:

import json, requests
dada = json.loads(whatever)
res = requests.post(URL, data=dada)

... means it's incredibly easy to get off the ground and shuffle data between services. Conversely, it's also easy to send the wrong data, in a wrong way.

×: webhooks are effectively callbacks, but instead of setting the code entry point for async return in your call, you expose a webhook route and treat it as any other request.
Who gives a fuck about some wasted gas? If the economic freeze lasts long enough, the service sector gets decimated.

People will be laid off and the secondary effects of this virus will be almost as bad as the life toll.
No not in 20 years except maybe 3-4 times

Shitty codebase and lack of tests defining business needs require it

Also Devs with headphones on not starting decisions ... That way when people leave no one know why it is the way it is.
> Maybe it can finally be affordable again.

I like how some Chrysler products handle this. You can buy a $50 fob online and program it to your car yourself. The catch is, you need two key fobs to do it. This is so the valet attendant (who only has 1 of your key fobs) can't make his own copy. So, you just have to plan ahead and do it asap when you get a vehicle and always keep 2 in storage in case you want to make another.
Yes and no. Such a question tells whether, how and what the person is learning.

Lots of people can do the job. Is this person a learner? And what kind of learner. Learn on the job? Learn in your free time? And what does this person like to learn?
On the other hand, lack of sense of humor on HN never disappoints.
Yeah I've used it before.

Once I did a git blame on a file, found that the offending code had been committed nine years previous, and was able to figure out why the code was the way it was by looking at that nine year old commit and all the other code that had changed with that commit.

The nine year old context was super useful.
Physical Address Extension would've been an option, no?
4) Or they just lost it (with all the backups) and are ashamed to admit it
Free is NOT the problem. Free is the “business model” of the internet. Just because some people want to monetize it doesn’t mean we need to give up and just let them do what they want. Selling ads is not the purpose of the internet. Content created to sell ads is most of the time garbage. No chicken, no egg no puzzle to resolve.
IIRC this is also how Firefox is doing it for its pdf.js print feature: https://github.com/mozilla/pdf.js/blob/master/web/pdf_print_...

Which is why when you print a PDF from Firefox, it doesn't look very nice. But it's safer than sending unsanitized PDFs to printers.
Rigging the Lottery: Making All Tickets Winners (2019)
Game industry uses source control _a lot_.

It’s an important communication tool. Also game companies tend not to have unit tests, but the culture is very much “don’t break _anything_, and don’t make the game worse,” so devs have to triple-check the intentions & effects of any code/script they touch, to be sure they understand what they’re changing and know it won’t introduce any unexpected changes. Timelapse view (Perforce’s version of git blame) is an essential tool for all departments, especially for anyone trying to figure out a bug.
Not offense taken. It's hard to know if it's overly cautious or not.

Company legal and HR advice seems very conservative considering how rarely I hear about such lawsuits actually happening.

But I'm hiring on behalf of the company, so I let the people above me choose their risk tolerance.
> We're not talking about multicore/singlecore stuff.

If you write a python or nodejs handler, stateless or not, that does two subsequent async operations involving changes on shared resources, such as a database table, you need locks, because another request may come in while the first is in wait.

Perhaps you try to say that this is irrelevant when you allow only one request at a time, but that's extremely limited and not the scenario under discussion.
Thanks, I laughed at it myself, in hindsight. I should have stipulated "underneath" and likely appended an "if you follow...".

Yes, well, they may either be materials that have other surface textures/coatings/treatments/finishes that aren't conducive to polishing, or they may be other metals, or non-metallic composites (can't put aluminum over a radar, for example), and so on.

TL;DR: The painted surfaces are generally instances in which polished aluminum won't really work, for a variety of reasons.
Just because the primary key is gone doesn't mean other data can't be cross referenced. Birth dates with external sources, addresses with public registers, etc.
firefox

document.getElementsByTagName("td")[15].width = "85%";
I can't speak for Haskell, but inadequate performance of C FFI in Go is routinely mentioned as the reason why the community is so reluctant to wrap existing C libraries, rather than reimplementing them from scratch in Go.
Ethernet will never work (1974)
In Feedly you can just hover the feed's title - it shows the page URL like for any link. Works only on desktop, though.
Taking psychedelics in a therapy setting is even more risky than off-label prescription itself. The patient may think there is little risk but there is a chance of making the condition worse.
There is no evidence available that "vegetable oil" is unhealthy in any way, other than the calories.

There is no good evidence for example that "Omega-6" rich oils are inflammatory, quite the contrary, we've got several systematic reviews and meta analyses claiming they are not. And the n-6 : n-3 ratio is completely arbitrary (most ratios in nutrition are). We've got much better evidence for example that saturated fat does raise LDL and that LDL is causal in heart disease.

There's also nothing wrong with eating 6 times per day, unless you end up eating too many calories. If you meant to say that people eat too much, then yes, we do eat too much, but meal frequency has nothing to do with it. Many people can easily eat 4000 kcal in a single meal and those with binging problems often do, so while reducing meal frequency can be a good strategy for some people, it's a poor strategy for others. E.g. OMAD is a recipe for eating disorders.

We do agree that animal products can be part of a healthy diet, it's much easier to get adequate protein from lean meat, eggs are a good source of choline, folate, vitamin A and dairy is a good source of calcium. In the standard diets of the western worlds however, we have no shortage of animal products, what we have is a shortage of whole plants.
I spent a couple months experimenting with p4git to make sure we got a real history imported. They didn’t get every repository right and I made them redo a few, did a few others over again myself.

But lately I’ve been delving into some of the early architectural changes, trying to figure out why a bunch of things get loaded and seemingly never used/only used once... and sure enough someone did some sort of single commit repository split or bull transfer into p4 in the first place... so I have no clues why.

And yes, I use commit history all the time. Fewer secondary bugs from bug fixes. Fewer lines changed per fix, and fixing bugs nobody else can figure out. Started when someone was furious that a bug had been reintroduced twice. Two devs were alternating fixes for two bugs that caused each other. Good times.

If anything I want more commit history. I want to be able to go back and add notes to commits for posterity, or at least for myself in six months when I have forgotten because I haven’t looked at this module once in that time.
I'd switch to lobste.rs in a heartbeat if someone would invite me.
Creative king 'is distracted' ahead of confirmed summer move to Chelsea
I've been talking with AppDynamics, and much of what you have said in this thread could have been said by AppD. Are you hoping to get some of their market?
Reverts that get to master can royally screw up git bisect.
Have a happy musical women day Listen to great underground music made by women
not FAANG but this is also my experience with large companies in automotive, NEV's and even banking. There is almost always a hiring stop followed by a huge ramp-up in outsourcing.

Existing ongoing projects still need to be delivered and are usually chronically understaffed so the hiring stop adds even more pressure and gives the justification for bringing in consultants.

The whole thing usually plays out like this: investor meeting where cost cutting is a top priority. Agreement to slash all permanent hiring budgets and put new hiring plans on hold. This cascades down the chain with engineering departments revising their projections and raising alarm about risks to not meeting deadlines for existing projects. Budget gets approved for onboarding freelancers.
There's another case of reverting the codebase to an earlier version just to run it
worst argument ever. Don't use Google, don't use Facebook, don't buy apple, and finally if you don't like NSA traking your calls leave America, this like it is, just leave if you don't like it... well, nop
On the other hand, fencing a desk would draw less suspicion than fencing a TV.
The math behind a neural network
I actually read the description (we call it the “take message”) of every changelist submitted to our main dev branch. It’s a great way to learn, and maintain awareness of anything that may be relevant to my duties. Unfortunately it’s now in the hundreds per day (team is growing), so it becomes hard to actually process the info.
Yes;
Yes;
Yes but not in the weekend; Yes up to 6 p.m.
Not sure.

The official document enforcing the "red zone " for this morning is here: https://drive.google.com/file/d/1Y3Vl8VmAww2sGfFBSH9Vfa4fwQ8...

It's in Italian, you may try a machine translation if needed
Deep-Blue NATO Band Strap PVD Loop 18 20 22 24mm
Deploy your first Serverless Function to Kubernetes
The words "Air India" and "national icon" don't quite go well together. Air India has been an absolute embarrassment for years both in terms of its finances and its quality as an airline.
Until they solve the "I'm the condo owner so I have the right to broadcast naked fotos of your wife and daughters over the Internet" b.s., I wouldn't use or invest in Airbnb in any capacity.
I'm quite certain that this is similarly to how there is little malware targeting Linux end-users. It's simply because Intel/Windows are the bigger platforms and therefore get more people looking at and targeting them.
No it's not an established fact at all as far as I know - but it's in interesting suggestion for a study (I happen to be data-scientist).

My point here was that the coffee became a huge business sometime at the end of the 90 and big corporations were built on the back of it, not only Starbucks ... this wasn't so before 90s ... it was in the early 2000s that numerous positive studies started to pop out and the perception started to shift ... for example, in the early 2000 the central Europe market was suddenly dominated by German instant coffee brands and I remember reading an article citing a study that states that coffee is healthy but only instant one, the ground roasted causes cancer because of the roasting.

This is just my observation. But I would also like to add that today everyone demands a "study" to prove a point and it seems to me that it has effect of people delegating their own observational skills and logic to 3-rd party, often untrustworthy and often merely journalist articles citing a study. You need to employ both observation and studies that you examined for trustworthiness.
Main points since the article renders strangely for me on the iPhone:

Collaboration with US military for conducting mass murder

Collaboration with NSA for illegal mass spying on innocent people

Collaboration with ICE who runs concentration camps

Drop Microsoft. Drop GitHub. Drop LinkedIn. Drop Azure. Drop Windows.
The p4 import tool can do incrementals so I would be surprised if the sun one doesn’t as well.

You fiddle with it until you get it working the way you like, then you do an import in the background or overnight. It takes as long as it takes but you don’t care. When it’s time to make the transition you aren’t importing the whole thing, just the past week. The older stuff has already been transferred over.
How to Copy Directory on Linux
But, if the US is a net exporter of oil [1], where is all that $1 going, really?

1. https://www.ft.com/content/9cbba7b0-12dd-11ea-a7e6-62bf4f9e5...
I own AUS8 knife from another brand and am incredibly satisfied with it. Yes it's not super hard and you probably can't sharpen it to shave your beard smoothly, but it has very good hardness/plasticity trade-off for regular usage. I sharpen it once every one or two years and hone about every other day on cheap honing steel for 5 seconds, and it cuts paper sheet flawlessly all the time. With this little maintenance and performance I can't be happier.
According to https://www.bbc.co.uk/news/world-middle-east-51787238

"It's not quite a complete lockdown - planes and trains are still running and access will be permitted for emergency or essential work reasons."

"Restaurants and cafes in the quarantined zones can open between 06:00 and 18:00 but customers must sit at least 1m (3ft) apart"
I was wondering about this just earlier today - more specifically, how one eats.

I'd be just fine for some days. But by the end of a 2-week quarantine, I'd be eating much more poorly than I would the first week. And I'd be lucky: I have a well-stocked kitchen. I eat a lot of beans and lentils and rice and have all three around. There is pasta here. I make bread most days: I'd certainly have to ration the dried yeast, though.

I'll run out of milk and vegetables (I don't use a lot of frozen ones). If the timing was wrong, I'd run out of flour.

Other folks would fare worse, though. So much worse, just because of what they have in the house. I'd definitely run out of canned tomatoes, even if I used only half. My food wouldn't taste.. wonderful, per se, but I'd survive.

But I'd be lucky: I have this stuff around. Not everyone does and lots of folks would be learning to cook with weird stuff. Some folks simply wouldn't have food.
TIL. Ubuntu needs to get it act together then, it sounds like. I think they're using lzma, which is basically the slowest format available.
That is terrible.
You should have rewritten history. It’s less invasive than doing it in svn.
A common C/C++ core specification
Actually, both reprepro and aptly support this.
Sharp knives make better food. Blunt knives squash rather than slice food, forcing out moisture and damaging texture. You can make a knife decently sharp with a $15 waterstone, a 10 minute YouTube video and a modicum of practice. In a world where Soylent and Huel exist, what is a kitchen for except intangible enjoyment?
Well, that level of TLC isn't going to happen when ...

- I'm doing batches of 50 at a time (quarterly review)

- the SQL doesn't make any sense in the first place.
You can do that even with non-progressive JPEGs, as you can use just the low frequency terms from the discrete cosine transform (the same data that comes first with progressive ordering).

Epeg and libjpeg-turbo can do this.
You can use the Reader View in Firefox to work around the paywall.
Honestly it is starting to feel like most major exploits in most major software/platforms are being found by Tavis Ormandy these days. He's really good at what he does.
I workes for a big telecommunication company in Australia and they did tge same thing with theur yearly budget.

At tge end of the financial year they would hire consultants for "ghost" projects that were supposedly starting in the future eventually.

This meant that they could book the costs for the current financial year and reduced the chance of getting their budget cut due to unused money
I agree. Also, if you're not dealing with accusations the proper way, you're looking like a cult. If you're going to suggest using psychedelics in a therapy settings and a side note is "oh yeah and we don't report rapes because that could set back our efforts", you're really just showing terrible judgement and that you have no business being anywhere in a medical profession.

On the contrary: being professional and transparent, removing bad actors will be a good approach. You won't convince anyone that's against psychedelics on principle, but you also won't turn anyone away by dealing with rape accusations like every group should. Granted, it's should, there are very few communities where that ever happens, it's mostly about how powerful the victim and the perpetrator are.

I like the idea of accredited user, but it's hard to decide. With investors, you can look at account statements and say "okay, crossed the threshold, thanks". For personal stability, that's a very different and much more complicated issue where you'd hand whoever decides a lot of power.

I do think we should have legal drugs anyhow, the harm reduction alone is worth it.