Better HN
topnewbestaskshowjobs
Log inSign up

saulr

302 karma · joined Mar 18, 2013 (13y ago) · 42 submissions

Submissions

comment 1w ago · link · parent

I’ve seen this reported (and screenshots of it in action) but then earlier today Opus 5.5 used Ghidra to reverse engineered a bunch of logic from Counter-Strike 2. Is this being A/B tested?

comment 7mo ago · link · parent

Spectators don't watch the game on the same server that's hosting the game. The host server sends the traffic to a 'relay' on a delay, which spectators then connect to. Similarly for the HTTP streamed games, the game server is writing the data for spectators on a delay.

comment 7mo ago · link · parent

This absolutely still exists - I have a library for reading Source 2 (CS2, Deadlock etc) demo files and streams (HTTP ones like CSTV).

https://github.com/saul/demofile-net

comment 10mo ago · link · parent

Just to add a piece of data to support this:

> It turns out the phone signal inside the station can be better than the one above ground

I was surprised when I noticed I had 5G in the tunnel, ran a speed test and hit 641Mbps down!

https://www.speedtest.net/result/i/6831252952

comment 2y ago · link · parent

> the fact that Post Office Ltd has inherited the ability to prosecute crimes committed against itself

Any private citizen or business in the UK has a right to prosecute crimes. It just costs a lot of money, so you can imagine how it's used (spoiler: large companies/wealthy individuals against poor people).

comment 3y ago · link · parent

This ultimately resulted in a new restriction in a bill making its way through Parliament that "a company must not be registered under this Act by a name that, in the opinion of the Secretary of State, consists of or includes computer code".

See page 16 of the Economic Crime and Corporate Transparency Bill (https://bills.parliament.uk/publications/49554/documents/283...)

7.

UK competition regulator finds Adobe’s purchase of Figma could reduce innovation(gov.uk ↗)

168 points · by saulr · 3y ago · 72 comments

comment 4y ago · link · parent

Worth noting that Hadolint[1] raises warnings the issues mentioned in the article. Some examples of warnings:

- https://github.com/hadolint/hadolint/wiki/DL3007: Using latest is prone to errors if the image will ever update. Pin the version explicitly to a release tag. - https://github.com/hadolint/hadolint/wiki/DL3013: Pin versions in pip. - https://github.com/hadolint/hadolint/wiki/DL3018: Pin versions in apk add.

[1] https://github.com/hadolint/hadolint

comment 5y ago · link · parent

On Linux, .NET does write ANSI escape sequences to stdout for you. ConsolePal.Unix.cs (Pal in this context referring to 'platform abstraction layer') does the work for you behind the scenes: https://github.com/dotnet/runtime/blob/10eb1a9ff1c09de4a2a1f...

comment 5y ago · link · parent

I believe this tweet has been twisted from the original tweet, which is that _cross origin_ alert (e.g. from an iframe) is the thing being removed. Using alert etc from the main frame will continue to work.

comment 5y ago · link · parent

iCloud Private Relay, coming in iOS 15, does appear to be native IPv6. I wonder if this will have a noticeable effect on IPv6 adoption stats when it's released to the public[1]?

[1] https://www.google.com/intl/en/ipv6/statistics.html

comment 5y ago · link · parent

Edge supports WebDriver: https://docs.microsoft.com/en-us/microsoft-edge/webdriver-ch...

comment 5y ago · link · parent

If you're in the market for an F# job in London, please reach out to me at Saul.Rennison@gresearch.co.uk. We have an full-time F# engineer open right now.

comment 5y ago · link · parent

G-Research | F# Engineer | Full-time | London - ONSITE after COVID | https://gresearch.co.uk

G-Research is Europe's leading quantitative finance research firm. We hire the brightest minds in the world to tackle some of the biggest questions in finance. We pair this expertise with machine learning, big data, and some of the most advanced technology available to predict movements in financial markets.

G-Research are one of the largest commercial users of F# in the world and we're looking to hire an engineer to join the F# libraries/frameworks team. Whether you're an established functional programmer already or are keen to give it a try, we'd love to hear from you.

I'm one of the developers on the team, so you can reach out directly to me if you’re interested or know someone that might be: Saul.Rennison@gresearch.co.uk

comment 5y ago · link · parent

The companies using F# are definitely few and far between, but G-Research in London are hiring an F# developer at the moment.

If this sounds like something you’d be interested in, please reach out to me at: im (at) saul.re

comment 5y ago · link · parent

I have several years of full-time F# experience and I’ve also made some contributions to the F# support for Rider.

1. As part of my job I flip between C# and F# often and with each new release of Rider the IDE-support gap between them is closing. Obviously C# has many more years of attention and work on its tooling, but there are very few things I yearn for when editing F# code nowadays. I also find Rider far better to use than VS Code for F#, simply because I’m so comfortable with JetBrains’s IDEs now.

2. Any time I have to model anything remotely complex in C# I always wish I was doing it in F# instead. Features like discriminated unions, exhaustive pattern matching and immutability-by-default immediately spring to mind.

comment 6y ago · link · parent

I believe newer Valve multiplayer games (e.g. Dota, CSGO) use Steam Networking instead of the game sending UDP itself. Packets sent with Steam Networking are encrypted[0].

Before CSGO moved to Steam Networking, the game itself encrypted the packets. I can't remember exactly when this was introduced, but it's still in place - see https://github.com/alliedmodders/hl2sdk/blob/acf932ae06b64b7...

[0] https://partner.steamgames.com/doc/features/multiplayer/netw...

comment 7y ago · link · parent

Funny to see someone linking to one of my tutorials :) I'd completely forgotten I wrote all of those!

comment 9y ago · link · parent

Hey Philip, great post - really informative. Especially happy to see that the nightly releases are coming along considering the pace of improvements by the likes of Vasily and all the rest.

I do have a small question about the Visual F# team at Microsoft. Are there any plans to grow the team at all? It seems that the company deems F# as a second class .Net language, preferring VB.Net/C# when it comes to contributions from employees and IDE features. Given the popularity of F# in surveys such as the recent annual Stack Overflow developers survey, is there any interest at the company to put more manpower to F# development?

P.S. I hope to see you around at the F# Exchange in London next month if I go.

comment 9y ago · link · parent

WSL does support network adapter enumeration as of build 14965.

Take a look at this blog post from November: https://blogs.msdn.microsoft.com/commandline/2016/11/10/ifco...

comment 10y ago · link · parent

If you disable hibernation then the hiberfil will disappear. With low power states in modern computers, sleep is suffice (hibernate is a relic from old Windows):

> powercfg -h off

comment 10y ago · link · parent

Very interesting. Just to clarify, am I right in saying that 10-bit colour just provides more precise colours within the sRGB gamut? 10-bit colour does not extend the colour gamut in anyway?

comment 10y ago · link · parent

Check out uswitch, they have a few unlimited data deals: https://www.uswitch.com/mobiles/compare/sim_only_deals/

(Select "Unlimited data" from the filters on the left-side)

comment 10y ago · link · parent

They definitely do - I signed up to one the other week.

Three do "all-you-can-eat" 4G data + 200 minutes = £23/month (50% off first 6 months)

comment 10y ago · link · parent

Completely agree except the light argument -- having my lights cloud connected allows me to control them remotely. The main use for this is for time or sunrise/sunset scheduling. However you could quite easily architecture this without cloud connectivity, it seems easiest to keep the bulb dumb and keep the 'smarts' elsewhere (whether that's on a phone locally or a server in the cloud).

comment 10y ago · link · parent

The standard is only a hint to the user agent, not a MUST.

comment 10y ago · link · parent

Just to add to this, Mastercard and Visa have set a 2020 limit for all card machines in Europe to support contactless payments.

comment 10y ago · link · parent

Sanitizing usually means escaping. i.e., sanitizing as to not be dangerous, escape any dangerous sequences.

comment 10y ago · link · parent

If the author is reading this, I always find it useful to run HTML CodeSniffer [1] to find contrast accessibility violations. It gives you the closest colour that meets the contrast requirements. With a few small colour tweaks, I got the number of WCAG AA violations down from 115 errors to 17 (the remainder are primarily contrast issues with the code blocks).

P.S. Loved the article!

[1] https://squizlabs.github.io/HTML_CodeSniffer/

comment 10y ago · link · parent

Likewise for Computer Science classes in Western Europe (and I imagine North America). This is the issue with arbitrary quotas/targets for hiring female engineers - there is a lack of those qualified. I acknowledge that there is a huge disparity between male/female workers in the field, but the issue is far earlier in an aspiring engineer's life than getting a job. STEM subjects have far fewer female students than male - this is the core of the issue. The lack of women in STEM careers is a symptom of this core problem.
12