Hacker News new | past | comments | ask | show | jobs | submit | justinclift's favorites login

In this spirit of practicing and making multiple small games before a big one, I find the 20 Games Challenge[0] interesting. It's a list of known games sorted in increasing difficulty to reproduce, introducing new concepts progressively.

[0]: https://20_games_challenge.gitlab.io/


>To use the compiled binaries, you must own the game. The C&C Remastered Collection is available for purchase on EA App or Steam.

Mind you EA released [some of] the games as freeware back in 2008 so no, you don't have to buy them for the graphics, art, sound, and music assets

Tiberian Dawn GDI https://web.archive.org/web/20110927141135/http://na.llnet.c...

Tiberian Dawn NOD https://web.archive.org/web/20111104060230/http://na.llnet.c...

Tiberian Sun (though no source code was released for this game) https://web.archive.org/web/20110823002110/http://na.llnet.c...

Red Alert Allied https://web.archive.org/web/20100130215623/http://na.llnet.c...

Red Alert Soviet https://web.archive.org/web/20100130220258/http://na.llnet.c...


In a sense, Adrian Thompson kicked this off in the 90's when he applied an evolutionary algorithm to FPGA hardware. Using a "survival of the fittest" approach, he taught a board to discern the difference between a 1kHz and 10KHz tone.

The final generation of the circuit was more compact than anything a human engineer would ever come up with (reducible to a mere 37 logic gates), and utilized all kinds of physical nuances specific to the chip it evolved on - including feedback loops, EMI effects between unconnected logic units, and (if I recall) operating transistors outside their saturation region.

Article: https://www.damninteresting.com/on-the-origin-of-circuits/

Paper: https://www.researchgate.net/publication/2737441_An_Evolved_...

Reddit: https://www.reddit.com/r/MachineLearning/comments/2t5ozk/wha...


You can read out the FARM logs of Seagate hard drives using

    smartctl -l farm /dev/sd<n>
They're supposed to be "more trustworthy" than the regular SMART stats.

(My two "new" 16TB Exos drives had 0 hours (regular) and ~18k hours (farm) - DOM 04JUN2021 and 07JUN2021. Also, zfs refused to format the drive: 'already formatted as ddf_raid_member'.)


This is awesome! Did you know that swisstopo publishes a dataset of 3D models of many swiss buildings complete with accurate roof shapes?

I think version 3 is now in beta and last I checked they even covered remote areas and alp huts: https://www.swisstopo.admin.ch/en/landscape-model-swissbuild...


In case anyone is interested in 3D Terrain simulation (specifically for GPS tracks, e.g. hiking, skiing): I'm working on https://cubetrek.com

Source is here: https://github.com/r-follador/cubetrek


They claim the right to audit purchases through the edu store and charge you the difference if you don't qualify, but I've never read anyone online reporting they've been audited/charged.

https://www.apple.com/us-edu/shop/browse/open/salespolicies/....


Dungeon Crawler Carl is a rare gem that I've come across lately, very unique, paces well and I couldn't put it down - https://www.goodreads.com/series/309211-dungeon-crawler-carl

The audiobook is also really well narrated.


Only mildly related, but has any one else been using Martin [0] for tile serving from Postgres/PostGis? It’s been a huge benefit to me and probably my favorite open source map tool right now. Martin + Deck.GL is such an awesome combo.

[0] https://maplibre.org/martin/introduction.html


There's also panda[1], but I never got it working myself. I share your frustration, as it would help greatly with debugging, especially with nondeterminstic bugs. I likewise never got QEMU's record/replay to work.

[1] https://github.com/panda-re/panda


Also, charm's bubbletea framework if you use golang.

https://github.com/charmbracelet/bubbletea


Location: Beijing, China (Australian) Remote: Yes

Willing to relocate: Yes, but.... due to my unique diplomatic status, I cannot relocate unless the price is right. I don't need to work, but I will for the right project or company.

Technologies: C, C++, C#, TypeScript, JavaScript, Node.js, React, WEBASM, NGINX, SQL, Redis, Python, AWS, Docker, Kubernetes, Ansible, Terraform, CUDA, Video Encoding, Jupyter, PyTorch, LLMs, MPEG (Low-level video encoding), Linux, TV and Mobile development. HbbTV, ATSC 3.0 (NextTV). OpenTV. Design: Figma, Balsamiq, Adobe CS.

Hi. I'm a highly self-motivated builder and problem solver. Nominated for multiple technical Emmys. You name it, I have built it, at scale. A hands-on CTO or Engineer. Give me a team, and I will teach them how to do it right and efficiently. You will have heard about a Twitch-killing streaming system for 200M+ simultaneous viewers I worked on. You will eventually hear about my last project, a complete smart contract system designed and built from the ground up for the MDB world. I can build anything. I can find a solution to any problem. I specialise in building streaming services. If you own a TV you are likely using my software already. For money, I design and build national-scale broadcast systems. Do you want to build a Netflix? I can do that from the ground up. For fun, I am currently building a large-scale AI project in public. ( https://www.youtube.com/watch?v=sqvHjXfbI8o )

Résumé/CV: https://blog.metawrap.com/1994/12/28/resume-of-james-mc-parl...

Email: [email protected]


> I use monodraw for these diagrams. Monodraw is MacOS only unfortunately, but there are no doubt good alternatives for other platforms.

https://github.com/Nokse22/ascii-draw


Goaccess (https://github.com/allinurl/goaccess) does this in real time and has been very stable for well over a decade.

For anyone who wants to help do something about dementia, at least in a tiny way, and is perhaps concerned about their own risk of dementia there is a pretty easy way you can contribute.

The UCSH Brain Health Registry :

https://www.brainhealthregistry.org

You can register and every few months you answer some questions about yourself and do some fairly basic mental health tests.


A family friend of ours recently fell victim to a phishing attack perpetrated by an attacker who paid for Google Ads for a search term like "BANKNAME login". The site was an immaculate knock off, with a replay attack in the background. She entered her 2fa code from the app on her phone but the interface rejected the code and asked her for another one. In the background, this 2nd code was actually to authorise the addition of a new "pay anyone" payee, and with that her money was gone[0].

I have accounts with 2 banks, one uses SMS 2fa and the other uses an app which generates a token. I had thought that the app was by default a better choice because of the inherent lack of security in SMS as a protcol BUT in the above attack the bank that sends the SMS would have been better because they send a different message when you're doing a transfer to a new payee than when you're logging in.

So really the ideal is not just having an app that generates a token but one that generates a specific type of token depending on what type of transaction you're performing and won't accept, for example, a login token when adding a new payee. I haven't seen any bank with that level of 2fa yet, has anyone else?

I guess perhaps passkeys make this obsolete anyway since it establishes a local physical connection to a piece of hardware.

[0] Ron Howard voice: "she eventually got it back"


Found this video https://m.youtube.com/watch?v=zM1ux9BU4_c

It appears that Fabric8 do intend on targeting all the way down to low margin mass manufacturing with a high number of low cost machines which they run in house on a manufacturing service basis. They’re targeting 1000+ batches but I assume in time they’ll be able to do the very small batch stuff as well. Perhaps with a strategic partner that’ll deal with the small annoying customers like me. I’m super exited by this technology and am happy that they’re targeting areas that I think will be most impactful for the world of manufacturing, as well as long term profitable for them, and hopefully eventually very accessible for DIYers like myself.


“apt install foo+ bar-” will install foo and remove bar, in one operation.

> Somebody spoke up on the Fediverse, saying “I wonder if reporters know that Wikipedia hallucinates too?"

This recent xAI chat on SpaceX is way better and more revealing than anything I've read on Wikipedia: https://www.reddit.com/r/ChatGPT/comments/1dgyujd/comment/l8...

The fact that AI is allowed to connect the dots (banned as WP:OR in wiki) can be an advantage over Wikipedia...


Growing up in a dysfunctional family, I had a lot of anger that stole away parts of my life. Anger wasn't alone at fault, but surely a demon that was there. One thing that hit me hard, while I was already on my healing journey was a saying at a monastery:

"You will not be punished for your anger, you will be punished by your anger."

This saying is supposed to be from Buddha's teachings. I remember having an immediate talk with my friend, almost breaking down, thinking about all the years behind that I have been trying to tame this.


I spent like 15 minutes trying to find an official download link, even registered a broadcom account but that was a waste of time as well. Ended up finding a working download link from some reddit comment. It seems to contain all versions of fusion, player, workstation and remote console.

https://softwareupdate.vmware.com/cds/vmw-desktop/ws/


This Tailscale blog [1] from 2020 has been posted on HN many times before I’m sure but is worth highlighting again as it does a great job outlining the technical complexities that CGNAT (and NAT in general) introduce.

I have my head in this space at the moment as I’m trying to implement NAT detection (as pioneered by Dublin traceroute [2]) into Trippy [3].

[1] https://tailscale.com/blog/how-nat-traversal-works

[2] https://dublin-traceroute.net/

[3] https://github.com/fujiapple852/trippy/issues/1104


Having gone through this struggle myself, here's the cheat sheet. You want a device that uses the Linux switchdev driver and is supported by dentOS whether or not you actually choose to run dentOS on it (I run NixOS on my switch):

https://www.kernel.org/doc/html/latest/networking/switchdev....

https://github.com/dentproject/dentOS

Switchdev support means you don't need hardware-specific userspace tools (with their own bizarre syntax to learn) in order to configure the switch.

DentOS support means the device uses a sane bootloader (uboot or grub) and the only binary blobs on the device will be the ones built into the bootloader (IntelME, Arm Trusted Firmware) and the switch firmware which will be part of linux-firmware (and therefore very easy to manage/update).

In particular, looking for these two keywords is how you make sure that the hardware vendor is staying on "their side of the line" between hardware and software. Violations of this line are endemic to 10G+ switching.


As does Ghidra or Binary Ninja.

There is no destination; there is only the voyage.

There was no beginning; there is only the voyage.

In life, we voyage together, and in death we shall voyage alone.

Now, then, and forever voyaging.


Worked in software for manufacturing for some time. The best thing to do is learn about how processes came into manufacturing and the whys—the tech is less important. Simple concepts like introducing Kanban for inventory allowed us to go from month-long lead times to days. World Class Manufacturing is the bible (https://www.amazon.com/World-Class-Manufacturing-Richard-Sch...).

> This just looks like utterly unsurprising incompetence on the part of a consumer networking / IoT gear manufacturer.

Then how about Xiongmai NVRs [1]? Can I say it's just an incompetently implemented debug feature left enabled in production?

[1] https://habr.com/en/articles/486856/


Change "twitter" to "twiiit" to get a random nitter instance: https://twiiit.com/bl4sty/status/1776691497506623562

If you're interested in an alternative query language, https://prql-lang.org/ is a good one.

This problem is only worsening. I recommend running nmap vulners or flan on a cron at home against your network.

I found multiple CVEs in my brand new (2023) router. They were running old versions of dropbear SSH, dnsmasq that had vulns.

Most routers are just cobbled together from years-old OpenWRT releases or worse.

I also found vulns on a brother printer, a smart plug, wifi-enabled air filter.

Everything in your house that has wifi probably has a vuln on it.

https://github.com/vulnersCom/nmap-vulners

https://github.com/cloudflare/flan

I urge everyone to check you'll definitely find a CVE


Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: