News for hackers. Stuff that matters.

fredrb

This news has to be read alongside the immigration visa emission pause for 75 countries by DOS[1].

Since USCIS is blocking Adjustment of Status, and the Department of State is blocking green card emission for citizens of 75 countries, this means that if you are from the following countries you are effectively banned from getting a Green Card:

Afghanistan, Albania, Algeria, Antigua and Barbuda, Armenia, Azerbaijan, Bahamas, Bangladesh, Barbados, Belarus, Belize, Bhutan, Bosnia and Herzegovina, Brazil, Burma, Cambodia, Cameroon, Cape Verde, Colombia, Cote d’Ivoire, Cuba, Democratic Republic of the Congo, Dominica, Egypt, Eritrea, Ethiopia, Fiji, The Gambia, Georgia, Ghana, Grenada, Guatemala, Guinea, Haiti, Iran, Iraq, Jamaica, Jordan, Kazakhstan, Kosovo, Kuwait, Kyrgyz Republic, Laos, Lebanon, Liberia, Libya, Moldova, Mongolia, Montenegro, Morocco, Nepal, Nicaragua, Nigeria, North Macedonia, Pakistan, Republic of the Congo, Russia, Rwanda, Saint Kitts and Nevis, Saint Lucia, Saint Vincent and the Grenadines, Senegal, Sierra Leone, Somalia, South Sudan, Sudan, Syria, Tanzania, Thailand, Togo, Tunisia, Uganda, Uruguay, Uzbekistan, and Yemen.

[1] https://travel.state.gov/content/travel/en/News/visas-news/i...

Re:Root for Your Friends on Saturday May 24, 2025 @03:44AM (#44079517)
I’m sorry that has been your experience. The culture you’re brought up in is hardly representative for 8 billion people’s experience.
It’s not that bad if you need to deploy at least 3 things and for most cases it beats the alternatives. You can get away with a bootstrapped deployment yaml and a couple of services for most scenarios. What should you use instead? Vendor locked app platforms? Roll out your own deploy bash scripts?

Sure the full extend of Kubernetes is complicated and managing it might be a pain, but if you don’t go bonkers is not that hard to use it as a developer.

I picked this up as a first reference as someone who had no knowledge in DSP and it was an absolute gem. Really helped with the mental model for sound processing. This repository has some amazing resources too: https://github.com/BillyDM/Awesome-Audio-DSP
Re:Ask HN: Who wants to be hired? (February 2024) on Sunday February 04, 2024 @08:07AM (#39249893)
Location: Berlin, Germany

Remote: Indifferent

Willing to relocate: not at the moment, but open to discuss depending on the job

Technologies: backend/systems engineer generalist. At the moment I work with Go, Kubernetes and Linux. I’m interested in C, Rust and Python as well. Would work in any programming language.

CV: Upon request via LinkedIn or email. I have a outdated one here [1] without much information about my current employer.

Email: fred.rbittencourt [at] gmail [dot] com

Re:My personal C coding style as of late 2023 on Monday October 09, 2023 @04:45AM (#37818349)
Sharing preferences and opinions on code ergonomics certainly has value for me, and I bet it has to other people too. This is, after all, a developer's forum.

I'm certain your opinion on petunias and your possible distaste for orchids will be welcomed in a flower-news type orange site. :-)

Re:Beej's Guide to Network Programming on Monday May 22, 2023 @02:15AM (#36028040)
I don't work with it either. But I find that learning the abstraction below where you're working at can be quite beneficial to understanding the constraints of your layer, debug, and solve problems.

E.g.: Learn the basics Transport Layer protocols (TCP/UDP) if you work with HTTP

It's interesting to see how many people in this thread have had negative experiences with OOP. As much as I don't do OOP that much anymore, I think it had a positive impact in me. But like every popular practice, there is a lot of bad patterns you have to navigate through.

Things like depending on interfaces as opposed to concrete implementations; or prefer message passing over direct data access are practices that I learned in OOP that I still value. The "Small Talk crowd" from the first team I worked in and influential authors in the topic (specially Sandi Metz) still have a dear place in my heart for how they improved the way I view software design.

Re:When the push button was new, people were freaked on Wednesday September 28, 2022 @05:15PM (#33013371)
That’s usually how human conversations go. It’s not always efficient. You should try it sometime.
Re:Character Encoding and UTF-8 on Monday August 01, 2022 @01:34PM (#32309406)
Thanks for pointing this out! Should have looked it up before. Fixed in the post.
Re:Character Encoding and UTF-8 on Monday August 01, 2022 @04:22AM (#32303381)
Thank you for these points. I've made some corrections in the post.

> consider that something like à can consist of either a precomposed "à" code point or an "a" + "` diacritic" sequence

If Unicode provides a precomposed combination doesn't it mean that in fact has a code point for every character? Regardless of offering diacritic combination codes?

Re:Character Encoding and UTF-8 on Sunday July 31, 2022 @09:05PM (#32300627)
Right. Impossible might have been an exaggeration, I will fix that. The point is that if you're reading a file with the text "hello world", you can only make out the characters because you know the encoding. Given two completely different encodings that map the same hex values in the message it would be impossible to determine which is the correct string. There is no such thing as plain text.
Re:Maud: A Rust macro for writing HTML on Tuesday June 07, 2022 @03:29AM (#31650926)
So does most templating languages.
Re:Ask HN: How do you deal with rude interviewers? on Wednesday May 11, 2022 @01:31PM (#31343179)
My worst experience was when an interviewer told me to stop doing the exercise because time was up, and proceed to say that they could "solve this exercise in 30 seconds by copy-pasting an answer from StackOverflow". They mentioned in the beginning of the interview that I could Google whatever I wanted and then said I "should've taken the hint if I wanted to complete the exercise".

The complete interview was a joke. The person didn't know which position I was applying to; another guy joined the interview halfway through and asked if he should take over; and the worst: the main interviewer was boasting about working 12 hours a day as a contractor and getting double the salary from the actual employees.

They didn't make an offer.

Ask HN: Book recommendations for renewable energy and climate change?

I'm trying to figure out what are the classic books and authors on the topic. There seems to be a plethora of books on climate and energy out there and every blog recommends a completely different list. As I'm not that familiar with the topic, I'm ideally looking for a book that gives an overview of the different types of energy and their practicality.

( Read More... | 29 comments | 25 points | on HN )
Re:On Code Review on Monday September 20, 2021 @05:35AM (#28591857)
> Well; code review is not QA. My approval means - I'm OK with how the code layer is knitted. It doesn't mean I've tested the changes.

I'm 100% on-board with this. However, I understand were OP's mindset comes from. A few years ago I was working at a development shop in a fairly large project, where we had little to no automated tests. We frequently had PRs that would break main features. At some point developers were required to perform smoke tests alongside code reviews.

Re:Rendezvous Hashing Explained on Monday September 20, 2021 @05:06AM (#28591659)
There are also other approaches to the problem, like Jump Hash, Multi-Probe and Maglev hashing. Each of them offer a different combination of load balancing, scalability and performance trade-offs. [1] provides a good analysis of the available methods and their tradeoffs.

[1]: https://dgryski.medium.com/consistent-hashing-algorithmic-tr...

Re:Playable Quotes for Game Boy on Friday September 17, 2021 @05:08AM (#28562960)
This is very interesting. Unfortunately it seems to be closed source and they're still working on a more technical blog post.

I wonder how they encode all the information in the PNG file? Apart from the .zip with the entire ROM I assume they snapshot the current memory state on the beginning of the Quote and all the subsequent inputs.

Re:What's Wrong with Tech Hiring on Thursday September 16, 2021 @04:06AM (#28549257)
> How to match "interview kind" to candidate? maybe ask them which they prefer, I guess?

I don't think it's a matter of candidate preference but rather position need.

Some companies need Computer Science / Engineer mindset to solve complex problems. Some companies need XYZ framework developers to deliver customer projects. FAANG companies usually need the Engineering role and developed an interview model to select those.

The problem is when companies that need developers apply the same interview mindset that Google does.

Older »