HNHacker News
TopNewBestAskShowJobs

TJSomething

801 karma · joined October 10, 2013

submissionscomments
TJSomething··on 4 developers picking a random restaurant (Problem)
You can use publicly available data feeds that changes every few minutes. For example, CNN's Afterhours trading data [0] seems to work pretty well. And it's just HTML, so you just hash it and you're good.

[0] http://money.cnn.com/data/afterhours/

TJSomething··on Native Clojure with GraalVM
My biggest concern is that there's an Enterprise Edition of GraalVM. I'm a little suspicious that the Community Edition will end up crippled and EE will cost more money than I'll ever want to spend.
TJSomething··on ‘I Fundamentally Believe That My Time at Reddit Made the World a Worse Place’
In my experience, the academic subreddits found in the defaults are pretty civil (i.e. science, philosophy, space, history). But they all have well-defined mission statements and heavy-handed moderation (e.g. no memes or any other kind of offtopic discussion).

That said, starting from zero is still a good idea.

TJSomething··on Electron 2.0.0 beta
Looks like that's about 45 MB [1]. For comparison, Electron is about 80 MB. Qt starts at 50 MB depending on what you need, but a few years ago I got it down to 16 MB with UPX and a customized ICU. Gtk starts at ~20 MB and compresses to about half that with UPX. You could probably get those a bit smaller if your license permits static linking, but then you have to write C++.

[1] https://steveperkins.com/using-java-9-modularization-to-ship...

TJSomething··on Alcohol use disorder largest risk factor for dementia
And 184 mL (about 6.5 shots total, 1.5 fl oz each) of hard liquor (80% ABV).
TJSomething··on U.S. Charges 13 Russians, 3 Companies for Interfering with Election
I mean, aside from the DNC's emails [2] [3] and gaining access to Arizona and Illinois voting records [1]. I'd personally put 1 to 4 odds against direct modification of voting numbers, given that voting machines are woefully insecure [4].

[1] https://www.washingtonpost.com/world/national-security/fbi-i...

[2] https://www.usnews.com/news/world/articles/2017-11-03/inside...

[3] https://www.cnn.com/2016/12/26/us/2016-presidential-campaign...

[4] https://www.defcon.org/images/defcon-25/DEF%20CON%2025%20vot...

TJSomething··on We took a hacker to a public WiFi café (2014)
I'd assume by looking for a favicon request without any other requests.
TJSomething··on Full-Text Search in Django with PostgreSQL
I'm seeing the same thing in Firefox 57.0.3 on Debian, if my viewport is more than or equal to 1320 pixels wide. It goes away for the text on screen if I force it to repaint, but comes back if I scroll or resize the viewport.
TJSomething··on Update on Meltdown and Spectre
Perhaps proving that you're running on the same hardware as Coinbase is most easily done by statistical attacks, which requires collecting data over time.
TJSomething··on Update on Meltdown and Spectre
I'd hope that Amazon would zero out that RAM first, since whoever uses the machine next could always dump /dev/mem.
TJSomething··on Startup Ideas
Sounds like a bit of a catch-22: you don't want to collect the data until you've collected enough data to know that you're not causing harm.
TJSomething··on Chrome breaks the Web
In a medical setting, most computers are public. Sharing passwords is a HIPAA violation, because HIPAA requires a complete, accurate log of everyone who has looked at or modified a medical record.

My guess is that many medical computers aren't well administrated and leave autofill on, which can easily cause accidental HIPAA violations.

TJSomething··on University of Chicago Graduate Students Vote to Unionize
My experience in my CS MS was that there was ~50% discount on tuition, a subsidized health insurance plan, and not quite enough to live on.
TJSomething··on Toward Go 2
Except they updated C in 2011 and they're already working on C2X.

http://www.open-std.org/JTC1/SC22/WG14/www/docs/n2086.htm

TJSomething··on How Cold Brew Changed the Coffee Business
Additionally, if you can find a caf and a decaf version of the same coffee, you can brew half-caf coffee.

One thing is that you need to use high-end decaf. I've found that decaf using the Mountain Water Process is good.

TJSomething··on How Thou Canst Maketh a Fine Program in Fortran
Well, one thing I noticed was an inconsistency with "thy" and "thine". Which one you use depends on if the following word starts with a vowel, with "thine" before vowels and "thy" otherwise. For example, the article has "in thy own case", as well as, "output thine data". Some investigation seems to lead me to believe that this a more a matter of style, but I still think it sounds wrong.
TJSomething··on Voten.co, a Real-Time Reddit Alternative Launches Public Beta
That page is out of date. They added filtering for everyone in November.
TJSomething··on Interesting data structures: the BK-tree
My work doesn't like most URLs with xyz TLDs.
TJSomething··on Pushing Swift to the Server
> Go, which is much older than Swift, Rust, D, etc.

Go is definitely newer than D, which came out in December 2001, though D2, which is significantly different, came out in June 2007, while Go came out in November 2009. And, in the grand scheme of things, Go isn't too much older than Rust, which came out in January 2012.

Additionally, from the point of view of "no UI libs," basically every natively compiled language is at a significant disadvantage on Android, even the originally intended native language, C++ (1983).

TJSomething··on Java Is Unsound: The Industry Perspective
For C++, one kind of nonsensical types is abominable function types, which are bare functions with cv-qualifiers [1] [2].

[1] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p017...

[2] https://news.ycombinator.com/item?id=10935171

TJSomething··on No Doctor Should Work 30 Hours Straight with No Sleep
That would be Desai, et al. Though I can't access the paper right now, they say that the 2011 regulations have tripled handoffs, increasing handoff risk. It also turned out that the average amount of sleep per week was not increased by much after instituting the regulations.

[1] https://www.sciencedaily.com/releases/2013/03/130325183819.h...

[2] Desai SV, Feldman L, Brown L, et al. Effect of the 2011 vs 2003 Duty Hour Regulation–Compliant Models on Sleep Duration, Trainee Education, and Continuity of Patient Care Among Internal Medicine House Staff: A Randomized Trial. JAMA Internal Medicine, 2013; DOI: 10.1001/jamainternmed.2013.2973

TJSomething··on I made an iPhone game with PhoneGap and won't do it again
I personally would recommend developing games in C++ for both platforms. You're not going to be heavily using any of the APIs that necessitate using Obj-C or Java. It's just OpenGL ES and other low level APIs. Additionally, it's easy to port between iOS and Android and you can use a much wider variety of libraries.
TJSomething··on Electron considered harmful
It does if you're using Python 3, which has the nonlocal keyword for lexical scope.
TJSomething··on NIST’s new password rules – what you need to know
It actually does:

https://pages.nist.gov/800-63-3/sp800-63b.html#memorized-sec...

TJSomething··on Not Your Problem
I learned UML during my bachelor's in 2012. Now I work at a big company and the only UML diagram I've had a use for is a sequence diagram.
TJSomething··on Soylent halts sales of its powder as customers keep getting sick
I used to drink SlimFast for lunch everyday, until I became lactose intolerant. Years later, Soylent came out, and I was tired of eating fast food all the time for lunch. Now I drink Soylent for lunch, which is healthier, cheaper, and faster.
TJSomething··on Radar – A new set of integrated tools to help prevent fraud
They're using Three.js, but it looks like the spinning icosahedron is custom-made with about 300 lines of code. That includes calculating the vertices of the icosahedron, loading the model from a 3D model file, setting up the surface material characteristics, setting up the lights, animation, moving HTML nodes with the labels along with the vertices, and mouse dragging.
TJSomething··on Show HN: Igloos That Don't Melt
Wood doesn't melt; it just burns.

Not that these don't melt; they're mostly fiberglass and polyurethane.

TJSomething··on Graal and Truffle could accelerate programming language design

  ((:include "stdio.h")
  
  (const char * message = "Like this.\n")
  
  (int main ((int argc) (char * * argv))
    (printf message)
    (return 0)))
TJSomething··on What happens when you try to publish a failure to replicate in 2015/2016
I believe objections on the grounds of low quality would count as "proper reasoning."
← PreviousPage 9 of 10Next →