HackerTrans
TopNewTrendsCommentsPastAskShowJobs

visaals

no profile record

Submissions

[untitled]

1 points·by visaals·4 jaar geleden·0 comments

Faster alternatives to Go's regexp library

nightfall.ai
5 points·by visaals·4 jaar geleden·4 comments

I found that college fails to live up to being “The Great Equalizer”

visaalambalam.com
42 points·by visaals·5 jaar geleden·120 comments

comments

visaals
·6 maanden geleden·discuss
Finally something without ads!
visaals
·4 jaar geleden·discuss
What software leviathans do you think are best at managing their complexity?
visaals
·4 jaar geleden·discuss
Furthermore, Russ Cox (author of Go’s regexp library and significant contributor to re2) mentioned this interesting tradeoff.

> Second, Go is using a different algorithm for regexp matching than the C implementations in those other languages. The algorithm Go uses guarantees to complete in time that is linear in the length of the input. The algorithm that Ruby/Python/etc are using can take time exponential in the length of the input, although on trivial cases it typically runs quite fast. In order to guarantee the linear time bound, Go’s algorithm’s best case speed a little slower than the optimistic Ruby/Python/etc algorithm. On the other hand, there are inputs for which Go will return quickly and Ruby/Python/etc need more time than is left before the heat death of the universe. It’s a decent tradeoff.

1. https://awmanoj.github.io/tech/2016/09/08/on-slow-regular-ex...
visaals
·4 jaar geleden·discuss
Yeah, the language of the regex implementation and the API were the two biggest factors. Go’s regexp package only allowed you to run 1 regex expression at a time while hyperscan and re2 allowed you to pass in a set of expressions to run all at once.
visaals
·4 jaar geleden·discuss
We started off using Go's regexp library for our regex needs, but it wasn't made for our unique use case of running 40+ regular expressions over terabytes of data.

Here's our experience benchmarking Go's regexp against Intel Hyperscan and Google re2, hope it's useful!
visaals
·4 jaar geleden·discuss
Agree with the parent commenter some more elaboration on how your seemingly low profitability isn't a concern in the long term would be helpful to understand as I don't see immediately how your investments in the short term will help in the long term. The table makes it seem you spend -$464,071 to make $477,449 but your comment here makes it seems like 460k sales actually only cost 200k in raw materials, which is impressive!

best of luck and great article as always!
visaals
·5 jaar geleden·discuss
ohh interesting, I didn't know about schema.org -- that's pretty cool!

No worries about making it a browser extension. I wasn't sure if you're trying to make this into a business or not. I would envision this working similarly to iOS's reader mode but for recipes. Best of luck!
visaals
·5 jaar geleden·discuss
This is fun, thanks for sharing!

Is there any way to run his and include our private repo contributions to count the code written for a typical job?
visaals
·5 jaar geleden·discuss
Would you care to share how does this app work under the hood? I think the hacker news audience would be more interested to understand that then to use the app per se haha. Do you parse the page for a bulleted list next to certain keywords?

Also why not just make this a browser extension instead of an app to remove the step requiring the user to scan a QR code?
visaals
·5 jaar geleden·discuss
Agreed! This dilemma could be solved if college was much cheaper. Another commenter mentioned his annual tuition in Italy was about 2k euros which is unheard of here in the states... It's hard to have a negative ROI at that point.
visaals
·5 jaar geleden·discuss
hey, author here

thanks for the valid feedback -- I'm still trying to figure out what I want to do with my blog and definitely got carried away with SEO/Growth Marketing tips I've incorporated towards the end of the article. I'm not sure whether to go down mtlynch.io 's path of being a solopreneur or Daniel Vasello's deconstructing his career in SWE or a more pure scott aaronson or star slate codex blog.

I'll change it to something less 'fishing' and rather more open if people want be notified of posts. In retrospect, I'd rather just share my stories, guiding principles, and tacit knowledge I've developed than try to sell a course or a guide at the moment

With regards to the title, I hope the story I shared about the uber driver and my experience with the mismatch between my degree and what I had to learn on my own to become employable speaks to why I believe the title is true. I'll consider changing my essay's point of view from 3rd person-ish -- but again I'm still trying to find my voice so it's a work in progress

thanks for reading! I thought the discussion here was pretty cool too
visaals
·5 jaar geleden·discuss
Could you say that for all engineering graduates at the majority of universities (even the bottom 50%)? I know plenty of people who had internships and were effectively employed a year before graduating, but I can't say the majority of people are in that position.

If education is just 2k euros rather than the 15k (public) or 60k (private) in the US, I agree it's much less of an issue for sure because much less is at stake.
visaals
·5 jaar geleden·discuss
I like the idea! Maybe it shouldn't be only college or nothing else but rather a mix of college + an industry specific bootcamp OR more co-op or shadowing programs that could bridge the gap.

I think the solution might lie in teaching people the process of learning what they don't know on their own. Some people are just naturally "scrappy" or want something so bad they'll go out of their way to figure it out without connections. Maybe if we can deconstruct that into a course it could help people chart their own path rather than rely on other people to tell them what to do.
visaals
·5 jaar geleden·discuss
He seemed like a genuinely nice dude who came from humble background who tried to improve his life situation but failed to do so, but at the same time you're right there could be something I'm missing from only having a ~20 minute chat with him.

I agree that we're trending up which should feel AMAZING, but we're human so people's individual stories are what make us feel the most ;)

Also at my high school the metric for our school's success was 99%+ of the graduating class going to college, and it felt like pure vanity because it meant more likely than not tons of people going into debt and getting nothing out of it for the sake of "education"
visaals
·5 jaar geleden·discuss
Wow that's the first time someone has said that (other than my immediate friends and family lol), so thank you!

Mind if I ask what in particular you liked? I am interested about certain topics like education + improving access to opportunity + building cool stuff with tech + thinking about economic systems and incentives to drive success, but I also don't to come off as someone who just yells into the void about my opinions.
visaals
·5 jaar geleden·discuss
Dang that's a tough road to persevere through especially in '08. How did you get your big break?
visaals
·5 jaar geleden·discuss
My immigrant parents ingrained in me that if you work hard and get an education and a degree that you'll be set for life, which is what I now know as just part of the equation.

My teachers at my liberal arts focused high school definitely were more of your opinion of "broadening your horizons" and "being an educated member of the community"

My argument is mainly that not enough people know what they're getting into they take 10s or 100s of thousands of dollars in loans to get a degree
visaals
·5 jaar geleden·discuss
Yeah I originally wrote this a while back and recently saw that press on twitter and HN. It's still the best example I've got so far, do you know of other programs that are doing a better job than Lambda?
visaals
·5 jaar geleden·discuss
While I don't have any advice for this particular situation, I'd encourage you to diversify your online business presence into a domain that you own (e.g. a website) with a direct line of communication to your customers (emails) because I've heard stories like these too often on Twitter. At the scale these big tech companies operate at you never know how long it's going to take before they get to your case. Best of luck!
visaals
·5 jaar geleden·discuss
I found this article to be pretty enlightening about the nature of of the software engineering job market, which should help you figure out what companies can afford expensive developers.

https://blog.pragmaticengineer.com/software-engineering-sala...

If you're okay with a little risk, it's probably easier to join a remote series S-ish startup where you get a solid base salary (130k-180k based on your experience) and where the stock could be worth anything from 0k/yr to $100k+ per year. I would highly recommend only joining these types of companies if they have technical founders who have worked in BigTech and understand the value of high quality engineers and maintaining a good engineering culture (aka blameless post mortems, predictable deadlines, no-overworking, etc.)