Hacker Newsnew | past | comments | ask | show | jobs | submit | rjha's commentslogin

I have never been an apple fanboy. Till 2022, I was on android phones. Work issued either Thinkpad or XPS variants. However, I have owned apple books since 2004 starting from panther era. I sincerely believe that apple provides best features and performance combination in the given price for laptops.

Here I feel that I-hate-apple crowd is just stuck with this notion of luxury overpriced brand when it is clearly not the case. Apple has superior hardware at better price points. Last time I was doing shopping for a laptop, I could get similar features only at a 30% - 40% price premium in other brands.

I am typing this on an apple M2 air and try finding similar performance under 2000 USD in other brands. The responsiveness, the (mostly) sane defaults and superior rendering and fonts make it worth it. The OS does not matter so much as it used to do in 2004 and the fact that I have a unix terminal in 2024 is just incidental. I have turned off auto updates and I do not use much of phone integration apart from taking backups and photo copying.

I switched to an iPhone in 2022 from a 200 US$ Samsung handset. Here, I would say that not everyone needs an iPhone. My old phone used to do all the tricks I need on this one. However, the camera is really and photos are really great. If I buy an iPhone next time, it would be just for the photos it takes.


I am not sure why the author thinks that DEBUG level is about debugging your code before putting it in production. The real use of DEBUG is in production when one day the roof is caving in and the normal logs do not have information for you to figure it out.

Especially when the deployment is not under your control. That is when you ask to enable DEBUG so system can spew more information and you can trace the execution better.

OTOH, this whole idea of attaching trace-id (Android) and where the log came from (modules and functions) is nothing new. on the whole, I am not sure what the takeaway is.


Thanks a ton for sharing this. I have a kid in middle school and cannot wait to work few problems with him.


Have fun :) It's really nice how each contest has a pretty smooth difficulty climb across the 25 questions. The first ten questions are all very easy, but then after that it escalates a fair bit, so you can find the right window for you.


formatting the above function for better readability

``` func toUpperCase(s: string) <IMPLEMENTATION>

  a = "hello world" 
  echo toUpperCase(a) 
  # HELLO WORLD 
  echo a.toUpperCase 
  # HELLO WORLD 
  echo toUpperCase a 
  # HELLO WORLD 
  echo a.toUpperCase
  # HELLO WORLD ```


I have used both Arduino boards and our own hardware layer with AVR toolchains. The main USP of Arduino was a good community (people like and easy-to-follow instructions. The target market of Arduino did not want to look inside the IDE. That is the reason they scored over PIC etc. because they never even talked registers.

However, this easy was slapped together in the most unprofessional ways imaginable. IIRC, the SD card code used to have C++ virtual functions when a rock solid library from Chan was available. It was not easy built on a solid core that provided a gradual path to professional setups. It was do-it-and-happy-when-it-works kind of setup.

So I am not sure what direction can they take it in with funding. There is a limit on where easy can take you in the Embedded world, especially if you are looking for reliability and performance.


As I see it (from largely an outsider perspective), there are two difficulties with embedded software: 1) a large sensitivity to performance, to the point where higher level languages are difficult to justify the overhead. And 2) it is generally difficult to write software for embedded systems because the peripherals are all over the place. There is no “one framework to rule them all”, so you need to relearn how to do basic tasks for every new system you use.

I feel like 1 is getting to be much less of a blocker for a huge variety of applications. Most hobbyists don’t even bother with the dedicated built in “spi” pins, they just do spi bit banging on whatever pins they want to use because they don’t have a performance reason to worry about it.

2 is still an issue, and is largely what arduino was trying to solve (for hobbyists at least), by creating a standardized set of tools and libraries.

From that perspective, there is still a lot of work to be done. Modern languages can offer a huge amount of zero cost abstractions for things like HALs, if you can make it easy enough to write the underlying translation layers so you can actually run on the combinatoric explosion of different software options out there. If arduino can make that kind of thing possible, I would assume they could make inroads into the professional world.


markwhen.com can be useful for people who are looking to generate Gnatt charts and do not want to wrestle with excel. There can be many such use cases like a quick plot, a quick pivot table, a quick Gnatt chart, A fancy looking table for pre-sales guys & proposal writers to render them as part of the proposal. You should aim this tool at people making lot of proposal PPT.


Any guess for the company?


This is an echo of Stroustrup argument that other nice languages have no user. Sure Java enterprise beans was whacky but saying it got no scrutiny is inaccurate. It got lot of scrutiny and criticism and that is why it moved into the direction of POJO from EJB madness. Things have become better in that land.

Javascript is not getting hate because it is now famous so people are jealous and are hurling non-sensical abuses. The problem many of us see is that Javascript is famous, a critical piece of tooling and Javascript evangelists are still working in the teenager I-will-just-type-it-again mode.

By now, things should have progressed to a stage where doing simple things was simple.


if this is simple, then what exactly is complicated? To a guy new to programming, ref(1), ref(false), mount(x), import { $1} , from {@x} are all hard concepts to grasp. I can give pass to async and await for being baked in the language.

Today, Java considers the canonical Hello world example to be too complicated because of static main() and System.out.println() and introducing changes to make it easy to write first programs.

I do not know what kool-aid cool kids in Javascript front end world are drinking.


is zeromq still relevant? https://github.com/nanomsg/nng


Oooh, not seen that, but no Ruby bindings?


Damn we need nodejs bindings


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: