Better HN
topnewbestaskshowjobs
Log inSign up

tslater2006

84 karma · joined Jul 11, 2014 (12y ago) · 31 submissions

Submissions

comment 1y ago · link · parent

Foesn't this show other top level functions besides main? From the JEP

```Top-level members are interpreted as members of the unnamed class, so we can also write the program as:

String greeting() { return "Hello, World!"; }

void main() { System.out.println(greeting()); }```

comment 1y ago · link · parent

Because if he had the general proof he wouldn't need to go out of his way to prove n=4, since it would be covered already by the general proof

comment 1y ago · link · parent

The readme shows support for dumping dex files. Edit: missed that it has a comment that stays "unsupport for now" but at least it looks like something planned

comment 1y ago · link · parent

Heh, was looking up the wiki on the Baader Meinhoff phenomenon only to find out it sends you to your link. Guess that's an easier name to know it as :)

comment 1y ago · link · parent

I maintain a joke domain which I've found sadly applicable through the years. https://adventofrealizingicantread.com. I try to keep it updated pointing to the current day throughout the month

I've found especially as the month progresses it's just as much Advent of Reading Comprehension as it is coding :)

comment 2y ago · link · parent

I struggled with this through highschool. Pencil and gel pens were the worst. I never learned to write with my paper tilted like some lefties. I write just like a mirror image of a right hander, which lead to a lot of smudging and having to rewrite papers etc

This change my sophomore year in English class when my teacher told me a trick! Place a sticky note on the side of your hand that rests on the paper. No more smudging!

comment 2y ago · link · parent

Looking at pricing, its $15 per 1M input tokens, and $60 per 1M output tokens. I assume the CoT tokens count as output (or input even)? If so and it directly affects billing, I'm not sure how I feel about them hiding the CoT prompts. Nothing to stop them from saying "trust me bro, that used 10,000 tokens ok?". Also no way to gauge expected costs if there's a black box you are being charged for.

comment 2y ago · link · parent

This is correct the last I read about it, but there was a project called ArcWelder that would post-process your gcode and convert the motions to true arcs. The printers today support the arc gcode, but the slicers don't generate them.

https://github.com/FormerLurker/ArcWelderLib

comment 2y ago · link · parent

No need for a plane, works that way for my head in real life too :) tilt your head back and you look up

comment 2y ago · link · parent

I could see this. Like obviously I live first person, and when I want to look up I pull my head back, to look down I push my head forward. Similarly I expect pushing my mouse forward (up) to look down and pulling my mouse back (down) to look up.

comment 2y ago · link · parent

What a wonderful and detailed wrote up. Thank you for this! I wrote something similar but never released it due to not having a lot of hobby paint colors to include. It uses LAB for linear distance as a scoring mechanism and reflectance curves from RGB for the mixing. And a genetic algorithm for finding a recipe.

Here's a short video of an older version. Newer one let's you set how long to search for.

https://youtu.be/eGgrowt1fWg?si=NwucIgfpeWpbmCPX

comment 2y ago · link · parent

The linked page says the following:

No C# or GDNative/GDExtension: Only GDScript is supported. Native extensions are not supported, but you can try to convert them into internal modules.

comment 3y ago · link · parent

I tried your example utterance about the glass door and can confirm 3.5 works fine. I then tried rewording it a bit and it did not go well, maybe I just worded it badly? https://imgur.com/a/UIXcDaJ

comment 3y ago · link · parent

Guessing they meant "I have never read" and not telling you to "never read"

comment 3y ago · link · parent

Yep! Can confirm I saw it at $10k earlier today as well.

comment 3y ago · link · parent

My (limited) understanding is that if you have say a 5mb file, and you open it for writing and wrote 3mb. You might expect the file to be 3mb, but...if you didn't specify the truncate flag (the bug here) the file is still actually the 5mb it was. The image appears cropped because the relevant metadata has the new sizes etc, but that 2mb of extra data is still there by mistake. This can be used to recover some of the original image.

comment 3y ago · link · parent

Or playing ads before showing someone the Tornado warning/radar.. I hate the weather Channel app

comment 4y ago · link · parent

> 10000

> & 1111

> ______

> 1

Wouldn't this result in 0 and not 1?

comment 4y ago · link · parent

The linked tweet is part of a larger thread which details an issue with how they set up transmitters in factorio which led to the destruction of the entire base. The thread then pivots to how it applies to other areas.

comment 4y ago · link · parent

I'm guessing you are referring to the new format they released with Chitubox 1.9 that encrypts portions of the layer data. The Chitubox file format has been reverse engineered and their encryption as well. The format is in the CTBEncryptedFile.cs of the UVTools project, and the encryption specifically is handled in the CryptFile mehtod: https://github.com/sn4k3/UVtools/blob/master/UVtools.Core/Fi...

010 Editor templates for both the encrypted CTB and the decrypted CTB are also provided in the repository: https://github.com/sn4k3/UVtools/tree/master/Scripts/010%20E...

comment 4y ago · link · parent

As someone that has recently started learning Rust, I am certainly interested in looking at source for bigger projects than I've made. Getting a feel for patterns and examples of how to do certain things.

If your interest in jless is about its utility, you are right, language doesn't matter. If your interest in jless is looking at its code, I think language is relevant. And personally seeing it in the title let's me know without clicking that I might want to check out it's code later.

comment 4y ago · link · parent

I built a few utilities that help PeopleSoft developers do their job. It's a pretty niche market and it's all MIT licensed. I work on it when I need it to do something, or someone requests a feature. They have stayed pretty low on radars since they were released (the oldest was 6 years ago). I don't work on them for them to be popular. I work on them because the few times I've needed them, they were indispensable.

Trace Wizard [0] - Peoplesoft App Server trace file analyzer. Shows execution paths, sql statements, exceptions and a bunch of stars.

DMS-Viewer [1] - Peoplesoft uses a program called Data Mover to migration data between databases. It exports the data into an undocumented file format. This utility allows you to inspect and alter the data before importing to a new database.

Pivet [2] - command line utility that dumps various Peoplesoft definitions/code to disk and leverages git for tracking the changes. Intended to be run as a scheduled process.

[0] - https://github.com/tslater2006/Trace-Wizard

[1] - https://github.com/tslater2006/DMS-Viewer

[2] - https://github.com/tslater2006/Pivet

comment 4y ago · link · parent

This led me one year to registering adventofrealizingicantread.com

It just redirects to the advent site but I've grown to love it :)

comment 5y ago · link · parent

How was the experience for you? I've done the past few years in C#, but am considering using 2021 to learn Rust.

comment 5y ago · link · parent

Good info thanks. My comment wasn't intended to be a statement of fact by me, but rather what Impossible Foods claims. The complaint is now available on courtlistener.

comment 5y ago · link · parent

I just added it. Edit: also added the order to dismiss due to lack of personal jurisdiction and the trademark report document.

comment 5y ago · link · parent

Case number for locating it in PACER: 5:2021cv02419

At a glance of the complaint it seems that Impossible X started this with complaints and legal action against mpossible Foods for infringing on their trademarks. The complaint additionally shows that Impossible X was granted their registration of IMPOSSIBLE on Jan 9th, 2018.

comment 11y ago · link · parent

From the GitHub:

To use WinObjC, there are a few requirements. You need:

Windows 10

Visual Studio 2015 with Windows developer tools. Visual Studio 2015 Community is available for free here. Select (at least) the following components during installation:

comment 11y ago · link · parent

Just did a quick site price estimator, probably not super accurate but it said about 18k. http://www.siteprice.org/website-worth/www.timeline.com

comment 12y ago · link · parent

Per the Processing.js site, you include the processing.js file and then set an attribute on the canvas showing where to get the PDE file (your code). In this case they set it to: data-processing-sources="bezier_clock.pde"

Making the sources to the clock available here: http://jackf.net/bezier-clock/bezier_clock.pde

12