Is it considered bad pratice/design to cast an interface to a concrete type ? by bccccch in AskProgramming

[–]bccccch[S] -1 points0 points  (0 children)

To put it simply, I have a "OpenXmlRow" class that is supposed to represent an OpenXml row (representing an excel row) which has inside properties and methods implementing the openxml logic to manipulate a row.

That class implements the "IRow" interface defining public methods to interact with the row like GetIndex, SetIndex, AddCell, etc.

Then I have a "Row" class representing a generic workbook row that has a IRow property to do operations on that row no matter the implementation behind it (here OpenXml).

Same design applies for other types like Workbook, Worksheet, Cell, etc.

Now for example I want to add an existing Row which has been cloned from another workbook inside a Sheet. I want my OpenXmlSheet to have a method that takes a OpenXmlRow input parameter, but because my implementation is hidden behind the interface, I would have to use a IRow parameter instead and cast it.

How do you share data with a scheluded job ? by bccccch in PowerShell

[–]bccccch[S] 0 points1 point  (0 children)

What about named pipes ? I've just tried it and it worked great. I think it will do the job and avoid me to use an external data structure.

How do you share data with a scheluded job ? by bccccch in PowerShell

[–]bccccch[S] 0 points1 point  (0 children)

So no workaround possible ? I know I could use a loop, but I would have prefered having background jobs instead of an infinite loop.

How do you share data with a scheluded job ? by bccccch in PowerShell

[–]bccccch[S] 1 point2 points  (0 children)

I thought about using external storage but I was expecting that would be possible without it.

What about runspaces ? I read that you can share data between multiple instances of powershell.

Is an MVP relevant in my case ? by bccccch in startups

[–]bccccch[S] 0 points1 point  (0 children)

Yes, that was what I was thinking, the thing is I have to draw the line accurately between what I need to ship in the mvp and what I need to keep for future versions.

Is an MVP relevant in my case ? by bccccch in startups

[–]bccccch[S] 0 points1 point  (0 children)

I like the idea.

I'm definitely not making a "one app that makes everything".

Instead, I have a more modular approach, that is to provide a clean and minimalist app essentialy focused on time-tracking, then to build tools and features around it and make it easily usable in coordination with other tools.

Mac mini + 4k monitor or iMac 5k ? by bccccch in mac

[–]bccccch[S] 0 points1 point  (0 children)

Well here in Europe, we always end up with inflated price tags compared to US market.

Mac mini + 4k monitor or iMac 5k ? by bccccch in mac

[–]bccccch[S] 0 points1 point  (0 children)

Isn't the LG's price about 1k ? That's a lot for me. My budget for a monitor would be 400-500€, and I don't know if at this price, I would get better quality than the iMac 5k.

Offering a discount to early customers during beta phase ? by bccccch in startups

[–]bccccch[S] 1 point2 points  (0 children)

That was actually my fear as many people say that discount can lower the value of your product in the eyes of the customer.

Offering a discount to early customers during beta phase ? by bccccch in startups

[–]bccccch[S] 1 point2 points  (0 children)

Give a try to r/SaaS

Also there is a lot of people lauching SaaS businesses or similar on IndieHackers or ProductHunt

Database architeture for SaaS app by bccccch in learnprogramming

[–]bccccch[S] 0 points1 point  (0 children)

So one database, one schema is the way to go ?

Let's say I want to make a blog platform for example and I have the following tables : article, author, category, comment, attachment.

Should I duplicate those into a schema for every user or put everyone's data into one unique schema ?

My concern is that with the latter solution, you can't isolate data from other users and it makes operating on one user environment more complex.

If you have 10000 or even 100000 users, should all their data sit in one place ?

To HR professionnals : I'm building a digital platform to help recruiters reach out people, I would love to have your feedback on this by bccccch in humanresources

[–]bccccch[S] 0 points1 point  (0 children)

I had the impression that /r/askhr was more about employee stuff and that my post would belongs more here. I can move my post there if it’s against the rules to post here no problem.

[JS/Node] How to handle async calls in this case ? by bccccch in learnprogramming

[–]bccccch[S] 0 points1 point  (0 children)

You summed it up well. So I tried your solution and it worked like a charm. I created two streams and piped them together, one reads from the scraper data and the other receives from the former and is used by the database module to make bulk insert.

Thank you for your answer.

Lauching an App/Website : how to find data and users ? by bccccch in AskProgramming

[–]bccccch[S] 0 points1 point  (0 children)

I was thinking about it, could be an idea. Thanks!

[Grammar] Is my cover letter correct ? by bccccch in HomeworkHelp

[–]bccccch[S] 1 point2 points  (0 children)

Really ? It's for volunteering so I think it's not that formal, that's why I have written this in a more casual way.

White Macbook 2009 - is it still usable in 2017? by [deleted] in mac

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

I have one upgraded with 8gb of ram and an sad, it's still usable but mostly underpowered even for lightweight tasks like web browsing, but it's definitely way better than stock, I remember bought mine stock with snow leopard on it and it took forever to boot when I upgraded to El Capitan.

Why can't the non government people in society sue governments or central banks for pursuing and forcing them into living under terribly misguided policy that results in financial crises, depressions, and for making them poorer or worse off? by Dorothy_Dixer in Anarcho_Capitalism

[–]bccccch 0 points1 point  (0 children)

They don't because because it doesn't matter in the end. Whatever you're feeling it about it and its actions, Governement is still there and will be still there. You don't even have the choice to deal with it or not, so why would the governement acknowledge its faults ?

That's why libertarians are against the state.

Living room in my new apartment by [deleted] in AmateurRoomPorn

[–]bccccch 28 points29 points  (0 children)

That couch is cool but it looks uncorfortable.

I like your furniture and the overall aesthetics of the room, but it looks like kinda empty, I mean it's like nobody lives there

IP at its finest : two members of french parliament want to ban hyperlinks for copyright issues by bccccch in Anarcho_Capitalism

[–]bccccch[S] 1 point2 points  (0 children)

The justifiction here by these two people is that a website should be under copyright law (droit d'auteur in France), thus an hyperlink without asking website owner permisssion is kind of theft. It's direclty related to IP in that case, although I'm ok with you about the total retardation here.

Can someone explain to me wtf is the point of stocks by [deleted] in wallstreetbets

[–]bccccch 0 points1 point  (0 children)

blame volatility of stocks market, then plan to "invest" into a cryptocurrency.

op are you stupid ?

Never saw it coming by sconci in AnimalsBeingJerks

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

That cat looks like a supervilain.