Better HN
topnewbestaskshowjobs
Log inSign up

Hello71

1,909 karma · joined Sep 24, 2012 (14y ago) · 1,011 submissions

Submissions

comment 6y ago · link · parent

> There were a dozen covariates controlled in the present study (age, gender, race, household size, smoking, body mass index, MET-minutes of total physical activity, alcohol use, grams of protein consumed per kilogram of body weight, percentage of energy derived from dietary fat, grams of dietary fiber consumed per 1000 kilocalories, and percentage of total energy derived from saturated fat.

comment 6y ago · link · parent

It has not been my experience that everybody in China uses WhatsApp.

comment 6y ago · link · parent

Sounds similar to the post from a few days ago about the Firefox WebCrypto allowing too much adjustment of DH parameters: https://news.ycombinator.com/item?id=21980199

comment 6y ago · link · parent

By my reckoning, as long as the modem has no public- or customer-facing IP address, it's probably not going to be a vector for easy attacks. It might be accessible from within the ISP network, but if someone has access there then they can probably just tap your line directly, no need for additional exploits.

comment 6y ago · link · parent

based on the sheer number of SEO hacking coupon sites and huge sponsorships for coupon extensions, I'm going to wager a guess that you could earn a significant amount of money if you could position yourself as the definitive source on outerwear information.

comment 6y ago · link · parent

I assume they mean that they used the publicly funded insurance so did not have to claim anything.

comment 6y ago · link · parent

isn't that what I said?

comment 6y ago · link · parent

or just use a bare repo?

comment 6y ago · link · parent

    make -p
the main problem is that make itself doesn't support a concept of "hidden files". also a problem is that GNU make comes with lots of implicit rules, so you really need something like make -R -r -p for this to remotely work.

comment 6y ago · link · parent

how does that fix ROP

comment 7y ago · link · parent

I was wondering why wireguard suddenly gained a mandatory iptables dependency...

comment 7y ago · link · parent

I don't understand why it would be different for IPv6. are you just referring to the fact that there is no sysctl for reverse path filtering for IPv6? does it still work with ip6tables -t raw -A PREROUTING -m rpfilter --invert -j DROP?

comment 7y ago · link · parent

if you're willing to assume that Google is willing to violate their presumably legally-enforceable policy that they will not view the items in the "personal profile", then one could assume that they would probably also be willing to read data from any Android device. so better tell all of your friends to never use Android or any other Google service.

comment 7y ago · link · parent

that assumes that his talk constituted a financial transaction. it's not clear that this is the case. if he was paid to speak, then it does seem plausible, but that doesn't seem to be disclosed in the press release. if he went for free (and, one would assume, would have needed to pay for the ordinary admission fee), then it's possible to consider it as non-commercial, so that would be only 15-21 months.

edit (can't reply yet): I arrived at this number by searching for USC and U.S.C in the press release, then googling IEEPA, finding https://en.wikipedia.org/wiki/International_Emergency_Econom..., then finding 50 U.S.C. § 1701, then going to https://guidelines.ussc.gov/si, putting in 50 U.S.C. § 1705, figuring §2M5.1 is relevant, then putting 14 in https://guidelines.ussc.gov/grc.

comment 7y ago · link · parent

and AMD has no IP?

comment 7y ago · link · parent

there are already a number of screenshot protocols (as TFA explains, slurp and grim can be used for screenshots on sway). the trouble is getting everybody to agree on a single one, or implementing a library to interface with all the protocols, which is the current strategy. https://www.google.com/search?q=wayland+screenshot+protocol

but, IMO, this is a good thing, and the only way it could have worked. if every single conceivable protocol was added to the initial specification, then wayland would never have been released. even if it was, people would complain even more about it being "bloated" and "non modular" and "not following the unix philosophy", whatever that means.

comment 7y ago · link · parent

hooray, finally a wayland criticism article that actually put in some effort instead of "muh unix philosophy". most of these issues are real issues for wayland today, and the author might be right to switch back to X for now. however, I'll try to explain some of the issues:

> I had consistent font rendering issues. There was this painful issue in sway relating to display scaling that caused fonts (among other things) to be missing, fuzzy, or just terrible in general.

yup, still a problem. hidpi doesn't work great on X in the first place, and adding Xwayland definitely makes it worse for X applications. but, once the majority of applications are ported to wayland, hidpi should become much, much better.

> NetworkManager GUI tools were strangely buggy with wayland. It wouldn't always crash, but sometimes the only way I could get it to connect to a wifi network was to quit sway, launch i3, connect with nm-applet in i3, then switch back to sway. Bizarre.

personally, I recommend using either raw wpa_supplicant or iwd with a separate network management daemon (dhcpcd or systemd-networkd). the wpa_supplicant GUI is very ugly and uses weird terminology (what's a "PSK" -- yes, I know what it is, but if you didn't, you'd have to google it), but if you can get over that hump as well as the initial configuration, it's been 100% reliable for me, unlike NM, which usually works but then sometimes silently fails somewhere. I recently switched to iwd, which has been mostly fine, but, like wayland, still lacking features important for some people.

> Sometimes, on my desktop, everything would lock up for 10 seconds or so, the screen would blank, and then come back on and everything would be fine. It appeared to be some issue with the graphics drivers - I don't have that issue on i3, so something deep in Wayland is interacting strangely with it.

I would assume you are using intel drivers and are experiencing a GPU reset. check dmesg, but it's quite possible that a poorly behaved application is causing the trouble.

> Screen recording or sharing apps just don't work. Zoom with XWayland appeared to work, but in reality only shared a blank screen. This was kind of a deal breaker, because sooner or later I will need to use screen sharing in Zoom for work.

yeah, this is definitely a problem. as other commenters have said, ordinary applications aren't allowed to just record the screen, they have to ask the compositor. unfortunately, this has not yet been standardized between different wayland implementations. iirc, gnome has a screen recording api, kde has one, and wlroots has another, and they're all incompatible. my current solution for sway is to use wf-recorder + v4l2loopback, which works fairly well but is a little bit hard to set up. install wf-recorder-git and v4l2loopback-dkms-git, then modprobe v4l2loopback exclusive_caps=1 video_nr=7 && wf-recorder -m v4l2 -f /dev/video7 -c rawvideo --pixel-format=yuv420p. then you'll have a fake camera device which you can select in your streaming application. that works for me on Firefox 70 and Chromium 78, so it should work for Zoom too. the workflow is not as smooth as built-in screen sharing (for one, you can't display two "cameras" at once), but it works well enough for most purposes.

> Sometimes, Sway would crash while the screen was locked, leaving my previously secured computer at a logged-in tty. Not great for security!

this is actually very easy to solve.

solution 1: instead of running sway, run exec sway.

solution 2: instead of running swaylock, run physlock. if security is a high priority for you, this is probably better anyways.

comment 7y ago · link · parent

gclid seems to be for adwords only. imo, if you're already the type to click on ads, you shouldn't object to tracking of which site you came from. fbclid on the other hand applies to all links from facebook. it was a major story on HN: https://hn.algolia.com/?query=fbclid

comment 7y ago · link · parent

make sure you have redirect_dir=on,metacopy=on

comment 7y ago · link · parent

this already exists. it's called Muzo, and ElectroBOOM reviewed it as an obvious scam.

comment 7y ago · link · parent

https://en.wikipedia.org/wiki/Global_surveillance_disclosure...

comment 7y ago · link · parent

  Location: Toronto, Canada
  Remote: Yes
  Willing to relocate: Yes
  Technologies: Linux and other FOSS, C, Python, shell, automation, networking, others (see my resume)
  Résumé/CV: https://alxu.ca/resume.pdf
  Email: See my resume

comment 7y ago · link · parent

isn't this more or less the same as

    gdb -batch -n -ex 'call chdir("whatever")' -p $$

comment 7y ago · link · parent

I think the firmware on those models can just load the Windows firmware update executable. Save it to your ESP or a USB flash drive and try to select it in the firmware update menu.

comment 7y ago · link · parent

https://en.wikipedia.org/wiki/Russell%27s_paradox

comment 7y ago · link · parent

it's fairly well known that small kmallocs do not fail, and that there are many, many instances in the filesystem code which assume that small kmallocs do not fail. there have been two LWN articles on this exact subject.

comment 7y ago · link · parent

Rust has in fact had almost 10 years.

comment 7y ago · link · parent

zh-CN and zh-TW has nothing to do with that, and I'm virtually certain there are no "Taiwan images". in applications which provide zh-CN and zh-TW, including Firefox, the former means Simplified Chinese and the latter means Traditional Chinese. theoretically, it could mean Taiwanese Chinese, but then there would also be zh-HK, zh-MO, zh-SG...

comment 7y ago · link · parent

this is a straw man, no better than the argument that the NCAA and other sports organizations use to excuse paying so-called "amateur players" absolutely nothing, for, and I quote, "considerably higher stress, harder work conditions, and less job security until they [go pro]". parent never argued that professors need to be paid as much as private, merely that the salaries need to be comparable rather than several times lower.
1
131415
34