skysight-inc/HackerNews huggingface dataset:
Seriously. This is about 4 seconds of “work” on my way to get my bag from the trunk.

I don’t think people realize the plug has a button which pops open the charging door on it.

It literally takes less time than unscrewing and rescrewing on a gas cap.

Unplugging is even faster. Put hand on charging plug. Press button with thumb. Wait one second for clicking noise signaling that charging is stopped/unlocked. Pull out plug. If the car was fully charged (to the set charging point, e.g. 90%) then even the button click is not needed because it will already be unlocked. Just pull out the plug.

I do have an ideally located wall charger so there is not even a “coil cord” or “uncoil cord” step.

Waking up every morning with a charged (and warm!) car is a pleasure.

I know it’s possible to auto-schedule the climate control warm-up but haven’t bothered with that yet, I jump into the app and click it on after making my coffee.
Hmm that’s good. We have been looking at some more straightforward dot coms. Thanks for the feedback!
I can understand nontechnical people becoming distressed by the fact that it can't be deleted. But Bloomberg (and Techcrunch) should not be making a big deal out of those fears. Both articles seem to be stoking the angle "ooh, you can't delete it! Sinister..."
Chrome does not, no.
Of course sorting floats happens a lot. In practice one rarely encounters NaN's and ±Inf's, so fast comparison for concrete values is the default. I don't know why the 'slow' total order is not implemented in hardware though.

But fortunately in comparison sort algorithms that run in O(n lg n) you can get away with doing an O(n) partitioning of the array into [-, +, NaN] and then applying a fast integer comparison operator to the negative values (-) and positive values (+).

In fact the above idea ties in neatly with QuickSort, which is already based on partitioning & sorting recursively.
It goes all the way back to 8 and 16 bit pack bundles.

The thing is, that back then it was quite easy to just ignore the tapes or floppies that we didn't care about.
It's not clear to me what you're suggesting; is it that String shouldn't have supported indexing in the first place? That code does work, but you have a &[u8] not a &str.
The challenge becomes what code to emit when you see those operators: native target comparisons, or the software implementation of your total ordering? The latter is safe and slow and the former is fast and IMO idiomatic.

So since no one needs this often enough to emit the soft-float comparison code, we should emit the fast code. If folks need different behavior they should use different types. This is similar to the behavior with integer overflow, which you can opt into by using checked types or checked operations. Though in rust we have a convenience that the overflow-detecting code is emitted for debug targets.
People make those broad claims because they never been colonized themselves, and it may not be worth your time educating them on the difference since they haven't experienced anything else.

In my humble experience, they are disproportionately likely to be the descendants of colonizers and are sometimes uncomfortable with their own privilege.
Just regulate against purposefully feeding wild animals. Problem solved.
Fair warning for people with ADD/ADHD or otherwise struggle with organization: removing clutter is a different thing than hiding away everything so that the room is magazine-photograph ready. Being able to use your environment to give you visual reminders of various outstanding tasks and statuses is an incredibly important coping technique for people with executive function issues. Like, I have a bunch of open wire shelves for storing the bulk of my groceries - otherwise, I tend to literally forget that I have something, and I won't notice when I get low or run out of things. It's ugly as hell, but it's a functional ugly, and dropping functionality to make things pretty is not really a good idea IMO.
let foo = "...";
let foo = parse(foo);
let foo = escaped(foo);
...
doSomethingWith(foo);

I don't see how this is helpful for avoiding the bug described. The most common bug with this type of code is mistaking which form "foo" represents at a given line of code, or that form changing as the code evolves. For example, if one programmer writes

let foo = "...";
let foo = parse(foo);
...
doBarWithFoo(foo);

and another programmer comes along, doesn't notice the call to doBarWithFoo, and needs an escaped version of foo:

let foo = "...";
let foo = parse(foo);
...
let foo = escaped(foo);
doBazWithFoo(foo);
...
doBarWithFoo(foo); // This still looks correct in isolation

This is a classic problem with mutable variables that frequently causes hard-to-spot bugs. Whereas if each form has a distinct meaningful name, this change wouldn't introduce a bug, and if somehow a bug were introduced, good names will make it possible to spot even considering the line in isolation:

doBarWithFoo(fooEscaped); // Hey! The input to doBarWithFoo shouldn't be escaped!

If the only useful form of foo is the final one, then you can avoid having accessible names for the invalid intermediate forms like this:

let foo = escaped(parsed("..."));

Or like this for more complicated logic (I'm not a Rust programmer (yet) so this may not be the right syntax):

let foo = {
// Complicated logic
finalForm;
};

I feel like if I ever write a lot of code in Rust I'll find a linter rule that warns about shadowing variables and use it religiously. But maybe I'm missing a use case where it's crucial.
Your teacher should not have told you something she knew was patently false. Teachers should not play pranks on students.
A possibly interesting contrast: https://www.expeditionportal.com/forum/threads/democratic-re...

Upshot: what would normally (by Western standards) be an easy 17 hour drive takes the narrator something like 54 days on roads that ultimately destroy the vehicle just before completion.
No shutdowns until 1980, and 10 since then according to the data.

What changed in 1980?
How does this differ from Apple's native "Copy iCloud Link" feature?
I'd be very surprised if most common usage of RTX would turn out to be anything even remotely physically accurate.

A more likely use in the immediate future is to simplify some parts of the rendering pipeline, and improve quality on a few others. Without looking too much into to it, improving and simplifying soft shadows and are lighting seems like a no-brainer. Both are really hard to implement efficiently using rasterization, and/but both needs a good denoiser.

Will be interesting to see thought. I believe it's a bit later than I predicted that we get to see real time ray tracing on commodity hardware, but what is a couple of years over a few decades?
> Word does have a learning curve (e.g. put all pictures inside a text box, it makes layout 10x easier)

Woah, good tip! As I write more specifications and reports for management I'm using Word more, and there's a dearth of good advice online for getting decent results (it's drowned in Google by the "how to type a document" kind of guides).

Many times I've wished to write HTML and have it formatted like Word, as my styles go haywire.

Talking of styles, I'm surprised there's not a Syle interchange format for Style Sets - Microsoft's online resources don't have any to download. I was looking for a Latex-equivalent default template.
With cash, what happens if I put in $5 and my car only uses $3 of electricity? Or if someone pulls out the charge cable after my car's only taken $1 of electricity?

With electronic payments, you can pre-authorize a reasonable amount, then charge the customer for the amount they've used - no excess charges or change required.
Ask HN: The worst thing that ended up being good for you?
What’s the worst thing that ever happened to you which turned out to be a blessing in disguise?
How many tried just as hard to seize the opportunity?
There have been repeated cases of journalists from different media publications relying on shared email lists and private "Hacker News" style forums as a starting point for coming up with stories and angles.

https://en.wikipedia.org/wiki/JournoList

Of course such practices don't mean there's some kind of organized conspiracy, but it could plausibly explain why the news cycle is flooded with derivative material and many headlines share the same keywords. Here are a variety of outlets using the same unusual adjective "Dark" in non-editorial news headlines covering the same event:

https://www.washingtonpost.com/news/the-fix/wp/2016/07/21/fu...

https://www.newyorker.com/news/john-cassidy/donald-trumps-da...

https://www.nytimes.com/video/us/politics/100000004545647/tr...

https://www.nytimes.com/2016/07/22/us/politics/donald-trump-...

https://www.realclearpolitics.com/articles/2016/07/22/a_dark...

https://www.vanityfair.com/news/2016/07/donald-trump-rnc-spe...

https://www.telegraph.co.uk/news/2016/07/22/donald-trump-pai...

https://www.chicagotribune.com/news/nationworld/politics/ct-...

https://www.nbcnews.com/politics/2016-election/melania-trump...

https://www.thenation.com/article/donald-trumps-angry-dark-s...

https://www.cbsnews.com/news/donald-trump-gop-convention-spe...

https://slate.com/news-and-politics/2016/07/stephen-milller-...

https://www.mercurynews.com/2016/07/21/republican-convention...
Rust's main toolchain has first class support for musl: https://rust-lang-nursery.github.io/edition-guide/rust-2018/...
You're right! Those are all excellent solutions to basic discovery and management problems.

With that said, is it perhaps worth considering that this could be a scenario where fully automating something is in fact not sufficient? As you so wisely and correctly point to, Apple has made key management work. Yet most Apple users probably wouldn't notice, or know what it meant, if they were told that whoever they were texting had a new key. From experience this is already true of messaging systems like Signal and Wire. Making available documentation that clearly and simply explains the matter and what the user could or should do has, historically, not reliably been a great way of resolving this issue.

It might be worth considering that there could be more at hand that an onerous task that just needs a smidge of standardization and a pinch of automation - though to be clear you are completely right that both are needed and would be very beneficial. Real security generally needs to involve users understanding and weighing risks. I've yet to see any method to automate that well, though I would love to be shown how I am badly mistaken.
Squirrels (and others rodents) virtually never get or transmit rabies, so that’s not really a concern.

Source: am DVM.
This sounds really useful, you don't happen to have an example of this do you?

Thanks in advance!
I don't think all Samsung apps are "crappy". I quite enjoy using some of them like Samsung Health and Secure Folder. What needs to end is preloading so many duplicate apps and then preventing the user from removing them easily.

Personally, I can live with this situation since I can always remove what I don't like with adb, and I quite enjoy a lot of the features and changes that Samsung added on top of stock Android.
"A Few Billion Lines of Code Later: Using Static Analysis to Find Bugs in the Real World" (2010) is a classic popular level account of Coverity. It is very funny, in an unintentional way. Highly recommended reading.

https://cacm.acm.org/magazines/2010/2/69354-a-few-billion-li...
what'd it feel like to have the bird land on your head?

were you wearing a hat?
Don't feed the UBI trolls.
> encountering more militant vegetarians in the past, but I think it is more likely to be a result of being reminded of their cognitive dissonance.

Don't project onto people you clearly don't understand. Creating mental models of people you disagree with that involves making them stupid or living in dissonance does a disservice to yourself (by making you ignorant), to them (by you spreading your ignorance), and to wider political debates in general (it's very difficult to come to an understanding when people are incapable of understanding the other side).
Please note I wrote 'Logistic Regression' and not 'Linear Regression' (as you seem to think).

Logistic Regression based classification (with quadratic theta parameters) would seem to certainly be able to handle the cartesian case (without having to resort to convert into polar coordinates).
Most of Europe use 230V and typical socket is 16A, so it's a bit more.
That impression is wrong.
It's cost concerns, I suspect. Gas pump credit frauds are also a concern.
Just like Maemo did, oh well.
Good question, I would say the biggest difference is the vine-like recording interface that lets you record multiple clips and merged them together. It also never requires you to save it on your phone. Not sure if the icloud feature allows you to record direct to the cloud but that may be an advantage as well.
Which is happening to a lot of small businesses which are stuck to nine-to-five hours.

In where I live we have either 24-hours ASDA or small Indian stores which are open till 11pm 7 days a week.
credit/debit transactions are too expensive for these small transactions to be viable. many stores have a „no cards below 10€“ policy because of this.
It could be argued that it does. The commenter states the parts of their experience that are relevant and extrapolates from that.

As mortals, our experiences are limited. Having a good imagination and intuition allows us to extrapolate from these limited experiences to better understand the world we live in. Otherwise, discussions would be very limited and stilted indeed. Unless you never join in a discussion that you don't have direct (exact) personal experience in?
Praxeology: The Methodology of Economic Theory
I actually really try to avoid this pattern. For one it pollutes the function scope with a shadowed binding and it's pretty unnecessary boilerplate. Most always you can map across the optional and use the unwrapped version as the block scoped argument identifier, e.g. `$0`. When you can't or you want to handle both cases, I find a simple `if let delegate = delegate {} else {}` is more explicit and scopes the binding to the block instead of polluting the current scope. I'm not saying `guard` is bad, I use it all the time when there are good names to bind things to, but I dislike how much it proliferates and how often it doesn't actually provide value and just lets the program silently fail instead of loudly fail which half the time is worse than a nullpointerexception anyway...
Oh and because of southeast asian culture

And Singapore is not as majority are Chinese/china culture
{
"start": "1995-11-14T00:00:00-05:00",
"end": "1995-11-20T00:00:00-05:00"
},
{
"start": "1995-12-16T00:00:00-05:00",
"end": "1996-01-07T00:00:00-05:00"
},

I remember this one. I was in college. I was sitting on the front stoop of the house I was living in when the mailman came by. I mentioned that I was surprised he was still working since the government was shutdown. He laughed and said that the USPS is self-funded and is flush with cash and had no debts so they had no problem staying open. Oh how things have changed.
LuLaRoe Founders Accused of Hiding Millions to Avoid Creditors
What about a computer or tablet with a cellular modem on a cash-paid plan and a Skype account or similar service?
Characters can be mapped to their phonetic equivalents no?
TransferWise: Rebel, What Is Your Cause?
I burnt out on coding a few years ago because of the painful development process in a professional environment. Dead lines, boring work, bug fixes, politics, micro management, etc. Here is exactly what I did:

1. I quit my full time job (I was working at a FAANG), took a 2 month break in order to travel, work out etc, then I started working on my own projects. I was coding from 7am to 1am from Monday to Sunday, 6 months in a row. This doesn't include coding only, I also worked on UX, marketing, legal, anything involved in building a product from scratch. I enjoyed every minute of it and learned so much...

2. This got me into Product Management. I started focusing on product management only and started bootstrapping the whole thing to iterate on more ideas. It ended up not working so well so I started applying for PM roles. I got some opportunities here and there but they weren't as good as I wanted. Being a Tech lead having to start at the bottom of the PM chain. It felt like I was over qualified for an entry level role and would not get qualified for a Senior PM role because of a lack of "PM" experience.

3. So I went back to coding for a large company as a lead.

4. Quickly transitioned into Management and moved away from coding again.

There you have it. Coding became a second nature but I can't be as productive as I used to be in the past. So why would I try to compete against young and fresh people? I found out I was more valuable in designing systems, optimizing existing infrastructures, asking questions young engineers don't really think about because of a lack of experience. The act of coding per-se isn't for me anymore. That's it. There are many ways to move away from coding without losing all your valuable years of experience.
Here is a link to the original submission: https://news.ycombinator.com/item?id=17010199

Which includes a blog post that goes into this without being just a presentation-aid PDF: http://cliffc.org/blog/2017/07/30/introverts-emotional-proce...
Nicely executed game.

But looking at the source, the weird part is that it is half English, half French. It definitely doesn't look like the work of a single person.

I also looked at the commit history and I liked the teaching comments.

Clearly, there is a story behind that code. I suspect you did the first part together (moving square, ...) and that your brother played with it by himself later, adding the enemy, etc...
>As human beings speaking English it is quite trivial to understand that a “dog” is an “animal” and that is more similar to a “cat” than to a “dolphin” but this task is far from easy to be solved in a systematic way.

Are they? A dog can be trained like a dolphin, unlike a cat. In the context of training, dogs are more similar to dolphins.
We pay for Coverity for our closed source products and are quite happy with it. But you have to have a project committed to staying on top of static analysis to really get the value out of it. Our product domain means we do, and for all our static analysis tools we have a fix-or-document rule where we have to address every warning before a release. Coverity is great for us.
Our Sex Toy Won a CES Robotics Innovation Award, Then They Took It Back
What if someone else is doing the killing and I'm doing the eating? Not being facetious, I struggle with this and I don't fully buy into the "guilt by association" angle. If I stopped eating meat today, animals would still be killed at exactly the same scale as before. So what would have I accomplished besides depriving myself of nutrients? If we could all do it together I'd be on board. Maybe we can start with "meat credits" or some other kind of demand reduction? That really helped curb climate change....

I think portion control would be a more effective approach. A little meat goes a long way. I think you'll get further convincing the public with a moderation message than a black and while moral argument.
Taking a day off to do groceries?

That sounds like an exact opposite of "spending more time with your family".
it's not a copper mine except in the sense that it has contaminated, zero-value output as a side effect.
SuperPACs can’t use that money to “finance campaigns.”
The Wehkamp Machine Learning Platform
Either you plan your route, as you normally would (look at what roads you're taking and what's around, etc) or you would just follow your nav and do no planning at all.

The only difference with EV is that the nav will also tell you where to charge.
That's a really excellent location. Diridion Station has good transit connections all the way to SF (Caltrain) and Richmond (Capitol Corridor) [1] in the north, Gilroy (Caltrain) in the south, and Stockton (ACE) in the east. It's got enormous coverage.

[1] Technically the train goes to Sacramento in the north, but the section from Richmond to Benicia is very slow.
No im pretty sure in any case i dont want to be eaten :)
Thank you for being the voice of reason by pointing out the obvious that others seem to miss.
> Word is fine if you really, really, know what you're doing with it. By that I mean understanding how to use styles for formatting, how to properly insert footnotes/figures/tables etc, and what the implications are if you don't.

And I've yet to find a guide which instructs on how to set it up properly, how to share styles across documents etc. Do you know of one?

20 years of writing HTML and CSS has spoiled me; many times I'm using Word and thinking "I could do this with one rule in CSS" (often some crazy positioning nonsense with images/tables). If only!
It's measuring whether the service as a whole is outright down and refusing to respond to requests. There's arguably been a degraded user experience since the 80s, but we seem to have reached the cascading failure point in the last 2 years.
Deploying any automated public-key infrastructure requires somehow automating the verification process. The verification process that can be automated is "this came from a person who has access to this email account,"

What if all gmail and Microsoft email accounts came with a 4096 bit public key, with an option for the state DMV to verify the public key's association with a driver's license? I'm sure this would come with downsides, but would they be much worse than state DMVs using your gmail account to reset their web app passwords?
> With cash, what happens if I put in $5 and my car only uses $3 of electricity? Or if someone pulls out the charge cable after my car's only taken $1 of electricity?

What happens is the same as when filling a car with gas.
> I'd like to be able to hand a string (or file) of what I think is valid (or invalid) Red code and have the lexer return to me that input NOT executed but parsed into lexemes, grouping tokens, and appropriate white space.

This is what "load" essentially does - it takes a string and returns a concrete syntax tree [1]. "do" then takes that CST and evaluates it. You can do that in a single-step manner with "do/next" (there's also "load/next"). Moreso, you can think of blocks as phrase markers (see wiki example):

[S [NP John] [VP [V hit] [NP the [N ball]]]]

Now compare it to Red internal data structure written down in similar fashion:

<block! [<integer! 1> <word! +> <integer! 2>]>

Here I loosely follow phrase marker notation - nonterminals correspond to datatypes, terminals correspond to literal values. But datatype is implied by literal form, and implicitly contained in each value slot (its a datatype ID tag in the header), so I can tidy this up to:

[1 + 2]

This is what lexer returns - just a block. You can then manipulate it whichever way you want and evaluate.

> at this point you guys don't have a good stepping debugger

We don't have it for a reason - implementing it in user-space would be extremely limited as you can't really distinguish between code and data, and so can't adequately place debugging hooks. The best alternative is just to spruce up block with debugging "print"s and such, or, in case of syntactic errors use "load/trap" and search for error values. Rebol had some interesting projects in this regard, e.g. Anamonitor comes to mind [2]. I think someone already ported it to Red, or re-implemented using our reactive framework.

There was a recent discussion in community chat about that, and we came to conclusion that debugger should rather be implemented at the level of "load" and "do" themselves (e.g. "load" can provide some metainfo, like line numbers and file name, "do" then can single-step it in real time and provide the meaningful info).

[1]: https://en.wikipedia.org/wiki/Parse_tree

[2]: http://rebol2.blogspot.com/2011/11/anamonitor-2-check-block-...