skysight-inc/HackerNews huggingface dataset:
Also whats best for me is rarely ever universal. People really love to jump on the wagon for things like universal Healthcare in the states. You don't need Healthcare in your 20s. Most people don't, they need something like a disaster insurance with high deductables so that if it turns out they are in the statistical minority and get cancer in their 20s they do t get fucked. They don't need regular subsidized hospital visits they pay thousands of dollars I insurance premiums for so they can have a 20$ year checkup... It's

The idea here is that "of we regulate it people will have access to safer livelihoods" the reality is that you are raising the barrier to entry for that particular lifestyle and in effect reducing lower class socio economic accessibility. Just because the feds mandate all new cars have backup cams doesn't mean people can afford the costs associated with it. People should have the ability to leverage risk to better their financial well being. Anything else and you have no class mobility and no autonomy.
Initially the patient appeared to have a light case but then took quite a bad turn.
My Public Coronavirus News Tracker
An Opinionated Guide to Python Tooling with Pyenv, Poetry, Black, and More
If you can pass a Cat to a Dog function, where is the better checking?

That would be one of the hello-world test cases for a type checker bolted on to a dynamic language.

That type checker itself has introduced the syntax for declaring Cat and Dog classes; yet is neglecting to do the obvious with it.
Bribery: Mr. Minister, buy from us 42 airplanes for $4.8 Billion and 800 Million will be deposited in off shore accounts of your choosing.

Lobbying: Senator, my clients would like that the recent changes in the tax code stay as they are but the deduction on ....is increased. (maybe a dinner or a small campaign contribution, as other lobbyists will oppose this one)

Very, very different.
"MIDI" on your Desk may well be done over USB but MIDI as a hardware protocol is absolutely rock solid and is the only choice for live music. Speaking as an occasional backstage gremlin, I minimise the USB proportion of the signal path because reduces the amount of testing required (MIDI is generally well implemented on the hardware side, but not all USB midi interfaces are made equal).

That and a lot of MIDI is instrument-to-instrument rather than to a PC (Or more realistically a Mac, because you have to have a Mac to be a creative, right...)
Ahh yes an expensive legislative bill is how we solve that problem, instead of a 5$, breakout cable from Amazon or most corner convince stores.
Nim has an advantage in being so mature. Unfortunately with it maturing, my feeling of it sharing Python’s simplicity slowly faded away.
Modern command-line framework on Node.js
If you can play the piano, some of the six little pieces op 19 are quite easy.
XMPP problem is that in classical way a client needs to resume a stream. But to work well on iOS, an app must synchronize a state.

WhatsApp is a heavily modified xmpp, and does just that. That's what it works so well. Such approach is way easier in a federated environment.
Mistakes people living with chronic pain make
:) Had not spotted the humour section on gnu.org before.

From the same site, the source code of ed:

while :;do read x;echo \?;done

-- https://www.gnu.org/fun/jokes/ed.html
Adam Neely, musician and living Jazz meme.
Reference? A lot of the after-effects of severe stroke are not unlike those induced by psychedelics (from personal experience of the latter days of my grandfather).
It doesn't add enough value to offset the cost of ink it was written in.
The alternative is much worse which every company tracking you with your consent. It was scary to see what data Facebook collects on you if you are logged out.

I suspect the EU will introduce new legislation in due course, but of course, they are heavily lobbied too by the tech industry, so it may take some time.,
I definitely recommend trying them, as it will be a great learning experience. It will probably even make your TS better.

What you won't be able to do is to actually ship a product easily, as the ecosystem is virtually non-existent. Documentation - virtually non-existent especially for actually creating working products.

Of course, there are exceptions to this (like the Facebook Messenger being written in ReasonML), but people tend to underestimate what kind of engineering effort went into that. If you actually want to do stuff by yourself, use TS.
It has just landed in one distro. If there isn't yet, there certainly will be.
https://www.nejm.org/na101/home/literatum/publisher/mms/jour...

"Figure 2. Symptoms and Maximum Body Temperatures According to Day of Illness and Day of Hospitalization, January 16 to January 30, 2020."

This is a great way of visualizing the symptoms over time.
Only with the deep pockets of FAANG like companies.

Android or ChromeOS would never have taken off the ground without Google's keeping pushing them forward no matter what. In both OSes the kernel is hardly exposed to userspace, Google could move to something else and it would be hardly noticeable to app developers (OEMs and rooted phones is another matter).

And then there is Fuschia.

Outside general-purpose domain, the IoT world is getting full of BSD licensed OSes, RTOS, Zephyr, NuttX, Tizen RT.

Ironically Zephyr is managed by Linux Foundation, although it doesn't have anything to do with Linux code.
You can easily run a proxy from AWS (or whoever) to wherever, and get don't stand out, without giving the keys to your proxy host. If you cycle those often enough, you'll have some degree of don't stand out. Of course, if you use eSNI, or SNI, you'll still stand out
I agree. The more code looks like C or early '90s C++ (not to say Java), the worse it is. The newest language features exist because the language is better with them, and code is better when it used them.

That is not to say that every function, or every program, has to use every obscure feature. Many features are there only to support very specialized use cases (which absolutely exist, and are important!). But things like new-style loops, generic lambdas, structured bindings, and little helper templates make writing and reading code enormously more pleasant.
In most of the developing world/3rd world countries to get any contracts you need to bribe the politicians. So any western company that has got government contracts to build anything has given bribes then that black money (illegal money) is parked in real estate and banks of the developed countries. Then they provide loans through development banks like IMF etc to offset the trade imbalances that results because of the money going out of these poor countries. I personally feel one of the reasons western countries don't like China silk road initiative is that China used their own playbook and cut them out of this market of exploitation.
For the countries being exploited they exchanged 1 for the other but because of competition the politicians now get better deals make billions and once loose the power move to the west where their money was parked.
More worrying to me, the charging port on this iPhone is wearing out. Simply buying a new cable does nothing to fix that because the springs are in the phone.

Lightning is a crap proprietary design from my point of view. If it was USB-C I could just change the cable.
USB-C is a complete mess. The physical appearance of the connector is nice, but the design by committee that resulted in invisible but critical differences is horrible. You cannot tell by looking at a cable or devices you are trying to connect or charge of the cable will provide the needed bandwidth or voltage. Two cables might look identical but one won't work at all for what you need and you have no way to tell.
What about whataboutism? Seriously though just calling whataboutery is so boring, I found it interesting how often this happens with all defence contractors, as if there’s something deeply immoral at their core...
It’s also not SATA. Not that it matters.
VLC is a pretty good cross platform solution. You do have to load a soundfont, though.
I've multiple times heard mathematicians says Wikipedia math pages are bad, and even experts in an area can be confused by the pissing of other experts in that same area.
Caste system doesn't seem to be a reason. People here just want shortest way for something, not much ethical considerations or whatever.

People study CSE mostly because it pays well, despite having literally no interest in this.

People study 4 years sacrificing everything, in a rote learning way, to get into IITs.

People demand reservations for government jobs and education on whatever basis imaginable.

They just want some end at all means.

80% of Indian people are shit.. source: I am an Indian.
> Many people, including myself, developed long-term health problems. One person, as I mentioned, had a nervous breakdown, others just took forever to get any spark back in their careers. I would look these people in the eyes, and they had this look like someone close to them died.

The same thing happened to me last year, and basically this is the reason I have been shadow-banned from HN.
I stayed for 2.5 months only, but it was still too much, because I thought I got a decent salary. It cost me twice as much since then because I wasn't able to work since 4 months and I have no clear idea how I will crawl out this huge hole despite taking antidepressant, tranquillizer and going to psychotherapy every week.

DON'T PUT A PRICE TAG ON YOUR MENTAL HEALTH, and get out of a terrible job until it's too late! It's not worth it, believe me!
Ghorepani Poon Hill Trek 6 Days – Short Trek in the Annapurna Region
Yes, exactly. And while currently there are ways to maintain a connection to a server on Android, it is clear that the platform is going to restrict this capability even further. Even now, if you run a background process, and start doing some memory-intensive operation, like taking a picture, your app is unceremoniously offloaded from memory, making you unable to receive messages, until the service permits a restart.
Social media has more problems besides the need to “decentralize”

The biggest problem with social media is how it is ruining our mental health.

It’s sad that almost no one looking in to this.
Gemalto, PTC, Aicas, microEJ, Astrobe seem pretty fine selling Java and Oberon based tooling and runtimes for embedded devices deployments across industrial automation, robotics and military.

FSecure's foundry USB security key, runs bare metal Go, TamaGo.
The GC can also run incrementally to meet deadlines. It’s not like a Java GC. It has been used in microcontrollers. People should probably learn more about it before shooting it down based on the word GC.
Bay Area’s First Case of Coronavirus
Temporary Containers: Open tabs in automatically managed disposable containers
> Jail corporate profits for 6 months.

It seems like they did more than 6 months. Their profits for the first half of 2019 were €2.53B[1], the fines for this were €3.6B.

[1] https://www.businessinsider.com/airbus-more-than-doubles-hal...
> Indians do well in administration/management because it's the most aspirational job here.

If your definition of doing well is doing some droid - like managing of stuff, yes. Innovation? Not much..
Why don't all silicon chips have glitch and overvoltage detection?

It would seem very easy to put a pair of fets in such a way they detected sudden voltage changes (via their gate capacitance). That could then be used as an input to a circuit which ensured the chip is properly reset by asserting the reset line for at least 1 clock cycle.

This should probably be paired with brown-out detection, although that's power hungry, so I can see why people might not want it.

This wouldn't only have security benefits - lots of electronic designs might be accidentally glitching their microcontrollers due to poor design of other circuits, and having the chip reset in a predictable way is much better than undefined behaviour.
Show HN: FastComments
Oh, very surprising, this news comes at the exact right timing for Boeing during the 737 max debacle ;-)
How is this outside his area of expertise? He has a doctorate in epidemiology.

He graduated from The Johns Hopkins University with Honors in Public Health and Phi Beta Kappa. He then completed his dual doctorate in epidemiology and doctorate in nutrition, as the youngest graduate to complete his dual program at age 23 from Harvard SPH. Teaching at Harvard for over 15 years, he has advised and mentored 2 dozen students, and lectured in more than a dozen graduate and undergraduate courses, for which he received the Derek Bok Distinction in Teaching Award from Harvard College.
I am actually happy English is the language. India has several languages each with small population of speakers. Having access to education in English is big plus. If it was Hindi, all south and east Indians will be in serious disadvantage.
Careful, you might get censored.
Is there any reason why music production in the cloud isn't the standard yet?

High-quality VSTs requiree a lot of CPU power. Even my 16-inch MBP easily heats up once I add some more advanced VSTs.

I would rather pay X$ per month and have my music production work station in the cloud and interact with it from any old device with a fast internet connection.

Working with a buffer size of 512 samples, I currently have a latency of 11.6ms in Ableton. Adding another 10ms latency through the internet connection wouldn't be a drama for me.

Working in the cloud would allow me to easily upgrade or downgrade my system based on my needs, better collaboration with others, automatic backups, one-click access to new VSTs and samples, etc.

This set up would probably be less ideal for people who actually have to record a lot of 'real' instruments but a lot of music is only created in the box today with VSTs.

But I'm surely missing something here. Why hasn't this been a trend yet?
Ageism is the only real -ism in tech, and that has been true for decades. This is gleefully perpetuated by startup culture that tells 20-somethings they will be rich enough to retire in a few years (spoiler: 99.9% will not even if their startup is a success thanks to dilution). The time to act on ageism is before it impacts you too.
How to take an effective break (and be more productive)
Is it directly paying them? I thought it was making campaign contributions, and I don't think it can be tit for tat either.
In my area, almost everything has been chip for the last couple years, except gas stations. My local gas station just installed chip readers a few months ago.
Sounds like a business waiting to be born.
Running DynamoDb Locally Using Docker
There are problems in their approach:

In the first case the behavior is quirky because they are passing an untyped object into a function. If the object is typed the behavior is consistent.

The second example is about classes. Classes are created as easy extension objects via inheritance and poly-instantiation. Those ideas are friendly concepts for many developers but they increase complexity so I intentionally avoid classes and use a custom ESLint rule to enforce such.

In the third case they can solve for complexity with a simple refactor. The two interfaces are structurally identical so they should be a single interface with either a union on property values (static literals) or by defining a property again a union of other interfaces called by reference.
Audio over internet would be at least 300ms latency, not sure where you're getting "10ms". Anything over 10ms is annoying, and 50ms is nearly unplayable.
Yeah, yuck, this definitely could have been avoided if they did some proper lexing/parsing before dealing with the line, instead of manually separating things apart after matching on the beginning of the string...

That said, perhaps it's just too early in the morning but I don't think that commit introduced the error. The math/logic looks to be identical and I think the bug is `line + strlen("SHA256sum") + 1` which was already there before and doesn't increment past any spaces which might come after the (implied I guess?) colon. Though considering the colon isn't checked for in `SHA256sum`, you could put any character there and it'll work. Yay...
That doesn’t seem possible. I’m not aware of a single documented case of an actual LSD overdose (in the fatal sense)
Communism detected
I came to say exactly this. Come on, everybody knows that bribery is a usual part of international trade, as depressing as it is.
Religon against GC and cargo cult.

Several companies have been selling Java, Oberon and now Go runtimes targeted to bare metal deployment on embedded scenarios.

Some of them are more than 20 years old, so apparently they might have one or two customers keeping them alive.

The hate against GC feels like the hate against high level languages on 8 and 16 bit platforms back in the day, because anyone doing "serious" stuff naturally could only consider Assembly as a viable option.
Do data scientists spend 80% of their time cleaning data? Turns out, no?
Adding another 10mS of latency makes keyboards and sample pads unplayable for anyone who can actually play - especially if that latency is variable.
> I'll give an example - you have your PC with $DAW_OF_CHOICE running and plug in $MIDI_2_CONTROLLER to USB and enable a track and hit record, play your stuff, and stop. When you play it back, unless the cosmic forces are exceptionally on your side, it will not sound the same as when you played it. It's subtle and sometimes ignored or even desirable, but it's there.

I'm sorry, but...what?

I'm the rare non-professional-programmer on this site. I'm a professional composer -- I spend my days writing/producing/mixing music on a computer.

Can you go into more detail of what you're talking about here? Because, no offense, but if you were right, I think I would have noticed by now.
Shulgin did suffer a stroke and dementia in his old age. His wife, who probably did just as many (and many of the same) substances he did survived him and is doing fine.

Something else to consider is that Shulgin said he usually only ever did maybe two or three sessions with any given substance, and then moved on to another one. It could be that one or more of them was beneficial, but he might not have taken enough of those particular ones to help. In contrast, Stanislav Grof had over 100 LSD sessions.

I don't think enough is known about the relationship between psychedelics and neurodegenerative diseases to say how and which psychedelics affect them, but there are some interesting ongoing studies to see what effect microdosing LSD has on Alzheimer's disease, the Phase 1 trials of which have recently completed:

https://newatlas.com/science/microdosing-lsd-alzheimers-phas...
Look up how 5 eyes works.
If consumers would agree, people would stop buying Apple products because of this. Apple would be forced by the market to adopt the same connector. Clearly none of that is happening because nobody cares. If it's a big issue for someone they can just not buy an iPhone. That option already exists.
We use TSOA[1] for that, it can build OpenApi specification from your ts interface. So its could be used for documentation and tsoa can validate but other tools can validate too

[1] https://github.com/lukeautry/tsoa
Why would it be at least 300ms latency?
I believe there are problems, and a million thanks for maintaining clients.

Real question: for email, I use K9, which supports IMAP Push, which, as far as I know, needs a live connection as well. Do you know if they are struggling as well, or is the xmpp push and imap push significantly different in some way?
Woman who tricked best friend into quitting job is jailed
Unfortunately, I haven’t. The only ML family languages that I have significant experience with are SML and OCaml.
Throughout history there has always been a large majority class of people who were suppressed and controlled by the elites just like today. The difference is that today, the suppressed classes are comparatively highly educated and have access to limitless information.
Before, this knowledge was accessible mostly by the elites.

Today, the lower classes know what's going on politically and economically better than many of the elites. That's why distrust of institutions is at an all time high. That's why books which label the social order as a fiction like 'Sapiens: A Brief History of Humankind' are top sellers.
For the first time in history, the correlation between wealth and knowledge has disappeared and is even starting to reverse.

It's difficult for the elite to control a class which knows what's going on better than they do.
And BTW, fake news has a purpose. It's a political and economic weapon invented by the lower and middle classes to serve their needs.
TyspeScript is nothing more than just better type annotations for JavaScript
Those are all examples the market would solve really well. If some car manufacturer were to release a car that cannot be filled up at a regular petrol pump, nobody would buy the car. Those isn't happening with phones because clearly not enough people care.
Just like doing virtual calls or using OS memory allocator used to be shunned by early C++ adopters on the game industry.

I still remember when doing games in Basic/Pascal/C was considered to be like Unity nowadays, real games had to be written in Assembly.

As you say, every game and its requirements are different, and many 8/16 bit games were perfectly doable in C, Pascal, Basic and eventually the community moved along, just like it happened with C vs C++ a couple of years later.

I see the use of GC enabled languages the same way, and C# belongs to those languages that also offer other means of memory allocation, not everything needs to live on the GC heap.
Please don't be a jerk in comments here. It's against the spirit of the site (and also its rules).

https://news.ycombinator.com/newsguidelines.html
> Runbooks are more of an anti-pattern than anything.

No. They're essential to the sanity of the individual SRE oncall, and of the SRE team they are part of. It's also how institutional knowledge is preserved after successive rounds of oncall shifts.

If you think a playbook is bad, try being oncall for the first time for a massively (Google-scale) distributed system without a playbook.

> A list of commands you should run to accomplish X -> that's a script.

A list of possible root causes an SRE should consider, complex interactions with other systems that might be problematic, not overreacting to spurious alerts -> that's a playbook.
So far, efficiency is kinda low for use with portable battery packs.

You'd need to carry around a pack twice the size.
if they're getting a surplus of money, they should then lower their prices.
Using three models of Apples flagship over the past three years, I don’t think this is a case uniquely restricted to the authors machine. All Macs with thunderbolt 3 (the slimmed down form factor) seem to have processors that don’t like hot/humid climates a lot. When I’m home in the US, things are fine, but while traveling on work to places in Asia like Singapore I need to be in a room with air conditioning and good ventilation near the machine or the fans simply kick into high gear.

I made a conscious choice to avoid the top of the line i9 and chose the i7 instead for the last of the 15 inch Pros (mid 2019) looking at the thermal rating on Intels website (45w vs 60-something if I remember correctly)

The 16 inch ones are simply ridiculous with this. Even at home in the US, I have a desk fan pointing at the machine alone so it doesn’t heat up too bad.
Also discussed on HN: https://news.ycombinator.com/item?id=22204866