Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
misja111
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
511.
▲
by
misja111
3y ago
> .. boards would've started doing this long ago .. You are assuming here that boards are always acting in the best interest of the share holders. I bet there are many who do, but there are at least as many that act primarily in the
512.
▲
by
misja111
3y ago
Eh yes, this works, but you are not using Arrays.intSort here. Which means that the optimizations that the article is about won't apply. intSort (or any other of the sorts in the article) works purely on an Array of Ints, moving them a
513.
▲
by
misja111
3y ago
Sure, but what use is that? You will have your objects sorted by the absolute value of their pointer. I guess this means you'll have your objects sorted by the order in which they are allocated in the heap. Cool, but not very useful.
514.
▲
by
misja111
3y ago
I don't see how you can add that level of indirection if you can only sort an array of numbers. Let's say you have a Person object with property 'age' which is an Int. I can put the Person's ages into an Int Array
515.
▲
by
misja111
3y ago
True and even then, you would only have a sorted list of the object's properties. But not a sorted list of the objects themselves.
516.
▲
by
misja111
3y ago
Impressive, but I wonder what the practical benefit will be. How often do you need to sort an array of numbers? In practice you almost always want to sort an array of objects based on one of their properties.
517.
▲
by
misja111
3y ago
It depends on the problem. There are different approaches that I like to try: - break the problem up into smaller parts which are easier to grasp, plus some framework to combine the individual parts. If this is possible, you might be able t
518.
▲
by
misja111
3y ago
Yeah it's so obvious. Take a look at the wives of very successful men, so men who have lots of choice between women. Not many ugly women there but quite a lot of variation in education level.
519.
▲
by
misja111
3y ago
The following contains a logical error: > That is: if men cared about looks more than women, then they would trade off status for looks: faced with a choice between an average-looking woman of the same class, or a beautiful woman of a sl
520.
▲
by
misja111
3y ago
You mean, use a cast iron pan at high heat? Yeah that definitely works, it's standard practice in professional kitchens to do it like that. But at low heat it will not. Or well, eventually your meat will brown, but first your steak wil
521.
▲
by
misja111
3y ago
I never said it was not possible to sear meat with olive oil. It is certainly possible, but you have to be more careful not to overheat your oil. > Light/refined olive oil has a smoke point of up to 470°F. Where did you get that num
522.
▲
by
misja111
3y ago
I didn't care about the pictures, I was more interested in the explanation about the science behind cooking. > .. littered with recipes I would never cook. Me neither but that's exactly what I liked about it. I would have norma
523.
▲
by
misja111
3y ago
This won't work. Together with fat, juice is released as well. As long as there is liquid water, temperature won't go over 100C so you're effectively boiling your meat and not browning it. Searing your meat only goes at tempe
524.
▲
by
misja111
3y ago
I really enjoyed Cooking for Geeks: https://www.amazon.com/Cooking-Geeks-Science-Great-Hacks/dp/...
525.
▲
by
misja111
3y ago
Good luck trying to sear a steak on low heat.
526.
▲
by
misja111
3y ago
Olive oil is not the best choice for browning meat, because its burning point is too low. Once it burns, it will disintegrate into bitter byproducts, some of which are carcinogenic. Canola oil has a high burning point so is a better choice,
527.
▲
by
misja111
3y ago
I guess the news is not so much that this happened, because most people suspected it already, but more that it has now been caught on video.
528.
▲
by
misja111
3y ago
Thanks for all the great insights! But why was the Po-210 not dangerous in that vial of water? It seems many people who got in touch with it got ill: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC1767288/
529.
▲
by
misja111
3y ago
Well Pandas is a framework, not a language, so it only makes sense to compare it to DataFrames.jl and not to Julia as a lanugage. But I agree this should have been reflected in the title of the article.
530.
▲
by
misja111
3y ago
I remember my chemistry teacher in high school telling how they used to use 'tri' (that's how they called it) a lot to wash their hands in. Until they discovered that it was highly carcinogenic. But yeah, that chemistry class
531.
▲
by
misja111
3y ago
I'm amazed by the cynicism in the reactions here. I was trying to make the point, that if you have heart enough to spend a serious amount of money on your dog's wellbeing, shouldn't you consider spending it on saving somebody
532.
▲
by
misja111
3y ago
I love dogs, but aren't there bigger issues in this world that we should focus on first? Millions of children on this planet are malnourished or suffering because of wars, climate change or just bad government. Is it ethical to pay a f
533.
▲
by
misja111
3y ago
From a purely Russian-centric point of view, is global warming even a bad thing? Russia has huge stretches of land that are mostly useless for farming because of the cold. Not to mention the Arctic region, which they could traverse by ship
534.
▲
by
misja111
3y ago
You don't need Kanban, you just need to do Scrum right. It seems most people who are complaining about Scrum, are really complaining about the lousy implementation of it in their company. Which tends to be the result of lousy managemen
535.
▲
by
misja111
3y ago
> There are two or three houses like this in Helsinki. So are you saying that two or three houses were enough to solve homelessness in Helsinki?
536.
▲
by
misja111
3y ago
According to https://world-habitat.org/news/our-blog/helsinki-is-still-le... , there were 3000 houses in 2022 for this purpose in the Helsinki Area. > and they are actually in quite nice locations and far from e
537.
▲
by
misja111
3y ago
Thanks, I didn't know that. I'm not Finnish but have stayed in the Helsinki area a lot. There were certain area's in e.g. Tikkurila and Jakomaeki which were pretty bad, and Finnish people told me it was because many alcoholic
538.
▲
by
misja111
3y ago
The houses which are given to homeless are mostly concentrated in certain area's. So if they cause problems, which of course they do, they don't bother 'normal' families. Those area's are pretty bad, but they'r
539.
▲
by
misja111
3y ago
Also they can remain homeless because of the climate. In Finland they would simply freeze to death.
540.
▲
by
misja111
3y ago
Yep, I guess this is part of the explanation why San Francisco has so many more homeless than, say, Seattle.
More ›