HNHacker News
TopNewBestAskShowJobs

dpweb

2,217 karma · joined January 18, 2013

submissionscomments
dpweb··on An argument for a return to Web 1.0
There needs to always be a place for anonymity, but I’d argue not in all forums.

Words have impact. I’d love to see some foundation or something to work on the problem of toxicity/hate. Develop technologies to allow sites to better police against it, detect bots trying to incite, etc..

Of course, you have to draw a line between free speech and hate speech but we already do that.

dpweb··on Stop Using JSON Web Tokens for Authentication. Use Stateful Sessions Instead
My toy projects I include the IP address in the JWT payload, so JWT is only good for that IP. I don't always see that in examples. Not sure any downsides of that (if client is rotating IPs or VPN I may be blocking them anyway). But seems consistent with cookie concept that a login is only good on that device.

I think its a debate. I like to keep the db clean of sessions but easy enough to keep in server memory if I down the server I don't mind making people login again.

dpweb··on Ask HN: Have you invested in self-development and done inner work?
Mid-life crisis is a real thing - didn't really expect it. But can be viewed in a positive way. Out of what can be a pretty terrifying psychological breakdown, can also be considered part of a process of evolution and discovery.

If you're perhaps grounded with the goal, I want to evolve into the person I really am, and should be. Remembering (or discovering) that most of what the world tells you and teaches you is just false. There are reasons why we want the particular things we want and upon deep examination those reasons may be found to be silly. This realization is heartbreaking cause then we feel we are past the mid-point - and have wasted our life!

But is a necessary step toward our real goal. It's a tough road, but I believe provides one more dignity than a lot of people's alternatives - numbing the pain with alcohol or drugs or chasing money or false idols so to speak. Not dealing directly with one's pain and difficult questions about oneself.

dpweb··on Killed by Microsoft
Still like/use MS Money. Strangely the lack of updates or support means nothing.
dpweb··on Deno Is Webby
Yes big fan of Workers and Cf. The only issue it was confusing tying the domain to the worker, but that was a few years ago - last I tried it a couple months ago seemed easier.
dpweb··on Deno Is Webby
I think the problem was/is a generation of inexperienced developers who were brought up on importing packages for padding a number. Thing that always struck me was how easy and free it was to publish.

Kinda fun to imagine a packaging system where you have to pay a very small crypto fee to publish. I'd bet less packages but more useful stuff on the whole.

dpweb··on Deno Is Webby
Efficiency seems to be a real priority w them. I like the simplicity in Deno Deploy also. You literally get a text box and just type in your cloud function. You don't have to install cli, set up tooling, for a quick try out.
dpweb··on Ask HN: As you get older, do you see programming as merely a means to an end?
For work stuff yes, personal stuff no. Although the personal projects are never finished so really have no commercial value - just the fun of doing them.
dpweb··on U.S. eliminates human controls requirement for fully automated vehicles
Granted there's a lot of hype and the tech is not there yet, but seems the tech absolutely can be developed.

As far as the safety, these things can be indemnified and that will pave the way. Don't see any problem insurers can price accidents and injuries from autonomous cars. Also certainly plausible they will be able to be made safer than human driven.

dpweb··on Ford to Impose Non-Negotiable Pricing on EV Sales as Part of Model E Plan
This seems good for Ford not necessarily good for prices. A customer order is lower cost to the manufacturer and dealer as the vehicle doesn't need to be in inventory.

Thus, you can sometimes get a lower price by ordering from the factory (dealer is passing along this savings) than buying from inventory. Not to mention this also eliminates price competition amongst dealers. Some dealers take a loss on sales to earn manufacturer incentives.

Service however is where they make money, and as time progresses and cars are more software based and self-repair becomes impossible - total cost of ownership goes up.

dpweb··on Self-host your static assets (2019)
Caching. That you control in code - not controlled by server headers which never worked reliably back to the earliest days. Already addressed in browsers in window.caches, serviceworker.

It's not so much you need JQuery version x cached from another origin, but once its loaded from your site, it never needs to be sent again. Heck you cache everything, or everything except index.html if you want to.

dpweb··on Tim Cook tells employees the return to offices will begin on April 11th
Not so much. Average house in Illinois about 350k. At that you pay about 10k property tax. Salt limit reached.
dpweb··on YouTube suspends The Hill for playing clip of Trump denying election results
> I think it's incredibly unlikely for the USA to become a dictatorship.

Yes but only until a violent event that strikes fear in the minds of the people. Then the government may convince people to give up their freedoms in the name of security.

I think the question is how dedicated are we to our values, not in good times, but in uncertain times.

dpweb··on Tim Cook tells employees the return to offices will begin on April 11th
People are leaving for FL and TX cause taxes you add in the salt deduction change its considerable. Have lived in FL TX and NY.

Add in weather and TX and FL are actually nice places to live for the most part.

dpweb··on Ask HN: Should I give up and get a job?
You could get the job to pay the bills and open source the project. Take just a little time each week to publicize it and find people willing to contribute. If it catches on widely you will be able to live off working it full time. If not, you still get to explore the problem and have fun with it as a hobby.

I can’t totally reconcile everyone’s advice to “just forget about the bs techie problem you’re solving” with the fact there are all these companies worth hundreds of millions, which if not well known, would seem like “techie tools with no market”. Postman, for instance.

dpweb··on Stop Putin, Block Russia from Swift
NATO is adversarial to Russia, so it shouldn't be NATO, but some entity should be brokering a deal here, not seeing much upside in escalating militarily or even banning Swift.

There's ultimately no war to be won against Russia, Putin knows this unfortunately, but that's what it is.

dpweb··on Explain the first 10 lines of Twitter's source code to me
I think I'd enjoy this interview, as I don't really like people watching me code.

But to have a discussion about quirky html history would be a fun (I think less stressful) way to spend the time.

dpweb··on A guide to IPFS connectivity in web browsers
What about upnp as an alternative to stun to achieve real p2p? You may need something native to setup but would not rely on a relay.
dpweb··on How relationship satisfaction changes across your lifetime
The relationship has to come first. It precedes the marriage and family, and I think societal norms are to put the children and the piece of paper first.

It's a living thing that needs to be fed, and when times get tough what do people often do. Stop being kind to each other, stop having sex, building resentment and accelerating the decline.

The goal is not to keep it together at all costs. The goal is to live an authentic life, and if that is going to be with a partner, don't lose sight of that fact it's the two of you that's important, not all the other stuff that comes along.

dpweb··on Server-sent events, WebSockets, and HTTP
These are all potential issues with plain sse, but are pretty easily solved in a few lines of code.

Granted the benefits of sse: no additional port to open, no dependencies - just slip your logic into your routing at /events. Of course this may not be important for some. Websockets are a good choice as well. I tend to id clients on ip address not connections however, depends on the specific app.

dpweb··on Server-sent events, WebSockets, and HTTP
Been on SSE since about 10 years ago, and seems a nice time to modernize and move to something that supports peer to peer (browser) and not just client server. Anyone using anything like that now?
dpweb··on Eric Schmidt plans to give A.I. researchers $125M
AI clearly a national security issue and I think big funding for both defense and science purposes needs to happen.

But wouldn't it be better for govt to act like a VC and fund tons of little startups and crowd source the new ideas instead of funding big-tech (who already have tons of cash from existing revenue streams), or AI shops that are already VC backed?

dpweb··on Server-Sent Events: an alternative to WebSockets
Very easy to implement - still using code I wrote 8 years ago, which is like 20 lines client and server, choosing it at the time over ws.

Essentially just new EventSource(), text/event-stream header, and keep conn open. Zero dependencies in browser and nodejs. Needs no separate auth.

dpweb··on Analog: A simple productivity system
Same concept maybe, I use emails as my todos and snooze them to popup at the right time. Inbox always at zero so its easy to see something I gotta take action on. Things will definitely get missed otherwise and my email is always with me.
dpweb··on Analog: A simple productivity system
In the past I'd eyeroll at $100 for some index cards, as something for the 20s/single/300k programmer crowd. But these look great I have to admit its tempting. I like 2 or 3 things on my desk MAX and it does matter those things are pleasing to look at 14 hours a day.
dpweb··on Fetch API has landed into Node.js
I been naming the files with .mjs file extension which allows import keyword and top level await. No special flags needed in the latest version. I use JS not TS.
dpweb··on Show HN: Hibiki HTML – New frontend framework – no scaffolding, no Webpack
Will certainly dig into this. Nice work.

Respectfully, I think we’ve reached max abstractions and tooling with react and various tools. Feels cumbersome like j2ee circa 2000.

I can see the “it’s JS without JS” concept. HTML is declarative. Why not get back to that by writing it in a text editor. Simple. This and the various new frameworks and lighter techniques I think will catch on over the next decade or so.

dpweb··on Divorce in the rich world is getting less nasty
Yeah, certainly not trying to bash lawyers. I'm a billable consultant myself. I don't think our lawyers were trying to do anything wrong.

This was the process. Exchange information, Negotiate, if negotiation fails - meet w judge for pre-trial opinion (what they would rule with current information). If still contested, Discovery building up to Trial.

If they were milking us, they'd be pushing for the trial, cause the discovery is the real billable hours killer.

But, I had to take the responsibility when it looks like the negotiation is going badly - let's get this in front of the judge NOW. Discovery/trial legal bills would have wiped out most of our assets at the time.

dpweb··on Crypto Crash Erases More Than $1T in Market Value
Love the technology, hate the greed
dpweb··on Divorce in the rich world is getting less nasty
Recently went through the process. Mediation is certainly cheaper and less adversarial but that requires both good faith on both sides, and the ability to work together. Which has already been demonstrated is a problem since the marriage is breaking up in the first place. Some divorces are going to have to be adversarial.

But, speaking as someone who had to pay both lawyers sides, and substantial alimony and child support. My best advice - get it over with as soon as humanly possible! Time is the enemy. Not X percent. Lawyers will take it all. You gotta treat it like your future is on fire.

I’d very much be in favor of mandatory pre-nups when getting married. We need to be grown ups and recognize at least half these marriages will break up. It would make the couple confront the possibility and have to state their expectations beforehand.

Prenups aren’t 100% but having gone through the process I saw. Legal contracts matter! This prob won’t happen cause it would also break up a lot of couples before the marriage but that would actually be for the best.

← PreviousPage 4 of 25Next →