HNHacker News
TopNewBestAskShowJobs

jerry40

64 karma · joined September 2, 2015

https://github.com/jerry40
submissionscomments
jerry40··on We use too many damn modals (2018)
Oh I thought the subject is about the modal verbs
jerry40··on Unix System Programming with Standard ML (2001) [pdf]
Somehow I have an impression that I tried something and could not repeat it in SML/NJ. I can recall it was about streams and lazy evaluations, but now I think that I just misused Lazy lib since I haven't used SML for a while. So this is getting easier, great, thanks! :)
jerry40··on Unix System Programming with Standard ML (2001) [pdf]
Oh yes, and I can remember the episode when he jumped while explaining some idea in order to make this moment unforgettable. Shame on me, I forgot what idea it was but still remember his jumps :)
jerry40··on Unix System Programming with Standard ML (2001) [pdf]
Few years ago I took a course by prof. Dan Grossman on Coursera, there was a part about SML and I so liked it (the language and the course). Now I want to read Okasaki's "Purely Functional Data Structures" book and try to reproduce the code examples in SML.
jerry40··on Friends of Vast Industrial Concrete Kafkaesque Structures
Is it a place from this episode of the 'Terminator 2' movie?

https://www.youtube.com/watch?v=kwMMpmaQPPA

jerry40··on Instacart paying 80 cents an hour because worker received a large tip
What if a tip amound exceeds a worker's payment amount? Will they demand from the worker to pay?
jerry40··on Blowing the Dust Off of an IBM AS/400 Server
I used DB2 hosted on AS/400 at my previous job 4 years ago. I'm sure it is still in use. (the application is quite important for that company)
jerry40··on Nevergrad: A Python library for performing derivative-free ML optimization
Also 'grad' means 'a town' in Russian (example: Leningrad). So I can read it either Neverton or Nikograd.
jerry40··on Advent of Code 2018
How is it going? FOr advent 2018 I use scheme but after 4 stars I think that kdb+/q actually quite suitable for such kind of tasks (at least so far). I'm not very good at it but now I'm thinking about trying to redo the exercises in it.
jerry40··on How to balance full-time work with creative projects
I consider freelance as a side project (miserable, I know) and I'm able to devote ~15 hours per week to it. Plus I take several hours for English, coursera and functional programming exercises.

My next goal is to leave my job (it takes 11 hours per day including commute and lunch time) - it will free ~2.5 hours a day! So actually freelance is a side project which should help me to say goodbye to my full-time job.

jerry40··on The strange postulated link between the human mind and quantum physics (2017)
As far as I understood the article, there is a possibility that our brain can choose one of experiment's outcome. So basically we do not change the outcome, but select one of possible options. And we continue living in that chosen reality after the choice.
jerry40··on The strange postulated link between the human mind and quantum physics (2017)
So we have several facts:

- your attention can change an particle's experiment outcome (you choose future)

- we see quantum effects on tiny particles only

- perhaps gravity makes quantum effects for "heavy" objects impossible

Which leads to an idea that actually all objects have quantum effects but someone watches for all objects in the universe and makes choices (chooses future) ahead of us. And apparently we can feel his attention as gravity. But his wathcing power is restriced and he/she/it can't watch every particle in the world.

So to see the quantum world and to say hello to the god we should overload his attention with DDOS attack (perhaps Babylon tower experiment was about this).

jerry40··on Glory Days: Adam Zamoyski's “Napoleon”
I understand your point of view. Of course I simplifed his reasons too much. But still, I have strong impression that he was too 'romantic' and passionate to be a winner who would remain in the history of mankind as one of the greatests rulers. His war in Russia was unbelievably daring plan, for example. Did he just want to be equal to Batu khan and others who had taken Moscow too? I would not be surprized at all. Again, it is just my personal impression, it can be far from reality of course.
jerry40··on Glory Days: Adam Zamoyski's “Napoleon”
Sounds quite cynical considering hundreds of thousands of soldiers and civilians who have died because of Napoleon's ambitions.
jerry40··on Colonial violence came home in the First World War
Also I hope couple of the oldest european historians can remember that little country on the East, I forgot its name...
jerry40··on [dead]
I completely agree it is ok to hear strange jokes and not to be offensive. But to hear 'if you can not handle a Monty Python reference maybe you shouldn't contribute' is too much for me.
jerry40··on [dead]
Can you imagine that there are people who did not watch Monty Python at all? I know it is not always easy for a western person to accept a fact that there are different cultures around the world.
jerry40··on Upwork Freelancers Who Want Guaranteed Pay Have to Opt in to Tracking Software
Do not forget about Upwork taxes:

Specifically, Upwork charges the freelancer a fee of: 20% for the first $500 billed with the client. 10% for lifetime billings with the client between $500.01 and $10,000. 5% for lifetime billings with the client that exceed $10,000.

jerry40··on Upwork Freelancers Who Want Guaranteed Pay Have to Opt in to Tracking Software
It is risky to dump a client since the client can easily spoil your rating on Upwork.
jerry40··on How I slashed a SQL query's runtime with two Unix commands
As far as I understand, 'project_commits' and 'commits' have one-by-one relationship (project_commits.commit_id = commits.id). From my point of view it is a strange design since they could just add 'project_id' column into 'commits' table. 'project_commits' table seems to be redundant here.

I'd write this query:

    select pc.project_id, date_format(c.created_at, '%x%v1'), count(*)
    from commits c
        join project_commits pc 
            on c.id = pc.commit_id
    group by pc.project_id, date_format(c.created_at, '%x%v1')
And I'd use left join only at the stage when it is needed to join 'projects' dictionary with the result of the query.
jerry40··on A Pamphlet against R: Computational Intelligence in Guile Scheme (2016)
I've written a jupiter notebook kernel for Guile Scheme https://github.com/jerry40/guile-kernel , I wonder if it is possible to set up a dedicated server using Jupyterhub and made it public in order to make articles about Guile more 'live' and perhaps put SICP examples there but I have no experience in this matter. If anyone give a piece of advice to me, I will be grateful.
jerry40··on Elon Musk emails employees about 'extensive and damaging sabotage' by employee
But the words order is unambiguous (for me at least). I need to read about this topic more closely though.
jerry40··on Elon Musk emails employees about 'extensive and damaging sabotage' by employee
I'm still not sure. I discussed this topic with my English teacher (he's from the UK) yesterday and he does not like how this phrase looks either.
jerry40··on Elon Musk emails employees about 'extensive and damaging sabotage' by employee
Thanks! I was afraid it was yet another tricky English rule.
jerry40··on Elon Musk emails employees about 'extensive and damaging sabotage' by employee
> As you know, there are a long list of organizations that want Tesla to die.

Is it correct to use 'are' here instead of 'is'?

jerry40··on A new experiment hints at surprising hidden mechanics of quantum superpositions
> Superpositions do not collapse by being observed by a human, they collapse by interacting with the rest of the world.

But the article says: "Measuring which slit such a particle goes through will invariably indicate it only goes through one—but then the wavelike interference (the “quantumness,” if you will) vanishes. The very act of measurement seems to “collapse” the superposition." "Aharonov’s approach is called the two-state-vector formalism (TSVF) of quantum mechanics, and postulates quantum events are in some sense determined by quantum states not just in the past—but also in the future. "

Doesn't it mean that future measurement 'pushes' superposition into a definite state in the past?

jerry40··on A new experiment hints at surprising hidden mechanics of quantum superpositions
Does it mean we can create some machine (let's call it timegraph):

- before some sport event (NBA finals 7th match) we write a question 'who will win, A (1st team name) or B (2nd team name)?'

- do 2 experiments with photon and slits:

* (A)

* (B)

- do not measure their results until tomorrow

- tomorrow (after the match is over) you measure result of the experiment of the team that won and destroy results of the another experiment

- (returning to the previous day): look which experiment shows inteference and which doesn't

jerry40··on How to deal with developers who lack standards?
Why do they remove comments? Do they delete commented code or textual comments?
jerry40··on Ask HN: Anyone designs financial engineering tools as a hobby?
Yes, I agree. Sometimes there were so tricky cases that it was impossible to explain why that tool matched those deals.
jerry40··on Ask HN: Anyone designs financial engineering tools as a hobby?
It is the interesting idea to make this tool as generic as possible! Like a framework for matching different types of events based on some rules + a visual explanation for any chain of matched events. Perhaps I should think about this idea. Thanks!
Page 1 of 4Next →