Better HN
topnewbestaskshowjobs
Log inSign up

Flow

1,321 karma · joined Jul 11, 2009 (17y ago) · 690 submissions

Submissions

comment 7y ago · link · parent

FYI: I live in the EU and work for a large corporation.

I have a Pluralsight subscription via Visual Studio+MSDN and when the period is near the end Pluralsight sends several emails informing me that the subscription soon will end and that I should renew.

comment 7y ago · link · parent

I so want to take that class.

Maybe it would be possible to start a fund raiser and pay him to record videos and release the materials used in the course?

comment 7y ago · link · parent

Maybe I'm missing something, but what stops you from having Unvalidated<T> etc wrapper classes in C#?

comment 7y ago · link · parent

I agree. I think even touch UIs should have some hints if you can click on something, and if you can click, force press, or long-press.

It would be great if someone could make hover work on touch UIs.

The great 1980's Mac OS UI was really something. You could explore the menus and see what options was available, and those that didn't apply was still there, giving a hint that you should selecting something to make then selectable.

155.

Debugging Dysthymia: Overcoming Chronic Fatigue(joshkaufman.net ↗)

1 points · by Flow · 7y ago · discuss

comment 7y ago · link · parent

Another bad thing about Windows: 3 or 4 different font rendering engines.

comment 7y ago · link · parent

My thing was sprite-multiplexers. In theory it's very simple. You sort the sprites by y-position, then use raster interrupts to reprogram the sprite registers for "(spriteN++ & 7)".

The hardest part is sorting. It takes quite some time to sort data on a 6502. I "invented" my own sorting routine for this, but I later learned that most coders used bubblesort since most of the time sprites move just a little so it's mostly sorted already.

My routine used half the stack. I took ypos >> 2 and used that as an index to the bottom half of the stack. If the position was occupied I used the next pos etc. To collect I simply used a PLA(pop) instruction. There were holes of course, so you had to check for empty slots.

That routine took about the same time every frame.

32 sprites was not very hard to do, sorting-wise.

comment 7y ago · link · parent

The package he got was very funny.

PR material for the movie "Cannibal mama - I hope to meat you" cracked me up. :-D I feel this is a subculture that could be interesting and funny.

comment 7y ago · link · parent

Maybe, I'm a bit skeptical, but I'm not a very good Haskell programmer.

I see too much symbol soup and point-free style makes it tougher to understand the code.

comment 7y ago · link · parent

# Example

In a very simplified example, a client instance (e.g. the Navigation process) will create a 3D scene and "publish" it within the connected RAMSES applications (e.g. the renderer of each HMI).

These renderers will "subscribe" to the published scene and show it on the screen.

comment 7y ago · link · parent

There are plenty of cheats that are seemingly impossible to detect. I play Team Fortress 2 and there's at least one cheat there that, from what I've read, uses code that's unique to each instance used by a cheater. VAC seems to scan for code signatures so it doesn't detect it.

This hardware cheat makes it even harder to detect since it reads and writes directly to main memory using DMA. No drivers or software needed at all. All you possibly could detect is the PCI-ID(which can be changed) and possibly the DMA if there's an IOMMU.

https://blog.esea.net/esea-hardware-cheats/

comment 7y ago · link · parent

There are hardware based cheats for CSGO. It’s a PCI card with some custom CPU/FPGA on it that scans and changes values inside the memory of the game.

When I read the title I hoped it would protect against that too, but no such luck then, I guess?

comment 7y ago · link · parent

I get no Reader Mode icon for this site in mobile Safari, only on desktop Safari. :-(

comment 7y ago · link · parent

Very cool article but the scroll-jacking makes this painful to read on an iPhone. :-(

comment 8y ago · link · parent

I was under the impression that on iOS an app without access to the location API still could get the name of the WIFI and perhaps the SSID too?

comment 8y ago · link · parent

Their site is also intentionally crippled so you need the app to do some things. For example, to upload pictures, the primary function of the site...

And with the app comes the tracking and stealing of personal information, often using more or less dark patterns to trick the user.

From what I understand, an app that has no rights to pictures, contacts and location and so on, can still get info about the WIFI and put together a pretty good picture of your movements.

comment 8y ago · link · parent

All I see from inside the EU is "Forbidden".

comment 8y ago · link · parent

Words matter.

I sometimes use a bunch of Ensure*() methods in C# if I need to validate input data. They throw exceptions if condition fails. If I only do this once I don't create those methods.

One drawback is the stacktrace has these Ensure names in it.

comment 8y ago · link · parent

Management above Greg should have seen through Gregs behavior a long time ago and acted on it.

People like Greg are poison to a workplace, IMHO.

comment 8y ago · link · parent

Because I was talking about sites in general with these dialoges, not just this specific site.

comment 8y ago · link · parent

Probably it's too late. Or do they really load the scripts from Google et al after you click "Accept"?

comment 8y ago · link · parent

I leave or click the Reader Mode button in Safari. But my guess is that those cookies have already been set.

comment 8y ago · link · parent

> Strive to maintain a good work-life balance. Burnout sucks. Your health and family are more important than work. A workplace that doesn't consider this to be the case is likely to be toxic.

Good advice.

It's likely burnout will really change you for the rest of your life if you don't react early enough.

It's a bit sad when you realize you'll never again be that guy you grew up and identifies as. But you also have to realize that was a person with habits that wasn't sustainable and now you have to live with that.

comment 8y ago · link · parent

Realize almost everyone suffers from Impostor Syndrome from time to time.

Read a lot of code, not just code in the projects you work on, but reference/framework source code, open source. Perhaps even ask a subreddit for the language/tool about good examples to learn from.

Realize that data is more important that code for the most part. So treat data like it's precious. That's one part of why I feel relation databases are better than document/object stores. I suppose this is up for debate.

Learn to say No. It's mutual respect to say No so the one asking has a chance to ask someone else. If you instead say Yes to too much and can't deliver too close to their deadline you might screw up other people's time plans.

Outside work: Avoid eating junk food more than 1-2 times per week. Keep your weight. Go to the gym or run. Take the bike or walk to work. Sleep at least 6+ hours a day. Limit work to 40 hours/week. It's better to do 40 fresh hours than 50+ zombie hours.

comment 8y ago · link · parent

Wow, what a nice project you have there.

I've read that the next C# will have non-nullable reference types, have you thought about how to make your framework fit in with that? It's a "natural" Some/None in a way.

comment 8y ago · link · parent

But how can a civilization even start to move a star to a degree it fills a purpose?

comment 8y ago · link · parent

Here's a video of a classic Mac OS style UI running on 1.79MHz Atari 8-bit computers. I find this to be a very very impressive feat.

https://www.youtube.com/watch?v=T14dL9MeMHE

Speed-wise this appear to me to be about the same speed 8MHz 68000 Mac SE did run it's graphics.

comment 8y ago · link · parent

I've used DDG for close to a year now and every time I go to google.com and search it feels like a bloaty Yahoo style web.

I've also noticed that when I don't get the results I want on DDG and try Google instead, it too gives me bad results. Probably a sign I should use some other words in my query.

comment 8y ago · link · parent

I don't think there are any native Linux games from Blizzard.

I mentioned Linux in the "Mac/Linux" because Linux too suffers from the sometimes more than a year late releases of these games.

comment 8y ago · link · parent

And another thing I hate about the yearly releases of CoD and BF: The previous versions more or less die when the new ones are released.

As someone who play games on macOS, the delay before the Mac/Linux versions are released makes it so when you get to play the games, most of your friends play the next version or something else. I've stopped buying games like CoD and BF because of this.

It seems only Blizzard and Valve understand they can keep people playing the same games for decades with little investment.

1
567
23