skysight-inc/HackerNews huggingface dataset:
BTW: I happened to re-watch that White Stripes video (for "Fell in Love with a Girl") and I misremembered it badly. Pretty much the whole thing is done in what looks like stop-motion animation with Lego blocks (but may actually be totally digital, I don't really know). I imagine that part was mostly done by hand.

There is a tiny part that's clearly a genuine video clip that has been manipulated (via filter or hand, maybe both) to create a kind of pixelated roughly lego-style effect. That's actually the part I was thinking of, but had forgotten that the rest of the video is basically stop-motion lego (-eseque) anyway. That's actually more aligned with what I was expecting here I think.
I mean, who uses mysql_real_escape_string when you have PDO and bindings ?

PHP isn’t perfect. As OP said, no language is, and any competent software engineer uses the parts of the language that work well for them, and just ignores the things that don’t work for them. I don’t believe for a second that the abuse the language has suffered over the years has anything to do with mysql_real_escape_string, it’s more to do with crappy code. You can write crappy code in any language, and it’s more a reflection of the programmer than the programming language IMHO.

Part of PHP’s problem is that it’s so easy to use. Any C programmer can pick up the basics pretty easily, hack together something that scratches an itch, and move on. Later someone will criticize the quick hack and say “you didn’t use mysql_real_escape_string so that code has a SQL vulnerability. Don’t use PHP”. In reality, there are mechanisms for preventing SQL injection and they just weren’t used. Is that a failing of the language ? Partly, perhaps, for providing the unsafe way of doing things, but a lot of blame also lies with the coder.

I’ll admit to a soft spot for PHP - I was putting database-driven websites on the web when that wasn’t much of a thing (back in 1981, if foggy memory recalls true). I wrote the asset management system that was used by Lucasfilm on Star Wars, by Manix on the Matrix, by various post-production houses in Soho, etc. etc. - all in PHP. We had video-streaming from remote locations before RealNetworks were mainstream. All because of PHP.

I also used PHP to write a content management system for the RiskWaters Group - around 100 magazines in the CMS, with forums, mailmerge, access-rights per page or per view-count or per time-period, with back-end admin pages, with macros the editors could use, etc. etc.

Used properly and judiciously, PHP is a powerful tool. It comes with a few areas that ought to be marked ‘here be dragons’, but frankly so do most languages.

These days, I mostly use PHP for shell-scripting (it comes installed as standard on my Mac), nothing so grandiose as the halcyon days of yore, but I still have PHP to thank for getting the job I’ve had for the last 15 years, in R&D at Apple (“these are the guys that Lucas was talking about”, said the VP who bought my small company).

I’ll finish with a line from a song “Baby, life’s what you make it, celebrate it”. That applies to PHP as well.
Possible, but Google's also donating to Wikipedia itself: https://techcrunch.com/2019/01/22/google-org-donates-2-milli...
In the early, to mid-1980s I was on a team of four people writing an order entry system. It was a project that ran for about 2 years to successful completion and it was in maintenance mode for another 10 years after that.

In my view, one of the things that contributed to the smooth execution of that project was that we all read the same book at about the same time. The book was "Goedel, Escher, Bach: An Eternal Golden Braid". Ideas from the book framed many of our design meetings and conversations.

The POET Project, as it was called, came in on time and under budget. I have spoken to other members (save one, a regrettable loss of contact) of the team and they agree that it was the slickest project that they have ever worked on.
Does anyone know of a service or website that matches mentors with apprentices?

I know there is https://www.apprenticeship.gov/ but I am thinking something more informal and online, e.g. a marketplace where you can match and pay $X/30 min. of quick and focused Q&A.
Let's not get caught up in hyperbole here. North Korea is a harsh dictatorship, but even then, you get to live, breathe the outside air, have a family, raise kids, and you don't risk being raped at every turn (as in physically raped, let's not mince words here and go on a tangent about "mental rape by the state" or whatnot).

It's probably choosing between two kinds of hell, but if given the chance, I'll 100% no-questions-asked go to live in North Korea rather than be incarcerated 10 years in a US prison. (It goes without saying that I'd rather live free in the US, I hope this doesn't need saying. Also it goes without saying that I'd rather live in another country rather than North Korea; this is a thought experiment where these are the only two options).

Of course, prison in North Korea must be hell too, but that's not what we're talking about.

Finally, comparing the US to North Korea -- is that really the bar we want to use?
Even ignoring the drone strike part, that whole category of jokes needs to die. https://www.youtube.com/watch?v=MMSAcZ90QI8
How the Tech Scene Will Be Different in 6 Months
> QUIC hides flow control parameters from the network

It's not clear that this is a good thing. You generally want things like network-provided congestion notification+control, and plain vanilla UDP won't be enough for this.
Demo-1 also did not have a full life-support system, though I'm not sure that weighs 2000kg.
This goes for HR too. HR at an old job invited me and a colleague to a meeting with a nondescript title. I thought my colleague must have some issue with me. But no, they wanted us to draw our vision for the company with colorful markers.
I have one from yesterday where I tried to figure out if I could connect Files on my iOS to a webdav server.

According to Google that seemed possible.

While I don't use Google much more (except the last few days to figure out if the improved quality I've seen and heard about is true) I have enough experience from the last decade to not immediately believe them.

That said, their attempts at artificial intelligence can be funny sometimes: https://erik.itland.no/more-fun-with-google-mixing-images-fr...

So much for the filter bubble were you only get interesting and relevant but not thought provoking results ;-)
Listen to your team and be their advocate.
John Smith

Mark Miller

Sally Baker

etc...
Any genetic code analysis is going to be from creatures that are alive today, or at most were alive a few thousand years ago. When you're looking at the fossil record, you're basing families of species on the age of the fossils and on morphology -- the shape of bones and teeth, etc.

Aside from birds, the closest living relatives of dinosaurs are crocodilians. Any DNA that birds and crocodiles have in common almost was certainly shared with dinosaurs. Scientists use this genetic bracketing to get a sense of what the DNA of ancient species might have looked like.

In the long run mutations occur at a fairly predictable rate, so geneticists can use statistical analysis to estimate how long ago two different species or families of species may have diverged.

Since the Hoatzin is a living species, geneticists can compare its DNA to the DNA of other living birds. Based on this, they can estimate how long ago Hoatzins diverged from other living birds, and they can then go to paleontologists to compare their estimate against the fossil record. Any DNA that Hoatzins share with crocodiles, but not with other living birds may indicate DNA that birds evolved after their divergence from other dinosaurs, so this offers a glimpse into what dinosaur DNA looked like.
"Punching up" is a rather new guideline of comedy touted within specific groups and hardly an agreed upon "basic rule". While standards have changed over the years and deplatforming happens much faster now, unless you want to invalidate entire careers or widely renown material, "punching down" can and always will have the potential to be funny.
See, that will NEVER happen. Completely impractical. SCTP has a different protocol number in the IP datagram header and many devices will either drop or malfunction when faced with protocol numbers they don't understand. UDP and TCP (protocol numbers 6 and 17) are well-supported, by practically all devices.
I think a huge part of it is the move from desktop apps as a sold product, to disposable web/web-wrapped apps. This happened mostly over the past 10-15 years and while I'm older than OP, I noticed a similar drop in quality of life for programmers with certain values and motivations during this time. Scrum-style and "agile-in-name" processes really hammer it home and are practically designed to create burnout.

I would suggest getting into development for embedded systems. The jobs don't seem as numerous as in VC-fueled web/app start-up style development, but when your product is expected to function without the ability to update its firmware/software near-instantaneously as modern webapps do, I think it changes the style of development cycle pretty dramatically.
He wasn't charged with that, although all reports indicate he did do it. All sorts of conspiracy theories as to why he wasn't charged, most likely boils down to LE or prosecutorial incompetence.
On the other hand, the fact that we're talking about subjective experience means that one of these must be true:

1) it doesn't exist, but our brains are thinking and talking about it

2) it exists, but it's overdetermined: it just so happens that your brain starts thinking and talking about it while it also exists

3) it exists as a phenomenon in the physical world, able to affect other physical things
"systems accrue debt" statement is thrown out but not supported

but two earlier statements could be used

1. management put up roadblocks for authorization to improve quality - keeping bad code longer

2. management rushed through bad code, more tech debt to fix later

i think this relates to joseph tainter's collapse complex civilizations declining marginal returns

re: 80 hours to add a text

there are declining marginals returns - yes because of complexity - but specifically because of total tech debt and increase of tech debt from at least the two points remy made
Hi HN,

We developed this extension to overcome several key security and usability issues that exists with crypto wallets today.
You can send, receive, interact with websites and exchange using an array of coins. All in the one wallet while maintaining full control of your funds.

Happy to answer any questions you may have!
why is this a bad thing? Often Wikipedia is responsible for publishing the info that google displays as the one zero-click result.

I just assumed that Wikipedia objectives include making all information easily available. So, by that measure, Wikipedia is succeeding or so it seems.

Wikipedia is not add driven and therefore how much traffic the site attracts really is secondary to meeting their knowledge sharing goals.
You bring up a fascinating point. In many large enterprises -- even those that make money in some aspect of computing -- the centralized IT organization controls everything related to computers. I think we would find it odd if, say, the John Deere Corporation was forced by their "Transportation Support" organization to use Honda ATVs for moving people and goods around their factory campus. Or if Yale Law School was not allowed to purchase books written by their faculty. Or if the Stanford EE department was not allowed to equip their buildings with low-voltage LED lighting they had invented.

And yet we just accept that a leading computer science department at a major university can be forced to use crap enterprise software that's vastly inferior to anything they themselves could have written.

Some of my examples might be hyperbolic. But the power of IT departments to mandate a dumbed-down status quo still seems very weird to me. I believe it's one of the factors that keeps computer science and engineering from making more forward progress.
Show HN: Realtime Linter for Visual Studio Code
Tron's stage 2 debloat script will remove all the bloat apps.

https://github.com/bmrf/tron/tree/master/resources/stage_2_d...

I run the Tron project, it's open-source and these scripts are updated frequently based on community input.
That "secret sauce" line really made me laugh. The other great one was:

"It’s only for 18 months! That’s a long time in cloud. GCP may well be deprecated before then!"

This was way more interesting & entertaining that I thought it would be!
I was thinking the same thing, reading this was surreal- I had to re-read passages and double check things to make sure this is a legitimate and not some kind of satire or highly metaphorical thing that went completely over my head. Butt-hurt seems to be spot on.
The difference is that google's donation is a no-strings-attached donation, whereas if they were running ads, Google could decide to hold their payout or serve hostile and invasive ads. Running ads on that scale equals leverage.
Another advice - don't criticize your employee in front of others. Whatever you have to say leave to 1:1. I once had a manager who criticized employees in stand-ups in front of the team if they didn't finish something they were supposed to.
Show HN: A correct Scheme interpreter based on R5RS formal semantics
Japan has slipped very far behind in so many areas, it's really quite sad.
April 2020 Air Traffic Data: 96% Reduction in U.S. Airline Passengers from 2019
No, that wouldn't work that way.
>Yelp

You had me feeling bad until I came across this.
Why? On the face of it, the US has lots of land to spare, and if the trees are being harvested sustainably, then why does it matter where they are sold?

Sure, all else being equal I'd rather use solar than coal or wood, but if it's more economically viable in the short run to switch a coal plant to wood, thus getting to carbon-neutral, that seems like progress to me.

At some point solar will be cheap enough that the CapEx of replacing the coal/wood plant will be less than the OpEx of running the old plant, and it'll get torn down. (Indeed that crossover point has been hit in some markets, c.f. https://www.vivintsolar.com/blog/solar-energy-is-now-cheaper...)

I prefer not to make perfect the enemy of the good; I'll take some compromises if that's what it takes to get our CO2 emissions down.
I am reminded of 2 things while reading your comment:

1. The meme where someone sits in a burning house or room and says "It's fine.".

2. "Sweet lemons". That is the sort of psychological "strategy" that is often applied and that seems to be used here: Things are bad, so lets talk them good. It all sounds like "Oh come on, it's not so bad!", but that is not the point. The point is, that compared with more developed languages, things are objectively worse with PHP and no one should have to deal with its issues.

There are issues in programming languages, which cannot be fixed, except for making far fetching design changes to the language itself, unless you include the required tools inside the language, for modifying the language itself. Those are called macros usually, and I am not talking about C preprocessor macros.

To fix a lot of the issues PHP would have to change to a degree, where it is no longer PHP and it does not include the required tools for changing the language itself. It requires a commitee, which is apparently unwillig to fix the language, or is so slow at it, that we still have PHP in its current form after "25 years of PHP".
> Your manager is not your enemy. Your manager making a joke is not kicking you down, he's trying to breed camaraderie.

This is getting strangely personal. If you are joking, well done on the subtlety!
Wordpress -> Facebook -> Instagram etc.; what goes around comes around.

AOL -> Web -> Google AMP etc.

Wikipedia has its editors and its petty squabbles, and worse, its ever increasing budgets (for what, exactly?) funded by guilt-based extortion from the masses, a bunch of parasites feeding on public contributions.

Once a hill has appeared from the bottom up, climbers crawl out of their holes, clamber up and try and steer from the top. And they usually succeed.
Rogozin must have been put under serious pressure following the Crew Dragon launch. Note that he does not mention any budget or how Roscosmos is going to address the loss of resources due to NASA and other countries buying less Soyouz seats from now on (ESA's Pesquet is for instance scheduled for Crew Dragon).
I'm not sure if you are generally lamenting about people's sensitivities, or you are just dismissing jokes about firing as "not a big deal", and that "people should get over it".

Let me repeat what the author of the article posted: DO NOT joke about firing people.

You don't need to have a thin skin to take comments about firing seriously.

When a manager said that they'd fire you, it's only smart to begin looking for work elsewhere.

The moment they said that, it's the moment that they have demonstrated the following:

- your employment status is precarious, under that manager (yes, employment is generally precarious, but at a company with a good culture, it's the company's financials that predicates your employment status, not financials plus your manager)

- your manager has demonstrated that their power has gone to their head, potentially leading to bad decisions under their management

- assuming they were joking about firing you in the first place, your manager's words regarding anything related to your job function cannot be generally taken seriously

This is not a thin skin issue. This is a bad manager issue. Start looking for work elsewhere.
composer is so slow tbh. It takes ages to download package and well requires me to setup swap even when i have 4 gb ram in server.
I personally don't like the short Wikipedia excerpts.

I almost always want more information, and Google tries to make the Wikipedia link as unintuitive as possible in order to keep the user on Google property.

What's more, showing the info box means that the real article link is removed from the results list.

Edit: to clarify, I do find the blue Wikipedia link decidedly small and I often have to actively look for it instead of it being an intuitive click and clear on first sight, especially on mobile.

WRT to the results, they do indeed seem to appear now, but often not in the first or second position. (I do remember that not being the case previously, but I admittedly might be mistaken)
you're not alone

i could write the same post word-for-word

start your own company
Pegasus for Abstractive Summarization
Seafarer's week is coming up soon, learn more about it
You'll eventually get someone that improves it for its own sake and wants to learn for the sake of learning.
> PHP has taken a lot of flack over the years. Mostly from people who never really worked with it

Detractors of PHP were pretty quiet when this first hit the front page. I think things might have stayed quiet without this first salvo being fired.
Someone at work today was talking about their mother having an ulcer in her liver due to excessive pain killer use.

I once slipped on a damp metal roof while installing rural internet. That flap of skin between your index finger and thumb? Imagine cutting it with scissors. No tendons were hit, but yes it hurt (instinct traded me a deep cut instead of broken legs). That pain I heeded, but I was more concerned with the pain of potential infection that I felt a few years before after breaking hand blisters during springtime. Pollen entered and infected, waking me up in the middle of the night a few days later with throbbing, swelling, extreme pain - all I could think of was the prospect of amputation.

I value the productivity of my hands more than anything, therefore without insurance I was not going to question throwing $200 towards treatment.

The work related cut needed stitches, with anesthesia (that I had a brief reaction to - perhaps psychological since I was witnessing a needle go into my hand without feeling anything). The price tag was similar. But I was prescribed cephalexin for antibiotic... and hydrocodone for "pain". I did not fill the pain killer prescription out of principle, because of course it will hurt for a few days - a useful signal issued from the body to prompt me to pay special attention to that area during regeneration.

I have been bothered ever since - these "doctors" issuing opioids like candy for the smallest ailments (perhaps incentivized by quotas therefore personal gain).

Pain is a useful signal, and if artificially suppressed - we are missing the point and ignoring nature.

If you put your hand on a hot stove, and it hurts? Then yes, remove the hand because it did not feel good. Do not suppress the pain artificially so you can keep your hand on the hot stove.
>There are brands you love [...]

No, there aren't. Who the hell loves brands?
> Google seems to be helping in their mission of disseminating information

except for when google takes something out of context, or combines two unrelated paragraphs to convey the wrong information.
Preasymptotic Taylor dispersion: evolution from the initial condition
> IME, `clean` is for when I want things rebuilt despite "nothing" having changed.

Of course, you can use clean in this case. You can do that also with redo, just delete all the intermediate files and start a normal build.

However the point is that you do a "make clean" most often to be sure that all dependencies are refreshed, because you are actually not sure that your Makefile captures them all.

A good example are builds in yocto. This is a system to build complete embedded Linux images based on make, with many subprojects. But if you change, for example, the kernel to support large files, or a 32 bit time_t, you can't be sure that a simple "make" delivers a correct system, because the dependencies on the system headers are not include in all the makefiles.
What you need to understand is that cultures are different, if I have a manager that doesn't get close to employees being friendly and joking even with black humour my co-workers are going to talk behind saying he is dull and unfriendly.

But probably you are american and you don't even get irony nor sarcasm, you see, a joke ;)

And my point still stands, in 21st century people is getting so easily offended like if we are all now mentally weaker.
Us has the highest verified incarceration per capita in the world and the largest number of total prisoners. So at least by verified numbers it's not really even close, the US is by far the worst. Are the numbers accurate for China or other oppressive regimes? Who knows and North Korea doesn't release numbers but they're thought to be close to or slightly higher than the US' per capita numbers.

https://www.prisonstudies.org/highest-to-lowest/prison-popul...
Thanks. These all look very readable.
Christian based companies hiring part time?
Hi there!
I'm currently a software engineer with about 3 years of experience. I've had some exposure to different languages, but my positions were heavy on SQL (PostgreSQL, MySQL, SQL server) and Python. I'm also a mom and strong Christian believer.

I've been wanting to re-arrange my work life balance and work for a company that serves a greater purpose. I'm also wanting to reduce my working hours from 40 hours to 20 hours so that I can dedicate more time to my family.

Does anyone know of any Christian based company that is hiring a part time, remote, junior software engineer? I've worked remotely for the past 4 years.

Thanks!