skysight-inc/HackerNews huggingface dataset:
That's pretty much where I was getting at. The stack he complains about is very barebone, and I doubt he'd have anything simpler with PHP or any other stack.

> rake

As you say it's a simple task runner like make. Maybe use a shell script instead, but appart from that, hard to be any simpler.

> rack

That's just an interface, the equivalent would be mod_php & co, not any simpler in my book.

> gem

Not sure what's there is to complain about here. It's a fairly straightforward package manager. Unless you stick to the stdlib, I doubt PHP packages are any easier.

> yaml

Many people hate it, but for simple configuration it's not any worse than JSON or XML. Matter of taste I guess.

I'd be happy to hear or more detailed complaint from antirez, but I don't think anything can be inferred from that single tweet. This reads like someone who hasn't worked with Ruby in a while, and is grumpy he has to figure a few things out again.
>Maybe our goal shouldn’t be to keep ecosystems static.

I'm not sure who's goal this is. Can you elaborate on this? Who says this?

AFAIK, the ecological preservation argument is against human changes, to allow the ecosystem to evolve on its own, not to keep it static.

"Leave No Trace" if you will.
Microsoft Teams Down – Enterprise Communications Down
Given the amount of functions in early PHP (we are talking PHP/FI 2 max here, even userlevel code hardly had functions back then) even not hashing them at all, but doing a linear search over the function table would have been acceptable. Hashing by length most likely lead to few buckets with more than 3 functions.
Show HN: SSMX – CLI tool for injecting secrets stored in AWS into your app
There are other options than suburban-style home ownership and exploitative landlords. Co-housing, co-op housing, and nonprofit-run housing are all ways people are tackling this problem. I'd love to see more of that.

And personally, "getting to own" is not something that makes sense to me. For me it would be "having to own". I would never want to pay an absurd amount of money (including huge commissions and one-time costs) so that I was tied down in one spot. Let alone wanting to become an unpaid amateur maintenance guy (and unpaid amateur general contractor when it gets harder). It makes as much sense to me as owning a farm so I can get food. I'd rather pay for housing as a service and leave it to experts to manage.

Of course, that does leave me at a bit of a financial advantage, because in the US we subsidize home purchases (with a larger subsidy for more expensive homes!). But then I'm also not vulnerable to things like the surprise $40k cost for foundation repairs some nearby friends of mine got hit with, so I can live with it.
A PHP parse error (of your code) is a fatal error.

A xml parsing error in the SimpleXmlElement constructor is not a fatal error - it throws an exception.

An uncaught exception is a fatal error.
> Presumably it is on the Commission to decide that USB-C is to be the next standard, and only then will there be a proposal for a law.

No, it literally says they're calling on the industry to agree on a common standard.
This looks good. Bookmarked it. Will definitely use it before starting my next side project.
Sure, that was the mentality, if you get paid for not doing anything, basically slacking, and there is no apparent owner of things you steal, than this is the result. And if you belong to right party you also know that there will be no consequences. And promoting based on party position instead based on capabilities doesnt help eithdr. But the 5x limit wasnt the reason for it.
I was heavily into CS starting in 1999. The mad dash at the beginning was fun to some players but being forced to bunny hop to be competitive got old really fast.
I did this for a recent car purchase and the

>there are no negative consequences for you. did not prove true.

I have free service for the first year or so, not to mention all the warranty issues (none of those yet knock on wood) and guess which dealership is the only one close enough to my house to have free shuttle service?

That's right, the dealership that I absolutely destroyed in a game of hardball when buying the car.

Talk about a Pyrrhic victory.

Edit: maybe the service department of my dealer is just really bad. I was assuming the poor work they were doing on my car was related to my experience with the sales staff.
It depends on what a "mockup" is.
In sane web development, done by a web designer with HTML and CSS (not by a graphic designer with Photoshop), a mockup is a web page with mock content and incomplete stylesheets.
Damn do they reproduce fast! The last time I read about the hippos, those keeping count weren't exactly sure but the estimate was around 30 to 40... Now 80?
Django, Laravel
> I just know intrinsically that they're useless and it's a waste of time. I just know that 95% of my code works and I know what the 5% I'm unsure about is and what manual testing or browser testing I need to do to clarify it.

I think this is all based on experience. You know when the tests are going to give you value, because you know when you’ve been burned by a lack of tests in the past. You put tests where you’re worried about bugs appearing.

I write tests when 1) they help me bring up code (you’re gonna do some interactive test/debug cycles in the beginning, might as well do that with tests), or 2) I can’t sleep at night because the code is subtle or complex and I worry about its continued correctness, or 3) there’s a bug and it’s easy to write a regression test for it.

Sometimes writing code without tests is like putting sand into a pile: it works fine for a while, but as soon as you start overloading it, whole faces suddenly shear off. You can shore it up with your hands, but above a certain scale you’re battling to prevent collapse. Tests are like scaffolding you put in place to keep the sand from sliding away.
After using TypeScript for the past couple of years, I've come to see it as simply another "embrace and extend" maneuver by Microsoft carve off a chunk of JavaScript mindshare, preying upon the naïveté of less-experienced developers who've fallen for the "static typing is safer" myth. TypeScript's decision to disallow JSDoc within .ts files [1] for example doesn't contribute anything positive to my impression of this syntactic pocket-protector. While the type hinting it provides is useful, the tradeoffs of added complexity, tool dependencies, and cross-compiling phase have made it more trouble than its worth in my opinion, particularly since tooling to provide code introspection and type hinting has already existed for a long time [2]. For new projects, I've begun using straight JSDoc, which is working beautifully with minimal setup [3] and provides all of the benefits I ever found useful about TypeScript, while remaining completely unobtrusive otherwise[4].

1. https://github.com/microsoft/TypeScript/issues/20774

2. https://ternjs.net/

3. https://medium.com/@trukrs/type-safe-javascript-with-jsdoc-7...

4. https://fettblog.eu/typescript-jsdoc-superpowers/
until you have to work with a database created by an insane guy. Never needed it outside of that one project. (edit: small hint: composite primary key where parts can be null)
> This does not mean I don’t want to be around people, I very much do. I love collaboration, whiteboard sessions, small brainstorms, midday team coffees, and happy hour drinks. These things build community, make the work better, and are definitely needed.

So no meetings, but still yes to the constant small interruptions that you can't plan around? Uh, okay. I think I'd rather have the reverse, though. Something like: On Monday only talk to me if we have a meeting planned.
Addressable TV: the pros and cons of ads made just for you
Had I backed Phoenix Point based on what was shown in the Fig pitch, I wouldn't have been happy with the result either.
Most people I knew burned a copy of the cd, and proceeded to wear it out in their cd player. Back then they just coded half the cd as audio and the CD was basically the new NIN ep. Those were the magic and fusturating days of bonus content on CDs. I wonder how such content will be saved in the future? Playing "hidden track.mp3" really isnt the same as finding track 99 and hearing a song after the 10min of silence buffer to fool you.
The mistake in gp is that a car buyer and a tenant are not in a zero sum negotiation. If you look solely at the car purchase a buy and seller are. But there is more to that -- there is the time spent shopping and the advertising to acquire a customer. The clock is constantly running on both of those. So it is a positive (or elimination of a negative) to complete a deal.

This is why it is easiest to negotiate when you don't actually need to.
The FAA Doesn’t Care If You Feel Like a Sardine in That Plane
> "...anchor against another online service."

So this isn't really against the idea, only against using coffee in the analogy.

One of the underlying principles, "Present costs as small pieces, and rewards as a large sum" is important, but there are many other relevant approaches, e.g. free trial, money-back guarantee, etc., etc. Effective marketing usually combines approaches. Analogizing to other small costs can NOT be the whole pricing strategy.
I love annotations - but only at a language level. Annotations being hacked in through comments is a dirty and I do not like it.
Joining the CNCF Ambassadors (2019)
As a 2nd class stamp. Since there's two class of mail in the Royal Mail system, there's two class of stamps, more or less expensive.
There is a certain quality of the graphic design, colors, typography, and layout of the "vintage" planning & marketing materials shown here that I just can't put my finger on why I like it so much. Perhaps a certain richness from the inks that were available and the type of tools used to produce it.

Whatever it is, it feels authentic and hopeful. I love the sense of optimism that the graphics (and history shared in this article) invokes. Great stuff.
Harry's is the T-Mobile of razors and no doubt customers have benefited from a state-of-the-art razor at a fair price.

It's interesting so see the FTC wake up after so many years. It also vindicates the model of developing a new brand with direct-to-consumer before getting into retail markets. I am sure the retail is a much bigger channel, but it would be hard for a conventional consumer products company to make a really different brand promise.
Version 0.11 of MOSP – Monarc Objects Sharing Platform (For Security Objects)
Defender does the scanning on CloseHandle() calls in untrusted code which can block the thread for even up to ~10ms (including other NTFS filter drivers) which is significant if you do open() close() pairs a lot.

More info about the similar issue and solution is apparently to sign the application [1]

[1] https://github.com/rust-lang/rustup/issues/1540#issuecomment...
Agreed. "Inheritors of the Earth" by Chris Thomas is an entire book on this subject.
There was a recent Reply All episode about the feral hog problem in the US[0]. Something that stood out was that hunting in that case actually made things worse. Hunting feral hogs is really fun to a portion of the population, which creates an incentive to keep them around to continue hunting them. But they reproduce too quickly to do this responsibly.

https://gimletmedia.com/shows/reply-all/n8hw3d/149-3050-fera...
I was there for a week in November (from NE USA) and our group had respiratory issues with the air there. Shanghai later in the trip was much better. I know it used to be worse, but it still isn't what I'd call good.
Can you elaborate on what problem tailwind is solving? My first impression is that it looks like a set of custom built css classes.
Show HN: DrHTTP – Stop guessing the HTTP payloads that went through your APIs
DrHTTP (https://drhttp.com/) provides a simple web UI showing all http requests & responses (including full payloads) that flowed in your server.

Let's say you (backend developer) run a json over rest API in production. A client opens a ticket saying he received wrong data 3 days ago at 10:00 am.
You see no exception in your reporting tool (sentry, newrelic, etc.), you don't have business oriented logs for this situation, current data in your DB looks fine, I think you might get value from the http payload of the user. DrHTTP gives it to you.

I'm at a point where I have a working prototype and i'd like to validate the usefullness of it. I use it on the few projects i work on. Typically to detect if a wrong data issue comes from backend or frontend/mobile, share a payload snapshot with other devs. Friends/network showed me interest from day one but none of them is in position of using it in his company.
I'm aware of a few issues i might face once going in production : pricing, privacy, scaling, performance impact, etc.. I'd love to tackle them, i just want to validate the need first.

Your feedbacks are very welcome on how you would see benefit using it / you want to use it.

Thanks in advance to the community :)
18 years of Blender open source projects [video]
That seems like another topic / doesn't change the status of those hippos.
> Then why so small number of people get infected outside of China?

Because we won't no how many people are infected today for a couple of weeks, it has an up to 14 day incubation period (and appears to be contagious during the incubation period.)

Also the numbers are growing rapidly, especially in places with lots of contact with China.

> I can hardly believe no case of infection could get unnoticed and not isolated successfully so far.

A lot of negatives there but, yes, cases in the incubation period are likely to go unnoticed, since no symptoms exist.
At least for the PS1 pictures, it's the usual camera angle when playing the game, so that's not particularly egregious.
The script tag can't have an ending slash, so the browser turns it into a regular script tag. Since there's no closing one, the rest of the website becomes the content of that script element.
> I've been paying less and less attention lately because he explains the problems of virtually any language, then explains how his language solves it all perfectly.

I seriously doubt that he would say that his language "solves it all perfectly." He's still making changes to his language to fix things that don't work right or to change his language to implement features that either didn't exist before, or don't solve the problem as he now sees it (which is different than how he saw it when he initially implemented that feature).

> I am personally incapable of taking firesale arguments like that seriously.

I would challenge you to understand how Jonathan Blow talks. He says what he says, and nothing more. He does not give you things to read "between the lines" or anything like that. He says what he says, and if he did not say some thing, he did not mean that thing, barring mistaken speech, of course. He also continually learns and adapts what he says, which can appear as if he says one thing on one occasion and something different on another, which is of course what happens to anyone who talks about things as they are learning those things.

> Rust has a place alongside Jai, they don't have to compete.

This is, of course, correct. Jon mentions Rust as he does because it doesn't solve the problems that he (specifically) has. Rust is just not an option for him, so he's creating something that is an option for him, and for other people who value the things he values in a language. I don't think Jon will lose any sleep at all if you don't like his language once it is generally available.
The problem with internalizing garbage costs is that it incentivizes people to externalizing them back again but worse, by illegally dumping their waste wherever they can get away with, e.g. in a river.

If not for that problem, we could simply charge garbage collection by weight, including all costs of recycling and/or disposal, and let the market sort it out.
Indeed, a single postcode in the UK will contain (on average) about 20 addresses and (usually) only refer to a single street.
What in the world does "read the air" mean? Is it an uncommon way to say something like "read between the lines" or is it something else entirely?
Why is this companies' faults? What can they really do anwyays besides giving a small budget to situate oneself?

All homes - should - begin to have offices anyway as people realize that physically going in to work isn't necessary to be productive.
It's horrible when the employer don't lower their expectation.

We had some campaign on remote working, actively adjust the toolset/processes/expectations, and we don't usually measure by output so it's a rather interesting experience for now.
250M Microsoft customer service records exposed; how bad was it?
Also maybe worth noting: we've gained about half the Earth's population of humans in the past 40-50 years.

These two facts are almost certainly related.
> "Read the classics. So many “new” ideas in software development have actually been around for decades."

From the original post that inspired this post:
https://gist.github.com/stettix/5bb2d99e50fdbbd15dd9622837d1...

What would HN say are the "classics"?
I'm not sure Mars is the most effective way to make humanity better with your billions
The odd thing is that in school they teach us to dissect poems, going specifically through some authors.

Yet pretty much no poetry resonates with us as students.

It's true that we're young, and we don't have enough life experience to find meaning in those words... but shouldn't the reality be that we should see the world through others eyes? Aren't we empathetic enough at that age, or is that analytical approach that ends up being pointless?
Musk putting his fortune on the line and trying colonize Mars offers a win-win for everyone.

If people want to keep expanding as well as having more individual freedoms, we must get ourselves more room and resources.

If environmentalists want to keep planet Earth safe, having a place to send people and begin colonizing off-planet will in the long-term be best for Earth.

Lovelock is too close-minded in this case. Staying on Earth forever means the death of the human race and most likely the Earth's environment.
Hong Kong shuts most China crossings over virus as medics strike
I think his point is that if you just follow protests then you are always going to be onto the next thing. Protests are largely fads. He says they should just get their heads straight -- IOW, fight against climate change simply because it's the right thing to do, whether people are protesting about it this year or not.
Right, I am a fan of SQL NULl as well. It is nicely consistent - anything NULL in - you get NULL out. Clearly telling that you get undefined data. Silently converting to empty string, zero, or therelike would eventually return garbage for harder to debug reasons.

That Oracle behavior annoys me each time, though.
This mentioned Google hasn’t updated to this change, do we know when they will?
I have the original Mount and Blade, never got a chance to delve deeply. Does it handle well on Win10?
I agree with cjfd; it's a false dichotomy. "Either we put zero effort into making this code maintainable, or we won't move fast enough."

> I’d be much more inclined to agree with you if I had encountered a v1 product that wasn’t a total clusterfuck!

I'm personally working on a v1, and (you'll have to take my word for it) it is far from that.

We are making conscious decisions: "here's a guess about the future that we're confident about, so we're willing to add in more structure/abstraction here," or, "We're not sure about the future of this feature set; let's be clean but minimal about it."

Also, co-workers have raved about our work on this project, including speed. So that's further evidence that it's a false dichotomy.
Vertical Integration Is Eating the Datacenter, Part Two
Does anybody actually want to work though? Or simply to have the cash on hand to pay for things they actually want.

Serious question ^^

I personally find it rewarding to finish tasks & make things... being employed to do so is a luxury, but i still don't want to have a job.
I guess climate scientists don't use version control?
> Now those are just backwards.

Of course, it is a rhetorical device.
If you read the rest of the linked article you'll see that the author has quite a sense of humor. The content is rather serious though (about unexpected links between seemingly unrelated parts of math).
About map/area: Some websites still use them, and really well too. The Team Fortress 2 website[0] uses them with the images at the top of the page to link each of the characters' description pages.

[0]: https://teamfortress.com/
I like nulls too and think they make perfect sense, especially with numeric fields.

Suppose we have an "age" field, but don't actually know the age of the person, null makes perfect sense.

Otherwise we'd have do do something like using a "magic number" like 0, -1, or a separate field altogether to indicate an unknown value.

Granted, they do need some handling in queries.
Asking someone else to take a risk is a very good insight.
He can call anyone he wants crazy, talk is cheap. Doing things is not.
The tools you'd need on Mars are: Electric mobility and energy storage, launch vehicles to cheaply lift satellite constellations to Earth orbit (which just so happen to heavy lift what you need for a Mars transit), cheap tunnel boring to reduce transportation congestion on Earth, but also to build underground (radiation protected) habitats on Mars.

If you have a hobby you love (go to Mars, die on Mars), it doesn't hurt to get rich building the infra your hobby needs. You will need those funds to buy services from your companies for your hobby.
Not for the local ecosystem.
2012. I did agree with it wholeheartedly, when it came out and PHP 5.3 was brand new. It is now 8 years and several major versions later, most of the critique is obsolete and the rest is just "let me try to write horrible code; see, PHP is horrible because it's written in PHP!"
Which is why you'd want to contractualize agreements. Sounds like you're, naturally, wary of entering into a gentleman's agreement with someone you don't feel is a gentleman.
AMD's Zen 2 Scheduler Model Gets Partially Fixed Up in LLVM
Paste this on the browser console:

document.body.onselectstart = function() {return true;};
""old word""
Ask HN: How do you feel about Elon's “super fun AI party/hackathon”?
How McKinsey Destroyed the Middle Class
The US federal government owns roughly a quarter of the US territory and most of it can't really be utilized for something. Technology to terraform it into arable land would unlock tremendous value.
Well, politicians aren't doing anything anyway, whether the models predict catastrophe or CATASTROPHE. Already according to the 3° sensitivity predictions we would need an effort that rivals WW2 to stay below 1.5°. Yet major countries are led by climate denialists.
Scientists making the models prly thought the politicans needed a helping hand.
There could be strategic military advantages to having people on Mars.

Nuclear mutual assured destruction doesn't work if one side has a base on mars, where it would take 6+ months for any fired nuke to arrive.

Having people in spacecraft could be a good place for high-importance leaders - nearly no bunker is nuke-proof, but a spacecraft far away is far harder to hit.
It's difficult to say whether attempts at containment are failing.

For example, Wuhan has a population of 11 million. This leaves a lot of scope for the number of new cases to grow while still being contained geographically.

Considering the incubation period, we need to wait until the end of the week or next week to see how things go. With the stringent measures they have taken there should be an inflection sooner or later.
100% Test Coverage Is a Lie