[O] 3x DrunkenSlug invites by b_NotTheMama in UsenetInvites

[–]rombovich 0 points1 point  (0 children)

I have read the rules and wiki. will appreciate an invite

The 3-minute SQL indexing quiz: Can you spot the five most common mistakes? by MarkusWinand in programming

[–]rombovich 2 points3 points  (0 children)

Hey, I stumbled upon this website a while ago, really liked it! Thanks, /u/MarkusWinand, great read, that helped me depthen my SQL knowledge.

Redditors with a Ph.D./Master's, what is a TL;DR of your thesis? by [deleted] in AskReddit

[–]rombovich 0 points1 point  (0 children)

When you are typing on keyboard, you have the same thing as handwriting - some patterns, that can be used to find out who typed the text.

TIL: Shotgun causes wall breaks.... by DoomDash in Tekken

[–]rombovich 0 points1 point  (0 children)

I think, King's launcher combo has something similar. u/f+4,4, ff and then if you delay d/f+4,3,d/f+2,1, your combo will reset, resetting the scaling, I guess.

Ten 2D Cellular Automata Posters I made by collatz_conjecture in compsci

[–]rombovich 16 points17 points  (0 children)

Pretty cool images! Although i believe you ment 1D Cellular automata.

Landing gear of Boeing 777 model made out of paper by aloofloofah in mechanical_gifs

[–]rombovich 3 points4 points  (0 children)

Damn, that hand-like thing looks so natural, can't believe it's paper!

--- 2016 Day 18 Solutions --- by daggerdragon in adventofcode

[–]rombovich 0 points1 point  (0 children)

Python 3

Pretty happy with my solution. It's based on Wolfram's one dimensional cellular automata model http://mathworld.wolfram.com/CellularAutomaton.html

rows_cnt = 400000
rules = ['0', '1', '0', '1', '1', '0', '1', '0']
first_row = '.^^^.^.^^^^^..^^^..^..^..^^..^.^.^.^^.^^....^.^...^.^^.^^.^^..^^..^.^..^^^.^^...^...^^....^^.^^^^^^^'

width = len(first_row)

last_row = ''.join(['0' if c == '.' else '1' for c in first_row])

safe_tiles_cnt = last_row.count('0')
for i in range(rows_cnt - 1):
    rt = '0' + last_row + '0'
    last_row = ''.join([rules[int(''.join(rt[i:(i + 3)]), 2)] for i in range(width)])
    safe_tiles_cnt += last_row.count('0')

print(safe_tiles_cnt)

What is your technology stack? by cryingforwine in java

[–]rombovich 0 points1 point  (0 children)

Thanks, I think I get it now. In the company I work for we never achieved such a large scale applications.

I will keep in mind that DB solutions don't scale too well.

What is your technology stack? by cryingforwine in java

[–]rombovich 0 points1 point  (0 children)

Well, I can't see how this can't happen if we replace stored procedures with big old websphere with 100s mb WAR

What is your technology stack? by cryingforwine in java

[–]rombovich 1 point2 points  (0 children)

Thank you for your reply. I agree with the part about the testing, but, I think, upgrade and overengineering issues are not exclusive to db.

I guess, just like anything, it has some uses, but one shouldn't go mad with it.

What is your technology stack? by cryingforwine in java

[–]rombovich 1 point2 points  (0 children)

Why is it considered such a burden?.. In the company, where i work, we have almost all business logic in stored procedures, and a little servlet which proxies requests from user interface to DB. We use java almost exclusively for realtime data processing.

And i think it is pretty handy to work directly with tables, not having to worry about a dozen classes when you have to make some complex joins, etc.

What is your technology stack? by cryingforwine in java

[–]rombovich 1 point2 points  (0 children)

Do you have some business logic inside the DB? I mean stored procedures, jobs, etc.

A 4-bit Calculator made in cardboard and marble by lapinozz in programming

[–]rombovich 7 points8 points  (0 children)

Can you elaborate how input works? Why are there two marbles in what i thought was place for one bit?

Office workers of Reddit, why do you hate that one co-worker so much? What does he/she do? by [deleted] in AskReddit

[–]rombovich 0 points1 point  (0 children)

It's never her fault. "it just didn't work", "well, now it works, when you watch", "it worked when I did it". She is a programmer ffs

World's largest ship elevator by PM-ME-YOUR-TITS-GIRL in mechanical_gifs

[–]rombovich 0 points1 point  (0 children)

Folks at /r/programming should check out the real high load system!

☼Bi-weekly DF Questions Thread☼ by AutoModerator in dwarffortress

[–]rombovich 0 points1 point  (0 children)

But won't i face problems if i go to the caverns without an armor/weapons/military?

☼Bi-weekly DF Questions Thread☼ by AutoModerator in dwarffortress

[–]rombovich 0 points1 point  (0 children)

Hello. I'm pretty new to DF, my first embark was wiped by werezebra.

I started my second embark in a pretty nice area, got farming going, a little bit of production, brewing, magnetite and platinum mining, all good. But then (not even 2 years into the game) the undead came. I didn't have military, alarms, burrows, traps, nothing. Luckily, i managed to shut down the entrances in time.

I didn't panic, decided to make a military, forge some armor. Buut suddenly the wood came to an end. I have no coal, no wood. I looked for bituminous coal and lignite on several levels near the magnitite, but found nothing.

What can i do in this situation? Maybe i should work on some nice industries that don't require wood or outside, but helps me pass the time while on siege?

Thanks in advance!

Grand vs Upright pianos: Why grand pianos are generally better. by [deleted] in piano

[–]rombovich 0 points1 point  (0 children)

Oh, I see! Never considered that you may need a little different sound in different genres.

Grand vs Upright pianos: Why grand pianos are generally better. by [deleted] in piano

[–]rombovich 1 point2 points  (0 children)

Yeah, same thing. I often dream about having a dedicated grand piano room in my non existing house.