Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
_3u10
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
811.
▲
by
_3u10
6y ago
Array column type, use unnest to create a table that can be right? joined to the un-nested array. https://www.postgresql.org/docs/13/functions-array.html
812.
▲
by
_3u10
6y ago
As far as I know the FKs dont work with arrays but you can emulate them via triggers.
813.
▲
by
_3u10
6y ago
There are two problems here: 1. The position of an element in an array is not a property of the element but of the array. 2. Don't use sorted sets when you need the properties of an array / linked list. You can store the todo list
814.
▲
by
_3u10
10y ago
I bet if Trump and Brexit lost the internet would be totally fine. These articles are only to drum up support for FB and Google applying a Guardian-like bias. It's not an article about all the ways Google is biased, it's an articl
815.
▲
by
_3u10
11y ago
Think about how browsers could be improved if people were willing to pay $5 for them. Perhaps it's time to attempt to "pay" for such software via cooperative effort, eg. by the publisher setting a price for it, and then peopl
816.
▲
by
_3u10
11y ago
This is the (infinite) loop that keeps us with C. Lets not do X because it would benefit Y which no one uses. No one uses Y because it's slow because no CPU supports X. Very few people think the future really exists.
817.
▲
by
_3u10
11y ago
I wish I had a thousand up votes for this post. it's easier to change your group than to change the group.
818.
▲
by
_3u10
11y ago
It's from the same people who do MVC wrong leading to 450 line view controllers, thus hailing MVVM which lets them shove 400 lines into another class. MVVM and MVC work well if you're doing it right, which most people aren't.
819.
▲
by
_3u10
11y ago
Exactly, rational people realize that we may have learned something in the past 1300 years. Irrational people believe that whatever we were doing 1300 years ago is what we should be doing today because... God said so.
820.
▲
Kindergarten Teacher Bans Legos for Boys Citing ‘Gender Equity’
(seattle.cbslocal.com)
11 points
by
_3u10
11y ago
|
6 comments
821.
▲
by
_3u10
11y ago
Yup, [nil anyMessageReturnsNil] is probably the best decision ever made in ObjC.
822.
▲
by
_3u10
11y ago
None taken, many great projects such as the Linux kernel are written in languages with near zero type safety, and their authors with tremendous experience continue to this day to advocate the choice of languages with poor type safety over t
823.
▲
by
_3u10
11y ago
No they don't. If you use swift features then your class is inaccessible to ObjC. If you mark your class @objc then you can't use many swift features. The only thing that works well is writing most of your app in swift and writing
824.
▲
by
_3u10
12y ago
Software might be about meritocracy but power is not. It's not entitlement so much as ownership, they don't feel they are entitled to 5% of the company, they own 5% of the company. Depending on how much equity they have collective
825.
▲
by
_3u10
12y ago
Yup, as anyone who has ever run a program that accesses files over NFS knows it all sounds very wonderful on paper and absolutely sucks in real life.
826.
▲
by
_3u10
12y ago
To fix overload swap queues for stacks, set a timeout, and clear the stack when you estimate based on throughput the the time will expire. eg. On a webserver where people get refresh happy, I'd set the timeout at about 5 seconds. If re
827.
▲
by
_3u10
12y ago
That's true in most industries, don't dig for gold, sell shovels.
828.
▲
by
_3u10
12y ago
What does you bioinfomatics code have to do with web programming? To me it sounds like you have a bioinfo library that you've integrated with a website. If your bioinfo code is actually mixed in with your web code then this is exactly
829.
▲
by
_3u10
12y ago
Gasoline cars have batteries that die in the cold too. Which is one of the reasons you have to plug in a gas car in cold weather as well, the other being the oil freezing in the crankcase, a problem a Tesla doesn't have.
830.
▲
by
_3u10
12y ago
tl;dr: When trying to make code run faster, use a profiler rather than doing things you think make the code faster.
831.
▲
by
_3u10
12y ago
Except Great Britain is the sole maker of cheese, and forces under threat of violence the citizens of the UK to pay their taxes and other debts in cheese, and it costs Britain nothing to make cheese. They didn't force a 10 kg block dow
832.
▲
by
_3u10
12y ago
Well, they contributed it certainly but it belongs to the British Government in right of the crown. Both parties were engaged in currency manipulation of their own free will, no one forced the british government to take their currency posit
833.
▲
by
_3u10
13y ago
It really depends on where you are, I'm Canadian and in the same boat. If I had a degree I could get a TN1 VISA, in 6 months I'll have enough work exp to qualify anyway (12 years). I could get an H1B but it seems like too much has
834.
▲
by
_3u10
14y ago
Because most popular languages are a leaky abstraction on top of the CPUs they were built for.
835.
▲
by
_3u10
14y ago
I'm considering creating a programming language to be used on the internet, are you saying it would be a bad idea to make all numbers in my new language floating point?
836.
▲
by
_3u10
14y ago
"It's better to assume everything has a consciousness until you can prove it doesn't" This is basically a variation on Pascal's wager and is the logic anyone who can't prove what they are saying insists on. The snowclone is roughly "We shou
837.
▲
by
_3u10
14y ago
"The one property I really love about UTF8 is that you get a free consistency check as not every arbitrary byte sequence is a valid UTF8 string." You don't get this at all using UTF-8. You only get it if you attempt to decode the string whi
838.
▲
by
_3u10
15y ago
PHP has had numerous security issues related to the parsing of things like HTTP headers, etc. This means that when you write your app in PHP, and do something simple you get security issues just for going along for the ride. Things like thi
839.
▲
by
_3u10
15y ago
Yes, PHP is awesome for building hello world applications. No one is disputing that. However, for building applications that might get deployed somewhere, or talk to a database in a secure fashion, it's a nightmare. For ruby, python and per
840.
▲
by
_3u10
15y ago
If someone hires me to write something for them I write that for them, if they ask me for advice I give them advice. I don't get into arguments about how their idea won't work, or call them 'stupid', I charge them my rate for the work they
More ›