skysight-inc/HackerNews huggingface dataset:
If you do not have an independent context structure how do you avoid stack overflow in the event of a coroutine cycle with an unknown cycle length (e.g A -> B -> C -> ... -> A in an infinite loop)?

For an example of where this comes up in schedulers, consider a simple periodic schedule that runs A then B then C then ... then starts back over.
Bid to open S.F. ice cream shop turns into a bitter saga
Closing the Gap Between Rust and C++ Using Principles of Static Analysis
lighttpd here: https://demo.0x4c.de/geohash.cgi/u28br
DeepMap announces DeepMap HDR for hands-free L2 driving systems
You need you driver license for your job, without you will lose everything.

This is why they provide ID cards that do not grant driving privileges.

And why public transportation exists.
You made two different spreadsheets, they came up with different results, and you're blaming Microsoft for the error? Really?

Excel, whether you like it or loathe it, is in such wide use around the world that $300 math errors would have been noticed a very long time ago. I could believe that there are still many lurking bugs with obscure corner cases, nasty floating point rounding minutiae and so on, but I would bet (checks spreadsheet) $300 that your mismatched results were solely due to your own failures.
I've been using a product Websequencediagrams, to create the sequence pictures. There is issues around the licensing, and the company wants to sell a a service. I'm in a lab well behind secure firewalls, so a non starter.

There is also the desire to have documents have more types of pictures/ drawings. A Swiss Army knife of drawing tools. In our case it's ok if some of the styles are not as powerful.

Thanks for the link!
Your service looks really neat! Is there a way I can use it without the extension? For example, can I paste a url into the website?

I use Safari as my primary browser and am not interested at switching browsers at this time. However I am interested in trying My Screen Break!
Make a third spreadsheet from scratch and see if it agrees with either of the existing ones.

There's some saying about never going to sea with two spreadsheets.
I understand where you're coming from. I'm uneasy about the privacy implications of smartphones.

But the utility is too great to ignore. My smartphone is integral to how I communicate, travel and even run my business.

Smart speakers are just gimmicks
Your parent comment contained just the same thing, I think you misread it.
Tesla's public statement as posted in their blog:

> The driver had received several visual and one audible hands-on warning earlier in the drive and the driver’s hands were not detected on the wheel for six seconds prior to the collision. The driver had about five seconds and 150 meters of unobstructed view of the concrete divider with the crushed crash attenuator, but the vehicle logs show that no action was taken.

https://www.tesla.com/blog/update-last-week%E2%80%99s-accide...

This is from March 30 2018 (the accident occurred on March 23). The NTSB and Tesla dissolved the commitment to investigate in parallel as a consequence of this premature release of data in an attempt to exonerate themselves.

https://www.theverge.com/2018/4/12/17229518/tesla-ntsb-autop...

It's also quite telling that part of Tesla's statement to the press at that time included of the following:

> Mr. Huang was well aware that Autopilot was not perfect ... yet he nonetheless engaged Autopilot at that location

The NTSB report didn't come out until Feb 11, 2020.

https://www.ntsb.gov/news/press-releases/Pages/NR20200211.as...

Tesla absolutely intentionally released log data on their own.

EDIT: "If you're going to keep spamming the comments of this thread" This was both unnecessary and untrue. With this comment, I'm up to a grand total of two comments in this entire article's discussion thread.
Umm, who is qualified to use Excel if both scientists and economists frequently have errors in their published works?
https://www.economist.com/graphic-detail/2016/09/07/excel-er...
My two cents: I think starting in the early 1990s, when Newt Gingrich went to war with the Clintons, it became very person for both sides. This was exacerbated by Tom Delay, which was compounded by Pelosi when the Democrats took over in 2006. Then it boiled over with the acrimony between the parties and President Obama, and it has only gotten worse.

I doubt our political leaders are even speaking to one another anymore. Trump and Pelosi need to go play a private game of golf together.
Both solutions would require the company to have a prohibitive amount of their investment money set aside to cover the tax costs to employees of vested options. That both has perverse incentives and is a very substantial innovation tax—making investments in startups even more risky, and raising funds more difficult (since doing so at an increasing valuation also increases the capital requirements needed to cover the tax bill of future veering events).

The American approach is simple: no sale, no profit, no tax. If Europe wants their own Silicon Valley, they need to adopt similar startup-friendly tax laws.
> the WaitForObject won't wake up any sooner than Sleep(1) will. Only a real proper hardware interrupt could wake up quicker - but that requires special hardware that just wasn't available in that scenario. If it's easier to think about that way, then please assume I said that WaitForObject "sleeps" way more than necessary due to the low timer resolution on Windows.

Above is not correct.

SetEvent/WaitForSingleObject takes a few microseconds to wake the thread. Not milliseconds, microseconds.

WaitForSingleObject doesn't use a timer if you set infinite timeout.

It does not "sleep more than necessary due to the low timer resolution", because it does not use the timer.

Even if you set a timeout, it doesn't use the timer when the wake is triggered by SetEvent. The wake is immediate.

Wake triggered by SetEvent in a different thread doesn't use interrupts or need special hardware. It's purely kernel scheduling inside Windows.

For a real-world measurement, see for example:

>> "Windows event object was used but it takes 6-7us from SetEvent() to WaitForSingleObject() return on my machine

The person is annoyed that it takes 6-7 microseconds, and they want to get it lower.

Here's a Microsoft example of how to have one thread wake another:

https://docs.microsoft.com/en-us/windows/win32/sync/using-ev...

There are other ways for one thread to quickly wake another thread on Windows, but SetEvent/WaitForSingleObject is the easiest in a general purpose thread.

What I suspect happened in tests where it appeared that "WaitForObject "sleeps" way more than necessary" is that there was a race condition in the event trigger/wakeup logic between the two threads, causing the worker thread to depend on timeout behaviour of WaitForSingleObject instead of being woken reliably by SetEvent. That is is actually a very common bug in this kind of wakeup logic, and you have to understand race conditions to solve it. When the race condition is solved, SetEvent wakeups become consistently fast.
> All it takes is one teammate who thinks it’s a waste of time to undo the progress of everyone else.

If a strategy demands perfection, it sounds like wishful thinking honestly.
So, like Yahoo Pipes for the 2020's?
Corporate Innovators Help Rebuild the Economy After a Crisis
yup, peer pressure is probably the worst reason to do anything!
Maybe a warning system to tell you to stop driving might be better?
I thought that the implication of a connection between persons identified as "DARK" and vehicle damage had enough potential to be misinterpreted (either accidentally or maliciously).

It was just a throwaway comment that people have taken quite seriously.
I didn't rework it because I thought the numbers were bad. She and I agreed to ground rules, [but] I could not commit to the consequences even though the 1st order consequences came out in my favor. The second-order consequences would be that I'd tricked her, intentionally or otherwise, which is decidedly unhealthy in a partnership. I had contributed 2/3rds of the income but 2/5ths of the debts (the latter being the main sticking point) so while 'fair' was not going to be 50:50, I'm not some monster who's going to buy high end electronics while my partner is eating ramen.

I expected worse news for myself after re-doing the numbers, and in fact I ended up with a little bit more spending money with the new numbers.

I mention this only because I have come to expect policy people to stick to their initial narrative a little more enthusiastically than I could. Getting them to review data and policy unless there is a clear benefit for themselves is difficult. It's very common for people to get promoted by challenging this friction in ways that benefit everyone (because the deciders couldn't connect the dots). It's always newsworthy, and I wish it weren't.
While the existing rituals in the article are kind of fun and optional, what he proposes amounts to mandatory waste of time.

If a game had me fiddle with the brightness every time i started it, I'd refund it. If a company started meetings with mandatory meditation, I'd worry they're religious fanatics and look for a new job. The company example may actually be illegal in some jurisdictions?

Meanwhile, you can break the oreos and dip them in milk or just gulp a bunch at the same time if you're really hungry. There's a difference there.
Maybe a warning system to tell you to stop driving might be better? I believe such systems that track your eye movement actually exist already
Last I checked, releasing a summary of selective data points from a vehicle's recording device is...releasing data.

Tesla may not release all of the data (and it's clear from their selection of data that they do not), but they definitely do release some data.

Indeed, Tesla's release of data is worse than nothing, because they only release data that slanders the deceased drivers when autopilot was the cause of the crashes in all cases.
Might not be exactly what you want but the pay-what-you-can (free to read) online book Beautiful Racket[0] is an amazing resource for learning how to build languages. In the words of Alan Kay, "Lisp isn't a language, it's a building material".

The last project is implementing an extended version of BASIC that supports interop with Racket, so as imperative as it gets.

[0] https://beautifulracket.com/
draw.io is pretty simple though and very easy to open up and use.

I use a mac and am not a big fan of opening up office products for simple/quick things
The problem is that anyone who isn't a decent coder think excel is a sensible choice for this, because they've seen it in their school or work.

So when the proposals come in, you're going to see one guy who says it's all common sense and we use familiar old excel for everything, and another lunatic who says something called "pigsqueal" is actually the standard, connected to a "frontend" which for some reason is now separate to the "backend". This nutter thinks we have time to write some unit tests and also wants to add an authentication module so we know who uploaded what. And somehow he thinks we need to add logging so we can ensure errors can be tracked and debugged. Amazingly he seems to be suggesting that there's going to be errors in our process.
Ask HN: What do you use for editing when you SSH into a remote terminal?
Lately I've been editing files on my local system through an IDE, and through Putty I just paste the code into the proper file through VIM (vim somefile -> gg -> dG -> shift-insert). If it's particularly complex i'll pull from git, but that often makes testing little things very hard, and makes me use vim for the majority of the edits. What's a better way of doing this?
Come work at a bank. Any bank.
I have been revisiting Charlie Kaufman's films within the wake of the "I'm Thinking of Ending Things" release, and "Synecdoche, New York" remains my favorite. If anyone here is considering watching it after seeing OP's comment, I highly encourage you to give it a watch.
The assignment operator is broken
Whoa - your website eats 40% of quite recent Macbook Pro' CPU. It looks cool at the same time! Great content!
Take the bus
Can't be that serious if you're driving back Sunday morning. Serious would be skiing at least half-day, and driving back Sunday afternoon! Or ski full day, and overnight drive it back!
Got it! Thank you for replying with the details. :)
PG&E, typo.
Calbal: Professional Pizza Calculator
Honestly glad that this guy is out there doing his thing but I wonder if his dating challenges (also discussed on the blog) might be somehow correlated with this setup...
Awesome: when Python is initialized multiple times in the same process, it does not leak memory anymore
I'm not even sure what I would do in their situation:

Do you "lie" (maybe by omission; at least going against the current {at the time} scientific consensus) by saying that 'public mask-wearing provides no benefit' [that's to my recollection their advice around February time when I was considering buying masks] in order to maintain supplies for medical personnel? Or, do you say 'masks limit transmission of ARIs' and risk leaving medical need of masks unfulfilled because mass panic has decimated the supplies?

I don't think it's necessarily wrong to lie there (akin to people who say "vaccines are perfectly safe" - the info leaflet disproves that), but it does mean if you're searching for a source of ground truth that you can't rely on them.

No conspiracy, other than that needed to protect global populations, is required. I think you'd agree with me that WHO are conspiring to protect the health of global populations. That they would hold this goal above the goal of providing information that is absolutely true is not especially surprising, I think.

FWIW: WHO updated the information later such that they offered different mask advice per country (to my recollection), which seems anomalous unless one considers that the advice is tailored according to whether countries had secured supplies. The advice for UK went from "masks do nothing" to "you should wear a mask".
I started this journey because of neck pain. My posture has been pretty bad for neck pain, as I prioritized avoiding carpal tunnel. Now that I have a relaxed neck, I'm finding that I still get neck pain due to shoulder position. So having built a zero-g solution for my neck (i.e reclined with monitors still "in front" of my eyes), I am still working on shoulder and arm positions. I thought solving awful neck position would resolve the pain but it didnt. However, removing that problem now allows me to be sensitive to arm position, and all the times i'm using muscles to grab the mouse, or reach for a key.

My WIP involves a Zero G chair from relax-the-back, a sit-stand desk from which I mount the three monitors only, and a side table for the Mac. I dropped the $$$ on the chair because (a) it is motorized so I can change position throughout the day slightly, and (b) because if I ever have to go back to the office 100%, the chair is nice enough to put in the living room. The sit-stand desk allows moving the monitors up and down. Finally I have a couple of pieces of foam, with an MDF board glued on top for a workspace. The foam rests on the chairs arm rests, and now also two more side-tables just to support the foam. I use two magic keyboards, one for each hand (karabiner is required to make the cmd key etc work across keyboards)

It is a WIP. Step 1 was taking the load off my neck. I can now totally relax it during the day, with the result that I am now taller. Step 2 is taking the load of my shoulders. My second iteration has resulted in my elbows being slightly above my shoulders, so I'll be needing to get some thinner foam.

I'm in for about $5k so far, mostly the chair.

Will hopefully get to a writeup when it is 100% comfortable.
Thank you for reassuring. :)
Thank you. That's good to know. I will definitely be on the look out for a sales of Embody this/next year. :)
Always cool to see people experimenting with languages! I'm doing a similar thing with wheel-lang [0], which started as pretty purely imperative, but is starting to grow some object-oriented features.

Nystrom's Crafting Interpreters is a great resource; I've also liked Compiling to Assembly From Scratch [1] and Write You a Haskell [2].

[0] https://github.com/DylanSp/wheel-lang/

[1] https://keleshev.com/compiling-to-assembly-from-scratch/

[2] http://dev.stephendiehl.com/fun/
We see this intersection between the American Black community and Africa again today in the growing sentiment amongst certain Black Americans to not only visit Africa, but consider moving there as well. Many youtube videos you can look at on this, but the biggest issue that comes up is how Africans in Africa share little of the fervent anti-colonial attitude prominent in the American Black community here.

There is genuine shock registered at how much many Africans are simply disinterested in explicitly raising questions around White privilege, how it even continues to be catered to in even typical hospitality settings.

Two articles made the frontpage of HN within the last 4 weeks whereby African writers in Britain and Africa, respectively, write to disparage the export of the Black American anti-colonial perspective, one going so far as to indicate an element of typical American cultural exceptionalism.

It seems the Black American community is alone both in its experience and response to the uniquely intensive and thoroughgoing racism of America, no matter how pervasive its cultural influence in the arts globally.

Too American to ever be (any one of the ethnicities identified as...) African, too "other" to ever be more than a second-class American, left alone with hundreds of years of cultural ressentiment at de facto segregation and disenfranchisement that has only recently found popular expression in the liberation of social discourse and media from establishment institutions.

I'm suddenly reminded of a joke a comedian whose name I can't recall told about how a white person is more comfortable with Africans from Africa than they are with the Black Americans that've been here for over 300 year, something like, to paraphrase, "You tell em your name is DeShawn, that's a wrap, but if you're 'Oluwafemi' they love you".

The Cameroonian Joel Embiid, the famous NBA player for the Philadelphia 76ers, famously recalls being able to convince students at the University of Kansas, where he played college basketball, that in Cameroon he lived near lions and had to fight with them constantly. Joel Embiid grew up in an upper middle-class suburb in his home country.
I'm confused.

In America...

The elk is a really big deer...
https://en.wikipedia.org/wiki/Elk

Moose is a giant deer (bigger than elk) with a bulbous nose...
https://en.wikipedia.org/wiki/Moose

If Europe refers to moose as elk, what do they call elk?
Python 3.9: Cool New Features for You to Try
This is a big issue with the Nobel Prizes in general, especially with how much science is done collaboratively now. I have a professor who missed winning the one for the expansion of the universe as he was the third or fourth author of the paper, and the committee caps the prize at 3.

He was the lead author of a different paper from the group which excited him more, and that's what cost him a chance at the Nobel Prize, though he still got to visit Stockholm and the ceremony. It's just in general a weird way to look at things, when teams are so big anymore.
>> with each new technology you learn, there's a diminishing effort to learning the next.

You kind of answer this in your following paragraph, but there's also diminishing benefits with learning the next great tech stack. Coupled with the exploding growth in frameworks et al, it's impossible to learn them all.

So I'd counter your fear of the 10x 1 year experience "veteran" with the very real scenario that you have a 10x technologies for doing the same thing. This might help someone get a job but not too many companies need this specialized, redundant skill set.
Some people don’t have that privilege either.
>A driver with a disability that makes them inattentive can't be a "safe driver."

A driver with a disability that makes a computer system classify them as an inattentive driver is not the same thing as a driver with a disability that makes them inattentive.
It's like responding to an article about the Founding Fathers with a trailer for Tiger King.
Yeah, like my manual strain relieving ritual for every lightning connector for my Apple mobile products, using heat gun and 3/8” shrink tubing. It causes me to love those products.
Flex: A simple visual cheatsheet for flexbox
You can try to emigrate to a richer country, you can try to reduce your expenses, you move in with relatives, you can sleep in the car. These are all terrible choices but endangering other people is also a choice.
If this post were a link about the founding of America, would you tell people to read about Charles Manson?
I really don't get why they were trying to build an x86 mobile part that's just making things very difficult for yourselves no?
I've re-read the parent comment a few times, and I really don't see how this is your takeaway. The author is complaining that they find Excel difficult to inspect and different spreadsheets difficult to compare. There's no claim that Excel did a calculation wrong.
If these numbers hold up, this could be a game changer.
I'm not so sure he claimed that Excel can't add and subtract numbers. I think the argument is that even two people can make such a mess of a spreadsheet that nobody can really untangle it later.
> "You should never get behind the wheel if there's a chance you'll fall asleep!" is an absurd thing to say.

No it isn't? We expect drivers to be able to react to situations that can arise when your driving a ton of metal and plastic. 24 hours w/o sleep is equivalent to having a BAC ~0.1%; well above the legal limit. Sure; most people aren't staying up 24 hours and going for a cross-country road trip, but you need to be aware of what affect is has on your ability to operate (https://www.cdc.gov/sleep/about_sleep/drowsy_driving.html)
Building a Career in Data Science
Jacqueline Nolis is currently a principal data scientist at Brightloom where she creates models to help restaurants and retailers improve the customer experience.

Emily Robinson is currently a senior data scientist at Warby Parker, where she works on a centralized team tackling some of the company’s biggest projects.

WHAT YOU'LL LEARN

[00:10:42] The three types of data scientists

[00:13:09] How to make an effective analysis

[00:16:08] How to convert a business problem into a data science problem

[00:19:39] What the heck is deploying a model into production mean anyways?

[00:29:57] Who are the various types of stakeholders that we may encounter in our data science career and what do they care about?

[00:37:56] How to build a data science practice as the first data scientist

SHOW NOTES

[00:15:21] How are the types of analysis different for the different types of data scientists?

[00:16:08] How to convert a business problem into a data science problem

[00:18:15] What to think about before diving into data and coding

[00:19:39] What the heck is deploying a model into production mean anyways?

[00:22:05] An illustrative example of putting a model into production

[00:23:50] How to keep a model running in production

[00:25:17] At what point do we retrain the model?

[00:29:57] Who are the various types of stakeholders that we may encounter in our data science career and what do they care about?

[00:31:49] Tailor your communication to your audience

[00:33:10] How to decide which projects to take on at work

[00:35:41] How to establish a data culture when you’re the first data scientist in an organization

[00:37:56] How to build a data science practice as the first data scientist

[00:41:11] Non-technical skills for success
Not a realistic option for daily life in the U.S. and often not even possible if you work late hours. Ride sharing is way too expensive to use every day.