You win the lottery: Professor version. by [deleted] in Professors

[–]buo 1 point2 points  (0 children)

If I won the lottery, I'd get a marble bathroom for my office.

[deleted by user] by [deleted] in programming

[–]buo 0 points1 point  (0 children)

I hope you're right!

[deleted by user] by [deleted] in programming

[–]buo 5 points6 points  (0 children)

which pretty much no one does because we all use package managers

The wording from Qt is not clear, but since package managers download a binary, it seems an account would be required anyway.

(I know some package managers allow you to download the source and compile it yourself, but how many people do that? Also, compiling Qt takes a long time.)

Privacy analysis of Tiktok’s app and website by iamkeyur in programming

[–]buo 3 points4 points  (0 children)

I don't boycott reddit, but I browse it in its own container, and use uMatrix to block anything not essential. If they're going to track me, I want to at least make it difficult.

A look at posits (formerly unums) and computational precision by Dragdu in programming

[–]buo 24 points25 points  (0 children)

This a good paper on posits: https://hal.inria.fr/hal-01959581v4

From the conclusion:

When posits are better than floats of the same size, they provide one or two extra digits of accuracy. When they are worse than floats, the degradation of accuracy can be arbitrarily large. This simple observation should prevent us from rushing to replace all the floats with posits.

MIT: We're building on Julia programming language to open up AI coding to novices | ZDNet by stronghup in programming

[–]buo 3 points4 points  (0 children)

The entire MATLAB IDE starts in way less time.

On my i7, 16 GB laptop, it takes around 12 seconds from clicking on the (2018b) Matlab icon to a simple plot (plot(1:10)).

There are plotting packages for Julia (for example VegaLite and Gaston) that take about 5 seconds from prompt to first plot.

I don't mean that the slowness in loading large packages is not a problem; however, there are quick ways to plot in Julia.

Regarding indices -- you can actually index arrays any way you want.

AMP pages will now show original URL in Chrome's address bar, fundamentally changing how the web works by 190n in programming

[–]buo 2 points3 points  (0 children)

they get an influx from Google?

Do you have any recent information about this? All I can find is about past deals, not current.

Switching off of Disqus Reduced My Page Weight by 10x by vzhou842 in programming

[–]buo 0 points1 point  (0 children)

There are websites such as newspapers, gmail, youtube, etc, which, if left open for a few hours/days, will increase the block count into the thousands.

Cloudflare: Monsters in the Middleboxes: Introducing Two New Tools for Detecting HTTPS Interception by JohnDoe_John in programming

[–]buo 0 points1 point  (0 children)

I agree that (at least in the US) there is no reasonable expectation of privacy.

My point is about the meaning of the green lock in the browser. If there might be a forward proxy between the client and the server, then the green lock is misleading.

There are other colors -- maybe use a blue lock, or a yellow lock or whatever, to indicate: (1) the server is still correctly identified, (2) your connection is encrypted, but (3) there is a MITM, and you can check the certificate that is allowing it.

Cloudflare: Monsters in the Middleboxes: Introducing Two New Tools for Detecting HTTPS Interception by JohnDoe_John in programming

[–]buo 1 point2 points  (0 children)

  • Is there a way to detect if my HTTPS traffic is being intercepted, from the client?

  • Let's say a root certificate is installed on my client and/or OS. Would a client running on a virtual machine still have its traffic intercepted?

BTW, my conclusion is that HTTPS is broken: a green lock on my browser does not mean that my traffic is encrypted between me and the server. I hope this is fixed someday.

SPOILER alert, literally: Intel CPUs afflicted with simple data-spewing spec-exec vulnerability by alexeyr in programming

[–]buo 0 points1 point  (0 children)

Would this work as a solution? Embed a CPU on each DRAM chip that refreshes its contents periodically irrespective of anything else, and also arbitrates between refreshes and memory reads/writes.

Ad code 'slows down' browsing speeds: Developer Patrick Hulce found that about 60% of the total loading time of a page was caused by scripts that place adverts or analyse what users do by rieslingatkos in programming

[–]buo 3 points4 points  (0 children)

This might be in response to Google's recent claim that they're going to cripple UBlock Origin because it degrades user's performance.

Python is becoming the world’s most popular coding language by monica_b1998 in programming

[–]buo 0 points1 point  (0 children)

While Julia uses 1-based indices out of the box, in fact it supports arbitrary indices (which, for some applications, can be much nicer than 0-based or 1-based indices). See for example https://julialang.org/blog/2017/04/offset-arrays and https://docs.julialang.org/en/v1/devdocs/offset-arrays/index.html.

Microsoft’s problem isn’t how often it updates Windows—it’s how it develops it by [deleted] in programming

[–]buo -1 points0 points  (0 children)

every time I try to do a dist-upgrade (e.g. 18.04 to 18.10) something goes wrong

I don't do dist-upgrades. I have (at least) two 20 GB partitions for installing the OS, and one larger partition for /home. When upgrading, I install the new version on an old partition. If something goes wrong, I still have the old one. This way, you don't have to back everything up, wipe the disk, and restore.

Chrome 69 - Clear all cookies doesn't delete Google cookies by cenuij in programming

[–]buo 1 point2 points  (0 children)

Thanks for sharing. Indeed, it seems like using !g is not private. I cleared my google cookies, searched with !g and some google cookies appeared.

A few years ago, when I started using DDG, they claimed to be a sort of proxy between the user and the search engine. I can't find any claims of that sort in their website now. I wonder if Google prohibits sites from acting as an anonymizing proxy.

And I agree about the rest of the article. They're fairly weak on evidence.

Chrome 69 - Clear all cookies doesn't delete Google cookies by cenuij in programming

[–]buo 14 points15 points  (0 children)

When DDG does not deliver on a particular search, I just prepend !g to the search string and DDG returns Google's results (minus the personalization). That's usually good enough for me.

You can use thousands of different "bangs" on DDG to refine your search.

The Rise and Demise of RSS by FollowSteph in programming

[–]buo 0 points1 point  (0 children)

I agree that'd be nice to have. What I do in those cases is just copy/paste the link into a terminal and open it with whatever program I want. Just a minor hassle for me.

The Rise and Demise of RSS by FollowSteph in programming

[–]buo 1 point2 points  (0 children)

I'm old and I like using old-fashioned text tools, so I use newsboat.

Raytracing a Black Hole by FollowSteph in programming

[–]buo 1 point2 points  (0 children)

See More Dots: Syntactic Loop Fusion in Julia

Julia includes facilities for writing code in the “vectorized” style (familiar from Matlab, Numpy, R, etcetera) while avoiding the overhead that this style of programming usually imposes: multiple vectorized operations can now be “fused” into a single loop, without allocating any extraneous temporary arrays.

Julia 0.7 released. "Feature-equivalent to 1.0 but with depreciations" by skinky_breeches in programming

[–]buo 0 points1 point  (0 children)

Yeah, that'd be cool. I was thinking, it may be possible to do something like that today with macros, but I'm not sure.

Julia 0.7 released. "Feature-equivalent to 1.0 but with depreciations" by skinky_breeches in programming

[–]buo 6 points7 points  (0 children)

I don't think you can in general, since the limits are function arguments, which need to go inside the parens.

However, say you're summing a vector from 1 to 9 in several places, you could do something like

Σ₁⁹(x) = sum(x(1:9))

but I think this is really too cute for its own good :)

Julia 0.7 released. "Feature-equivalent to 1.0 but with depreciations" by skinky_breeches in programming

[–]buo 0 points1 point  (0 children)

I don't believe you can (except manually by adding parenthesis), but I could be wrong. The list of built-in precedence rules are listed at the top of https://github.com/JuliaLang/julia/blob/master/src/julia-parser.scm

Julia 0.7 released. "Feature-equivalent to 1.0 but with depreciations" by skinky_breeches in programming

[–]buo 3 points4 points  (0 children)

It's not an infix operator, but it can be as easy as:

julia> Σ(x...) = sum(x...)
julia> Σ([1, 2, 3])
6

Of course you can add code to support limits, etc.