HNHacker News
TopNewBestAskShowJobs

emj

927 karma · joined December 28, 2013

Re: Chips & Dips
submissionscomments
emj··on Evaluation of science advice during the Covid-19 pandemic in Sweden
As a Swede I do not agree with a lot of what was said in this paper, much seems to be more of an opion than fact. This is a clear poltical subject, as you often see when this is discussed on American forums, it's very hard to talk about these ideas without getting into us vs. them. The hardest part of all this pandemic was that it was so easy to say the wrong thing and getting judged unless you were among people that actually cared about what you were saying.

EDIT removed opinions that still can not be discussed in a sane manner.

emj··on Why isn't there a Swagger/OpenAPI for binary formats?
Yes and that's a fundamentally different problem; I think this is because there is always some kind of state in a protocol. SOAP has this problem, and also YANG[1] and tools that try to replace SNMP. You can never abstract away the state that the consumer and producer of the protocol has. There are lots of tools to disect, debug, resend and parse network protocols like IP and TCP but in those protocols we know there is a state built in that can not be broken, so we do not build OpenApi for them.

OpenApi specifications that need three or four requests to reason with are a lot harder to work with than ones that are only one request, and these are different beast they become protocols. In my personal experience the binary specification often are protocols with a lot more implicit state in them, e.g. binary diff of in memory struct etc. You quickly lose the usefullness of Swagger the more state you have.

That said there are lots of good example of binary protocols that try to be stateless.

Conclussion: This blog post need to be scoped a bit better, what kind of binary communications do you want an OpenApi for and how is that different from what exists today?

As soon as you have to encode the state of the application in the specification of the protocol (like TCP above) things get really complicated.

[1] https://en.wikipedia.org/wiki/YANG

emj··on Gas pumps happen to be about as insecure as your typical router
That's a bad idea, now we can't read it anymore!
emj··on Gas pumps happen to be about as insecure as your typical router
CNX does have a lot of good embedded news, and this fits the bill perfectly.

It's interesting how can we make this easier to secure, as embedded developer perhaps there should be an security by default, making it harder to circumvent that and making installs like this.

emj··on Ask HN: Can we just agree on showing HTML without requiring JavaScript?
I've always felt that it's easier to handle older browsers with, if JS is an optional feature. Luddites must be the wrong word here, since it's mostly highly technical people that disable JS and cookies, old farts doesn't work either since there are more young people around me that does it.
emj··on Building Password Purgatory with Cloudflare Pages and Workers
If you use a password manager you can use 4 character passwords.
emj··on Lawn mowing frequency affects bee abundance and diversity (2018)
I maintain a forrest around the house with just enough shade to make the undervegation grow with berries and such. Once per year I just walk around, remove small saplings, do some chainsawing of larger things and take down one tree. That's all. The tree is a quite a lot of work when you do not know how to handle it but it gets easier every year in the beginning.

This is not considered a fire hazard here, but yeah we do not have that many trees close to the house.

emj··on Lawn mowing frequency affects bee abundance and diversity (2018)
Camera that can identify cats and a sprinkler.
emj··on Russia Cannot Win The War
The US has two big nations at it's borders I do not think they believe they can win over Canada and Mexico. It is implied elsewhere in this thread that "win" might not be what Russia expects to do either.
emj··on Russia Cannot Win The War
Does that go for the the Baltic states as well where 25% are Russian speakers.
emj··on Russia Cannot Win The War
It's quite rare, it makes headlines everytime they do it. If you think that it's a common occurence and just shrug you shoulders then you are wrong. Especially since it was political this time.
emj··on My Stripe Tax Story
Not AI, just statistics and double checks. In the old days that was done by people that knew what they were doing now it's a job for programmers. Having alerts about too many strange entries in the transaction log/inventory is something I've implemented.
emj··on My Stripe Tax Story
If they do not have time acceleration I think it's clear that the fault lays with Stripe and their bad testing practices. I thought people paid Stripe to handle the "get money from humans" problem, that is a pretty broad problem though so Ig guess not. Considering it took Stripe, and lets be generous, 7 months to figure this out they obviously have problems with testing.
emj··on Lithops
One of my favorites is Mesembryanthemum crystallinum[1], these came up in the discussion on Freeman Dyson and his will to create plants with warm blood [0]

[0] https://news.ycombinator.com/item?id=30394933 [1] https://en.m.wikipedia.org/wiki/Mesembryanthemum_crystallinu...

emj··on Host Firewalls (2020)
It is said in the article says you have to get your hands dirty, but yeah I can not see any easy way. Researching the naive way I got stuck in eBPF filters, and that will also fail with doing process/socket lookups since several applications can listen on a port. I guess you can filter on delivery to the application in some way..
emj··on The Unreasonable Math of Type 1 Diabetes
> I measure blood sugar A LOT, though.

That is the most important part, you can really live a good life if you have that. I hope we get more powerfull and cheap way to do that continously. At the momemnt it's at least 300 USD a month for a CGM device that can measure every five minutes. It's abit like monitoring traffic load and adding more servers as you go, except too many servers kill you.

That with knowing how you react to changes in life works wonders, e.g. exercise, eating fat foods, sitting all day.

emj··on Include diagrams in your Markdown files with Mermaid
IETF RFCs has some nice diagrams in ASCII https://datatracker.ietf.org/doc/html/rfc5905

Also The Arte of ASCII RFC8140 https://datatracker.ietf.org/doc/html/rfc8140

emj··on Show HN: EdgeDB 1.0
Ctrl-c cancels running processes, but not shells. When a process becomes a shell I can not say, but if make an infinite loop in the Python repl you can Ctrl-C that loop.

  $ python
  >>> while True:
  ...   pass
  ... 
  ^CTraceback (most recent call last):
    File "<stdin>", line 1, in <module>
  KeyboardInterrupt
emj··on Researchers use tiny magnetic swirls to generate true random numbers
> When the skyrmion size changes, the voltage changes to an extent that is easily measured

I'm a bit excited! I wonder what easy means here; measuring the voltage, generating the 2D material film, keeping it at the right temprature. 10 megabits sounds sweet, but I believe you could get that from CPUs at least 10 years back. Hope they can make this small and energy efficient, time will tell!

emj··on Separating urine from sewage could mitigate some environmental problems
The chapters are available as downloadable PDF:s here https://humanurehandbook.com/contents.html
emj··on On Being Broke
All we can do is try hard not hurt people with our version of good will. I've done the same with the same outcome, one of those people went on and made an impact and is cited frequently here, but not because of any help from me.
emj··on Show HN: Angularis – like Tetris, but based on triangles
I like your version better with the more complex pieces, but that is what makes it harder as well.
emj··on Long-term visa for remote workers
When you work it's really annoying to move every 90 days, the double is a lot more interesting. I'm guessing it's 180 because of tax reasons, that is a limit that many countries have for "you do not need to pay taxes anymore". Looking at the paper work this visa seems realitively easy get, and well worth the time. I do not see this as a competition with other countries, just away to make it easier to live there.
emj··on Show HN: Angularis – like Tetris, but based on triangles
Feels a bit too hard, I've only managed to clear one line. Building straight lines out of triangles seems hard, there are so many overhang pieces. Not saying it needs to be easier but I might need some help to get started.
emj··on New Zealand's bid to become a dark sky nation
I'm guessing there is a local effect of the Bortle scale because when the skies were clear we clearly saw about 30 Starlink sattelites and according to https://www.lightpollutionmap.info/ we live in an area with Bortle class 8-9, the algorithm for calculating the Bortle class seems to be a bit work intensive. https://www.handprint.com/ASTRO/bortle.html
emj··on New Book called “What if? 2” by Xkcd creator Randall Munroe
The book cover made me think of Matt Parkers, Humble Pi, I guess there is a similarity in content on some level.

https://www.amazon.com/Humble-Pi-Comedy-Maths-Errors/dp/0141...

emj··on Mistakes I've Made Building a Music Reactive LED Matrix
This comes with code for an Android app, ESP32 and it that seems to work, with those lovely mistakes and solutions this is really an impressive project. I've fried buck converter trying that same solution, so be warned you always want the brightess tool in the shed.
emj··on Ask HN: Who has moved from the U.S. to Europe?
For me it was most important to get books in my field in german, read them slowly and learn all the buzzterms and experssion. Some books you can read without really understanding them, e.g. some best selling paper back without any weight too it. I haven't worked in Germany but it's a perfect country to learn by reading books
emj··on Ask HN: Who has moved from the U.S. to Europe?
I teached in a forgein language it took me 8-12 months to be able to give classes in the native language. German is rated at 750 hours on the FSI scale, which seems a bit much in my experience but that is personal.

https://www.state.gov/foreign-language-training/

emj··on Rail Theft Soars in California
Of course an conservative think tank will say that! That graph does show why you should move to the US to earn big bucks, it says nothing about being poor in those countries. It is a complex subject. Just going aroudn on gapminders site about how much people spend around the world it's easy to understand how complex it is.

https://www.gapminder.org/dollar-street/

The numbers on the US states I've seen puts them in the lower brackets of the EU countries if you count precentage of the population that are poor, not bad by any means but not good. These numbers are meaningless though, especially on the subject discussed here.

← PreviousPage 8 of 23Next →