HNHacker News
TopNewBestAskShowJobs

boterock

257 karma · joined August 15, 2014

submissionscomments
boterock··on Microsoft now has the best hardware lineup in the industry
proper terminal APIs are coming in w10 october update, so then we will see how a real win10 terminal would work, and not just another cmd reskin as it has always been...
boterock··on Elastic TabStops: A Better Way to Indent and Align Code (2017)
What I like about this is that this would end up all fights about how to display tables with raw text formatting... just use tabs to delimit table values...

Wait it already exists... we had the answer from a long time ago! https://en.wikipedia.org/wiki/Tab-separated_values

It even avoids the comma/semicolon issue when using CSV in excel in spanish... maybe avoids some other problems in other locales.

boterock··on Why I’m Using a Flip Phone
that reminded me of how I decided to play Zelda BoTW.

Zelda has a 'Pro' mode where it hides all UI but the health. I was fully decided on using it through the whole game and I think it is the best way to play the game.

The absence of minimap is the biggest change. When you have your minimap is like when you drive with gps. You only wait til the map says you to turn, and after some turns staring at the minimap you get to your destination missing all that was in between. If you don't have the minimap you actually need to understand the map, know more or less where you are, where the landmarks are, and how to get through to your destination. In the end, the absence of minimap makes you learn better the world and the map, instead of relying on the digested info that the minimap gives you.

boterock··on PC market has seen its first growth quarter in six years
Also I think maybe Fortnite's huge popularity and reach is making people buy computers.
boterock··on The IceCube Neutrino Detector at the South Pole Hits Paydirt
In windows what I do is Home->Delete I am amazed at how useful home, end pgup and pgdown keys are, and I am pretty sure not many people know or use them a lot.
boterock··on Microsoft announces Surface Go
I think that would be interesting but speaking of single compute unit and attachment to UIs is imposing artificial limitations. What I would like best is a seamless compute device integration, with whatever hardware it connects, so for example, I connect my mobile device to a workstation, and not only I get the dual screen or whatever setup the workstation has, but all the compute capabilities, so my mobile device becomes just a storage that keeps all my data... I could even connect the phone to a render farm and let it do its work.

Also in a small form factor, the actual usage is very different than workstation usage (at least for myself, it would be messaging+email+browser+youtube vs visual studio/blender/UE4 in the workstation) and having a powerful cpu/ram would be pointless... The storage doesn't need to be that big either, I think that just storing the equivalent of %appdata% in the phone would work as it keeps your setup and preferences in your device, work software/data can be kept in the workstation attachment devices.

boterock··on MacOS Mojave removes subpixel anti-aliasing, making non-retina displays blurry
Is not that a lot of people have a choice.
boterock··on Ok-Cancel versus Cancel-Ok
Countless times i've been victim of the "do you want to save?" dialog where the replies were |Yes|No|Cancel|. In some cases the brain knows it made a mistake, and whatever dialog comes, the reply should be the negative one. And with those options, the subconscious clicked No (the most destructive operation) before I knew what was happening. To me, the buttons should read |Save|Discard|Go back| in whatever order the creator wants. I think that even the dialog could just skip the text, with those button labels it isn't needed at all.
boterock··on Apple rejects Valve’s Steam Link game streaming app over ‘business conflicts’
You can't buy games that are in the iOS store from within the Steam app
boterock··on VS Code can do that?
for me it doesn't work well with non-standard keyboard (colemak). All shortcuts break (at least on fedora 28 it does)
boterock··on It's time to head back to RSS?
It's sad that no one has mentioned Pushbullet. Is a small app that notifies you when things happen, and you can set it to notify RSS news, it also integrates with IFTTT and has a bunch of other features. You should check it out. Edit: It also has top HN, and it notifies when a story reaches 100 points IIRC.
boterock··on The State of Atom's Performance
I don't think that would be too much trouble, you can find fully custom widget toolkits with excellent performance and seamless OS integration (check blender or UE4 for example)
boterock··on Clang 5 in a Docker container for C++17
but you can also install clang 5 in windows... I don't think it would be that different. I don't use it too much, but I have it for clang-format
boterock··on Try quickly typing 1+ 2 + 3 into the iOS 11 Calculator
I like the Motorola double twist for camera gesture, you can start the gesture just as you take it out of your pocket.
boterock··on Sublime Text 3 now has font ligature support
SVN in sublime text, although paid, is so much better than whatever VSCode has for SVN.
boterock··on Sublime Text 3 now has font ligature support
I've been using Language Server to learn rust while coming back to ST after using VSCode extensively. Have you tried using a LSP extension instead of a TypeScript one?
boterock··on Django 2.0 alpha
Blender supports Python 3... time to move to blender I guess =P
boterock··on Godot Engine – Free and open-source 2D and 3D game engine
Visual scripting are a really powerful tool. I have never used Godot, but in UE4 you have 3 different styles of visual scripting, and each is a powerful tool in its own style

there are blueprints, that are really easy to use, and are really powerful. just decorate any function in c++ with UFUNCTION() and bam! you have a blueprint callable function. besides, there are things that just work better in blueprint, like latent actions (in c++ you would have to code timers and stuff, in BP is just action1()->delay(0.5)->action2() ) and curve driven stuff is easier in blueprints

there are animation blueprints: in these you get 'animation data' and you have nodes that help you mix different sources of animation, transform, blend, or simulate rigidbody on certain bones, is like a functional programming where you have this `animationstate` type that you operate with in every node. It also has a graphic state machine where you can describe the animation output in each state, and the rules of transition (for example, transition from idle to run if velocity>5.

also you have materials, is also like another functional programmming, where you grab inputs and put it in material outputs, again like functional programming, you sample textures, pan the samples, mix with colors and do a lot of stuff.

These uses (mostly animation and shaders) are mostly for people without technical inclinations, I would recommend you to try UE4 or godot and see how well visual scripting fits the project.

boterock··on IOCCC Flight Simulator
There is clang-format, which comes even with clang for windows, I use it with a Visual Studio extension and it formats the code whenever I save. I even prefer that sometimes I have the whitespace messed, but just having the braces right will format it properly, where in python you would have to fix whitespaces manually.
boterock··on Unreal Engine 4.17 Released
Unreal didn't invent its own shading model. Instead Unreal and a bunch of other game engines now use what is called PBR (work on this started in Pixar before game engines)

I think the possible explanation on why they may look different to you than other PBR engines (say renderman or unity) is that IIRC UE4 has slighly different curves for roughness and other properties. but still I would credit it to what the other comment said about shared assets and people using defaults.

you can see information from disney here: https://disney-animation.s3.amazonaws.com/library/s2012_pbs_...

and here are the ue4 docs, with some other references at the bottom: https://docs.unrealengine.com/latest/INT/Engine/Rendering/Ma...

boterock··on Fedora Loves Python
Two years ago I was looking for a distro that I'd love, after testing a few I decided on Arch, I liked it's approach for learning how the system works. But one year ago I got tired of it, I wanted a distro that was easy to set up and was between Ubuntu and Fedora.

In the end I stuck with Fedora because I preferred GNOME over Unity, and because it would let me try Wayland before any other distro... I like the "consumer focused bleeding edge" that Fedora offers.

boterock··on Voice Calls: Secure, Crystal-Clear, AI-Powered
Can relate, I remember enjoying more talking with friends in TeamSpeak than with my girlfriend via skype/hangouts/facebook call... now with a discord server, talking with friends is so much easier, but quality is not as good as TS... but still convenience beats quality, and the loss is not that bad.
boterock··on VS Code uses 13% CPU when idle due to blinking cursor rendering
On the other hand, connecting a 4k display in windows will default to configure it at 200% scaling, in mac it defaults to render everything tiny as ants.
boterock··on Some Google Pixel devices shutting down at 30% battery
I got a Moto E 2nd gen (2015) and I also have the same issue sometimes with CM14 nightlies, so I would definitely consider it a software issue.
boterock··on Gimli Glider
why do you do [0] and never put any [0]() =(
boterock··on GNU Hurd 0.9, GNU Mach 1.8, GNU MIG 1.8 Released
we don't want til 2060 https://xkcd.com/1508/
boterock··on Swift: Challenges and Opportunity for Language and Compiler Research [pdf]
The c style for loops were also dropped. now you do `for idx in 0...5` or you can also do `for idx in 0..<5` I think this makes clearer if you want to include or exclude the last index in the loop.

I think that this kind of break is not that bad, swift is a young language, and there are some things that only after so much testing you realize it could be better.

Swift is 2.5y old, it has just one year being open source, so I don't think these breaking changes as a big deal. It is not in a situation like Python 3. Even the compiler helps you fix it and XCode is very helpful when translating Swift 2 to Swift 3, so it is not that bad.

boterock··on Crypto 101 – Introductory course on cryptography
I think it would be good to link them, I started reading, got to page 30 and thought it would be nice to try the challenge. This reminds me when I thought I could handle myself in Linux, but when I played OverTheWire wargames, I still learned a ton of things that you only learn by doing.
boterock··on Learning to Read X86 Assembly Language
Interesting example, I came up with clang 3.9 producing an imul with 11 though.
boterock··on Venezuela’s Currency Has Had its Biggest Monthly Collapse
It is sad that some year ago 1 usd would be like 2000 bolivares (I don't know the exact amount, but bolivares were almost the same value as colombian pesos). They decided to create the "bolivar fuerte" which was 1000 bolivares, so 1 usd would be 2 bolivar fuerte. With the bolivar fuerte price drop, the usd is now above 2000 bolivar fuerte, so in a matter of years, Venezuelan money is worth less than a thousandth it was worth less than 10 years ago.
← PreviousPage 3 of 5Next →