Better HN
topnewbestaskshowjobs
Log inSign up

sparks1970

202 karma · joined Mar 26, 2020 (6y ago) · 62 submissions

Submissions

comment 2y ago · link · parent

Harsh, but fair.

comment 2y ago · link · parent

Or be in the business of selling .ai domain names.

comment 2y ago · link · parent

Funny, Telegraph readers also seem to believe that the BBC can harmfully influence people's minds.

comment 2y ago · link · parent

Golang? Pretty easy to pick up coming from Python and proper concurrency.

comment 2y ago · link · parent

Reminds me of https://www.theguardian.com/world/2008/aug/17/thailand.famil...

comment 2y ago · link · parent

I came across this yesterday for golang: https://sqlc.dev which is somewhat like what you want, maybe.

Not sure it allows you to parameterize table names but the basic idea is codegen from sql queries so you are working with go code (autocompletion etc).

comment 2y ago · link · parent

Don't entirely disagree but the investigation of misgendering tweets most likely doesn't need anyone to actually leave a desk so a "thorough investigation" sounds like the police are doing a lot but really it's a bit of clicking and scrolling. To claim the same level of effort for an unexplained death would take a LOT more effort and expertise - but if (I don't know) they are weighted the same in crime statistics the police are going to go for these easy wins all day long.

comment 2y ago · link · parent

In the UK this was normal for IT (and other) contractors because there were tax advantages to the employer and to the employee/contractor. The employer could avoid paying National Insurance (social security) taxes of 10% as well as pension and sick pay contributions. The employee could pay themselves a small salary - enough to get social security benefits but be in the lowest or no-tax band and pay the rest as dividends from their limited company where tax was paid at a lower rate than income tax.

It was a good wheeze but some years ago the govt bought in legislation "IR35" which basically says that if it looks like a employment contract then it should be taxed like a "normal" employment contract.

comment 2y ago · link · parent

Whenever a search leads me to a question/answer on Quora I'm inevitably hit with a Sign In popup that blocks the whole screen. Feels obnoxious and I just back button away.

comment 2y ago · link · parent

While I don't disagree with the overall premise, Rishi Sunak has only been an MP since 2015 and this scandal has been going since 1999 so I am not sure the relationships you present:

Rishi Sunak -> Wife (Met 2004, Married 2009) -> Father -> InfoSys -> Fujitsu

Add up to any proof or even suggestion of corruption - just rich people know other rich people.

comment 2y ago · link · parent

What do you mean by "internal dialogue" here?

To me a dialog would mean some back-and-forth, some difference of opinion or two individuals sharing ideas that one side doesn't have.

Does your inner voice have autonomy, does it want things separate from what "you" want? Is it in any way "other" from you?

Apologies if these seem like dumb questions. I have never heard a voice in my head so it's a bit like a monochromatic person discovering people see in color, it just seems very strange.

comment 2y ago · link · parent

I can imagine these sounds but they don't have any audio texture - no volume, no tone. At the same time, if I imagine a large bell and a small bell ringing then there is a difference but its like reading "BONG!" and "ting" (which for me also has no audio).

Can you sing in your mind? I can represent the words and I can recall the tune so I can represent the words at the correct pace to match the tune but there is no audio so it's a bit like subtitles.

comment 2y ago · link · parent

Same here.

This video was interesting to me: https://www.youtube.com/watch?v=dNQyubd9ARc&t=60s in it you are asked to shout "I like crickets" <In your mind> and then to whisper "I like crickets" again, in your mind and not out loud.

The presenter then claims, "The volume is the same because you can't change the volume of the voice in your head, only the tone and pitch."

My experience of trying this is that I can produce the phrase "I like crickets" in my mind but I have no conception of what it means to "shout" or "whisper" this in my mind and the idea that there is tone or pitch to the representation is meaningless to me.

I can think in words so that I can prepare to write something (like this) but there is no audio. I'd say it's more like a stream of words on a screen except that there is no screen, it feels more like a buffer. The experience is the same as reading to me, no audio, just a stream of words.

My partner says she hears her own voice in her head and it's quite critical, prompting her to action. I feel motivation to do things but there is no voice.

Can someone report on their experience with the crickets experiment above, do you hear a voice, can you change its volume or tone?

comment 3y ago · link · parent

My Grandfather lost a leg to a motorcycle accident in 1944/1945. He was riding the while line past a military convoy in the UK as a dispatch rider when unfortunately he met someone doing the same in the opposite direction.

He had a succession of prosthetic legs, the technology was always improving but one thing he said never changed: The clinics were always full of lads in their late teens. Year after year.

comment 3y ago · link · parent

Maybe it's a small thing, but Wilson uses the adjective "wrecked" where the other translators use "sacked" or "plundered".

If that kind of loss of fidelity/nuance is typical of the translation then it's not for me. Maybe I misunderstood and this translation is intended as an easy-reading introduction for readers with reduced vocabularies?

comment 3y ago · link · parent

I also feel that generating HTML from string templates is wrong because its so fine-grained. We use a lot of boostrap and its verbose, repetitive and hard to keep standardized using string templating.

Recently I did an experiment in python using the XIST library for generating HTML vs a Jinja2 template. Things I found:

1. The XIST approach was 10x slower, probably related to XML serialization vs string building with Jinja2

2. Although an HTML template looks a bit like a set of nested functions (like the lisp people say it is) you actually end up wanting to pass context deep down the call tree. For example. You end up adding parameters to all the parent functions or you pass in a "context" dict which makes it hard to see what is actually being consumed from the context and by what.

  def make_header(user) -> html.Div: <-- user passed
     return html.Div(
        make_logo(),
        make_user_section(user) # <-- so this can use it
     )

This might not seem that different from normal programming but html-as-functions can mean you end up with a very deeply nested call stack with each function a thin wrapper around the next (Russian Doll programming) passing parameters down and down and down.

3. As demonstrated by the example above, instead of a set of "what you see is what you get" html strings you end up with a lot of component/function calls which actually make it hard to correlate what is rendered and sent to the browser vs where it came from.

I still like the idea of saying button(icon="plane", text="Book ticket") vs 3 lines of html, and the idea of getting type checking on my html generation functions but this experiment put me off it.

comment 3y ago · link · parent

+1 for the additional information. Also, nice username, upvoted.

comment 3y ago · link · parent

A good book which addresses the perception that "possessions are a projection of my true self" but it lost me when the author describes limiting himself to a single towel to both dry himself out of the shower and to dry dishes...

comment 3y ago · link · parent

I think Jesus Mouse was onto something. I've been to the Vatican. I don't think Jesus would have been impressed.

comment 3y ago · link · parent

Don't get involved in company Patent applications.

comment 3y ago · link · parent

Thanks for the link that leads to: https://medium.com/@andrewjrogers/the-story-of-builtwith-e3b...

Main thing that comes out of it is "focus". Focus starts to dissipate the larger the team. I don't think focus will guarantee you success (you could be focused on the wrong thing) but I don't think you can be successful without it.

comment 3y ago · link · parent

Thanks for clarification.

comment 3y ago · link · parent

But the rest of the quote is "....and unto God the things that are God's". Context is rather important. Jesus (reportedly) says this to avoid speaking out against the tax which would have got him in trouble with the authorities but he's also making a point about the material vs spiritual which I think has some worth even to an atheist like me.

I'm not sure why I'm making this defence of Jesus. I don't think he existed but your statement seems designed to paint Jesus as a supporter of tyranny which I don't believe follows from the quote and its context.

What his "followers" have gone on to do? Heinous, reprehensible, appalling. No question.

comment 3y ago · link · parent

I have used an old ipad as a streaming deck using UpDeck. Very useful for recording. I use it for training videos for our product and it's really handy for moving between OBS screen layouts (switch your recording headshot from left to right etc)

https://8up.uk/

comment 3y ago · link · parent

My takeaway: Death is a feature not a bug. The alternatives are much worse.

comment 3y ago · link · parent

Who are these productive outside entities who's capital is being violently extracted and why is this system (whatever it is) coming to an end?

I'm genuinely interested but you don't support your assertion with any evidence.

comment 3y ago · link · parent

Try breaking it up into small steps. I procrastinate about doing my tax return all year but I "tricked" myself into doing it earlier this year by telling myself "I'm not doing the tax return now, all I'm doing is finding my employment records."

Finding those records was easy, energized by that easy win I picked another easy task, "I'll get together my bank interest statements" and in a couple of hours I was done.

Maybe this could work for you.

123