HNHacker News
TopNewBestAskShowJobs

sparks1970

202 karma · joined March 26, 2020

submissionscomments
sparks1970··on Will we ever get fusion power?
Harsh, but fair.
sparks1970··on DBRX: A new open LLM
Or be in the business of selling .ai domain names.
sparks1970··on House passes bill to force TikTok sale from Chinese owner or ban the app
Funny, Telegraph readers also seem to believe that the BBC can harmfully influence people's minds.
sparks1970··on gh-116167: Allow disabling the GIL
Golang? Pretty easy to pick up coming from Python and proper concurrency.
sparks1970··on What Is WebTV?
Reminds me of https://www.theguardian.com/world/2008/aug/17/thailand.famil...
sparks1970··on Show HN: Sqlbind a Python library to compose raw SQL
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).

sparks1970··on A teen's fatal plunge into the London underworld
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.
sparks1970··on Ask HN: How many of you are self employed?
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.

sparks1970··on How Quora died
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.
sparks1970··on Post Office lied and threatened BBC over Fujitsu dev whistleblower
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.

sparks1970··on Inner Speech
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.

sparks1970··on Inner Speech
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.

sparks1970··on Inner Speech
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?

sparks1970··on Invisibility Training for Motorcyclists [video]
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.

sparks1970··on Review of Epictetus: The Complete Works
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?

sparks1970··on That people produce HTML with string templates is telling us something
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.

sparks1970··on The Social Experiment Is Over
+1 for the additional information. Also, nice username, upvoted.
sparks1970··on Ask HN: Something you’ve done your whole life that you realized is wrong?
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...
sparks1970··on A cab ride I'll never forget (1999)
I think Jesus Mouse was onto something. I've been to the Vatican. I don't think Jesus would have been impressed.
sparks1970··on Ask HN: Developers, how do you deal with socials, blogging, etc
Don't get involved in company Patent applications.
sparks1970··on Small Teams
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.

sparks1970··on ‘Wealth is a curse’: Hobby Lobby founder says he’s giving away his company
Thanks for clarification.
sparks1970··on ‘Wealth is a curse’: Hobby Lobby founder says he’s giving away his company
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.

sparks1970··on Ask HN: Best Uses for Old iPads?
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/

sparks1970··on Peter Norvig critically reviews AlphaCode’s code quality
My takeaway: Death is a feature not a bug. The alternatives are much worse.
sparks1970··on The strange case of Britain’s demise
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.

sparks1970··on Ask HN: How to do that you need to do but not motivated at all?
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.

sparks1970··on Breaking up with JavaScript front ends
Qooxdoo: https://qooxdoo.org/

It's a no-html, widget only web framework that's been going for at least 10 years.

sparks1970··on Pimp My BBC Micro
Likewise. I owe a lot to the BBC micro.

A few years ago UK schools were flooded with BBC:Micro Bits - everyone in my son's year-group received one.

I think the idea was similar, seed a new generation with technical know-how. I'm not sure if it will work this time - I guess we will have to wait and see.

sparks1970··on Facebook's TikTok-like redesign marks sunset of social networking era
You forgot the part where after 2 years they are shown the door but with a huge payout and glowing references ostensibly because "We don't want to ruin their careers" but actually: We don't want the market to know we hired this idiot and it took us 2 years to work it out and we don't want to be sued by their high-priced lawyers.

Then they take their "success" to the next company and the cycle repeats.

Page 1 of 2Next →