skysight-inc/HackerNews huggingface dataset:
It depends on the company you're in, and whether or not there's a CTO above you. If there isn't then my experience is that you should expect to write a lot less code and to do a lot more project management and meetings. Your job is now to steer the tech your team is building while navigating the antagonistic wants of other parts of the business. You're going to be the person people blame a lot. Your dev team will blame you if you can't stop the product team changing things all the time or the money team complaining that things are taking too long, and the product and money teams will blame you if they don't get the changes they're requesting done fast enough.

Don't try to make everyone happy. You can't. Sometimes your team will think you're making the wrong decisions. Sometimes product and money will think you're deliberately trying to make things difficult for them. Do what you think is right for the tech you're building and fight hard for what you believe in. Usually you'll be proved right in the end.
Other large technology companies that manufacture stuff but are not Chinese have made the same decision.

I write like this because I am not sure what I can disclose.
My guess would be that this was a mis-quote, probably meant to be "there's no way to 100% prevent SQL injection via sanitization". Possibly followed by advice to use parametrized queries. Alternatively, the lecturer could have just been wrong.

If someone does have a counter example for parametrized queries, I'd be curious.
Wouldn't you rather use unzip instead of tar? Epubs are just zipped HTML trees with a few extra files for the ebook structures.
One example is that TS does not enjoy you going from string enum keys to an actually typed enum, but you can fake it by casting to ‘any’ first and then to the new type.
What is the false positive rate for these tests?
ok, that's interesting. And this is a really creepy thing from a privacy standpoint...
It's not just tests. All symptoms disappear - we had health workers coming back to hospital and days later symptoms reappeared

EDIT: to clarify: in my hospital there were colleagues who tested positive, isolated, had no symptoms, went back to work, still no symptoms. After a few days symptoms are back and they tested positive again
There are plenty of anecdotal stories that show that it spreads very quickly. A highly publicized story in Germany was about one of the first ten cases here. This guy merely sat behind a patient and got asked for a salt shaker. That was his only contact.
And I know of a company where someone who returned from a vacation in Italy was in a meeting with 6 people. 5 of them got infected.
> But by pretending to need the region inside using touch#, after converting the address back, we ensure that the compact region remains live from the GCs point of view.

Wow, but this seems incredibly fragile to me. touch# is a primop that is very magical and, in the face of simplification, prone to being eliminated by the compiler. I remember some bug in which the compiler eliminated the touch# after deducing that the code is dead. Chaos ensues.

If it were me, I'd just keep a random object inside the compact region, and then refer to that object in the regular way (i.e. not via the custom hash table of raw addresses) in order to keep the compact region alive.

In fact, it seems that the main purpose of that complicated ST-like RankNTypes dance is to ensure liveness of the compact region, when objects in the compact region are being referred to using raw addresses. Then why not just keep some regular Haskell value inside the compact region and use that to keep track of regions instead of phantom types? That is, every `Entry` now contains some token that is stored inside the compact region, as well as the address of the data it actually points to. Then, whenever any Entry is reachable in GC, the entire compact region is reachable in GC.

Am I missing something?
I thought the GP's context made that clear, but fair enough.
Did bees evolve to find nectar or flowers evolve to attract bees? A lot of both.
Studies Show N.Y. Outbreak Originated in Europe
Upgrading to Ubuntu 20.04 (Focal Fossa) – easy guide
Could it be that the first test was false positive then and the first symptoms where actually not corona virus?
React in Kotlin sounds stupidly simple. I’d very much like this, but we can’t really change our whole app from Typescript now anyway.
I would go as far to say that a good chunk of more technically inclined Mac users have a tendency to view any user facing software that requires an installer with suspicion.
They aren't perhaps interested, they are actually interested. And I know at least one lawyer that will use such technology. in the short term.
What is being taught about the CCP and Xi to children all over the world is very relevant to the CCP.

See their push into universities.
Is it unusual to seemingly recover from a disease, and then relapse into more severe symptoms? I've seen that happen hundreds of times with less serious illnesses (colds, etc). Especially if the sick person stops taking it seriously and starts doing things like drinking alcohol, etc.

Stands to reason that it would apply to COVID-19 too.
They can’t actually stop you from covering it (at least in the US for non-dramatic music)

https://en.m.wikipedia.org/wiki/Compulsory_license

Of course you have to pay royalties.
Mind-bending functional programming with TypeScript – part 1
It's flu season, it's quite possible they have had both flu and Coronavirus. My wife had the flu in Feb & early March and the symptoms are identical to the Coronavirus.

They're working in a hospital so they'll catch everything.
> how he starts the cut.

He packs a whole lot into this vid; longest example of starting I found is a few seconds at 11:15.
10 Points to Help You Choose the Right Test Automation Tool
In my opinion dataflow is the only true representation of computations. Unlike normal code, it represents dependencies and parallel computation perfectly. Because of this, it is also a great basis for a hardware implementation.
If it is only a few days later, it might be the normal covid19 pattern. I have been warned by a doctor of this two steps pattern when I got it, which I understand corresponds to infection by the virus first, then bacterial infection as a result of the damage caused by the virus.

Not a doctor, but just my understanding from [1] though I start seeing people challenge that pattern [2].

[1] https://www.youtube.com/watch?v=BtN-goy9VOY

[2] see responses to: https://news.ycombinator.com/item?id=22786656
People forget a flu (especially in the past) could take weeks to recover from. Easily 2-3 weeks.
Whether the tests are flaky or not, we shouldn't really discard the fact that virologists don't generally say that infected people do not get reinfected, but rather that infected people will have milder symptoms and therefore less lethal diseases. There was a really good episode on the immune system on TWIV recently.

https://www.microbe.tv/twiv/twiv-597/
What companies would allow weChat apps on company machines or machines where company data is handled?

That is insane!
Yes. RSUs for publicly traded companies are for functionally equivalent to a cash for tax purposes. Not selling them immediately is the same as if your employer had given you a cash bonus and you bought shares of the company with the whole thing.
Can anyone explain why they do 12 deploys a day? Are engineers pushing to production as a way of iteratively testing a feature?
How often is C++ adding features of that size though?
I've posted this in an earlier thread but I don't think that low estimates make sense. The virus killed 0.44% of total population of Bergamo

4500/1112187

https://translate.google.com/translate?hl=en&sl=it&u=https:/....

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

EDIT: and there are harder hit communities: 400/40000
https://www.ecodibergamo.it/stories/valle-brembana/il-grido-...
I don't think so.

Blazor is the new Silverlight.

I might be very critical of how WebAssembly gets sold, but one thing is certain, unless browser vendors decide to rip it off, with WebGL/WebGPU + WebAssembly, a few of us will be getting our beloved Flash, Silverlight, Java back, even if in different kind of clothing.
Sonification of DDoS Attacks: Netflow Melodies and a Tomato Panic Button
Instead of silently breaking they could have a popup like "Do you allow the preinstall script to write into /this/folder?" on a write operation outside of the sandbox.
It's good for captures, but awful for annotations. Try the following:

- Draw a straight line on an image (you have to pick the ruler, then draw along the ruler)

- Drawn an arrow on an image (not freehand)

- surround something with a box

- Add some text

It just falls too short
Will COVID-19 become another cold? Were the 4 other coronaviruses that cause colds just as deadly when they first appeared? Interesting to ponder.
Well, as far as I know, the antibodies do disappear at some point, but now your immune system knows the virus and can quickly produce new antibodies again, if it finds the virus again. But I think over time the immune system also forgets.

But to the patients that got sick again. "Bad test" would be the best outcome yes, but I know, that with herpes virus for example, you can never really get rid of them. Your immune system defeats them, but some virus cells remain in stasis somewhere sleeping - and resurface, if your stress level is high enough. So it would not surprise me, if this coronavirus might have similar traits.

https://en.wikipedia.org/wiki/Herpes_simplex
*took me a while.
https://archive.is/THGGg
Looks similar to https://pipedream.com/, which is a pretty neat tool.
Backend in JavaScript... What has the world come to
AVL tree implementation for Rust learning
Right ! Everything was do-able... nothing was easy...
Offshoring increases the labor supply and lowers our wages. Companies who offshore disrespect their employees and their country.
Who would have thought that saving all your passwords in a Browser (Extension) is a bad idea...
> The CSP paradigm likely comes from Rob Pike's previous works

"The CSP paradigm" comes from CSP: https://en.wikipedia.org/wiki/Communicating_sequential_proce... which predates the vast majority of Rob Pike's work (eg: before he went to Bell Labs).
According to this link [0], yes. It even says that Tolkein had the '..."sack"/"bag" connection in mind...'.

[0] https://lotr.fandom.com/wiki/Sackville-Baggins
Well, 50% of people are dumber than average.
Do you still need to write makefiles manually?
Of all my friends from back in the early 2000's, we've all pretty much had the same life arc.
Some people got jobs as lawyers, some at banks, some were in a band, some were social workers, and then there was me - no fancy job, no money, and just a crappy car and a very friendly cat.

20 years later, we live all around the world but the circumstances are largely similar. A job which is ok, a house, kids - nothing much to complain about really.

One of the biggest learnings I've had is that people make decisions (some of which I wouldn't personally agree with), but we all end up in mostly the same place.

People who are going to struggle for the next year or two will be fine, but the future and the path they take might be a bit different to what they expected.
Stupid question does being infected with some virus helps if a second pathogen infects you ? As in 'immune system globally more active' or not at all ?
Every languages must have generics and overloading? Gosh that’s one crazy opinion.
Now imagine when it gets to the 40 years of C++ existence, or 25 from Java, 20 from .NET, then one learns to value why enterprises care about backwards compatibility.

More breaking changes are on the way, until error handling and async/await get properly integrated into std, instead of having a couple of incompatible crates each going its own way.
It's called ChatRoulette. Not sure I'd want to find productivity partners with it though
I Wonder if a virus could create waves inside one's body
Laid off two days ago from Affirma Consulting in Bellevue, WA out of the blue. Not sure why they chose me, I guess my skillset wasn't wide enough because it wasn't like my pay was huge compared to my coworkers who live in Washington. After my separation pay, I'm going to be clueless on what to do next since most likely no one is hiring at this time. Ugh.
I bailed from it when it was acquired by a PE
But still good to know it's insecure with proof!
Ban is not long term. You need a better solution. Not sure it is from google. But not from china or associated with china is important.
There already are “deniers”.
>The result of 500 hours of work in After Effects, Photoshop, Illustrator and Premiere goes by in 3 minutes, 44 seconds.

that's pretty damn impressive.
It could be cool to have an indicator that shows how many hours put into something.
Gives more context, and a deeper meaning
I'm a college senior who feels like the world has been pulled out from under me. Would love to talk to you about your life. Email is on my profile.
Not to be dismissal - but your experience is anecdotal and from the security industry and has no bearing on the reality of running a startup whose business is not security.

>I believe startups that are handling any amount of customer data should be looking at security very seriously.

What you believe has no bearing at all on the cost/benefits of running a business. In the current regulatory environment, leaking customer data in the US costs less money than losing one big customer for a b2b startup. Guess what that means when it’s time to decide to work on a feature for a specific customer or to do a full source code audit of all dependencies for vulnerabilities?
Why do you guys assume that this crisis will hit software development?

As far as I can see software development will be one of the fields least hit, possibly even benifiting, by the fallout of the Corona-virus.
The Introduction chapters, then chapters from the Design and Implementation parts (depending on what your current focus is, one section might be more relevant than the other).

Copy/paste from the preface: "We recommend you start with Chapters 1 and 2, and then read the chapters that most interest you. Most chapters begin with a boxed preface or executive summary that outlines the following:
• The problem statement
• When in the software development lifecycle you should apply these principles
and practices
• The intersections of and/or tradeoffs between reliability and security to consider
Within each chapter, topics are generally ordered from the most fundamental to the most sophisticated. We also call out deep dives and specialized subjects with an alligator icon."

(Book author here)
Pharmapod
Unless you want all I/O errors to be indistinguishable to your callers, you should use more specific variants than a single `Io(std::io::Error)`, like `ReadConfig(std::path::PathBuf, std::io::Error)` and `ConnectToServer(std::net::SocketAddr, std::io::Error)`. And if you do so, the `From` impl becomes untenable and you have to fall back to `.map_err(...)?`.

In general, I feel `?`'s automatic `From::from` conversion leads to bad errors, because the programmer is incentivized to have type-specific context via implementing `From<>` rather than operation-specific context, even though operation-specific context leads to better error messages. Consider the difference between:

failed to initialize library
caused by: an I/O error occurred
caused by: no such file or directory (2)

and

failed to initialize library
caused by: could not read config file at /path/to/config.toml
caused by: no such file or directory (2)

Edit: I should add that it is possible to use `From<>` when the type-specific contexts and operation-specific contexts form a bijection. In the above example, if there were dedicated `struct ReadConfigError(std::path::PathBuf, std::io::Error)` and `struct ConnectToServerError(std::net::SocketAddr, std::io::Error)` types, then having the higher-level `Error` impl `From<ReadConfigError>` and `From<ConnectToServerError>` would be perfectly fine. Of course, that would just shift the issue down to those types since they would not be able to impl `From<std::io::Error>`. Also, in my experience, libraries rarely bother having such individual operation-specific error types anyway.
Something I read recently is that the immune system is complex containing both an innate immune system an adaptive immune system. It's possible that in mild cases of Covid-19, it may be successfully handled by the innate immune system, which doesn't confer additional immunity. A mild case my occur if the initial infection is by a relatively small number of virus particles.
Why is the mouse cursor tilted and not straight (2014)
Because Mozilla is (self declared) not just any company, but one with a very idealistic active community, involved in the development process of open internet technology?

And in this area, I believe, a focus on technical expertise might be a better fit, than a focus on legal expertise.

You surely need legal expertise as well, but maybe not primarily. Primarily mozilla needs a superior browser, to combat bad market share.
And the engineers at firefox surely are doing a great job (mostly), but then I really do not understand the connection of laying of technical people, who build the actual product and using this money to compensate the CEO which does not have technical expertise, if the goal is, to get relevant again as a browser.
> Mozilla is quite transparent about what is being collected.

You're right. In fact, according to Mozilla themselves [0]:

> Finally, we need better insight into our opt-out rates for telemetry. We use telemetry to ensure new features improve your user experience and to guide Mozilla’s business decisions. However, an unknown portion of our users do not report telemetry for a variety of reasons.

> ...

> To address this, we will measure Telemetry Coverage, which is the percentage of all Firefox users who report telemetry.

Fortunately, this totally-not-telemetry telemetry can be disabled too [1]:

> ... this extension has a special boolean opt-out pref: "toolkit.telemetry.coverage.opt-out".

Just create that pref and set it to true.

---

[0]: https://blog.mozilla.org/data/2018/08/20/effectively-measuri...

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1487578#c1
We define systems in the Preface: "In this book we talk generally about systems, which is a conceptual way of thinking about the groups of components that cooperate to perform some function. In our context of systems engineering, these components typically include pieces of software running on the processors of various computers. They may also include the hardware itself, as well as the processes by which people design, implement, and maintain the systems. Reasoning about the behavior of systems can be difficult, since they’re prone
to complex emergent behaviors."

(Book author here)
> If there is a risk of a conflation problem here, I'd suggest it has more to do with people conflating "easy/accessible" and/or "populist" with weak or bad.

I never said that and never will because it would be quite naive. Let's not resort to strawman.

I don't mind languages being "easy/accessible" -- if I did I wouldn't make Elixir my main language. There are many, valid, well-documented, warts of JS, so much so that an actual book called "Javascript: The Good Parts" had to be written. (I find that quite amusing.)

> I think it is a good language under the hood, and it remains in browsers because it is popular.

You might be mistaking what you said with "we literally had no choice for 20 years except use JS on the browser" (VB, ActiveX, Java Applets et. al. had game-breaking problems, cross-OS compatibility included, so they fell to the sides). "Popular" is the consequence of having no choice for a long time, not a function of any perceived high quality of JS.

Google's efforts with Dart failed simply because Google has a short attention span and their numerous cancelled products can attest to that much better than any argument I could make.

There's absolutely nothing preventing any corporation adopting any language and slapping a small DOM access library on top of it. This is not being done for HR reasons: the companies want to choose from a singular pool of devs so its operations are easier and quicker. A valid business decision which has zero correlation to JS being good.

JS survived because it was "the least bad" at the time when everyone needed a browser language. Everyone is too busy making a living so we just rolled with whatever the browser vendors and corporations half-begrudgingly (and rather urgently) settled at. Assuming you hated JS, can you tell me with a straight face that you'll sacrifice all your free evenings and weekends to produce another browser language? For like 2 years?

> It has had its flaws, its evolutionary dead ends, its quirks, but show me any language without those (and I'll sell you a bridge).

It will have them for a looooong time still though. Even if many will stop supporting IE11 soon-ish, there's still a ton of baggage left that will never get fixed.

The much more likely scenario is people will just start compiling language X to WASM and will go with that when hiring frontenders. And we will see the return of the full-stack role when you actually can work on the entire stack only with Rust, D, Nim, C++, or your language of choice. It is very probable we'll again start seeing web shops proudly touting themselves as "we only do C++ (or PHP, or Pascal) here".
See other posts about all the software startups firing readers of this forum.

edit: latest related post on the front page is about OYO furloughing thousands https://techcrunch.com/2020/04/08/indias-oyo-furloughs-thous...
Hopefully someday, but nothing is free until someone comes up with a zero-cost abstraction, and in the meantime Haskell relies on a garbage collector.

Thank you for the link, I enjoyed it a great deal!
Ask HN: Real time examples of mission critical system in cloud native way
I was catching up reading material, this question peaked me.
It's important to note that Google Wave has failed as a PRODUCT, not as a CONCEPT. There are a number of incredibly successful post-wave platforms, like Bitrix24, which is way more popular than Slack/MSTeams in Eastern Europe or Vietnam or South Africa, for instance (make sure you try https://bitrix24.com if you've never heard about it).

Here's my analogy. Google Hangout has failed (as did G+), but Zoom is booming as are Facebook or VK. While I agree with much of the analysis, it's important to understand the difference between concepts and products. This is very helpful when trying to understand why Skype had been struggling.
Look snazzy, but macOS users are spoiled. Preview.app can do annotations like text, boxes, circles, and arrows of images. That's more than enough for most use cases.

Meanwhile, on Linux we are suffering! Firefox has a built-in screenshot tool now, but just try figuring out how the hell to draw an arrow or something on one using GIMP or Inkscape! The once-promising Shutter¹ now looks to be unmaintained (not even packaged in Arch Linux because it was essentially spit, chewing gum, and a bunch of Perl packages) and won't even work in Wayland.

¹ https://shutter-project.org/
Because in 2020, it's still a far simpler and better product than anything else at 1 thing - getting large video conferencing to be seamless.
Everyone loses in a recession.
Just a conjecture, but I think the main drawback of Prolog is its hard to see it having popular support. Recursion, logic programming, and constraint satisfaction are challenging paradigms which doesn't lend well to doing something useful quickly, as opposed to something like Rails.

Im just finishing a class using Prolog and CLP(FD) and I've really enjoyed using the language. And while lots of things in programming aren't easy at first, I'm just saying its hard to see wide adoption of prolog for that reason.
Show HN: Ldd as a Tree with an Option to Deploy
It's written by Google SRE's.
SourceNote – a stellar notes app for peace of mind while you work (macOS)