skysight-inc/HackerNews huggingface dataset:
I appreciate what you're saying, and that there's some truth to that, but I think there's at least two components to good allocation management in C++ (or C, or other memory-unsafe language)...

The first component is conventions and idioms for managing allocations, and Rust will force you into (and support) some good (but nontrivial) ones.

The second component is self-discipline. Look at the long history of vulnerabilities in C and C++ code that are due to carelessness -- of an oops that a programmer made when they knew better.

If what's being considered is Rust as a stepping stone to C++, how much does Rust help with the first component, and is Rust even counterproductive for the second component?

Regarding counterproductive for the second component, you might've seen a conventional practice of grinding the Rust Clippy until the code compiles. I don't know how that affects the development of self-discipline (e.g., maybe some people try to make a practice of being Clippy-free on every compile attempt?), but it seems a reasonable and interesting question to ask.

(I'm not dissing Rust for this. I mostly like Rust, and would be happy to be working in/on it.)
The old iPad has a better camera? The specs wouldn’t support that claim.
coffee shops, conference rooms, over at my friends place.

Magsafe has saved my laptop from a fall many times. it's a downgrade to me.
Related, and highly recommended to watch, both The Fallen of WW2 (the end is about peace) and The Shadow Peace: http://www.fallen.io
I'd argue that UI is different from prettiness of icon. The skill of drawing and the skill of understanding how to make an application easy to use are different.
> (can't believe something this self-evidently true is getting downvoted...)

What's equally self-evidently true is that we wouldn't have developed our current tech if it wasn't for regulations, and even with them we're too little too late.
The US is a federation of 50 states and in theory is highly liberal. Therefore at most your example should scale at the state level. As most states have fewer inhabitants than Norway then I don't see your point.
> unknown agent

The only thing that comes to my mind besides the climate change is the increased EMF/RF radiation levels.
This is purely from an outside perspective btw, but from what myself and friends have conversed about, the us doesn't seem to have a left. At least not a particularly powerful political left.
The hash table implementation (the data structure) is changed, but the hash function (the one which generates the hashes) is kept the same.
Makes me think of Apple. Are there any good hardware engineers still at Apple or have all the best ones left in disgust over the emphasis on all form and no function?
I gave my old Core Duo Mac Mini - circa 2006 to my mom after putting Windows 7 and Office 2010 on it. She uses it when she tutors and doesn’t want anyone on her main computer. That computer don’t die.
You can have a MagSafe low voltage cable that is also removable from the adapter.
EuroLLVM 2019 on YouTube has a talk on clang current implementation state.

Apple also demoed their XCode integration at WWDC 2019, on the talk about Objective-C, C and C++ support.
The hashtable implementation is taken from hashbrown but the default hash is still the same and not taken from hashbrown.
While I don't use any pesticides, farms and cities use high amounts of pesticides. Farms apply pesticides by crop-dusting and with tractors. Cities drive trucks up and down every street fogging the entire city with mosquito pesticides.

If enough people complained to the cities about the harmful effects of spraying, they may stop. Convincing agriculture to use less pesticides would be much harder and likely involve powerful lobbies at the state and federal level.
When I was a kid someone gave me a game compressed with ARJ...

Internet didn't existed yet in my country, took me 3 years to figure out how to open that file, and in the meantime I infected my computers multiple times with tons of viruses (seemly packing viruses in unzippers was popular... the one with most viruses was "pkunzip" or something like that)
I side with Taleb on the matter, the problem is that economists and economic arguments do not model reality nearly as much as they want it to, it gives an illusion of wisdom because the simple model seems coherent, it fails, they refuse to accept it, but still they enjoy trust and influence even though being wrong, catastrophically wrong, multiple times, and they remain at it, it's a kind of modern astrology, modern sophistry, etc(specially if you link that an illusion of knowledge will stand in front of a real one). Then everybody pays for it. In my mind the class of the economist is of the dark priest.

Btw it was economically rational for Germany to want to get strong expansionist & 'warry' since the Versailles Agreement probably meant they'd be made into a 3rd world or colonized country forever wouldn't they act upon it(there's a theory ww1 & 2 were actually the same ww). At the beginning of it too, if I'm not mistaken, their first aggressive actions were done on hoping to be able to keep the war localized as much as possible, that other countries would not want to pay the economic cost of chiming in(think Russia-Crimeia?), they didn't set out to start a World War, it just spun out of control. So obviously the categorization you made of "european supremacy" is void, since in the context it was irrelevant, they just saw themselves independently and seeking their own rational, economic, social, interests.
Somehow I don’t feel like you’re actually asking this question with sincerity... but you’re getting a sincere answer anyway:

We could likely make most if not all petroleum derived household products with such a small amount of crude that it would not impact the environment in a significant way. On those grounds, there’s little point in divesting in unilever (owner of the vaseline brand).

More damaging than unilever’s chemical production, however, is their use of plastic containers and packaging - which likely gives large amount of money to the oil extraction industry. But good luck divesting in companies that use plastic.

This is why consumer choice is unable to effect change here. I can want to buy from and invest only in companies that don’t use traditional plastics - but if basically none exist then i’m screwed.
No mod touched it. That's the article title you're looking at, which is what the submitter submitted.

I'll change it to say 90°F now.
I imagine that someone who is inclined to cadge a $4 dessert does not have a lot of prestige to offer in return.
Great, it works for your use case. Not everyone does that, not everyone has the same requirements as you.

When i goto offices not setup for USBC and need to plug in power, monitor and ethernet?

At a conference and i want to do external display, power and my cellphone to charge it & tether?

With my 2015 i'll often (and easily) plug in 3-5 things at once when not at home (there i have a macmini)
Close your account and forget about the service. It worked for me, I closed Facebook in 2011 and haven't checked it since. It may work for you.
Oh, I feel for you, radio behavior is such a long standing feature that has been ingrained in minds of more than one generation of drivers. Strange choice from Subaru. I looked it up, it seems that the problem was also present on Outbacks, fixed in update for 2018 model.

As for the freshness of a renter's UX observations, personally, I'd find it less reliable due to different objective vs. a future owner. I would dismiss a lot of seeming inefficiencies of design just due to my unfamiliarity with vendor 'concept' and would kludge it for the short duration of the rental.

On the other hand, if shopping for a new car, test-driving one, my mindset would be a lot more critical.

I remember, at one time having to pull over the highway just to figure out, where was the headlights switch on the fine Dodge Charger. Used to Japanese cars, I would not expect it to be off the steering wheel stalks, but as a knob near the door. Turns out, it's another 'concept'.

Another example is the hand-brake pedal (!). Makes sense in a way. That one entered my memory bank via a nice Toyota Prius, at 4 in the morning, starting my the way to the airport from the darkness of parking lot. Previous share driver left it engaged, manifested itself with a dash warning and very squeeeeky and slow drive.... Luckily, there was a user manual in the car.
The great irony is Americans (and most of the Western world) are now living in the safest, lowest-crime periods in history. It's truly double-speak to fear monger about gun violence, terrorism, muggings, etc. when statistically one's odds of dying or becoming sick from bad diet, bad water, air pollution, car accidents, even hospital visits, are an order of magnitude more likely.
dupe https://news.ycombinator.com/item?id=20352290
Not to minimize the destruction that Soviet Union (and much of Eastern Europe) had experienced, but Kennedy was not that much of a stranger of the horrors of war. In addition to whatever he saw on the Pacific front (which, if you'll recall, might have included some of the most horrendous atrocities of the war), his elder brother was killed during the war, too -- just like Khruschev lost his son during the war. IIRC, it's a fact that Khruschev himself reminded him of, during their private talks in Viena: they both knew, on a personal level, the kind of toll that war levies.

The "burden" (Kennedy's words, not mine) of avoiding similar destruction was something that he carried every step of the way during the Berlin crisis and then, later, during the missile crisis. Both Kennedy and Khruschev, and others in their immediate circle, had this "more than academic" understanding of the tragedy of war.

(edit: FWIW, my native country was no stranger to destruction in Europe. My grand-grandfather lost a brother and several friends at Stalingrad. I'm not some patriotic 'murican trying to save face for his president :-). I do think that losing a brother qualifies as having a pretty practical understanding of what war means.)
I wonder if that mentality with change if/when AWS splits from AMZN.
You are right, I should have phrased it differently, thanks for highlighting this.
* https://appstoreconnect.apple.com/
* https://developer.apple.com/system-status/
> to regain control of your browser is to either reboot the iPad (that's what many normal people do) or you force-close Safari...

That's seems more like a browser issue, but none the less, any links on Hacker News could do the same.

I don't consider that malware to have to close an application, just like I don't consider a malware a link that rick roll me (which still force me to close a tab ;) unless I want to stay on Youtube).

> That's not what happens.

Aren't we talking about running malicious JS? Any link you click can contains malicious JS, yet you click on that link without thinking about it, but when it's an ad that may contains malicious JS, you block it altogether.

I don't understands really what you means by not what happens.

> Maybe you should contemplate the possibility that you're wrong.

I contemplate each time I'm discussing with someone about it. I still haven't got any evidence about it.

Each time I ask someone that does it for "security purpose", when they don't answer by "do your own research" (which I always try when they say that even if it's absurd to have nothing to defends yourself), the best example they always have is either link to some report with stats that doesn't define malware, or the Forbes case of when one of their ad was a fake Java update. If that's malware, then here we go, HN now serve malware too: Click on that URL to update Java: https://forbes.com

If we were arguing blocking Javascript for security purpose, now that does make sense (still pretty unlikely, but based on news, it seems to happen much more).
Yet somehow we have concentration camps for women and children with people dying in them. Funny how that works.
> sold bendy phones that don't really bend

Are you talking about Samsung Fold? Because they didn't sold not even 1 of that.

You should be careful what you wish for. If companies were fined billions of dollars for faulty products, in a couple of years you'll have nothing to complain about. And not because everything will be amazing.

Just imagine if Microsoft/Apple/"Linux" was fined 1 billion for every major flaw in their OS. There would be no OSs any more, because they would all be bankrupt and nobody would dare selling anything remotely new.

Are you personally willing to accept $1 mil liability for any major flaw in the software you wrote in the past?
Apple iCloud Experiencing Issues
> I wonder if Google will end in the same path...

I think they already have. The big difference is that when Google screws up, people don't die in a sufficiently dramatic fashion to make the evening news.
There are many close matches:

https://www.britannica.com/list/flags-that-look-alike

https://www.crwflags.com/fotw/flags/xf-like.html
Hey thank you the feedback, can you please let me where did you see the error? thank you
Hey HN! My name is Julian, and I made Effortless with aracena to solve a problem we were both having: how to focus on exactly one thing at a time. Effortless displays my current task, and a countdown timer in the menu bar, and although it sounds silly, it means that I have a constant visual reminder of what I should be working on. Effortless was also a great excuse to learn Swift and native Mac app development. I'm happy to answer any questions about the app or the development process, although it's my birthday so I might be a little slow to respond. If you have any feedback or want a trial code to test Effortless out feel free to write me at julian@effortless.app . Thanks!
Khrushchev was more than happy to posture when it came to the Berlin crisis, where the conventional strengths of the Soviet Union could be an advantage.

When it came to Cuba he had no choice but to sue for peace - the USSR was bluffing regarding its own nuclear strength and would have been decimated in an intercontinental war with the US at the time.
I feel like this is a popular misconception, a sort of strawman argument. It kind of goes like "you have no reasonable expectation of privacy in public, so taking some pictures in public is okay." It could even be extended to say the footage could be reviewed later if a crime were committed, that helps public safety.

But that's not what's happening here, it's not just a camera. It's a vast data aggregation network that ties together time series, high resolution photos of a large area, along with software that can follow an individual from source to destination, and then follow whoever that individual met, roll back in time and find out where they came from and went and met with, etc.

Of course this can be tied to cell, wifi, credit card purchases, face rec, internet activity and thousands of other inputs. Once that's done, it's a microscopically thin line from local cops solving crimes in the past to an oppressive government rounding up dissenters for re-education.

This is not sci fi, it's the road to global authoritarian surveillance state, and we're paving it here.

So I support police accountability body cams and people's rights to take pictures, but not the state or corporation using it for data ingest against us.
Your metropolitan area is not representative of other metropolitan areas. Most of population is clustered around cities that are not comparable to SF and it’s surroundings, economically and culture wise.
This is the second project I've seen by Mozilla whose page is light on details, with no obvious way to find out more. The first was Firefox Lockwise, https://lockwise.firefox.com/

There's just a button to get it. Well, I want to learn more before I commit to something, and I think others would too.
HashMap implementation and the hasher used in it are not the same. You can use the std hash map with any hash implementing Hash, and I think you can do so with hashbrown, too. The different is what hasher is used by default if you don't explicitly specify one.

Hasher => Takes the key and turns it into a hash (in this case a 64bit hash).

HashMap => Takes (key, value) pairs + a hasher and then does "magic" to get a fast lookup based on key+hasher.

The "magic" part is what changes. (which include thinks like which datastructures are used to store keys/values, how deletion is handled, how hash collisions are handled, how the given hash is used to lookup keys, etc.).
I suspect that when most people refer to small towns they are implicitly including most suburban areas which are a big chunk of that 82%. (i.e. there are a lot of cities that don't have a significant downtown population but have massive suburban sprawl)
YouTube is a private company. They are under no obligation to provide support in 5,000 different languages. Or to host your videos at all. This post reeks of entitlement.
I get your point, and at some point in the future I’m sure USB-C will prevail. My point is that we’re not there yet, and right now, having at least one old-fashioned USB-A port on a laptop is just useful.

Right now, it’s like throwing out your VCR and all VHS movies when DVD just came on the market and there’s barely any movies released on DVD yet. Did anybody with a sizeable VHS collection throw them away the day DVD arrived?

It’s too soon for “USB-C only” - at least for me - it would mean constant need for all kinds of dongles.
Item: Auto-autos (self-driving cars) and the accompanying infrastructure will be a defacto ubiquitous surveillance system.

(Triangulation of gunshots in realtime, etc.)

On the one hand we eliminate privacy, on the other we can eliminate crime.

I don't think we can put the genie back in the bottle.

- - - -

As a pulled-in-the-wool tinfoil-hat-wearing paranoiac the sad thing about Snowden was that the poor kid had to flush his life down the toilet to get people to understand what we (the tinfoil hat crowd) knew goddamned well was already going on. Of course the NSA is slurping up all available data everywhere because that's what I would do.

We are not going to rollback surveillance. The folks that want to roll it back are so naive that they must be monitored by the rest of us for their own safety and ours. I wish it weren't so but there it is.

The question is do we want to become a world of Morlocks and Eloi? Or do we want to go for some sort of Star Trek future, where the sensors and computers and world-destroying weapons are governed by a strict but flexible humane and open government?

If you are a citizen of the US you have an awesome government that is open to participation at all levels, g'wan and get involved! Happy Fourth of July!
While true, this icon has some obvious flaws that could have been fixed with "draw polygon; sides: 3" in any free or premium editor.
The older I get, the more guilty I feel of even squashing an ant in my home -- they are living forms like us and we should be treating them with respect and give them space to thrive as well. And if this means setting up protected reserves for insects and to ban certain types of chemicals then so be it.
Buzzfeed news doesnt seem to be all serious: https://www.buzzfeednews.com/article/danvergano/what-color-a...
I'm not 100% sure if my memory is playing tricks on me, but I believe Ryanair indeed uses the integrated stairs often. There do also seem to be plenty of images of Ryanair planes with the integrated stairs down or in use.
Interesting - do you mean using the Android handler/message infrastructure? I hadn't considered that at all. Do you have any references?
Credit card skimmer on The Guardian's website [via Malwarebytes]
> Nature doesn't exists in the modern city, I wouldn't even be surprised if some people born after 2000 haven't seen stars in their entire life.

I live in London. The stars are still clearly visible here.
I'm genuinely curious why an established business with supply chains, etc would lose 1 billion dollars a year in an ecommerce effort. Why? Selling below cost?
As I am a teacher, I try to form a project course (3 month course with 12 month rotation) around showing students about carbon footprint for food transport, and effective means of learning about locally grown and produced foods that can be used.

Best I have been able to figure from my job point atm.
> But will they still keep that awful touchbar where the Esc and F1-12 are supposed to be?

If you use the escape key often, it should be where caps-lock is. Mac OS X even has a built-in setting for this.

If you only use it once in a while, it doesn't really matter that it's a virtual touch key.

F1-12 has always been a horrible interface. They're too far away from home row. There's a reason why many hyper-optimized keyboads like Ergodox don't come with one. Letter-based keyboard shortcuts are always better, and are usually easier to remember because you can associate the letter they use with a word (Cmd+B for "Build").

The touch bar is objectively a better use of that space if you ask me, it just came with an unacceptable price jump. It's not that much better than the old key row
It's very easy to replace the screen unlike Apple.
Please bring back the MagSafe magnetic connector, so I can upgrade my MacBook
People criticized you for spamming HN with your links so you decided to do more of it?
Complete JSON of GitHub markdown emoji markup
> But writing safe C++ is much, much, much more complex than than writing okay-ish C++. The way I see it, Rust has basically taken a lot of the best practices required to write sane C++ (e.g. RAII) and formalized them in a way where the compiler can enforce them.

A concrete example that I've run into recently when trying to write C++ code. I figured that, for safety reasons, I needed to make my type be move-only. I then had to spend about two hours trying to figure out why the program was blowing up. The reason was that I was reusing the variable after moving from it, and the compiler never gave any warning (even on -Wall -Werror) telling me that what I was doing was wrong. In Rust, the same situation would be a compiler error.
Azure Cognitive Vision
>the C-Series planes are much better than similar Embarer aircraft, both longer range and more comfortable

Also quite more expensive and less fuel efficient. The comparison is more complex than that.
I'll just throw in one more anecdote, but I've never felt any pain whatsoever and used laptop keyboards my whole life (30 now), whereas whenever I've tried mechanical, and I've tried at least 5 now, I always revert within a few days due to discomfort/soreness. Even with a large wrist rest your hands are doing so much more work moving around.

I just don't find the idea that split keyboards are more "natural" to be true either. I've never felt a lack of comfort with the standard setup. Are there any well-done studies published on this?
Bangladeshi politics is heavily manipulated by small groups of incumbents. If it were truly democratic then you would see Sharia law implemented there. In day to day living there for the commoner, you'd assume Sharia law was already in effect.

It's a country with a high likelihood of mass revolt in the coming future.
My favorite MagSafe adapter ever has been a 3rd party one with a giant cable (that uses the '8' connector that is used by a lot of my TVs etc as well) which I bought on Amazon for $35 bucks. It also has 3, 2.1Amp USB-A ports for charging my phone / kindle / etc.

It's really great and has lasted for 2 years so far with zero problems.
Guaranteed anyone who doesn’t mind just doesn’t need to use escape very much.

The problem with touchbar is it’s hard to use without looking at it - like most professionals do because it’s just muscle memory.

Give me a real escape and I won’t mind the rest being a touch Bar.

But I hope they make it like gaming keyboards that have real keys with tiny lcd displays on so you can customise the function but still have a real key to press.
A way to simulate gravity in space that won't cause motion sickness