Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jeremycw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
jeremycw
7y ago
I don't get this. There's a reason why they make AstroTurf green. If you're Amazon and you're trying to generate realistic good buzz about your work conditions don't name the accounts "AmazonDrone643278" o
32.
▲
by
jeremycw
7y ago
I don't really understand it either. I thought the whole purpose of having an application layer on top of your database was to provide a specialized interface for your application. If you're just going to provide a general query l
33.
▲
by
jeremycw
7y ago
I've now been a professional software developer for about 10 years and have come to the exact opposite conclusion of this article. I've come to find that these types of principals lead to the opposite of readable code for me. Prin
34.
▲
by
jeremycw
7y ago
When you're consuming JSON that has deep nesting, arrays that contain multiple types, etc. Something that may be two lines of code in a dynamic language could be as much as 100 lines in some static typed languages.
35.
▲
by
jeremycw
7y ago
As a Junior: Creating the most abstract grand architecture to apply to every facet of my application will solve all my problems. As a Senior: Replacing all this architecture astronaut indirection with simple linear concrete code will solve
36.
▲
State Machine Pattern: A Pig in Lipstick
(oop.wtf)
3 points
by
jeremycw
7y ago
|
0 comments
37.
▲
by
jeremycw
8y ago
I think it's great. If you're a fan of Ruby it's hard not to like. I'd say it competes with go in many respects. If Ruby is your daily driver crystal is perfect for cases where you need more performance or where non bloc
38.
▲
Write Bad Code
(oop.wtf)
4 points
by
jeremycw
8y ago
|
0 comments
39.
▲
by
jeremycw
8y ago
I ran with this idea last year and wrote a proof of concept library that wraps libev using using this concept to allow you to write async C code inline. It's about 250 lines of macro abuse and the resulting code looks pretty funky but
40.
▲
by
jeremycw
8y ago
I thought heartbleed proved this appeal to authority wrong causing liressl to exist in the first place.
41.
▲
by
jeremycw
8y ago
Worst case is more along the lines of a bad actor makes malicious changes to the dependency which you then unwittingly deploy to prod potentially compromising your entire system.
42.
▲
by
jeremycw
8y ago
Just read through https://guides.rubyonrails.org/ Unlike the sibling comment I suggest staying away from additional gems as much as possible especially if you're a beginner. Do things the officially blessed Rails way a
43.
▲
by
jeremycw
8y ago
REST is one of the most blogged about, argued over bike sheds in tech. Once you stop agonizing over status codes, media types, routes being nouns, resources, etc. it becomes surprisingly easy to be productive with HTTP. There are just a few
44.
▲
by
jeremycw
8y ago
Seems like it only covers live updates to tasks during "interactive coding sessions". So I don't think it would apply to offline source processing.
45.
▲
by
jeremycw
8y ago
> It imposes design constraints that in the end work out for the better. I feel the jury is still out on this. It does impose design constraints that remove a certain subclass of errors, whether this correlates to actually causing better
46.
▲
by
jeremycw
8y ago
The short of it is C without the warts plus a few small quality of life improvements. The long of it: The competition right now in this space as I see it is: C, Rust, C++. Even C++ doesn't fully fit because you have to turn off languag
47.
▲
by
jeremycw
8y ago
Unfortunately unlike software development there's no simple way to check if the 'output' of management is working correctly or not. This combination of 'hard to do' and 'hard to verify' means that there ar
48.
▲
by
jeremycw
10y ago
I remember reading Verilog HDL Synthesis: A Practical Primer by J. Bhasker in University and found it incredibly useful for learning the synthesizable subset of Verilog and all the unwritten rules of how you need to write the code to make i
49.
▲
by
jeremycw
10y ago
I'm not a quantum physicist so take this with a grain of salt, but my favourite analogy is heliocentric vs geocentric orbits: http://i.imgur.com/AReqgfP.gif The collection of data can have assumptions built in that you
50.
▲
by
jeremycw
10y ago
Do you happen to know which countries involved in the partnership require local storage of data?
51.
▲
by
jeremycw
11y ago
But if you maintain binary compatibility can you not just compile the old code with --std=c89 and then link the new code compiled with --std=c2x ?
52.
▲
by
jeremycw
11y ago
I don't understand why these committees are so dead set on maintaining backwards compatibility with existing code when most compilers will support flags for compiling with old standards anyway. As long as you don't break binary co
53.
▲
by
jeremycw
11y ago
To quote Harvey Dent in The Dark Knight: "You either die a hero or you live long enough to see yourself become the villain."
54.
▲
by
jeremycw
12y ago
I disagree that you need that much hardware knowledge. I also think that statements like these can be discouraging to people that don't have a background in hardware. That's a shame because for me playing around with HDLs was one
55.
▲
by
jeremycw
12y ago
Is there a list of 'best practices' that OpenBSD follows for C code or anything that points out what these 'old practices' are?
56.
▲
by
jeremycw
12y ago
Can someone explain the huge performance difference between nim and C? I though nim compiled to C, therefore I would think that good handwritten C would more or less be the upper performance bound for nim.
57.
▲
by
jeremycw
12y ago
2.3 to 3.0 is not that bad. 3.0 -> 3.2 is where the trouble will begin. 3.0 deprecates a ton of stuff in 2.3. 3.2 actually removes it all and adds in the asset pipeline. Best to not bite off more than you can chew.
58.
▲
by
jeremycw
12y ago
Are you sexist if you're gay? I think we can rest assured that sexual preference has nothing to do with being racist.
59.
▲
by
jeremycw
12y ago
ShellJS [1] for Javascript [1] https://github.com/arturadib/shelljs
60.
▲
by
jeremycw
12y ago
I wouldn't mind this if I knew that the money was actually going toward upgrading infrastructure and not just lining Comcast's pockets.
More ›