skysight-inc/HackerNews huggingface dataset:
I recommend to not use an ORM. Really, with a modern language, an ORM is mostly redundant. If on Spring boot, simply use JDBCTemplate and TransactionTemplate to deal with raw SQL queries and transactionality. Get rid of all the annotation magic around this.

Then you need a bare minimum of mapping code. Mostly this boils down to a single line of code to call the relevant constructors while you extract columns from your rows in a type-safe way. Kotlin makes this stupidly easy. I'd argue this type of code is actually easier to maintain than misc annotation cruft all over your codebase. One way or another you end up expressing in some place that column foo is of type Int and goes into some property of a class MyLovelyFoo with a foo field. So MyLovelyFoo(foo=row.getInt("foo")) kind of does that in a really compact way and there's not a lot more to it. Of course Kotlin having default arguments, sane property handling, immutable data classes, etc. helps a lot. Mostly ORM made sense when people were doing JavaBeans on Java.

The problem with many Java persistance frameworks is the amount of magic that happens that leads to hard to understand bugs, sub optimal joins, and other stuff that just isn't worth having. A side effect of using an ORM is also overengineered table structures because people are pretending they are doing OO and thus end up with way to many tables and columns, fragile and more frequent migrations, and a lot of silly joins. This magnifies all of the above problems.

If you know what you are doing, you can actually fix this of course and do it properly even while using an ORM like hibernate. At this point you lose most of the advantages of using an ORM because now you are knee deep into framework complexity and trying to coerce it to do the right thing while spending disproportionate amounts of time inspecting and guiding all the magic it does for you. I've been parachuted in more than a few hibernate projects gone bad. The fix is always pruning back all the copy paste annotation magic propagated by juniors, vastly cutting down on the number of model classes, use of inheritance and the silly hacks that come with that, fixing the transactionality, etc.
actually, I get all of amazon stuff in europe in cardboard boxes with paper fillings and thread+paper tape.

Is it a european thing? Have I just been incredibly lucky?
I have a PhD in quantum information/computing and I knew everything in the essay before reading it, but the additional understanding I got from doing the given spaced repetition flashcards significantly improved my understanding of the material. Everyone who is reading this essay, should sign up and give spaced repetition a try.
The notion of "scientific authority" is contradictory with the scientific method. The scientific method is to independently validate an idea, theory, experiment.

The scientific authority is that belief instilled to the public that there is an advantage, or a reason for doing things in a way backed by science, as opposed as doing things backed by authority.
And audiophile-quality HiFi hasn't dropped in price a bit ...
what about biodegradable plastic bags?

In italy those have been the norm for many years.
They actually seem to decay quite fast (i.e. you can't reuse them for too many times).
> female mosquitos that bite humans are selected against

Their lifespan is only 6 weeks, and they might bite 20 people in a lifetime, so even if only 5% of humans had this treatment, I think it would have a rapid and major evolutionary response.
Dynamics 365 and PowerApps – Let’s Build a Home
Does that include plain fizzy water with a slice or two of lemon? I can't stand the flavored fizzy water, it tastes artificial (because it is), but lemon in plain fizzy water is really good to my taste buds.
I'm afraid I don't follow.
Is there any code source that could be read ?

The way to force the hash algorithm to actually wait for input is to use the previous hash to determine the start position of next hash's input.
Jumping doesn't have to be large. You can get good results with just a few hundred bytes of variance.
There were many times in the beginning of working with React when I checked out Vue because I was stuck. I was reading threads like this one where people were worshipping Vue and why it might be the better choice than React. People brought up many good points but forget one important decision factor most of the time:

While Vue has a big ecosystem, it's still a fraction of React's. And this is probably the most important thing about React: The ecosystem is so huge, that you have choice, strong competition between lib authors and at the end of the day often or usually superior products. You hate redux? Me too, but there are literally dozens of competitors or wrappers out there + React's own Context and Hooks which bring you quite far. You want a UI lib? There was guy on Reddit testing 40 UI kits for React. Animation? A dozen good ones plus one major one. E.g. I was looking for a page-transition lib for Vue for cross-fading page transitions (real cross-fading where pages blend into each other), I found nothing, just one which can do page-transitions but not real cross-fading (fade-out and then fade-in of the new page). Not that just that vast amount of libs makes life easier, there are so many people you can ask, React got the lingua franca of frontend.

Another thing I like is the actual (small) API of React. It's low-level and if you are stuck, you know quickly what the problem is. React shines also re maintainability , if I enter my biggest and quite complex React app after months I still know where to go and how things work.

Finally, the React team and how they manage issues is amazing. Their thoughts, their chosen architecture, their communication is far beyond many other maintainers on Github. You ask stupid questions in an issue, often Dan answers himself, always super friendly and helping out.

Once you passed the first weeks, I realized what smart architecture React has, that it never stands in my way. Just the fact that I am always and 100% in JS makes things so much easier.
This repo is mostly just educative as a helper to understand Linux kernel x86 / Linux kernel drivers

In e.g. ARM, baremetal is potentially more useful due to embedded. But even in ARM you should just use Linux kernel / some RTOS if you can get away with it :-)
If communism hadn’t collapsed, would these places be better? It’s a fair question, since you cannot keep things in stasis.
Also, change that graph [0]. It makes no sense and shouldn't be used in a pitch...

[0] https://user-images.githubusercontent.com/9896315/54187725-6...
Poultry is not that terrible for the environment. I haven't seen any comparisons, but I wouldn't be surprised if chicken and fish have similar impact.
Shame this is not built on libuv or even boost.
> They just aren't around.

How do you mean?
Oh look, the perennial 'ketamine as a novel treatment for depression' article.
Yes, the ASM overkill was a mistake of my youth :-) https://github.com/cirosantilli/x86-bare-metal-examples/tree...
There is a very good recent more informal-type long-format discussion with this doctor (David Sinclair) discussing a lot of longevity topics on the Joe Rogan channel: https://www.youtube.com/watch?v=HOTS0HS7aq4
Vice released this short doc recently, shows the ugly side of the system where narcopisos get a foothold on a property in the Raval

https://www.youtube.com/watch?v=rTdmpjo5zkg
I eat McDonald's once or twice a month and I'm looked down upon for eating junk food, meanwhile a whale eats nothing but _literal_ junk and it makes the news and the whale is called a victim? Something doesn't add up here.
They don't spend much time on the shelf at the grocery store. They last longer in the supply chain, which means they can be shipped from farther, where it is even cheaper to produce. Make no mistake, the plastic wrap is there for one reason and one reason alone: to allow producers to make more fucking money.
Automated Testing for Kubernetes and Helm Charts Using Terratest
Different, and worse, and better. Quantum annealing is basically taking a function and using quantum trickery to find a minimum of that function. Annealing is useful for a certain subset of problems, but in theory a classical quantum computer should be able to solve any problems that a quantum annealing computer can solve.

As a matter of practicality though, a proper quantum computer is much harder to build, so while it may be more powerful, as a cost-benefit analysis it makes sense to specialize.
I'm very much like you, and I think startups/small companies with a flat management structure (i.e. level obfuscation as another commenter phrased it) or where most managers have engineering backgrounds.

In my experience at large companies, on teams that were technical and heavily collaborated with engineering, but were not overseen by engineering managers. Middle management was entirely focused on optimizing for metrics that were either assigned to them, or would result in career progress; instead of what was best for the company. Regardless of whether the companies claimed to have a "nothing is someone else's problem" culture. As a result, any embodiment of that principle, was either punished or perceived as creating problems by non-technical managers. Even if direct praise was often received from engineers and their managers for those actions. In that workplace dynamic, it inherently carries a lot of risk and easily puts a target on your back.

Besides posts like this that give first-hand accounts from employees. It's quite hard to identify what would be an honest signal of true dedication to that principle. Especially in interviews where you're a very qualified candidate, it's difficult to tell if interviewer is trying to selling you the idea of working there.
In Amsterdam, any property that has been empty for over a year can be legally squatted, and once in, legal squatters may be hard to get out. For this reason, landlords tend to rent out their empty properties cheaply as "anti-kraak" (anti-squat), on the condition that the tenant moves out when the landlord needs the property again. This is quite popular for students because you often get a ridiculous amount of space for very little money, though it may come with excessive restrictions.

Amsterdam has (or used to have, perhaps) a pretty healthy squatting culture. Many squatters are ideologically driven and improve the neighbourhoods they're squatting in.
And not climate change? In my mind's model of the future we're going to die within 50 years, this research is useless when the infinitely aged doesn't have clean water to drink.
I use hanami (https://hanamirb.org/) instead of Rail. My admin interface of choice is Forest (https://www.forestadmin.com/) since I cannot use ActiveAdmin outside of Rails.
Because it's a M.2 E slot, which has no SATA. Maybe there are SSD drives now that can use PCI and fit in the smaller E slots? There didn't used to be. If so, great...
I think the best is to have nicely designed modular monolith application. Sadly this something that Rails backwards conventions makes very hard to achieve.
Spot the difference: Fighting fashion rip-offs
>Advertising has real value in making markets efficient. If Bob's Bait Shop has a 50% off sale, or if a new shop opens in a town, a lot of people would really want to know, and advertising fills this gap. The businesses get more profit, and the customers are able to make more informed decisions.

My argument is that customers do not get to make informed decisions when they are shown ads. Customers are manipulated to make the decisions that are profitable for Bob's Bait Shop.

The only way for the ad to benefit the customer, is when the customer intentionally seeks out the ad. Classifieds in a newspaper exist as such solution. Important part is identical formatting, without any ads standing out visually, sorted by category. Any other form of ads IMO is unethical and immoral.
Yet another collection of Amazon affiliate links (tag mustr-20 for USA).
Nah, I'm Simple Choice NA. Spam's reduced, not eliminated with that shortcode.

Either way you asked for a VoIP number you could sign up to use places that don't allow them. That's what I originally answered.
What you describe used to be very common: https://en.wikipedia.org/wiki/PC_booter
The flat-earthers are gonna have a field day with some of these.
There are designers and creators and inventors on HN and they have an interest in protecting their work from being copied by other firms.

But there are also a bunch of people on HN who think that anything is fair game.

I thought this video interview with small designers battling huge companies was interesting.
I don't think reputational risk applies much to big companies. From Equifax through Facebook and yes, Google - lots of companies have done things in the past years that should have killed or crippled them, and yet they're still chugging along, none worse for the wear.
My guess is some of the short sellers have friends who work at the SEC.

That and Musk runs his company like a child, which allows it to be nimble, but also means every action doesn't get as much scrutiny as they expect.
Not only that, but the ability by browsers to validate end-to-end depends wholly on browsers trusting CAs. I'd say that is a lot worse of a trust-level.
Two objectionable things:

- You’re wrong about the rise of right-wing extremist violence, as the sibling comment points out.

- This is a thread celebrating the life of someone killed by a right-wing extremist. Your reply is basically “I don’t think they are a problem, can’t we talk about mean SJWs instead”
Aging is a disease, there should be no doubt in that. What makes aging unique is that it affects 100% of the population.
Because I had so many choices at 13.
Because poor folks can simply move where they'll be more accepted. ?
Because everyone should be willing to act like someone they aren't so they have people (that doesn't cure loneliness).
Because loneliness cause by depression is always curable?

I'm happy you solved yours. I'm happy I solved mine. But I know not everyone can have the stroke of luck to change things like I have. Lots of folks have little choice, in part because of financial woes, mental illness, age, and so on.

NOt everyone is like you. Loneliness has never been a great motivator for me, and though I don't suffer from it like I did 10 years ago, the entire thing has left me with a negative view of people and their willingness to accept folks that are different - especially when they "should know better".

That last bit has been key to my own "cure", as I'm an immigrant and folks don't assume the same things.
If you are serious about making beautiful figures in latex, I would seriously recommend using tikz and pgf-plots. It is quite easy to automatically generate tikz-code from python (after all it is supposed to be read and written by humans) and all aspects of the figure can easily be customized. I have been quite successful in generating automated reports with pretty and easily readable figures using tikz and pgf.

If anyone is interested I have uploaded a sample script for generating XY-plots from two numpy lists to github. The code is by no means very good, but I just wanted to share in case anyone wants to try this approach.

https://github.com/sigurdjs/python-tikz
Sleep sort is still my favourite - if you're sorting numbers, just spawn a new thread for each number, make it sleep that number of milliseconds and print out the number after waking up. After the largest number of milliseconds elapse, you have the sorted list of numbers nicely printed out.
Joining EU had this effect on my country as well (Romania). There are entire villages (I lived in one of them for 6 years and I can make a difference) where just old people can be found. The young left for other countries (mostly UK and Italy) and to the bigger cities but the latter did so because, for some reason, they couldn't find anything abroad.

What you're left with is nothing but old people who are easily manipulated into voting for whoever promises a bigger pension - sad but true, they dictate the future by majority. It's been years since we're fighting corruption at the highest level without success.

Bulgaria is even scarier than that. We travel to or through Bulgaria almost each year (going to their beaches or to Turkey) and we happen to go through huge areas without seeing people at all. Often times, when stopping for gas (true story, happened to us last year), you encounter really shady people that simply look for trouble - especially with the ladies. In one occasion we stopped for more than 30 mins and the individuals started "gathering up" and doing whatever they can to spark a fight with us.

I have friends who traveled at night and swear to not do it again. They encountered the same type of individuals that were cutting trees onto the road to prevent you from going any further and try to rob people. We have a rule, never travel Bulgaria alone, even if you're alone at the border you need to find someone else going to the same direction and go in packs.

Sad to see a country go down like that. We have witnessed this country getting worse and worse each year. Also, they seem to be even more corrupt than us, we prepare batches of 10 euros for police because we know they will stop us, we just get the paper out of the windows, salute and go...that's all they want.

I'm curious if other Bulgarians are aware of the difficulties we have to deal with while traveling in their country.

Edit:
I see some folks complain that I'm fabricating. I own a tourism small business and we always warn people of 2 things when doing Bulgaria:

1 - Never park your car where it's not being guarded, filmed, monitored (lots of cases with people left without their vehicle)
2 - Never stop at night on the road (if you can)

Romanian journalism (requires translation). The internet is filled:

- http://www.reporterntv.ro/stire/vacanta-de-cosmar-pentru-o-f...

- https://www.romaniatv.net/romani-lasati-fara-masini-in-timp-...

- https://www.promotor.ro/opinii/george-buhnici-despre-problem...

- https://www.digi24.ro/stiri/actualitate/social/romani-ramasi...

- https://movafaq.wordpress.com/2017/02/10/romanian-cars-bulga...

- https://www.b1.ro/stiri/auto/varna-hoti-romani-furati-in-bul...

- https://www.libertatea.ro/stiri/masini-furate-in-bulgaria-17...

- https://stirileprotv.ro/stiri/actualitate/vacanta-in-bulgari...

- https://observator.tv/social/vacanta-la-schi-in-bulgaria-a-l...

- http://www.bmwclub.ro/forums/topic/171395-bmw-furat-in-bulga...

I can go on but there's no point.
Seems easy to make the bags expensive enough that consumers realize that they're supposed to be used multiple times.
Great blog post, actually looking forward to the second part.
I have seen it explain as D-wave is comparable to an analog computer that is good at specific problems. A topological quantum computer is comparable to a general purpose digital computer.
Robocalls I get typically assign a caller ID of my area code (and sometimes prefix) with random other digits.

Most 408-73x prefixes were originally specific to Sunnyvale CA and are therefore easy to distinguish.
They should start thinking about producing enough waste for themselves if they're unable to get by without imports, this creates a huge dependency on the US and most developed countries are completely self-sufficient when it comes to waste production.
That's why he said "one of the most important challenge".
>Even the recent 737 crash took away some really accomplished people from humanity

And some less accomplished, if those matter at all...
Not letting an adversary spying on your citizens is censorship?
>That's a truism, no one would deny that.

Many deny that all the time in practice. Even openly.
For me DataGrip. How do these 2 compare to it?
I suppose if local zoning laws require a property to be used for residential purposes then not using it for residential purposes would be breaking the law.

Leaving a property empty to wait for price appreciation is clearly not residential use.
Remember remember;
The data leaked through CSC;
That the government pretended;
It never was important.
Listen to lifecycle hooks on third-party Vue.js components
You just need 2 libraries, then it becomes really good: vue-class-components and vuex-module-decorators.
Sugar is awful. It changes your expectation for taste so you always want dessert, sweet drinks, and for everything to be sweetened. I genuinely enjoyed my diet the most when I didn't eat anything sweetened. The only reason I'm not doing it now is recently moving house, getting a new job, and wanting to save time and money. But I intend to return to my no-sweetened-things diet. Cheese and nuts are such a richer and more satisfying high-calorie treat than chocolate, when you're used to it.

Once, I couldn't imagine drinking coffee without sugar. Now I couldn't imagine drinking coffee with it.
What will make you adapt a Beta API?
My company is going API first.

We want to sip products in an agile way by getting constant feedback. However, since these are APIs and do not have UI, I am not sure how to get feedback.

As a developer, what would make you play around with beta APIs and provide feedback?
archive.org is fine.
I also found extremely hard to understand and extend the under-the-hood implementation. Couldn't grasp how the separation of concerns was split between the different classes. The documentation is lacking examples on how one of the algorithms (e.g. IMPALA, SAC, PPO) was built from scratch.
It should be submitted to Techempower benchmarks.

https://www.techempower.com/benchmarks/
You can use efi text mode or framebuffer these days.
They hate on TLS-terminating proxies, and are jubliant about TLS-terminating reverse proxies.

That is: Clients don't get to decide about encryption only servers do.

And partially, this makes technical sense. There are fewer servers, and the chance that they get it right is a lot higher.
On the other hand, this is nothing more than the platforms pulling all power towards themselves. Getting users used to the paradigm 'we will decide what kind of encryption you get'.
> How fucking hard is it to use the trolley to move your goods to your car, and then into your cupboard?

Addressing the sibling comments on this:

I don't know if it's common elsewhere, but some supermarkets in the UK have hand-held self-scanners that you can use while you walk around the shop. You pick things up, scan them with the scanner and put them in your (reusable) bags that you brought. Once you've got everything you go to a separate till where everything you've scanned comes up and you pay and go. Your groceries are already bagged and that makes it lots easier to unload into the house at the other end.

I've noticed as a result that some shoppers turn up with much more substantial reusable bags than the normal 'bag for life' variety. Ones made from fabric that are constructed to stay open.

Waitrose also have a version as an app so you can use your phone to do the scanning: https://www.waitrose.com/home/about_waitrose/quick_check/qui...
This recent interview with Aubrey de Grey (main popularizer of anti-aging science) is really worth listening to:

https://www.youtube.com/watch?v=PMFST20xHwk (1.5x speed is fine)

He seems to think that anti-aging science has speeded up drastically recently, both in terms of the science itself, the funding and the popularity. I really love what the SENS Foundation is doing in terms of spinning research avenues into startups, since most investors are far more likely to fund high-risk investments than non-profit ones.

He also mentions other positive developments in terms of legislation and advocacy.
There was a homebrew DnD campaign hosted on GitHub that we played in secondary but I don't have the link...
O(2*n) == O(n)
Well, judging from his career, he didn't do bad doing so.

(We don't know whether he would have done just as good without consulting one of course. But it didn't seem to hurt).