skysight-inc/HackerNews huggingface dataset:
> what if we passed a law that

You want to pass a law with the current pro-big-company politicians in power? Like the laws that companies ignore on a regular basis because the enforcement arm of has been dismembered? Even in cases where it hasn't been, the cost of complying with the law is often more expensive than breaking it and eating the fine.

Yeah passing a law sounds like it'll solve the problem real quick. /s
> you can certainly write a rest API in PHP, but that's not typically what you would use PHP for

Definitely not true in my experience. lot's of people are writing REST apis in PHP.

> NodeJS is 11 years old... it's not a shiny new thing anymore.

I write Node stuff for work at $dayjob, and lot's of stuff is great. But it still has nothing that's close to competing with Rails/Django/Laravel in terms of completeness.
The C++ standard's definition of a datarace only applies to ordinary memory access and rules those cases UB. But if you port such code to use relaxed load/store operations it's just as racey, but no longer UB. I'd consider still consider those cases data races, even though they don't meet the C++ standard's definition of them.
Time to buy shares in makers of novel anticoagulants.
None of these things even remotely matter to me. They aren't issues when I'm looking at what to buy.
Still, communicating through visual design is foundational to marketing your business. Sourcehut's design is fine for it's audience, that is to say people who don't give a shit about how something is presented as long as it works well.

Other classic HN examples:

https://pinboard.in/
https://www.tarsnap.com/

> Stripe’s design is decorative.

Of course, you already admitted the subjectivity of it all. I accept that. But at the same time, there is a reality that we all exist in, a reality heavily dictated by what we see and what we feel, and design has the ability to affect and influence those at a "pre-attentive" level -- ie before the efficacy of a product can be known or evaluated. So when I land on stripe.com, and I know nothing about it, I can at a minimum infer that there is a team of competent, professional, smart people behind the product judging by how the website looks and feels. I'm also associating a sense of happiness, wonder, and enthusiasm with the brand through my interactions on the website. I am seeing the bright colors, the crisp lines, and the smooth animations and I am, in my mind, creating a narrative about Stripe - that they have a high quality bar, that this product will be enjoyable, that there is craftsmanship here. There are many more people in this world that are attracted to beautiful things and intriguing stories than people who aren't.

> deep down inside I personally belong to the functional design or “no design” camp.

I assume this is just about software. Of course, we all love decoration in other parts of our lives. We love our little icons, we love our desktop wallpapers, we love our avatars. At a broader scale, the presentation of food on a plate. A favorite t-shirt. Gardens. Book covers. The color of your car. The color of your house. What type of furniture you choose to own. Movies. Music. All of these, from functional objects to artistic expression rely on some sense of decoration. There is inherently an "excessiveness" to all enjoyable things that makes them more emotionally charged than the sum of their atoms (or code) alone. I'm sure we can also agree on that.

Sorry for the diatribe. I hope it doesn't feel like an attack on you, OP, but I just find the overall sense on HN that things like a color palette or some animations are meaningless.

Of course, design can be used to disguise bad products. That's the bad kind. Stripe, as an example, isn't in that category.
"The Smartest Guys in the Room" was great, indeed. Also, the book from the guy who reported Madoff to the SEC sounds interesting: https://en.wikipedia.org/wiki/No_One_Would_Listen
It could be mildly bad if someone discovers Nintendo devs were like Disney animators and sneaked in "sex" (The Lion King), a drawn penis (The Little Mermaid), or a topless woman (The Rescuers).
I liked the post overall, but story # 1, taken to an extreme is basically lottery tickets.

I understand that this was for the OP's nephews, but to actually apply it in practice, you need at least a rough sense of expected value, whether the "games" are iterated or one-shot, and opportunity costs.
I'm so getting downvoted for this, but let me just say it: the iPhone IPS not-even-FullHD displays are sad. The exact same inferiority you mention, in reverse -_-
> Powerful enough for professional musicians.

Having worked with professional electronic musicians, I will say this is likely really useful for getting some interesting layers, but is not a professional environment in and of itself.

I don't mean to say this isn't fun, or that you can't make some really cool stuff. It's just not that there's wayyy more programmers involved with VSTs and DAWs than in this one project, and there's ultimately no competition from a professional perspective.
Wow, that's a lot of time. I've built whole products with customers in that time.
An Indian city to fine or jail citizens if they don’t have contact tracing app
> I really would like to see the Threadripper series merged with the 7002P series though.

They should've done that when they changed the socket for the latest generation. Just admit that the existence of Socket TR4 was a mistake and release the new Threadrippers on Socket SP3.

I suspect there are even some people interested in dual socket workstations with 2TB of memory that nonetheless have a 4.5GHz boost clock, because workstations often have mixed workloads. And there is no point in doing market segmentation when all the prices are the same anyway, it's just incompatibility for no reason.
RoR was guilty of that as well, so we kinda deserve it. The community was more of an antithesis to java actually, not php.
They also have SNES virtual console now. But yeah, I'd love to see N64!
In the FreeBSD kernel, we've got fail(9) for this exact use (since 2009).

Check out the EXAMPLES section of the manual page. You can use the mechanisms to inject delay on some percentage of executions, and more generally some integer value can be injected, which can be used to simulate device failures (EIO) or whatever.

It's very powerful for creating reliable reproducers for all kinds of failures, including race conditions. And the KPI is not quite as verbose as the one presented in TFA.

https://www.freebsd.org/cgi/man.cgi?query=fail&sektion=9
What I gathered from the website is that Toucan can swap in "comida" for "food"; I can pretty well extrapolate the language-learning function from that example. But, um, does it do anything else?
1. It's disingenuous to suggest that a party that regularly exceeds 45% of the popular vote is the party that people "didn't vote for"

2. The military boondoggles have continued uninterrupted since the collapse of the USSR almost regardless of who is in charge. G.W. Bush ran on a platform of not getting involved in foreign entanglements the way Clinton did, then Obama ran on a platform of not getting out of the entanglements that Bush got us into!
It would be hilarious and ever maddening if the user agent came back as "Puppeteer" and IP came back ::0

Can't wait to see it.
I'm impressed that the title of this post points to a better way of delivering feedback than is discussed in the article.

This event sounds like a wonderful opportunity to have a 1:1 conversation with the person and tell a story to help them grow.

Before talking to your team member, set your own tone internally. This conversation should be friendly, helpful, and constructive. No one should walk away feeling bad about things, but instead leave having strengthened your alignment and hopefully learned something in the process.

First, ask them how they think the message they sent was received. Be open to learning new things, such as an intent that wasn't clear to you, or some other details about the interaction that aren't immediately obvious to you. Also be open to and prepared for them to already know there was a problem with it. Paraphrase it back to them if you don't understand something they said.

Next, talk through a similar story from your past where you sent a message with similar problems. It doesn't have to be an email, but it's important for you to talk through how you made a similar error. The key is how you identified the problem and identified a better way to handle things in the future.

If you honestly and thoughtfully have this conversation with your valuable team member, you will develop empathy and trust that will not only help them learn from the experience, but give both of you a better working relationship for the future.
If Apple didn't care they'd use some junk off-the-shelf keyboard, like PC laptop manafacturers use. They're trying to build something better themselves. A lot of people think they got it wrong this time, ok, but they're trying. Nobody else is!
>I'm by no means suggesting we move back to waterfall

I've always thought this was a red herring for scrum people to smack dissenters with. I've never done a strict waterfall with unyielding changes. Before agile, we would do 3 month release cycles. We prioritized what we wanted to get done in the 3 months and what we didn't get finished fell off to the next cycle. This was done in BigCompanyYou'veHeardOf and SmallSoftwareDevelopmentCo.

In my experience, waterfall project plans were never meant to be in stone, they were just a guide to give us an idea of what the project looked like. I've done a 3 year plan too. I'm sure some places implemented it strictly, probably government or heavily bureaucratic institutions.
> Does this mean that developers are going to have their repos shut down if their software is used by pirates? Are they liable? What happens if VLC is the #1 media player of choice for pirates?

No. but one thing to learn is that for projects like Popcorn Time who decide have its repository hosted on GitHub, it is a lost cause. GitHub has 100% control over the platform and can do what it likes. i.e, your software can be taken down by them for any reason once it is hosted on their platform; private or not and actively enforces DMCA policy even if none of the code is copyright infringing.

Popcorn Time can appeal, but this fight is bigger than GitHub and Mircosoft is friends with Hollywood. To be continued...
I guess some people see better... I like 17 inch displays, and while 4K looks great, FullHD is better for actually working. Maybe my eyes are going bad...
super nice. Wonder how it's implemented
Sozi – The FOSS Zooming Presentation Editor
Even the best run un-unionized factories have unions trying to get workers to organize.

To pretend that unions (leadership) haven't become just as obsessed with growth and power as corporations are, misses a huge part of the various incentives at play here.
GraphQLize Update (#3) – Logical Operators and Filter by nested objects
No no, you should totally use separate certificates (for our SaaS that's crucial, otherwise we would let our competitors know who our entire client base is, if all the domains would be included in one certificate)

I don't know too much about certbot's nginx plugin, I don't use it and don't see the benefit to be honest, we ran into problems with it (it didn't work for us because our clients have to set up a CNAME DNS entry, and that domain has to be included in the certificate)

We simply run certbot without the nginx plugin, and then have a config template for new virtual servers in nginx, based on a template. Certbot's nginx plugin would mess with our config constantly, changing from version to version, leaving artifacts, and we didn't like that.
I mean, for the first time I think them saying "in an unprecedented way" is really .. true. The "remote" WWDC experience was always kind of meh, so I'm excited to see how it being first is going to be.
Sure, it's fit a Moore's-Law-like pattern since 2012. Moore's Law wasn't that, though. Moore's Law was a prediction that development was going to continue to follow that path. This paper doesn't seem to predict.

With semiconductors, Moore could see that we were nowhere near fundamental limits of our ability to scale processes. With AI... are we? I certainly don't know; I'm not sure that anyone else does, either.

Scaling down to smaller features was just dealing with assembling atoms. You could see that, while there was a lot of work to do, we had room to keep going. But AI is dealing with algorithms, and how do you know whether there's still exponential room to improve?
A little bit of all of those.
Technocratic communism is not the answer (2019)
You can and should. It's crazy to try to integrate your own workstation, for the reasons the article states but then ignores: ECC doesn't actually work on any of the random Ryzen motherboards, and Intel is sending all of their parts to OEMs instead of retailers. An HP Z4 workstation comes with ECC memory, actually boots, and all the other stuff you want from a _work_station.
Every day anyone turns on a Windows machine they roll the dice. Maybe it works. Maybe a security patch was applied last night that borked the firewall. Maybe today you are checking the leave system to see which offices are free so you can borrow thier machines. Linux machines aren't like that. Errors happen but they don't generally just stop working. When you have a faulty linux machine you get the sense that it is at least trying to work. It feeds you data about what is wrong. It throws errors, list everything it has done or hadn't done, and defaults to some sort of backup mode.

A windows/microsoft system just stops. You get a generic error notice, a insulting "click to diagnose" option, and it is up to you to figure our why Outlook is no longer accepting calender events from some other system that, until now, it has been playing nice with for years. (My issue yesturday.) That is IF it even admits there was an error. Often it will just not work but fail to tell you that anything is amiss until you get a note from your CO that you missed a meeting because reasons.
Apple copywriter: what's an unprecedented way to use unprecedented?
> Academic research in most countries is filled with pressure from private money to achieve valuable outputs to feed the private sector.

This is not my experience working in PL research, personally. Mostly government grants here (US) that are either wholly research-oriented ("Build a cool thing because it improves the research community") or government-oriented ("Develop this technique because it will provide us with better (cybernetic) defenses). Admittedly I'm pretty new, but the funding does not seem generally to come from or be focused on developments for the private sector.

I imagine it would be different in compilers, though, for example. That's certainly an area that the private sector has a more vested interest in, due to direct applicability.
if it happens like that you are right, but if i don't tell what the actual problem is than how can possibly expect any useful response? that just makes no sense. in other words without that explanation i am not actually asking to understand.
Author here – No RSS feed yet. It's on my shortlist of features to add.
You may have missed it, but with PHP 7 the language has even more shifted towards stricter typing paradigms. People use strict comparison, typed properties, typed arguments, etc. Couple that with one of the popular static analysis tools and you'll never see any such errors.
Every linux distro I have tried works fine with my Ryzen 3900X. Ubuntu 18/19/20. Maybe threadripper had some extra issues early but its likely fine now.

The only Ryzen/Linux issue I've heard of is on launch week of Zen2 some distros of Linux were broken by an AMD bug which was fixed pretty quick.

In fact performance is better for many cored Ryzens than windows usually.
I got curious about that battery too and found the below datasheet. I don't know what tricks they're pulling to be "ballistic/penetration safe", but I really like the idea of a flexible, wearable battery. I hadn't realized products like it already existed.

https://inventuspower.com/wp-content/uploads/2017/10/Inventu...
Soldiers routinely carry things that are designed to explode; getting a round into a wearable battery sounds dangerous, but still less than getting a round into one of your grenades.

If it's designed to be worn under some body armor, it shouldn't be too much of an issue.
Which comments in this thread would you say are particularly insightful? Maybe they just haven't arrived yet, because I sure ain't seeing it.
So your argument is that the recorded death toll and infection count from the boat is media sensationalism.

(I don’t recall reading it was a cruise for stage 4 cancer patients. Darn media)
> Why would RoR bake payments support into the framework?

I'm not saying they should, just comparing features for the sake of demonstrating that the functionality that's present in modern PHP frameworks isn't readily available in just any random framework in any random language.
Your points are valid. Understanding the quirks and features of Rails is a lot, too.

It sounds like you had to dive head-first into a mess where it was hacked together by non-Rubyists who learned "just enough" to push to production, and were by no means diligent about following Rails conventions.

Obviously, this issue is agnostic of what language one chooses. But it certainly leaves a bad taste when there's all this "magic" happening (see: metaprogramming). That magic is what makes working with Rails so productive.

Rails makes it easy to do bad things because of how magical it is. `@post.comments.each { }` when you didn't preload `comments` is bad. This is fixed with `Post.includes(:comments)`.

Similarly, if you avoid its conventions — overriding `table_name` on your model, in your example — and try work against it, rather than with it — it becomes more of a chore than it does a treat.

Like all frameworks, they require a little bit of diligence and care and understanding to really get the full effect. Rails is great because it makes a lot of assumptions at the cost of brainpower, and for the vast majority of things this is good. It's not always the right tool, and it doesn't need to be. But when it is — again, a large majority of web apps are just CRUD — and when it's written with a little bit of care, it's great.
Most likely a beacon for mines and IEDs

Was a pretty common argument against "smart passports" doesn't matter if the stored data is encrypted, just matters that a signal is detected from a first world target in range of the mine/IED.
How do you get to that conclusion from that paper?

All I see from that paper is that there is "no evidence" that Vitamin D is beneficial with COVID-19 (and some qualified evidence that it may help other respiratory infections).

They mentions several planned/registered studies on the question, but none that have reported results yet.
I agree with you. I follow SCOTUS cases within a couple of narrow interests, and there is always much discussion about what was really meant by questions that were asked. Much of that is due to lack of tone.

Hearing oral arguments is going to be interesting. I don't know that it's ever been available to the general public.
I'm talking about getting to the point where you're comfortable enough with the framework you actually know how to write good idiomatic code.
If you're coming from Django / PHP enough in there will be familiar you can become productive in 2 weeks. But you'll still be a noob to the framework and might make sub optimal choices.
It is the "Do Not Track" header[1], which indicates that the user doesn't want to be tracked.

[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/DN...
I run Linux on one MBP and MacOS on another and I have a dissenting opinion that the MBP trackpad on Linux actually behaves extremely well. I have an X1 too and find the trackpad horrible in comparison.
You can do that with a traditional notation music program like Musescore. You just need to learn music notation.
Experience report and speculation-

I have used Linux (fedora-xfce) inside VMWare Fusion on Mac laptops on a daily basis for at least the last decade, and also have run Linux on Thinkpad and System76 hardware from time to time.

In general I find the trackpad experience of Linux-inside-VMWare-on-Mac to be basically identical to that directly on Mac, and much (much) better than either Linux on Thinkpad or on System 76.

There is some oddness in the VMWare setup- in the VMWare parent process, over time, RAM usage grows, and a slight lag is introduced into the UI experience inside Linux (both trackpad and keyboard).

When this gets too noticeable, I kill the VMWare parent (which does not kill the actual VMs), then restart it. The lag is eliminated, the memory leak is cleaned up, and the child VMs are not impacted.

I imagine the abstracted event flow to be:

HW -> Mac driver -> VMWare user space UI loop -> Linux generic driver -> Linux userspace

while the Linux only event flow would be

HW -> Linux driver -> Linux userspace

While there is some jankiness in VMWare's delivery of events to the generic Linux driver that the kernel uses for the VMWare "hardware", the work happening in the Mac driver is the magic that delivers great experience.
Yes, it works as long as you don't have any real devices that cannot be captured in a reverse-debugger's state history.
You can compare static typing in php to typescript or static typing in python. It's for correctness, not performance.
There's likely a difference between rural and urban parts of the same country as well in terms of preparedness. The less-prepared countries will likely also have very unevenly distributed population densities.
> With respect to modern rulings, I have yet to walk away finding the arguments abysmal.

Windsor?

I read all the opinions (the majority and all three dissents) and they were all terrible law.

The majority ends up with a convoluted rationale for why the Court should even be here, since Windsor already got what she claimed relief for. A court's purpose is to serve justice, but very clearly the Supreme Court doesn't need to even take Windsor in service of justice, instead it serves a political end.

The dissents are no better. Scalia for example rightly points out what the majority are up to, and, sensing which way the wind is blowing but apparently not inclined to learn anything from that - he guesses this will be back, as it indeed was in Obergefell, but is apparently oblivious that he's doing the same exact thing he accuses them of.

There's a decision by Judge Posner on related topics which is much better law, Baskin v Bogan. Posner may or may not have an opinion about whether gay marriage is a good idea, we don't learn one way or another. But he is clear that it isn't logically consistent to say your state only marries people for the purpose of raising kids, then also have a law which says people who biologically cannot, or genetically should not have kids may get married. As a result the prohibitions on gay marriage fail. That's what I want to see in my legal decisions.
Part of the Apple touch story is this:
https://en.wikipedia.org/wiki/FingerWorks
It also had me imagine a far future scenario where soldiers get too close to an enemy and accidentally recharge the enemy's depleted railgun.
Web Stories, Powered by AMP
In US universities in machine learning fields, a lot of labs work with private companies or do interships during summer at private companies and the grad students eventually graduate and get a job at the private company. Software engineering research might be similar but not sure.
Show HN: I made a visual scraper that sends data to Sheets, Slack, IFTTT...
DevOps Lessons from My Little Pony