Better HN
topnewbestaskshowjobs
Log inSign up

reverseblade2

366 karma · joined Aug 30, 2020 (6y ago) · 206 submissions

Submissions

comment 1y ago · link · parent

Just use fable and F# instead, your code transpiles to python and rust too

comment 1y ago · link · parent

A tool For logistics and container planning and movers:

LLM driven 3d packing written in F#

https://3dpack.ing

comment 1y ago · link · parent

- Yes, pcs don’t have to share the same columns.

- There is a certain level uncertainty about where these pcs will land. Yes perhaps stockfish could try to add all possible future placements but I expect that would significantly hinder stockfish as the the number of possibilities grow hundreds of times.

Your opponent doesn’t know which piece will be where until you reveal it. Therefore can’t attack a non defended pawn on b column because you may reveal a castle on next turn.

On the overall it mitigates problems of weird openings in regular chess 960 but End game stays the same.

comment 1y ago · link · parent

I built Hidden 960 Chess to bring back human creativity. At https://hidden960.onur.works, your back rank starts hidden—gray squares hide your pieces from a secret pool (1 King, 1 Queen, 2 Rooks, 2 Bishops, 2 Knights). You reveal them as you play, and if an opponent threatens a hidden square, it must be revealed immediately. When only a couple of hidden squares remain, you reveal them together. Currently rules aren't enforced and no computers.

Because of the hidden information and forced reveals, computer algorithms struggle with planning moves, making the game a true test of human intuition. Give it a try

125.

Hidden 960 Chess Variant(hidden960.onur.works ↗)

2 points · by reverseblade2 · 1y ago · 3 comments

comment 1y ago · link · parent

Location: Norway

Remote: Yes

Willing to relocate: No

Resume: Creator of 3dpack.ing

Email:onur@3dpack.ing

comment 1y ago · link · parent

lol. I was a going to build this. Even purchased the domain alert.now I even have news based version active implementation at alarms.global if you install it to your phone as PWA you get push notifications when something important happens in your region or can notify you before public holidays

I even have an automated x account @alarmsglobal

128.

Show HN: Uuid.now F# based simple UUID generator(uuid.now ↗)

5 points · by reverseblade2 · 1y ago · discuss

comment 2y ago · link · parent

It is odd that C# version doesn't increase list capacity:

List<Task> tasks = new List<Task>(numTasks);

comment 2y ago · link · parent

I have built a news and public holidays tracker at httsp://alarms.global. It focuses on what happened and natural disasters so that you can know what's going on.

There is also twitter account you can follow to see the set of news https://x.com/AlarmsGlobal

comment 2y ago · link · parent

Here's a little test I try on LLMs. So far only O1 and Microsoft Copilot (bing chat) was able to solve it:

Find a, b, c distinct positive integers satisfying a^3 + b^3 = c^4. Hint: try dividing all sides by c^3, then giving values to (a/c) and (b/c).

comment 2y ago · link · parent

I have a 40 ft HQ container and I would like to fill it with following items:

- 10 boxes of Clothes, 100x140x170 cm, 5kg each, non stackable.

- 8 boxes of Shoes, 80x120x170 cm, 3kg each, keep boxes upright.

- Try to fit everything into a single container.

https://3dpack.ing

comment 2y ago · link · parent

Fun fact, when I told my skip level manager that we have is big ball of mud, I think he was unfamiliar with the term.

Few months later I heard a complaint from my direct manager that I called our code “big ball of crap” and it was a major software company

comment 2y ago · link · parent

here's my alternative 3d bin packer https://3dpack.ing

comment 2y ago · link · parent

Hi, Yes AI merely acts as an interface, not part of the algorithm. It's because trying to add everything as a UI, I personally find it challenging. Also the options can exponentially grow. In the future I plan to add more sophisticated features as in

"- Do not add Clothes over Shoes, while Shoes and Buttons can be stacked over each other but do not exceed 140 cm height."

This in turn can be translated into a json level config but it is difficult to acquire user input with plain forms.

There are 2 different algorithms. One is adding each box partitions space into 3 and those spaces are recursively filled. Eventually the problem is reduced to finding the correct permutation of boxes along with their correct orientation.

That is primarily derived by simulated annealing of which I had good experience with combinatory problems. Also some magic heuristics which I also don't fully understand takes into play :)

comment 2y ago · link · parent

Sorry forgot the repo link

https://github.com/goswinr/BinDrake

comment 2y ago · link · parent

Hello,

I have written a 3D bin packer fully in F# https://3dpack.ing

I plan to open source the frontend. And a fork of older version of the algorithm is available here (albeit that version is very slow)

138.

AI driven 3D bin packer written in F#(3dpack.ing ↗)

3 points · by reverseblade2 · 2y ago · 5 comments

comment 3y ago · link · parent

Location: Oslo Norway

Remote: Yes

Willing to relocate: Yes

Technologies: .NET, C#, F#, Web components, Lit , distributed computing

Résumé/CV: Microsoft Employee, https://www.linkedin.com/in/onurgumus/

Email: onur@outlook.com.tr

Personal blog: https://onurgumus.github.io

Sample project: 3d bin packer, https://bindrake.com

comment 3y ago · link · parent

How about just use F# and https://fable.io

comment 3y ago · link · parent

  Location: Oslo, Norway. 
  Remote: Yes
  Willing to relocate: Yes
  Technologies: FSharp, Akka.NET, CQRS, Web Components
  Résumé/CV: Microsoft employee, https://www.linkedin.com/in/onurgumus/
  Email: onur@outlook.com.tr
  Sample project: https://bindrake.com

comment 3y ago · link · parent

Just as a side info, the profile card in Microsoft Teams does use Web Components.

comment 3y ago · link · parent

Built with lit web components, and F# no shadow root

https://funpizzashop.azurewebsites.net/

Source: https://github.com/OnurGumus/FunPizzaShop

comment 3y ago · link · parent

Location: Oslo, Norway

Current company: Microsoft

Remote: Yes, Any timezone

Willing to relocate: Yes

Technologies/Arch.: Full-stack F#, Akka.NET, DDD & CQRS, distributed programming

LinkedIn: https://www.linkedin.com/in/onurgumus/

Email: onur AT outlook.com.tr

Live app: bindrake.com Workshops: https://github.com/OnurGumus/FunPizzaShop/

comment 3y ago · link · parent

This is done with lit https://github.com/OnurGumus/FunPizzaShop/tree/main

comment 3y ago · link · parent

I have build this with F# both front-end and back-end. Thanks

147.

BinDrake a 3D Bin Packer(youtube.com ↗)

2 points · by reverseblade2 · 3y ago · 1 comment

comment 3y ago · link · parent

I use F# Fable.Lit with web components. here’s a sample app I built, a 3d bin packer load calculator. https://bindrake.com

comment 3y ago · link · parent

Web Components, Service workers, Lit.dev, htmx, declarative shadow dom. These are the modern tools you need.
1234567