|
also hilarious that homebrew just refuses to run if it notices it's root and instead instructs you to instead chown or whatever until everything it needs belongs to you. now imagine doing this on a computer with multiple regularly used accounts.
|
# ¿ Apr 2, 2017 17:49 |
|
|
# ¿ May 12, 2024 21:21 |
|
react, typescript, and .net core in visual studio is seriously own zone. god help you if you use razor for anything more complex than making GBS threads a few static elements and script tags into the page.
|
# ¿ Apr 4, 2017 05:40 |
|
Shaggar posted:if you are using javascript at all for anything other than like form validation or maybe injecting new content from a razor partial, you are doing things wrong. grabbing a chunk of html called a "razor partial" and shoving it into the page with jquery is much worse than react dynamic UIs with razor are at best on par with typescript/react-based stuff. razor has terrible error reporting-- definitely admire that "do nothing" webscale approach to error handling-- and the way templates are managed is really bad compared to react components, but typescript without bundling has the risk that maybe you forgot a dependent script tag in a page while developing
|
# ¿ Apr 4, 2017 18:04 |
|
it's far far better to put a markup language into a programming language (jsx) than a programming language into a markup language (razor). my experience with razor error handling is making a typo or renaming a string name of a template or what have you, getting a white page instead of a prominent error when I render that page, and finding an unobtrusive green squiggly when I come upon the view that has a problem. react components are actually symbols in the program, and they're checked well for consistent usage by typescript. they're more usable and maintainable than razor templates.
|
# ¿ Apr 4, 2017 19:14 |
|
re: razor not really but it's aged a bit and could use some love/modernization
|
# ¿ Apr 5, 2017 03:48 |
|
why would you use gradle unless you're being forced to
|
# ¿ Apr 17, 2017 00:13 |
|
use typescript
|
# ¿ Apr 19, 2017 21:59 |
|
i would prefer a nullable column to a "one to zero or one" relation between two tables
|
# ¿ May 5, 2017 03:45 |
|
I feel like most people's DB schema falls apart in the face of "oh poo poo, the customer wants edit history"
|
# ¿ May 5, 2017 16:36 |
|
Potassium Problems posted:I implemented event sourcing for an internal project here that needed edit history, and a pleasant side-effect was how much easier it was to handle read-model schema changes. replaying events ftw how does event sourcing play with changing schema over time
|
# ¿ May 6, 2017 00:39 |
|
NihilCredo posted:datomic is great, but it's more than an event sourcing db - it's an immutable database that gives you transaction histories out of the box; you can use it for event sourcing, by designing your facts in an event style, but it's not required (and since you get immutability + transaction history anyway, you could argue that you have less reason to do that). also I'd go further and say that you really want to be speaking clojure to work with datomic does datomic still prohibit benchmarking in their license agreement
|
# ¿ May 7, 2017 18:03 |
|
yeah this is one of those blaming the tool when you should be blaming your boss situations
|
# ¿ May 9, 2017 17:21 |
|
statements will continue to be good and necessary until debugging of expression-based languages becomes easy
|
# ¿ May 14, 2017 00:09 |
|
whoever wrote that example hosed up badly
|
# ¿ May 20, 2017 01:00 |
|
i thought that "view" was your render template, "controller" contains the methods that get called when clients make requests, and "model" is literally everything else. I do very simple kinds of parsing of URL query parameters in controller methods and otherwise delegate poo poo out to another layer.Blinkz0rz posted:i'm porting a piece of software we wrote in javascript to go as a proof of concept and it's not a great language to write in if you don't know the shape of your data until runtime I don't know how you can write a program that operates on data whose shape you know jack poo poo about unless it's serialization or tree traversal or something else that really doesn't care how many attributes there are on a particular node or whatever, it just slurps them all up. basically, if you can't represent the kind of program you're talking about in typescript without using `any`, something seriously hosed up is going on.
|
# ¿ Jul 12, 2017 03:03 |
|
I'm the ?
|
# ¿ Jul 13, 2017 04:19 |
|
it's pointer arithmetic.
|
# ¿ Jul 19, 2017 17:39 |
|
vscode is quite good edit: luigi maybe obvious but did you verify that the timer callback is happening on the ui thread?
|
# ¿ Jul 28, 2017 06:33 |
|
as far as I can tell, the reason to use .net is because the standard libraries are great, the languages have good features (linq, async/await) and very good tooling, and ASP.NET is the closest thing there is to a "it just works" web framework. it's too bad that .net core has been a clusterfuck and the cross-platform efforts started so late.
|
# ¿ Jul 29, 2017 20:03 |
|
isn't qt how people strike the balance between performant, responsive, easy enough to develop for and portable?
|
# ¿ Jul 30, 2017 01:37 |
|
Great job, Luigi Thirty.
|
# ¿ Aug 6, 2017 15:12 |
|
if I were starting a personal project for some jvm thing today I would probably pick kotlin
|
# ¿ Aug 12, 2017 16:45 |
|
maven users: if I have some dependency that i want to pull down sources for, modify, then use in the original project that depended on the thing, what's the most straightforward way to do that?
|
# ¿ Aug 19, 2017 01:04 |
|
Powerful Two-Hander posted:jfc I'm trying to use the api for this new chat thing and it's documented in yaml that you have to use "swagger" to read which can only be used locally if you have node.js running and install it via docker just use autorest. it'll make your life so much easier
|
# ¿ Aug 24, 2017 03:23 |
|
honestly I haven't found a method for making UIs that's more pleasant and productive than react or its clones combined with typescript.
|
# ¿ Oct 6, 2017 18:42 |
|
Sapozhnik posted:Still undecided on typescript vs flow for this reactjs side-project. I rather wish this rift didn't exist tbh I wouldn't use languages invented by facebook unless I worked for facebook. they don't give a poo poo about the anyone's use case outside the company whereas microsoft does. the maintainers of @types are also pretty good at keeping definitions up to date when new versions of major libraries come out. typescript is not about being a formally sound type checker. they carefully choose to allow certain gaps in order to function with the reality of how people write js code and their expectations in practice. they went a little too far with the c#-ey "null can be assigned to anything lol" early on and now the strict mode has fixed it and is where 99% of people wanna be. fwiw, you can very easily get by in react without an immutable data structures library simply by using the spread syntax to for instance add a [newElement, ...originalList] or { newKey: newValue, ...originalObject}. I'm optimistic that the recent "mapped types" feature (e.g. a keyof MyType meta-type which is basically a set of strings) has enabled a much better experience with immutable.js though, and if you try it, please let us know your experience. brap fucked around with this message at 20:54 on Oct 8, 2017 |
# ¿ Oct 8, 2017 20:46 |
|
us is tps thread
|
# ¿ Oct 8, 2017 20:55 |
|
|
# ¿ May 12, 2024 21:21 |
|
yeah if you are serving a different character sequence as js to your clients than you're looking at in your editor you need source maps and you need to know basically how to make them work. doesn't matter if it's typescript or any Babel thing or flow or even loving fable for that matter.
|
# ¿ Oct 9, 2017 04:34 |