skysight-inc/HackerNews huggingface dataset:
Back when I was doing React, what pulled me in was that it WASN'T a framework for SPAs. What I got from it was the ability to build UI widgets (components, in React terms) that worked within a page, and were composable with other UI widgets.

With that approach, you really wanted to keep every component self-contained. That meant a lot of bookkeeping with passing events back and forth between parent and child widgets, but while it was a lot of typing, it was all fairly easy, and if I wanted to change how an event was handled, it usually only involved a component and MAYBE the components immediately above or below it in the component tree. Data passed further than that was generally wrapped in objects and therefore didn't require code changes.

Then introduce Redux and similar frameworks, and I totally lost interest. It's as if the entire React community forgot all the lessons they learned writing Python and C programs in college and went back to creating global state. What in the actual hell? I wrote a good amount of code in Redux, too--I worked on teams that used it--so this wasn't just pre-judgment. These frameworks add a huge amount of hidden global complexity just to avoid having to pass parameters to components, which is the simplest thing to do.

And once you're doing that, you HAVE TO write an SPA, because any part of the page you want to be interactive gets pulled into Redux and your JS eventually eats the whole page. It's an infection.

When writing JavaScript now, I sometimes end up rolling my own version of the component style. It's an effective design pattern for UI widgets. But it hasn't been worth it to use React for a while now because the tooling and tutorials are all too conflated with Redux and similarly awful tools. And on a team, there's always the worry that someone on your team will infect your code with Redux and it will grow and consume your entire site. It's a real shame.
The future of public access to Castle Mound
If I were in that position, and wouldn't want to break off the relationship, I would probably try to change billable-hours to billable days (or even weeks?) I would then try to keep strict 8-hour a day work-schedule (ok, maybe even just 6 to be honest :-)

Like, I am programming in professional fashion for around 10 years, and there are hours, where I make more progress than previous days. I don't want to be fighting for billable hours.
There are many layers of security in modern OSes. Apple ignores many of them to the peril of their customers, and it shows in the results. In your example, many Android devices left the door unlocked but had a security guard. Apple locked the door but the lock on the door allowed many other keys to work.
it just listens for silence and cues some audio files in the background. it works most of the time, but could definately be improved.
For a bit more background: The online newspaper Republik recently published a piece about this project and some of the problems with the company Scytl providing the system. They provide an English translation of that article:

https://www.republik.ch/2019/02/07/the-tricky-business-of-de...
Small Business Ideas for Women: You Can Start for Cheap
For what it is worth, age verification on dating apps strikes me as far more reasonable than age verification for porn
I really want to organize one of these where I live, but I'm afraid nobody would come. This is the sort of stuff that I love doing, and this really is a great hack.
Obviously this is just a coincidence and not adaptive. Squirrels didn't evolve in an environment where people are going around shining them with UV flashlights.
I think jordigh is saying that the method is not statistically sound, i.e. that it will not (necessarily) give accurate probability estimates. They're not criticizing the method simply for being statistical.
Cool and clean React form validation example, Instant validation included
Well written and succinct. I especially like the nod to professional consultants.

I'm not quite sure why these stories keep coming up, given the vast amount of literature available describing why and how contracting, with it's bifurcated pay and benefits systems, can and is mutually beneficial to the organizations.

In fact the #1 thread, as of this writing, is about freelancing and has dozens of comments from freelancers.

One possible explanation for the frequency of the topic, is that it's not the structure of contracting that people are rejecting, but rather the wide disparity between the size, pay and benefits of the contractor vs the contractee. Nobody complains if Bain takes a contract with Apple, as both have good pay and benefits. Similarly nobody complains about the freelancer working for [megacorp] because the freelancer is independent and an owner. However, increase the wealth gap between the companies and now you have a story.
Third Party Web – the overhead of popular 3rd party JavaScript
Yes JS is probably the most egregious. After having transitioned mostly to statically-typed languages, it seems positively backwards not to have the types, or even number of arguments specified as part of the signature to a function. I have even had to dig through the source of a library when the author has neglected to document an API well.
As as python machine learning practitioner and previous iOS engineer I have for while come to miss using swift and type safety for that matter. I really like the language and wish great success for the TF team with swift.

Side note, does anyone know the effort required to get various python based libraries running on swift? i.e. numpy, scipy, pandas and so on?
C++ no, C# yes: ASP.NET MVC is pretty good.
I have worked as a contractor for Apple. I have to say that my personal experiences have been generally positive. Although I am only working with them at certain periods so it's not like I'm a "full-time" contractor so I can understand the frustration of being in that kind of position.

Overall, I found them to be very accommodating and concerned with our needs. They treated us well. There has never been any expectation on my part that I would be receiving any regular employee benefits. I felt like Apple treated us better than our actual employer/sub-contractor and if there was anything good coming to us it was from Apple and not our sub contractor.

The only thing I can relate to is the toilet situation. For some reason Apple has offices that can accommodate 100s of staff with literally 3 toilet cubicles to go around. The toilet door is like a conveyor belt and I often have to go several times until I can find an empty cubicle. Whoever designed these offices severely underestimated the allocation of toilets.
Why I think Inbox by Gmail is still the best mail app at the moment
No, but even those from "left field", if genuine, tend to take the time and care to write things up properly, to use the nomenclature of the field, to address obvious potential concerns up front.

If you're asserting something that's likely to encounter resistance, it's worth being clear and careful.
I feel as if many sites that used to be fine and work well have regressed in usability and features and introduced unexpected behaviors and bugs since the SPA paradigm seems to have taken over. This seems especially true for many corporate, bank, shopping brand sites, etc. An example is the Capital One 360, Chase, and AMEX sites and even Reddit.

Even JustWatch.com seems like it's fairly polished, still has it's quirks. So, I just end up using InstantWatcher.com instead. Hacker News works well as is too, except the search on the bottom can act up it seems once in a while.

Edit: How could I forget, Netflix. The UI, getting to the details of a show/movie. Browsing, discovery, searching, it all feels broken and unintuitive. The DVD site last I checked was still decent. Netflix seems like the poster child for usability and regression issues moving to a SPA.
ugh, the old "Apple is trendy/fashionable" argument.

Apple is like Nike.

Fashion and design are elevated as first-class concerns along - and rarely conflicting - with functionality and ubiquity. Yes, they cost more than the bargain basement, but actually span a wide range of price, otherwise they'd be as rare and exclusive as Hermès bags - yet everyone seems to have an iPhone, just like everyone seems to have a pair of Nikes.

Apple is not "chasing tech as fashion" - they make holistic products that a very small segment of the population perceives strictly as "trendy fashion." Millionaires wear Nikes to fashion shows, and your dad mows the lawn in Nikes.
Dataclasses are a sweet feature that I can see getting wide adoption pretty quickly. This said, they have a backport and it's mostly just sugar, so I expect one could probably get them working on 3.6 pypy.
The referrer can be gamed, but it's not something you can't solve by combining it with cookies.
> ever wonder what TRS in TRS-80 stood for? I'm guessing Tandy Radio Shack

Good guess!

> The name is an abbreviation of Tandy/Radio Shack, Z-80 microprocessor.

https://en.wikipedia.org/wiki/TRS-80
That's a good point.

I wasn't trying to say they should have offered these benefits to everyone, but sometimes it seemed like the contractors were just ghosts. It would have been nice to at least have these activities mentioned somewhere so you had some idea of what was going on (and if contractors were or weren't included).

Sometimes the full-time employees would all get up to go do something and you had no idea what was going on (and if you should go with them or stay back).
I can't edit the original comment because it triggered the flame war filters, but I'm curious why this is such a controversial question and garnered so many downvotes. I sincerely wanted to know what popular the consensus is.
There are so many talented, brilliant, and well-spoken women in the world. Imagine what one of them could do in this role.
Totally agree here. I worked quite closely with Corbyn for a bit on human rights issues (esp. Israel/Palestine) and though I might disagree with him on a lot of things - he most definitely is not Semitic. It is very clear to me for reasons unfortunately I don't have time to outline that there is a very clearly orchestrated campaign against him. Basically, it follow the exact same methods, people, talking points etc of other similar smear campaigns against people in the UK holding views that the Israeli right wing government doesn't like.
I am hopeful for CSS grid. I am hopeful that we can properly return to the principle of separating concerns. I am so tired of dealing with sites that have HTML littered with divs and spans solely for the purposes of layout and styling.
Learn the smart, efficient way to test any JavaScript application
Then add a polyfill per api call to support anything but the most recent browsers, if you happen to want your site useable by people with old systems or who are at work.
That might be obvious if they only fluoresced when illuminated with a UV flashlight held by a person.
They haven't done anything with Beats though aside from rebranding the streaming service as Apple Music.

I rarely see Beats headphones out in the wild, and they used to be very common 5-6 years ago. Airpods are more common now as a status symbol.
The American Navy Stops the Japanese from Occupying Port Moresby (WW2)
Pretty sure Microcenter sells the Pi Zero for $5 and the Zero W for $10. Still a good deal, and I also pick one up each time I go.

Edit: oops, just checked and the Zero W is indeed on sale for $5. I think this is a recent MC discount though, and the official price is $10, which is still reasonable. It also puts the $15/ea for 2-5 units in a better perspective.
They're both in the luxury fashion market in China.
PixiJS v4 – The HTML5 Creation Engine
I much prefer hourly to day or weekly rates. When I charge a daily rate I feel I need to work a full 8 hours.

I currently use a timer app and bill my exact working hours. It's great because when the weather is nice and I want to go sailing or cycling, I just stop the timer and go.

I have a set monthly salary I want to make. If I'm on track to hit it, no pressure to work. If I'm behind, then I'll put in hours.
Show HN: Votable Music – Spotify-Alternative Using YouTube, Soundcloud, Etc.
Yes, you've described exactly why this is a bad practice.
In my last consulting company the CTO decided every single project for now on must be an SPA with a de-coupled back end, that is a mandate (rather idiotic if you ask me).

We had relatively simple projects that could be done in a couple of weeks with a traditional MVC framework, bloated to multi men teams working for months.

But hey I guess over-engineering translates to man hours, man hours translate to revenue.
T420 with a ram upgrade (10GB total) and an eGPU dock forced into a desktop replacement role.

You just can't beat the ease of access to the guts. Swapping the RAM was easier than on a desktop. Great Linux support, huge aftermarket. Ultrabay slot allows for an easy on the wallet small SSD for OS + data HDD setup. Hell, the entire laptop can be bought for $200 or less.

Not a great laptop for the road though, at least for me. I plan to buy an X series (X220 or even an IBM era laptop given the 51nb treatment) or another 10-12" business laptop.
You can do quite a lot with nothing but HTML/CSS.

https://codepen.io/jcoulterdesign/pen/NOMeEb
I made a chrome extension a good while back that only ran on Facebook, I assume it still works. Here's the link if it helps: https://github.com/JamieFarrelly/zuckerberg-reactions/blob/m...
It does require a cloud based compiler, the accelerator doesn't run TF-Lite models directly. The cloud based tool is what gives you the actual executable.
Does anyone have suggestions how to find good tutorials/blogposts? I am interested in startup world, but when I search for things like "how to find startups ideas" I am tackled with lots and lots of content marketing, or poor medium posts.

(I know of firstround search and I think this is the best you can get. I was thinking there should be a website that aggregates articles linked on twitter by people from VC/founders world, but I don't think there is one sadly)
The Swiss are actually ready to shut down the e-voting system for good. This is the final “military excercise” test; if it will be able to stand the combined power of the finest hackers of the planet (which is doubtful), it might survive. But I don’t think so. This is a suicide letter for the system. At the very least, it will be DDoSed out of existence.
There was a story a little while back that claims that customers may not actually get those credits. Basically, this guy only got it because the media picked up on it.
https://www.cbc.ca/news/business/air-canada-reneges-on-compe...
Yeah, I know. I just wanted to elucidate for others who may not have read the book what some important reasons are for making rotating ring structures quire large.
You can also do tabs with pure HTML/CSS:

https://css-tricks.com/functional-css-tabs-revisited/
Side note: https://iosref.com/ is quite useful. Thanks!
Nice site! I absolutely love the Visions of the Future posters (took a while to process 3gb of tiff to png) and would love to order one printed, but don't see where I can choose the country to ship to ... Is shipping geographically limited for now?
asdf. Article corrected.
Day Care for All
Understanding Domains and Attributes
Private Mossad for Hire
Artificial Intelligence in the Garden Shed (2005)
He is alluding that the comment he replied to is using a slippery slope fallacy.

https://www.wikiwand.com/en/Slippery_slope
From what I've read about Lisp machines like the Symbolics workstation or the TI Explorer, one of the huge advantages of a Lisp OS is that all of the OS functions are written in Lisp itself and are open source. Think of the ease of interfacing with something like that vs dealing with the various software brick walls and APIs you need to program in Windows. Want to know what the OS is doing? Read the code. Want to debug something? Step into the OS itself. Don't like your UI? Change it.

Lisp machines were always meant as workstations for programmers rather than office users, and it was expected that they would want to hack every part of the OS. That's pretty cool.
China's economy has less to do with iPhone sales decline than the fact that Apple's smartphone innovation has plateaued. There is no "must-have" feature in the current gen iPhone that requires an upgrade, especially not for $1200+. The jig is up.

Expect AAPL to decline from now on unless they pivot or get some balls and use that stockpiled cash to experiment heavily. Tim Cook is not willing to burn cash on R
&D like he needs to maintain a major competitive edge.
As unfortunate and depressing as it is, a lot of that is required or strongly encouraged by the IRS. Otherwise, it starts treating the contractors as actual employees: https://www.irs.gov/newsroom/understanding-employee-vs-contr...

Sadly, the entire point is that they are not employees, let alone second class ones. In the end, it boils down to the perennial question of how much of your work is done by employees and how much by vendors. And it always leads to awkward situations. (Quite a few of those when I was an employee at Google and something I don't see as much anymore, luckily.)
What are those fractals on the 3rd picture? They remind me of Lissajous curves used in oscilloscopes.
TIL there is a search on HN after more than 6 years of browsing...never noticed it
Reminds me of how Zen and the Art of Motorcycle maintenance talks a lot about defining what "Quality" is. It breaks down really fast.
And this is how you push people out of our field.

How about instead of starting with an insult (I can't believe you didn't already know this) you instead congratulate them on putting together a full working library, with pretty, easy-to-grasp examples then offer up some research links that they could use to further refine and improve their system. It's our job to teach people, you can't expect everyone to suddenly know everything.

To the Datashader team: I apologize for the above comment. Good job in building and launching a tool for others to use, and great choices for examples!
In other words: you can hand someone a proof, but you can't force them to read it. If the tortoise is unwilling to tell you what exactly a proof must entail, then he's effectively not interested in being a rational agent who is compelled to agree to facts logically derived from premises.
How is this different from, for example, requiring age verification to purchase alcohol? Or are you also opposed to that?

I think we understand that parents are not in complete control over their children, and in the interest of harm reduction, we don't give parents the entire burden of keeping their children safe but spread parts of it out among the community. This doesn't seem like a particularly burdensome request, here. Some parents are terrible parents, some kids are complete terrors, sometimes there are circumstances outside your control. Parents are not gods.
I think it's better to advocate for improvement without practicing it than it is to not practice it and not advocate.

Better to do one thing right if that's the best you can pull off!
Krugman Sees Possible U.S. Recession with Little Fed Wiggle Room
I don't think Redux is that big of a deal as you describe it.

Many people just use setState.

Since my last Redux project in 2015, I did many React and React-Native projects and not one of them used Redux.
It feels like maybe Google had a changing of the guard and a new batch of engineers are making decisions and missed out on a transfer of knowledge from the previous engineers with both search and SEO.

I'm seeing my search results show less and less of what I'm looking for, it's like google search is forgetting how it used to work.

The same with SEO, I'm seeing sites ranking again on the first page that have useless content using all the tricks/ghosts of SEO past. It seems all the legacy SEO hacks/tricks filters that had been in place at Google have been removed recently.

I was a huge fan of Google, but I'm definitely seeing a decline in quality of the SERP.
> And nobody is for trafficking

Nobody in first-world countries, you mean. In third-world countries, a lot of what gets categorized as “human trafficking” is just self-motivated border-crossing by career prostitutes.

You know how you might find a fellow working in America who is from, say, Bangladesh, and is here for the jobs that pay 100x as much as jobs in Bangladesh do, so he can send money home to his family? Well, in the hotbed countries of “human trafficking”, many of the women involved are just people who did exactly the same thing, moving from countries like Cambodia (“human trafficking source countries”) to countries like Thailand (“human trafficking destination countries”) because they know there’s far more of a market of sex tourists there with higher expectations of average prices. And her family back home? Thinks exactly the same of her as the family of the Bangladeshi man working in America does. “She’s providing for us; we’re proud of her.”

The annoying thing is that “human trafficking” was established to go after what is, at its core, a real and horrifying crime—the combination of kidnapping and slavery that mafias tend to consider the highest-margin way to operate brothels, factories, etc. If someone isn’t themselves doing the kidnapping, or operating the brothel, but is just, say, driving the kidnapped people around, we didn’t have a crime to charge them with and had to let them go, until we invented “human trafficking.” It was essentially a gang-busting crime, a way to put pressure on ground-level members to get them to give up their higher-ups. But now, basically everything related to the original intent seems to fall under the aegis of that crime†, and its scope has grown to the point that we’ve forgotten why we invented it.

† Probably because of motivated reasoning of statisticians working for the trafficking-related nonprofits. Sort of like the motivated reasoning of statisticians working for cigarette or sugary-cereal companies.
...which you can selectively serve only to the old browsers :)
Yes, I know companies but do that very well, but they are in France and work only in French. Distinctive features to look for : small companies (2-3 is best for their focus on you, 10 max) but it's just my opinion. Once they grow, they tend to lose their initial verve. It doesn't seem to scale well.
For smart speakers there is https://snips.ai/ (I think founder is HN user, but I might be wrong.)
Not sure about other smart appliances
> where the heck are these kids' parents?

What about the internet suddenly absolves the company from being diligent and responsible?

If this was shops selling alcohol & cigarettes to 14 year olds, would your response be "where the hell are the parents?"

Parents aren't going to monitor their kids 24/7.

> If your child is searching for adult partners, complete strangers, over the Internet, you as a parent have a lot to answer for.

I don't have children yet I think this is a very uninformed comment. Sexuality and attraction (and even more-so perceived attraction) are complex and multi faceted things so I think jumping to blaming the parents is _very_ simple minded.
Redux was the solution to server side rendering state.

If you don't use redux, then keeping state synced with a server side rendered application because nearly impossible.
If you have Javascript disabled, all you should see is a blank white screen, and if you're lucky a small note saying 'This site requires Javascript to work correctly'. That's what a SPA is
For me, there wasn't even an alternative library needed.

I mostly use setState nowadays and it's enough.
Error: variable "the platform" was used before it was defined (heavily implying she was on a dating site, not Instagram as was the case).

> Last month the BBC reported on the death of a 14-year-old schoolgirl who killed herself in 2017 after being exposed to self-harm imagery on the platform.
Sinks? What sort of waste???
Which is not an answer to the question the parent asked.
Russian islands declare emergency after mass invasion of polar bears
Ludwig, a Code-Free Deep Learning Toolbox