News for hackers. Stuff that matters.

rickard

As another commenter noted, I don’t trust NYT’s lawyers with my chats any less than OpenAI, but spreading private data should be limited as far as possible.

I just cancelled my NYT subscription because of their actions, detailing the reason for doing so. It’s a very small action, but the best I can do right now.

I agree that it’s not zero, but according to CDC, the US sees about 1.35 million cases per year in a population of about 346 million, which is about 390 cases per 100,000 people. Your figure for the EU over a population of 447 million in 2022 gives 14.5 cases per 100,000 people, or more than a factor of 26 less.

Being 26 times less worried about something translates, at least for most things, for me, to not being worried about it any more.

I think that it’s pretty relevant that this is from this year’s Ig Nobel prize winner in literature: https://news.mit.edu/2022/mit-cognitive-scientists-win-ig-no...
Re:Asking robots to design stained glass windows on Tuesday May 31, 2022 @06:59AM (#31568112)
Not DALL-E 2, but Disco Diffusion (https://colab.research.google.com/github/alembics/disco-diff...):

* https://jossi.avkrok.net/Escher_0.png

* https://jossi.avkrok.net/Escher_1.png

* https://jossi.avkrok.net/Escher_2.png

The prompt was "A stained glass image of M.C. Escher working in his studio in non-Euclidean space", 600 iterations, 1024x768, and these are the first three ones it came up with. It's not perfect, but it definitely knows who he was!

Re:Could a four-day working week become the norm? on Friday July 09, 2021 @04:26AM (#27781561)
It’s like they need a socialist revolution in China. Workers of the world, unite!
Re:Julia: Faster than Fortran, cleaner than Numpy on Sunday June 20, 2021 @02:24PM (#27572616)
Yep, completely agree. For the project I'm currently doing, it seems like a fairly good fit though. Lots of prototyping different approximations, and needs to be faster than plain numpy.

Also, the jitclass things help somewhat. I use them as plain data containers, to work around the hideously long argument lists that otherwise would be required, but with no methods. jitclass breaks the GPU option, though.

Re:Julia: Faster than Fortran, cleaner than Numpy on Sunday June 20, 2021 @02:18PM (#27572540)
I recently (last week) started using numba, for similar reasons to why the author seems to like Julia. I tested translating his example to numba:

  @numba.njit(parallel=True, fastmath=True)
  def w(M, a):
      n = len(a)
      for i in numba.prange(n):
          for j in range(n):
              M[i,j] = np.exp(1j*k * np.sqrt(a[i]**2 + a[j]**2))
and timed it like this:

  %%timeit
  n = len(a)
  M = np.zeros((n,n), dtype=complex)
  w(M, a)
On my 8-core system, this ends up more than 10x as fast as the numpy version he listed (which seems to lack the sqrt, though), which would place it close to the multithreaded Julia, even considering that ran it on a 4-core system. As an added bonus, it can also pretty much automatically translate to GPU as well.
Re:Sweden's unusual response to coronavirus on Sunday March 29, 2020 @03:12PM (#22721693)
The number of people in intensive care is most certainly not growing exponentially. Please see the official statistics on https://portal.icuregswe.org/siri/report/vtfstart-corona . The number of patients admitted to intensive care daily has gone from 43 on the 23rd of March to 10 today.

The cumulative number of patients admitted to intensive care is 278, and since we had 510 intensive care before the start of the pandemic, that is not a problem at all.

Unless you have reason to believe that the ratio of patients requiring intensive care somehow has decreased radically during the course of the pandemic, the growth of cases is most certainly not exponential.

Re:What’s Really Killing Digital Health Startups on Friday October 30, 2015 @07:09PM (#10481100)
I don't quite agree with your complaints.

Regarding #2, what do you consider the problem with representing arbitrary precision decimals as numbers? That your javascript json parser converts json numbers to 64-bit floats? I'm not sure that that is really a problem with FHIR - see e.g. https://www.npmjs.com/package/json-bigint . Or is the problem that exponents aren't allowed?

About #3, how would you standardise addresses? ISO has been at it for several years and still not produced a standard. See e.g. http://stackoverflow.com/questions/4840928/iso-standard-stre... for relevant links.

Your fourth complaint is plain invalid. A period consists of two dateTimes, both of which specify time zones.

Number one and five I can somewhat sympathise with, though.

Re:HTTP Status Code for Legally-restricted Resources on Tuesday June 12, 2012 @10:01AM (#4100447)
Isn't it quite close to both 403 Forbidden, "request was a legal request, but the server is refusing to respond to it" and 401 Unauthorized? And now it's on the wikipedia http://en.wikipedia.org/wiki/HTTP_status_codes , and that equates with being approved, right?
Re:HTTP Status Code for Legally-restricted Resources on Tuesday June 12, 2012 @09:35AM (#4100344)
And specifically the referenced slashdot discussion and comment: http://yro.slashdot.org/comments.pl?sid=2906113&cid=4027... Indeed, very amusing and to the point.
Re:Show HN: The most beautiful places on earth on Sunday June 10, 2012 @03:46PM (#4091981)
How come Christ Church Meadow, Oxford, is also in Venice? See http://mostbeautifulplaces.org/item/5291686 vs http://mostbeautifulplaces.org/item/5291685 ... Hackish indeed... ;-)
What is "SSL host headers"? Is it wildcard certs, as Microsoft describes them on http://www.microsoft.com/technet/prodtechnol/WindowsServer20... ?
Re:ActiveShell: A Shell for the Web on Tuesday January 17, 2012 @05:15AM (#3474401)
Oh, look - he did an initial commit! I'll play with it on the bus tonight. :)
Re:ActiveShell: A Shell for the Web on Monday January 16, 2012 @11:34AM (#3471243)
The github repo at https://github.com/inimino/ActiveShell looks pretty empty... It would be nice to have even a non-"serious" version to play with, since by your description, it would be pretty cool and useful.
Re:Boot a linux kernel right inside your browser. on Tuesday May 17, 2011 @02:47AM (#2555552)
1): The disk doesn't seem to be emulated; it's just a rootfs in RAM.

2): See another thread here.

3): Check out cpux86.js. In the start() function at the very end, the following section might be enlighting (even though it is a bit obfuscated by a javascript compressor):

  function start() {
  [...]
    If=32*1024*1024;
    ya.phys_mem_resize(If);
    ya.load_binary("vmlinux26.bin",0x00100000);
    Jf=ya.load_binary("root.bin",0x00400000);
    start=0x10000;
    ya.load_binary("linuxstart.bin",start);
    ya.eip=start;
The files vmlinux26.bin, root.bin and linuxstart.bin are fetched from the server.
Re:Boot a linux kernel right inside your browser. on Tuesday May 17, 2011 @02:21AM (#2555514)
I guess a tun/tap to some server-side service might be possible too, but perhaps not very interesting. The x86 dynamic library api suggested in the tech notes sounds more useful.

Edit: Easier idea might be adding ttyS1 and connecting that to a websocket on the server. Combined with something like socat or ppp, that ought to work. Since the console is already ttyS0 and connected to the js terminal, it might be doable even with the obfuscated source.

Re:Boot a linux kernel right inside your browser. on Tuesday May 17, 2011 @01:58AM (#2555455)
Implement emulation of a network card... ;) The tech notes page states that "there is no network emulation at this point".
Re:Boot a linux kernel right inside your browser. on Tuesday May 17, 2011 @01:53AM (#2555441)
3 days. See http://bellard.org/jslinux/tech.html , linked from the page source.
Re:Wayland Architecture on Tuesday March 22, 2011 @08:34AM (#2354020)
Coming in late, but I guess the thread you refer to is "Finishing the network protocol" at http://lists.freedesktop.org/archives/wayland-devel/2011-Mar... . After skimming through it, I'm not afraid for the network transparency any longer.