skysight-inc/HackerNews huggingface dataset:
Hey, now. I built a PHP CMS for my friend's university club website 12 years ago in a weekend. It had user accounts, profiles, user posts. That's pretty much proto-Facebook, right? I could just scale that up to a billion users, right? /s
Vlang: Simple, fast, safe, compiled language for creating maintainable software
You can put some simple CSS and still leave the simple HTML available to be styled by the browser's reader mode.
No, look at the prices and requirements for a hydrogen storage tank, you either need a high pressure tank or one that can handle very low temperatures. Neither is cheap or simple.
iOS beta makes it easier to unlock an iPhone while wearing a face mask
When people die, they're dead. When businesses die, their assets are sold to better businesses and their former employees are hired by better businesses.

I swear I have yet to meet a capitalist who actually believes in "capitalism"...
People are preferring stocks over dollars because rising federal debt portends rising inflation.
Are you aware how many engineers have been affected by the layoffs?
There exists a horrible misunderstanding on the efficient market hypothesis. Markets are difficult to beat not because they reflect all available information, but because they do not, and nobody knows by how much they misreflect the information tomorrow. (This is my personal pet theory)
> The judge gets to decide which debts are paid, meaning that pensions are very likely going to be chopped, hurting union members.

I don't understand this. What is the connection between pensions and union members?
Let it go into bankruptcy.

Investors will feel the pain and demand a change of leadership (very badly needed after the 737 MAX debacle).

A bankruptcy that large will be shepherded by the government to prevent too many long-term job losses and to prevent the defense-sensitive projects/info from being owned by foreign companies.
> lostapathy: If said "down economy" led to a long-term depression or a year or two of lost crops due to any number of possible disruptions, we could easily see more death (both directly and due to social unrest, suicide, etc).

History doesn't bear this out. The Great Depression resulted in an uptick in suicide, yes, but a decline in practically every other cause of mortality.

https://www.pnas.org/content/106/41/17290.full

> yters: Yes, I do think we could have a more reasonable approach that will result in less aggregate deaths than our current approach.

You could look at any societal attempt to deal with a large scale threat and say "well that could've been done better", but as I said in my other comment, perfection takes time, and, with time of the essence, I think we were smart to move forward with an imperfect but obviously impactful solution rather than burn time and lives trying to find some mythical perfect balance.
Here in Baltimore many public schools don't have A/C. (Heck, many don't even have reliable heat, but that wouldn't bother a server as much). Hey, at least it (probably... dear lord I hope) forestalls that solution.
I am not sure what I did wrong, maybe if I had set some min/max height/width on soem elements it would have improved the performance, or maybe if i changed some flex-box property so regular layout or maybe if I changed some css rule on some parent somewhere it would have worked better.

I am sure I can make a list with just text and not css I can insert 1000 text nodes in it, the issue is if you have something mroe complex like a grid with thumbnails and titles, and a small description under, and some css effect for hover, and a few buttons when you hover over those items etc. In a sane GUI this 1000 widgets are not created at all, only the visible ones are created and when you scroll the data under the Widget is swapped, this is great because you don't have to focus on performance or use pagination and then pretend pagination is better UX.

Just to clarify I agree that there should not be many DOM nodes in a page, the browser or framework widget should be smart and transparently recycle the existing DOM elements, I imagine there would be some new List and Grid widgets that are more advanced but that could be used by everyone with his favorite framework.
As of now this is not actually open source - though that’s the default expectation of a repository being on GitHub. I don’t like the pattern of doing that because I feel GitHub will become a very slick SourceForge.

One more experience like this and I’ll uninstall the GitHub apps from my devices because I can’t trust them to not be warez themselves or some sort.
Who buys them, then? Obviously someone is buying them new.

Frankly, as an American, the UK's car market seems nuts to me. The kinds of cars that folks get as "company cars" is laughable.
Hacking Together an E-ink Dashboard
The state of California is actually in a pretty decent financial position. In fact, the blue states are net contributors to the federal budget while red states are net negative (they take more resources than they provide back in federal taxes)

If there weren’t any blue states around to sign the red state welfare checks, they’d be in a pretty poor position.
I'm building Jam (https://jam.link/) to tackle this problem. You can think of it as a consumer password manager built specifically for sharing.

It's fully frontend encrypted, so Jam doesn't know what logins you save and it can't read your secret credentials. The cryptography is based on 1Password's design (https://1password.com/files/1Password-White-Paper.pdf). I'd be happy to share details if people are curious.

Jam's focus on sharing comes through, right now, in the UI and default behavior. For example, when you save a new login, your friends in the system can proactively request access. To visually illustrate that: If I save a new login to Jam (like so https://i.imgur.com/syM2bep.png) then my friend gets a notification about that account, can see what it is (https://i.imgur.com/ZUKwfBB.png) and can request access (https://i.imgur.com/3SCcBm5.png).

It's in private beta right now, it's free to use, and I'm looking for as much feedback as possible. I'm happy to add people from HN right away, just email me at john at jam dot link
I think we're more likely to get working Lithium Sulphur batteries first, which would effectively relegate fuel cells to the garbage can.

Between the fuel and the cells, batteries are just so much easier to operate once they're out in the field, there's no comparison.
I was mentoring a friend who was learning frontend and he really just wasn't enjoying it the way I did when I went through that process. We started looking at the backend and it turned out his inclination was really more towards DevOps and that's what he got excited about. It's hard to learn something in your own time if you're not feeling excited or motivated about it.

For myself, I started with HTML and CSS, and had a lot of fun with that. Then when I decided it was time to learn JS, I hit a brick wall. I almost quit then and there thinking programming was not for me. But I was also determined to do something different with my life than I was currently doing. So I switched gears and jumped into Ruby on Rails. Ruby really clicked with me in a way that JS did not, perhaps because it was somewhat more readable and less syntax getting in my way. I got into it enough that I signed up for an online bootcamp. That's a whole different story but the short of it is I learned Ruby on Rails and that enabled me to get a job at some point soonish thereafter.

And you know what? In the end I came back to Javascript and I actually enjoy working in the frontend (with typescript mostly now) more than the backend side of things. I think maybe Ruby taught me how to rewire my brain for programming and then Javascript felt a lot more friendlier than it had previously. It's a lot of the same paradigms, just re-wrapped in different syntax.

I guess, my point is, try to start somewhere, but don't be afraid of exploring. There's no right answer for all of us.

Html/CSS/JS is a good starting point. Firebase or AWS Amplify is a good augment to that although I'd try just purely static sites with maybe some serverless functions sprinkled in if needed. Netlify Functions are an easier entrypoint into that, and I believe they are just AWS Lambda's underneath: https://www.netlify.com/products/functions/

Try to find your niche and focus down on what gets you excited. I dove into some obscure frameworks and languages at times that might have seemed ill-advised to focus on during that stage in my career. Some of these paid off by becoming popular but even when they didn't, I learned a ton.
You know that California bails out the majority of the rust belt indirectly via State taxes, right? Curious how you consider that in the equation.
I've ran it on Linux few years ago. It's a .NET app and it wasn't too hard to make it run with Mono.
If I’m sending credentials to one person, I’ll send the username via one method (text) and the password via another (email). No context for either message (i.e. NOT saying “this is for the Yahoo account) - that is sent and explained in a phone call.
I love these toughies, especially the full ssh one! A true debugging wizard.

“Dumb” problems can happen to anyone too. I once walked by the desk of$well_known_open_source_developer who was struggling with a mysterious bug. He’d narrowed it down to the specific function and was groveling in the function setup code (what the compiler generates before your code is called) He asked me to take a look and within seconds I saw an uninitialized variable being read.

This is not because he was a bozo! He had decades of experience. It’s simply that sometimes we get slightly wedged and can’t see the thing that is “staring us in the face”. He was embarrassed (so not mentioning his name) but he should not have been. If anything it simply proves that it can happen to anyone.

Related to this: at one organization my debugging skills were (spoiler: undeservedly) legendary...literally word got around until some new hire asked me about it months later.

Why? I came in one morning to find some folks trying to get some new model of terminals to work with the mainframe. Back then you needed the right combo of byte length, stop bits etc. they asked me if I could fix it and I said sure. As one does I poked at the setting switches and walked off to get my coffee So I could come back and think clearly. By the time I came back all the terminals were in use so I just went on with my day.

Apparently I had randomly toggled the necessary bit. But the way the story was told: I had walked in, agreed to help, rubbed my chin then simply pushed the right button and walked off without another word. Which in some sense is true, But gave me completely undeserved credit.
I have similar, extreme anger issues due to how I was mistreated in my childhood (both physical and mental abuse + abandonment). I get better, from time to time, and then I get worse, like a yoyo for half a century. I have made my peace with the thought that I'll never get out of it, because when my anger boils up it instantly burns every fibre of my mind and body. I worry that my children are unwittingly absorbing my anger. Thank you for writing this, and sharing with us.
Ask HN: Why is the top node of a tree structure called root node instead of tip?
After buying, they'd just have ownership but would still have to pump in just as much additional money. (Also you can't generally succeed in buying a company at its market cap value off the stock market becausenthe stock price goes up witj the demand)
Fantastic resource!
> this means you're effectively building a monolith with a microservice architecture. Is that really what you want?

I actually kinda do want that, although maybe it's a niche thing.

It would be nice to be able to deploy a monolith that's already cut at seams where there's an obvious API boundary. At one extreme, you could imagine a single binary where processes communicate via RPC.

What that would give you is an easy way to split off microservices as they're needed.

I'm sure somebody has done work along these lines.
If it's working well why change it?

If your co-workers argument is just "microservices bad" then obviously they are making a mistake. But in the general I've seen far more frequent inappropriate splitting of monoliths than inappropriate combining of microservices. (this is honestly the first time I've heard of it.)
So yes. I'm a big fan of avoiding the hand waving and garbage like that when describing/specing a product's behavior. Features are always more complicated than the elevator pitch, there are edge cases, points of integration with the rest of the system, etc. So yes, things are almost always more complex than they appear.

But also, no, I've definitely seen a lot of companies with an insane headcount simply to "do more in parallel" or "deal with the complexity of the system". Sometimes, having too many people to keep busy is really bad.
Lots of current evidence supports the claim. COVID is clearly more contagious than the flu, and herd immunity (without a vaccine) will require between 60-70% of the population to become infected. That's 229M people. COVID is also more fatal than the flu. Its IFR is roughly 1%. So 1% of 229M is 2.3M fatalities, and roughly 20M additional hospitalizations.

If you believe the IFR is lower, say .5% (still over 5x the flu), then you still have the same number of hospitalizations, but just 1.15M fatalities.

If you believe the IFR is the same as the flu (0.1%), then you'll still have 20M hospitalizations and 230K fatalities.

Say we're really lucky, and the IFR is the same as the flu, and we find a therapeutic drug to help treat it, dropping the IFR to half of the flu (0.05%), you have 114800 fatalities, but still the 20M hospitalizations.

The math is just brutal. What will the impact be of 20M hospitalizations, to say nothing of the deaths?
Yes, you're right. Sorry, I was reading your comment while waiting in line at the grocery store and I was not focused.

But that is one example. You said many large cities have been run exclusively by Democrats for decades and are notoriously corrupt. One is not many. AFAICT Chicago and Illinois are the exception rather than the rule among Democratically controlled cities and states.

Also, Democrats don't exhibit pride in their corruption the way Trump does. When Democratic corruption is exposed, Democrats seem to be, for the most part, ashamed of it. It's not just Trump's corruption that is problematic, it's the way he wears is proudly as if it were a badge of honor. When Rod Blagojevich tried to sell Obama's Senate seat, he was put in prison. And then he was pardoned by (of course) Donald Trump!

Also, your (one) example deals only with corruption. I cited two problems, the second being denial of facts. Do you dispute that?
This is a pretty grim path to follow. If States are to go bankrupt and subject to federal imposition of what debts must be paid, then it may push States to seek further sovereignity. An example being pressure to mint their currency. This is currently banned in the constitution, but if things get dire... they could simply ignore?
Should be marked "(2016)"
> Yes, the extra data being the length that is located in memory before the pointer.

> You’re at the wrong level of indirection; the header in in the memory before what the pointer points to, as in p - 1 rather &p - 1.

You are contradicting yourself. &p - 1 is before the pointer. p - 1 is before the pointee.

> I would prefer that this was not called a “fat pointer”, but the claim made above is that a pointer with any implicit data associated with it is “fat”.

> No data, but there is an implicit guarantee that it points to the data portion of a length-prepended array.

I think that's a borderline useless definition. In my C, there's an implicit guarantee that any pointer, in a context where it may be dereferenced, points to a valid object (as long as it's not NULL and there's no programming error causing it to point at nothing well defined). Usually it points at the start of a struct, sometimes it points at list node (or whatever) embedded in a struct and I might have to work my way back with offsetof. Either virtually all of my pointers are fat or none of them are. I go by that none of them are, because whatever data I have (implicit or explicit) is not a property of the pointers I use but of the data I point them to.
The second is actually why noone really knows if this will go through. EU law may prevent most kinds of subsidies for national carriers.
"There are new-ish methodologies, like functional programming, and protocol-oriented programming, that deprecate "classic" OOP. Some folks are using these as backing for declaring OOP "dead."

Those are anything but new-ish. In programming new often means that some old concept suddenly becomes fashionable. Myself I do not restrict to any single paradigm and use what I believe is the most suitable for current task.
If they are really letting go of their hard found engineering talent its a serious signal that they don't believe this to be a short term issue. Assuming the highly paid engineers around the bay took a good deal of effort, and significant cost to hire.
In other words, when you recover from covid-19, you are immune to it

How does this follow?
I didn’t particularly care for the way the author starts comparing this work to some kind of C Renaissance. I mean if you want to masturbate, please do it in private.
Yes, but by this time next year they might not only be buying a the same rate as previously, but they might also even be buying a little more than usual.

Point being, the markets are seing corona as a 'flash crash' that will take some time, maybe 18 months to re-adjust, but it won't really hold things back long run.

If someone hits a vaccine the markets will go on a tear.
Lufthansa is never close to cheap flights...
>Should the "working class" person in Alabama without any retirement prospects be forced to bail out (via the Federal Gov't) the state of California's very generous pensions that were not fiscally sustainable in the first place?

Multiple citations needed. Alabama takes back a lot more than they pay into the federal government (CA not so much). It's easy to appeal to the "working class" people, but those people have been getting much more federal support relative to what they pay in, while states like NY pay in substantially more than they get back.
Partial Index in Postgres
Exposure Notification – Android API Documentation [pdf]
I love Insomnia! Also, thank you for making it available on Linux too <3
"Just make sure your child reads about topics they enjoy, and do activities they enjoy."

That's home schooling....pro style.
I didn't believe even Sanders would do that. That's why I supported Gabbard. She wasn't as strong on the economics, but I actually believed she would try to rein in the military-industrial complex, which is an indisputable blight upon humanity and which Sanders never discusses.
I quit a job in defense software in October, took a couple months off, and now this shit. Many companies took down their job boards entirely and some don't even render correctly with no items listed. Many in-progress interviews I had got put on hold, and now the job market is about to be flooded with out of work talent, raising competition and lowering the salary I'd probably get. Many places I've applied to have since announced massive layoffs (Toast, TripAdvisor, etc), some mere days after I've applied.

I'm fortunate to have a lot of liquid saved but I'm feeling for engineers with families and not as much saved.

Stay positive!
There was some news about metal sponges earlier that may be able to hold high volumes of H2 under low pressure.

https://www.bbc.com/news/science-environment-52328786
It's interesting, and somewhat reassuring that they mention people recovering from the hospital after two months, as I believe I've had coronavirus symptoms for about 6 weeks now without much change. My symptoms have never been quite as severe as the last time I got the flu, but they show little change over time. Lethargy, sore throat, pink eye, and mild fever are the primary symptoms for me. I'll feel 95% better, then go for a walk and relapse for another week and a half.
> One of the key takeaways was that spending a few days or weeks to do more analysis could avoid a situation that takes years to correct.

Exactly my point when I was working on a new project architecture and we had to choose between two authentication methods. Because once all your applications rely on an authentication system you can't just switch to the other one like that...
Sadly we did not take the time six month ago and today we are working on a migration which could have been avoided.
Trump was especially irresponsible in touting hydroxychloroquine because he said it had very promising results, people have access to it now, there are no adverse effects, and he was going to let everyone get a prescription for it.

You're also incorrect, remdesivir had already started clinical trials in early March and patients were being enrolled. Trump made his comments ~2 weeks after they had begun.
I completely agree that writing skills are paramount to grow as a developer and beyond. While I agree there is no reason to wax poetic in an email, I find that normal professional pleasantries help the communication process.
totally possible to learn a lot of economics and statistics and never have formal coursework in numerical methods for optimization.
There is a lazy argument that ignores the difficulty and hard work of putting out not only a working but a good application out, but the other end of that is using Dan's argument (which is valid), to dismiss criticism.

To wit, Google has 80k employees now, in 2010 it was at 10k and the number only drops as you go further back. I think it's pretty easy to say that Google was doing more impressive things at the beginning of the century, and certainly the climb was greater. Within the last five years, there was a moment when Google had 4 competing chat apps. This is pretty rank inefficiency. If you were to take 80k people (not all are engineers, obviously) and sit them down and ask them to use their talents to build separately, you'd end up with a lot more innovation and productivity, I'm pretty certain of that.

The entire point of a minimum viable product is not that you have a complete, flawless app, but rather that you get something up you can iterate on quickly. That can be built in a weekend (I'm a slow worker, but I know people that can do crazy stuff in a night and interest). My personal criticism (and something I'm testing), is that our current processes are not harnessing all the gains in productivity we've seen over the decades, nor the ability to do that because it is very cheap to do so is not happening on a large scale. It's not totally apparent why it is happening, but it isn't.

I realized late that people take this criticism personally and feel like you're saying they are stupid or don't work hard or it is all so easy, but I ask you to consider the nature of our industry and how easy things are to build and then ask you why we don't see real competition across so many products.

The moats of many companies are perceived. The goal isn't to build Google in a weekend, it's to take the first step and give yourself an opportunity.

edit: my numbers are off, it's 25k to 100k
macOS for ease of use and Homebrew makes it even more usable!
I sold $100K worth of [technical] videos and PDFs in 4 months
> It's easy to look down on people lower on the socioeconomic ladder. They're still human beings. They've been given this raw deal: For the greater good, you will now give up your job for an indefinite period of time, with no prospect of finding like employment elsewhere. You have no choice, and if you refuse, you are a horrible person and in some cases you may face civil and criminal consequences.

Lots of these people (and a lot of the trumpy, NRA class at large) are bourgeoise, fwiw