News for hackers. Stuff that matters.

tpaksoy

We had issues running our Node app on alpine. Specifically the dns lookup for our API calls were taking several hundred milliseconds *every* time.

Switching to debian reduced it to microseconds.

Does anyone here know what I was doing wrong with alpine?

Re:An Elm Fork on Sunday June 11, 2023 @07:01AM (#36280166)
I think this is an unfair opinion of Gren.

In the past, while using Elm, if you wanted to support some browser API that Elm didn't support yet you would have to fallback to kernel code. What Elm wanted: a core package that provided this low-level kernel package that provided typesafety at the Elm level. But as we know, this was a pipe dream because you could never contribute to Elm unless it was from the Elm dictator itself, or from his inner circle of cool people.

It seems like Gren is already ahead of this. Gren has community members actively working on the Websocket API to provide a typesafe core package with Kernel bindings.

The question is: will Gren keep being open to contributors that can provide kernel code.

Re:Ask HN: Who is hiring? (June 2023) on Thursday June 01, 2023 @03:55PM (#36156505)
You've skipped the message format. It doesn't include the location. It also doesn't mention it in the link.
If B4nan is around here from Apify, amazing work. On Crawlee, and on MikroORM. I especially use MikroORM extensively in production. One of the best, if not the best, ORM for NodeJS.
Apparently there was a "blogpost" of a developer showing of their code, where they accidentally leaked access tokens in a piece of commented code: https://archive.ph/mP3bh

This is completely unverified though, so take it with a grain of salt.

Re:DigitalOcean: New $4 Droplet and updated pricing on Monday May 16, 2022 @09:33AM (#31396930)
Why aren't they showing a comparison between old and new price? This seems deliberate...
Re:Ask HN: Who is hiring right now? on Tuesday March 24, 2020 @01:11PM (#22676444)
I wish Shopify would hire more engineering related workers in EU. Support for European payment methods in Shopify API is horrible and I would love to put it work to get more EU payment method support in the Checkout API.
We recently added support to one of our projects to use Stripe out-of-band invoices, and pay these invoices using Paypal/Braintree
Until someone with an accent appears on the screen.

And I don't mean someone from France or Turkey for instance. But Brits, and in particular Scots, usually break the automatically generated CCs.

Re:Show HN: Testing HN titles against a neural network on Wednesday November 13, 2019 @07:47AM (#21523419)
Does this not add up to 1.0 by the way.
Re:CBC head warns Netflix poses cultural threat to Canada on Friday February 01, 2019 @07:51AM (#19053672)
Exactly, I never would have thought I would watch so many episodes of Brazilian series and Italian series. Thanks to Netflix, I somehow found them because of recommendations.
Re:GitHub dashboard UI refresh on Friday January 18, 2019 @05:28AM (#18938336)
Exactly. I have no idea what changed... Have I been part of a test group or something for the last months?
Maybe the docs were written badly? If everyone makes the same mistake, then there might be something wrong in the source.
Re:Fragmenta – A Golang CMS on Monday April 09, 2018 @04:24AM (#16791294)
Site seems to be down, cached mirror from Google: https://webcache.googleusercontent.com/search?q=cache:3feSvC...
As mentioned in other comments, I don't have this issue of not being able to use `class` in Vue. So it can be done better.
Re:A Practical Guide on Elasticsearch Scoring and Relevancy on Friday February 10, 2017 @02:21PM (#13618062)
Not trying to be condescending but the styling of this page is all over the place. Lists indenting weirdly, code blocks not aligned or indented. Makes it very hard to read.
How is it a minority when 48% of voters elected him a few months ago?
Re:Debugging with Elm 0.18 on Monday November 14, 2016 @11:00AM (#12950620)
It didn't help that the argument order of some functions were specifically written to be used in backticks (like `andThen`). So I had to litter `flip` everywhere to use the pipe syntax. Evan flipped the arguments in 0.18 and now I can just `:%s/flip andThen/andThen`.
Re:Wordpress on AWS: smooth and pain free on Tuesday November 01, 2016 @08:08AM (#12844972)
Can you list a few? I'm genuinely curious which ones you consider so much better.
Re:Google's login page accepts a vulnerable GET parameter on Wednesday August 31, 2016 @05:40AM (#12397132)
>I'm pretty sure that Google's core functionality is ads

You have got to be kidding me... So we're completely going to ignore that everyone is still using Google as a search engine, and not ads? You're making things up just to get your point across.

Re:ReactOS 0.4.0 Released on Wednesday February 17, 2016 @11:10AM (#11118793)
exizt88 is correct. I can't swipe to go back a page. And if I swipe up, the page seems to want to continue scrolling at the same speed, it feels different and not fluent.
Re:Running Swift code on Android on Wednesday October 14, 2015 @12:19PM (#10387512)
Having to deal with mangled symbols is pretty annoying. Is it not possible to give a directive to the Swift compiler to disable mangling? Like rust has:

    #[no_mangle]
Re:Why is Stack not Cabal? on Thursday June 25, 2015 @03:13AM (#9776398)
Exactly. I've been doing some research on Haskell, but Cabal is making it quite difficult for me. I've been dealing with a lot of dependency version mismatches when using sandboxes... I'll definitely give Stack a try after reading this.
Re:A blog engine written and proven in Coq on Thursday February 12, 2015 @08:39AM (#9038696)
It's not just that "Coq" might sound like "cock", but a "Coq blog" just sounds even funnier...
Re:A Software Engineer’s Adventures in Learning Mathematics on Wednesday February 04, 2015 @08:05AM (#8996555)
As a software developer who also started learning Mathematics for the same purpose (Machine Learning), I just could not do it with books. It is strange to explain, but I need someone with me to study.

I need that person to say: "I don't understand it". Even if I don't understand it myself, as I try explaining it to my study partner, it starts clicking in my brain. I suddenly start to understand these parts as I'm explaining it. Hands down the best way for me to learn: explain to others.

Re:Path Tracing 3D Fractals on Monday January 19, 2015 @05:42AM (#8911285)
There is the Brigade engine[1] that I know of. It's as far as I know a one man project. I haven't heard of an update in a long time though.

[1] https://www.youtube.com/watch?v=BpT6MkCeP7Y

Re:Errors are values on Tuesday January 13, 2015 @07:09AM (#8879257)
Does Rust's (future) HKT implementation have an RFC or a PR available?
Re:A tiling window manager written in Rust on Wednesday December 17, 2014 @03:34PM (#8764184)
I've seen this done in many Rust repositories on Git. I would also suggest to look into this (single repo, multiple Cargo crates in seperate folders).
Re:Purging proc from Rust on Thursday November 27, 2014 @07:34AM (#8666949)
Hi Steve, the pull request has not been merged yet as tests are failing. The blog post reads as if it's in master right now, which it does not seem to be.

Older »