skysight-inc/HackerNews huggingface dataset:
We have such roads here in NY called parkways, cars only no busses or trucks. Absolute disasters. I frequently take the Belt parkway in NYC to long island via the southern state parkway. That thing looks like it was carpet bombed. They have been patching massive delaminations and joint failures on a weekly basis all winter and we have barely had any freezing weather or snow (it's been spring all winter.) One delam by an interchange was so deep that it took out a few car tires with low side walls.

I was annoyed at these failures and some light reading. You can make more robust roads by making them thicker with a sturdy foundation. Of course this comes at a much higher cost. For example, the autobahn pavement thickness is 27 inches. Whereas by me they mill a few inches off the top of whatever sad situation in below and top it with another 4 inches or so. This is because robust roads are costly and there are so many other things in a muni budget which need attention. So they compromise and lay down a cheap road.
https://archive.md/m1Pnl
Yes - I think this is only true following https://www.pdfa.org/recently-identified-pdf-digital-signatu...
That's simple-- I read the docs and peruse the implementation for the linear algebra library. If it fits the use case I use it. If not I roll my own.

Don't most people do this?
> "matchers" [...] let you test values in different ways

Example docs for Jest's matchers: https://jestjs.io/docs/en/using-matchers

Generally speaking, if you use a specific matcher, you get a better (more informative) error message when the test fails.
The top level site is pretty neat [1]! I've been trying to find a site like this to learn more about the applications of graph NN. I particularly like the one about combinatorial optimization/discrete optimization.

[1] https://graphdeeplearning.github.io/
Was really let down by the stupidity of it, I was under the impression these guys were professionals.
Not a useful statistic without knowing the hospitalization rates.
A non apocalyptic yet minimal Corona Virus (COVID19) impact tracking console
How I Start: Nix
I guess she finally made fetch happen
My old coworker bought a 2019 RAM pickup. I was floored by the inside. It was closer to a spaceship than a truck. Glad to see they are turning things around (at least when it comes to infotainment electronics) but I wish I could trust the engine.
That's a good one. I do the same in code documentation. One line to very briefly summarize what that function/module does, <enter><enter>, followed by a more detailed description.
I am not worried about the economy as in I need to get rich ( Im not close) but realistically if no one is making money the impact of folks being out of work and unable to buy food starts to weigh in.

The simple fact most countries are interdependent ( see : Toilet paper) is a real issue.
Interior volume of Camry is 115 cu ft (27lbs per interior cubic foot without gas, some marginal amount more with the same amount of gas as P90D's range, which only takes around 60-80lbs of gas or so).

Model S P90D is 120 cu ft (41lbs per interior cubic foot).
I liked "C Programming: A Modern Approach"[1]. It has been several years but as I recall it was well suited for self study and was pretty explicit in calling out places it was talking about C99 as opposed to C89.

[1]: https://www.amazon.com/C-Programming-Modern-Approach-2nd/dp/...
It's the exact opposite of "If it was hard to write, it should be hard to understand". This is "This was hard to debug, so let me make it easy to understand and give you (or future me) the hard-won information I just discovered so that you don't have to go through what I did".

If the information took you a great deal of effort to get, that suggests it may be valuable to share. That may not be the right time to attempt to cut out some of that information for brevity, especially if you don't know what the future reader of the message might need to know.
Mentioned on page 9 of the article.
The proper way to learn C is to get a good book, read it, and do exercises along the way.

Here’s an excellent book: C Programming: A Modern Approach, by King.

Avoid online tutorials, and know that there are many poor books on C, including the recommended here “Learn C the Hard Way”. It has factual problems; see under “Stuff that should be avoided” here: http://iso-9899.info/wiki/Main_Page

Note also, that unlike some other languages, C is not a language that you should learn by “trying things out”, due to the nature of “undefined behavior”.

Another recommendation would be to ask for CR on IRC.

Good luck!
Looks really interesting. Anyone able to get this to work on Catalina? I'm getting "bad CPU type in executable" for both the PPC and Intel versions.
Like Rails it can provide a lot of structure and packages for the routine requirements. It's ORM isn't much better or worse than others I've used.

The alternatives remain popular, if less so since Laravel's marketing has kicked in. To each their own.
Oh dear, not only is it uselessly vague, seeing the copyright notice owner at the bottom there makes me never want to touch the ESD with any length of bargepole.
No, but the Chief Technical Pilot who requested it has lawyered up with an independent lawyer from Boeing's general counsel.

Odds are his conscience is weighing heavily on him, and he doesn't trust that Boeing's council won't attempt to pin it on him acting alone. Corporate culture is rife with leaving subordinates to act on implied mandates in order to insulate executives from the potential for criminal liability. The idea is if the criminal thing works and no one finds out, the exec gets their bonus; if it blows up, the exec never told them to do it.
Note blog posts can't be Show HN. https://news.ycombinator.com/showhn.html
Oldie but goodie:

https://github.com/id-Software/DOOM
The string.h libc functions ("Subroutine library") and Object file converter also look interesting to me. Those are GPL.
How I survived being a $220k/year intern
Iconic SF hackerspace Noisebridge is saved by donation of $150K Bitcoin
I wish more protocols and algorithms were explained this way
C is great for learning about how computers work at a low level. In my college, we started by writing a simple compiler. This should force you to understand pointers and memory which, as others have mentioned, are fundamental. You'll have to both know how the assembly works and to write correct C code. So writing a simple compiler will force you to understand it two different ways at once. My opinion is you'll learn more by diving in and doing things, especially with your existing programming background.

But, for your own sanity and everyone else's, do not start new projects in C! (Aside from purely academic ones for you to learn.) The point of a programming language is to help humans write safe and correct code. In this sense, C has completely failed. The syntax itself is just begging you to make a subtle mistake. And due to lack of memory safety, even the most well tested and scrutinized projects in C/C++ (such as Chromium) suffer from buffer overflows or memory leaks, potential security vulnerabilities that are automatically prevented by design in other languages. If you need to do something low level with any sort of confidence, use a memory-safe language like Rust, which can even do interop with existing C libraries and code.

(Edit: typo)
I'd really appreciate a citation, if you have one, so I can share this.
Just to be clear, heap and stack are not part of C.
What information in the concise version I gave is missing, that causes you to go through additional effort?

I think you edited this in after my reply:

> If the information took you a great deal of effort to get, that suggests it may be valuable to share.

I think this is the core of where we disagree. I often spend insane amounts of time debugging something, only to find the solution was quite simple and unrelated to what I tried.

Often the amount of time you spent debugging is because the search space for your solution was unbounded, not because each step you took was particularly relevant to the actual solution.

To me a commit message should be able hopefully narrowing that search space, not documenting the original unbounded one.
https://news.ycombinator.com/item?id=22471355
False. We’re a bunch of mostly self centered individualist who don’t like being told what to do and don’t trust facts, ideas, opinions, or people that contradict our preconceived notions.
I always worry that if I do something like this it'll cause the malicious person to spend extra effort and attention on a real attack.

Because that's what I'd do if I hit a honeypot...
I get a thrill when I get to do a math-class math thing in programming. It’s rare. It’s happened with linear algebra once. That one time was about ten years ago, was very simple, and occupied perhaps an hour total of my time, at most. At this point I’d have to google to be 100% sure I even know what it means to invert a matrix.

... but I remember it being super simple and I’d probably be in the “just write it” camp.
American Hospital Association "Best Guess Epidemiology" for #codiv19 over next 2 months:

96,000,000 infections

4,800,000 hospitalizations

1,900,000 ICU admissions

480,000 deaths

vs flu in 2019:

35,500,000 infections

490,600 hospitalizations

49,000 ICU admissions

34,200 deaths
If if the curve flattens for the World early, then obviously the medical resources won't be exhausted.

I don't know how long the exponential growth might continue.
How the information system industry became enterprise software
> Go away and think. Then, when you can come back and tell me that you do see the use of it, I may allow you to destroy it.

This is the bit that applies.
Employee Stock Options: free money, kinda
Ask HN: Pitching a side gig solution to the day job?
I have a corporation for creating serverless cloud components. One of the plugins I've created is AV scanning. My day job is looking for a solution to do exactly what I have already created, but I'm hesitant to pitch my product despite being on good terms.

While I do believe my solution is best for them, due to how well it can fit into their cloud infrastructure, I don't know if it's worth the risks to me to pitch:

- I haven't "outed" myself with this corporation, not that there are any non-compete or other clauses in my contract, and I don't believe there is a conflict of interest that can't be managed

- I am concerned about the pressures that will come from supporting a separate project of mine that would now be integrated with the projects in my day job

- I am concerned about perceived conflicts of interest or future claims that I must have used company time and resources to create my corporate IP (which is unfounded, but can be difficult to disprove considering the crossover of cloud work)

Has anyone been in a similar situation, and found a way to make it work? Or conversely, was it a situation you came into and now regret?

Does anyone have some tips or how I could make it work, assuming it's not too risky?

I know that I'll want to ensure I have legal help for any contracts, and I'm thinking that I may have someone else who's working with me in my side-gig corporation as a vendor point of contact to add more separation between my day job and side work.

Thanks!
The bit about speed prior to lights was meant to be separate from the bit about # of lanes. To clarify - I mean, e.g. that when there's 5km of free-flowing traffic before the lights, and then 1km of congestion, it doesn't matter how fast you drive for those 5km as long as it doesn't delay your passage through the lights. I could halve my speed from the speed limit for those 5km and still arrive at the congestion at the lights before it's my turn to go through them.
In modern culture, they'd be touchscreen kiosk sanitizers.
Reddit is 50% American, and overwhelmingly skews young. It isn't surprising that it has a "predisposed bias" against Trump: The young aren't really a key Trump demographic (Trump has a >67% unfavorability rating among those under 40).

Indeed, Trump's statist media is Fox News that has an average viewer ago of 68 years old (who, ironically, will be the bulk of the victims of COVID-19).

Though anyone with even the slightest hint of morality or intellectual sincerity has a predisposed bias against Trump. He has pushed it way beyond politics, and now it's whether you're a very stupid, terrible person or not.
While I'm perfectly fine with this commit-essay, and would probably be with any other, in this particular case I would also be perfectly fine with a terse "ban strcpy" + actually a few more comments in the source code.

Commit messages are not going to serve as a knowledge base for state of the art and best practices, and strcpy is universally recognized as problematic. Plus, about the how, while it is fine to see the dev thought a lot about it, did some testing, etc., the way he did the ban is ultra classic in the end. Also, it might have been even better to put some short explanations in comments instead of in just the commit message, in particular the usefulness of the BANNED macro to preserve some line numbers with gcc. So in this particular case I'm not really convinced that the commit message serves any strong purpose.

But it does not hurt. And it participates to a culture where useful commit messages are important. So I still (weakly) prefer it to my hypothetical "ban strcpy".
> Has reading source code in a language that’s unfamiliar to you shown to be of any real benefit to learning?

Absolutely! You start finding idiomatic patterns and "oh, so that's how they do it" kind of things. Find library functions you never knew about but now you do. Find weird things, and look them up in a manual/reference/SO/chatroom. Things that you might find in a book, but a book that covers all the idioms and practice and weird things is gonna be as thick as the bible, and it'll get outdated (it doesn't help that most books are focused on teaching the basics rather than showing off how to architect your application well). Things that you can learn the hard way by why not look and see and learn?

> It seems you need at least a little bit of foundational experience with it before your brain can even parse what you’re seeing in a beneficial way.

Nah, you just need programming experience (in a similar paradigm) in general. A lot of what you learned from languages before will translate.

Also OP mentioned that "I can write C" and "I've started reading 'Modern C'", so it's not like they're looking for their first Hello World snippet.

OP said they've got 15+ years of programming experience. At that point, picking up a new language is all about learning the vocabulary and idioms, plus the few unique or tricky or quirky things that don't show up in other languages (or that aren't obvious from looking at code). The fastest way to get to that vocabulary is to look at real code.
You are right. This was his first respond to the weird Persona Non Grata idea, the actual attack came later, as I learned: (now deleted) http://lists.opensource.org/pipermail/license-discuss_lists....
I prefer the engineering details to be in the commit message and not an external issue tracking system. That system might not be accessible 3 or 5 or 10 years later.
"I didn't have time to write a short letter, so I wrote a long one instead."

I definitely agree with BoorishBears - too much unnecessary details in this commit message. Of course it is much more preferable than "Fix template", "Fix utf8" or "fix" which is all too common. But if someone spent 1 hour fixing a problem and then probably 5-10 minutes working on the message then adding 5 minutes to make the message concise should not be a big deal, right? (Who am I kidding ;-))

We use Gerrit at my company, so pushing the change is just a first step. I routinely read my commits after they are pushed for review and many times there are one or more additional changesets because I thought I found something worthy to add to the commit message.
This is my type of tech. Not glamorous but highly functional.
If you want truly secure format for these kinds of applications the best thing you can do is to sign the data externally (or wrap the whole file in some signed container, which seems to be the preferred solution for EU's EIdAS and related stuff).

On the other hand I have seen totally insecure, but effective hack for formats with embedded metadata: include some kind of value in there that is usually prominently displayed by OS and applications but store it in somewhat broken way such that applications trying to preserve the metadata will break it even more and it would become unreadable.
Source link?
I'm sure that's true, but are you saying it doesn't reduce wear?
Ask HN: Have you ever landed a competitive internship and how did you do it?
How does Google "select heavily for generalists" when the interview is almost entirely comp sci? Perhaps you mean "computer science generalist".

Afaik, the only way for me to get a software offer from Google is to spend dozens or hundreds of hours studying computer science, and nothing else.

If I interview for software at Google, they don't ask about my skills in product design, economics, or strategy. If I interview for a non-software role at Google, they don't ask about my experience writing software.

Show me a Google interview that's half software and half product. That's a role to which I'd like to apply :).

I think TFA argues that Google's org structure is not optimized to benefit from or hire cross-disciplinary generalists.
There are two extreme paths we can take. The first is that we do nothing, the other is that we completely lock down our society like China.

While the first option would be unwise, the second would also be unwise.

A complete shutdown for a disease as virulent as Covid-19 will just suppress the virus for the duration of the shutdown. Ignoring the extreme difficulty and impracticality of shutting society down for a moment, recognize that the moment the shutdown ends, the virus will probably reappear and continue to spread.

What then? Another complete shutdown? When does it end?

No, the right solution is a distributed solution in which affected companies and communities deal with the virus, imposing gradual restrictions on gatherings, work, schooling etc in an organic way. Which is exactly what is happening in the US right now.

The point of all this is, what more can the US government do than it is already doing? Send the military in to shut down the highways? Hold scientists at gunpoint until they produce a vaccine?

Many (Media, Democrats) are trying to leverage this to their political advantage, but aside from small changes in approach, what exactly do they want the government to do differently?
Strange, mine looks like the one on the right, except a shade darker and without the horrible aliasing. That one on the left looks like your display has the brightness maxed out. I agree people should be more conscious of typography legibility, but what you're seeing on the left looks like there is something wrong with your display. Viewing on my iPhone 11 Pro is crisp and dark as well.
Here's the archive since the server appears to be down

http://archive.is/xxCgi
It's quite fitting that we have Zaphod Beeblebrox clones in both Nr 10 and the White House.
Coronavirus Tech Handbook – Add your tools and data
Not even one year, if it is about niche knowledge that require accuracy.

Schools don't teach formulas. That's the misunderstanding of a student that only sees the next exam. Schools teach you where to look when you don't have the answer.
Red died the minute they announced they were going to launch their own crypto currency.
Non sequitur: can we chat about your consultancy? Looking to potentially do the same myself and would love to pick your brain for some dos and don'ts.

If you're willing, email me, username without the 2 at gmail, and no offense if you can't.
There's kind of a vicious cycle here. History is often garbage, because nobody looks at it, and nobody looks at it because it's garbage.

I find one thousand line commits with changes all over the place evil, but have a hard time convincing people that atomic commits are worth the effort. You know, it's not Real Work™.
>Has reading source code in a language that’s unfamiliar to you shown to be of any real benefit to learning?

Yes, I think so.
The parent has experience with other languages, like python, javascript and go. C has a very similar paradigm. If it were clojure it would be different.

I find exposition to new languages real usage the best way to learn them. I went to the UK to learn english, Germany to learn German, could be painful at first, but works, specially if you know a little about what is all about.

Your brain makes sense of everything by itself in a magical way. That is the way you learn your native language.
I should think it is much easier to fix the FAA than it is to start a new aircraft company.
It believe it had a restrictive license which was a showstopper for a programming language. The current version is Apache(?), but it might be too late.
Chesterton's fence is not about never changing things.

They followed Chesterton's fence to the letter. They saw something that didn't make sense, and then tracked down why it worked the way it did.

Once they understood the root cause, they examined the environment and discovered that the underlying issue had been fixed. That allowed them to confidently rework the inconvenient behavior into something better.
They certainly help your ability to make payroll every 30 days.

Some open source projects are sponsored or backed by foundations, and contributors do get paid.
I think that's mostly a marketing pitch and an outdated one at that. Safety tech has come a very long way.

It is true, but only marginally and mostly at very high speed, heavy impact collisions.
How do you think people get food, shelter, medicine, and other necessities?

The rich can wait out a downturn. It is the poor who will struggle.
PPC definitely won't work on Catalina. PPC support was dropped from macOS years ago.

The Intel binary is 32-bit only. Catalina will only run 64-bit binaries.

$ file rebol
rebol: Mach-O executable i386
This is nothing new and generally how SOA began in the 2000’s.

One of the critical improvements to SOA is DDD (domain-Driven Design) where context matters and boundaries should include the service and its data.

Data oriented architecture a bad idea. Period.
Psychotherapy is mostly about achieving an internal perspective change and being able to apply that continually mentally and through interactions in relationships with others.

Not that this is impossible to achieve with a therapist (especially if they are experienced), but when they never had ones own perspective, communicating, actually being and feeling understood and achieving that change can be difficult.

If only feeling understood mattered, one might as well talk to a a pet or an inanimate object, say your favorite plushy.

When one thinks of psychotherapy, typically an image of the "client" lying on a couch, talking to a psychologist, taking notes, comes to mind. Most of psychotherapy is language (conversation) oriented, but there are many other modes of sensation, being and action. So one shouldn't restrict oneself conceptually to considering only these two-person, fixed-place, conversational/analytical interactions as 'true' psychotherapy.
> 5 hours gives you plenty of time to plug your phone into your car and charge it.

As long as the scenario is "phone battery died within five hours of needing to drive car".
I’m talking more the $60 on sale tires at pep boys.
People use studded tires the US, too.
Why would you even try the PPC version on Catalina? Snow Leopard (from 2009) was the last mac os to support ppc.

The intel version is i386. 32bit, which is not supported on Catalina either/
I love these books, but why post a pece that is paywalled?
I cannot believe a studded shoe would have any impact whatsoever on a concrete pavement. Human weight is nothing compared to that of a car.
IRC – Why It Failed (2018) [pdf]