Hacker Newsnew | past | comments | ask | show | jobs | submit | stomato's commentslogin

Ow


If you're a US citizen, vote for someone that will keep it going. Some have promised to undo a lot that the current administration has done, and this might be part of that.

I'm not aware of any free code from Trump so far, btw.

Also, when his campaign has tried to code, they fail:

http://qz.com/762424/trumps-campaign-donation-website-used-o...

"A programmer named Shu Uesugi, an engineer at a California company called EdSurge, discovered a major flaw with the way Trump’s website was using jQuery. Instead of downloading the open-source code from GitHub and running it off a server they controlled, the developers who built Trump’s website simply ran the code off GitHub directly, Uesugi found.

While the code’s location might seem like a minor detail, running it off GitHub meant that the person who controlled the code on GitHub could change the code at his whim, and those changes would take hold on Trump’s website. Since GitHub is for open-source projects, it also meant that any user could submit a request to modify the code and impact Trump’s website, if the change was approved by the plug-in’s author, a developer in Lisbon named Igor Escobar."

Then Igor tweeted about how he could have modified it: https://twitter.com/igorescobar/status/766367306662440960?re...


> Since GitHub is for open-source projects, it also meant that any user could submit a request to modify the code and impact Trump’s website, if the change was approved by the plug-in’s author, a developer in Lisbon named Igor Escobar."

That's how it works for any open source project you use, regardless of where it's been hosted. Unless you review the entire codebase (as well as all changes made in new releases), you're trusting the maintainers' judgement.


That's not exactly the same as choosing to use something that is hosted on someone else's server, which they could then subsequently modify now that you are using it in a very high-profile project.

Of course, judging candidates' by the code quality of their campaign websites is a rather obscure and somewhat useless pastime.


True (on both counts). And yet it's common practice to include libs, fonts, and other bits from third party sites that the dev has no control over


It's a stupid and lazy practice. It's common because most web developers aren't exactly highly trained specialists who know what they're doing.


I agree that it's still bad practice. My main objection was to the statement "Since GitHub is for open-source projects, it also meant that any user could submit a request to modify the code and impact Trump’s website". If don't trust the maintainers' judgement in merging PRs, hosting it yourself isn't a solution (short of reviewing the entire project yourself).


I think the concern here is that the maintainer could subsequently merge a malicious PR knowing who was using the library from GitHub. That wouldn't be an issue if that group was hosting a version themselves (before the maintainer might find out who was using it).


I agree it's overblown (based on the article).

Was it sourced from a particular SHA or a "latest" link?


Oddly enough, it appears to have linked to the project's Github Pages site: 'https://igorescobar.github.io/jQuery-Mask-Plugin/js/jquery.m... (see https://web.archive.org/web/20160817080309/https://secure.do... for the original page).

This still wasn't a good idea, but for a different reason - it's relying on the demo at https://igorescobar.github.io/jQuery-Mask-Plugin/ continuing to exist, and continuing to host the plugin at that same path.


Full disclosure, this mistake was not made by the campaign directly, but rather by Revv.co, who is the payments software provider (not processor, DJT is using Stripe).


> I think the easiest solution would be just not to use web fonts at all.

Here's another option: plain text.

That's right. You can have webpages that are plain text without any HTML formatting, and they will render.

Here is an example file:

  This is text.
This is the absolute best way of presenting web content. No one will complain.


> This is the absolute best way of presenting web content. No one will complain.

Not sure if this is a joke or not, most people would complain.


The difference between web fonts and HTML/CSS is that HTML loads progressively and markup doesn't weight more than all other resources. So I am ok with both plain text and HTML pages but not ok with fonts until browser vendors make a better implementation and make them optional.


This is great. But I can't think of a single macOS-only app I'd like to have in Linux, other than Terminal.app, Control Panel, Activity Monitor, etc. Everything else I use already runs in Linux.


Sketch is probably the only reason I'm not 100% Linux at this point.


Smutefy?


I really like the idea, but am unsure about execution.

For example, datassette starts off with big differences in volume: http://musicforprogramming.net/?three

I've been listening at work for years and what works for me is:

Dark (in minor) soundtracks (electronica and classical).

Classic rock (usually in minor) that has a mostly consistent sound.

and various types of white (and other colored) noise in https://mynoise.net/ (where I donate so there are no limitations)

I used to listen to Pandora and other stations, but I found the transitions and switching songs would get distracting, so now I just listen to the same set of songs on loop.


> Apple is behaving as if they're a boutique OEM.

Not sure what you mean.

If they made the computer much faster, I imagine it'd get too hot or noisy.

The main failure IMO was that the only real innovation was a touch bar replacing function keys that as far as I can tell no one asked for or wanted.

However, macOS still beats Windows 10 because it's more intuitive and usable and has fewer quirks.

I don't want one of these because of the touchbar, though. It just seems unnecessary, and I wish they would've waited on a more practical innovation that would solve a problem and not remove physical keys and be a distraction and take away from design aesthetics.


MacOS has plenty quirks for me though... I cannot get it to reliably connect to a win10 samba server (my android or boot camp give me no trouble). I should probably blame Google, but the ATF app sucks and gives a lot of problems transferring large or numerous files (ended up using WiFi... I get periodic blue screens (kernel panics) from using Chrome. When finder crashes I can't seem to be able to initiate it without a hard restart... I have had it for 3 years and it's only been one thing after another.

I love some features, but the trouble on a day to day basis is not worth it.


> I cannot get it to reliably connect to a win10 samba server Windows is by far the worst peer when it comes to file shares.

Are you sure it's the Mac? In my experience, things suddenly start working on the network once you remove Windows from the equation.


Other than when I restart the mac it sometimes connects, my android devices connects no issues, and bootcamp/VM do so too without problem, yes it could be windows.

I also used to have very slow transmission speeds between the two devices until I changed the mac to 2.4G (from 5G) (PC is wired)


If they were so much trouble, why did IBM deploy them stating they are 3x less expensive overall including support?

http://www.businessinsider.com/an-ibm-it-guy-macs-are-300-ch...


My guess (from experience with using a Macbook at work in a similarly large IT company) is that their corporate Windows image has a huge pile of shit bundled into it for historical reasons that breaks all the time, while the Mac image is relatively frugal.

I can observe a slow tendency that our corporate Mac image piles on more and more junk over time, probably because more people are using Macs than the year before and thus IT allocates more headcount to work on Mac customizations.


I hope that they will continue to keep Torre Girona in as close to its original condition as possible. It's not abnormal for the church to stop using buildings as churches if it makes sense, but it is a beautiful building.


The TEDxCMU talk mentioned as #8 in the comments by the OP is "Turning Fear Into Fuel":

http://tedxtalks.ted.com/video/TEDxCMU-Jonathan-Fields-Turni...


I'm not sure which is the Jim Valvano talk they had linked to, but here are a few:

Cutting Down The Nets: https://www.youtube.com/watch?v=uezVYG4ba1E

You + Motivation = Success: https://www.youtube.com/watch?v=G5yWJ1_wv5E

1993 ESPY Speech: https://www.youtube.com/watch?v=HuoVM9nm42E


My answer would be "No, thanks."

Even though the new MB pro has the weird strip and lack of function keys, the OS is still better. Windows 10 has more quirks.


So put OSX on the Surface ;)


Is that even possible?


Yes just not legal (well it is sort of legal if you consider the EULA is not a law just don't advertise you are doing it).

On the other hand, OSX would be the worst OS to install on a convertible tablet/laptop - you're better off with Linux.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: