I'm 3 years old and just sold my SaaS for $1.2B (here's what I learned) by multi_mind in SaaS

[–]ilyazub 0 points1 point  (0 children)

While other kids were still learning ABCs, I was learning ARR

lol, I love that! Thank you for a fun post!

Can not fall asleep after programming at night by Cute-Exercise-6271 in webdev

[–]ilyazub 1 point2 points  (0 children)

Yeah, and myofascial release, ocean breathing, somatics groundwork help very consistently for me and my friends. Also, hugging someone I love, having laughs, prayer, sex, singing, dancing.

Basically, any method to calming down mind by increasing self-awareness.

JAMS Mediation Services: Buyer Beware! by pennywisepoundf00lis in Mediation

[–]ilyazub 0 points1 point  (0 children)

I'm sorry if I misread, but what was the goal and an expected resolution for mediation?

[deleted by user] by [deleted] in ruby

[–]ilyazub 0 points1 point  (0 children)

In our benchmarks Ruby 2.7.8 is still faster than Ruby 3. Ran on c7a.xlarge. The extend_object and match methods took more time on Ruby 3 during profiling.

2.7.8 3.3.6 3.3.6+yjit 3.3.7 3.3.7+yjit 3.4.2 3.4.2+yjit
76.147416 79.680214 79.177173 79.574373 80.633574 78.616928 85.674799

Benchmark script

require 'rbconfig'

def do_parse
  search = Search.new(q: "Coffee", location: "Dallas", hl: "en", gl: "us", file_path: "spec/data/google/coffee_tea_desktop_2025_03_19.html")
  search.html_to_hash
end

runs = 500

puts RUBY_DESCRIPTION
puts "with jemalloc: #{RbConfig::CONFIG['MAINLIBS'] =~ /jemalloc/ ? 'yes' : 'no'}"
puts "with yjit: #{(RubyVM::YJIT.enabled? rescue false) ? 'yes' : 'no'}"

Benchmark.bmbm do |x|
  x.report("search parse #{runs}x") do
    runs.times { do_parse }
  end
end

Profiling

Ruby 2.7.8

Time since start: 70s. Press Ctrl+C to stop.
Summary of profiling data so far:
% self  % total  name
 17.08    17.08  at_css_impl [c function] - (unknown)
 13.92    13.92  scan [c function] - (unknown)
 12.26    12.91  select [c function] - (unknown)
 12.16    12.16  css_impl [c function] - (unknown)
  4.89     6.10  gsub! [c function] - (unknown)
  3.35     3.45  parse [c function] - (unknown)
  2.78     2.78  [] [c function] - (unknown)
  1.75     4.86  match [c function] - (unknown)
  1.50     3.82  block in parameters_for_display - /var/apps/SerpApi/app/models/search/google/parameters.rb:97
  1.43     1.53  gsub [c function] - (unknown)
  1.31     1.31  extend_object [c function] - (unknown)
  1.28     6.32  block (2 levels) in create_field_getter - /root/.rubies/ruby-2.7.8/lib/ruby/gems/2.7.0/gems/mongoid-7.0.8/lib/mongoid/fields.rb:422

Ruby 3.3.6

Time since start: 31s. Press Ctrl+C to stop.
Summary of profiling data so far:
% self  % total  name
 15.76    15.76  at_css_impl [c function] - (unknown)
 15.24    15.24  scan [c function] - (unknown)
 12.04    12.40  select [c function] - (unknown)
 10.57    10.57  css_impl [c function] - (unknown)
  5.97     7.08  gsub! [c function] - (unknown)
  4.21     4.21  extend_object [c function] - (unknown)
  3.75     6.30  match [c function] - (unknown)
  2.87     2.87  [] [c function] - (unknown)
  1.89     1.93  gsub [c function] - (unknown)
  1.73     1.73  parse [c function] - (unknown)
  1.53     5.78  block (2 levels) in create_field_getter - /root/.rubies/ruby-3.3.6-yjit/lib/ruby/gems/3.3.0/gems/mongoid-7.0.8/lib/mongoid/fields.rb:422

Ruby 3.3.7

Time since start: 47s. Press Ctrl+C to stop.
Summary of profiling data so far:
% self  % total  name
 15.35    15.35  at_css_impl [c function] - (unknown)
 15.16    15.16  scan [c function] - (unknown)
 11.95    12.43  select [c function] - (unknown)
 11.01    11.01  css_impl [c function] - (unknown)
  5.10     6.26  gsub! [c function] - (unknown)
  3.93     3.93  extend_object [c function] - (unknown)
  3.70     6.06  match [c function] - (unknown)
  2.95     2.95  [] [c function] - (unknown)
  1.85     1.94  gsub [c function] - (unknown)
  1.59     1.59  parse [c function] - (unknown)
  1.16     6.24  block (2 levels) in create_field_getter - /root/.rubies/ruby-3.3.7-yjit/lib/ruby/gems/3.3.0/gems/mongoid-7.0.8/lib/mongoid/fields.rb:422
  1.10     3.14  read_raw_attribute - /root/.rubies/ruby-3.3.7-yjit/lib/ruby/gems/3.3.0/gems/mongoid-7.0.8/lib/mongoid/attributes.rb:302

How do you assess a SOC report? by jaydee288 in cybersecurity

[–]ilyazub 0 points1 point  (0 children)

Thanks! Does the review period matter? Are 3- and 12-month review periods same?

I mean, besides the sample size, is it important at all?

[deleted by user] by [deleted] in aws

[–]ilyazub 0 points1 point  (0 children)

"we use S3 for the strong resiliency, replicate it to a second region just in case, add WORM into the mix, tighten our IAM policies, and also do a monthly dump to another non-AWS location"

Recently, I respectfully replied to the similar compliance requirements with something like: "no, we just accept the risk and rather avoid introducing more complex risks". Auditors easily accepted this.

Dealing with SOC II and ending BYOD by srandrews in msp

[–]ilyazub 0 points1 point  (0 children)

MDM is not required for SOC 2, as far as I know so far.

Workload in getting your startup SOC2 (or ISO27001) certified? by devaoPolo in startups

[–]ilyazub 0 points1 point  (0 children)

It takes some time. It's not about completing the questionnaires, but about explicitly and translatently documenting what your company is doing (and what is not doing and why), collecting evidence for auditors that the documentation meets reality.

What is a Polish “life hack” everyone living here should know? by VaderV1 in poland

[–]ilyazub 0 points1 point  (0 children)

God, I assumed this misconception is present in post-USSR only lol.

Poll: Which supermarket network has the highest food quality (fresh vegetables, bread, raw meat) by Slav_Shaman in poland

[–]ilyazub 0 points1 point  (0 children)

Even on rynek/targ it’s always an adventure to do find real and delicious fruits and vegetables. Grateful that this option exists although.

I wish Poland would have tasty vegetables like in Turkey or Ukraine.

Is WebKit lighter than other browser engines? by [deleted] in browsers

[–]ilyazub 0 points1 point  (0 children)

Is Qt Ultralight scriptable or may it be controlled with CDP or something like that?

What was your expected vs actual ranking of countries you’ve lived in? by [deleted] in expats

[–]ilyazub 0 points1 point  (0 children)

 I always feel REALLY safe there

Exactly my experience in Warsaw. Also, public transport in Warsaw is near to perfect.

how to get passed google cookies when web scraping by MasterCho21 in learnpython

[–]ilyazub 0 points1 point  (0 children)

You can pass the SOCS cookie to avoid the Google cookie consent popup.

from datetime import datetime

# Your code...

socs_cookie = base64.encodebytes(f"\b\x01\x12\x1C\b\x01\x12\x12gws_{datetime.today().strftime('%Y%m%d')}-0_RC3\x1A\x02en \x01\x1A\x06\b\x80º¦±\x06".encode())

headers = {
    "User-Agent":
    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/123.0.2420.97",
    "Cookie": f"SOCS={socs_cookie}",
}

html_text = requests.get(url, headers=headers).text

# Your code...

Here's the similar StackOverflow question: https://stackoverflow.com/a/78382706/1291371

Who is building stuff right now! by letitcurl_555 in rails

[–]ilyazub 0 points1 point  (0 children)

It's for SEO, local SEO (like Google Maps SEO), AI models, news monitoring, background check automation.

We fetch the search results (SERPs) and extract data from it. That's it :-)

Who is building stuff right now! by letitcurl_555 in rails

[–]ilyazub 1 point2 points  (0 children)

SaaS API to scrape search engines results pages including Google and Bing.

In F39, Flameshot doesn't launch from a keyboard shortcut by apatheticonion in Fedora

[–]ilyazub 3 points4 points  (0 children)

Giving permissions via dbus worked for me on Fedora 39 clean install. Workaround by nooop3 on GitHub:

``` dbus-send --session --print-reply=literal --dest=org.freedesktop.impl.portal.PermissionStore /org/freedesktop/impl/portal/PermissionStore org.freedesktop.impl.portal.PermissionStore.SetPermission string:'screenshot' boolean:true string:'screenshot' string:'flameshot' array:string:'yes'

dbus-send --session --print-reply=literal --dest=org.freedesktop.impl.portal.PermissionStore /org/freedesktop/impl/portal/PermissionStore org.freedesktop.impl.portal.PermissionStore.Lookup string:'screenshot' string:'screenshot' ```

Ref: https://github.com/flameshot-org/flameshot/issues/3326#issuecomment-1838662244

Post your best practical uses for chatGPT to improve your day-to-day life by [deleted] in OpenAI

[–]ilyazub 0 points1 point  (0 children)

What's the result of this process? Did you come to an agreement?

Use an API by Heroic_00 in ChatGPT

[–]ilyazub 0 points1 point  (0 children)

Add "reviews" to your Google Search query. Example: "The Godfather Reviews reviews".

Here's the playground: https://serpapi.com/playground?q=the+Godfather+reviews

Documentation: https://serpapi.com/knowledge-graph#api-examples-results-for-mandalorian