HNHacker News
TopNewBestAskShowJobs

jamra

1,170 karma · joined December 7, 2011

submissionscomments
jamra··on Tech CEO Says Workers Get Too Much Pay and Benefits
Salaries in Israel aren’t that high. His employees will easily find work in another company. What a dumb move by him.
jamra··on Monitoring Elixir Apps on Fly.io with Prometheus and PromEx
If I were to host Elixir, I don’t think I would opt for docker. This is the one thing that prevents me from trying out fly.io
jamra··on Virtual DOM is pure overhead (2018)
I’m in agreement with you that the performance is only a part of why Svelte is so nice.

The state management in Svelte is fantastic.

jamra··on Nvidia Canvas
I don't think data centers count as end users. End users are human beings that use a system.
jamra··on The rise of E Ink Tablets and Note Takers: reMarkable 2 vs Onyx Boox Note Air
There is a book called Visual Thinking by Williemien Brand which goes over drawing basic things. I love it because the author did amazing research into how to draw things with the least effort. I use it to supplement my notes.

The beautiful part of the remarkable 2 is that you can erase and redraw. You can also copy and paste. When making diagrams, the arrows will look identical. Recently, they added zooming in.

I used to take notes on paper. I bought thick, quality paper. I used a nice Japanese made fountain pen. I loved taking notes that way. I still miss parts of it.

When I started, my writing was not very beautiful, but I used a couple of cheats that helped. I write in all caps and I write quite small so that there is some padding above and below my letters. I write slowly so as to have consistent lettering. Even if they are imperfect, they look consistent. The focus should be on letter spacing.

Before covid, people used to come up to my desk and say it was the most beautiful writing they have ever seen. It wasn't, but the techniques do work.

As far as the feel of the notebook. I let my kids play with it. They love it.

jamra··on UN doc: military drones may have autonomously ‘hunted down’ and attacked troops [pdf]
Perhaps a notable difference would be the civilians that could come into proximity of the target from the point of deploying to the point of executing.
jamra··on Co-founders tried to reduce my equity after company was accepted into YC
This is very true. We had a $1m/year customer that dragged us down. I went over the development costs that were exclusive to that client. It was not worth the money. We were developing custom features. They since had to dump a lot of their locations which were picked up by another of our clients but maintained the entitlement.
jamra··on Half a million lines of Go
Are there any web frameworks you particularly like in C++?
jamra··on How to survive a toxic workplace and how to avoid creating one
I was in a very toxic workplace for the last ~18 years. It's hard not to appropriate bad behavior. It definitely comes from the top.

From people yelling at you in front of your peers, to the not-so-subtle threats. Purposely sabotaging projects you're on. Not providing access or computers when needed. Being yelled at when going to take your newborn baby to a doctor appointment (pre-scheduled).

It's not worth it. Just find a better place to work.

jamra··on Linux vs. Windows hosted .NET Core application performance analysis
We get 500 req /sec hitting a non trivial database load.
jamra··on Show HN: Aidmin – Web-based database GUI
Protection from ransomware is another. If they lock down the server that runs this app well enough, it's significantly more secure than production access to every developer.
jamra··on Progressive Web Apps Are Competing with the Apple App Store
You can tell them it requires an invite then link them to your page.
jamra··on A developers guide to HIPAA compliance
It seems like they're advertising their vault service for healthcare data. They then offer a disclaimer that they are not lawyers. How can you offer advice for such a risky area and then not stand behind it? Is your service also not verified by lawyers?

It seems like a marketing piece with the intention of showing off their product, but I found that part to be odd.

jamra··on Why Discord is switching from Go to Rust (2020)
One of the things to consider when comparing C# and Go is how it does parallelism. In C#, the new async/await mechanism can go horribly wrong if the programmer doesn't use it correctly. This can cause threads to start up, which is in fact slower than older .NET tech that had larger starting thread pools. You can view this with PerfView to see if it's your load issue.

In Go, the scheduler is smart enough to stop something even when it's not blocking on IO. This makes it more robust.

Of course, use what you need for when you need it. Rust definitely shines in some circumstances.

jamra··on Life of an HTTP request in a Go server (2017)
You could use the atomic package and forego the lock. You can also have a go routine with a channel that receives the counter messages. No need for a lock there.

But use it if you really need it. Likely that’s not your bottleneck.

jamra··on Why Is Esbuild Fast?
We actually just worked on splitting it up into libraries. The shared library might actually make the ending build larger due to it being potentially duplicated (I'm not certain about this until I test it). Unfortunately that has to go on hold temporarily. It is a large Healthcare application in the therapy space. The ending build is actually fine, but the tooling eats RAM like something else.

Little by little I take large third party libraries and rewrite them on my own to drop 5MB includes. I'm sure that is part of it. Devextreme and Syncfusion are libraries I would strongly recommend avoiding.

jamra··on Why Is Esbuild Fast?
That would make my day. I have a 64GB RAM PC because I work on 2 or 3 angular apps at a time and since my PC is the fastest I also use it for CI builds on occasion. It's a nightmare to wait 20 minutes for an optimized prod build. And having to upgrade everyone's RAM so they can contribute to the front end is horrible. We are past 10GB of RAM required to start the dev server.
jamra··on Why Is Esbuild Fast?
I wish the Angular team put some work into integrating. They are instead doubling down on webpack which is frustrating. After they back stepped regarding the bazel build system I thought that all was lost. Then this beauty came out. Unfortunately it's not as interesting as the incremental compiler.
jamra··on Web Scraping 101 with Python
How would you deal with authentication?
jamra··on FastAPI framework, high perf, easy to learn, fast to code, ready for production
I built a real time trivia game in FastAPI. I liked everything about using it except for the websockets. It leans on other libraries and I has to figure out my own redis integration. In the end it was only about a day of delay so no biggie. The library is great, but I can’t speak as to its scalability as the other party didn’t want to pay.
jamra··on Amazon: Not OK – Why we had to change Elastic licensing
Did you read the blog post? They are mad about trademark violation and an allegation that their commercial code has been ripped off by Amazon through a third party. They have Elasticsearch trademarked and you can't use their name with your name on it. In their mind, it is a violation.
jamra··on REST Servers in Go: Part 1 – standard library
I don't think you need to do that.

Assuming a web application... You can instantiate the object in your main func and then attach it to the server struct so that it is available in every request. When mocking, you can create a mock server that instantiates mock items that implement the interface. If you need something that is contextual, you attach it to the context. In that case, you can still use mock objects, however, you would have to use a different middleware that handles the mock context objects instead of the normal middleware.

jamra··on REST Servers in Go: Part 1 – standard library
In Go, you can just use an interface which would make things mockable for testing.
jamra··on When Amazon Switched from Sun to Linux
The last comment stated that Amazon recently spent a lot of effort ripping out Oracle. I would be interested in knowing how that was done and how much better things got afterwards.
jamra··on We should administer Covid-19 vaccines as fast as possible, not reserve doses
I just spoke with some people in Israel. None of whom are healthcare workers. They all got the first shot of the vaccine. ~4 people.
jamra··on How Much YouTube Paid Me in 2020 (with a million subscribers)
The affiliate links are a great source of revenue. There is a YouTube called TechLead that explains his revenue as well and affiliate links were about half.
jamra··on Setting up your own Nextcloud instance to get off of Google
It sounds like it to me as well. We had the same bug with content editable fields and changing then index of the selection, which is where the cursor appears.
jamra··on Johns Hopkins published a study saying corona is nbd. They then deleted it.
Could the numbers be coming from a drop in influenza? Since we are socially distancing, influenza is probably way down seeing as how it’s less contagious than Covid.
jamra··on Do These A.I.-Created Fake People Look Real to You?
I found your comment very funny. These things are created by GANs (Generative Adversarial Networks) which work with a generator and a discriminator, which is an AI to detect fakes. So it is actually made with an AI that detects fakes.

If you zoom deeply in on the backgrounds, you may see some crosses in the background which are defects that GANs can sometimes have.

jamra··on Facebook is a monopoly that buys, copies, kills competitors: antitrust committee
That’s really funny to me. One of the criticisms I’ve read about Amazon is how they destroyed diapers dot com.

There could have been several other sites all worth billions of dollars without the need for a single one stop shop.

← PreviousPage 3 of 17Next →