News for hackers. Stuff that matters.

asurty

Re:HTML with Superpowers: An Introduction to Web Components on Tuesday January 17, 2023 @12:22PM (#34415401)
Thanks for taking the time to find/share these links! Very informative.

It sounds to me like most of the criticism's outlined are solvable. Perhaps the people behind the standard should be engaging the framework community more.

I wonder if you think web components (and the problem they set out to solve) is wrong from a fundamental/architectural standpoint?

Re:HTML with Superpowers: An Introduction to Web Components on Wednesday January 11, 2023 @04:47PM (#34345412)
Web components seem like a good idea to me. I would imagine there are a lot of libraries out there (eg/ calendars, styling frameworks) that would benefit from reuse across applications. The browser could cache it even if served from a different CDN.

I'm curious what the problems are with web components that you see? Is it specifically related to how they might be used (or useless) in the major frameworks?

Re:HTML with Superpowers: An Introduction to Web Components on Wednesday January 11, 2023 @10:30AM (#34339511)
That is cool, didn't realize that! I wonder why React lags behind ( ? )
Re:HTML with Superpowers: An Introduction to Web Components on Tuesday January 10, 2023 @08:59PM (#34334145)
IMO they are complimentary to react.

Frameworks like react/angular/backbone/vue solve the problem of creating a single page application with a nice architecture and sharing code between components within the SPA.

Web components solve the problem of sharing code between any application.

There are opportunities to share code (eg/ data binding) and I believe that is the case (they use the same underlying browser APIs where available)

A few years back I did something called 'master the mainframe' where they provided a TSO login for you on an instance running in one of their labs. They also provided you with a bunch of fun exercises to learn more about the system.

I think this is the equivalent - https://ibmzxplore.influitive.com/users/sign_in

Re:How to Sell Tickets Fairly on Monday November 21, 2022 @11:56AM (#33694791)
I love the idea of requiring the purchase of merchandise beforehand, although I'm not sure if this would only compound the problem of scalping. The problem with building moats is

a ) scalpers will write algorithms to predict where the moats are before fans can get there

b ) it discourages new fans getting into a band

Re:How to Sell Tickets Fairly on Monday November 21, 2022 @11:43AM (#33694606)
I think ticket master attempted to do something similar to what you were saying as mentioned in this freakonimics podcast -

https://freakonomics.com/podcast/why-is-the-live-event-ticke...

I believe the problem they cited with this approach is it provides a poor UX where someone would have to keep checking the site to see if the ticket price has hit their desired target.

It would also still leave room for bots front running although still a better solution since the effects are dampened. Still, it's a lot easier for a bot to watch for a 'good price' to come up than a 'true fan'.

Perhaps to get around that there could also be an ability to make automatic purchases for a user once the ticket price reaches desired target? Something like a batch auction that randomizes winners in a cohort might work.

There are also people working in this area that would like to simply prevent resales. The problem there is it also might discourage purchases since people might be more reluctant to make such a big purchase if there is no way to recoup their money in case something happens that prevents them from going.

Perhaps another alternative to discourage scalping is if there was an identity system that requires each ticket holder to prove their identity. That, however, would also decrease the UX dramatically and would be a tough sell. But maybe the time is right to make such a hard sell?

TLDR: band gaps are not for the feint of heard :D
I think the core ethos of the book is every negotiation is different and so each tip/technique is just that - a tip/technique you can add to your tool belt and use when the context lends itself to it.

The book also mentions anchoring should usually be avoided in negotiations and instead it recommends you focus on the non monetary value points each party can exchange.

There is actually a section on negotiating salary and IIRC it recommends you provide a range where the bottom of the range is where you are hoping to land.

So you are correct - I would never say in a salary negotiation that I need an exact dollar amount as it might make me love petty unless I prefaced it with 'I have a family to feed and a roof to put over our heads'.

Re:New fitness habits being created during Covid? on Tuesday August 11, 2020 @10:39AM (#24120708)
I have also been loving yoga on youtube! Its like going to a class except there is nobody to tell me how much my form sucks.

I've been thinking about writing an app to let me turn some of these follow alongs into an interval timer where I could just say the name of the pose (so I could do other things while doing the yoga). Then I could always click on the pose to go back to the video. Does that sound of interest?

Re:We quit our jobs to build a cabin on Tuesday August 04, 2020 @03:18PM (#24053499)
This is exactly why I decided against purchasing a cottage (thats what we call it up here in Canada).

I realized I would be spending at least 4 hours in traffic every weekend to double my house work.

Instead why not just put all that time in making my home in the city as habitable as possible?

Maybe some day but it would have to be a permanent and only residence.

Re:Music Grid on Saturday June 13, 2020 @04:49PM (#23512586)
That was fun! Somehow I feel like I came up with a tune that already exists - https://music-grid.surge.sh/#256-80-256-40-256-32-256-288-12...
Re:Finally, I Closed My LinkedIn on Thursday June 11, 2020 @12:48PM (#23490732)
I've been using it more to read Dalio's articles. Which makes me curious why he is using linked in and not just hire someone to set up a personal blog for him ( ? )
Re:I Don't Use Classes on Thursday March 12, 2020 @11:12AM (#22557683)
This reminds me of a podcast I listened to recently about creativity. Maybe its not about the idiomatic question of whether classes are good or bad but more about the act of placing the limitation that helps drive the masterpiece?

https://www.npr.org/transcripts/719557642

Re:To do better science, admit that you’re not objective on Tuesday March 10, 2020 @05:57PM (#22540218)
This reminds me of a first year engineering philosophy course I took where the prof spent a good chunk of it trying to tell us there is no such thing as 100% objective research then proceeding to tell us that our grades were 100% objective after people complained about divergence between course averages according to teaching assistants. :'D
Re:Facebook Still Tracks People on Yelp, Duolingo, Indeed on Wednesday March 06, 2019 @02:05PM (#19321607)
I also found typing "Fa.." became muscle memory. I found blocking it with /etc/hosts worked for me -

https://gist.github.com/thomasbilk/1506210/2d20f47bbcca75b2f...

[edit] I was thinking about redirecting to a google image search of cute animals wearing human clothes but after a few weeks of seeing 'this site can't be reached' my habit was successfully broken

Re:F.C.C. Repeals Net Neutrality Rules on Thursday December 14, 2017 @02:17PM (#15925813)
Perhaps this will only spur the global do gooders of the world to come up with better (more permanent) solutions for promoting privacy, free speech and innovation.

As a reader of HN I feel like there is already great work being done here (eg/ lets encrypt).

ahem pineapple fund, if you are a real thing, maybe you can put something under EFF's tree for xmas?

Re:CHVote: Open-source e-voting system from Switzerland on Wednesday December 14, 2016 @01:50PM (#13178574)
The beauty of having an open source solution is smart and rational people from across the political spectrum can work together on something that everyone agrees is a 'correct' voting system.
I hope the title for this link is not misleading. I'm genuinely curious of the answer and hope people read the full article.
Re:Slack may regret its letter to Microsoft on Thursday November 03, 2016 @12:54PM (#12865684)
Microsoft has lost my trust in them after what happened to me with Skype. I was one of the many victims who had their account hacked. The worst part was how their customer support handled the issue. They almost gave me an ulcer by trying to convince me that it was probably a virus on my computer causing the problem. Look at your own Skype forums people! Be transparent, own up to having problems, and fix it!

Communication is extremely important to me. That said, if all the employees in my company were only using 'Teams', 'Skype for business', 'Lync' or any other POS out of Microsoft then I'd be looking for a new job.

is this available as a podcast?
Re:G is for Google on Monday August 10, 2015 @09:42PM (#10038641)
Is it me or is alphabet.com timing out? Can't wait to see what they put up there. :D
As an old high school friend of Kaz I can say his last name is not spelled "netajian" - is that on purpose?
Re:CSS is unnecessary given a layout language on Friday July 04, 2014 @09:43AM (#7988678)
My concern with people rolling their own layout engines is that they are reinventing the wheel (for the most part). Diverging from standards means learning how to do something I already knew how to do.

Extending CSS with things such as LESS and SASS means I don't have to relearn everything. I just have to learn about the new features that actually bring something to the table.

Re:Sherpas, Death, and Anger on Everest on Thursday April 24, 2014 @09:32AM (#7640117)
Why don't the sherpas form a union?

Older »