Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
boyter
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
391.
▲
by
boyter
7y ago
Hah! That’s exactly what happened in Australia. There is legit talk about changing the hugest plans here from 100/40 to 120/20. It’s that bad. Which is moot anyway because 40% of the “new” network probably cannot get that speed an
392.
▲
S3 Bucket Namesquatting – Abusing Predictable S3 Bucket Names
(onecloudplease.com)
1 points
by
boyter
7y ago
|
0 comments
393.
▲
Accidentally Quadratic: Hashtable Edition
(scalyr.com)
3 points
by
boyter
7y ago
|
0 comments
394.
▲
by
boyter
7y ago
Not OP but the list I had from a year ago, didn’t support all multi az (only 2), lack of admin features meant it broke and you could work out what happened, limited choice of instance type, the backup happened once a day regardless if you n
395.
▲
by
boyter
7y ago
Surface Book 2 13" has no fan on the CPU. The GPU has one, and the larger 15" has a CPU fan as well, but the 13" is dead silent otherwise. Although the charger can exhibit some coil whine at times which is annoying.
396.
▲
ASCII Art in .NET Code
(mattwarren.org)
79 points
by
boyter
7y ago
|
16 comments
397.
▲
by
boyter
7y ago
Personally I hate chat-bots. I think the problem they solve can be better implemented using a search interface and some workflows, which is generally all website chat-bots do under the hood. This is rather cool though from an implementation
398.
▲
by
boyter
7y ago
I have not. The only major thing I see in Kotlin over Java right now (I don't do Android development) is data classes. Everything else is either in the language or should be soon which makes me hesitant to invest the time learning it.
399.
▲
by
boyter
7y ago
Loom is rather nice, but frankly I don't find the lack of co-routines something I miss. You can spawn hundreds of real threads a second so it is possible to write Go style code in Java if you really want. I may change my mind when I ac
400.
▲
by
boyter
7y ago
Have a look at http://pygments.org/ or https://github.com/alecthomas/chroma where you can pass code into a library and it returns highlighted HTML. You can use Pygments in Java using Jython but its per
401.
▲
by
boyter
7y ago
In my experience most people don't like Java due to experiences they had before Java 8. This means they were used to the bloat, config as XML style world which made Java a pain to write and slow to run. Once I show them Java 11 with va
402.
▲
by
boyter
7y ago
Nothing stopping you from doing that. For HTTP some of the newer frameworks like javalin or spark encourage it and get close to flask or Go levels of simplicity. Chose you own JSON parser, connection pool etc...
403.
▲
TempleOS: – God, the Random Number Generator
(christine.website)
99 points
by
boyter
7y ago
|
41 comments
404.
▲
by
boyter
7y ago
Have a look at the tests in scc and tokei. They support nested multiline comments, string escapes and other odd language features. As such both get very close to counting lines the way a full tokeniser used by the compiler or interpreter do
405.
▲
by
boyter
7y ago
Usually they count { on a single line as code. Multi line strings are code in all but scc and Tokei. Tokei counts them as comments or string depending on user settings. Scc will count hem as comments in the next few months.
406.
▲
by
boyter
7y ago
I actually lot ucc in the not so great categories. Counters like scc and Tokei are getting close to having the same accuracy as a compiler when it comes to code while being much faster. They are also support for more languages and are updat
407.
▲
by
boyter
7y ago
Ah! I assumed you had access to the code. That makes more sense.
408.
▲
by
boyter
7y ago
I really wish when counting code that people would use one of the more modern code counters, or at least use cloc. Tokei, loc, scc, polyglot, loccount or gocloc give a much better idea over wc because they account for comments and blank lin
409.
▲
by
boyter
7y ago
In the race between arms and armor, arms have always won. I wonder if the reverse is true in crypto. Will crypto always evolve to be one step ahead, or make a massive leap such that it will be multiple steps ahead.
410.
▲
Amazon Textract – An Early Look
(kablamo.com.au)
1 points
by
boyter
7y ago
|
0 comments
411.
▲
by
boyter
7y ago
These sort of tests are perfect examples for me to add to https://boyter.org/posts/expert-excuses-for-not-writing-unit... Tongue in cheek it is but I’m always on the lookout for additional examples to flesh it out.
412.
▲
The Australian invention of the puffer jacket
(abc.net.au)
1 points
by
boyter
7y ago
|
0 comments
413.
▲
Mona Lisa frown: Machine learning brings old paintings and photos to life
(techcrunch.com)
2 points
by
boyter
7y ago
|
1 comments
414.
▲
I don't know how CPUs work so I simulated one in code
(djhworld.github.io)
892 points
by
boyter
7y ago
|
172 comments
415.
▲
Garbage Collection in Go: Part I – Semantics
(ardanlabs.com)
1 points
by
boyter
7y ago
|
0 comments
416.
▲
by
boyter
7y ago
Oddly enough I find the collaboration more interesting now. Not sure if that’s a getting older thing but I like managing the PR’s, ensuring code is of a high quality and serving the needs of the users.
417.
▲
My Favourite Project
(nickmchardy.com)
1 points
by
boyter
8y ago
|
0 comments
418.
▲
Getting a Bit Rusty
(medium.com)
3 points
by
boyter
8y ago
|
0 comments
419.
▲
Developer Empowerment – Move fast, don't break things (for long), be productive
(boyter.org)
1 points
by
boyter
8y ago
|
0 comments
420.
▲
Computational Imaging for VLBI Image Reconstruction [pdf]
(people.csail.mit.edu)
2 points
by
boyter
8y ago
|
0 comments
More ›