Better HN
topnewbestaskshowjobs
Log inSign up

HumanDrivenDev

603 karma · joined Sep 13, 2017 (9y ago) · 435 submissions

Submissions

comment 8y ago · link · parent

If your boss isn't supporting you, GTFO. Either to another group internally or another company.

Not everyone here works in a tech-hub or even in a large company.

comment 8y ago · link · parent

The vowel sound in day is /ai/?

I can hear a slight difference between the vowel sounds in both tê and day. That's something I always just attributed to accent, not a different vowel - but I suppose vowel changes can be very subtle.

comment 8y ago · link · parent

Yeap you probably hit the nail on the head. I'm a native English speaker and I only know a tiny bit of Hokkien. I really struggle with the aspirated/non-aspirated aspect of many of the consonants.

Not sure about the vowel sounds, I found those all reasonably trivial to distinguish.

https://mkdict.net/results?query=te%CC%82&page=1&q_type=tw&r...

If you click on the "+" button, there's a voice recording of how to pronounce it. It's from the Taiwanese Ministry of Education. To me it sounds much more like "day" than "tea".

comment 8y ago · link · parent

Singaporeans and Malaysians almost always call the language "Hokkien" - at least when speaking English. "Min Nan" seems like a term only linguists use.

comment 8y ago · link · parent

In modern Taiwanese Min Nan, "tê" sounds more like "day" than "tea". Maybe it sounded different in the Min Nan of Fujian a few hundred years ago, or something was "lost in transcription" when the dutch wrote "thee".

comment 8y ago · link · parent

I disagree. It has smart auto-completion, refactoring, it informs me of errors in my code before I run or compile it, integrated version control, auto-compilation, and many other features.

comment 8y ago · link · parent

Configuration via JSON is common (Sublime Text, the most popular)

I haven't tried Sublime Text. I was comparing VSCode with Visual Studio, and IDEs I consider to be in the same space like Netbeans and Eclipse.

comment 8y ago · link · parent

VSCode is really bizzare, in a good way. All the configuration is done through JSON files. It's a good editor as well as an IDE. There's no "projects" or "solutions" or wizards. I almost never run into issues with it.

It doesn't feel like a microsoft product at all. Nothing like Visual Studio.

comment 8y ago · link · parent

I remember wondering if foregoing the front end frameworks and using a simple state machine - such as the type I remember making for compsci assignments - would actually make things easier. But then I thought "well I'm new to front end, surely if this was a good solution to the problem everyone would be doing this and there wouldn't be a cambrian framework explosion".

I'd love to hear if others have tried using a state machine.

comment 8y ago · link · parent

Interlingua is the most intriguing conlang for me. It just seems incredibly practical. I'm a native English speaker with only high school french, yet I can pretty much read interlingua despite never having learned it. I imagine native romance language speakers are fluent readers right off the bat. That's huge.

comment 8y ago · link · parent

Sounds good - can it run a decent VCS though, like mercurial?

comment 8y ago · link · parent

How do you mean?

I don't find myself scribbling down mathematical equations when doing things like chaining promises in javascript or transforming sequences with LINQ or marking fields as const. I realise functional programming can go in very different directions to things less mundane, but the general principle of avoiding side effects has been a huge win for me when programming in any language, even C++. It's just easier to debug or write something when you can fix some constraints, ie "this method is referentially transparent".

Those are pretty low hanging fruit, but they help a lot.

comment 8y ago · link · parent

Yes, the issue you run into is that then your server has to make sure your json is the right shape.

CouchDB actually solves that problem really well IMO. You upload a validation function in javascript to the database that will validate every document that comes in. I wonder if the same thing can't be done with trigger functions in postgres.

comment 8y ago · link · parent

I'll play devils advocate.

In any real world system I've worked there are always entities that are purely self contained, but are represented by many different database tables. When they're saved, the entity is decomposed into its constituent parts and written to those tables. When they're retrieved, those tables are joined together to re-create the entity we care about. And that's all that ever happens, it's just serialised and de-serialised.

Isn't it premature optimisation to normalise that entity right out of the gate? Why not stuff it in a JSONB column. When - and only when - you find yourself needing to dig inside of it for queries in other parts of the system, then you normalize it.

comment 8y ago · link · parent

You're being needlessly down-voted here (I can only guess at what silly HN tripwire you've activated) but you're absolutely right. Tech people like us might think it's completely obvious that a browser shouldn't render pdfs or make your toast. But end users don't care. Browser x lets them read stuff quicker without switching to another app. They want the monolith.

We can dislike it, but we need to reconcile it.

comment 8y ago · link · parent

It's also a fantastic general purpose language.

Why do you find it so fantastic? What stands out for you?

Python was my first real programming language, but I don't see anything very attractive about it now - save the libraries.

comment 8y ago · link · parent

An absolute no-brainer. Python is the new BASIC - very popular with people who have to program to do their work but aren't programmers. It's an excellent choice for a spreadsheet.

comment 8y ago · link · parent

Why would you design a website with grey text on a grey background? How could anyone possibly think that's a good idea?

comment 8y ago · link · parent

Very appropriate, since googles go did the exact same thing.

https://en.wikipedia.org/wiki/Go!_(programming_language)

comment 8y ago · link · parent

There's a flipside to that. I work at a place where turnover is extremely low. While it makes for a very friendly workplace, there are downsides. I've been here a year and a half and I'm still the new guy. And naturally, there's no room for advancement.

comment 9y ago · link · parent

Right. I said dependent types would allow you to statically declare integer ranges, as is my understanding.

It's interesting to me how Ada takes the approach of blending types and run time contracts. In most languages it would be two different things - a function that takes int, then a contract or assert that handles the value.

comment 9y ago · link · parent

> Ada has always had integer ranges. Dependent types include integer ranges, but integer ranges aren't necessarily dependent types.

I was under the impression that Adas integer ranges were checked at runtime, like contracts. Is that not the case?

comment 9y ago · link · parent

What's a toy problem in this case? Anything where you can replace even part of a dynamic contract seems like a win.

comment 9y ago · link · parent

Is there a reason dependent types aren't more widely used? Is it just a case of people not wanting to learn anything new, or are there some show-stopping issues in practice?

The idea seems promising. If I'm not mistaken it would let you statically declare that an integer had to be between values X and Y, for example.

comment 9y ago · link · parent

Really not sure how you don't see it. Mimicking my sentence structure, implying that people who talk like me are ostracised by society (!?), and using phrases like "incredibly toxic". I could almost hear the tone of voice reading that sentence.

comment 9y ago · link · parent

There is a difference between constructive criticism and/or correction (which I am all for), and belittling, demeaning, insulting, and cursing at people.

IME a lot of thin skinned people on the internet always view the former as the latter. It's equally as tiresome.

comment 9y ago · link · parent

But that ties into what I'm saying - trying to 'oxidise' a system written in C that already works.

comment 9y ago · link · parent

One thing proggit has over HN is there's much less political discussion. I find the constant political debates and drivebys here incredibly tiring. Only about one-third the links on the frontpage here of any interest to me as a 'hacker'.

comment 9y ago · link · parent

The flipside of that is - I'm an adult, I want to talk to people who can handle critiques and debate without getting unduly upset. Disagreement != trolling.
1
1112131415