skysight-inc/HackerNews huggingface dataset:
I believe one should not confine event-driven only to applications that don't do synchronisation, that's part of the misconception that leads to thinking event-driven has higher performance. This is due to the fact that part of the problem with threads (as you mentioned) is synchronisation, but this is the same problem with event-driven applications. We have a web server experiment that shows comparable performance to an event-driven web server (ulib) with its various hacks to make it faster and is always on the top list on tech-empower.

Regarding memcached, the first reference you posted is from 2015, yes in 2015 memcached was in a very bad shape in terms of synchronisation and things have significantly changed from that version with locks per hash bucket rather than a global lock, avoiding try_lock and .... So those results are too old to rely on. Seastar moves network stack to user-level and if I remember correctly the scheduler consisted of multiple ever looping threads even if there was no work to do. Considering in our experiments 40-60% of the memcached overhead were coming from network I/O, there is no surprise about their results. I would call this a hack for sure.

I have not read the Anna paper to be able to comment, but it seems that they are creating a key-value store using the actor model. I briefly schemed through the paper, and I did not find anything that points to "killing any possibility for shared memory multi-threading as a concurrency model"; this is a very bold claim and if they do claim that, they should have really strong results.

But my guess is anna's whole actor model was implemented on top of threads and shared memory multi-threading? Which will be in contrast of that bold claim. I worked with actor models and implemented one as well, it is a perfect fit for many use cases but threads at least for now are the bread and butter of multicore programming.

Having said that, all these models have their respective place in the software world. What we are trying to show in our paper , through thorough experiments, is that the misconception that event-driven has higher performance than thread programming is not fundamentally true. Therefore, falling into asynchronous programming and create hard to maintain applications [1] only due to better performance has no merit.

[1] https://cacm.acm.org/magazines/2017/4/215032-attack-of-the-k...
DBAs were a bottleneck. In the best case, you’d throw your application’s data needs over the wall to the DBAs (remember, this was the waterfall era) and hope they’d update the schema for you in a timely manner. In the worst case, the DBAs were petty tyrants who stifled progress. In the worser case, they were incompetent and you ended up with all these applications directly reading and writing the database, making schema changes impossible and coupling applications in obtuse, incredibly difficult to fix ways.

In any case, designing a single schema that encompassed all the needs of the organization and could grow and change as the organization did was nearly always too much to ask.

This was in the days of enterprise data modeling where people believed there really was just one data model or object model that could represent the whole org, independent of the needs of any given application. I don’t think anybody believes that any more.
This is intentionally done at some larger companies. Engineers are resources (owned, not owners) and management is layered in a way that prevents true authority at all but the highest levels.
> Also make sure the people who hire you actually own the system being tested.

I feel like an alternative take on this is “inform the local police department of your plans”
I've been subscribed to Google Play Music for years now, mainly because I'm still on the intro $8.99/month rate. Finding new music on Play is pretty difficult, occasionally, some of the playlists do surface artists I've never heard of before.

So been resorting to a few different ways to find new music.

When I use to live in Boston, I would check the gig calendars of the places I loved going to. They tended to be smaller venues where more unknown artists played. I remember once seeing Imagine Dragons as a support at the Brighton Music Hall. Boston is full of wonderful small gig venues.

Now, when I visit different cities and places, I'll follow the venues on FB so I can easily see the gig calendars. I pretty much use FB as a bookmarker for venues and bands now.

Also, I recommend a cool site called Indishuffle, it's curated by a bunch of humans around the world (I believe).
Abusive people won’t bother you if they don’t see you as a mark for their games.
+1 to KEXP and KCRW (and KCRW's Eclectic 24). KEXP plays a ton of great music of different varieties of music, some of which, I wouldn't normally listen to.
Just as an aside, once you start on a thyroid medication, it’s recommended you stick with that manufacturer. Yes, they are bioequivalent, but to the FDA that means 80%-125% of the originator.

But yes, these markets where formally cheap drugs get 100x price increases are tiny markets where the outlay to get FDA approval is more than they’d make on it.
The news feed too.
Using pobox.com for this for many years now
If it were any other company I'd get depressed and say it's another victim of the tragedy of software patents. But Apple deserves every post-Creative Labs patent victory ruled against them.

For anyone that doesn't know, in 2006 Apple was caught off guard and sued by Creative Labs over the iPod, resulting in a $100 million settlement. It was total nonsense and Jobs was right to be pissed, but what does he do? Does he get fired up to bring about patent reform? No! He doubles down on software patents himself and goes on to sue Samsung in the same shitty way in 2011.

I mean, it's too late now to turn the ship around on software patents. It's never going to change. But 2006 - 2011 were prime growth years for Apple, where they could have made a great case to the public for how software patents were bad and used in a totally bogus way against a well liked American company.

And if he didn't want to do that, he could have built up a library of patents to squirrel away for defensive purposes on a rainy day.

But no. He got burned by Creative Labs, hated the experience, and turned around and did the same exact thing to a totally unrelated company.

When it comes to software patents, fuck Steve Jobs and Apple.

https://arstechnica.com/gadgets/2012/10/creative-pushed-stev...
verbal focus helps my chess. when I think things like "he's trying to mount an attack on my queen's side", verbalized as words, it helps me to understand what I'm seeing in a new way
> 2.5 Bonus, there is likely no way to meaningfully decouple the services. Service X can be "tolerant" of service Y's failure, but it cannot ever function without service Y.

Nit: if service X could function without service Y, then it seems to follow service Y should not exist in the first place. And equivalently, the functionality of service Y before some microservice migration.
Yes, coronavirus is a broad class of flus. SARS and MERS are both coronaviruses and there seems to be a lot of genetic similarity to SARS.
Thanks! I don't think I can edit it now though :(

Does the edit button disappear after a certain amount of time?
The Tesla Model Y May Be Coming Sooner as Musk Announces Q4 Blowout
And, the fact that an Erlang server is explicitly intended for handling zillions of tiny, independent requests. A request fails? Meh. They'll call again if it's important. What matters now is the next tiny, independent request.
Yes, those things too.
That's a good point that I hadn't remembered (first-class locks weren't totally baked back then), but I think the intent of my original comment holds true: we should have valued the Jepson test suite more and continuously leveraged and improved our usage of it, rather than doing one-off tests every now and then. As a result, the community has no idea if there were regressions between now and then. I will admit what I don't know: I have no idea if this was actually feasible or desirable for us or you at the time, but I'd feel more comfortable if every release of etcd, Zookeeper, etc... had some kind of Jepson stamp of approval on it in terms of API coverage. I'm pretty sure CockroachDB has tried this[0], but it's been a few years and I don't know how it turned out for them long term.

[0]: https://www.cockroachlabs.com/blog/diy-jepsen-testing-cockro...
How Not to Break Your Software-Defined Radio
The military isn't a borg collective, it is full of people trying to get their way, climb the ladder, make money, etc. Those motivations produce behavior counter to what the command structure 'wants'.
> lifetime appointment

There is a 2-term (8-year) term limit (each member can run for re-election 1 single time before being termed out), so this summary is false on its face.

In recent elections several incumbents have won re-election by only 2 or 3 percent. It is entirely plausible for an unpopular member to be unseated by a well organized challenge.

Before 20 years ago, the elections were at-large, so what you’re going on with this complaint is a pretty short time frame (maybe a couple dozen individual elections involving an incumbent).

The SF board of supervisors (and its elections) doesn’t seem materially different than other American political offices.
Not sure if stylwsheet has a different meaning in the context of OSM but it is what is shown when you zoom out that I’m objecting to.

If the OSM project is just about data then it’s doing a great job.

If it’s about a usable navigation experience too then it’s failing because in the UK it doesn’t take local politics into account when deciding what to display.
I like this a lot.

Now we just need jobs to switch to allowing the same sorts of working schedules.

Not everyone is a morning person.
Lesson here is don't embarrass the prosecutor's office. These people aren't held accountable to anyone and they don't want that to change.
The problem is that the method that you use and the paper referenced (https://pdfs.semanticscholar.org/ebf2/48c9fc0a1a23d1778b9408...) only applies the calculation on data 3 weeks, 4 weeks and 5 weeks after the epidemic has peaked. Of course you can get valid data once things have peaked and are slowing down. The issue is trying to get valid data while still in the exponential growth portion. And it seems like this method would have all the same flaws as other methods on rapidly changing data (if not worse due to the lag between recovery and deaths.).

I'm not an epidemiologist, but I believe I see flaws in your application of the methods from the paper.

[1] At the bottom page 481 it clearly say the virus peaked on March 27th. The first date they use data for the e2 calculation is April 6th. Two full weeks past the peak.
A lot of tech companies might there be that is where the talent is. Talent moves there because that is where the companies are. A company did want to move to Timbuktu because there is very little talent. And if they did, talent didn't want to follow for dear of being locked in to one company.
Remote work helps but isn't the answer
Yes, you do. Just don't drive up the price on second-hand cards for the rest of us. :-)
I’ll take “air next to a tree” vs “air next to a car” any day, regardless of average ambient. And I like cars a lot.
There was no need to plug in the NUL until somebody called c_str(). That possibility was lost in C++11. Now, if somebody plugs something else there (which is done, UB notwithstanding), c_str() produces the wrong answer.

NUL-terminated strings were one of the dumber things C++ inherited from C, and code that depends on NUL termination is not a thing to be proud of.
About 10 years ago, I stumbled across a local government website that leaked personal information about all registered citizens (including full names, civil id numbers, dates of birth, academic grades, etc). I didn't report it because I knew they would try to go after me.

Fast forward to last year, the government decided to double down on their stance by making punishments harsher than most crimes of violence without carving exemptions for white hat researches.

Unsurprisingly, my country's infrastructure was shown to be completely compromised by Snowden's (or Manning's) leaks.
Micro-services are just connected things which work together to accomplish something. But where are those connections described? In some tables somewhere. Maybe.

Whereas if you write a single monolithic program its connections are described in code, preferably type-checked by a compiler. I think that gives you at least theoretically a better chance of understanding what are the things that connect, and how they connect.

So if there was a good programming language for describing micro-services then that would probably resolve many management difficulties, and then the question would be simply do we get performance benefits from running on multiple processors.
Is that community short of money? Or have they just wasted it? A lot of these city problems have been from decades of poor management.
Limit it to primary residence. Tally the tax deferred and take it out when the property is sold or transferred. Remove it from commercial properties.
I remember asking my French teacher if she ever “thought” in French, and she had no idea what I meant. She apparently had no internal monologue.

I assumed there was something with me for “thinking” in words. I tried to train myself to think more abstractly, and maybe it worked to some extent, but I’m not sure this was for the better.
Great to see those names on HN
The fact that cultured Americans love Paris without taking any of the lessons of Paris (insanely dense city) never ceases to amuse me in the Bay Area.
The electric Hummer is real, and it’s as fast as the Cybertruck
No policy, not one, out of Sacramento is going to solve affordable housing in a stagnant property market in which people are incentivized not to sell, rent or lease their properties. Sacramento could centralize zoning and effectively upzone the entire State tomorrow and it would be one State constitutional amendment away from being overturned, which is not nearly as high a bar as it should be.
> Other than that, I'm very happy about TF's graph structure. It means, I can just build the graph (a bit like a declarative style) and in each iteration (session run) I can specify which tensors I'd like to fetch. Then TF takes into account the data dependencies and lazily computes only what is needed. Very convenient and I got very used to this.

That's one of the things we realized we disliked most about TensorFlow: Whenever we tried to do anything that was out-of-the-box, we would have to write Python code that would then construct the TensorFlow graph that would actually specify and eventually run the computations. It felt like metaprogramming from a nice, general-purpose language (Python) in an inflexible, non-general purpose one (TF ops).

> My other problem with pytorch is that you have to define every model / layer twice: once in the constructor and once in the forward() function.

That is not true. You can create graphs, compute losses, and backpropagate them on the fly, because autograd records all operations on the fly.[a] The nn.Module class is a convenient, nice, Pythonic wrapper with lots of functionality, but you don't have to use it. You can create your own wrapper if you'd like.

[a] https://pytorch.org/docs/stable/notes/autograd.html
Going and visiting train stations where people actually live is more revealing. Just as I understand the “tourist playground” areas in my city!
Yeah, I agree that that's fighting the law outside the system. I don't think it's different from robbery in the same way that fighting the law from within the system is, I think they're similar in that regard. They're different in that robbery commands nearly zero popular support, making it a bad candidate for change through civil disobedience.
I really love that Nintendo did something like Satellaview, and it's always been something that has struck me as a niche product that was far ahead of its time. It's too bad that we will never be able to experience what using the Satellaview was like (admittedly, probably pretty slow and crappy), but at the time I can only imagine it would have felt quite novel.
So your own std::string means you have "arrived?"
Living in the moment is somewhat counter to striving. It's hard (maybe impossible?) to be a builder and a creator without spending some time ruminating on the last and future.
Ceck out Mitadu. $5/for unlimited domains and users. Prices rise with outgoing mail needs.
It’s not anticompetitive to offer a freemium product, unless your market position is so powerful (Microsoft vs Netscape late 1990s) that competitors cannot also afford the same giveaway.
I don't know a lot about the subject, but wouldn't it be included in the price you pay for reading slower due to reading+speaking+listening in the whole process the fact you absorb more? (not defending any side, just questioning)
Oh cool cool, I thought I had a stroke or was missing something here. This is a cool idea in that case.
Google Stadia’s latest free game only has a few thousand total players
Uber and DoorDash held merger talks after SoftBank push
A huge part of this comes down to Coalfire having a good faith belief that they were acting on the lawful instructions of the rightful authority. Putting myself in their position, I honestly can't think of who I would ask for clarification if the judiciary says it's OK. If there was any hint of a legal question in advance, these are exactly the people you would be asking for a ruling. By seeking the contract, they effectively gave a ruling: this is OK for you to do.

I can't fathom how that wasn't the end of the conversation right there. "Who granted you permission to do this?" "A whole buildingful of judges." "Oh. Sorry, we'll take this up with them."
I’d heard that this is, to some extent, impossible, because everybody subvocalizes when they read. Wikipedia supports this, but I guess the goal is to minimize subvocalization rather than to eliminate it completely?

“Micro-muscle tests suggest that full and permanent elimination of subvocalizing is impossible.”

I know this is true for me. If I press the tongue to the roof of my mouth while reading, I can’t stop the muscles from moving very slightly as I read.
Which is inline with making someone feel they are crazy. Making person x second guess their own perspective.
For workloads which are read-heavy, I think a single database can be a great solution -- a small monolith has exclusive write access to the db, and any number of polyglot read-only services are connected to as many read-replicas as are needed for horizontal scaling.

For write-heavy workloads, best of luck to you :)
I have often wondered how the mapping programs handle multiple lanes moving at different speeds. Sometimes my highway exit backs up for a mile, while there are four lanes next to it moving full speed. All of the maps programs show this as blue (no traffic) even though I am moving at ten miles per hour. I’m guessing that they don’t have the ability to distinguish speed by lane.
Upgrading from a true quad core laptop to a true 12 core zen2 desktop sped up my rust builds by a factor of three. Just some anecdata.
In the Bay Area KFJC (Foothills College/Los Altos) and KZSC (UC Santa Cruz) are also both quite good at playing music many listeners wouldnt otherwise discover.
You can't get them in SF proper, but great for tuning in when you're down south a bit.
Indeed. China’s medical system is primitive by comparison. They have shiny highways and trains, but hospitals are overcrowded and underfunded.
w.cd had the best recommendation system for music and audio equipment. The communities that tried to take it's place after don't come close.

It's a shame because I don't know where to talk about it anymore. r doesn't come close, at least not yet. The community music collages on w.cd were unreal.
Comon, could you be constructive? Of course they do. Now whats your gripe with that?
I use ansible to build a machine from zero software installed on it to running multiple docker containers that also make use of various filesystem stuff on the host, as well as set up other non-docker things on the host like networking, selinux stuff, and crons. I like that ansible is not hardwired towards everything being a container.
Most likely due to I/o limitations.
>>On top of that, some of them are pretty clever at courting favor of their superiors and/or playing office politics.

As a fellow Indian myself, let me assure you the biggest victims of this are the remaining other fellow Indian themselves.

Things like this are the biggest reason why I wish I had a chance to settle and work in the US.
How do you "plugin" the NUL. If there's no space for it, then everytime you want a C string, you need to do an allocation. And why would you put something in it's place - as you said if you modify the c_str that was always UB -- so you pretty much lost all guarantees at that point -- that was just dumb.

Basically the NUL-terminator amounts to a 1-byte of wasted space -- which is almost always completely in the noise -- if you're using std::string for tiny strings you're paying at least 24 bytes anyway. There are just very few cases where that one extra byte matters.

I think the overwhelming opinion is that this 1-byte trade-off is better than the overhead of allocation and copying when you want to pass that string around. NUL-terminated strings aren't important in C++ because of C (well, not directly), but because they are essentially the ABI of countless existing libraries and the major operating systems.

> code that depends on NUL termination is not a thing to be proud of.

Whatever. Code that depends on NUL termination is ubiquitous.
Not necessarily. Maybe service X logs in a user and service Y sends them an email letting them know that someone logged in from a new location. Y adds value but it's not essential to X.
True there was a song from a band I used to listen to and I realized it had a name from someone not in the band and found out they were in another band too. It was slightly different style but interesting and enjoyable. So it pays to look further into artists and people involved.
Yup. Of the 12 people from my graduating class who moved to SF, me and one other person is left after 8 years.

Of course plenty more from later years offset that.
Thank you so much for this transcript.

Reading through it made it clear that:

1 - Wuhan's health care system is overwhelmed

2 - There's not enough transportation, test kits, masks, and hospital beds, or volunteers

3 - Many sick people are not even bothering to go to the hospital

4 - There's poor communication and rumors flying around

5 - People are frightened, panicking, and suspecting the worst

This tells me that:

A - there are likely way more people infected than there are confirmed cases, but possibly more deaths too of those who never made it in to hospitals

B - Many wouldn't have died had they had more adequate health care, better transportation and more test kits

So, for the rest of us who are sitting on our hands now, glued to social media or the television waiting to see how this will unfold, our time would be much more productively spent planning for when the outbreak hits our local area.

Volunteer. Get connected with volunteer organizations. Donate. See what you can do to ensure there's adequate transportation, communication and resources when the outbreak hits your area.

One thing I'm really curious about that I haven't heard covered yet is if people who get sick and recover become immune. If so, they should feel safe in volunteering to come in contact with the sick and help them directly after they've recovered themselves.

Cooperation, preparation, organization, and mutual aid are crucial.
The elegant way to do this is via coproducts and products.