News for hackers. Stuff that matters.

chakerb

Reverse engineering android apps. I wrote a bit about it in [0]. In the weekend I also started doing another one. It's interesting to see how these apps behave.

[0] https://github.com/benhamad/blog/blob/main/2024-04-12-dramal...

Re:Switzerland's ingenious cooling caves on Wednesday June 01, 2022 @06:05AM (#31579886)
It worth also looking to Matmata's underground houses. They will definitely be familiar if you watched Star Wars.

https://www.atlasobscura.com/places/matmata-underground-hous...

Re:Add 10 GbE to your system with an M.2 2280 module on Wednesday January 19, 2022 @07:10AM (#29992628)
Indeed, a 4K video can hardly saturate 100Mbps link https://www.reddit.com/r/PleX/comments/eoa03e/psa_100_mbps_i...
Cloudstore[1] can do something similar automatically.

[1] https://github.com/infor-cloud/cloud-store

I see what you did there! Aside, I had QC-35 v1 for more than two years now and I use it daily for work. I only needed to change the cushions once.
Re:Ask HN: Best cars without too much digitalization? on Friday November 19, 2021 @03:07PM (#29281685)
Don't put the idea into their heads!!!

Kidding aside, I think customers can argue that such ads can be distracting to the driver.

To a recent years, lot of films where banned where I live and watching any of them is a felony! So location indeed affect what you're allowed to watch regardless of whether it's under geofencing intellectual property or another thing.

To be clear I wish I lived in a world where I can legally watch everything without a hassle. But there's no such world like that regardless of how much we want to exist. The same way there's no such world where we get paid equally ( doing the same work obviously) because we're living in different locations/countries!

It affects how much salary we get paid, what language we speak, what we eat ...etc. Why is that any different?
That assumption is definitely wrong! Not everyone in HN is making around $200k per year. The average in the US is about $110k. And still not everyone in HN is in the US or being payed US rates.

Of course if you value your time more than what your employer is paying you then you either need to leave your current job or rethink what's the value of your time.

Re:Thanks for the Bonus, I Quit on Sunday April 18, 2021 @05:07AM (#26850947)
I can relate to each one of those points. It's awful to feel treated unequally even though you're doing the same work. Before this trend of remote work, usually the solution was to just migrate to a developed country.
Re:Buy it for life: Durable, Quality, Practical on Saturday April 17, 2021 @06:10PM (#26847870)
I genuinely dont understand the reason behind hijacking right-click (long press on phone). I'm using a slow internet, and I'm used to open multiple tabs so I can only wait for one and then go through all of them. So I'm eager to understand if this is done to stop people from copying from the site or there's another reason behind it.
Re:Princeton admits record-low 3.98% of applicants on Friday April 16, 2021 @01:03PM (#26836426)
I went through program like this (french-speaking country). My concern after doing those two years are:

1- You learn a lot of useless subjects!! I'm a software engineer now but I studied organic chemistry for two freaking years!! And I don't plan to use that knowledge (most of which I totally forgot) anywhere in the future. Something that I wouldn't have picked if I was studying CS in the US.

2- You're using the same filter for everyone, and people can have different type of intelligence which can go unnoticed via such program.

3- You don't get to chose the thing you love if you don't rank well! Actually you may end up with something that you hate, because that's what's left! And you only know this after you spent two years of your life!

4- It's mostly about hard work and luck!!

5- You get out with almost only theoretical skills in the first two years. A good thing if you're looking to continue in the research track afterword but a bit of disadvantage (compared to people who used those two years to master the required skill for the job market).

Re:YouTube Shadow Banned Us WTF Happened? on Tuesday March 02, 2021 @08:31AM (#26315073)
Money? Doesn't hiding videos leads to less views which leads to less revenue for Youtube?
Re:Show HN: I built an internet speed analytics tool on Wednesday February 10, 2021 @10:21AM (#26090298)
In my case as well this is true. ISPs ( especially when they have monopolies) don't care about this. I live in a town with 8K people and the whole town is sharing an uplink of 300Mbit/s. And we complained a lot but due to how only one single ( governmental) provider have the rights to install cable internet, we're stuck with what we have.
Re:Show HN: I built an internet speed analytics tool on Wednesday February 10, 2021 @10:17AM (#26090235)
I gets very confused by marketing terms. But doesn't giving you only 1MBit/s during the whole day counts in "up to 100Mbit/s"? I'm trying to understand the legal merits in a case like this.
Re:What You Always Wanted to Know About Datalog (2018) [pdf] on Friday October 09, 2020 @05:08AM (#24728121)
The reminds me of how powerful the expressiveness of Datalog is. You can even syntactically check whether the program can run in p-time or not. Once you introduce negation in the recursion it starts to be a little bit complicated, though.

Also the fact that the language it self is declarative it's inherently more parallelizable than imperative languages.

Re:Finding the 'invisible' millions who are not on maps on Friday July 03, 2020 @05:44AM (#23722568)
> Google and Apple maps do not differentiate between a good road and a bad road - but that's so important

They also don't differentiate some closed borders! I had an idea in mind to travel across the Arab Maghreb[0] (well excluding Libya for obvious reasons) after the COVID-19 situation start to get better. However, Google Maps said that I can drive car between Algeria and Morocco, which isn't the case[1]. I chose to reroute it to pass through Mauritania instead, however it suggested a non paved road (according to the satellite images) and it seems from my research that the area that Google maps suggested in Algeria is closed for foreigners.

EDIT: OSM seems to suggest to go through Mali instead which indeed a better choice ( well road-wise, giving that I want to go through Mauritania).

[0] https://en.wikipedia.org/wiki/Arab_Maghreb_Union

[1] https://en.wikipedia.org/wiki/Algeria%E2%80%93Morocco_relati...

Re:Automatically download symbols and sources in GDB on Sunday June 07, 2020 @05:18PM (#23450930)
The Nix ecosystem have dwarffs[0]. If you generate debug symbols during the build ( not enabled by default ) and save it to the "nix cache", you can use dwarffs to download it.

[0] https://github.com/edolstra/dwarffs/blob/master/README.md

I can confirm this. I'm running a 3700x with the stock cooler and It's idling at 50-60 degree at 3.6 Ghz. If I enable Game boost mode in the motherboard (it basically push the frequency to 4.2 and turn up all fans) it increase the performance of the CPU in cinebench from 4662 to 5087 points. That's said, the CPU reaches a whopping 100 degree!!! Probably need to get better cooler before enabling that again.
Yes, please. I don't mind even if you set it it by location, but at least provide me a way to change it manually. I live in a north African country, but I get the currency set to south Africa (looking at you origin) without the ability to override!
The fact that people were forced to stay at home may influence their view. If people willingly choose to try working from home, I would guess that the result would be much different. Not only that but the fact the you are stuck at home all day long would make you eventually leaning towards getting out.
Re:Ask HN: How do you work with slow/metered connection? on Saturday May 09, 2020 @04:04PM (#23127866)
Yeah, this is quite interesting indeed. However, currently I require a powerful machine in my day to day work. I considered renting a Hetzner machine as they are reasonably priced specs compared to AWS.

Ask HN: How do you work with slow/metered connection?

I leave in an area where there's no fiber. We only have ADSL and 4G. usually ADSL is pretty slow, especially during peak hours. And 4G is metered so it start to be a little costly with time. Sometimes I have to download hundred of Megabytes of dependencies and it takes almost an hour to finish.What are your tricks to manage internet when it's slow? PS: moving to another place isn't an option...

( Read More... | 6 comments | 3 points | on HN )
Re:Arab states are embracing solar power on Thursday May 07, 2020 @06:15PM (#23108979)
0.021 usd per kwh. Farmer are sparsely located, so linking them to the main grid is costly as they need to pay for it by themselves.
Re:Arab states are embracing solar power on Thursday May 07, 2020 @04:17PM (#23107740)
They're not a good investment due to high cost of the panels compared to the price of electricity. Which to be fair is heavily subsided be the state. I'm looking forward to install ones myself, but I'm in the 90th percentile of people in my country that can afford to write big check upfront for power for home usage. Again most of the usage now is limited to agriculture since it makes sense there financially.

By large I mean around 2m² each. Not sure the best size to capture the most out of the sun. But we're at the edge of the Sahara desert, so the climate is a little bit helping there.

Re:Arab states are embracing solar power on Thursday May 07, 2020 @03:46PM (#23107352)
Well, we have only one company installing solar panels in a ~25 km radius. And they're installing around 3 installation per month, each have 8 large panels.I don't have the exact number of how many watt they generate. But they are capable of powering pumps that pulls 12 liters per second.
Re:Arab states are embracing solar power on Thursday May 07, 2020 @03:13PM (#23106982)
A lot of solar panels were insalled where I live compared to none five years ago. However their only use case here is to pump water out of the ground. The prices of the panel don't make them good investment for home usage. And even the government don't provide enough incentives to invest in them.

Older »