HNHacker News
TopNewBestAskShowJobs

shric

1,489 karma · joined November 6, 2012

submissionscomments
shric··on DRM-free e-books are a big deal (2019)
I'm with you 100% on never buying anything with DRM, but I wouldn't think for one second that it's going to influence any business. We are in the tiniest minority. We're in a world full of DRM precisely because it's so lucrative compared to the alternative.
shric··on The Awk Programming Language, Second Edition
That page, unless I missed it, doesn't say who worked on the updated edition. Was it the original authors?
shric··on *(char*)0 = 0; – What does the C++ programmer intend with this code? [video]
Hilariously I've been down voted, even though you absolutely need sizeof (char) because it's a type. Given char x; sizeof x is fine. I know sizeof is an operator. I've been using C for 40 years.
shric··on 4K4D: Real-Time 4D View Synthesis at 4K Resolution
> What's missing at this point is just hard light

Yeah, "just". Even though we have no idea how to even approach that.

shric··on *(char*)0 = 0; – What does the C++ programmer intend with this code? [video]
> sizeof char is 1 by definition everywhere.

Parentheses are required around char because it's a type.

/pedantic

shric··on Forty years of programming
Agree, I did program on the Commodore 64 and later Amiga extensively and I too couldn't afford many games. However I'm not sure if I was the typical kid -- in the late eighties and nineties many of my friends had consoles and I had no interest in them because I couldn't program them.
shric··on Forty years of programming
This might be particular to the age of the OP. I just turned 47, so I'm one year older than him.

In 1981 (so when I was 5) my parents bought me a Sinclair ZX81. It came with literally nothing except a BASIC interpreter in ROM and a manual. The manual explained how to program in BASIC and had a bunch of listings that you could type in for rudimentary games etc. So when we got our computers at that era all we could do is "program". Was it hardcore software engineering? No. Did we understand it at that age at any meaningful level? No. But it was programming, of a sort.

In the next few years I experimented more and more until I started to grasp higher level concepts.

My point is there was a particular window in time that met these criteria:

- affordable personal computer.

- no (or very few) games available, you had no choice but to write programs.

This was around 1980-1983. Before 1980 most people didn't have access to personal computers. After 1983 you could get computers that could easily read games from tapes or floppies.

So I guess there were a bunch of 5 year olds in that era who were almost forced to program.

shric··on Does Market Timing Work?
Stock market prices are based on expected future returns. Any anticipated future economic movement is more or less priced in. You can have a perfect understanding of the economy and not be able to predict future market movements as large short term movements in stocks are in response to unpredicted events.
shric··on Does Market Timing Work?
Those who understand the economy know it's a poor predictor of market returns.
shric··on Show HN: Mandelbrot – programmed in widely unknown Easylang, speeded up by WASM
Floating point already does that with separate mantissa and exponent bits. Regardless, you still have a limited number of bits for precision.
shric··on Show HN: Mandelbrot – programmed in widely unknown Easylang, speeded up by WASM
I'm replying again to you as I can't edit my previous reply. I forgot to mention that the iteration count in the linked site is set by default to only 200. That's the number of iterations of the formula (for the mandelbrot it's z=z*2+c where z and c are complex) is calculated to determine whether a given value of c (coordinate on the complex plane) diverges or not (the mandelbrot is the set of all values of c where it doesn't diverge. z starts at 0).

Thus you can increase the iteration count, but again more calculations.

All other things equal, more zoom leads to more precision and more iterations.

shric··on Show HN: Mandelbrot – programmed in widely unknown Easylang, speeded up by WASM
Usually programs hit the limits of float32 or float64. A float64 has a around a 10 to the minus 16 precision to play with (53 bit significand) so you can hit the zoom limit with little effort.

There are various techniques to go further (obviously one is just to use arbitrary precision arithmetic, another is for example perturbation theory[1])

And there are plenty of "infinite" (or at least some arbitrarily huge level) zoom viewers. You can find videos of zooms going into 10 to the power of thousands. The deeper you go the longer the calculations take.

[1] https://en.m.wikipedia.org/wiki/Plotting_algorithms_for_the_...

shric··on Show HN: Binance Orderbooks Consumer in C++
Can you name some, I'm curious. I assume you mean the actual trading software not just the UIs?
shric··on Show HN: Binance Orderbooks Consumer in C++
And even in non-crypto it's not only about who is the fastest.
shric··on Uiua: A minimal stack-based, array-based language
Ah, awesome, really looking forward to it!
shric··on Uiua: A minimal stack-based, array-based language
Did you mean generals of array languages? I've only listened to the first 3 episodes so far and the Rob Pike episode[1] I mentioned. I have decades of experience in the popular programming languages and Lisp and some functional languages, but I'm new to array languages and I think I am the target audience.

If you're already experienced with array languages I'm not confident to recommend any particular episodes yet. You might find the Rob Pike/Ivy episode entertaining but maybe not informative. Rob is not an array language expert (he says this in the episode) but he made Ivy partly from nostalgia of APL in his early days. His recollection of that era I found good to listen to.

[1] https://www.arraycast.com/episodes/episode60-rob-pike

shric··on Uiua: A minimal stack-based, array-based language
My recent exposure to array programming languages came via a podcast called The Array Cast[1]

Not affiliated, just recommending. The regular co-hosts appear to each be experienced with various array languages such as J, APL, etc. They don't get deeply technical, but it's a nice introduction, especially on explaining the appeal.

A recent episode had Rob Pike (UTF-8, Go, etc.) on to talk about his array based calculator, Ivy[2]

[1] https://www.arraycast.com/

[2] https://github.com/robpike/ivy

shric··on Ads in the OS
> Using Windows when Linux is available is just like using WhatsApp when Signal is available.

Are you saying that Signal is better than WhatsApp more than just philosophically?

I've been using both WhatsApp and Signal for years and I find it difficult to say which is better from a UI/UX point of view.

However, I prefer my Linux desktop (Fedora/Sway) to my Windows 11 desktop experience in every way I can think of.

shric··on Pixel 8 leak promises 7 years of OS updates
My single feature that keeps me on Android is notifications. I want an unobtrusive visual only (I never want my phone to vibrate or make a noise unless my wife or kid is calling) indication that there's something needing my attention. On Android a tiny icon appears in the status bar. On iOS it's an obnoxious pop up banner or nothing at all.
shric··on How Australians made the early internet their own
The joke is I have gigabit fibre (Sydney CBD), but it's $329/month for 1000/400.
shric··on How Australians made the early internet their own
I live in the Sydney Central Business District.

1 USD = 1.55 AUD. All other numbers below are Mbps.

I pay 99 AUD per month for 250 down, 25 up.

If I want 1000 down, 50 up, it's 149 AUD per month.

If I want 1000 down, 400 up, it's 329 AUD per month.

If I want 1000 symmetrical, well I haven't even bothered to check because that's a business service.

Meanwhile I believe people in Zurich can get 10000 down/up for approximately what I pay for 250/25.

Of course, Australia is much larger than Switzerland by area, but that's no excuse for such slow speeds in Sydney. I would much prefer 1G or 10G symmetrical even if it was shaped down once leaving Sydney or Australia.

shric··on New world record with an electric racing car: From 0 to 100 in 0.956 seconds
The maths doesn't check out. A 9 second quarter mile is an average of well under 1g.

It is like lying on a bed except with less gravity than usual.

Of course it's not linear, but it's very unlikely to be more than 2g at any time. People can comfortably handle well over that in that direction of acceleration

shric··on New world record with an electric racing car: From 0 to 100 in 0.956 seconds
98% of countries use kph for vehicle speeds, also 0-100kph is a very common benchmark. If it was 0-60 I might assume mph.
shric··on YouTube-dl fork with additional features and fixes
Correct, and I believe you can't even access the video if you the app can't phone home after a certain time.

Also if you're in (or even visiting) some (most?) countries this feature doesn't work. You don't get any refund either.

shric··on Knightmare: A DevOps Cautionary Tale (2014)
I don't know if it's like this at every company, but typically there are plenty of humans keeping a close eye on what's going on whenever the software is placing orders on an exchange.

I suspect we can thank this incident in part.

shric··on Knightmare: A DevOps Cautionary Tale (2014)
I've worked in various small to medium IT companies, a FAANG and another fortune 500 tech company. 6 months ago I moved to a proprietary trading company/market maker and it's the most interesting and satisfying place I've worked so far.

I hope to continue to "waste my life" for many years to come.

shric··on Knightmare: A DevOps Cautionary Tale (2014)
Indeed, it's used in onboarding material at my employer.
shric··on School of SRE: Curriculum for onboarding non-traditional hires and new grads
Newcomers and new hires both simply mean new to a particular job. There could be a newcomer SRE with 15 years experience as an SRE.

Juniors usually implies generally no experience with anything. For example, I wouldn't call someone a junior if they had 15 years of Windows UI programming experience but for some reason decided to switch to a Linux / SRE careeer. But they would be entry level in their new field.

shric··on School of SRE: Curriculum for onboarding non-traditional hires and new grads
What would you use instead?
shric··on On Desktop GUI Minimalism
Fair enough and to each their own. I've been using computers since bitmapped fonts on 320x200 screens were the norm, and I've always been excited to upgrade resolution.
← PreviousPage 8 of 19Next →