HN user

mkhattab

245 karma
Posts7
Comments129
View on HN

As a muslim, I hope he doesn't eff this up, Obama style. But the fact that he won, although not the blowout as some were expecting, restored a bit of my hope in the common man. Cuomo's attacks may have swayed some of the vote but ultimately failed.

I hope Mamdani succeeds for the sake of New York (California resident here) and hopefully this win inspires other young people around the country to participate in politics.

These deal numbers have lost all meaning for me.

There’s been some buzz around the official opening of the Grand Egyptian Museum, which I visited last month. That project took 1.1 to 1.2B USD. Double its original budget estimate but still the museum looks fantastic and it feels, tangibly, like it’s worth a billion.

In contrast with all the money spent on AI, it just feels like monopoly money. Where’s the monument to its success? We could’ve built flying cars or been back to the moon with this much money.

Go prioritizes not breaking the ecosystem; this allows to assume that Hyrum’s Law will protect certain observable behaviors of the runtime, from which we may infer what can or cannot break easily.

If this assertion is correct, then effectively Go as a language is an evolutionary dead end. Not sure if I would Go fascinating in this case.

Does anyone know of an up-to-date or live visualization of the amount of scientific fraud? And perhaps also measuring the second order effects? i.e. poisoning of the well via citations to the fraudulent papers.

It's hard to tell at this point if it's just selection bias or if the scientific fraud problem has outgrown the scope of self-correction.

DuckDB 0.8 3 years ago

Sorry! Just realized that when I checked the docs again. My bad.

DuckDB 0.8 3 years ago

Minor annoyance:

Yesterday I was reading the docs and one of the first things I tried is the following, copy and pasted, which didn't work, using version 0.71:

  COPY (SELECT 42 AS a, 'hello' AS b) TO 'query.json' (FORMAT JSON, ARRAY TRUE);

  >>> Error: Binder Error: Unrecognized option CSV writer "array"
Just tried the above again with this release and it's fixed now.

Ideally, all commands listed in the documentation should be tested or verified to work.

Aside from that, nice work on the release! And I'm learning more and find it pretty cool, especially WASM support.

No Hello (2013) 6 years ago

My manager used to do this all the time.

Typical scenario:

Manager: hey

<an hour or so may go by>

Me: what's up?

Manager: nvm

I don't believe Arabs are under the illusion that their government is non-tyrannical. I live in Egypt and there's not a single person I've met that doesn't think their government is corrupt, oppressive and inept. So there's really nothing revealing or surprising that a newspaper could report.

"BREAKING: Egyptian government is corrupt. In other news, water is wet."

On the other hand, there are perhaps many Israelis who believe the false narrative that the Palestinians sold their lands and left, but changed their minds and started the aggression.

I agree. Who are all these people that pull backups, that maybe GBs or TBs in size for offline storage? How does that even work in practical terms in disaster scenarios like this where resolution times are expected within hours and not days?

Perhaps we need to distinguish, if at all possible these days, between the military and the military industrial complex. I don't believe the military is inherently evil but think it's necessary to the defense of the country. The military industrial complex, on the other hand, is in the business of warfare and perhaps not as necessary as we might think.

Over the years, I've had an older MacBook Air, pre-touchbar MacBook Pro 13" and 15", and the second generation MacBook.

Order of preference:

MacBook > MacBook Air > MacBook Pro 15" (pre-touch bar) > MacBook Pro 13" (pre-touch bar)

The MacBook is my favorite and I think is the proper evolution of the MacBook Air. I rarely need ports for doing day-to-day stuff like programming, reading and consuming content.

Also, as the OP mentioned, the tapered design makes typing a better experience compared to the hard edged MacBook Pros. The daily ergonomics of the MacBook is something that needs to be experienced and experience with the MacBook Air with respect to ergonomics was a factor in buying the MacBook.

I believe '/courses' and 'student/1234/courses' mean two different things. The former implies a list of courses and the later implies an association between a student and a course.

POSTing to '/courses' creates a new course. However POSTing to a 'student/1234/courses' creates a relationship/association between a student and a course.

So, it's two different things IMO and not a duplication of logic.

At times Mohammed only spoke to one or two people when revealing surah. Having thousands of people memorise a number of separate orations exactly without any problem of conflicting versions is really impossible.

And that's the point of why it is considered a miracle. Transmission of the Quran has always been orally and will continue to be. The general meaning is preserved within the text, however, the correct recitation(s) are not.

You can't pick up the Quran and expect to be reciting it correctly.

Variations existed in the written form not in the recitation because diacritics (tashkeel) were not standardized. It's a common misconception that the Quran is memorized through the written text. This is not how it is transmitted. Look up Tajweed, which are the rules of pronunciation of the Quran.

Furthermore, memorizers of the Quran can trace the chain of narration back to Muhammad himself. So there couldn't be any forgery or manipulation. Uthman doesn't have the power to erase people's memories.

How about the Linux kernel? Essentially, it began as something very basic in 1991 when communication methods were much different than we have today (e.g. video conferencing, etc.)[0]. There are many other examples of high quality open source projects that were born or greatly improved on the Interwebs, e.g. Git, Apache, ...

---

[0] http://oldlinux.org/Linus/911010.pdf

I'm reminded of a scene in Louie where Louis CK is approached by a Hollywood producer to discuss movie ideas[0]. The producer asks him for his best idea for a movie.

Yeah? All right, well well, you know how movies, there's always a guy and his life is, you know, okay?

And then something happens, like a conflict and he has to resolve it, and then his life gets better?

Well, I always wanted to make a movie where a guy's life is really bad and then something happens and it makes it worse but instead of resolving it, he just makes bad choices and then it goes from worse to really bad, and-- and things just keep happening to him and he keeps doing dumb things, so his life just gets worse and worse and, like, darker and-- Like-- like he has-- lives in a little one-room apartment, he's not a very good-looking guy, he has no friends and he lives-- he works in, like, a factory, where they-- like a sewage-disposal plant, and then he gets fired, so now he doesn't even have his job at the shit factory anymore and he's-- and he's going broke and he takes, like, a trip and it rains, like, just stuff, just shit keeps-- horrible.

But then he meets a girl and she's beautiful and he falls in love, so you think that's gonna be the thing, the happy thing, but then she turns out to be a crook and she robs him, she takes his wallet, and now he's, like, stuck in the middle of nowhere and he's got no wallet and no credit cards.

---

[0]: Louie S2E10 "Halloween/Ellie"

I'm planning on going old school and re-learning C and Assembly for x86 and, in particular, ARM architectures. My reason for doing is that I want to get back into embedded systems.

I also plan on picking up Rust and somehow integrating it into my workflow (I'm a web developer).

Ideally, for the future (2015 and beyond), I want a basket of languages I could use for building web-scale applications. So, for example, within a single application:

  * Erlang -- distributed messaging
  * Rust -- heavy lifting for various tasks
  * Python -- various data munging tasks and rapid development
  * Javascript -- client side applications (e.g. Ember.js)
  * C -- in those rare cases where it would be needed
I think I would stick with these languages for the next ~10 years and try not be distracted by anything else.

I haven't personally run any memory or cpu performance tests. There are online LaTeX editors out there; ShareLaTeX comes to mind. My point being that if online services like ShareLaTeX exist, then the conversion process shouldn't be horribly slow. As always, YMMV.

I'm using Org-mode which can export to LaTeX -> PDF [0]. I use Org-mode for invoices [1], reports, time-tracking, etc. Using org-babel you can use Gnuplot[2] or R [3] to embed charts and other visuals.

[0] http://orgmode.org/manual/LaTeX-and-PDF-export.html#LaTeX-an...

[1] http://orgmode.org/worg/org-contrib/

[2] http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-g...

[3] http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-R...

Very true. I'll often ask when I'm dining out whether something was cooked with lard, especially at Mexican restaurants. Nearly everything in Mexican restaurants is cooked with lard.

Let's say the Swiss set the minimum wage to $25/hr or even half that, $12/hr, what kind of ripple effect would we expect on other salary groups? Would they increase by the same proportion?

You said it perfectly. However, I would add that it seems to me that at first we give more credence to the accuser than the accused. The burden of proof in this situation is always with the accuser and the fact that she assumed people would believe her, and people have, is not something I respect. And being a male has no effect on my opinion. I have pissed off my friends and especially my family, father in particular, because I've always given the benefit of the doubt to the accused in similar situations. My father found it particularly annoying, rather extremely frustrating, that I wouldn't automatically support and accept anything he would say at face value against a business partner or relative or anyone. And my behavior is the same with friends and coworkers, much to their annoyance.

Back to point of Julie's complaints --- we're adults here and if there's a pattern of behavior from a coworker, then documentation is your best friend. In fact, that should be an automatic rule: any communication with colleagues in the workplace should be documented, either via email or chat, and kept short and to the point otherwise. If there exists a friendship between coworkers and there is fallout due to conflict, assuming there is no evidence, the accuser/accused should just let it go because that's what friends do. You can't demand professionalism when the principle hasn't been observed in the first place.

Being a man, woman, father, mother, doesn't absolve one's responsibility from presenting evidence for the truth, even if they have a history of being honest. More importantly, our attitudes towards the accused should initially be of giving benefit of the doubt.

Hello, Stranger 12 years ago

It seems to me that it would be difficult talking with strangers on public transport considering most people have smart phones. I've noticed this with younger people. Some cannot sit down for more than, say, 10 minutes without having to look at their phone.

https://www.youtube.com/user/NextDayVideo --- Mostly Python talks at conferences, meet ups and other venues

https://www.youtube.com/user/Confreaks --- Like above, but mostly Ruby

https://www.youtube.com/user/emacsrocks --- Emacs Rocks (not updated frequently)

https://www.youtube.com/user/EEVblog --- Electronics Engineering Video blog. This is an excellent resource for electronics hobbyists. This doesn't cover programming much, unless it's micro controller firmware or FPGA programming.

Thank you for writing this and sharing it for the common good. I've been wanting to relearn C since I've switched to Python for work. Hopefully this book will be good practice because I've been wanting to implement a Lisp interpreter on a micro controller for quite sometime. I have plenty of PIC18F4550 micro controllers lying around.

Also, I liked the cat pictures and hope you'll add more of those in the next edition, perhaps.

I'm an escapist. Whether it's movies, youtube, video games, literally anything that is unproductive, I'll spend an inordinate time doing. Luckily, I don't drink or do any drugs, but I might as well since I'm pissing my life away. It is as if I'm stuck in neutral. However, I do make just enough money to get by.

The odd thing is that I can't pinpoint why I'm this way. It wasn't always like this. I guess reason doesn't matter at this point.

Anyway, I don't think my post adds anything useful to this discussion, but good luck.

Atom 12 years ago

What is immediately intuitive about anything a programmer does on their machine? I assume you have used a Unix shell, right? Was there anything immediately intuitive about that? You've probably done some programming, so was there anything immediately intuitive about your programming language?