skysight-inc/HackerNews huggingface dataset:
I think you overestimate the quality of "made for automotive" and underestimate the importance that SW has in cars. These were essentially SW issues. This kind of SW fuckup can will and does happen for bigger OEM's all the time.
Three Pillars of Agile
How is that relevant to the thread ? Is not like people or businesses will start moving to those languages with lower adoption because it is easier to have a refactoring library ... ?
I have light asthma and I think of the timing of my arrival in this world at times too. Had I been born a few hundred years earlier, I probably would not have survived as I had to do a lot of physical hard work which I can't always.
But to be blunt: who was Lord Curzon?
Well, clearly the project is in its early stages. I would be up to try something new if there is a good reason for it.

My current mindset is:
- Simple internal API with not much complexity => Flask
- Complex API with authentication and other moving pieces => Django.

Always taking into account the team's expertise.
Syntax Highlighting Is Backwards (2018)
My personal tweaks:

body { font-size: 19px; width: 72ch; font-family: Charter; margin: 0 auto; line-height: 1.4; }

and then remove the size= option on the <font> element.
Internet Blackout
Bangladesh!
An idea - this binary choice can be attached to combination of reaching adulthood (18 or similar) and combination of obtaining state ID / passport.

For younger, parents can choose. If somebody wants to argue about teens, they can decide themselves / be not-decided by their choice until reaching adulthood.
Autocomplete as an Interface
just finished the first post. All I can say is well written and to the point! Logistics is totally underrepresented in history (infrastructure and the like) and especially military history. When it comes to the annoying "relaibility" discussions around WW2 tanks on Youtube I just wished some would explain the basic principle of RAMST, Reliability-Availability-maintainability-Supportability-Testability. Yet, nobody seems to get it. Military historians remain historians, and RAMST is more of an engineering discipline and fanboys don't want to. And I guess modern day professionals in that field are just to busy with modern day systems to actually worry about the old stuff. I know that I were during my short stint in that field.
I hate America as much as the next Mexican, but to compare the two speaks to how little you have traveled.

The US has freedom of the press, Singapore does not. It really is that simple.

I worry about my ability to enter Singapore after posting comments like this, which is a real concern that impacts my livelihood.
> But it turns out that it's possible that Rust may not have been radical enough! Consider: what if you want a type that not only can't be copied, but can't be moved as well?

When talking about Pin, I think it is important to go back to a more fundamental level.

There are types that are not movable without extra processing, like a `struct` that has fields that reference other fields. When moving, those references become invalid.

Rust chose by allowing types to become unmovable so the `struct` can't go into an invalid state.

While C++ doesn't have the same safety guarantees, they did need to solve this problem. C++ chose to solve this with move constructors. I know move constructors will have their own challenges in Rust but I hope we do get them one day.
Im not installing an app just to get back functionality that was and should be already part of the browser.
Rather, Rust pushes soundness concerns into specific abstractions which have a hope of ever being formally verified (there are at least three teams working on this), and whose essential soundness invariants can be documented. Coupled with a philosophy that soundness bugs must be fixed even if it means breaking language backwards-compatibility and a community that takes soundness very seriously, I'd contend that this is a dramatic step forward for language security (especially if it can continue to light a fire under C++ to inspire it to evolve towards a more statically-verifiable design).
As a German I wonder the same thing everyday...
You are being very disingenuous. Rust does not have unsound bugs all over stable. Linking to an issue tracker for bugs in development branch proves nothing.
I can't recommend enough this book which retells the story from the position of Mordor. It made me always remember how
genocide, politics and bootlicking can be turned into heroic stories by victors' propaganda.

https://en.wikipedia.org/wiki/The_Last_Ringbearer
I'm on the lookout for a black friday VPS deal.

Between this a PIA's shady stuff I'm just gonna have to host my own. The commercial VPN scene is a cesspool.
Technology is before culture and politics. Without the printing press , the nation state wouldnt be possible, and without the elite-controlled mass media, the centralized bureaucratic machine which monotonically increased its power concentration in the late-20th would not have been possible. The internet disrupted that, and now we have on the one hand states with a legacy of Too Much Control on people 's lives and on the other hand citizens who are disengaged and disinterested , again because of technology. Your neighborhood is dirty and full of bigots? That's OK because you live through a shiny screen anyway and you get to chat with uber-progressive friends every day. Your city looks ugly? That's OK because paradise beach weekends are only a flight away. And that's progress because it allows us to be increasingly atomized and tolerant of our different neighbors. But we 've forgotten all that legacy power which is concentrated in the hands of Leaders, and while people are distracted, bad actors are going to be taking advantage of it. Fake media and underhanded tactics are going to be rampant until we begin to remove or decentralize powers.
We Rebuilt Fathom Analytics from the ground up and moved to Laravel Vapor
I'm somewhat shocked that residential connections have enough bandwidth to upload a streaming video as a proxy. But maybe people using a VPN for Disney+ are just glad it works at all.

I have Comcast and my upload on a good day is 500KB/s and that cripples everything else on the network.
Open-Source Home Automation
Software Engineering? Mathematics Professor?
PoW is not only "P" for blockchains.
Do yourself a favor and go down the list of every major industrial process and compare its waste stream and environmental impact, its pretty evident that the majority these process are more efficient and less wasteful.

Companies make thins more efficient, and thus they impact the environment less.
krebsonsecurity.com, blog.rogs.me's 'De-Googling My Life', rootsh3ll.com and infosec-handbook.eu are my current online reads. In regards to books, anything from No Starch Press!
You are confusing catholicism with the teachings of christ.

Two very different messages.

Love your neighbor and judge others as you would judge yourself.
At the beginning of your Rmd file, add a chunk that spins your Rmd file to an R script.

https://www.garrickadenbuie.com/blog/convert-r-markdown-rmd-...

Now you have:

- single file (Rmd, plain text) where you can do any edits, which, when compiled, produces:

- (1) you get story, code and results in a single package: one output file (usually, html), where all inputs and outputs are stored together (or, just the outputs, if you turn off echo'ing, e.g. for producing a report),

- (2) you get the code: another output file, which is a simple R script version of your Rmd file.

Code updates to the Rmd are viewable much easier on the output R script (#2), which is also much more convenient for debugging. For static text updates, I look at the Rmd file. For content updates (e.g. did my data change between the runs?), I look at the html (or Word or PDF etc) file (#1).
How did they tested that the recalled memories where accurate? (Had that guy went to Aruba ever?) The effect of recalling first a general and later the apparition of more detail is common in false memories.

More info: https://en.wikipedia.org/wiki/Misinformation_effect

I'm afraid that someone will try to use this in a witness in a trial, and get another pseudoscientific source of falce memories.
> Before Rust 1.0 it wasn't clear that such a concept of "unmoveability" would be generally useful. [...]

Hm, I ran into quite a lot of cases where I wanted Pin or something similar when porting a C program to Rust, and if I recall correctly also the creator of vulkano also ran into plenty of cases when writing it, so I am a bit surprised people did not realize this. My case was a program which in its C version was based around an epoll event loop, so maybe that is a bit similar to the async/generators issue.
Agreed that `Pin` is imposing by dint of trying to provide "more fundamental" guarantees than Rust was originally designed for (see my sibling comment on this topic). Though ideally in the long run I'd hope that no regular user would ever have to encounter it (right now I think it may show up in some contexts related to futures, but as Rust's async story matures I would hope to see that need diminish).
The VPN providers pay the bills for them. Why would they not shill them?
Elon Musk and Tesla's Board Have Retained Criminal Defense Counsel
Get frustrated with the Times a lot with their tech bashing and political homomgeneity but pieces like this are worth the price of a year's subscription alone. Wonderfully written and a clear subtle mirroring of Apsted's biography using the framing device of his series.
It appears the team lead is the problem. Explain the situation to the team lead’s supervisor / the founders.
What is science? A talk by Richard Feynman
I'm curious what you mean, as I've not had any issues thus far. I'm only an occasional VS Code user however.
> Then I decided to give NordVPN a try, and poof, it worked like a charm. How was this possible? Residential IPs was my guess.

"Guess"? Do they route packets differently depending on the destination, i.e. if you go to one of the whatsmyip websites you'll see a nordvpn-owned IP but to a Disney server the use someone's home connection? Is that what the author says is happening here? I don't know if this is common but, while technically possible, it seems a little weird. I assume the author could just have checked what IP they were exiting from.

Edit: someone else verified it, yes indeed they use residential IP addresses: https://news.ycombinator.com/item?id=21665084
Whether I agree or disagree with them, I find this kind of analyses of fictional battles very fun to read. And this particular blog seems to be full of fascinating articles (I recommend the one about how a "medieval/fantasy" battlefield ought too look like after a battle -- spoiler: most depictions are inspired by the aftermath of WWI battles; battlefields after medieval battles would look pretty much unspoiled).

A few years back there was a humorous review of the Battle of Hoth from "Empire Strikes Back" that was pretty cool: https://www.wired.com/2013/02/battle-of-hoth
Ohio bill orders doctors to ‘reimplant ectopic pregnancy’ or face murder charges
Tesla definitively has a problem with hardware design decisions. Remember the Model S touchscreen issue? Somehow their designers forgot that cars heat up in summer and instead of automotive used consumer grade hardware!

Meanwhile companies like Garmin and Magellan manage to build GPS devices that work just fine even though they spend their whole lives in the passenger compartment. They did this since the beginning, I never heard that you should stay away from this or that manufacturer of GPS units because the touchscreen fails.
I believe it's a premium article. There's a star next to the expected read time.
I was going to joke about happy stoned people, but:

Recreational marijuana use impacts white matter integrity and subcortical (but not cortical) morphometry

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4925620/
This explains it:

https://history.blog.gov.uk/2018/06/06/a-very-british-catast...
This is a really cool extension, thanks for sharing!
It means that they don't prosecute people unless they have a perfect open-and-shut case.

21 days to be arraigned is nothing to be proud of, however.
I've used it twice "in anger". About a year ago I modelled the LoRaWAN state machine to ensure that I'd caught all of the corner cases (packets that get missed/corrupted). I iterated on my FSM until it no longer had deadlocks, and then basically transcribed it to C and it all worked. I was impressed.

Right now, I'm doing a similar thing. I've got a Bluetooth LE device that has a bit of a request/response layer built on top of the standard characteristic read/write stuff (it's a BLE Iridium modem, if you're curious). I didn't make the device, I'm just writing mobile apps that interact with it. There's a lot going on here:

- apps transition through different states (foreground, background, suspended). There's different things we can do when the app is in different states (e.g. there isn't really a good way to initiate a BLE characteristic read on the iOS side when the app is suspended)

- the Bluetooth hardware transitions through multiple states (off, on, not authorized)

- the BLE connection transitions through multiple states (disconnected, initial connection, services & characteristics discovered, etc)

- the stateful protocol involves writing to a characteristic and receiving either 1 or 2 messages back, later on. Transmitting to the Iridium constellation can take a minute if the modem has to reconnect to the satellites. This transmission may fail (which we will be told about), but a failed transmission remains queued on the device and may succeed later.

- The BLE-Iridium devices notifies the mobile device when something happens via BLE Notifications. Notifications are unreliable, so there's a chance we could miss receiving a notification the device has sent us.

This has already shaken out one potential show stopper: if the app is suspended, it can be woken up by a BLE notification to let us know there's new data available; however, if we miss that notification (it's not a reliable notification), there's no good way to poll the device to see if there's data available when the app is suspended. (Using only the available BLE APIs)

The TLA+ model basically pointed out that the (finite sized) message buffer can grow without bounds if notifications are missed over and over (e.g. a super shitty RF environment). I've got a strategy that might work for polling it periodically, but I don't know that I would have realized this failure path without modelling it.

I may also end up pushing back to the vendor to see if they can implement BLE Indications (reliable) as well as BLE Notifications (unreliable). If a BLE Indication fails, the BLE device should disconnect, which will trigger CoreBluetooth stuff that allows us to reconnect and poll without having to do some hacky timer-related stuff. Can't rely on sending a silent push notification either, since the device will be used in remote areas where there's likely no data coverage.
Are you gay?

Because that is illegal in Singapore.

Seems very modern and forward thinking to me to make an entire lifestyle punishible by law.

Singapore attracts people like you, who are willing to overlook the glaring injustice because it is "clean and conservative".

Wake up.
How does your company handle these complaints?
Ideally the basic building blocks of Rust should be so easy to understand that any experienced Rust developer could use them too and not just the core team.

The cases where I personally wanted Pin were cases that I think will be solved in the future as async improves, but there are probably other more fringe cases which wont.
Healthy coral sounds lure fish back to abandoned reefs, study finds
>The US could also increase the price of petrol.

No, it really can't. The voters would immediately vote for the candidate that promises to reverse this. Gas prices are a huge political issue in the US, to an irrational extent. Americans cling irrationally to their gigantic SUVs and will do anything to keep them.

>Most European cars are way more efficient than American cars.

Not really, no. Cars these days are all pretty efficient; it's the trucks and SUVs that guzzle gas. Tiny cars really don't get much better fuel economy than mid-size cars any more, and no one buys full-size cars these days (I don't think there's even any made any more). A Prius is way more efficient than some tiny European car like a Smart.

Now if you're talking average fleet economy (which takes into account that so many Americans buy trucks and SUVs instead of cars), then you're correct, but that's because of buying choices. If we all switched to Priuses, we'd easy double (or more) our average fuel economy.

>Admittedly, this is a cultural, not a technological, problem in the US.

Exactly, which is why I was complaining about the sprawl and car culture of the US. Just telling people to buy more efficient cars isn't going to change anything; it's a product of a culture where there's sprawl and too much low-density development and a mindset that everything should be optimized for car-based travel. It's naturally going to lead to many people being selfish and buying larger vehicles than they need. This is the case everywhere where there's private vehicles, including Europe and Japan. I've seen huge SUVs, vans, etc. in Japan and Europe. Of course, they're not that common in those places because fuel prices are high and public transit is good, but if those two factors weren't true there, they'd be full of giant SUVs just like the US.
Is the ability to hold your breath for 90 seconds common? I can’t imagine doing this. At least not without days or weeks of preparation.
The posts on sparta are a joy to read as well

https://acoup.blog/2019/08/16/collections-this-isnt-sparta-p...
There is an unofficial 'transfer' crate that builds on Pin<> and on a further unofficial "stackpin" feature (pinning objects on the stack, which is currently not provided for in standard Rust) to provide an equivalent to C++ move constructors.
Intel already lost. It will be years before they can catch up to AMD assuming AMD does nothing.

Now Intel is in the rear view mirror and AMD has its sights on NVIDIA.

AMD stock is up over 130% this year.
I could have perhaps written "would be generally useful enough to justify the additional annotation burden" (alluded to later in the paragraph). Also, in what year were you discovering these use cases? The discussions in question would have had to have happened in 2014 or earlier; for people who began using Rust post-1.0, it may very well be that these use cases were encountered because the language was stable by then, and that people might not have bothered enough with an unstable language to bother pushing the language to its limits like this. Though I guess we can take solace in the idea that the language that comes after Rust someday might benefit from these case studies. :)
I think Charlie has said that they have been optioned - and Felicia Day just has to be cast as Cassie "yes yes"
As far as I know, that particular theory of obesity is contradicted directly by studies conducted in metabolic wards such as https://www.cell.com/cell-metabolism/fulltext/S1550-4131(15)... and https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4962163/
I thought the flowers bracketing the name unappealing as well.

While the intro complained about application scalability, I wondered about Assembly's relationship to Flask blueprints.
The evidence so for does not really support your conclusion. Even with some worse soundness bugs than this (a few were actually triggered commonly enough the fix only emitted a warning to give enough time for users to fix their code), bug density in safe rust code seems to be way down compared to C and C++.
A Closer Look at Go’s Sync Package – Teiva Harsanyi – Medium
I can't speak for the rest of Québec, but Montréal's public transit is pretty good. You can definitely make it without a car there.
Now that is very much the start of a disaster movie!
Are you free to create an entire program, or just a course? The way I'm reading it, I think you're able to create an entire program. If you have decent technical support, that's an amazing opportunity.

I was looking at starting a CS program in my local high school, but I never got the chance because someone else had tenure and just lingered for years. But I spent a fair bit of time thinking this through. I'd consider two main audiences: students who already know they want to go into a tech-focused field, and everyone else. I'd make a pipeline for the first audience that brings them to a relatively high degree of competency in programming, without trying to replicate what they're going to see in college. Offer a foundation course that gives them the basics of programming, just like they'd get from reading a good intro book. Include a large number of mini-projects so they're using things as they're learning, and a bigger capstone project. Then offer classes focused on intermediate concepts. Then some project-focused classes - game development, data viz, web apps, etc. Offer some non-programming classes, such as a database class.

For students who don't already know they want to go into technical fields but are curious, offer a softer intro to programming. The goal with this class is to understand how code works, but not to become a programmer. Pull the veil back from how things like Twitter and FB and Instagram are built and maintained. Use some variables, use some lists/ arrays, use some dicts/mappings. Students who like this and want to do more would switch over to the more tech-focused track; students who don't want to go further should be able to do well in this class without demonstrating programming profiency. They need to be able to explain core concepts, but not necessarily implement solutions in code. They would leave the class better able to collaborate with technical co-workers in future jobs, and better able to critically assess the impact of tech products on their lives.

Overall, it would be really good to set up some kind of structure that lets students who love this work be able to work as fast as they want to learn. For students who learn independently, letting them progress faster than you're teaching a class is something most of us here at HN have appreciated when teachers offer, and have wished for when they didn't.

I can imagine some really fun project showcase events, and projects set up around the school. You could support students in applying their programming skills to other academic areas: bringing scientific analysis and visualization into science and math classes; building learning tools for foreign language classes; mapping work for social studies classes; data analysis for global issues in social studies classes; algorithmically-generated art...

My email is in my profile; if any of this is interesting, feel free to reach out.
Step 2, BitCode was step 1.
I'm pretty sure there there is scant Assembly language content in Assembly.

Picking a short, unused name related to the project is hard.
You are very correct in your guess that it was post-1.0, it is like you can read my mind. :) I would indeed not have bothered to port my production code to a non-stable language. But once I started doing that I ran into these issues quite quickly.
Thanks I did that, took less than 24hrs to remove. Kinda sad now as he's just disappeared, rather than someone I'm still connected to.
Creating a Bloom Filter with Go – Dylan Meeus – Medium
Wouldn't that be trying to circumvent security measures, and therefore very illegal in some jurisdictions?
Early Leafs would apparently get their batteries cooked in Phoenix because no active cooling. We’ve got one of the first ones that rolled off the line, and eight years of Seattle weather has ours at ~12% degradation. We otherwise haven’t done shit to that car except drive it. So from my POV, I read the issues with Tesla’s and just shake my head.