291 karma · joined Oct 27, 2009 (17y ago) · 123 submissions
comment 6y ago · link · parent
tldr; if it is sealed, do not worry about it. If not, be upfront as soon as possible.
Call the court clerk in the county the record is sealed in and confirm the record is sealed; If so, when a court researcher searches for the record, it will not appear and not be reported by the CRA (Consumer Reporting Agency is the technical term for a background screening company).
If you have never lived or worked in this county, it may never be searched.
If somehow the county reports the record and it is sealed, and the employer does not hire you because of the record, the employer has to do what is called the adverse action process, which gives you an opportunity to dispute the information before taking final action. During this time, you can have the CRA remove the record.
Enjoy hacking away at a FAANG!
comment 6y ago · link · parent
comment 6y ago · link · parent
<script>
import RedThing from './RedThing.svelte';
import GreenThing from './GreenThing.svelte';
import BlueThing from './BlueThing.svelte';
const options = [
{ color: 'red', component: RedThing },
{ color: 'green', component: GreenThing },
{ color: 'blue', component: BlueThing },
];
let selected = options[0];
</script>
<select bind:value={selected}>
{#each options as option}
<option value={option}>{option.color}</option>
{/each}
</select>
{#if selected.color === 'red'}
<RedThing/>
{:else if selected.color === 'green'}
<GreenThing/>
{:else if selected.color === 'blue'}
<BlueThing/>
{/if}comment 9y ago · link · parent
psql is great for inspecting schema and running ad-hoc queuries. SQL scripts can also be piped through it for cron-sql jobs etc.
pg_dump + psql + ssh to easily copy databases between hosts
pg_bench for benchmarking.
Lots more: https://www.postgresql.org/docs/current/static/reference-cli...
comment 9y ago · link · parent
No BS or bad vibes; Just real peeps writing code and having fun doing it and always looking to add great people to the team because the demand is high and experienced talent is in short supply.
comment 9y ago · link · parent
We just interviewed a PM from HPE and to our surprise, he makes ~$180k a year. We hired an awesome candidate for $80k.
comment 9y ago · link · parent
Except, we use postresql's LISTEN/NOTIFY which amazingly is also transaction aware (NOTIFY does not happen until the transaction is committed, and even more amazingly, sorta de-dupes itself!) to move the jobs from the database to the message queue.
This way we never lock the queue table. We run a simple go program on the postgresql server that LISTEN's, queries, pushes to REDIS and then deletes with a .25 second delay so we group the IO instead of processing each row individually.
This also allowed us to create jobs via INSERT FROM SELECT, which is awesome when your creating 50k jobs at a time.
comment 9y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
Are there many winners with this model to name. Maybe NGINX, MongoDB?
comment 10y ago · link · parent
comment 11y ago · link · parent
https://github.com/elixir-lang/elixir/blob/v1.1/CHANGELOG.md https://github.com/phoenixframework/phoenix/blob/master/CHAN... https://github.com/elixir-lang/ecto/blob/v1.0/CHANGELOG.md
comment 11y ago · link · parent
comment 11y ago · link · parent
For example, I have a system in Go that uses redis to pull jobs, each process I spin up uses a buffered channel allowing 20 concurrent requests. I looked at elixir because I liked having a the process isolation and the dynamic nature of the language (the jobs scrape data from the interwebs), but I couldn't find a simple way to distribute jobs to nodes unsuring each node is capped at 20 concurrent jobs.
comment 12y ago · link · parent
comment 12y ago · link · parent
comment 12y ago · link · parent
This package understands HTML, CSS, JavaScript, and URIs. It adds sanitizing functions to each simple action pipeline, so given the excerpt
<a href="/search?q={{.}}">{{.}}</a>
At parse time each {{.}} is overwritten to add escaping functions as necessary. In this case it becomes <a href="/search?q={{. | urlquery}}">{{. | html}}</a>
.comment 12y ago · link · parent
type Repository struct {
Name string `json:"name"`
Description string `json:"description"`
Private bool `json:"private"`
}
// response to blog post https://willnorris.com/2014/05/go-rest-apis-and-pointers
type RepositoryPatch struct {
Repository
patched_fields []string
}
func (rp *RepositoryPatch) SetPrivate(private bool) {
rp.patch_fields = append(rp.patch_fields,"private")
rp.Private = private
}
func (rp *RepositoryPatch) MarshalJSON() ([]byte, error) {
// marshal rp to []byte then unmarshal to map[string]interface{}
// filter patched_fields and then marshal again
// ;)
}comment 12y ago · link · parent
Also, I tried the uuid extension once... It is not well supported, had to make a small change to a c header file to get it to compile on ubuntu, for dev on os x I think I gave up.