HackerTrans
TopNewTrendsCommentsPastAskShowJobs

joncfoo

no profile record

Submissions

.INTERNAL is now reserved for private-use applications

icann.org
563 points·by joncfoo·2 năm trước·278 comments

comments

joncfoo
·5 tháng trước·discuss
Be nicer. You could’ve sufficed with:

> It's good that they've added an option to disable them for those who don’t want to use or see them.
joncfoo
·11 tháng trước·discuss
Doesn't seem to be up =\
joncfoo
·11 tháng trước·discuss
A sick man died enroute to visit a chatbot which fed him a false address as its own. Meta needs to be held accountable.

We need better regulation around these chatbots.
joncfoo
·2 năm trước·discuss
That is slick. Offline first in the truest sense.
joncfoo
·2 năm trước·discuss
Unfortunately login.gov is only available for use by companies doing business with the US government.
joncfoo
·2 năm trước·discuss
[...] the Board reserves .INTERNAL from delegation in the DNS root zone permanently to provide for its use in private-use applications. The Board recommends that efforts be undertaken to raise awareness of its reservation for this purpose through the organization's technical outreach.
joncfoo
·2 năm trước·discuss
It already contains extension support (not sure why it's not prominently mentioned in in their docs though).

The built-in ones are here: https://github.com/zed-industries/zed/tree/main/extensions. There are others outside the main tree as well, all of which are accessible within the app.
joncfoo
·2 năm trước·discuss
> The recall involves all 3,878 of the aesthetically-divisive angular trucks that have been sold so far.

https://www.npr.org/2024/04/19/1245849907/tesla-cybertruck-r...

> That means the 3,878 trucks being recalled are likely many, if not all, of the trucks now on US roads.

https://www.cnn.com/2024/04/19/business/tesla-cybertruck-rec...

----

A couple of sources.
joncfoo
·3 năm trước·discuss
Have you come across sqlc? https://docs.sqlc.dev/en/stable/

It gets rid of the crufty parts of DB interaction with Go.
joncfoo
·3 năm trước·discuss
This is really neat! I'm going to take it for a spin in a simple CRUD internal app.
joncfoo
·3 năm trước·discuss
1. I froze during a whiteboard interview where I was asked to pretty print a tree in front of two people. Performance anxiety made me implode and stumble so much that I failed to implement basic recursion :')

2. I froze again during a live coding interview when I was asked to correct code under test for a coin change problem. I couldn't get over the fact that someone was judging me based on what they were seeing live and I messed it up so badly that I told them I'm not good at live coding and left it at that >_<

FFS after ~15 years in the field having worked on firmware all the way up the stack one would think I'd be great at throwing out solutions to trivial problems off the top of my head...nope not my brain :D

I've found for myself that there's a massive difference in how someone approaches live coding. If it's a colleague or even my entire team I know that we are doing this together because we have a common goal and will support each other...unlike in an interview where it's set up to be antagonistic and that throws me off completely.
joncfoo
·3 năm trước·discuss
Next thing you know each wasm assembly will need a package format to ship assets with and have the app server provide common resources to all assemblies, e.g. db connection pools, some notion of security, etc.

Replace Wasmer with the a JVM-based app server and WASM assemblies with JVM-bytecode. The big difference is the source language doesn't matter as long as it's able to be run/replaced by WASM bytecode.

We're heading in circles in a lot of ways
joncfoo
·3 năm trước·discuss
> Some of this is probably going to have to be done in your application...

FWICT tableflip does exactly this: https://github.com/cloudflare/tableflip
joncfoo
·3 năm trước·discuss
Rough psuedocode to do this with the built-in http.Server where startServer(..) would use the reuseport library to create the listener so multiple servers can listen within the same process:

  func reloadConfig(config) {
    if newServer, err := startServer(config); err != nil {
      // gracefully shutdown previous server
      // no new connections will go to old server
      oldServer.Shutdown(...)
      oldServer = newServer
    }
  }
joncfoo
·3 năm trước·discuss
Assets of any kind can be embedded in the executable and accessed via the embed.FS interface. This makes it trivial to bundle up all dependencies if desired.
joncfoo
·3 năm trước·discuss
At $previous_job we shifted a large workload from Intel to Graviton which was projected to save ~$1.7m annually while keeping roughly equivalent performance (after some tuning).
joncfoo
·4 năm trước·discuss
In Firefox, type % followed by a space and you can then search tab titles and jump to a tab.
joncfoo
·4 năm trước·discuss
The virtual keyboard on the Treasury Direct login page is terrible, especially for those of us who use a password manager. I use the following bookmarklet that "types" each letter via the exposed JavaScript function on the page itself.

  javascript:prompt('treasurydirect.gov password please').split('').forEach(PasswordVK)
easy-peasy