128 karma · joined Jul 2, 2015 (11y ago) · 85 submissions
comment 3y ago · link · parent
A basic question: How can i join with SQL a column to a string separated with comma
GPT-4: PostgreSQL: SELECT STRING_AGG(columnName, ', ') FROM tableName;
Guanaco: Here is an example of how you could use the CONCAT function in MySQL to concatenate a string to a column value in a single-line query: SELECT CONCAT('The total price for ', product_name, ’ is ', SUM(price)) AS total FROM products; This will result in output like “The total price for Chocolate Bar is 10” or similar depending on your data.
Yeah, no...
comment 5y ago · link · parent
Say, you manage to recruit the top-30 engineers who know all the in-and-outs of the google search engine. Add to that, their recent replacement of trad AI methods with full NN I believe, and I can't realistically believe it's not more than a 1B problem.
One of the reasons Google is going horizontal because their search engine can't be "magical" forever, this applies to their ad platform too.
comment 5y ago · link · parent
But according to this essay, you followed a BAD path not innovative enough, and the hidden reason why it's bad is because it will never generate any sort of profit for YC.
Now if you had tried 3 or 4 startups in that same timespan, burned through all your life savings, did not make several millions in the process, and failed all you endeavours, you will be applauded by YC.
Why ? because the more people exist like you, the better it is for them.
comment 6y ago · link · parent
If I come up to you, the owner, and kindly warn you that your doors can easily be unlocked, your reaction would probably be a big thank you. But, I also understand that you are free to answer me to get the hell out of your lawn, because it's none of my business.
Sure I am doing it for your safety, for the safety of your kids, your wifes, and your valuables. I have no ulterior motives.
But, you have the right to not want to listen to all the ways an intruder can come to your house and steal all your stuff. You should have the right to find that information useless, and I don't have any say in that.
Now, warning all the town that your house is not secure enough to try to provoke an answer from you ? What do you think about that ? Really curious.
comment 6y ago · link · parent
comment 8y ago · link · parent
I graduated from an enginnering school, and you can absolutely skip all classes if you wanted to. Sure, the teachers don't encourage you to do it, but the freedom is definitely there.
BUT, since there will always be a percentage of students who don't succeed in a "traditional" way, a bunch of rich people will always attempt to lure them into a paid program (which is, I repeat, selective). So they learn quite a bit, and they can become high-earners in the future, since they're all hanging out with technically good people.
comment 8y ago · link · parent
I suggest a corollary:
"Any web community gets what it admires (fancy UX and feeds that work like magic), will pay for (=nothing), and, ultimately, deserves."
comment 8y ago · link · parent
I think that a white factory worker could add way more insight into how other communities views things, than hiring a black/female attorney does...
Having said that, I'm really afraid what the backlash against this type of diversity-thinking will be. The system will surely corrects itself in the future (it's already starting), but I'm not certain going back to another extreme would be very wise...
comment 8y ago · link · parent
Your opinion seems to lack every bit of possible nuance: say i'm manager A trying to raise awareness about tech B in company. I have every right as employee C to be skeptical because if B is bad and pointless, I'll be punished for following A's decision. Of course A has every right to spread B even if bad, because it will make A seem awesome in the process.
My general point is: resistance to change is a spectrum and is often mixed with office politics and strong opinions on both sides. Trying to blame someone merely for wanting to keep the status quo is absurd.
comment 8y ago · link · parent
Since when people just want to live comfortable lives and leave their collective fate to be decided by a minority whose interests do not necessarily align with the people's interests (otherwise, they would just allow fair elections).
Small example: of course, country-wide surveillance à la China would lead to "economic success", do you think it's criticized because it would lead to mass poverty ?
It would lead to a perfectly stable future for the population, with ever improving quality of life and security. The problem, as you may guess, lies elsewhere.
comment 8y ago · link · parent
The "they" cannot be referring the people of China, or the majority because China is just not a democracy.
This is the main difference between a country which holds free elections every 4 years, and a single-party country.
comment 9y ago · link · parent
I technically count as a "minority" and I have no other way of phrasing this: it is extremely irritating to see companies push for diversity by hiring based on skin colour or gender.
Luckily, I live in a country that strongly opposes these kinds of policies, so I get to feel proud of my (very modest) achievements in this field.
To see these students and other minorities never being able to experience that feeling makes me quite sad.
comment 9y ago · link · parent
I basically see the future as being both really dystopic and utopic at the same time:
So (mostly rich) people will be able to invest their money without any friction, but this will destroy the rent-seeking institutions that weren't meant to exist in the first place
=> power to the geeks and the rich, but you won't be able to make any money by just making "deals".
Would love to be convinced otherwise though....
28.
On the Unreasonable Effectiveness of Mathematics(mehdibaha.github.io ↗)
2 points · by mbaha · 9y ago · discuss
comment 9y ago · link · parent
Where I come from, staff in cafés would kill to make a consistent coffee every time (and they mostly do) but they're stuck with old machinery. But now that Starbucks has delivered that, customers want to go back to an authentic experience that really has never existed.
The same thing will happen to food i.e most people would love to have decent restaurant meals delivered at a really low price. The fact that some people will try to taste gourmet food prepared by real chefs is rather irrelevant to say the least...