HNHacker News
TopNewBestAskShowJobs

a-saleh

974 karma · joined February 2, 2014

submissionscomments
a-saleh··on Intermittent fasting works – not only for weight loss but also for heart health
Damn you paywall, I did wanted to read this! :D

I am not certain how generalizable this is. Because this sorts of diet research relies most often on self-reporting, I mostly read it by prepending 'People exist for which ...'. And that is good to know, and hopefully they are not outliers by too much, but it probably won't be silver bullet for everybody.

I.e. I remember hearing two twich streamers talk about their diets an one said how she really enjoys intermittent fasting, while other mentionsh how he needs to eat something at least every four hours, or he literally sees his apm in Starcraft drop :D

a-saleh··on Amazon refuses to sell book on Covid-19 and lockdowns
Ok, then that is the exact thing where you misunderstand.

The mask is not protecting you. It is protecting others from you.

If you were right, and wearing masks badly would have been worse than not wearing them at all (i.e. w.r.t. touching your face and all that), then countries that opted for mandatory mask wearing would be worse off and they aren't.

Related: https://www.preprints.org/manuscript/202004.0203/v1

a-saleh··on Amazon refuses to sell book on Covid-19 and lockdowns
I'd say the condom analogy is great, and with R around 3, reduction in transmission beyond 70% means the damned infection rate grows no more.
a-saleh··on Amazon refuses to sell book on Covid-19 and lockdowns
1. https://www.researchgate.net/publication/340603522_Face_Mask...

2. factually, several countries used masks as primary means of reducing transmission, including Czechs, Slovaks, Austrians, e.t.c. ... the sense of protection comes from seeing everybody else have mask

* clothmasks are enough, no need to stress about single-use disposable surgical masks

a-saleh··on Ask HN: What is the cheapest way to make a website?
I use netlify. Server static pages, has good integration with lets-encrypt and even supports the 'point me to a github repo and I will rebuild for you' workflow. I am in the free tier, and there is no hchance my blog would ever get out of it (unless the free tier gets nixed)

For static sites you can emulate this workflow fairly cheaply, from github-pages, to serving with aws s3, or simmilar (I have an abandoned blog on s3 and pay ~cents a month, but I never fully grokked aws pricing)

If you need people that wouldn't edit text/markdown/html directly, there are even git-based cms, that can abstract away the dev-friendly 'edit text, commit, push to repo' to more user friendly 'login somewhere and click a button to change content'.

a-saleh··on J for C Programmers
Damn it, I thought this wasn't a joke!

I did enjoy fumbling around in ike [1], a javascript-based K playground :-)

[1] http://johnearnest.github.io/ok/ike/ike.html

a-saleh··on Man behind Sweden’s controversial virus strategy admits mistakes
I think the point is to find a point.

I.e. I was watching with some degree of unease how some of our official in Czech Republic seem to have had a bit of a power trip with closing the borders, e.t.c.

Fortunately that seems to be over, with restrictions on travel to bordering countries being slowly lifted.

Now it seems, that just wearing masks in shops and public transport should be enough? Accompanied with remoting where possible? I.e. there are no more spikes, and we have had preschools and pubs open for two weeks already.

a-saleh··on Simplifying Board Games
I do simmilar things :-)

I.e. have been playing Carcasone when my was 4y, we just didn't play with the 'farmer' or we played KingDomino, and she just didn't have to adhere to the rule that your kingdom needs to fit 5x5 grid.

a-saleh··on Simplifying Board Games
I think it is kind of "to each of their own" :)

I.e. sometimes I am really in the mood of having 40+ little colored cuber in neat stack on my table ... other times I just want to sit around the table and insists that I am not the Mordred/Hitler/Werewolf ... the other guy is :-)

I.m.o. Mage Knight doesn't really attempt a D&D ... more of a simplifies Heroes of Might and Magic ... but then he goes and invents Galaxy Trucker and Code Words :D

I remember meeting Vlaada Chvatil when he was designing the boardgame port of Factorio and some of his friends were kinda dunking on him along the lines of "Nice game, but don't you think it would be better as a strategy on a PC" :-D

Usually use Shut Up and Sit Down as my recommendation engine, because while they can really appreciate a good mechanic, they seem to be most of the time in the theme over complexity camp :-)

a-saleh··on Ask HN: Is your employer paying for your new office space, your home?
On the bright side: * no pay-cuts, all the benefits are still there * the mandate to have at most one day W.F.H. a week will probably be relaxed even after this is over * we have one time allowance of a low-ish sum to get some gear sent home (mostly would cover keyboards/mice/headphones) * managers are fine to approve more * everybody is understanding of the lower productivity

On the less positive: * no monitors? * we still pay for the big empty office * paying for rent is not really an option?

a-saleh··on Ask HN: Who regrets choosing Elixir?
I think one approach when choosing more niche language might be, first look for a book like https://www.erlang-in-anger.com/, read through it and consider, if this is the sort of stuff my colleagues will want/be capable to deal with.

Then consider how hard it would be to get more people that have used such language/ecosystem in anger.

a-saleh··on Ask HN: Who Regrets Choosing Clojure?
I used it ~7 years ago, and loved it.

Our manager loved it much less, because the ramp-up to productivity was around a month for people not familiar with the language, so after our tech-lead left for another project, we spent six months rewriting the thing in python :-/

a-saleh··on What is the “smart programmer” language in 2020?
I.d.k. I would say choose your language based on the community and the problem you are trying to solve.

I.e. my next team project that won't be in Python would probably be in Rust, as other colleagues are pretty excited about it.

My personal stuff might be something a tiny bit more obscure, i.e. Haskell, Ocaml, or even some APL dialect.

a-saleh··on Ask HN: What's your quarantine side project?
Well, for me a big part was "I finally can buy myself the lego-robot my parents never bought me because it was too expensive" .

The fact that my 5 year old likes to build lego and is interested in robots is a nice bonus :D

And if your five-year old is anything like mine, brace yourself for the noise it can make :-) (most programming she is doing on her own are the embedded activities that produce music, sounds, e.t.c.)

a-saleh··on Ask HN: What's your quarantine side project?
Mostly trying to get my 5 year old into some light programming :D

- I bought her Lego Boost (well, mostly myself, but we still have fun with it) and she is getting better at actually programming it

- I installed scratch junior on the chromebook she's been using (nice for mostly lightly interactive animations), we wen't through few of the work-assigments and she likes to fiddle with the included project-samples

a-saleh··on Ask HN: No formal software education – is there hope for me?
Can speak for my employer.

At RedHat, we mostly don't care, if:

a) you still are a student of at least a vaguely relevant field (we had someone from Linguistics, I'd think Mechanical Engineering bachelor is fine)

b) you have some relevant experience (i.e. I had 2 years as a sysadmin on friends projects?)

c) you don't need the degree for employability (i.e. we had people needing degrees for visa purposes, but you have bachelor's so that is fine)

So, you should be fine. Ask friends for entry-jobs, or start building a pipeline for consulting projects.

a-saleh··on Lithuanian capital to be turned into vast open-air cafe
I.d.k. around here we have sworn by a good network of buses and trains. If I feel trapped I hop on the train, in an hour change to a bus, and I am in the middle of nowhere.
a-saleh··on Psychological techniques to practice Stoicism
Just beware you actually practice stoicism, acceptance and the good stuff and not just dissociation ;-)
a-saleh··on Why are Soviet math textbooks so hardcore in comparison to US textbooks? (2017)
Yes, I agree it can work out fairly well :-)

On the other hand, I have seen a prof. literaly say something along the lines "Dear students, my purpose here is not to teach you anything, just weed out 50% of you"

a-saleh··on Why are Soviet math textbooks so hardcore in comparison to US textbooks? (2017)
Interesting, universities in Czech republic went through a simmilar scheme, but they'd get disproportionately more funds per head-count of first-year students (on-boarding, I guess?)

Several universities switched from entrance exams to a system of "Everybody gets in, it is the first semester that will probably kill you" :-)

a-saleh··on Ask HN: How to rediscover the joy of programming?
For me, learning a new language in a confined setting helps.

I.e. some time ago I discovered https://github.com/janestreet/learn-ocaml-workshop and I blasted through the exercises and it was fun :-)

a-saleh··on Ask HN: E-ink reader supporting RSS?
Not more than the custom shell or slow refresh-rate :-) But that is E-ink for you right now.
a-saleh··on Ask HN: E-ink reader supporting RSS?
I bought myself Onyx Boox Nova Pro, that runs modified version of Android 6. It is fairly expensive, but so far it serves me well and I don't have to think about compatibility/sync much (have Play Books, Amazon Kindle apps installed, and it has decent PDF reader).

But other commenter recently shared fairly in-depth their problems with the device (the build quality can be apparently quite shody): https://news.ycombinator.com/item?id=22614971

a-saleh··on Ask HN: If you only do programming at work, how do you manage your career?
You don't manage your career by programming.

You manage your career by being able to deliver projects or at least participate in meaningful manner and then building meaningful work-relationships.

a-saleh··on Ask HN: How do you manage screen time?
Description of reality :D

I am trying to have a bigger lunch-break for both me and my kid. I.e. "No screens for at least next hour" and usually she finds something to play with that is not a screen.

And I bought a Nintendo Labo, so there is a screen-adjacent activity at least my kid really likes.

"Dad can I play the Goose Game?" ... No, but we build the cardboard house for the fluffy creature, you could color it in maybe? ... "Ok, give me all of the stickers, I will make it the best house ever!"

As for myself, I struggle to find stuffwithout screens at home, but fortunately, we don't have a strict shelter-in-place, and while wearing masks, you can go to parks and forests, so my bike keeps me company :)

a-saleh··on ReMarkable’s redesigned e-paper tablet is more powerful and more papery
Forgot to mention the model :)

I have 7.8 inch Onyx Boox Nova Pro

a-saleh··on ReMarkable’s redesigned e-paper tablet is more powerful and more papery
damn! I am glad I didn't run into the hardware problems
a-saleh··on ReMarkable’s redesigned e-paper tablet is more powerful and more papery
Pro:

- Scribbling with the pen is nice

- I works nice as an ebook-reader

- Don't have to think about synchronization, have dropbox, syncthing, e.t.c

- both Google Books and Kindle app works really fine, have my magazine subscription app there

- has bluetooth, used it with bluetooth keyboard, writing experience was decent, even with ~0.25 refresh rate

- using termux is gimicky but I like having my cli tools t hand

Cons:

- attempting to use any other apps is clunky

- stylus works well mostly just with the simple note app

- startup takes long

- is expensive

a-saleh··on Ask HN: Smallest laptop that is decent for coding?
How large is the paper notebook? :D

I.e. fit into messenger bag? Maybe even Macbook Air would fit. You actually have some selection of smallish notebooks around ~10 inch, or x86 based tablets. Old EeePC line might be a good fit, if you don't need much power. You might even opt for iPad and keyboard-cover.

Personally, I have bought myself an underpowered arm-based 10' lenovo chromebook. Has decent enough keyboard for touch-typing, and I can run most of my dev-setup with the linux support.

Do you need to go smaller? You are then entering a niche teritory, where you might want to try Gemini PDA (a Psion 5MX clone running android or linux with surprisingly good keyboard that can fit your pocket), but every time I considered it, I figured it is too expensive for what it would give me.

a-saleh··on Ask HN: If I've already taught myself to code, should I still get my CS degree?
a) double-check if there is something that would require you having a degree. I.e. you probably don't want to pursue PHD, but visa-requrements have degree

b) doublecheck if you want to pursue something that requires to be student, i.e. internship, scholarship, e.t.c. I started working for a company as an intern during my studies and after a while it was reasonably easy to upgrade to part-time employment and later on full-time employment.

c) I don't know what are your costs. I am from europe, so I studied for free. If you are taking on more and more debt, your cost-benefit analisys might be different.

← PreviousPage 5 of 26Next →