Better HN
topnewbestaskshowjobs
Log inSign up

cpascal

811 karma · joined Oct 28, 2019 (7y ago) · 136 submissions

Submissions

comment 5y ago · link · parent

Pascal was the first language where programming clicked for me. Pascal also happens to be my given last name, which makes it just a bit more special to me.

Funnily enough I learned Pascal using Turbo Pascal which makes me sound older than I am, because I learned Pascal around 2010 and my high school's CS department was just way behind the times. By that point we were using a nearly 20 year-old 16 bit compiler in Windows XP.

comment 5y ago · link · parent

This reminds me of a metaphor made by Burton G. Malkiel in “A Random Walk Down Wall Street”. He attempts to give a possible explanation to why there are star traders or funds that greatly outperform the market. It’s something I like to remind myself of from time-to-time.

The metaphor was a coin flipping tournament. You have a bracket of players who flip a coin against an opponent. In each matchup, the player that flips a heads advances to the next round to face another opponent who won a parallel matchup in the previous round. Suppose this is a 100 round tournament, that would mean the eventual winner would have had to flip a heads 100 times to win. You might look at this coin flipper and think they are an extraordinary coin flipper. That they have some innate ability to flip a coin and make sure it lands with the head sides up. In reality, it was just random chance that they flipped the coin correctly, they do not posses any more coin flipping talent than anyone else. They just got really lucky. You can potentially look at a successful hedge fund or trader through this same lens. They have survived the proverbial coin flipping tournament and random chance was on their side.

comment 5y ago · link · parent

Can Citadel exercise any sort of discretion on what order-flow they'll fill? Can they legally tell Robinhood that they will no longer fill orders for GME?

comment 5y ago · link · parent

You just run the previous version of the production stack in your "dogfood/operations" stack. Once you've fully rolled out production and have vetted it, you can upgrade the other one to match production.

comment 5y ago · link · parent

At the risk of starting a language flame-war: if I were starting a new company or effort, my default choice would be .NET Core.

Performance is generally great and if you need to, there are lots of features in the language to allow you to further squeeze performance. C# is easy to pick up and has best-of-breed IDE support- you will get productive quickly. Also, you have an extremely large standard library at your disposal that is supported and dogfooded by Microsoft. Which is great because generally you do not need to install third party packages, but if you do NuGet is really easy to use.

Edit: Forgot to mention the stellar documentation provided by Microsoft.

comment 5y ago · link · parent

I'm taking my second crack at learning Rust and I have to say I've made a lot more progress this second attempt. It could be just giving things time to stew in my head, but I really think it's because I'm using rust-analyzer with vscode and before I was using RLS. Rust-analyzer is a much richer experience and its informative error messages and suggestions lessens the learning-curve drastically.

comment 5y ago · link · parent

Interesting. This combined with the H2+ could make a nice wireguard VPN gateway for a home network.

The H2+ is a quad-core 2.3 GHz intel board. Anyone know if that would be enough juice to handle a gigabit wireguard link?

comment 5y ago · link · parent

The title of this submission is hyperbolic.

Merkel did not "blast" Twitter's decision. According to the article, her spokesperson said Merkel "considers it problematic that the president’s accounts have been permanently suspended".

comment 5y ago · link · parent

Seconding this. Barkeeper’s friend is like magic on aluminum. If you use it regularly you can keep your aluminum pots and pans looking like they’re factory new.

comment 5y ago · link · parent

The author of the Twitter thread links to another thread towards the end that notes the risk of a classified information breach isn't too high.

https://twitter.com/ericgeller/status/1347226499930230785

Obviously that doesn't change the fact that the entire building should be considered compromised and scrubbed.

comment 5y ago · link · parent

A online bank with IMO great savings and money management features. They also had a fairly competitive high-yield interest rate on their savings accounts.

42.

Ticketmaster admits it hacked Songkick before it went out of business(arstechnica.com ↗)

633 points · by cpascal · 5y ago · 318 comments

comment 5y ago · link · parent

So something cool I noticed at the bottom of the page. There's a "Report Information" button that brings up a modal outlining several ways to report information to the CIA. The most interesting one to me being the option to report via Tor.

From the dialog:

> We go to great lengths to keep these channels secure, but any communication sent using the internet involves some risk. You can reduce some risk by using the Tor browser, a virtual private network, and/or a device not registered to you. You can access the Tor browser at ciadotgov4sjwlzihbbgxnqg3xiyrg7so2r2o3lt5wz5ypk4sxyjstad.onion.

comment 5y ago · link · parent

It really depends on your scale and how many messages you are processing per second. For a lot of applications, you’re absolutely correct, but if you’re scale is sufficient, a “micro” optimization like this is actually a “macro” optimization. Also the author of this article works at DataDog and I suspect the number of messages they process each second falls under the sufficient category.

For example, suppose you are processing 1M messages per second and you can shave 1 byte off the message size, that shaves off 1MB/sec of data that needs to be processed. If you’re paying for network bandwidth or storing the messages, that saves you something like 2.6TB of data each month.

2.6TB/month is not likely to be a huge deal when it comes to cost savings, but if you keep scaling the messages/sec or the bytes/msg you can start to get some significant savings.

Now I used message size as an example, and the article focuses on processing time not message size, but the point still stands. When you can make a micro optimization for something that is done a very large number of times, there are not-insignificant gains to be had.

comment 5y ago · link · parent

I’m with you there.

comment 5y ago · link · parent

I'm dreading the day Reddit kills the API's Apollo is using.

comment 5y ago · link · parent

> The last time this happened, everyone involved was dismissed or resigned.

If you're referring to the 1976 scandal that's not completely true. Yes they were dismissed, but a large number of them were given a second chance.

The 1976 scandal involved 150 cadets but 92 cadets were readmitted after completing year of useful service as stipulated by the Pentagon. [1]

[1] https://www.nytimes.com/2020/12/21/nyregion/west-point-cheat...

comment 5y ago · link · parent

Liquidation preferences. Large investors can negotiate a liquidation preference with their investment. This means they will receive some multiple (1x, 2x, ...) of their investment from the liquidation proceeds. These investors can also be "participating members" which means after receiving their liquidation preference they can still receive their pro rata share of the liquidation proceeds based on their equity stake.

So if a company was liquidated for an amount at or below the sum of the liquidation preferences there's nothing left for the shareholders to divvy up.

comment 5y ago · link · parent

You should be able to run Linux GUI apps via WSL2 on a preview build soon.

https://devblogs.microsoft.com/commandline/whats-new-in-the-...

comment 5y ago · link · parent

I don't think so, but I would love to hear otherwise. My research indicates it can only support one external display up to 6K@60Hz.

comment 5y ago · link · parent

> Just Buy M1 if you'd like to have a low-power, long-lasting, quiet, and performant dev machine.

I would absolutely love to buy the M1 MacBook Air (and I almost did), the performance is just too good. It’s nearly impossible to justify spending money on any other laptop. Unfortunately, I just can’t get past the single external display limitation. I did see there is a DisplayLink workaround to get multiple external displays working, but the performance of DisplayLink is not great and requires purchasing a dock.

It’s frustrating because I want to buy a M1 laptop, and the display support is a complete dealbreaker.

Assuming Apple addresses the display support in the M2 laptops, they’ll be an insta-buy for me.

comment 6y ago · link · parent

It seems FAST isn't a complete substitute for Arecibo.

https://en.wikipedia.org/wiki/Five-hundred-meter_Aperture_Sp...

comment 6y ago · link · parent

Here's a video in his 6502 series where he hooks up the 6502 computer he's been building with this video card.

https://www.youtube.com/watch?v=2iURr3NBprc

I highly recommend his videos and kits. He's a great teacher.

comment 6y ago · link · parent

Just wanted to say that I've been watching your Pi videos on YouTube over the last few months and I really enjoy them. Your video about trying to get a GPU working with a Raspberry Pi was particularly fascinating. Keep up the great work.

comment 6y ago · link · parent

I like the idea of a vacancy tax that is proportional to the value of the property so that any year-over-year gains in equity are eaten up by such tax. I think turning a vacant property into a liability instead of an asset would do a lot to keep housing accessible.

56.

Expensify emailed its 10M customers urging them to vote for Biden(twitter.com ↗)

4 points · by cpascal · 6y ago · discuss

comment 6y ago · link · parent

You may not be aware, but PowerShell can now be run on Linux, macOS, and Windows.

https://github.com/powershell/powershell

12345