DEV Community

loading...
Peter profile picture

Peter

I like TypeScript, Preact & Rust.

Location BC, Canada Joined Joined on  Twitter logo GitHub logo StackOverflow logo
Education

BASc Mining Engineering

Work

Engineer / Full Stack Dev

All 22 comments

Online alternatives to VSCode

codesandbox.io/ would likely be a good fit. Online IDE with G...

What does your VS Code setup look like?

That is not a super fair comparison. VS Code is completely fr...

Why is IBM cloud not widely used?

I wasn't even aware they offered it.

Daily Challenge #252 - Everybody hates Mondays

Rust, likely a better way to do this. use std::convert::Try...

Daily Challenge #29 - Xs and Os

Rust pub fn xo (value: &str) -> bool { let value...

Daily Challenge #188 - Break camelCase

In rust! pub fn ccbreaker (value: &str) -> String { ...

Daily Challenge #236 - RGB to Hex Conversion

In rust: // Convert number to hex string. pub fn to_hex (va...

Have you used "preact"? react's 3kb alternative

I have a bit in the past (back in preact 8), but I have not...

Have you used "preact"? react's 3kb alternative

We use it all the time. We use preact + typescript as the f...

Daily Challenge #85 - Unwanted Dollars

In Go! func moneyValue(value string) float64 { // che...

Daily Challenge #84 - Third Angle of a Triangle

In Go! func thirdAngle(a, b int) (int, error) { if (a...

Daily Challenge #83 - Deodorant Evaporator

In Go! This assumes that the evaporator is always filled up...

Daily Challenge #82 - English Beggars

In Go! amts below could also be a []float64 if required. A...

Daily Challenge #80 - Longest Vowel Change

Hey good to know thanks! Just learning go so didn't realize...

Daily Challenge #80 - Longest Vowel Change

In golang! Could be simpler but lots of loops! func vowel...

Daily Challenge #3 - Vowel Counter

In go! func countVowels(s string) int { l := strings....

Daily Challenge #1 - String Peeler

Solution in Go: package main import ( "fmt" ) func ...

Daily Challenge #75 - Set Alarm

In go: func setAlarm(e, v bool) bool { return e &...

Typescript: First thoughts

We switched from Vanilla JS to TS a few months ago which corr...

What are your favourite non-tech related podcasts?

My Brother, My Brother and Me us their flagship, The Advent...

What are your favourite non-tech related podcasts?

If its McElroy I'm into it!

The Beginning

TS is wonderful. Finally switched our node backend over to ...

loading...