Inebas's comments

Inebas | 3 years ago | on: Show HN: GPT-4-powered web searches for developers

I tried something that I asked chatGPT 4 and it failed. It tells me to look at the console for errors. What I did was copy and paste the text output from BeautifulSoup of a website and ask it write a python code that cleans this so it's easier for a machine learning model to handle.

EDIT 1: I then simplify the question and set it to expert mode. I ask ``` given some text after it was scraped by beautiful soup. write a python code that cleans this so it's easier for a machine learning model to handle ```.

I then copy and paste the output into the additional context section.

The code it gave me was how to use beautiful soup and to remove unnecessary white spaces. ChatGPT gave a more thorough answer which is to use some regex to clean the text.

EDIT 2: Got it to work better by setting it to expert mode and copy pasting the whole thing. It truncates a lot of the text and missed the question at the bottom. Then, after it gives some generic answer. I asked the question on using python to cleans this so it's easier for a machine learning model to handle. It gave me a much better answer and with the links on where it got it from.

Very cool tech. I'll be trying it a lot. Thank you.

Inebas | 3 years ago | on: From Ruby to Node: Overhauling Shopify’s CLI for a better developer experience

i'm a shopify partner and i agree with this sentiment. changing the cli is one thing, but making it require a full app restructure is so risky that i'm holding off on doing it until the very last minute. besides, it looks like they are pushing more towards embedded apps. that is fine, but you need to also cater to app developers with standalone applications.

finally, i do think it will change again because the structure for theme app extensions have changed and now i'm not even sure if my project will work if i update that section.

the migration documents are very bad and they remove old documents. for example, it used to be that you need to add a folder called `theme-app-extensions` and it's very different, and there is no migration docs for that. they just want you to use cli 3 out of the blue.

Inebas | 13 years ago | on: Your First iOS App – 100% Programmatically

I came from a electrical and computer engineering background and so I am more used to procedural programming. When I started with iOS development, I tried IB but then I cannot figure out the magic and decided to create my UI mostly from code. Then, I started doing more and more software and adding more code, and managing it becomes painful. Since this is a personal project, I do not want to spend too much time and want to follow Apple's way of doing things. Since then, I started using XIB file and adding them slowly. It is important to realize that it is NOT an all or nothing approach. You can mix and match XIB and code with what you are comfortable with.

Some comments say that using UI will eventually restrict you. That might be true and I can totally see that. However, at that time, it is a good idea to step back and look at the overall design and figure out if you over design something. I like functional apps that work with little effort. It does not mean that it have to look ugly but you can customize and beautify the UI within the constraints of Apple's framework. Yes, there will be limits but is it worth the extra complexity of rolling it out on your own?

I have not tried storyboard but I would like to try it out soon.

In general, my philosophy has changed to use good, solid, reliable frameworks and keep the design (UI) and features (code) simpler. You will be able to get 90% of what you really want with less work (coding and maintaining).

Inebas | 13 years ago | on: How Phil Libin, CEO of Evernote, Works

Thanks @Shank. So basically, he is saying be less geeky? Btw, not trolling because I like technology but haven't watched star trek series or even the first star wars.

Inebas | 13 years ago | on: Ask HN: Do coding coaches exist?

Well, what I am doing right now, just trying out so can't say for sure how effective it is. I was working with a a freelancer who knows python and is more experienced than me so I say I'll pay for your time for pair programming, design review, etc...

What I would do is to code the way I would and then go over it with him via teamviewer or something and we chat over skype. For me, the difficult part is creating the right classes and refactoring, making unit tests and making code scale. I also have design questions. Perhaps I'll make a post when I have more feedback.

Inebas | 13 years ago | on: Show HN: Churches + The Internet

Great idea and looks cool but I typed in my address and I know a pretty big church next to my house was not on the list. If you want to look into it, it's called victory world church in norcross.

Inebas | 13 years ago | on: Ask HN: $3000 to incorporate. Is it a good deal?

Thanks for all the comments. So ya the attorney will incorporate in delaware as a c corp. i do sell apps on the app store right now as an individual.

I am outsourcing some of the development and so he mentions it is important to incorporate to protect the ip. It will include some form for freelancers to sign.

The third thing is that i plan to do this at night and weekends while i test out the market and i dont want it to potentially conflict with work ip. I plan to release and sell small pieces of software to test each step of the way. Or maybe just free software.

Thanks.

Ps: oh and he advice me to wait on patents since it is not critical and will cost 20,000. Just execute and that gets investor interested.

Inebas | 13 years ago | on: Colorado measure legalizing marijuana passes

What I'm saying is that the same people who creates those violent crimes selling marijuana is going to create violent crimes selling other more dangerous drugs. Should we then legalize that as well so that those people will stop making those drugs and focus on another more dangerous drug?

Inebas | 13 years ago | on: Colorado measure legalizing marijuana passes

I am having a hard time understanding the reasons for support here in HN so please help me out. A common reason cited is that it prevents violent crime outside of the US but is that a 'good' reason to support it? Suppose that it is a more powerful drug that is very hazardous to a person exist. Doesn't that speaks to the same situation? Should we legalize that as well?

I can't articulate it well but shouldn't we make the decision to legalize it based on whether it is good for this country? I'm unfortunate that it created a lot of bad side effects elsewhere but that won't ever stop.

With that said, I am for it because I think drugs shouldn't be treated like criminals. They don't 'hurt' anybody but themselves so it's along the lines of alcohol addiction, etc...

Inebas | 13 years ago | on: Designing for iOS: Taming UIButton

Not connected to the tutorial but I was trying to look at their other posts and I seem to get redirected to their learn.thoughtbot.com where they show their books, webcasts, and workshops which isn't bad but I just want to read their other posts.

Does anyone know how?

page 1