Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
throwaway2016a
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
throwaway2016a
2y ago
> I think it's a fair attitude if your only goal is to make money Short term, yes. But it's a bit short sighted as most of the AI code I have seen has security and scalability issues that long term have potential to blow up in
62.
▲
by
throwaway2016a
2y ago
To be fair I wasn't agreeing with the "API in 20 minutes approach" I was only pointing out the contrast between that and something like this. As I tried to allude too, AI written APIs often have security, performance, maintai
63.
▲
by
throwaway2016a
2y ago
> OK Moonwalk has a great vision, but how do we actually make it a real spec? I'm not sure the article really succeeds if that was the goal. I suspect that there might be some aspects of the discussion that are taking place that are
64.
▲
by
throwaway2016a
2y ago
I find it striking that in the same day I saw a video about how someone "Made an API in 20 minutes with one prompt" and this. The two approaches seem very divergent. One that is almost cavalier about things like security, standard
65.
▲
by
throwaway2016a
2y ago
I like that idea but I purposely stay anonymous on HN and I would be DOXing myself if I used this. It'd be great to be able to either use it without a username (ideally) or have the choice to keep your HN username private.
66.
▲
by
throwaway2016a
2y ago
Generally yes but the languages are similar enough that the refactoring could be automated. Of course, that would create a fair amount of QA and testing work but if you have good test coverage you can mitigate that.
67.
▲
by
throwaway2016a
2y ago
(Sorry for the delay, I haven't checked HN is a while and just noticed this) So some proxies (forward and reverse) will strip this header for different reasons. The reverse proxies sometimes strip it to improve caching and/or beca
68.
▲
by
throwaway2016a
2y ago
In my experience Accept-Language header is pretty unreliable. It tends to just be one of a few values. Between people never updating it, proxies stripping it, people concerned it will make them easier to fingerprint, etc. Also, form an impl
69.
▲
by
throwaway2016a
2y ago
I'm a little surprised HHVM is still around, last time I checked it was barely (if at all) faster than vanilla PHP and PHP now has a lot of the comparible features like progressive type safety and concurrency (to an extent). There are
70.
▲
by
throwaway2016a
2y ago
As someone who has given a handful of talks at conferences.. 100% relatable.
71.
▲
by
throwaway2016a
2y ago
That example you gave could certainly be done in Lex/Flex and I assume other lexers/tokenizers as well, for instance, you would probably use states and have "$x" in the initial state evaluate to a different token type th
72.
▲
by
throwaway2016a
2y ago
That's no problem in many modern lexers as they usually have a "state" so when you encounter "echo" you can switch to a new state and that state may have different token parsing rules. So "if" in the "
73.
▲
by
throwaway2016a
2y ago
This seems like a cool project. This is meant as additional information not criticism. I skimmed the transcript really fast so if this is in there and I missed it, please correct me, but two things I think are helpful for people creating pr
74.
▲
by
throwaway2016a
2y ago
The "hate" is for apps that only pre-package the GPT with a pre-written prompt and don't do much else. And the reason is, I think, because simply making a prompt template is usually not a significant enough value-add except f
75.
▲
by
throwaway2016a
2y ago
> what’s here doesn’t come close to covering what we did in the first year alone This varies widely by University. The Git repo matches my experience pretty well except I also had Calc II and Discrete Mathematics. > a course on logic
76.
▲
by
throwaway2016a
2y ago
I've interviewed a lot of different people from a lot of different Universities and I agree a lot of schools treat that as part of Computer Engineering. My undergrad was also accredited as an engineering program which may have somethin
77.
▲
by
throwaway2016a
2y ago
I had a similar course in college... though we had to build the computer on a breadboard and it was nowhere remotely close to being able to run a GUI let alone Tetris.
78.
▲
by
throwaway2016a
2y ago
Some of this reads as: "How to learn Java in just 1.5 years!" And notably (and related to my Java observation) there are two OOP classes here. I like the concept but it is some key things a 4 year degree's sometimes (not sayi
79.
▲
by
throwaway2016a
2y ago
My undergrad had those things and they are the courses that have been most helpful to me in the real world. But I generally agree, it is rare to see them outside of master's degrees but doesn't mean they shouldn't be in there
80.
▲
by
throwaway2016a
2y ago
I've coded a ton of shell scripts over the years and never actually considered this nor has anyone I know ever intentionally[1] put protections for it in their scripts so I think the original comment may be overestimating when they say
81.
▲
by
throwaway2016a
2y ago
Saw this article title and immediately thought Boston City Hall and sure enough, that's one of the images they included. I know at least one university in Boston that recently renovated a brutalist building to look more "modern&qu
82.
▲
by
throwaway2016a
2y ago
While I agree it's not really security through obscurity because when combined with other strategies (like mitigating timing attacks and rate limiting) it does expose less information to the attacker. However, I stand that it does depe
83.
▲
by
throwaway2016a
2y ago
It's not quite so clear cut. Close. Even OWASP acknowledges there are trade offs: > The problem with returning a generic error message for the user is a User Experience (UX) matter. A legitimate user might feel confused with the gen
84.
▲
by
throwaway2016a
2y ago
> NAT GW is $0.045/h even if doing nothing, plus $0.045/GB, plus egress. IP is $0.005 without any extra costs other than the standard That's only 10 servers. I sometimes forget they charge per GB too. That particular charg
85.
▲
by
throwaway2016a
2y ago
It's not the complexity (IMO), it's the cost. A hobbyist can easily set up NAT gateway but very often the NAT gateway is the most expensive part of the entire cloud bill. So the hobbyist is left with paying it or exposing their se
86.
▲
by
throwaway2016a
2y ago
You could do A but in addition to the security issues now you have to pay for public IPv4s on AWS too so if you have a significant number of services that are private but need internet access it is still cheaper than NAT gateway but just ba
87.
▲
by
throwaway2016a
2y ago
While I suspect this may be old news to a lot of the HN crowd, this article interesting information that a lot of people may not know. I ran a website years ago that was targeted towards college students and would pretty consistently see ma
88.
▲
by
throwaway2016a
2y ago
> But it’s generally both inexpensive and fast. I guess inexpensive is relative. I've been on cloud for a while so I'm not sure what the going rates are for "remote hands" and most of my experience is with on-premise
89.
▲
by
throwaway2016a
2y ago
I've managed both data centers and cloud and IMHO, no, it is not fluff. To take it in order: > doesn't have security issues It sure does, but the matrix of responsibility is very different when it is a hosted service. Note: I a
90.
▲
by
throwaway2016a
2y ago
Llama-3 is one of the models provided by AWS Bedrock which offers pay as you go pricing. I'm curious how it would break down on that. LLAMA 8B on Bedrock is $0.40 per 1M input tokens and $0.60 per 1M output tokens which is a lot cheape
More ›