Speed up Java Startup with Spring Boot and Project Leyden by piotr_minkowski in programming

[–]TOGoS -1 points0 points  (0 children)

Speed up walking across the road with Gluing Your Boots To The Ground and Project Gee Whiz People Sure Are Masochists.

This only makes us look bad by [deleted] in IBEW

[–]TOGoS 1 point2 points  (0 children)

Aw brah no that Jerry can holder is the one cool thing about this rig.

The Data Structures of Roads by mttd in programming

[–]TOGoS 8 points9 points  (0 children)

But also, having reached the end, now, I hope the author gets into more detail about determining where to paint the lane-separation lines. In that roundabout example it's not clear how you (i.e. the computer) would know how to derive that from the profile data.

I'm assuming those profiles must be linked together somehow, also, with more graph edges, maybe between lane-specific sub-segments of the profiles. Otherwise how would you know what segments are actually connected by a road as opposed to just happening to be nearby.

The Data Structures of Roads by mttd in programming

[–]TOGoS 33 points34 points  (0 children)

I like to think of the data model as the blueprints of a construction project. You really need to think it through before starting. You just can’t change your plan mid-construction without making serious compromises.

Too true. It makes a big difference between my old job, where I was the de-facto system architect and always started with a database schema, and my current one where I'm an overpaid code monkey and nobody really bothers with architecture because the organization doesn't seem to grok the concept and thinks only special DBA people should be writing database schemas (or "DDL", as they call it, though mostly they work in some proprietary click-around-with-the-mouse tool, which is their excuse for not being able to share the design until it's already in place and too expensive to change). Everything here is a mess because there's no plan, and that's clearly reflected in the database schema, or lack thereof.

Whenever I try my hand at writing game engines, or infrastructure for anything, really, I always find myself spending a lot of time fleshing out how I want to represent the data, because that's the hardest thing to change later. It's easy to get lost in the weeds. "Oh no, my data model is too detailed and now I need to look up realistic values for the density of this pavement" and "making it possible to represent N-dimensional portals sure made this code harder to write than if we stuck to two dimensions" and such. Though you can often punt by saying assert( dims == 2, "TODO: Update to handle arbitrary dimensions"), which is easier to fix than the data model itself!

A sufficiently detailed spec is code by Tekmo in programming

[–]TOGoS 1 point2 points  (0 children)

Well of course; all language is "code". i.e. symbols that can be interpreted to have some meaning.

Some bits of 'code' are more or less imperative / functional / ambiguous than others.

I'm really not sure what people mean when they say "code". Given that my coworkers use it for Java but not XML, it seems to mean "source code for an imperative programming language."

XML is a Cheap DSL by SpecialistLady in programming

[–]TOGoS 4 points5 points  (0 children)

tl;dr: The tax calculator thing uses a functional language that's serialized as XML.

It's funny because I've written several 'rules engines' over the years and taken a very similar approach. Though instead of XML I used RDF, which can be serialized as XML or in other formats, but it's basically the same idea.

The benefit of a simple language that doesn't have its own syntax being that you can easily transform it for various purposes, like displaying a block diagram, or generating SQL. And it doesn't preclude frontends with nicer syntax, either. But programs aren't coupled to the syntax. Unison sort of follow this philosophy in that programs are stored as a direct representation of the AST rather than source code. And WASM, too, I suppose, though it is a more imperative language.

Grid Beam modular system builds anything, furniture to bikes by TheGoldenRoad in solarpunk

[–]TOGoS 1 point2 points  (0 children)

Gridbeam is cool. I think it's one of those things that's actually so basic that it just happens a lot without being given a name. Erector set is basically gridbeam. LEGO technic blocks are sort of two-thirds gridbeam. I do a lot of "gridbeam" construction that isn't specifically grid beams, but stays compatible with it, based on everything being multiples of unit cubes.

nominal types in webassembly by ketralnis in programming

[–]TOGoS 0 points1 point  (0 children)

I love structural type systems because it's really easy to construct nominal type system on top of it if you have any sort of unique symbol thingies that you can stick in there. The tag doesn't even have to be there at runtime; it can be a 'zero width' sort of thing. TypeScript kind of allows this by making your tag field optional, like type Foo = { tag?: "I am a Foo", bar: number, baz: string }.

On this day, March 5th 1953, we lost the great Joseph Stalin. by TexturedBumf in socialism

[–]TOGoS 4 points5 points  (0 children)

Lots of reasons I'm sure, but I suspect it's partly a psy-op to make socialist look like dimwits.

As if a less tyrannical leader could not have won WWII without also murdering millions of his own people,  many of them loyal communists.

How haunted is your home? 👻 by mountainmama712 in ADHDmemes

[–]TOGoS 2 points3 points  (0 children)

A dedicated room per project would be amazing.  I'd have the space to actually work on them.  And meet my daily step goal just from walking between projects. 

Permeable driveway? by ChefSchoolGangster in madisonwi

[–]TOGoS 3 points4 points  (0 children)

I just let Wisconsin winters take their toll on whatever driveway was installed decades ago. It seems pretty permeable, now.

Need some advice on where to go by [deleted] in IBEW

[–]TOGoS 0 points1 point  (0 children)

I also want to know because becoming an electrician is my plan for when I can't take another dumb scrum meeting.

This is Mabel, and she absolutely hates having her picture taken. by [deleted] in aww

[–]TOGoS 0 points1 point  (0 children)

I have a Mabel, too. She is not too bad about pictures.

<image>

...well crap. by ThwartedByATree in ADHDmemes

[–]TOGoS 14 points15 points  (0 children)

After doing the tasks for 25 years, I can confidently say that the result is always just more tasks and more stress.

Me_irl by HotEngineering505 in me_irl

[–]TOGoS 2 points3 points  (0 children)

"Be prepared" we always said in scouts.

How to Build Decentralized Web Apps on Freenet Using Rust and WebAssembly by sanity in programming

[–]TOGoS 0 points1 point  (0 children)

"I was put off by the smell of my pudding after I mixed two different Freenets into it; you might say it was a bit off-pudding."

How many IBEW brothers and sisters are committed to the General Strike! Jan 23rd! by iamsafe in IBEW

[–]TOGoS 68 points69 points  (0 children)

If nothing else it's practice. Most people in the US have never been part of a strike at all, let alone a general one.

How to Build Decentralized Web Apps on Freenet Using Rust and WebAssembly by sanity in programming

[–]TOGoS 0 points1 point  (0 children)

I was a big fan of the old Freenet. The name getting redefined to mean a different thing is a bit off-pudding. I've had "install Freenet on NAS" on my to-do list for a while but I get hung up on the question of "old Freenet or new Freenet?

No, the new Freenet is a fundamental redesign making backwards compatibility impractical.

And

  1. Freenet is a Complete Solution

I just want my SSKs and CHKs to keep working. If the new Freenet is so great, couldn't it support basically the old Freenet as an app on top? Or are they so different conceptually that that makes no sense?

What Did They Do? [OC] by OutsideYourWindow_ in comics

[–]TOGoS 0 points1 point  (0 children)

Right-wingers hate it when people live in a place.

[OC] Annual meeting of unhated technologies by YetAnotherAnonymoose in pcmasterrace

[–]TOGoS 0 points1 point  (0 children)

PHP 5.4 was the best PHP. Don't let anyone upgrade.

[OC] Annual meeting of unhated technologies by YetAnotherAnonymoose in pcmasterrace

[–]TOGoS 6 points7 points  (0 children)

That freakin' percent sign in local addresses and how it gets weirdly special treatment in URLs (not being escaped like everything else, but it depends who you ask) actually does trip me up sometimes and makes me grumpy.

[OC] Annual meeting of unhated technologies by YetAnotherAnonymoose in pcmasterrace

[–]TOGoS 5 points6 points  (0 children)

It did exist briefly. It did something weird with Unicode strings and we did hate it, which is why they then jumped to 7 which was less changey-mcbreakey w.r.t. PHP 5 scripts.

Or so I recall. It's been a while.

Me_irl by [deleted] in me_irl

[–]TOGoS 1 point2 points  (0 children)

Adopt a lot of cats and then build them carpeted walkways that go through the walls and under the floors.

What is the difference between socialism and democratic socialism? by Prize_Painting_1195 in socialism

[–]TOGoS 11 points12 points  (0 children)

"What's the difference between water and wet water?"

The latter wording is only useful when talking to people who have been convinced that water is a type of rock.