News for hackers. Stuff that matters.

joshgev

Seems to fail on Desktop Firefox (I'm on Linux) as well.
Seconded, lived in the Bay Area for years and Paris for two years so far. Not even vaguely the same ballpark.
Re:OpenXLA Is Available Now on Thursday March 09, 2023 @05:30AM (#35079945)
I'm more excited about StableHLO and IREE than about their integration into Pytorch, Tensorflow, etc.

I want to see a DSL that can be used to describe models elegantly and then export them either to a shared object or to something that can be run with a runtime (in this case IREE). Things like ONNX and TorchScript promised this but I've had little luck getting these to work well enough to trust them in large scale production deployments.

I understand that PyTorch is an awesome tool for researchers, but it doesn't necessarily fit into a prod environment.

I'm sorry but you are wrong. I am describing how physics works and it is at odds with many of the claims made regarding our understanding of what is a very, _very_, complex system. You can't just claim there is "consensus that it's going to be bad" without having the sort of scientific discussion I am trying to have. Let's discuss what we know, what the limits are of that knowledge, etc, before we declare that the sky is falling.

I do think you make a great point, which is that the risks and rewards need to be considered. The problem is that analyzing the cost is also a pretty complex problem and there are very real arguments to be made that going green could end up being very costly.

FWIW, I actually came into the climate science debate on your side and have been won over by paying attention to a broader set of sources. One of the things I really can't stand about the climate change disaster is that even if you accept all the claims from the IPCC, it pales in comparison, in my opinion, to other issues that seem a bit simpler to me. The collapsing insect populations, for instance, can have a pretty direct impact on human health and happiness. The climate discussion seems takes all the attention even though no one has made a credible argument as to why it is more dangerous than other problems we face.

edit: I'll add that scientific modelling is _very_ difficult in general, even for much simpler systems than what we are talking about here. These models have tons of simplifying assumptions baked into them and they can be made to spit out just about anything, depending on what values for certain parameters are chosen. The tools aren't particularly trustworthy.

edit: I'll add a bit more. I do think climate change is happening and I do think that humans might have a big part in why it is happening. What I don't find compelling is why this is necessarily an end-of-the-world scenario. The typical argument is: "there has already been warming and there will be further warming. Then there will be runaway effects, then the warming will become extreme and life will become very difficult for most people in most places." Well I do agree with the first part, but it is _really_ hard to predict what happens afterwards, i.e. are there going to be runaway effects. There are reasonable arguments that there won't be. The arguments that there will be tend to focus on a few scientific facts and ignore the complexity of the system at large (i.e. they ignore negative feedback mechanisms and focus only on positive feedback).

The problem with this is there do seem to be quite legitimate physicists who disagree with the "sky is falling" conclusion that all popular discussion is premised on. I recently heard an interview with Dr. Richard Lindzen that, for instance, provides what sounds like a very reasonable counter to the prevailing attitude.

Anyone who says "the science is settled, the laws of physics cannot be violated" fails to realize what physics is even about. The vast majority of victories that physics has had since Isaac Newton are based on incredibly simplified models that strip out all of the complexity from a system. Basically everything interesting is treated as linear (as in f(x) ~ x) and a lot of the other stuff is just thrown into constants. After a few decades of working with that, both in theory and with experiments, you might get comfortable enough to add some small corrections to your theories. In this way you step closer and closer to "truth" but we are still very far off, even with our best physics, from fully understanding anything of even moderate complexity. This is not to say that we don't get incredibly useful results from physics (just look at our technology!), but it does mean that we need to constrain statements about how much we really understand and where our "laws" really are applicable. Take for instance the equation for kinetic energy, k=.5 * mv^2. Hugely useful, but dead wrong if you try to apply it to things moving at relativistic speeds.

The problem of climate science, from my perspective, is that we can't strip it down like we do for simple systems like a ball moving in space. Climate is inherently very complex; if you try to ignore how oceans interact with vegetation, how vegetation interacts with clouds, how clouds and rain are connected, etc, then your models can be interesting and might reveal something, but they can't be used to predict what will happen with any degree of confidence because they are too far removed from the real thing.

edit: added some words.

Re:Make a Resume in LaTeX from Scratch on Tuesday January 24, 2023 @01:09PM (#34507462)
Yeah I came here to say this as well. I gave up on LaTeX for my resume something like ten years ago. Since then I use HTML/CSS and render it with wkhtmltopdf.

edit: grammar

Re:Finding the Joy in Feeling Tired on Monday October 10, 2022 @09:20AM (#33151012)
Well what does that even mean if you don't follow that up with some good 'ol R&R?
Re:Finding the Joy in Feeling Tired on Monday October 10, 2022 @08:07AM (#33150309)
There were some reasonable bits in here, but there is just enough typical, ridiculous Silicon Valley nonsense to largely turn me off from the article.

> I actually got a lot done

In an article that seems to be promoting the idea of relaxing and taking a break once in a while, the author couldn't resist sneaking in nod to the typical fetishistic obsession for constant productivity that is endemic in this crowd. It seems like we're told that it is possible to relax AND be productive. Is it so unreasonable to disconnect from work every once in a while without worrying about being "productive?"

> Metrics are useful

No they aren't, not for this. There is something seriously wrong with someone if they need a $300 piece of equipment (+ a few hundred more $ for the phone to connect to it) in order to understand something so fundamental about their bodies. We aren't talking a diagnostic imaging to find a suspected tumor here. We're talking about being tired. This is absurd.

EDIT: Small typos

Re:Some thoughts on machine learning with small data on Friday June 03, 2022 @08:58AM (#31607607)
Damn, that was a really cool talk. Nice work and thanks for sharing.
Re:Programming in the Apocalypse on Monday May 30, 2022 @05:14PM (#31563687)
I don't understand. In this article we are imaging widespread and frequent failure of critical infrastructure and we are supposed to further imagine that we're still interested in working on our relatively unimportant software? I suppose there are critical software systems out there, but they're already written so we don't really need to think about what languages they'll be work on with.
Re:The age of the fast self-checkout lane is over on Sunday May 29, 2022 @05:36PM (#31553114)
Yes same here. I really go crazy when technology that takes us further away from each other is presented as some sort of progress. Why don't we look around at how isolated we've become? Is it any wonder that our stupid little factions (right vs left, black vs white, etc) are pulling further and further away from each other when so much effort is being put into limiting our contact with one another?
Re:The age of the fast self-checkout lane is over on Sunday May 29, 2022 @05:28PM (#31553043)
No offense intended, but what you describe sounds pretty dismal to me. We have what you describe where I live (France), but I prefer to go to the markets where I know the butcher/green grocer/cheese person/dried fruits and nuts person/fish monger/etc. and they know me. I stand in a line, sometimes for a while, and finally they get to me and ask me how I've been doing recently. Then they ask me for my order and frequently tell me something interesting or useful about what I'm ordering (e.g. where it comes from, how it was grown, etc). They might tell me how to prepare something or offer a suggestion as to what I could buy that I don't usually buy. They might even tell me something about an event happening in the community soon. It's pretty rad.
My favorite place to bike is Parc naturel régional de la Haute Vallée de Chevreuse (French people aren't into the whole brevity thing). I can't speak to hiking but I have to assume there are nice walks to be had in the area because I frequently see people with hiking gear on. You can get there from Paris on the RER B: just take it all the way south to Saint-Rémy-lès-Chevreuse. Île-de-France is, by and large, quite flat, but Chevreuse is a nice valley so you can get some really pretty scenery.

EDIT: I'll add that last fall I was biking around there with my wife and we found some most righteous porcini mushrooms growing on the side of the road. It really is nice out there.

I should also add that nearer Paris is Forêt domaniale de Meudon, which is in the direction of Versailles. Nice forested area. I can't speak to the walking/hiking but I assume it is not bad (I've only been out that way on bike).

Attitudes vary from person to person, but I don't really think being 20 minutes from nature really counts. I lived in Paris until recently and had a really rough time for a few reasons, but the biggest one is was the lack of green places to walk. Whenever I brought it up to anyone, people would say "oh, what about Bois de Boulogne or Bois de Vincennes?" Both were inaccessible by foot from where I lived due to distance and would take 30 minutes to get to by public transit. So what's the idea, then? We should budget an hour in a subway tunnel each day so we can spend some time in a park? That's no way to live; nature isn't something we should treat like a museum. It is something we should feel a part of.

For me, thankfully, there was an easy solution: I moved to one of the towns just outside of the city. Now I have ample access to lots of trees, birds, flowers, etc. If I get on my bike, which I do frequently, I can be in some really beautiful regional parks within 40 minutes or so, and the ride there ain't too bad either.

The default is that it forces a restart when a new update has been downloaded, which has been a frustration for me as apparently it has been for the parent.

Apparently this can be changed by requesting that FF only install updates with explicit consent[1]. I'd think the best way would be to install anything that's available locally when the browser starts without forcing a restart.

[1] https://superuser.com/questions/1451210/how-can-i-make-firef...

Re:Safest mushrooms to forage and eat on Monday January 03, 2022 @07:28AM (#29780089)
Yeah, I found some boletes a few months ago and out of an abundance of caution took them to three different pharmacists in Paris and every one looked at me like I was a crazy person for bringing wild mushrooms into the pharmacy. "We don't do that" is all I was told. One pharmacist student, an acquaintance of mine, told me they were probably going to make me sick. After doing research into the matter and asking old foragers I met in the woods, though, I decided to eat them and they were definitely delicious and non-deadly porcinis.

Know what you are doing and make sure the people you are talking about are knowledgeable.

EDIT: I am not disputing your claim, BTW. But I think it is just like the fact that all US doctors took a few semesters of organic chemistry doesn't meant that they can tell you anything useful about the subject.

Re:Safest mushrooms to forage and eat on Saturday January 01, 2022 @04:49PM (#29763203)
I'm surprised to see morels aren't on the list. Anyone who confuses a morel for a false morel is _really_ not paying attention. On the other hand, there are toxic (not deadly) boletes that can more easily be confused for porcini mushrooms. ¯\_(ツ)_/¯
Re:Big cars are killing Americans on Thursday December 30, 2021 @04:33PM (#29741714)
I don't disagree that pedestrians and cyclists need to be careful, but as someone who walks far, far more than they drive, I really regret that cars are king in modern cities. Even in Europe, where cities are often better than their American counterparts, it is very difficult to walk without constant interruptions by roads (in the sense that they cause frequent stopping and waiting for traffic lights as well as the constant noise and choking stench of cars with poor exhaust systems).

I do think cars have their place, but I don't understand how people have come to believe that cars in, say, Manhattan or the center of Paris, make a lot of sense.

Re:Silicon Valley’s Cynical Treatment of Asian Engineers on Wednesday July 21, 2021 @07:14AM (#27904755)
> There are a few reasons why Facebook and Google software engineers are so ignored and underpaid.

It is true that per engineer, successful SV firms do make a lot of money. But it is _really_ hard for me to imagine this class of people as "ignored and underpaid." FB, Google, etc are publicly traded companies, not co-ops and, as such, are under no obligation to pay any more than they do. Don't like it the terms? Don't sign the contract. They make it sound like they make you sign a contract with a gun at your head.

> A Facebook software engineer’s average starting salary is about $150,000 a year...But outside of San Francisco, it’s probably equivalent to around $50,000 a year.

This is just stupid. A _starting_ salary of 150k? Even if the equivalence they draw to 50k/yr elsewhere is correct this is a pretty good place to start. I made 95k starting out in SV and had plenty of money to burn.

This article is not rigorous and just bad.

Re:What can mRNA treat next? on Sunday May 02, 2021 @10:01AM (#27015368)
I see two big problems.

The science funding climate, at least in the US (I don't really know what goes on elsewhere) is in a really sad state. Projects with a low probability of success are really hard to get funded but that is precisely what you need to come up with really novel things. Curiously, science funding bodies don't seem to think of things in a probabilistic way.

The second issue is the same idea, but applied to industry. There is an activation energy that you need to surpass in order to make any business profitable. If we are talking about building a business around a brand new and unproven (in a business sense) technology like mRNA, the barrier is _huge_. You need entities with very deep pockets to accept year after year of losses before you can start getting a viable business producing cutting-edge products.

In both cases I think intelligent use of government funds could be a big help. I am not big on socialism, but I have long held that this is one of the most important things a government can and should provide: subsidies for risky research and business endeavors, not to mention large-scale infrastructure projects.

Re:The Danger of “Simplicity” (In Programming) on Monday April 05, 2021 @04:20PM (#26704141)
I don't think this blog post is really saying all that much.

> Yet, it's good to write software in such a way, in which it is easy to replace one part with another when a better (for the time being) alternative shows up

I think few would dispute that, but it isn't exactly an easy thing to do. You could spend 100% of your time adding abstractions to even moderately complex pieces of software to make sure that every last functional component could easily be replaced with some other implementation but then you wouldn't actually get anything done since all your time would go to creating and implementing _just the abstractions_. This is pretty impractical so you really have to choose your battles: which components are likely to be replaced in the future and is it worth worrying about it now? I find the vast majority of the time it is really hard to accurately predict future constraints and requirements so I tend to default to very simple choices that make sense given what I already know. When something really feels like it will need work in the future, I might add a relevant abstraction. Otherwise I am basically just wasting time.

In short, I view KISS, in the context of software engineering, as an admission that you can't really predict the future so it isn't worth dwelling too much on preparing yourself for it.

EDIT: typo

Re:Herd Immunity Is Near, Despite Fauci’s Denial on Thursday March 25, 2021 @12:51PM (#26582546)
Many people are quick to say that no one should trust an opinion piece (some claiming further that WSJ in particular is suspect). People should be cautious of anything they read from any source. Further, just because an idea is expressed in an opinion piece doesn't automatically make it invalid.

In this case it is not difficult to get at the cited document from which the author's claims are drawn. For those interested, it is available here:

https://www.cmadocs.org/Portals/CMA/files/webinars/COVID-19%...

These data don't necessarily mean anything without an understanding of the context, but they are definitely useful and shouldn't be ignored out of hand, even if the author is using them to support a conclusion different than your own. In other words: accept the data for what it is worth and then use it to form/strengthen a reasonable conclusion.

EDIT: Punctuation

Re:Herd Immunity Is Near, Despite Fauci’s Denial on Thursday March 25, 2021 @12:16PM (#26582096)
While I appreciate the sentiment generally, I think this opinion, at least expressed as it is here, is a little exaggerated. In this case the author is a doctor, which probably makes him more qualified than your average Fox News commentator. He's a surgeon, though, so he probably isn't the most qualified person so, sure, grain of salt etc. What if this had been an opinion piece from an esteemed epidemiologist? Should we still disregard what they say?

Generally, I think the best strategy is to be open to what people might have to say if one is also diligent about checking sources.

EDIT: Missing words.

Re:Video Is a Visual Candy on Thursday March 11, 2021 @01:12PM (#26427099)
It looks interesting, but I feel the visualizations remove value rather than add it; too busy and abstract so they end up being a distraction more than anything else.
Re:The Algorithmic Beauty of Plants (1990) on Saturday December 19, 2020 @04:50PM (#25481545)
Thanks for the post! I just spent a very enjoyable bit of time on the first chapter of this book.
Re:Inciteful: Using Citations to Explore Academic Literature on Saturday December 19, 2020 @02:43PM (#25480491)
First impression is positive; relevant results and a reasonably straight-forward UI. I appreciate the warning about the slow-loading graph (which did load after a minute or two).

Two things that might be tweaked:

* The search didn't behave in an ergonomic way: I typed a query ("graph neural networks") and great relevant stuff came up immediately in the dropdown. When I hit enter, however, I got an error that read "Invalid search: Check your spelling, enter a DOI, or another paper identifier or." I would have expected my action to take me to a search results page that listed what I saw in the dropdown (which I regard as a preview of the top hits) so that I could peruse the selection carefully.

* I wanted to load a paper to take a look at it and it took me a while to realize that I could click the "Yes" above "Open Access" to download it. Since one of the big use cases for a site like this is the eventual consumption of these papers, I suggest making a "read/download paper" call to action more explicit.

Re:Why nullable types? on Monday December 07, 2020 @10:05PM (#25341213)
> It seems as though there is this common misconception that Rust does not have a concept of null.

I don't think that's quite relevant, though. Rust doesn't have a concept of nulls like like Java, Javascript, Python, etc do in which just about any variable might contain a value or null. Rust certainly doesn't have that.

Re:Python Concurrency From the Ground Up (2015) [video] on Wednesday November 11, 2020 @08:37AM (#25058262)
No, it isn't outdated. The claims are still issues. In the scenario you describe, multiprocessing should work pretty well because each processes can run independently of the others and report one big result at the end (all the hashes that process computed). There are plenty of scenarios, however, where the different processes do have to talk to each other frequently which, in Python, means you introduce a ton of overhead in serializing and deserializing these data (Python transmits pickled data between processes). From personal experience I can tell you that this can be a major problem in terms of performance.

Other languages give you more flexibility in how to share data between processes.

The fundamental claim that threads running pure Python are limited by the GIL still stands. Others do point out that you can get around this in C and some of the standard libraries in Python (like hashlib) do this for you. That goes a long way to helping the issue, of course, but as yet others point out, it is weird to support Python in this context by saying "Yes Python can use threads effectively; all you have to do is use C."

Re:Launch HN: Sunsama (YC W19) – Daily Planner for Busy People on Wednesday November 04, 2020 @12:46PM (#24991262)
I have to question the premise of such a service. The statements in the "Why Sunsama?" section are comically grandiose. I sincerely doubt that people who are "struggling to keep up" are hindered primarily by poor scheduling or, if they are, that they will listen to reminders coming from yet-another piece of software or that the software will magically know how best to prioritize tasks. Based on these claims, I would easily toss this product in the "snake oil" category of products and services which promise to make my life awesome but which, at best, might make a marginal improvement. If there is more to the software, awesome, but that should be front-and-center because as it stands I see no real value proposition.
Re:Paris hails victory over short-stay rents on Tuesday September 22, 2020 @01:36PM (#24557475)
Indeed we did, which helps strengthen my point that Airbnb disrupts communities. I put almost a year into living there, trying to get to know my neighbors, establishing relationships with local store owners and employees, etc. I've now left, so now the community has one fewer people in it that actually gave a shit about the place.

Older »